@charset "UTF-8";
/* ===== 黒ワイプ（leaveだけ） ===== */
#pageWipe {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  background: #000;

  transform: translate3d(-101%, 0, 0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
#pageWipe.is-leave {
  transform: translate3d(0, 0, 0);
}

/* ===== 次ページ：ふわっと出る（フェードイン） ===== */
html.is-fade-enter body {
  opacity: 0;
}
html.is-fade-entered body {
  opacity: 1;
  transition: opacity 450ms ease;
}

.header-wrap {
  padding-top: 2%;
}
.header-wrap__nav__logo img {
  width: 100%;
  height: auto;
}
.header-wrap__nav__right__fmlogo img {
  width: 240px;
  height: auto;
}
.header-wrap__nav__right {
  padding: 15px 0 65px 0;
  align-items: flex-start;
}
.subttl {
  padding: 50px 0 0 0;
  margin: 0 auto 80px auto;
  max-width: 1100px;
}
.subttl h2 {
  font-size: 80px;
  font-weight: 600;
  letter-spacing: 1.8px;
}
.subttl strong {
  font-size: 96px;
  font-weight: 600;
}
@media screen and (max-width: 1280px) {
  .header-wrap__nav__logo img {
    height: auto;
  }
  .subttl {
    width: 95%;
  }
  .subttl h2 {
    font-size: clamp(3rem, -2.4rem + 8vw, 4rem);
    letter-spacing: 1.8px;
  }
  .subttl strong {
    font-size: clamp(4rem, -1.4rem + 8vw, 5rem);
  }
}
@media screen and (max-width: 1000px) {
  .header-wrap__nav__logo {
    width: 20%;
  }
  .header-wrap__nav__right__fmlogo img {
    width: 200px;
  }
  .header-wrap__nav__right__menu a {
    font-size: 14px;
  }
  .header-wrap__nav__right {
    gap: 30px;
  }
  .subttl {
    padding: 20px 0 0 0;
    margin: 0 auto 50px auto;
  }
}
@media screen and (max-width: 760px) {
  .header-wrap__nav__right__fmlogo img {
    width: 130px;
  }
  .header-wrap__nav__right {
    width: 80%;
  }
  .subttl {
    padding: 0 0 0 0;
    margin: 0 auto 30px auto;
  }
}
@media screen and (max-width: 540px) {
  .header-wrap__nav__logo img {
    width: clamp(5.625rem, 3.8393rem + 7.1429vw, 6.25rem);
  }
  .header-wrap__nav__right__menu a {
    font-size: 12px;
  }
  .header-wrap__nav__right__fmlogo img {
    width: clamp(5.625rem, 3.8393rem + 7.1429vw, 6.25rem);
  }
  .header-wrap__nav {
    margin: 0 10px;
  }
  .header-wrap__nav__right__menu__item {
    font-size: 12px;
  }
  .header-wrap__nav {
    display: none;
  }
  /* 開いてる間スクロール停止（対応ブラウザならこれでOK） */
  body:has(#menu-toggle:checked) {
    overflow: hidden;
  }

  /* 位置 */
  .menu-wrapper {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
  }

  /* checkboxは見えないだけにする（構造は保持） */
  .menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  /* -------------------------
  ハンバーガー（余白も黒背景）
-------------------------- */
  .menu-icon {
    /* 余白を増やして押しやすく（ここが黒背景になる） */
    padding: 12px;
    background: #000;
    display: inline-block;
    position: relative;
    cursor: pointer;
    z-index: 1100;
    width: 30px;
    height: 25px;
    box-sizing: content-box; /* ← paddingを外側に増やすため必須 */
  }

  /* 線（内側の30×25に収める） */
  .menu-icon span {
    position: absolute;
    left: 12px; /* padding分だけ内側に寄せる */
    width: 30px; /* 内側枠の幅 */
    height: 2px;
    background: #fff;
    transition: transform 0.5s, opacity 0.5s;
  }

  /* 上中下（padding 12px を足した座標） */
  .menu-icon span:nth-of-type(1) {
    top: 12px;
  }
  .menu-icon span:nth-of-type(2) {
    top: 23px;
  } /* 12 + 11 */
  .menu-icon span:nth-of-type(3) {
    top: 35px;
  } /* 12 + 23 */

  /* ×に変形 */
  #menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: translateY(11px) rotate(-315deg);
  }
  #menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: translateY(-11px) rotate(315deg);
  }

  /* -------------------------
  メニュー本体
-------------------------- */
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fecc34;
    transition: right 0.4s ease;
    z-index: 20;
  }

  #menu-toggle:checked ~ .menu {
    right: 0;
  }

  .menu ul {
    list-style: none;
    padding: 60px 20px;
  }

  .menu li {
    margin: 20px 0 30px 0;
  }

  .menu a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
  }

  /* -------------------------
  overlay（開いてる時だけ表示）
-------------------------- */
  .overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 15;
  }

  #menu-toggle:checked ~ .overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .policy-wrap__ttl {
    margin-top: 40px;
  }
  .contact-wrap__ttl {
    margin-top: 40px;
  }
}
@media screen and (max-width: 480px) {
  .subttl strong {
    font-size: 48px;
  }
  .contact-wrap__ttl h2 {
    font-size: 32px;
  }
  .subttl strong {
    font-size: 48px;
  }
  .policy-wrap__ttl h2 {
    font-size: 32px;
  }
  .policy-wrap__ttl small {
    font-size: 14px;
  }
  .policy-wrap__content p {
    font-size: 14px;
  }
  .policy-wrap__content h3 {
    font-size: 16px;
  }
  .policy-wrap__content {
    max-width: 760px;
    margin: 0 auto;
  }
}
