@charset "utf-8";
.header {
  height: 100px;
  background-color: #000;
      position: relative;
    z-index: 10;
}
.header__inner {
      padding-left: clamp(1.25rem, -11.036rem + 19.2vw, 12rem);
    padding-right: clamp(4.75rem, 3.321rem + 2.23vw, 6rem);
    height: inherit;
}
.header__container {
      display: flex;
    column-gap: 20px;
    height: inherit;
    align-items: center;
}
.header__logo {
      width: clamp(7.75rem, 4.917rem + 5.9vw, 12rem);
    min-width: 124px;
}
.header__right {
      display: flex;
    align-items: center;
    column-gap: clamp(1.25rem, -20.607rem + 34.15vw, 20.375rem);
}
.header-phone__box {
      display: flex;
    align-items: center;
    column-gap: 10px;
}
.header-phone__img {
  width: clamp(1rem, 0.792rem + 0.43vw, 1.313rem);
}
.header-phone__number {
      font-size: clamp(1.25rem, 0.75rem + 1.04vw, 2rem);
    font-weight: 600;
}
.header-phone__number a {
      color: #fff;
    transition: all 0.5s;
}
.header-phone__number a:hover {
  opacity: 0.7;
}
.header-phone__text {
      font-size: 12px;
    color: #fff;
    font-weight: 600;
}
.header__items {
      display: flex;
    column-gap: clamp(1.25rem, -0.583rem + 3.82vw, 4rem);
  white-space: nowrap;
}
.header__item {
      font-weight: 600;
    color: #fff;
    
}

.header-fixed {
      position: fixed;
    right: 0;
    top: 0;
  z-index: 9999;
  width: clamp(3.5rem, 2.071rem + 2.23vw, 4.75rem);
      display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.hamBtn {
    right: 0;
    width: 100%;
    cursor: pointer;
    transition: all .7s;
    color: #fff;
    background-color: #D32829;
    display: flex;
    justify-content: center;
    align-items: center;
    height: clamp(3.563rem, 1.777rem + 2.79vw, 5.125rem);
}
.hamBar {
        position: relative;
    width: 32px;
    height: 19px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hamBar > div {
        position: absolute;
    right: 0;
    width: 100%;
    height: 3px;
    background: #fff;
    transition: .7s;
}
.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: 9px;
    transform: rotate(-45deg);
}
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
}
.hamBar.active>div:nth-child(3) {
    top: 9px;
    transform: rotate(45deg);
}

.header-fixed__btn {
  background-color: #000;
      writing-mode: vertical-lr;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    width: clamp(3.5rem, 2.071rem + 2.23vw, 4.75rem);
    border: 1px solid #fff;
}
.header-fixed-btn__text {
      font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    letter-spacing: 0.2em;
    color: #fff;
}

.header__logo--sp {
  display: none;
}
.header-phone--sp {
  display: none;
}

