﻿body, html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}
ul li {
  list-style: none;
}
.wrapper {
  width: 1000px;
  margin: 0 auto;
}
.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}
.pc {
  display: block;
}
.sp {
  display: none;
}
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
}
.header .top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 10px 0;
}
.logo img {
  max-width: 100%;
  height: auto;
}
.telephone {
  font-size: 20px;
  font-weight: 800;
  padding: 5px 10px;
  white-space: nowrap;
}
.menu-bar {
  display: flex;
  width: 100%;
}
.menu {
  display: flex;
  gap: 20px;
}
.menu-item {
  position: relative;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.menu-item a {
  font-size: 13px;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.9);
  min-width: 250px;
  max-width: 350px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10;
  word-wrap: break-word;
  padding: 10px;
}
.menu-item:hover .dropdown-content {
  display: block;
}
.dropdown-content a {
  color: #fff;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  white-space: nowrap;
}
.sp {}
.main {
  width: 100%;
}
.h2_underlayear {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  line-height: 30px;
}
.h2_underlayear span {
  font-size: 20px;
  font-weight: 400;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.pagetop {
  position: fixed;
  right: 30px;
  bottom: 50px;
}
footer {
  border-top: solid 1px #e0e0e0;
  margin: 50px 0 0 0;
  padding: 50px 0 0 0;
}
.logo_footer {
  width: 425px;
  margin: 0 287.5px 0 287.5px;
}
.address_tel {
  width: 100%;
  text-align: center;
  font-size: 15px;
}
.address_tel span {
  width: 100%;
  text-align: center;
  font-size: 25px;
  font-weight: 800;
}
.copy {
  width: 100%;
  font-size: 10px;
  text-align: center;
}
@media only screen and (max-width: 480px) {
  body, html {
    margin: 0;
    padding: 0 2%;
    font-family: Arial, sans-serif;
  }
  ul li {
    list-style: none;
  }
  .wrapper {
    width: 100%;
    margin: 0 auto;
  }
  .clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
  .hamburger-menu {
    width: 50px;
    height: 50px;
    float: right;
    position: relative;
    border: none;
    background: transparent;
    appearance: none;
    padding: 0;
    cursor: pointer;
  }
  .hamburger-menu__bar {
    display: inline-block;
    width: 44%;
    height: 2px;
    background: #242424;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: .5s;
  }
  .hamburger-menu__bar:first-child {
    top: 16px;
  }
  .hamburger-menu__bar:nth-child(2) {
    top: 24px;
  }
  .hamburger-menu__bar:last-child {
    top: 32px;
  }
  .hamburger-menu--open .hamburger-menu__bar {
    top: 50%;
  }
  .hamburger-menu--open .hamburger-menu__bar:first-child {
    transform: translateX(-50%) translateY(-50%) rotate(45deg);
  }
  .hamburger-menu--open .hamburger-menu__bar:last-child {
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
  }
  .hamburger-menu--open .hamburger-menu__bar:nth-child(2) {
    display: none;
  }
  .navigation {
    display: none;
    background: #fff;
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    z-index: 9999;
  }
  .navigation__list {
    text-align: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .navigation__list-item {
    border-bottom: solid 1px #474747;
  }
  .navigation__list-item:first-child {
    border-top: solid 1px #474747;
  }
  .navigation__link {
    color: #000;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 24px 0;
    transition: .5s;
    font-size: 15px;
  }
  @media (hover: hover) and (pointer: fine) {
    .navigation__link:hover {
      background: #333;
    }
  }
  .dropmenu {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .dropmenu li {
    position: relative;
  }
  .dropmenu li a {
    display: block;
    margin: 0;
    padding: 24px 15px;
    font-size: 14px;
    line-height: 1;
    background: #fff;
    font-weight: 700;
    font-size: 15px;
    color: #000;
    cursor: pointer;
    text-decoration: none;
  }
  .dropmenu li a:after {
    content: '';
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 40%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 5px 0 5px;
    border-color: #000 transparent transparent transparent;
  }
  .dropmenu li ul {
    width: 100%;
    position: absolute;
    z-index: 9999;
    top: 100%;
    left: 0;
    padding: 0;
  }
  .dropmenu li ul li {
    overflow: hidden;
    height: 0;
    transition: .2s;
  }
  .dropmenu li ul li a {
    border-top: 1px solid #ddd;
    background: #efefef;
    color: #333;
    text-decoration: none;
  }
  .dropmenu li ul li a:after {
    content: none;
  }
  .dropmenu li ul li:first-child a {
    border-top: none;
    text-decoration: none;
    list-style: none;
  }
  @media screen and (min-width: 601px) {
    .dropmenu li:hover a:after {
      transform: rotate(180deg);
      transition: .1s;
    }
    .dropmenu li:hover ul li {
      overflow: visible;
      height: 40px;
    }
    .dropmenu li ul li a:hover {
      background: #ffd999;
      transition: .5s;
    }
  }
  @media screen and (max-width: 600px) {
    .dropmenu li.active_sp a:after {
      transform: rotate(180deg);
      transition: .1s;
    }
    .dropmenu li.active_sp ul li {
      overflow: visible;
      height: 40px;
    }
  }
  .logo img {
    max-width: 100%;
    height: auto;
  }
  .menu {
    display: flex;
    gap: 20px;
  }
  .menu-item {
    position: relative;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
  }
  .menu-item a {
    font-size: 13px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.5);
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
  }
  .menu-item:hover .dropdown-content {
    display: block;
  }
  .dropdown-content a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  .telephone {
    font-size: 20px;
    font-weight: 800;
    padding: 5px 10px;
    margin: -50px 0 0 0;
    white-space: nowrap;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .main {
    width: 100%;
  }
  .h2_underlayear {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 40px;
    font-weight: 800;
    text-align: center;
    line-height: 30px;
  }
  .h2_underlayear span {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif
  }
  .pagetop {
    position: fixed;
    right: 30px;
    bottom: 50px;
  }
  footer {
    border-top: solid 1px #e0e0e0;
    margin: 50px 0 0 0;
    padding: 50px 0 0 0;
  }
  .logo_footer {
    max-width: 80%;
    margin: 0 10% 0 10%
  }
  .address_tel {
    width: 100%;
    text-align: center;
    font-size: 15px;
  }
  .address_tel span {
    width: 100%;
    text-align: center;
    font-size: 25px;
    font-weight: 800;
  }
  .copy {
    width: 100%;
    font-size: 10px;
    text-align: center;
  }
}