@charset "UTF-8";
/* ------------------------------
   SPメニュー（完全独立型）
------------------------------ */
/* ハンバーガー（画面右上に固定） */
.sp-hamburger {
  position: fixed;
  top: 2rem;
  right: 1.6rem;
  width: 4.8rem;
  height: 4.8rem;
  z-index: 9999999;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  background: linear-gradient(-90deg, #4034a1, #5576d0);
  border: none;
  border-radius: 50%;
}
.sp-hamburger span {
  position: absolute;
  width: 45%;
  height: 0.18rem;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.sp-hamburger span:nth-child(1) {
  top: 35%;
}
.sp-hamburger span:nth-child(2) {
  top: 48%;
}
.sp-hamburger span:nth-child(3) {
  top: 61%;
}
.sp-hamburger.is-active span:nth-child(1) {
  transform: translateY(0.63rem) rotate(45deg);
}
.sp-hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.sp-hamburger.is-active span:nth-child(3) {
  transform: translateY(-0.63rem) rotate(-45deg);
}

/* SP ナビ（右からスライド） */
.sp-nav {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  height: 100vh;
  background: #fff;
  z-index: 99999;
  padding: 6rem 4rem;
  transition: 0.35s ease-out;
  overflow-y: auto;
  box-sizing: border-box;
}
.sp-nav.is-open {
  right: 0;
}
.sp-nav ul {
  list-style: none;
  padding: 0;
  margin-bottom: 5rem;
}
.sp-nav ul li {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ddd;
}
.sp-nav ul li a {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}
.sp-nav .header__btn {
  max-width: 250px;
}

/* オーバーレイ */
.sp-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  z-index: 9990;
  transition: 0.3s;
}
.sp-nav-overlay.is-show {
  opacity: 1;
  visibility: visible;
}

/* PCでは非表示 */
@media (min-width: 769px) {
  .sp-hamburger,
  .sp-nav,
  .sp-nav-overlay {
    display: none;
  }
}