/* =========================================================
   EZ do dance v1.0 — ドーパミンデザイン
   鮮明な色の大きな面＋丸い形・うねる線・柄の大小差。見る順に弾むリズム。
   飾りはすべて生成した立体素材（images/mo-*.webp）。境目のうねりは生成した形（images/wave-*.png）を型にして、
   色はCSSの指定色をそのまま使う。CSSで描くのは色の面・カード・ボタン・文字の帯だけ。
   見出し：Mochiy Pop One（ふくらみのある幅広の極太）／本文：M PLUS Rounded 1c（飾らない）
   ========================================================= */
:root {
  --pink: #FF2E88;
  --yellow: #FFE01A;
  --purple: #6A2BE0;
  --cyan: #18C6E8;
  --ink: #121218;
  --cream: #FFF9F0;
  --display: "Mochiy Pop One", "M PLUS Rounded 1c", sans-serif;
  --body: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1120px;
  --gutter: 18px;
  --wave: clamp(36px, 9vw, 104px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.85; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
p, li, dd, h3, summary { word-break: auto-phrase; text-wrap: pretty; }
button { font: inherit; color: inherit; }
.nw { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.c-pink { color: var(--pink); }

/* ---------- デモの断り（1行） ---------- */
.demo-note { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 6px 0 14px; background: var(--ink); color: var(--cream); font-size: 12px; line-height: 1.4; }
.demo-note p { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.demo-note__more { display: none; }
.motion-toggle { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; background: transparent; color: var(--cream); font-size: 12px; cursor: pointer; }
.motion-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* ---------- ヘッダー：帯はなし。ロゴと申込のピルだけが浮く ---------- */
.head { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; pointer-events: none; transition: transform .45s var(--ease); }
.head.is-hidden { transform: translateY(-120%); }
.head > * { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--cream); box-shadow: 0 0 0 2px rgba(18, 18, 24, .08); font-family: var(--display); font-size: 19px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; line-height: 1; white-space: pre; }
.logo span { color: var(--pink); }
.head__cta { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--pink); color: var(--cream); box-shadow: 0 3px 0 var(--ink); font-family: var(--display); font-size: 15px; text-decoration: none; transition: opacity .3s, visibility .3s; }
.head__cta.is-hidden { opacity: 0; visibility: hidden; }
.logo:focus-visible, .head__cta:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }

/* ---------- ボタン ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-height: 60px; padding: 0 30px; border-radius: 999px;
  background: var(--yellow); color: var(--ink); text-decoration: none; text-align: center;
  font-family: var(--display); font-size: clamp(17px, 4.6vw, 20px); letter-spacing: .01em; line-height: 1.3;
  box-shadow: 0 6px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.btn--pink { background: var(--pink); color: var(--cream); }
.btn--ink { background: var(--ink); color: var(--cream); box-shadow: 0 6px 0 rgba(18, 18, 24, .35); }
.btn--big { min-height: 66px; width: 100%; max-width: 440px; }

/* ---------- セクション共通：上の境目は生成したうねりの型で、そのセクションの色を上へ伸ばす ---------- */
.sec { position: relative; padding: 56px var(--gutter) 96px; scroll-margin-top: 64px; }
@supports (overflow-x: clip) { .sec { overflow-x: clip; } }
@supports not (overflow-x: clip) { .sec { overflow: hidden; } }
.sec::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; bottom: 100%; height: var(--wave); margin-bottom: -1px; background: inherit; -webkit-mask: var(--wave-img, url(images/wave-1.png)) center bottom / 100% 100% no-repeat; mask: var(--wave-img, url(images/wave-1.png)) center bottom / 100% 100% no-repeat; pointer-events: none; }
.sec > :where(:not(.deco)) { position: relative; z-index: 1; max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.hl { font-family: var(--display); font-weight: 400; line-height: 1.45; letter-spacing: -.04em; }
.hl__sm { display: block; font-size: clamp(20px, 6vw, 38px); }
.hl__lg { display: block; font-size: clamp(42px, 13vw, 96px); line-height: 1.45; }
.hl--light { color: var(--cream); }
.body { margin-top: 12px; font-size: 16px; font-weight: 500; }
.note { margin-top: 14px; font-size: 13px; opacity: .8; }
.note--light { color: var(--cream); }
.sec__end { margin-top: 40px; text-align: center; }
.sec__end .btn { margin-top: 18px; width: 100%; max-width: 380px; }
.turn { font-family: var(--display); font-size: clamp(20px, 5.6vw, 30px); line-height: 1.55; }
.turn strong { font-weight: 400; color: var(--cream); background: var(--ink); padding: .05em .3em; white-space: nowrap; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* 飾りの素材 */
.mo { position: absolute; max-width: none; height: auto; pointer-events: none; user-select: none; }
.sec .deco { position: absolute; z-index: 0; margin: 0; }

/* =========================================================
   ① FV：上はクリームの空、下は紫の地面。人は地面から跳ぶ
   ========================================================= */
.fv { position: relative; overflow: hidden; padding: 0 0 36px; --art-h: clamp(250px, 42svh, 440px); }
.fv__ground { position: absolute; z-index: 0; left: 0; right: 0; top: calc(var(--art-h) - 34px); bottom: 0; background: var(--purple); }
.fv__ground::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: clamp(48px, 15vw, 130px); background: var(--purple); -webkit-mask: url(images/wave-3.png) center bottom / 100% 100% no-repeat; mask: url(images/wave-3.png) center bottom / 100% 100% no-repeat; }
.fv__art { position: relative; z-index: 1; height: var(--art-h); margin: 0 auto; max-width: 560px; }
.fv__art .mo { z-index: 1; }
.mo--blob { width: 46%; right: -12%; top: -6%; z-index: 0 !important; }
.mo--arch { width: 34%; left: -7%; top: 2%; z-index: 0 !important; transform: rotate(-14deg); }
.mo--sun { width: 74%; left: 13%; top: 7%; }
.mo--ball { width: 14%; left: 2%; top: 50%; }
.mo--checker { width: 124%; left: -12%; bottom: -2%; transform: rotate(-8deg); }
.fv__dancer-wrap { position: absolute; z-index: 2; left: 50%; bottom: -7%; height: 100%; transform: translateX(-46%); }
.fv__dancer { height: 100%; width: auto; max-width: none; filter: drop-shadow(0 14px 18px rgba(18, 18, 24, .22)); }
.mo--flower { width: 15%; right: 3%; top: 38%; z-index: 3 !important; filter: drop-shadow(0 6px 8px rgba(18, 18, 24, .16)); }
.mo--squiggle { display: none; }

.fv__copy { position: relative; z-index: 3; margin: 30px var(--gutter) 0; color: var(--cream); }
.fv__tag { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--cyan); color: var(--ink); font-weight: 800; font-size: 13px; line-height: 1.5; transform: rotate(-4deg); transform-origin: left center; }
.fv__title { margin-top: 10px; font-family: var(--display); font-weight: 400; line-height: 1; letter-spacing: -.05em; transform: rotate(-4deg); transform-origin: left bottom; }
.fv__line { display: block; white-space: nowrap; }
.fv__line--1 { font-size: clamp(22px, 7.2vw, 52px); margin-bottom: .18em; }
.fv__line--2, .fv__line--3 { font-size: clamp(64px, 21vw, 150px); text-shadow: .05em .05em 0 var(--ink); }
.fv__line--2 { color: var(--yellow); }
.fv__line--3 { color: var(--cream); padding-left: .55em; margin-top: -.06em; }
.fv__title .ch { display: inline-block; }
.fv__title .ch--k { margin: 0 -.08em; }
.fv__title .ch--p { margin-left: -.16em; }
.fv__title .ch--c { margin-right: -.32em; }
.fv__band { margin: 16px 0 0 calc(var(--gutter) * -1); transform: rotate(-4deg); transform-origin: left center; }
.fv__band span { display: inline-block; padding: 6px 16px 6px calc(var(--gutter) + 4px); background: var(--pink); color: var(--cream); font-family: var(--display); font-size: clamp(15px, 4.4vw, 22px); line-height: 1.5; }
.fv__cta { margin-top: 22px; }
.fv__cta .btn { width: 100%; max-width: 380px; }
.fv__cta-note { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--cream); }

