/* 092 よじぽこ ― 色はここだけ触れば差し替わる */
:root {
  --c-bg: #f6f1ff;
  --c-purple: #7c4ddb;
  --c-ink: #2e1760;
  --c-yellow: #ffd84d;
  --c-mint: #7fe0c4;
  --c-pink: #ffc4e1;
  --c-accent-text: #6b2fd6;
  --c-text: #374151;
  --c-sub: #4b5563;
  --font: "M PLUS Rounded 1c", sans-serif;
  --font-big: "Rampart One", "M PLUS Rounded 1c", sans-serif;
  --font-en: "Lilita One", sans-serif;
  --line: 3px solid var(--c-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--font); font-weight: 500; font-size: 16px; line-height: 1.9; color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dd, li, th, td { word-break: auto-phrase; }
figure { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.en { font-family: var(--font-en); font-size: 20px; letter-spacing: .06em; color: var(--c-accent-text); }
.h2 { font-weight: 800; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.4; color: var(--c-ink); margin: 2px 0 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: var(--line); border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; white-space: nowrap; flex: none; box-shadow: 0 5px 0 var(--c-ink); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--c-ink); }
.btn:focus-visible { outline: 3px solid var(--c-mint); outline-offset: 3px; }
.btn--yellow { background: var(--c-yellow); color: var(--c-ink); }
.btn--lg { min-height: 64px; padding: 0 38px; font-size: 19px; }

/* ===== ロゴの幕（A04）：頭の小さなJSが is-intro を付けたときだけ ===== */
.intro { display: none; }
.is-intro .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--c-purple); pointer-events: none; animation: introOut .5s 2.6s forwards; }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }
.intro__logo { font-family: var(--font-big); font-size: clamp(64px, 14vw, 160px); line-height: 1; color: #fff; white-space: nowrap; }

/* ===== ヘッダー ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 255, .95); border-bottom: var(--line); }
.header__inner { display: flex; align-items: center; gap: 12px; height: 68px; padding: 0 10px 0 20px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--c-ink); white-space: nowrap; flex: none; }
.logo__ja { font-family: var(--font-big); font-size: 34px; line-height: 1; color: var(--c-purple); }
.logo__en { font-family: var(--font-en); font-size: 15px; letter-spacing: .04em; line-height: 1.1; width: 6.4em; white-space: normal; }
.gnav { display: none; }
.header__btn { margin-left: auto; min-height: 44px; padding: 0 18px; box-shadow: 0 3px 0 var(--c-ink); }
@media (max-width: 420px) { .logo__en { display: none; } }
@media (min-width: 1080px) {
  .header__inner { padding: 0 32px; gap: 24px; }
  .gnav { display: flex; gap: 24px; margin-left: auto; }
  .gnav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 800; color: var(--c-ink); }
  .gnav a:hover { color: var(--c-accent-text); }
  .header__btn { margin-left: 0; }
}
.spmenu { flex: none; }
.spmenu summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--c-ink); }
.spmenu summary::-webkit-details-marker { display: none; }
.spmenu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.spmenu__bar, .spmenu__bar::before, .spmenu__bar::after { display: block; width: 22px; height: 3px; border-radius: 3px; background: currentColor; position: relative; }
.spmenu__bar::before, .spmenu__bar::after { content: ""; position: absolute; left: 0; }
.spmenu__bar::before { top: -7px; } .spmenu__bar::after { top: 7px; }
.spmenu[open] .spmenu__bar { background: transparent; }
.spmenu[open] .spmenu__bar::before { top: 0; transform: rotate(45deg); }
.spmenu[open] .spmenu__bar::after { top: 0; transform: rotate(-45deg); }
.spmenu__nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: var(--line); padding: 8px 20px 20px; display: flex; flex-direction: column; }
.spmenu__nav a { display: flex; align-items: center; min-height: 52px; color: var(--c-ink); font-weight: 800; text-decoration: none; border-bottom: 2px dotted var(--c-purple); }
@media (min-width: 1080px) { .spmenu { display: none; } }

/* ===== メインビジュアル（画像1枚のLP風） ===== */
.hero { position: relative; min-height: calc(100svh - 68px); display: flex; align-items: flex-end; overflow: hidden; background: var(--c-ink); border-bottom: var(--line); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46, 23, 96, .88) 0%, rgba(46, 23, 96, .55) 45%, rgba(46, 23, 96, 0) 75%); }
.hero__copy { position: relative; z-index: 2; padding: 0 20px 48px; max-width: 1280px; width: 100%; margin: 0 auto; color: #fff; }
.hero__badge { display: grid; place-items: center; width: 96px; height: 96px; margin-bottom: 16px; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: var(--c-mint); border: var(--line); font-weight: 800; font-size: 17px; line-height: 1.25; text-align: center; color: var(--c-ink); transform: rotate(-8deg); }
.hero__title { font-family: var(--font-big); font-size: clamp(52px, 10vw, 136px); line-height: 1.12; color: #fff; text-shadow: 0 6px 0 var(--c-purple); }
.hero__lead { font-size: 17px; margin: 18px 0 26px; font-weight: 800; }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(46, 23, 96, .85) 0%, rgba(46, 23, 96, .55) 40%, rgba(46, 23, 96, 0) 68%); }
  .hero__copy { padding: 64px 48px; }
}

