@charset "utf-8";
#root .bg {
  background: #EC3480;
  display: block;
  content: "";
  position: fixed;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

/*アニメーション*/
.bg {
  animation-name: bg-anime;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes bg-anime {
  0% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50% {
    transform-origin: right;
    transform: scaleX(1);
  }
  50.001% {
    transform-origin: left;
  }
  100% {
    transform-origin: left;
    transform: scaleX(0);
  }
}



.header {
      position: fixed;
    width: 100%;
    z-index: 9998;
    padding: 12px 0;
  background-color: #Fff;
}
.header__inner {
      padding-left: clamp(1.25rem, -1.917rem + 6.6vw, 6rem);
    padding-right: clamp(1.25rem, 0.208rem + 2.17vw, 2.813rem);
}
.header__container {
      display: flex;
    justify-content: space-between;
    column-gap: 20px;
}
.header__logo {
      width: clamp(13.75rem, 5.208rem + 17.8vw, 26.563rem);
    object-fit: contain;
}
.header__right {
      display: flex;
    column-gap: clamp(1.25rem, -3.036rem + 6.7vw, 5rem);
    align-items: center;
}
.header__items {
      display: flex;
    column-gap: clamp(1.25rem, -3.036rem + 6.7vw, 5rem);
    align-items: center;
}
.header__item {
      font-size: clamp(0.875rem, 0.589rem + 0.45vw, 1.125rem);
    font-weight: 500;
    transition: all 0.5s;
}
.header__item:hover {
  color: #E30074;
}
.header__contact {
      font-size: clamp(0.75rem, 0.321rem + 0.67vw, 1.125rem);
    font-weight: 700;
    color: #fff;
    padding: clamp(0.5rem, -0.214rem + 1.12vw, 1.125rem) clamp(0.5rem, -0.643rem + 1.79vw, 1.5rem);
    background-color: #E30074;
    line-height: 1;
    border-radius: 45px;
    border: 1px solid #E30074;
    transition: all 0.5s;
}
.header__contact:hover {
  color: #E30074;
  background-color: #fff;
}

.hamBtn {
  display: none;
}
.sp__menu {
  display: none;
}

@media (max-width: 1023px) {
  .header__right {
        flex-direction: column;
    align-items: flex-end;
    row-gap: 8px;
  }
}

@media (max-width: 767px) {
  .header {
    padding: 8px 0 20px;
  }
  .header__container {
    align-items: center;
  }
  .header__inner {
    padding-right: 50px;
  }
  .header__logo {
    width: clamp(9.438rem, 4.976rem + 18.3vw, 13.75rem);
  }
  .header__items {
    display: none;
  }
  .header__contact {
    font-size: clamp(0.625rem, 0.496rem + 0.53vw, 0.75rem);
  }
  
  .hamBtn {
        position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    cursor: pointer;
    z-index: 9998;
    transition: all .7s;
    color: #FAFBFF;
    background-color: #E30074;
    max-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
  }
  .hamBar {
        position: relative;
    width: 26px;
    height: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hamBar > div {
        position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    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: 7px;
    transform: rotate(-45deg);
  }
  .hamBar.active>div:nth-child(2) {
    opacity: 0;
  }
  .hamBar.active>div:nth-child(3) {
    top: 7px;
    transform: rotate(45deg);
  }
  
  .sp__menu {
        background-color: #fff;
    padding: 96px 0;
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    visibility: hidden;
    width: 100%;
    height: 100svh;
    transition: .5s;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: scroll;
  }
  .sp-menu__inner {
    width: 100%;
    padding: 0 20px;
  }
  .sp-menu__container {
        max-width: 312px;
    margin: 0 auto;
  }
  .sp__menu.active {
    transform: translateY(0%);
    visibility: visible;
    pointer-events: auto;
  }
  .sp-menu__items {
        display: flex;
    flex-direction: column;
        row-gap: 40px;
    align-items: center;
  }
  .sp-menu__item {
        display: flex;
    column-gap: 24px;
}
    .sp-menu-item__icon {
      width: 18px;
      object-fit: contain;
  }
  .sp-menu-item__text {
        font-size: 18px;
    font-weight: 600;
  }
}

@media (max-width: 389px) {
  .header__inner {
        padding-left: clamp(0.625rem, -2.274rem + 14.49vw, 1.25rem);
    padding-right: clamp(2.125rem, -2.513rem + 23.19vw, 3.125rem);
  }
  .header__container {
    column-gap: 10px;
  }
  .header__logo {
    width: clamp(8.75rem, 5.562rem + 15.94vw, 9.438rem);
  }
  .header__contact {
    padding: 6px;
  }
  .hamBtn {
    max-width: clamp(2rem, -0.319rem + 11.59vw, 2.5rem);
  }
}