.points { position: relative; z-index: 2; display: grid; gap: 10px; margin: 26px var(--gutter) 0; }
.points li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 20px; background: var(--cream); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.6; }
.points b { font-family: var(--display); font-weight: 400; font-size: 1.08em; }
.points__icon { flex: none; width: 50px; height: 50px; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(18, 18, 24, .16)); }

/* =========================================================
   ② 悩み：ピンクの面
   ========================================================= */
.sec--worry { background: var(--pink); --wave-img: url(images/wave-1.png); }
.worry__head { display: grid; gap: 10px; }
.worry__title .hl__sm { color: var(--ink); }
.worry__title .hl__lg { color: var(--cream); font-size: clamp(64px, 21vw, 168px); line-height: 1.45; text-shadow: .05em .05em 0 var(--ink); }
.worry__visual { position: relative; width: min(66%, 46svh); margin: 6px 0 0 auto; }
.worry__arch { width: 70%; left: -30%; top: 6%; transform: rotate(-12deg); z-index: 0; }
.worry__photo { position: relative; z-index: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--cream); box-shadow: 10px 10px 0 var(--ink); aspect-ratio: 1; }
.worry__photo img { width: 100%; height: 100%; object-fit: cover; }
.sec .deco--q { width: 28vw; max-width: 200px; right: 2vw; top: 30px; transform: rotate(10deg); }
.sec .deco--cushion { width: 18vw; max-width: 120px; left: -5vw; bottom: 22%; transform: rotate(-10deg); }