/* ===== はじめての方へ（ホールドの形のカード） ===== */
.first { padding: 96px 0; }
.blobs { display: grid; gap: 28px; }
.blob { position: relative; padding: 40px 32px 36px; border: var(--line); box-shadow: 6px 6px 0 var(--c-ink); color: var(--c-ink); min-width: 0; }
.blob--1 { background: var(--c-yellow); border-radius: 58% 42% 50% 50% / 46% 54% 46% 54%; }
.blob--2 { background: var(--c-mint); border-radius: 44% 56% 52% 48% / 56% 42% 58% 44%; }
.blob--3 { background: var(--c-pink); border-radius: 52% 48% 40% 60% / 48% 58% 42% 52%; }
.blob__no { font-family: var(--font-en); font-size: 44px; line-height: 1; color: var(--c-ink); }
.blob h3 { font-weight: 800; font-size: 23px; margin: 6px 0 6px; }
.blob p:last-child { color: var(--c-ink); }
@media (min-width: 900px) { .blobs { grid-template-columns: repeat(3, 1fr); gap: 36px; } .blob { padding: 56px 40px 52px; } .blob--2 { margin-top: 40px; } }

/* ===== ホールドのかたち（F07） ===== */
.holds { background: #fff; border-top: var(--line); border-bottom: var(--line); padding: 96px 0; overflow: hidden; }
.holds__inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; display: grid; gap: 24px; align-items: center; }
.holds__stage { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, var(--c-bg) 0, var(--c-bg) 55%, transparent 56%); }
.holds__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.holds__svg { position: absolute; inset: 8%; width: 84%; height: 84%; }
.has-wire .holds__canvas { display: block; }
.has-wire .holds__svg { display: none; }
.kinds li { padding: 18px 0; border-top: 2px dashed var(--c-purple); transition: opacity .4s; }
.kinds h3 { font-weight: 800; font-size: 18px; color: var(--c-ink); }
.kinds h3 span { display: inline-block; margin-right: 10px; padding: 0 14px; border-radius: 999px; background: var(--c-purple); color: #fff; font-size: 18px; }
.kinds li:nth-child(2) h3 span { background: var(--c-yellow); color: var(--c-ink); }
.kinds li:nth-child(3) h3 span { background: var(--c-mint); color: var(--c-ink); }
.is-motion .kinds li { opacity: .5; }
.is-motion .kinds li.is-on { opacity: 1; }
@media (min-width: 900px) {
  .holds { padding: 0; }
  .holds__inner { grid-template-columns: 1fr 1fr; min-height: 100vh; gap: 64px; }
  .holds__stage { width: min(100%, 520px); }
}

/* ===== コース（Swiper） ===== */
.course { padding: 96px 0; overflow: hidden; }
.course__swiper { padding: 8px 20px 12px; max-width: 1280px; }
.plan { width: 76%; max-width: 320px; height: auto; border: var(--line); border-radius: 32px; padding: 24px; box-shadow: 6px 6px 0 var(--c-ink); color: var(--c-ink); }
.plan--purple { background: var(--c-purple); color: #fff; }
.plan--yellow { background: var(--c-yellow); }
.plan--mint { background: var(--c-mint); }
.plan--pink { background: var(--c-pink); }
.plan img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--line); border-radius: 20px; margin-bottom: 14px; background: var(--c-bg); }
.plan__tag { display: inline-block; padding: 0 12px; margin-bottom: 10px; border-radius: 999px; background: var(--c-yellow); color: var(--c-ink); font-weight: 800; font-size: 15px; }
.plan h3 { font-weight: 800; font-size: 24px; margin-bottom: 6px; }
.plan__price { margin-top: 12px; font-family: var(--font-en); font-size: 28px; }
.course__swiper .swiper-wrapper { margin: 0; padding: 0 0 8px; }
.course__swiper:not(.swiper-initialized) .swiper-wrapper { overflow-x: auto; scroll-snap-type: x mandatory; gap: 20px; }
.course__swiper:not(.swiper-initialized) .plan { scroll-snap-align: start; }
.course__ctrl { display: none; }
.swiper-initialized .course__ctrl { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.course__arrow { position: static; margin: 0; width: 52px; height: 52px; border: var(--line); border-radius: 50%; background: #fff; color: var(--c-ink); box-shadow: 0 3px 0 var(--c-ink); }
.course__arrow svg { width: 10px; height: 18px; }
.course__dots.swiper-pagination { position: static; width: auto; }
.course__dots .swiper-pagination-bullet { position: relative; width: 28px; height: 44px; margin: 0 !important; background: transparent; border-radius: 0; opacity: 1; vertical-align: middle; }
.course__dots .swiper-pagination-bullet::before { content: ""; position: absolute; left: 6px; top: 14px; width: 16px; height: 16px; border-radius: 46% 54% 40% 60%; background: #fff; border: 2px solid var(--c-ink); box-sizing: border-box; }
.course__dots .swiper-pagination-bullet-active::before { background: var(--c-purple); }
.course__pause { min-height: 44px; padding: 0 18px; border: 2px solid var(--c-ink); border-radius: 999px; background: #fff; color: var(--c-ink); font-family: var(--font); font-weight: 800; font-size: 15px; cursor: pointer; }

/* ===== 料金 ===== */
.price { padding: 96px 0; background: var(--c-yellow); border-top: var(--line); border-bottom: var(--line); }
.price .en { color: var(--c-ink); }
.table { overflow-x: auto; border: var(--line); border-radius: 24px; background: #fff; box-shadow: 6px 6px 0 var(--c-ink); }
table { width: 100%; border-collapse: collapse; min-width: 340px; }
th, td { padding: 16px 12px; text-align: center; border-bottom: 2px dashed #d9ccf5; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
thead th { background: var(--c-purple); color: #fff; font-weight: 800; }
tbody th { font-weight: 800; color: var(--c-ink); }
td { font-family: var(--font-en); font-size: 18px; color: var(--c-ink); }
.price__note { margin-top: 20px; color: var(--c-ink); }

/* ===== 親子で ===== */
.family { padding: 96px 0; overflow: hidden; }
.family__inner { position: relative; display: grid; gap: 28px; }
.family__photo { border: var(--line); border-radius: 32px; overflow: hidden; box-shadow: 6px 6px 0 var(--c-purple); background: #fff; }
.family__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--c-bg); }
.family__photo figcaption { padding: 12px 20px; font-weight: 800; color: var(--c-ink); }
.family__shoes { position: absolute; width: 150px; right: 0; top: -60px; transform: rotate(-14deg); }
@media (min-width: 900px) {
  .family__inner { grid-template-columns: 1.3fr 1fr; align-items: end; }
  .family__photo--b { margin-bottom: -40px; transform: rotate(3deg); }
  .family__shoes { width: 220px; right: 36%; top: -110px; }
}

/* ===== 体験予約 ===== */
.reserve { padding: 112px 0; background: var(--c-purple); border-top: var(--line); border-bottom: var(--line); text-align: center; color: #fff; }
.reserve__title { font-family: var(--font-big); font-size: clamp(36px, 6vw, 72px); line-height: 1.3; color: #fff; margin-bottom: 20px; text-shadow: 0 5px 0 var(--c-ink); }
.reserve__inner p { margin-bottom: 28px; font-weight: 800; }

/* ===== アクセス ===== */
.access { padding: 96px 0; }
.info div { display: grid; gap: 2px; padding: 16px 0; border-bottom: 2px dashed var(--c-purple); }
.info dt { font-weight: 800; color: var(--c-ink); }
.info a { font-family: var(--font-en); font-size: 20px; color: var(--c-ink); }
@media (min-width: 768px) { .info div { grid-template-columns: 6em 1fr; } }

/* ===== フッター ===== */
.footer { background: var(--c-ink); color: #ece4ff; text-align: center; padding: 56px 20px 40px; font-size: 15px; }
.footer__logo { font-family: var(--font-big); font-size: 34px; color: #fff; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 22px; margin: 16px 0; }
.footer__nav a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
