@charset "utf-8";
.header {
    width: 100%;
    position: fixed;
    z-index: 9999;
    height: clamp(3.375rem, 2.661rem + 1.12vw, 4rem);
    background-color: #121820;
    border: 1px solid #707070;
    top: 0;
}
.header__inner {
    padding-left: clamp(1.25rem, -4.179rem + 8.48vw, 6rem);
    height: inherit;
}
.header__container {
      height: inherit;
    display: flex;
    justify-content: space-between;
}
.header__left {
      width: fit-content;
    height: 100%;
    display: flex;
    align-items: center;
}
.header__logo {
  width: clamp(5rem, 1.929rem + 4.8vw, 7.688rem);
}
.header__right {
  display: flex;
}
.header-link__wrap {
      display: flex;
    column-gap: clamp(1.25rem, -3.036rem + 6.7vw, 5rem);
    margin-right: clamp(1.25rem, -3.036rem + 6.7vw, 5rem);
    align-items: center;
}
.header__link {
      color: #fff;
    font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
  transition: .5s;
}
.header__link:hover {
  color: #D0A443;
}
.header-map__btn {
      padding: 0 clamp(0.625rem, -0.661rem + 2.01vw, 1.75rem);
    height: 100%;
    display: flex;
    align-items: center;
        border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    height: clamp(3.25rem, 2.536rem + 1.12vw, 3.875rem);
    background-color: #121820;
    transition: .5s;
}
.header-map__icon {
    width: clamp(0.75rem, 0.321rem + 0.67vw, 1.125rem);
    background-image: url(https://ability7700.co.jp/system_panel/uploads/images/20250301144918888410.png);
    background-size: cover;
    aspect-ratio: 18.26 /26.89;
  transition: .5s;
}
.header-map__btn:hover {
  background-color: #fff;
}
.header-map__btn:hover .header-map__icon {
  background-image: url(https://ability7700.co.jp/system_panel/uploads/images/map-icon-black.png);
}
.header-phone__btn {
      display: flex;
    column-gap: 8px;
    align-items: center;
    height: 100%;
    padding: 0 clamp(0.625rem, -1.518rem + 3.35vw, 2.5rem);
    height: clamp(3.25rem, 2.536rem + 1.12vw, 3.875rem);
    background-color: #121820;
    transition: .5s;
}
.header-phone__icon {
  width: clamp(1.5rem, 0.571rem + 1.45vw, 2.313rem);
      background-image: url(https://ability7700.co.jp/system_panel/uploads/images/20250301145010672704.png);
    background-size: cover;
    aspect-ratio: 37 / 37;
  transition: .5s;
}
.header-phone-btn__text {
      font-size: clamp(1rem, 0.571rem + 0.67vw, 1.375rem);
    color: #fff;
  transition: .5s;
}
.header-phone__btn:hover {
  background-color: #fff;
}
.header-phone__btn:hover .header-phone__icon {
  background-image: url(https://ability7700.co.jp/system_panel/uploads/images/phone-icon-black.png);
}
.header-phone__btn:hover .header-phone-btn__text {
  color: #121820;
}
.header-contact__btn {
    height: clamp(3.25rem, 2.536rem + 1.12vw, 3.875rem);
    background-color: #8F6B1D;
    padding: 0 clamp(0.625rem, -0.161rem + 1.23vw, 1.313rem);
    display: flex;
    align-items: center;
    border-left: clamp(0.438rem, -0.063rem + 0.78vw, 0.875rem) solid #D0A443;
    transition: .5s;
}
.header-contact-btn__text {
      font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    color: #fff;
  transition: .5s;
}
.header-contact__btn:hover {
  background-color: #fff;
}
.header-contact__btn:hover .header-contact-btn__text {
  color: #D0A443;
}
.hamBtn {
  display: none;
}
.sp__menu {
  display: none;
}

@media (max-width: 767px) {
  .header {
    height: 42px;
  }
  .header__logo {
    width: 71px;
  }
  .header-link__wrap {
    display: none;
  }
  .header-map__btn {
        height: 40px;
    padding: 0 16px;
  }
  .header-map__icon {
    width: 14px;
  }
  .header-phone__btn {
        height: 40px;
    padding: 0 14px;
  }
  .header-phone__icon {
    width: 23px;
  }
  .header-phone-btn__text {
    display: none;
  }
  .sp--none {
    display: none;
  }
  
  .hamBtn {
        width: 48px;
    height: 40px;
    background-color: #8F6B1D;
    cursor: pointer;
    transition: all .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .hamBar {
        position: relative;
    display: flex;
    flex-direction: column;
    width: 27px;
    height: 22px;
  }
  .hamBar>div {
        position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    border-radius: 25px;
    background: #FFF;
    transition: .5s;
  }
  .hamBar>div:nth-child(1) {
  top: 0; 
  }
  .hamBar>div:nth-child(2) {
  top: 50%;
  }
  .hamBar>div:nth-child(3) {
    top: 100%;
  }
  .hamBar.active>div:nth-child(1) {
    top: 10px;
    transform: rotate(-45deg);
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 10px;
    transform: rotate(45deg);
  }
  
  .sp__menu {
      width: 100%;
    background-color: #000;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    height: 100svh;
    transition: .5s;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    visibility: hidden;
    padding-top: 105px;
    text-align: center;
    overflow: scroll;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__container {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
    width: 100%;
  }
  .sp-menu__link {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    transition: all .5s;
  }
  .sp-menu__link--small {
    font-size: 14px;
  }
  .sp-menu__link:hover {
    color: #D0A443;
  }
  
  .sp-menu__bottom {
        margin-top: 120px;
    border-top: 1px solid #D0A443;
    width: 100%;
  }
  .sp-menu__logo {
        width: 116px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
  }
  .sp-menu-bottom__text {
        margin-top: 8px;
    font-size: 14px;
    color: #D0A443;
    margin-bottom: 83px;
  }
}