.flips { display: grid; gap: 16px; margin-top: 30px; }
.flip { position: relative; perspective: 1000px; }
.flip:nth-child(even) { margin-left: 7%; transform: rotate(1.2deg); }
.flip:nth-child(odd):not(:first-child) { margin-right: 7%; transform: rotate(-1.2deg); }
.flip__in { display: grid; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3, 1.35, .4, 1); }
.flip__q, .flip__a { grid-area: 1 / 1; display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 16px 18px; border-radius: 26px; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.flip__q { background: var(--ink); color: var(--cream); font-family: var(--display); font-size: clamp(17px, 4.8vw, 21px); line-height: 1.5; }
.flip__a { transform: rotateY(180deg); color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.7; box-shadow: 0 6px 0 var(--ink); }
.flip__a strong { display: block; margin-bottom: 4px; font-family: var(--display); font-weight: 400; font-size: 16px; line-height: 1.5; }
.flip b { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-family: var(--display); font-weight: 400; font-size: 17px; }
.flip__q b { background: var(--pink); color: var(--cream); }
.flip__a b { background: var(--ink); color: var(--cream); }
.flip--cream .flip__a { background: var(--cream); }
.flip--yellow .flip__a { background: var(--yellow); }
.flip--cyan .flip__a { background: var(--cyan); }
.flip--purple .flip__a { background: var(--purple); color: var(--cream); }
.flip--purple .flip__a b { background: var(--yellow); color: var(--ink); }
.flip.is-flipped .flip__in { transform: rotateY(180deg); }
.flip:first-child .flip__q { min-height: 120px; font-size: clamp(19px, 5.4vw, 24px); }
.sec--worry .sec__end .turn { color: var(--ink); }

/* =========================================================
   ③ 習えるダンス：紫の面。three.js のカードの山
   ========================================================= */
.sec--genre { padding: 0 var(--gutter) 40px; background: var(--purple); color: var(--cream); --wave-img: url(images/wave-2.png); }
.genre__pin { position: relative; padding: 64px 0 24px; }
.genre__pin > :not(.deco) { position: relative; z-index: 1; }
.genre__title .hl__sm { font-size: clamp(20px, 6vw, 38px); }
.genre__title .hl__lg { font-size: clamp(32px, 9.2vw, 84px); white-space: nowrap; line-height: 1.4; }
.g-k { color: var(--yellow); font-style: normal; }
.g-h { color: var(--cyan); font-style: normal; }
.genre__sub { margin-top: 2px; font-size: 14px; font-weight: 700; opacity: .92; }
.genre__stage { position: relative; margin-top: 14px; }
.genre__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.genre__list { display: grid; gap: 22px; }
.genre__item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; border: 6px solid var(--cream); }
.genre__text { margin-top: 10px; }
.genre__text h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.3; }
.genre__item[data-i="0"] h3 { color: var(--yellow); }
.genre__item[data-i="1"] h3 { color: var(--cyan); }
.genre__item[data-i="2"] h3 { color: var(--pink); }
.genre__text p { margin-top: 4px; font-size: 15px; line-height: 1.75; }
.genre__tabs { display: none; }
.sec .deco--g-sun { width: 84vw; max-width: 520px; left: 50%; margin-left: calc(-1 * min(42vw, 260px)); top: 30%; }
.sec .deco--g-light { width: 16vw; max-width: 110px; right: 0; top: 52px; transform: rotate(14deg); }
.sec .deco--g-cap { width: 22vw; max-width: 150px; left: -4vw; bottom: 10%; transform: rotate(-10deg); }
/* 3Dが使えるとき：画面に収まる高さでピン留めし、カードの下に説明とジャンルのボタン */
.is-3d .genre__pin { height: 100svh; min-height: 520px; padding: 70px 0 16px; display: flex; flex-direction: column; }
.is-3d .genre__stage { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
.is-3d .genre__canvas { position: relative; inset: auto; display: block; flex: 1 1 auto; min-height: 200px; width: calc(100% + var(--gutter) * 2); margin: 0 calc(var(--gutter) * -1); height: auto; }
.is-3d .genre__list { position: relative; flex: none; height: 96px; margin-top: 4px; }
.is-3d .genre__item { position: absolute; inset: 0; text-align: center; opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .4s var(--ease); pointer-events: none; }
.is-3d .genre__item.is-active { opacity: 1; transform: none; pointer-events: auto; }
.is-3d .genre__item img { display: none; }
.is-3d .genre__text { margin: 0; }
.is-3d .genre__text h3 { font-size: 22px; }
.is-3d .genre__text p { font-size: 14px; line-height: 1.65; max-width: 30em; margin: 2px auto 0; }
.is-3d .genre__tabs { display: flex; justify-content: center; gap: 8px; margin-top: 8px; flex: none; }
.genre__tab { min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255, 249, 240, .16); color: var(--cream); font-family: var(--display); font-size: 14px; cursor: pointer; transition: background .3s, color .3s, transform .3s var(--ease); }
.genre__tab.is-active[data-i="0"] { background: var(--yellow); color: var(--ink); }
.genre__tab.is-active[data-i="1"] { background: var(--cyan); color: var(--ink); }
.genre__tab.is-active[data-i="2"] { background: var(--pink); color: var(--cream); }
.genre__tab:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.genre__sun-in-stage { display: none; }

/* =========================================================
   ④ クラス：クリームの面
   ========================================================= */
