@charset "utf-8";
.contact-fixed {
      position: fixed;
    bottom: clamp(1.25rem, -1.25rem + 5.21vw, 5rem);
    right: 20px;
    z-index: 8000;
    width: clamp(8.75rem, 4.25rem + 9.38vw, 15.5rem);
  transition: all 0.5s;
}
.contact-fixed--sp {
    position: fixed;
    bottom: clamp(1.25rem, -1.25rem + 5.21vw, 5rem);
    right: 20px;
    z-index: 8000;
  width: clamp(4rem, -0.914rem + 20.16vw, 8.75rem);
  transition: all 0.5s;
  display: none;
}
.contact-fixed:hover {
  transform: scale(1.15);
}
.contact-fixed--sp:hover {
  transform: scale(1.15);
}

.black-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(183, 181, 181, 0.5); /* 黒色で透過50% */
  opacity: 0; /* 初期は非表示 */
  z-index: 9993; /* メニューより下の数値 */
  pointer-events: none;
  transition: .5s;
}
.black-bg.active {
  opacity: 1; /* JSでこのクラスを付与 */
  pointer-events: auto;
}
.header {
      padding-top: 27px;
    width: 100%;
    position: fixed;
    z-index: 9990;
}
.header__inner {
  padding: 0 clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
}
.header__container {
      position: relative;
    display: flex;
    align-items: center;
}
.header__logo {
    width: clamp(7rem, 5.833rem + 2.43vw, 8.75rem);
    object-fit: contain;
}
.header__items {
      margin-left: clamp(1.25rem, -0.083rem + 2.78vw, 3.25rem);
    display: flex;
    padding: clamp(1rem, 0.333rem + 1.39vw, 2rem) clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
    background-color: #fff;
    border-radius: 44px;
    box-shadow: 0 3px 6px rgba(173,173,173,0.16);
    column-gap: clamp(1.25rem, -1.25rem + 5.21vw, 5rem);
}
.header__item {
    font-size: clamp(0.75rem, 0.417rem + 0.69vw, 1.25rem);
    font-weight: 600;
    color: #2E619A;
}
.header-item__icon {
      width: clamp(1.25rem, 0.667rem + 1.22vw, 2.125rem);
    object-fit: contain;
}

.hamBtn {
        display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .7s;
    color: #2E619A;
    background-color: transparent;
    position: fixed;
    z-index: 9999;
        right: clamp(1.25rem, -2.833rem + 8.51vw, 7.375rem);
    top: clamp(2.5rem, 1.833rem + 1.39vw, 3.5rem);
      width: clamp(1.875rem, 1.292rem + 1.22vw, 2.75rem);
    height: clamp(1.875rem, 1.625rem + 0.52vw, 2.25rem);
}
.hamBar {
       position: relative;
    width: clamp(1.875rem, 1.292rem + 1.22vw, 2.75rem);
    height: clamp(1.875rem, 1.625rem + 0.52vw, 2.25rem);
    display: flex;
    flex-direction: column;
    align-items: center;
  justify-content: center;
}
.hamBar > div {
       position: absolute;
    right: 0;
    width: 100%;
    height: 2px;
    background: #2E619A;
    transition: .7s;
}
.hamBar>div:nth-child(1) {
    top: 0;
}
.hamBar__text {
      font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    font-weight: 600;
    color: #2E619A;
  transition: .7s;
}
.hamBar>div:nth-child(3) {
    top: 100%;
}
.hamBar.active>div:nth-child(1) {
    top: 10px;
    transform: rotate(-45deg);
}
.hamBar__text.active {
   opacity: 0;
}
.hamBar.active>div:nth-child(3) {
    top: 10px;
    transform: rotate(45deg);
}

.sp__menu {
        background-color: #EAF9FF;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 44%;
    height: 100svh;
    transition: 0.5s;
    visibility: hidden;
    padding-top: 85px;
    padding-bottom: 150px;
    overflow: scroll;
    z-index: 9995;
  }
  .sp__menu.active {
    transform: translateX(0%);
    visibility: visible;
  }
  .sp-menu__inner {
        padding-left: clamp(1.25rem, -2.083rem + 6.94vw, 6.25rem);
    padding-right: 20px;
  }
  .sp-menu__container {
    width: 100%;
  }
.sp-menu__logo {
  width: 224px;
}
  .sp-menu__items {
        display: flex;
    flex-direction: column;
        margin-top: 50px;
    row-gap: clamp(2rem, 0.833rem + 2.43vw, 3.75rem);
  }
  .sp-menu__item {
        font-size: clamp(1rem, 0.667rem + 0.69vw, 1.5rem);
    font-weight: 700;
    color: #2E619A;
    display: flex;
  align-items: center;
    column-gap: 10px;
    transition: all 0.5s;
  }
.sp-menu__item::before {
  width: 8px;
  height: 8px;
  content: "";
  background-color: #2E619A;;
  border-radius: 50%;
  opacity: 0;
  transition: 0.5s;
}
  .sp-menu__item:hover::before {
    opacity: 1;
  }
.sp-menu__bottom {
      margin-top: clamp(2.5rem, 0.167rem + 4.86vw, 6rem);
    display: flex;
    column-gap: 40px;
    align-items: center;
}
.sp-menu__icon {
      width: 34px;
    object-fit: contain;
}

@media (max-width: 767px) {
  .contact-fixed {
    display: none;
  }
  .contact-fixed--sp {
    display: block;
  }
  
  .header {
    padding-top: 20px;
  }
  .header__logo {
        min-width: 112px;
    position: fixed;
    top: 38px;
    left: 46px;
  }
  .header__items {
        height: 55px;
    width: 100%;
    margin-left: unset;
  }
  .header__item {
    display: none;
  }
  .header-item__icon {
    display: none;
  }
  .hamBtn {
        right: 50px;
    top: 35px;
  }
  .sp__menu {
    width: 70%;
  }
}