.sp-menu {
    background-color: #000;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100svh;
    transition: .5s;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    overflow: auto;
}
.sp-menu.active {
    transform: translateX(0%);
    visibility: visible;
    pointer-events: auto;
}
.sp-menu__inner {
      padding: 0 clamp(3.75rem, -12.536rem + 25.45vw, 18rem);
    width: 100%;
}
.sp-menu__items {
       display: flex;
    column-gap: 20px;
    justify-content: space-between;
}
.sp-menu-item__wrap {
      width: 50%;
    display: flex;
    flex-direction: column;
    row-gap: 64px;
}
.sp-menu__item {
  display: flex;
  align-items: flex-end;
}
.sp-menu-item__line {
      width: clamp(4.25rem, -1.107rem + 8.37vw, 8.938rem);
    border-bottom: clamp(0.063rem, -0.08rem + 0.22vw, 0.188rem) solid #fff;
  min-width: 64px;
}
.sp-menu-item__icon {
    background-position: 0 0;
    background-size: contain;
    background-repeat: no-repeat;
}
.sp-menu-item__icon--1 {
    width: clamp(2.75rem, -0.679rem + 5.36vw, 5.75rem);
    height: auto;
    aspect-ratio: 92/78;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/1.png");
  transition: all 0.5s;
  min-width: 44px;
}
.sp-menu-item__icon--2 {
    width: clamp(5.625rem, -1.375rem + 10.94vw, 11.75rem);
    height: auto;
    aspect-ratio: 188/90;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/2.png");
  transition: all 0.5s;
  min-width: 90px;
}
.sp-menu-item__icon--3 {
    width: clamp(2.75rem, -0.679rem + 5.36vw, 5.75rem);
    height: auto;
    aspect-ratio: 92/78;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/3.png");
  transition: all 0.5s;
  min-width: 44px;
}
.sp-menu-item__icon--4 {
    width: clamp(5.625rem, -1.518rem + 11.16vw, 11.875rem);
    height: auto;
    aspect-ratio: 190/81;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/4.png");
  transition: all 0.5s;
  min-width: 91px;
}
.sp-menu-item__icon--5 {
    width: clamp(5.625rem, -0.661rem + 9.82vw, 11.125rem);
    height: auto;
    aspect-ratio: 178/88;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/5.png");
  transition: all 0.5s;
  min-width: 90px;
}
.sp-menu-item__icon--6 {
    width: clamp(5.563rem, -1.366rem + 10.83vw, 11.625rem);
    height: auto;
    aspect-ratio: 186/80;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/6.png");
  transition: all 0.5s;
  min-width: 89px;
}
.sp-menu-item__icon--7 {
    width: clamp(5.563rem, -1.295rem + 10.71vw, 11.563rem);
    height: auto;
    aspect-ratio: 185/94;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/7.png");
  transition: all 0.5s;
  min-width: 89px;
}
.sp-menu-item__icon--8 {
    width: clamp(5.5rem, -1.357rem + 10.71vw, 11.5rem);
    height: auto;
    aspect-ratio: 184/86;
    background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/8.png");
  transition: all 0.5s;
  min-width: 88px;
}
.sp-menu__item:hover .sp-menu-item__icon--1 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/1-red.png");
}

.sp-menu__item:hover .sp-menu-item__icon--2 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/2-red.png");
}
.sp-menu__item:hover .sp-menu-item__icon--3 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/3-red.png");
}
.sp-menu__item:hover .sp-menu-item__icon--4 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/4-red.png");
}
.sp-menu__item:hover .sp-menu-item__icon--5 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/5-red.png");
}
.sp-menu__item:hover .sp-menu-item__icon--6 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/6-red.png");
}
.sp-menu__item:hover .sp-menu-item__icon--7 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/7-red.png");
}
.sp-menu__item:hover .sp-menu-item__icon--8 {
  background-image: url("https://fthoumonkango.co.jp/system_panel/uploads/images/8-red.png");
}
.sp-menu__title {
  margin-left: 8px;
}
.sp-menu-title__sub {
      font-size: clamp(0.75rem, 0.607rem + 0.22vw, 0.875rem);
    color: #fff;
    font-weight: 600;
}
.sp-menu-title__main {
      font-size: clamp(1.438rem, -0.563rem + 3.13vw, 3.188rem);
    font-weight: 200;
    color: #Fff;
    font-family: "Noto Serif JP", serif;
    line-height: 1;
}

@media (max-width: 1023px) {
  .header__items {
    display: none;
  }
}

@media (max-width: 767px) {
  .header {
    display: none;
  }
  .header-fixed {
        flex-direction: row;
    width: 100%;
    align-items: center;
    padding-left: 20px;
    background-color: #000;
  }
  .header__logo--sp {
        display: block;
    width: 124px;
  }
  .header-phone-sp-link {
    margin-left: auto;
  }
  .header-phone--sp {
    width: 56px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #fff;
    transition: all 0.5s;
  }
  .header-phone__img {
    width: 24px;
  }
  .hamBtn {
        width: 56px;
    border: 1px solid #fff;
  }
  .header-fixed__btn {
    display: none;
  }
  
  .sp-menu__inner {
    padding: 0;
  }
  .sp-menu__items {
        flex-direction: column;
    row-gap: clamp(1.5rem, 0.983rem + 2.12vw, 2rem);
  }
  .sp-menu-item__wrap {
    row-gap: clamp(1.5rem, 0.983rem + 2.12vw, 2rem);
    width: 100%;
  }
}

@media (max-width: 389px) {
  .sp-menu-item__line {
        min-width: unset;
    width: clamp(1.25rem, -4.547rem + 28.99vw, 2.5rem);
  }
}