.sec--class { background: var(--cream); --wave-img: url(images/wave-3.png); }
.class__head { display: grid; gap: 12px; }
.class__head .hl__sm { font-size: clamp(19px, 5.4vw, 32px); }
.class__head .hl__lg { font-size: clamp(44px, 13.5vw, 92px); line-height: 1.45; }
.class__choices { display: grid; gap: 10px; margin-top: 16px; }
.choice { min-height: 56px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: var(--cream); box-shadow: 0 4px 0 rgba(18, 18, 24, .3); font-family: var(--display); font-size: 16px; text-align: left; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .3s, color .3s; }
.choice::before { content: "→ "; color: var(--yellow); }
.choice:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.choice[aria-pressed="true"][data-target="0"] { background: var(--yellow); color: var(--ink); }
.choice[aria-pressed="true"][data-target="1"] { background: var(--pink); color: var(--cream); }
.choice[aria-pressed="true"][data-target="1"]::before { color: var(--cream); }
.choice[aria-pressed="true"]::before { color: var(--ink); }
.choice[aria-pressed="true"][data-target="2"] { background: var(--cyan); color: var(--ink); }
.choice:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; }
.classes { display: grid; gap: 30px; margin-top: 40px; }
.cls { position: relative; padding: 26px 22px 22px; border-radius: 32px; box-shadow: 8px 8px 0 var(--ink); color: var(--ink); scroll-margin-top: 90px; transition: transform .35s var(--ease), opacity .3s; }
.cls:nth-child(1) { margin-right: 6%; transform: rotate(-1.5deg); }
.cls:nth-child(2) { margin-left: 6%; transform: rotate(1.2deg); }
.cls:nth-child(3) { margin-right: 4%; transform: rotate(-1deg); }
.cls--yellow { background: var(--yellow); }
.cls--pink { background: var(--pink); }
.cls--cyan { background: var(--cyan); }
.cls__mark { position: absolute; right: -10px; top: -34px; width: 78px; filter: drop-shadow(0 5px 6px rgba(18, 18, 24, .18)); }
.cls__name { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 7vw, 30px); line-height: 1.35; padding-right: 54px; }
.cls__for { margin-top: 10px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.cls__for span { display: inline-block; margin-right: 8px; padding: 1px 10px; border-radius: 6px; background: var(--ink); color: var(--cream); font-size: 12px; }
.cls__text { margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.75; }
.cls__info { display: grid; gap: 4px; margin-top: 12px; padding-top: 10px; font-size: 14px; }
.cls__info div { display: grid; grid-template-columns: 4em 1fr; }
.cls__info dt { font-weight: 800; }
.classes.has-pick .cls:not(.is-picked) { opacity: .5; }
.cls.is-picked { transform: translateY(-12px) scale(1.03) rotate(0deg); }
.sec--class .sec__end .turn { font-size: clamp(17px, 4.6vw, 24px); }

/* =========================================================
   ⑤ 先生・スタジオ：シアンの面
   ========================================================= */
.sec--teacher { background: var(--cyan); --wave-img: url(images/wave-1.png); }
.teacher { display: grid; grid-template-areas: "title" "stage" "card"; }
.teacher__body { display: contents; }
.teacher .hl { grid-area: title; color: var(--ink); }
.teacher .hl__lg { font-size: clamp(48px, 15vw, 104px); line-height: 1.45; color: var(--cream); text-shadow: .05em .05em 0 var(--ink); }
.teacher__stage { grid-area: stage; position: relative; height: clamp(380px, 112vw, 520px); margin-top: 6px; }
.teacher__sun { width: 84%; left: 8%; top: 4%; z-index: 0; }
.teacher__base { width: 92%; left: 4%; bottom: 0; z-index: 1; }
.teacher__photo { position: absolute; z-index: 2; left: 50%; bottom: 7%; height: 90%; width: auto; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 10px 12px rgba(18, 18, 24, .2)); }
.teacher__light { width: 20%; left: 2%; bottom: 14%; z-index: 3; transform: rotate(-16deg); filter: drop-shadow(0 6px 8px rgba(18, 18, 24, .18)); }
.teacher__card { grid-area: card; position: relative; z-index: 4; margin-top: -46px; padding: 24px 20px 20px; border-radius: 28px; background: var(--cream); box-shadow: 8px 8px 0 var(--purple); }
.teacher__face { position: absolute; right: 16px; top: -40px; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 4px solid var(--yellow); background: #fff; }
.teacher__name { font-family: var(--display); font-size: 24px; line-height: 1.4; padding-right: 90px; }
.teacher__name small { display: block; font-family: var(--body); font-size: 13px; font-weight: 700; opacity: .75; }
.teacher__genre { display: inline-block; margin-top: 8px; padding: 2px 12px; border-radius: 6px; background: var(--ink); color: var(--cream); font-weight: 700; font-size: 14px; }
.teacher__genre span { margin-right: 8px; color: var(--yellow); }
.teacher__msg { margin-top: 12px; font-size: 15px; font-weight: 500; line-height: 1.85; }
.studio { display: grid; gap: 16px; margin-top: 40px; }
.studio__photo { position: relative; }
.studio__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; box-shadow: 8px 8px 0 var(--yellow); }
.studio__photo figcaption { margin-top: 12px; font-size: 13px; font-weight: 700; }
.studio__info { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.studio__info div { padding: 12px 14px; border-radius: 18px; background: var(--cream); }
.studio__info dt { font-family: var(--display); font-size: 14px; }
.studio__info dd { margin-top: 2px; font-size: 13px; font-weight: 500; line-height: 1.6; }

/* =========================================================
   ⑥ 体験の流れ：クリームの面
   ========================================================= */
.sec--flow { background: var(--cream); --wave-img: url(images/wave-2.png); }
.sec .deco--f-arch { width: 46vw; max-width: 340px; right: 4%; top: calc(var(--wave) * -1 - 40px); z-index: 3; }
.flow { position: relative; margin-top: 34px; }
.flow__shoe { position: absolute; z-index: 4; left: 0; top: 0; width: 56px; pointer-events: none; filter: drop-shadow(0 5px 6px rgba(18, 18, 24, .2)); }
.steps { display: grid; gap: 34px; }
.step { position: relative; padding: 30px 20px 20px 22px; border-radius: 28px; box-shadow: 0 6px 0 var(--ink); }
.step:nth-child(odd) { margin-right: 8%; }
.step:nth-child(even) { margin-left: 8%; }
.step--pink { background: var(--pink); color: var(--cream); }
.step--yellow { background: var(--yellow); }
.step--cyan { background: var(--cyan); }
.step--purple { background: var(--purple); color: var(--cream); }
.step__no { position: absolute; left: -6px; top: -36px; font-family: var(--display); font-size: 62px; line-height: 1; color: var(--ink); text-shadow: 3px 3px 0 var(--cream); }
.step.is-arrived .step__no { animation: stamp .45s cubic-bezier(.3, 1.6, .5, 1) 1; }
@keyframes stamp { 0% { transform: scale(1.35); } 100% { transform: scale(1); } }
.step__icon { position: absolute; right: 10px; top: -30px; width: 58px; height: 64px; object-fit: contain; filter: drop-shadow(0 5px 6px rgba(18, 18, 24, .2)); }
.step h3 { font-family: var(--display); font-weight: 400; font-size: 22px; line-height: 1.4; padding-right: 50px; }
.step p { margin-top: 6px; font-size: 15px; font-weight: 500; line-height: 1.75; }
.step__seq { display: flex; flex-wrap: wrap; gap: 6px; }
.step__seq span { padding: 2px 10px; border-radius: 6px; background: var(--cream); color: var(--ink); font-weight: 800; font-size: 13px; }
.step__photo { margin-top: 12px; }
.step__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }

