@charset "UTF-8";
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 10000;
  padding: 14px 0;
  border-bottom: 1px solid #c8c8c8;
  background-color: #fff;
}
header .header-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 20px 0 30px;
}
header .header-logo {
  max-width: 150px;
  width: 100%;
}
header .header-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto;
}
header .header-nav-list {
  padding-right: 30px;
}
header .header-nav-list > p {
  padding-right: 24px;
}
header .header-nav-list > p::after {
  content: "";
  position: absolute;
  background-image: url(../img/header/nav-arrow.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 16px;
  height: 10px;
  top: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}
header .header-nav-link {
  font-size: 15px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  display: block;
  cursor: pointer;
}
header .header-nav-link.active::before {
  content: "";
  position: absolute;
  background-color: #aa8c3c;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  bottom: -20px;
  left: 0;
  right: 0;
  margin: auto;
}
header .header-nav-menu {
  border-top: 1px solid #c8c8c8;
  background-color: #fff;
  position: absolute;
  width: 100%;
  left: 0;
  top: 80px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  padding: 20px 0;
  gap: 50px;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}
header .header-nav-menu.is-active {
  opacity: 1;
  visibility: visible;
}
header .header-nav-menu-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 15px 0;
  max-width: 514px;
  width: 100%;
}
header .header-nav-menu-list {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 29.9610894942%;
          flex: 0 0 29.9610894942%;
}
header .header-nav-menu-img img {
  border-radius: 3px;
}
header .header-nav-menu-txt {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-block;
  position: relative;
}
header .header-nav-menu-txt::after {
  content: "";
  display: inline-block;
  position: relative;
  background-image: url(../img/header/naibu.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 8px;
  height: 12px;
  margin-left: 7px;
  top: 2px;
}
header .header-nav-menu-txt.gaibu::after {
  background-image: url(../img/header/gaibu.png);
  width: 12px;
  height: 12px;
  top: 2px;
}
header .header-nav-menu-txt.pdf::after {
  background-image: url(../img/header/pdf.png);
  width: 16px;
  height: 16px;
  top: 3px;
}
header .header-nav-menu-others {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  margin-bottom: 13px;
}
header .header-nav-menu-others::after {
  content: "";
  display: inline-block;
  background-image: url(../img/header/menu-arrow.png);
  background-repeat: no-repeat;
  background-size: cover;
  width: 22px;
  height: 22px;
}
header .header-nav-contact {
  text-align: center;
  max-width: 170px;
  width: 100%;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
header .header-nav-contact-link {
  display: block;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background-color: #aa8c3c;
  padding: 18px 0;
}
header .header-btn {
  display: none;
}
header .header-menu {
  display: none;
}

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 10; /* headerより低い値に調整 */
  -webkit-transition: opacity 0.5s ease-out;
  transition: opacity 0.5s ease-out;
}

.overlay.is-active {
  display: block;
}

@media (max-width: 1100px) {
  header .header-logo {
    max-width: 120px;
  }
  header .header-nav-list {
    padding-right: 15px;
  }
  header .header-nav-list p {
    padding-right: 18px;
  }
  header .header-nav-contact {
    max-width: 140px;
  }
}
@media (max-width: 950px) {
  header {
    padding: 21px 0;
  }
  header .header-wrap {
    padding: 0 20px;
  }
  header .header-nav {
    display: none;
  }
  header .header-logo {
    max-width: 110px;
  }
  header .header-btn {
    display: block;
    max-width: 34px;
    width: 100%;
  }
  header .header-btn.open .header-btn-hamburger span:nth-child(1) {
    -webkit-transform: rotate(25deg);
            transform: rotate(25deg);
    top: 0;
    bottom: 0;
    margin: auto;
  }
  header .header-btn.open .header-btn-hamburger span:nth-child(2) {
    opacity: 0;
  }
  header .header-btn.open .header-btn-hamburger span:nth-child(3) {
    -webkit-transform: rotate(-25deg);
            transform: rotate(-25deg);
    top: 0;
    bottom: 0;
    margin: auto;
  }
  header .header-btn-txt {
    text-align: center;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.06em;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
  }
  header .header-btn-txt.fade-out {
    opacity: 0;
  }
  header .header-btn-txt.fade-in {
    opacity: 1;
  }
  header .header-btn-hamburger {
    position: relative;
    width: 100%;
    height: 18px;
    margin-bottom: 8px;
  }
  header .header-btn-hamburger span {
    position: absolute;
    background-color: #555050;
    width: 100%;
    height: 2px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  header .header-btn-hamburger span:nth-child(1) {
    top: 0;
  }
  header .header-btn-hamburger span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
  }
  header .header-btn-hamburger span:nth-child(3) {
    bottom: 0;
  }
  header .header-menu {
    position: fixed;
    top: 79px;
    left: 0;
    width: 100%;
    display: block;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    overflow-y: scroll;
    background-color: #fff;
    height: calc(100vh - 79px);
    padding-bottom: 180px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  header .header-menu::-webkit-scrollbar {
    display: none;
  }
  header .header-menu.open {
    opacity: 1;
    visibility: visible;
  }
  header .header-menu-wrap {
    margin: 0 15px;
    border-top: 1px solid #c8c8c8;
  }
  header .header-menu-list {
    border-bottom: 1px solid #c8c8c8;
  }
  header .header-menu-list > a {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    padding: 21px 0 21px 8px;
  }
  header .header-menu-list > a::after {
    content: "";
    position: absolute;
    background-image: url(../img/header/arrow-b.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 10px;
    height: 18px;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
  }
  header .header-menu-list > p {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.04em;
    position: relative;
    padding: 21px 0 21px 8px;
  }
  header .header-menu-list > p::after {
    content: "";
    position: absolute;
    background-image: url(../img/header/plus.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 18px;
    height: 18px;
    top: 0;
    bottom: 0;
    right: 16px;
    margin: auto;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  header .header-menu-list > p.open::after {
    background-image: url(../img/header/minus.png);
    -webkit-transform: rotate(180deg);
            transform: rotate(180deg);
  }
  header .header-menu-list-child {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 12px 0;
    padding: 3px 8px 35px 8px;
    display: none;
  }
  header .header-menu-list-item {
    display: block;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(50% - 8px);
            flex: 0 0 calc(50% - 8px);
  }
  header .header-menu-list-img {
    margin-bottom: 3px;
  }
  header .header-menu-list-img img {
    border-radius: 3px;
  }
  header .header-menu-list-txt {
    font-size: 12px;
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  header .header-menu-list-txt::after {
    content: "";
    display: inline-block;
    background-repeat: no-repeat;
    background-size: cover;
    margin-left: 5px;
    position: relative;
    top: 1px;
  }
  header .header-menu-list-txt.naibu::after {
    background-image: url(../img/header/naibu.png);
    width: 8px;
    height: 12px;
  }
  header .header-menu-list-txt.gaibu::after {
    background-image: url(../img/header/gaibu.png);
    width: 12px;
    height: 12px;
  }
  header .header-menu-list-txt.pdf::after {
    background-image: url(../img/header/pdf.png);
    width: 16px;
    height: 16px;
  }
  header .header-menu-others {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-top: 20px;
  }
  header .header-menu-others::after {
    content: "";
    display: inline-block;
    background-image: url(../img/header/other-arrow.png);
    background-repeat: no-repeat;
    background-size: cover;
    width: 22px;
    height: 22px;
  }
}