/* =========================================================
   ⑦ よくある質問：ピンクの面
   ========================================================= */
.sec--faq { background: var(--pink); --wave-img: url(images/wave-3.png); }
.sec .deco--faq-blob { width: 50vw; max-width: 380px; left: -14vw; top: calc(var(--wave) * -1 - 70px); z-index: 0; }
.faq { display: grid; gap: 22px; }
.faq .hl__sm { color: var(--ink); }
.faq .hl__lg { font-size: clamp(42px, 12vw, 80px); line-height: 1.45; white-space: nowrap; text-shadow: .05em .05em 0 var(--ink); }
.faq__more { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.6; }
.faq__more img { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--cream); background: #fff; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: 22px; background: var(--cream); box-shadow: 0 5px 0 var(--ink); overflow: hidden; }
.qa:nth-child(even) { margin-left: 5%; }
.qa:nth-child(odd) { margin-right: 5%; }
.qa summary { position: relative; display: flex; gap: 10px; align-items: flex-start; padding: 16px 52px 16px 16px; font-family: var(--display); font-size: 16px; line-height: 1.55; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "＋"; position: absolute; right: 16px; top: 13px; font-family: var(--display); font-size: 22px; color: var(--pink); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:focus-visible { outline: 3px solid var(--purple); outline-offset: -3px; border-radius: 22px; }
.qa b { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--cream); font-family: var(--display); font-weight: 400; font-size: 14px; }
.qa__a p { display: flex; gap: 10px; padding: 0 18px 18px 16px; font-size: 15px; font-weight: 500; line-height: 1.8; }
.qa__a b { background: var(--pink); }

/* =========================================================
   ⑧ 申込：黄色の面
   ========================================================= */
.sec--cta { padding: 64px var(--gutter) 90px; background: var(--yellow); --wave-img: url(images/wave-1.png); }
.sec .deco--c-checker { width: 140vw; max-width: 1300px; left: -30vw; top: calc(var(--wave) * -1 - 10px); transform: rotate(-8deg); z-index: 3; }
.sec .deco--c-blob { width: 80vw; max-width: 620px; right: -30vw; top: 4%; }
.sec .deco--c-ring { width: 20vw; max-width: 140px; right: 8vw; top: 84px; z-index: 1; }
.cta__dancer { position: relative; z-index: 2; width: auto; height: clamp(300px, 52svh, 460px); max-width: none; margin: 30px auto -64px 6%; filter: drop-shadow(0 14px 20px rgba(18, 18, 24, .25)); }
.cta__card { position: relative; z-index: 3; max-width: 640px; padding: 30px 22px 28px; border-radius: 34px; background: var(--purple); color: var(--cream); box-shadow: 10px 10px 0 var(--ink); }
.cta__card .hl__sm { color: var(--cream); }
.cta__card .hl__lg { color: var(--cream); white-space: nowrap; font-size: clamp(40px, 12vw, 84px); line-height: 1.55; }
.zero { position: relative; display: inline-grid; place-items: center; margin-right: .08em; }
.zero__badge { position: absolute; z-index: 0; width: 1.9em; max-width: none; left: 50%; top: 50%; margin: -.95em 0 0 -.95em; }
.zero__text { position: relative; z-index: 1; color: var(--ink); }
.trial { display: grid; gap: 6px; margin-top: 16px; }
.trial div { display: grid; grid-template-columns: 4.6em 1fr; gap: 8px; padding: 9px 14px; border-radius: 14px; background: rgba(255, 255, 255, .13); }
.trial dt { font-weight: 800; color: var(--yellow); }
.trial dd { font-size: 15px; line-height: 1.6; }
.cta__card .btn { margin-top: 22px; }
.cta__after { margin-top: 14px; font-size: 14px; font-weight: 700; }

/* ---------- フッター ---------- */
.foot { position: relative; padding: 40px var(--gutter) 110px; background: var(--ink); color: var(--cream); text-align: center; font-size: 13px; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: var(--wave); margin-bottom: -1px; background: var(--ink); -webkit-mask: url(images/wave-2.png) center bottom / 100% 100% no-repeat; mask: url(images/wave-2.png) center bottom / 100% 100% no-repeat; }
.foot__logo { margin-bottom: 10px; font-family: var(--display); font-size: clamp(38px, 11vw, 64px); line-height: 1.2; color: var(--cream); white-space: pre; }
.foot__logo span { color: var(--pink); }
.motion-toggle--foot { margin-top: 14px; min-height: 44px; }
.foot .ver { display: inline-block; margin-top: 12px; font-size: 11px; opacity: .7; }

/* ---------- 追従ボタン ---------- */
.sticky { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 40; width: min(calc(100% - 28px), 420px); min-height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--pink); color: var(--cream); font-family: var(--display); font-size: 17px; text-decoration: none; box-shadow: 0 5px 0 var(--ink);
  transform: translate(-50%, 160%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility 0s linear .45s; }
.sticky.is-shown { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
.sticky:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.toast { position: fixed; left: 50%; top: 16px; z-index: 50; transform: translateX(-50%); width: min(calc(100% - 28px), 420px); padding: 12px 16px; border-radius: 14px; background: var(--ink); color: var(--cream); font-size: 14px; text-align: center; opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s linear .25s; }
.toast.is-shown { opacity: 1; visibility: visible; transition-delay: 0s; }

/* ---------- 動きを止める・読み込み中 ---------- */
html.no-motion { scroll-behavior: auto; }
.no-motion *, .no-motion *::before, .no-motion *::after { transition: none !important; animation: none !important; }
.js-motion .fv__art > *, .js-motion .fv__copy > *, .js-motion .fv__ground { visibility: hidden; }
.js-motion.is-ready .fv__art > *, .js-motion.is-ready .fv__copy > *, .js-motion.is-ready .fv__ground { visibility: visible; }

/* =========================================================
   タブレット縦（700〜899px）
   ========================================================= */
@media (min-width: 700px) and (max-width: 899px) {
  :root { --gutter: 32px; }
  .demo-note__more { display: inline; }
  .fv { --art-h: clamp(360px, 44svh, 520px); }
  .fv__art { max-width: 640px; }
  .points { grid-template-columns: repeat(3, 1fr); }
  .points li { flex-direction: column; align-items: flex-start; }
  .worry__head { grid-template-columns: 1.1fr .9fr; align-items: center; }
  .worry__head .hl, .worry__head .body { grid-column: 1; }
  .worry__visual { grid-column: 2; grid-row: 1 / span 2; width: 100%; }
  .flips { grid-template-columns: 1fr 1fr; }
  .flip:first-child { grid-column: 1 / -1; }
  .flip:nth-child(n) { margin: 0; }
  .studio { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .studio__info { grid-template-columns: 1fr; }
}

/* =========================================================
   PC（900px〜）：中身の幅は最大1200px。広い画面では左右の余白だけが増える
   ========================================================= */
@media (min-width: 900px) {
  :root { --gutter: 32px; --wave: clamp(60px, 6vw, 110px); }
  .demo-note__more { display: inline; }
  .head { padding: 12px 24px; }
  .logo { font-size: 24px; }
  .sec { padding: 96px var(--gutter) 130px; }

  .fv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "art copy" "points points"; column-gap: 24px; align-items: end; padding: 0 max(var(--gutter), calc(50% - 600px)) 56px; }
  .fv__ground { top: 47%; }
  .fv__ground::before { height: clamp(80px, 9vw, 150px); }
  .fv__art { grid-area: art; width: 100%; max-width: none; height: min(calc(100svh - 120px), 760px); min-height: 560px; }
  .mo--sun { width: 82%; left: 6%; top: 10%; }
  .mo--blob { width: 44%; right: -16%; top: 2%; }
  .mo--arch { width: 34%; left: -14%; top: 4%; }
  .mo--ball { width: 13%; left: -4%; top: 52%; }
  .mo--checker { width: 130%; left: -24%; bottom: 16%; }
  .fv__dancer-wrap { bottom: 0; height: 96%; transform: translateX(-50%); }
  .mo--flower { width: 15%; right: -6%; top: 46%; }
  .mo--squiggle { display: block; width: 46%; right: -14%; bottom: 3%; transform: rotate(-8deg); z-index: 3 !important; filter: drop-shadow(0 8px 12px rgba(18, 18, 24, .18)); }
  .fv__copy { grid-area: copy; margin: 0 0 24px; }
  .fv__line--1 { font-size: clamp(30px, 3.2vw, 48px); }
  .fv__line--2, .fv__line--3 { font-size: clamp(88px, 8.6vw, 136px); }
  .fv__band { margin-left: -12px; }
  .fv__band span { padding-left: 16px; font-size: clamp(17px, 1.6vw, 22px); }
  .fv__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
  .fv__cta .btn { width: auto; }
  .fv__cta-note { margin: 0; }
  .points { grid-area: points; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 30px 0 0; }
  .points li { padding: 14px 18px; font-size: 15px; }

  .hl__sm { font-size: clamp(26px, 2.6vw, 38px); }
  .worry__head { grid-template-columns: 1.15fr .85fr; column-gap: 40px; align-items: center; }
  .worry__head .hl, .worry__head .body { grid-column: 1; }
  .worry__visual { grid-column: 2; grid-row: 1 / span 2; width: 100%; max-width: 420px; margin: 0; }
  .sec .deco--q { right: auto; left: 46%; top: 60px; width: 180px; }
  .flips { grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
  .flip:first-child { grid-column: 1 / -1; }
  .flip:nth-child(n) { margin: 0; }
  .flip:nth-child(3), .flip:nth-child(5) { margin-top: 24px; }

  .sec--genre { padding: 0 var(--gutter) 60px; }
  .is-3d .genre__pin { padding: 92px 0 24px; }
  .genre__list { grid-template-columns: repeat(3, 1fr); }
  .is-3d .genre__stage { display: grid; grid-template-columns: 1fr minmax(0, 1.5fr) 1fr; grid-template-rows: 1fr auto; column-gap: 24px; }
  .is-3d .genre__canvas { grid-column: 1 / -1; grid-row: 1 / -1; width: 100%; margin: 0; }
  .is-3d .genre__list { grid-column: 3; grid-row: 1; align-self: center; height: 220px; margin: 0; }
  .is-3d .genre__item { text-align: left; }
  .is-3d .genre__text h3 { font-size: 30px; }
  .is-3d .genre__text p { font-size: 15px; margin: 6px 0 0; }
  .is-3d .genre__tabs { grid-column: 1; grid-row: 1; align-self: center; flex-direction: column; align-items: flex-start; margin: 0; }
  .genre__tab { font-size: 16px; padding: 0 22px; }
  .sec .deco--g-sun { width: min(52vw, 640px); margin-left: calc(min(52vw, 640px) / -2); top: 22%; max-width: none; }
  .sec .deco--g-light { right: 4%; top: 90px; width: 110px; }
  .sec .deco--g-cap { left: 2%; bottom: 8%; width: 150px; }

  .class__head { grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: end; }
  .class__choices { grid-template-columns: 1fr; }
  .classes { grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 64px; }
  .cls:nth-child(n) { margin: 0; }
  .cls:nth-child(2) { margin-top: 56px; }
  .cls__mark { width: 100px; top: -48px; right: -18px; }
  .cls:hover { transform: translateY(-6px) rotate(-1.5deg); }

  .teacher { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "stage title" "stage card"; column-gap: 40px; align-items: start; }
  .teacher .hl { align-self: end; }
  .teacher__stage { height: min(78svh, 640px); margin: 0; }
  .teacher__photo { height: 88%; max-height: 560px; }
  .teacher__card { margin: 20px 0 0 -60px; padding: 30px 30px 26px; }
  .studio { grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; margin-top: 64px; }
  .studio__info { grid-template-columns: 1fr 1fr; }

  .steps { grid-template-columns: repeat(3, 1fr) 1.25fr; align-items: start; gap: 22px; }
  .step:nth-child(n) { margin: 0; }
  .step:nth-child(1) { margin-top: 150px; }
  .step:nth-child(2) { margin-top: 100px; }
  .step:nth-child(3) { margin-top: 50px; }
  .flow { margin-top: 20px; }

  .faq { grid-template-columns: 380px minmax(0, 1fr); column-gap: 56px; align-items: start; }
  .faq__side { position: sticky; top: 100px; }
  .qa:nth-child(n) { margin: 0; }
  .qa:nth-child(even) { margin-left: 24px; }

  .sec--cta { padding: 110px var(--gutter) 110px; }
  .sec .deco--c-blob { right: max(-120px, calc(50% - 680px)); top: 6%; }
  .sec .deco--c-ring { right: auto; left: calc(50% - 600px); top: 70px; }
  .cta__dancer { position: absolute; right: max(24px, calc(50% - 560px)); bottom: 0; height: min(82svh, 680px); margin: 0; }
  .cta__card { margin-left: max(0px, calc(50% - 560px)); padding: 46px 46px 40px; }
  .sticky { display: none; }
  .foot { padding-bottom: 50px; }
}
@media (min-width: 1600px) {
  .fv__art { height: 780px; }
}

/* =========================================================
   スマホ横向き：見出しとボタンを1画面目に入れる
   ========================================================= */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 999px) {
  :root { --wave: 44px; }
  .demo-note { min-height: 32px; }
  .motion-toggle { min-height: 28px; }
  .head { padding: 4px 10px; }
  .logo, .head__cta { min-height: 38px; font-size: 15px; }
  .fv { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "art copy" "points points"; column-gap: 12px; align-items: end; padding: 0 24px 24px; }
  .fv__ground { top: 34%; }
  .fv__ground::before { height: 60px; }
  .fv__art { grid-area: art; width: 100%; max-width: none; height: calc(100svh - 84px); min-height: 280px; }
  .mo--checker { bottom: 20%; }
  .fv__copy { grid-area: copy; margin: 0 0 10px; }
  .fv__line--1 { font-size: 18px; }
  .fv__line--2, .fv__line--3 { font-size: clamp(44px, 12svh + 2vw, 64px); }
  .fv__band { margin: 10px 0 0 -8px; }
  .fv__band span { font-size: 14px; padding: 4px 12px; }
  .fv__cta { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .fv__cta .btn { width: auto; min-height: 48px; font-size: 15px; padding: 0 20px; }
  .fv__cta-note { margin: 0; font-size: 12px; }
  .points { grid-area: points; grid-template-columns: repeat(3, 1fr); margin: 18px 0 0; }
  .hl__lg { font-size: min(13vw, 20svh); }
  .worry__title .hl__lg { font-size: min(21vw, 26svh); }
  .worry__visual { width: min(46%, 60svh); }
  .cta__card .hl__lg { font-size: min(12vw, 18svh); }
  .cta__dancer { height: 80svh; }
  .teacher__stage { height: 80svh; }
  .sticky { left: auto; right: 12px; width: auto; padding: 0 22px; min-height: 46px; font-size: 15px; transform: translateY(160%); }
  .sticky.is-shown { transform: none; }
  .genre__title .hl__sm { font-size: 18px; }
  .genre__title .hl__lg { font-size: min(9vw, 13svh); line-height: 1.25; }
}
@media (max-width: 374px) {
  .trial div { grid-template-columns: 1fr; gap: 0; }
  .studio__info { grid-template-columns: 1fr; }
}

/* 動きを止めたとき・3Dを使わないとき */
.no-motion .flow__shoe { display: none; }
@media (max-height: 500px) and (orientation: landscape) {
  .genre__list { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .genre__item img { aspect-ratio: 4 / 3; }
  .genre__text h3 { font-size: 20px; }
  .genre__text p { font-size: 13px; }
}
@media (min-width: 600px) and (max-width: 899px) { .genre__list:not(.is-3d *) { grid-template-columns: repeat(3, 1fr); } }

/* ---------- v1.0 検品で直したところ ---------- */
.g-and { margin: 0 .08em; }
.class__head .hl__lg { white-space: nowrap; font-size: clamp(38px, 11.2vw, 84px); }
@media (max-width: 899px) {
  .sec .deco--q { display: none; }
  .sec .deco--g-light { width: 13vw; right: 2vw; top: 18px; }
  .sec .deco--g-cap { display: none; }
}
@media (max-height: 640px) and (max-width: 899px) and (orientation: portrait) {
  .fv { --art-h: clamp(220px, 38svh, 300px); }
  .fv__copy { margin-top: 22px; }
  .fv__line--2, .fv__line--3 { font-size: clamp(56px, 19vw, 120px); }
}
@media (min-width: 900px) {
  .fv__ground { top: 36%; }
  .mo--flower { width: 13%; right: auto; left: 70%; top: 2%; }
  .mo--squiggle { right: auto; left: -10%; bottom: 2%; width: 42%; }
  .fv__line--1 { font-size: clamp(32px, 3.6vw, 54px); }
  .fv__line--2, .fv__line--3 { font-size: clamp(96px, 10vw, 156px); }
  .worry__title .hl__lg { font-size: clamp(96px, 9.4vw, 150px); white-space: nowrap; }
  .sec .deco--q { left: auto; right: max(var(--gutter), calc(50% - 620px)); top: 36px; width: 130px; }
  .class__head .hl__lg { font-size: clamp(56px, 5.2vw, 76px); }
  .sec .deco--g-sun { width: min(36vw, 500px); margin-left: calc(min(36vw, 500px) / -2); top: 34%; }
  .sec--cta .cta__dancer { position: absolute; z-index: 2; right: max(24px, calc(50% - 560px)); bottom: 0; height: min(82svh, 680px); margin: 0; }
  .sec--cta .cta__card { margin-left: max(0px, calc(50% - 560px)); margin-right: 0; }
}
.qa:not([open]) .qa__a { display: none; }
.worry__title .hl__lg .ch { display: inline-block; }
@media (min-width: 900px) {
  .faq { grid-template-columns: 440px minmax(0, 1fr); }
  .faq .hl__lg { font-size: clamp(48px, 4vw, 58px); }
}
.worry__title .hl__lg { letter-spacing: 0; }

/* ---------- 制約チェックで直したところ ---------- */
/* Q と A は丸で囲まず、文字だけで見せる */
.flip b, .qa b { width: auto; height: auto; min-width: 1.2em; border-radius: 0; background: none !important; place-items: start; font-size: 26px; line-height: 1; }
.flip__q b { color: var(--pink); }
.flip__a b { color: var(--ink); }
.flip--purple .flip__a b { color: var(--yellow); }
.qa b { font-size: 22px; color: var(--pink); padding-top: 1px; }
.qa__a b { color: var(--ink); }
/* 境目：同じ形が並ぶ小さな波はやめる。ゆるい波は2か所だけ、ほかは直線にして立体の素材でまたぐ */
.sec--worry::before, .sec--genre::before, .sec--teacher::before, .sec--flow::before, .sec--cta::before { display: none; }
.sec--class { --wave-img: url(images/wave-1.png); }
.foot::before { display: none; }
.sec--class::before { height: clamp(40px, 7vw, 96px); }
.sec--faq::before { height: clamp(40px, 7vw, 96px); }
/* 先生の黄色い丸と頭は、シアンの面の上へ少し飛び出す */
.sec--teacher { padding-top: 40px; }
@media (min-width: 900px) { .fv__ground { top: 31%; } }

/* ---------- v1.2 レイヤーの前後を直す ---------- */
/* 申込：市松の帯は人物とカードの後ろ。顔にかからない高さで、境目をまたぐ */
.sec .deco--c-checker { z-index: 1; top: calc(var(--wave) * -1 - 96px); }
.cta__dancer { margin-top: 44px; }
/* よくある質問：境目には地の色に溶けない黄色の「？」を、いちばん手前に置く */
.sec .deco--faq-q { width: 26vw; max-width: 170px; left: 3vw; top: calc(var(--wave) * -1 - 64px); transform: rotate(-12deg); z-index: 4; filter: drop-shadow(0 8px 10px rgba(18, 18, 24, .18)); }
@media (min-width: 900px) {
  .sec .deco--c-checker { top: -120px; }
  .sec .deco--faq-q { left: max(var(--gutter), calc(50% - 640px)); width: 150px; }
}
.sec .deco--c-checker { top: calc(var(--wave) * -1 - 64px); }
.cta__dancer { margin-top: 64px; }
.sec--faq { padding-bottom: 120px; }
@media (min-width: 900px) { .sec .deco--c-checker { top: -110px; } .sec--faq { padding-bottom: 150px; } }
