/* =========================================================
   可愛いテイストの共通スタイル（単男講習・女性で初めての方へ）— スマホ基準（375px）。720px / 1024px 以上で広げる
   コスプレページと同じ世界観：ミルクピンクに水玉、丸ゴシック、ステッカー風の見出し、チェキ風のカード
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fff5f8; --bg-2: #ffe8f0; --card: #fff; --ink: #4a2a3a; --dim: #8a6573; --mute: #b597a4;
  --pink: #ff6fa5; --pink-2: #ffb3cf; --rose: #e2477f; --lav: #b9a3ff; --mint: #8fdcc4; --lemon: #ffe08a; --cat: #2b1d26;
  --board: #3f5a4f; --chalk: #f4fbf2;
  --line: rgba(226, 71, 127, .16);
  --shadow: 0 14px 34px rgba(226, 71, 127, .16);
  --round: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
  --num: 'Fredoka', 'Zen Maru Gothic', sans-serif;
  --script: 'Parisienne', cursive;
  --gutter: 20px;
  --dock-h: 76px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}

html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  color: var(--ink); font-family: var(--round); font-size: 15px; font-weight: 500; line-height: 1.9;
  letter-spacing: .02em; overflow-x: clip; word-break: auto-phrase; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom));
  /* うっすら水玉 */
  background: radial-gradient(circle at 10px 10px, rgba(255, 111, 165, .1) 2.2px, transparent 2.6px) 0 0 / 28px 28px, var(--bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
section[id] { scroll-margin-top: 64px; }
::selection { background: var(--pink-2); }

/* ふわふわ浮かぶハートと星 */
.floaties { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.floaties i {
  position: absolute; bottom: -40px; font-style: normal; color: var(--pink-2); font-size: 18px;
  animation: floatUp 14s linear infinite;
}
.floaties i:nth-child(1) { left: 6%;  animation-delay: 0s;  font-size: 22px; }
.floaties i:nth-child(2) { left: 22%; animation-delay: 4s;  color: var(--lav); }
.floaties i:nth-child(3) { left: 38%; animation-delay: 8s;  font-size: 14px; }
.floaties i:nth-child(4) { left: 54%; animation-delay: 2s;  color: var(--mint); }
.floaties i:nth-child(5) { left: 68%; animation-delay: 10s; font-size: 26px; }
.floaties i:nth-child(6) { left: 82%; animation-delay: 6s;  color: var(--lemon); }
.floaties i:nth-child(7) { left: 92%; animation-delay: 12s; font-size: 16px; }
.floaties i:nth-child(8) { left: 14%; animation-delay: 9s;  color: var(--lav); }
@keyframes floatUp {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  10% { opacity: .9; }
  50% { transform: translate(18px, -55vh) rotate(20deg); }
  90% { opacity: .7; }
  100% { transform: translate(-10px, -110vh) rotate(-10deg); opacity: 0; }
}
main, .ft, .hd { position: relative; z-index: 2; }

/* ---------- header ---------- */
.hd {
  position: fixed; inset: 0 0 auto; z-index: 40;
  display: flex; align-items: center; gap: 14px;
  padding: 10px var(--gutter); padding-top: calc(10px + env(safe-area-inset-top));
  transition: background .4s, box-shadow .4s;
}
.hd.is-solid { background: rgba(255, 245, 248, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.hd-brand img { width: 92px; }
.hd-nav { display: flex; gap: 6px; margin-left: auto; font-size: 12.5px; font-weight: 700; }
.hd-nav a { padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--rose); box-shadow: 0 2px 0 var(--pink-2); }
.hd-cta { display: none; }

/* ---------- 共通 ---------- */
main > section { padding: 76px var(--gutter); max-width: 1080px; margin: 0 auto; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--script); font-size: 1.7rem; line-height: 1; color: var(--rose); }
.eyebrow b {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--pink); color: #fff; font-family: var(--num); font-size: 13px; font-weight: 600; letter-spacing: 0;
  box-shadow: 0 3px 0 var(--rose);
}
.eyebrow::after { content: '♡'; font-family: var(--round); font-size: .8rem; color: var(--pink); }
.h2 { margin-top: 12px; font-weight: 900; font-size: clamp(25px, 7.4vw, 44px); line-height: 1.45; letter-spacing: .02em; }
.h3 { font-weight: 900; font-size: 19px; margin: 44px 0 14px; }
.h3::before { content: '♡ '; color: var(--pink); }
/* ステッカーのような白ふち付きの文字 */
.h2 em, .hero-title em, .final-title em {
  font-style: normal; color: var(--rose);
  text-shadow: 2px 2px 0 #fff, -2px 2px 0 #fff, 2px -2px 0 #fff, -2px -2px 0 #fff, 0 3px 0 #fff, 0 8px 18px rgba(226, 71, 127, .25);
}
.lead { margin-top: 14px; color: var(--dim); font-size: 14.5px; }
.lead b { color: var(--ink); background: linear-gradient(transparent 60%, rgba(255, 179, 207, .7) 0); }
.note { font-size: 12.5px; color: var(--mute); margin-top: 16px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 24px; border-radius: 999px; font-weight: 900; font-size: 15px;
  transition: transform .35s var(--spring), box-shadow .3s;
}
.btn:active { transform: scale(.95); }
.btn i { font-style: normal; }
.btn-main { background: linear-gradient(110deg, var(--pink), #ff8fb8); color: #fff; box-shadow: 0 10px 24px rgba(255, 111, 165, .4), inset 0 -3px 0 rgba(226, 71, 127, .3); }
.btn-line { background: #fff; border: 2px solid var(--pink-2); color: var(--rose); }

/* 文字がポップに跳ねて出る・画面に入ったら現れる */
[data-pop] .ch { display: inline-block; opacity: 0; transform: translateY(.6em) scale(.4) rotate(-12deg); transition: opacity .5s ease, transform .8s var(--spring); transition-delay: calc(var(--i) * 30ms); }
[data-pop].is-in .ch { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(28px) scale(.97); transition: opacity .8s ease, transform 1s var(--spring); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { padding-top: calc(86px + env(safe-area-inset-top)) !important; text-align: center; }
.ribbon {
  position: relative; display: inline-block; padding: 5px 22px; background: var(--pink); color: #fff;
  font-family: var(--num); font-weight: 600; font-size: 12.5px; letter-spacing: .14em;
}
.ribbon::before, .ribbon::after { content: ''; position: absolute; top: 4px; width: 14px; height: 100%; background: var(--rose); z-index: -1; }
.ribbon::before { left: -10px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 40% 50%); }
.ribbon::after { right: -10px; clip-path: polygon(0 0, 100% 0, 60% 50%, 100% 100%, 0 100%); }
.hero-title { margin-top: 18px; font-weight: 900; font-size: clamp(32px, 10.4vw, 72px); line-height: 1.32; }

.hero-moon { margin: 6px auto 0; max-width: 320px; }
.moon-svg { width: 100%; overflow: visible; }
.halo { fill: rgba(255, 179, 207, .28); animation: halo 4s ease-in-out infinite; transform-origin: 150px 140px; }
.moon { fill: var(--lemon); stroke: #fff; stroke-width: 5; stroke-linejoin: round; filter: drop-shadow(0 8px 16px rgba(226, 71, 127, .25)); }
.stars path { fill: var(--pink); animation: twinkle 2.8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.stars path:nth-child(2) { fill: var(--lav); animation-delay: .7s; }
.stars path:nth-child(3) { fill: var(--mint); animation-delay: 1.4s; }
.stars path:nth-child(4) { animation-delay: 2.1s; }
.kitty { animation: bob 3.6s ease-in-out infinite; }
.kitty .cat { fill: var(--cat); stroke: #fff; stroke-width: 3; paint-order: stroke; }
.kitty .ear-in { fill: var(--pink-2); }
.kitty .bow path, .kitty .bow circle { fill: var(--pink); stroke: #fff; stroke-width: 1.5; }
.kitty .eye { fill: #fff; animation: blink 5s infinite; transform-box: fill-box; transform-origin: center; }
.kitty .shine { fill: var(--cat); }
.kitty .blush { fill: var(--pink); opacity: .75; }
.kitty .mouth { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; }
.kitty .tail { fill: none; stroke: var(--cat); stroke-width: 9; stroke-linecap: round; transform-origin: 176px 120px; animation: tail 3.2s ease-in-out infinite; }
.kitty .heart { fill: var(--pink); stroke: #fff; stroke-width: 1.5; animation: beat 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.7) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } }
@keyframes halo { 0%, 100% { transform: scale(.96); } 50% { transform: scale(1.03); } }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes tail { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }

.hero-copy {
  display: inline-block; margin-top: 4px; padding: 14px 22px; border-radius: 24px; background: #fff; box-shadow: var(--shadow);
  font-weight: 900; font-size: clamp(18px, 5.4vw, 26px); line-height: 1.7;
}
.hero-copy b { color: var(--rose); }
.hero-lead { margin: 18px auto 0; max-width: 30em; color: var(--dim); font-size: 14px; text-align: left; }
.hero-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 16px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; background: #fff; font-size: 12.5px; font-weight: 900; color: var(--ink); box-shadow: 0 3px 0 var(--pink-2); }
.hero-facts i { font-style: normal; }
.hero-actions { display: grid; gap: 10px; max-width: 360px; margin: 22px auto 0; }
.hero-scroll i { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

/* 紙吹雪・ハート */
.burst { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.burst i {
  position: absolute; width: 9px; height: 13px; margin: -6px 0 0 -4px; border-radius: 2px; background: var(--c);
  font-style: normal; animation: pop 1.2s cubic-bezier(.2, .7, .3, 1) forwards;
}
.burst i.is-heart { width: auto; height: auto; background: none; color: var(--c); font-size: 18px; line-height: 1; }
@keyframes pop {
  0% { transform: translate(0, 0) scale(0) rotate(0); opacity: 1; }
  15% { transform: translate(calc(var(--dx) * .3), calc(var(--dy) * .3)) scale(var(--s)) rotate(calc(var(--r) * .2)); }
  100% { transform: translate(var(--dx), calc(var(--dy) + 140px)) scale(var(--s)) rotate(var(--r)); opacity: 0; }
}

/* ヒーローの見出し：「夜が楽しくなる」がぽよぽよ弾み続ける */
.hero-title em .ch { animation: wave 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * 90ms + 1.4s); }
@keyframes wave { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 -8px; } }
.hero-moon { cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hero-moon.is-poked .kitty { animation: poke .6s var(--spring); }
@keyframes poke { 0% { transform: scale(1); } 35% { transform: scale(1.12, .9) translateY(6px); } 70% { transform: scale(.95, 1.08) translateY(-10px); } 100% { transform: none; } }
.hero-tap {
  display: inline-block; margin: -4px 0 14px; padding: 3px 14px; border-radius: 999px; background: #fff;
  color: var(--rose); font-size: 12px; font-weight: 900; box-shadow: 0 3px 0 var(--pink-2); animation: bob 2.4s ease-in-out infinite;
  transition: opacity .4s;
}
.hero-tap.is-done { opacity: 0; }

/* ---------- 01 楽しさのレシピ ---------- */
.recipe {
  display: grid; gap: 6px; margin-top: 24px; padding: 22px 18px 20px; border-radius: 32px; background: #fff; box-shadow: var(--shadow);
}
.recipe-stage { position: relative; margin: 0 auto; width: 210px; }
.glass { width: 100%; overflow: visible; }
.g-back { fill: #fff7fa; }
.g-rim { fill: none; stroke: var(--pink-2); stroke-width: 5; stroke-linejoin: round; }
.g-shine { stroke: rgba(255, 255, 255, .85); stroke-width: 6; stroke-linecap: round; }
.layer rect { fill: var(--c); }
.layer text { text-anchor: middle; fill: #fff; font-family: var(--round); font-weight: 900; font-size: 15px; paint-order: stroke; stroke: rgba(74, 42, 58, .18); stroke-width: 3px; }
.layer.is-add { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); opacity: 0; transition: transform .7s var(--spring), opacity .2s; }
.layer.is-add.is-on { transform: none; opacity: 1; }
.bubbles circle { fill: rgba(255, 255, 255, .8); animation: rise 3s ease-in infinite; }
.bubbles circle:nth-child(2) { animation-delay: .8s; }
.bubbles circle:nth-child(3) { animation-delay: 1.6s; }
.bubbles circle:nth-child(4) { animation-delay: 2.3s; }
@keyframes rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-170px); opacity: 0; } }
.straw path { fill: none; stroke: var(--pink); stroke-width: 7; stroke-linecap: round; }
.straw { transform: translateY(40px); opacity: 0; transition: transform .6s var(--spring) .2s, opacity .3s .2s; }
.cherry .stem { fill: none; stroke: #5fae84; stroke-width: 3; stroke-linecap: round; }
.cherry .berry { fill: var(--rose); stroke: #fff; stroke-width: 2; }
.cherry { transform: translateY(-60px); opacity: 0; transition: transform .7s var(--spring) .45s, opacity .3s .45s; }
.recipe.is-done .straw, .recipe.is-done .cherry { transform: none; opacity: 1; }
.recipe-cheers {
  position: absolute; top: 10px; left: -14px; rotate: -12deg; font-family: var(--script); font-size: 34px; color: var(--rose);
  text-shadow: 2px 2px 0 #fff, -2px -2px 0 #fff; opacity: 0; scale: .3; transition: opacity .3s .6s, scale .6s var(--spring) .6s;
}
.recipe.is-done .recipe-cheers { opacity: 1; scale: 1; }
.recipe.is-done .glass { animation: clink .7s var(--spring) .5s; }
@keyframes clink { 30% { rotate: -6deg; } 60% { rotate: 4deg; } 100% { rotate: 0deg; } }
.recipe-label { font-size: 12px; font-weight: 900; color: var(--mute); text-align: center; }
.recipe-base { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.recipe-base li { padding: 2px 12px; border-radius: 999px; background: var(--bg-2); font-size: 13px; font-weight: 700; color: var(--dim); }
.recipe-add { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pour {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px 10px; border: 0; border-radius: 22px; cursor: pointer;
  background: var(--c); color: #fff; font: inherit; font-weight: 900; font-size: 17px; line-height: 1.3;
  box-shadow: 0 5px 0 rgba(74, 42, 58, .2); transition: transform .3s var(--spring), box-shadow .2s, opacity .3s, filter .3s;
  animation: nudgeBtn 2.2s ease-in-out infinite;
}
.pour + .pour { animation-delay: .3s; }
.pour small { font-size: 11px; font-weight: 700; opacity: .95; }
.pour:active { transform: translateY(4px); box-shadow: 0 1px 0 rgba(74, 42, 58, .2); }
.pour:disabled { animation: none; opacity: .45; filter: saturate(.6); cursor: default; transform: none; box-shadow: none; }
@keyframes nudgeBtn { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-4px) rotate(-2deg); } 90% { transform: translateY(-2px) rotate(2deg); } }
.recipe-msg { margin-top: 14px; text-align: center; font-size: 14px; font-weight: 700; color: var(--dim); }
.recipe-msg b { color: var(--rose); font-weight: 900; }
.recipe.is-done .recipe-msg b { font-size: 17px; }
.recipe-go { display: grid; gap: 4px; margin-top: 12px; animation: hop .7s var(--spring) .3s both; }
.recipe-go[hidden] { display: none; }
.recipe-reset { display: block; margin: 8px auto 0; padding: 6px 16px; border: 2px solid var(--pink-2); border-radius: 999px; background: #fff; color: var(--rose); font: inherit; font-size: 12.5px; font-weight: 900; cursor: pointer; }

/* ---------- 02 レベルアップ ---------- */
.lv-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; padding: 5px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.lv-tabs button { position: relative; z-index: 1; padding: 10px 6px; border: 0; background: none; font: inherit; font-weight: 900; font-size: 14px; color: var(--dim); cursor: pointer; transition: color .3s; }
.lv-tabs button[aria-selected="true"] { color: #fff; }
.lv-tabs i { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: linear-gradient(110deg, #9d8bff, #b9a3ff); transition: translate .5s var(--spring), background .4s; }
.lv-tabs[data-on="women"] i { translate: 100% 0; background: linear-gradient(110deg, var(--pink), #ff9cc2); }

.lv-path { position: relative; --p: 0; --tone: #9d8bff; margin-top: 26px; padding-left: 26px; }
.lv-path[data-path="women"] { --tone: var(--pink); }
.lv-path[hidden] { display: none; }
.lv-gauge { position: absolute; left: 6px; top: 10px; bottom: 40px; width: 8px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 2px var(--line); }
.lv-gauge i { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(var(--tone), var(--pink)); transition: height .2s linear; }
.lv-gauge i::after { content: '♥'; position: absolute; left: 50%; bottom: -12px; translate: -50% 0; color: var(--pink); font-size: 20px; line-height: 1; text-shadow: 0 0 0 #fff, 0 2px 6px rgba(226, 71, 127, .4); }
.lv-path ol { display: grid; gap: 18px; }
.lv {
  position: relative; padding: 18px 16px 16px 92px; min-height: 120px; border-radius: 26px; background: #fff; box-shadow: 0 8px 22px rgba(74, 42, 58, .08);
  opacity: 0; transform: translateX(26px) scale(.96); transition: opacity .6s ease, transform .8s var(--spring);
}
.lv.is-in { opacity: 1; transform: none; }
.lv:last-child { background: linear-gradient(140deg, #fff, #ffe3ef); border: 2px solid var(--pink-2); }
.lv-face { position: absolute; left: 14px; top: 18px; width: 64px; height: 64px; filter: drop-shadow(0 4px 6px rgba(74, 42, 58, .15)); }
.lv.is-in .lv-face { animation: hop .8s var(--spring) .2s both; }
@keyframes hop { 0% { transform: scale(.3) rotate(-20deg); } 60% { transform: scale(1.15) rotate(6deg); } 100% { transform: none; } }
.f-cat { fill: var(--cat); stroke: #fff; stroke-width: 2.5; paint-order: stroke; }
.f-tie { fill: #7b6cff; stroke: #fff; stroke-width: 1.2; }
.f-tie-c { fill: #5a4be0; }
.f-blush { fill: var(--pink); opacity: .8; }
.f-bow path, .f-bow circle { fill: var(--pink); stroke: #fff; stroke-width: 1.2; }
.lf-line { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; }
.lf-sweat { fill: #9fd8ff; stroke: #fff; stroke-width: 1; }
.lf-star { fill: var(--lemon); }
.lf-heart { fill: var(--pink); stroke: #fff; stroke-width: 1; animation: beat 1.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.lv-no { display: flex; align-items: baseline; gap: 6px; font-family: var(--num); font-weight: 600; font-size: 13px; color: var(--tone); }
.lv-no b { font-size: 22px; font-weight: 700; }
.lv-no span { font-family: var(--round); font-size: 11.5px; font-weight: 700; color: var(--mute); }
.lv h3 { margin-top: 2px; font-weight: 900; font-size: 16.5px; line-height: 1.5; }
.lv > p:not(.lv-no):not(.lv-hearts) { margin-top: 4px; font-size: 13px; line-height: 1.75; color: var(--dim); }
.lv-hearts { margin-top: 8px; display: flex; gap: 3px; font-size: 15px; line-height: 1; }
.lv-hearts i { font-style: normal; color: #f1dfe7; }
.lv-hearts i.on { color: var(--pink); }
.lv.is-in .lv-hearts i.on { animation: hop .6s var(--spring) both; }
.lv.is-in .lv-hearts i.on:nth-child(2) { animation-delay: .1s; }
.lv.is-in .lv-hearts i.on:nth-child(3) { animation-delay: .2s; }
.lv.is-in .lv-hearts i.on:nth-child(4) { animation-delay: .3s; }
.lv-up {
  position: absolute; top: -12px; right: 12px; padding: 3px 12px; border-radius: 999px; background: var(--lemon); color: var(--rose);
  font-family: var(--num); font-weight: 700; font-size: 12px; letter-spacing: .06em; box-shadow: 0 3px 0 #e8c25a;
  opacity: 0; scale: .2; rotate: -14deg;
}
.lv:first-child .lv-up { display: none; }
.lv.is-in .lv-up { animation: stamp .7s var(--spring) .45s forwards; }
@keyframes stamp { to { opacity: 1; scale: 1; rotate: 6deg; } }

.lv-next { display: flex; margin: 22px 0 0 0; }

/* ---------- 03 いい循環 ---------- */
.loop-fig { margin: 18px auto 0; max-width: 340px; }
.loop-svg { width: 100%; overflow: visible; }
.loop-ring { fill: #fff; stroke: var(--pink-2); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.loop-arc { fill: none; stroke: var(--pink); stroke-width: 3; stroke-linecap: round; }
.loop-dot { fill: var(--lemon); stroke: #fff; stroke-width: 2; }
.loop-node circle { fill: var(--pink); stroke: #fff; stroke-width: 4; filter: drop-shadow(0 4px 6px rgba(226, 71, 127, .3)); }
.loop-node:nth-of-type(2) circle { fill: #9d8bff; }
.loop-node:nth-of-type(3) circle { fill: #5fc7a7; }
.loop-node:nth-of-type(4) circle { fill: #ffa94a; }
.loop-node text, .loop-center, .loop-center-en { text-anchor: middle; fill: #fff; font-family: var(--round); font-weight: 900; font-size: 12px; }
.loop-center { fill: var(--ink); font-size: 21px; }
.loop-center-en { fill: var(--rose); font-family: var(--script); font-weight: 400; font-size: 24px; }
.fact {
  position: relative; margin-top: 22px; padding: 18px 18px 16px 62px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); font-size: 14px; font-weight: 700;
}
.fact::before { content: '👑'; position: absolute; left: 16px; top: 14px; font-size: 30px; }
.fact b { color: var(--rose); }
.fact small { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 500; color: var(--mute); }

/* ---------- 04 仕組み ---------- */
.sys-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.sys-grid li, .sys-grid li > a { display: flex; flex-direction: column; }
.sys-grid li { padding: 16px 14px; border-radius: 22px; background: #fff; box-shadow: 0 6px 16px rgba(74, 42, 58, .07); }
.sys-grid li:nth-child(2n) i { background: #efeaff; }
.sys-grid li:nth-child(3n) i { background: #e2f7ef; }
.sys-grid li.is-hot { grid-column: 1 / -1; padding: 0; background: linear-gradient(120deg, var(--pink), #ff9cc2); color: #fff; box-shadow: 0 12px 26px rgba(255, 111, 165, .35); }
.sys-grid li.is-hot > a { padding: 18px 18px 16px; }
.sys-grid i {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg-2); font-style: normal; font-size: 24px; line-height: 1;
}
.sys-grid li.is-hot i { background: #fff; }
.sys-grid b { margin-top: 10px; font-size: 14.5px; font-weight: 900; line-height: 1.45; }
.sys-grid span { margin-top: 4px; font-size: 12.5px; line-height: 1.7; color: var(--dim); }
.sys-grid li.is-hot b { font-size: 18px; }
.sys-grid li.is-hot span { color: #fff; }
.sys-grid em { align-self: flex-start; margin-top: 10px; padding: 4px 14px; border-radius: 999px; background: #fff; color: var(--rose); font-style: normal; font-size: 12.5px; font-weight: 900; }

/* ---------- 05 単男講習 ---------- */
.lesson { margin: 30px 12px 0 !important; padding: 52px 18px 40px !important; border-radius: 36px; background: #fff; box-shadow: var(--shadow); }
.lesson-head { text-align: center; }
.lesson-head .eyebrow { display: flex; justify-content: center; }
.lesson-badge { display: table; margin: 12px auto 0; padding: 5px 14px; border-radius: 999px; background: var(--lemon); color: var(--ink); font-size: 12.5px; font-weight: 900; box-shadow: 0 3px 0 #e8c25a; }
.lesson-head .h2 { margin-top: 10px; font-size: clamp(34px, 10vw, 54px); color: var(--rose); text-shadow: 3px 3px 0 var(--bg-2); }
.lesson-catch { font-weight: 900; font-size: 16px; color: var(--dim); }
.lesson .lead { margin-top: 16px; }
.lesson-points { display: grid; gap: 10px; margin-top: 18px; }
.lesson-points li { padding: 14px 16px; border-radius: 20px; background: var(--bg); font-weight: 900; font-size: 16px; line-height: 1.5; }
.lesson-points li:nth-child(2) { background: #f3efff; }
.lesson-points b { display: block; font-family: var(--num); font-size: 12px; letter-spacing: .12em; color: var(--pink); }
.lesson-points li:nth-child(2) b { color: #8b7bff; }
.lesson-points small { display: block; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.lesson-more { display: flex; margin-top: 18px; }

.lesson-board { margin: 18px -4px 0; }
.board-svg { width: 100%; max-width: 460px; overflow: visible; }
.bd-frame { fill: #f7c9a8; }
.bd-face { fill: var(--board); }
.bd-tray { fill: #e9b08a; }
.bd-chalk { fill: none; stroke: var(--chalk); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.bd-chalk text { fill: var(--chalk); stroke: none; font-family: var(--round); font-weight: 900; font-size: 15px; opacity: 0; animation: fade .6s ease forwards; }
.bd-chalk text:nth-of-type(1) { animation-delay: .9s; }
.bd-chalk text:nth-of-type(2) { animation-delay: 1.3s; }
.bd-chalk text:nth-of-type(3) { animation-delay: 1.7s; fill: #ffc4dc; }
.draw { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.2s var(--ease) .5s forwards; }
.draw.heart { stroke: #ffc4dc; }
.draw.d2 { stroke: #ffc4dc; animation-delay: 2.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.sensei .cat { fill: var(--cat); stroke: #fff; stroke-width: 3; paint-order: stroke; }
.sensei .ear-in { fill: var(--pink-2); }
.sensei .glass { fill: rgba(255, 255, 255, .15); stroke: var(--pink); stroke-width: 2.4; }
.sensei .glass-b { stroke: var(--pink); stroke-width: 2.4; }
.sensei .eye { fill: #fff; animation: blink 5s infinite; transform-box: fill-box; transform-origin: center; }
.sensei .mouth, .sensei .whisker { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; }
.sensei .tail { fill: none; stroke: var(--cat); stroke-width: 9; stroke-linecap: round; transform-origin: 292px 196px; animation: tail 3.2s ease-in-out infinite; }
.sensei .stick { stroke: #c9a46a; stroke-width: 3; stroke-linecap: round; }
.sensei .stick-tip { fill: var(--pink); }
.sensei .pointer { transform-origin: 232px 176px; animation: point 2.6s ease-in-out infinite; }
@keyframes point { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(7deg); } }

.courses { margin-top: 10px; }
.course { margin-top: 14px; border-radius: 24px; overflow: hidden; background: var(--bg); border: 2px solid var(--pink-2); }
.course-hd { list-style: none; cursor: pointer; position: relative; padding: 18px 56px 16px 18px; background: #fff; border-bottom: 2px dashed var(--pink-2); }
.course-hd::-webkit-details-marker { display: none; }
.course-hd::after {
  content: '+'; position: absolute; right: 16px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--pink); color: #fff; font-family: var(--num); font-size: 20px; font-weight: 600;
  box-shadow: 0 3px 0 var(--rose); transition: transform .4s var(--spring);
}
.course[open] .course-hd::after { transform: rotate(45deg); }
.course:not([open]) .course-hd { border-bottom-color: transparent; }
.course-pink { border-color: #d6ccff; }
.course-pink .course-hd { border-bottom-color: #d6ccff; }
.course-pink .course-hd::after { background: #9d8bff; box-shadow: 0 3px 0 #7b6ae6; }
.course-no { font-family: var(--num); font-weight: 600; font-size: 12px; letter-spacing: .14em; color: var(--mute); }
.course-no b { font-weight: 700; font-size: 22px; color: var(--pink); margin-left: 4px; }
.course-pink .course-no b { color: #8b7bff; }
.course-hd h3 { font-weight: 900; font-size: 19px; line-height: 1.45; margin-top: 2px; }
.course-catch { margin-top: 2px; color: var(--dim); font-size: 13px; }
.course-list { counter-reset: c; padding: 4px 18px 8px; }
.course-list li { counter-increment: c; position: relative; padding: 14px 0 14px 38px; }
.course-list li + li { border-top: 2px dotted var(--line); }
.course-list li::before {
  content: counter(c); position: absolute; left: 0; top: 15px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--num); font-weight: 600; font-size: 14px; line-height: 1; background: var(--pink); color: #fff;
}
.course-pink .course-list li::before { background: #9d8bff; }
.course-list b { display: block; font-size: 15px; font-weight: 900; line-height: 1.55; }
.course-list span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.75; color: var(--dim); }

.next-loading, .next-empty { padding: 20px; border-radius: 22px; background: var(--bg); border: 2px dashed var(--pink-2); color: var(--dim); font-size: 14px; }
.next-empty b { display: block; color: var(--ink); font-size: 15.5px; font-weight: 900; margin-bottom: 4px; }
.next-empty a { color: var(--rose); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ticket {
  display: grid; grid-template-columns: 92px 1fr; position: relative;
  border-radius: 22px; overflow: hidden; background: #fff; border: 2px solid var(--pink-2);
  box-shadow: 0 12px 26px rgba(255, 111, 165, .25);
}
.ticket + .ticket { margin-top: 12px; }
.ticket-date { background: linear-gradient(160deg, var(--pink), #ff9cc2); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 6px; text-align: center; }
.ticket-date b { font-family: var(--num); font-weight: 700; font-size: 34px; line-height: 1; }
.ticket-date small { font-size: 12px; font-weight: 700; margin-top: 4px; }
.ticket-date span { font-family: var(--num); font-size: 12px; letter-spacing: .1em; }
.ticket-body { display: block; padding: 14px 16px; border-left: 3px dotted var(--pink-2); }
.ticket-label { display: inline-block; font-family: var(--num); font-size: 11px; font-weight: 700; color: var(--rose); letter-spacing: .1em; }
.ticket-title { display: block; font-weight: 900; font-size: 15px; line-height: 1.5; margin-top: 2px; }
.ticket-time { display: block; font-size: 13px; margin-top: 4px; color: var(--dim); }
.ticket-more { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 900; color: var(--rose); }

.steps { display: grid; gap: 10px; margin-top: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 20px; background: var(--bg); }
.steps i { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--num); font-weight: 600; font-size: 17px; background: var(--pink); color: #fff; box-shadow: 0 3px 0 var(--rose); }
.steps b { display: block; font-size: 15px; font-weight: 900; }
.steps span { display: block; font-size: 13px; color: var(--dim); margin-top: 2px; }

.person {
  display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: start;
  margin-top: 26px; padding: 18px; border-radius: 26px; background: linear-gradient(150deg, #fff, var(--bg-2)); border: 2px solid var(--pink-2);
  transition: transform .35s var(--spring);
}
.person:active { transform: scale(.98); }
.person img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 0 0 3px var(--pink), 0 8px 16px rgba(226, 71, 127, .25); }
.person-body { display: flex; flex-direction: column; }
.person-role { align-self: flex-start; padding: 1px 10px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 11px; font-weight: 900; }
.person-name { font-size: 22px; font-weight: 900; line-height: 1.4; margin-top: 4px; }
.person-text { font-size: 13px; color: var(--dim); margin-top: 4px; line-height: 1.75; }
.person-x { margin-top: 8px; font-size: 13px; font-weight: 900; color: var(--rose); }

.past-list li { border-top: 2px dotted var(--line); }
.past-list li:last-child { border-bottom: 2px dotted var(--line); }
.past-list a { display: flex; gap: 12px; padding: 12px 2px; font-size: 13.5px; color: var(--dim); }
.past-list time { flex: none; font-family: var(--num); font-weight: 600; font-size: 13px; color: var(--pink); min-width: 74px; }

/* ---------- 女性の方へ ---------- */
.women {
  margin: 40px 12px 0 !important; padding: 34px 22px !important; border-radius: 32px; text-align: center;
  background: linear-gradient(150deg, #ffd8ea, #e8dcff); box-shadow: var(--shadow);
}
.women-label { font-family: var(--script); font-size: 1.8rem; line-height: 1; color: var(--rose); }
.women-title { font-size: 21px; font-weight: 900; line-height: 1.6; margin: 10px 0 12px; }
.women p:not(.women-label) { font-size: 13.5px; color: var(--dim); text-align: left; }
.women-link { display: inline-flex; gap: 8px; margin-top: 18px; padding: 12px 22px; border-radius: 999px; background: #fff; color: var(--rose); font-weight: 900; font-size: 14px; box-shadow: 0 4px 0 var(--pink-2); }
.women-link i { font-style: normal; transition: transform .3s var(--spring); }
.women-link:hover i { transform: translateX(4px); }

/* ---------- Q&A ---------- */
.qa { margin-top: 20px; display: grid; gap: 10px; }
.qa details { border-radius: 20px; background: #fff; box-shadow: 0 6px 16px rgba(74, 42, 58, .06); }
.qa summary { list-style: none; cursor: pointer; position: relative; padding: 16px 48px 16px 52px; font-weight: 900; font-size: 14.5px; line-height: 1.6; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before { content: 'Q'; position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--num); font-size: 15px; font-weight: 600; }
.qa summary::after { content: '+'; position: absolute; right: 18px; top: 12px; font-family: var(--num); font-size: 22px; color: var(--pink); transition: transform .4s var(--spring); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details p { padding: 0 18px 18px 52px; font-size: 13.5px; color: var(--dim); }

/* ---------- FINAL ---------- */
.final { text-align: center; padding-bottom: 90px !important; }
.final-en { font-family: var(--script); font-size: 28px; color: var(--rose); }
.final-title { font-weight: 900; font-size: clamp(26px, 8vw, 50px); line-height: 1.45; margin-top: 6px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 520px; margin: 26px auto 0; }
.final-actions .btn { flex: 1 1 140px; }
.final-actions .btn:not(.btn-main) { background: #fff; border: 2px solid var(--pink-2); color: var(--rose); }

/* ---------- footer / dock ---------- */
.ft { padding: 36px var(--gutter) 30px; text-align: center; color: var(--mute); }
.ft img { width: 110px; margin: 0 auto; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: 18px 0; font-size: 13px; font-weight: 700; color: var(--dim); }
.ft small { font-size: 11px; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; gap: 8px; padding: 10px var(--gutter); padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 245, 248, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 -1px 0 var(--line);
}
.dock a { display: grid; place-items: center; min-height: 54px; border-radius: 999px; font-weight: 900; font-size: 13px; }
.dock > a:first-child { flex: 0 0 104px; background: #fff; color: var(--rose); border: 2px solid var(--pink-2); }
.dock-main { flex: 1; background: linear-gradient(110deg, var(--pink), #ff8fb8); color: #fff; line-height: 1.25; box-shadow: 0 8px 18px rgba(255, 111, 165, .35); }
.dock-main small { font-size: 10.5px; opacity: .95; }
.dock-main b { font-size: 15px; }

/* ---------- 720px〜 ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  body { font-size: 16px; }
  .hd-cta { display: inline-flex; padding: 6px 16px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 900; font-size: 13px; box-shadow: 0 3px 0 var(--rose); }
  .hd-nav { gap: 10px; font-size: 13px; }
  main > section { padding-top: 110px; padding-bottom: 110px; }
  .recipe { grid-template-columns: 240px 1fr; align-items: center; gap: 30px; padding: 30px 40px; max-width: 760px; }
  .lv-path ol { gap: 22px; }
  .lv-path { max-width: 720px; }
  .lv-tabs { max-width: 420px; }
  .sys-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .sys-grid li.is-hot { grid-column: span 3; }
  .courses { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; align-items: start; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .lesson { max-width: 1000px; margin: 30px auto 0 !important; padding: 64px 44px 52px !important; }
  .women { max-width: 900px; margin: 40px auto 0 !important; padding: 48px 44px !important; }
  .women-title { font-size: 26px; }
  .women p:not(.women-label) { text-align: center; }
  .final-actions .btn { flex: 0 1 auto; }
}

/* ---------- 1024px〜 ---------- */
@media (min-width: 1024px) {
  .hero {
    display: grid; grid-template-columns: 1.1fr .9fr; column-gap: 40px; text-align: left;
    grid-template-areas: "kick moon" "title moon" "copy moon" "facts moon" "lead moon" "acts moon";
    align-content: center; min-height: 92vh;
  }
  .hero-kicker { grid-area: kick; padding-left: 10px; }
  .hero-title { grid-area: title; font-size: clamp(48px, 5.2vw, 70px); }
  .hero-moon { grid-area: moon; align-self: center; max-width: 440px; width: 100%; }
  .hero-copy { grid-area: copy; justify-self: start; margin-top: 18px; }
  .hero-lead { grid-area: lead; margin-left: 0; }
  .hero-facts { grid-area: facts; justify-content: flex-start; }
  .hero-actions { grid-area: acts; grid-template-columns: auto auto; justify-content: start; max-width: none; margin-left: 0; }
  .hero-tap { display: none; }
  .loop { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; grid-template-areas: "eye fig" "h2 fig" "lead fig" "fact fig"; align-content: start; }
  .loop > .eyebrow { grid-area: eye; justify-self: start; } .loop > .h2 { grid-area: h2; } .loop > .lead { grid-area: lead; } .loop > .fact { grid-area: fact; align-self: start; }
  .loop-fig { grid-area: fig; margin: 0; max-width: 400px; }
  .lesson { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .lesson > * { grid-column: 1 / -1; }
  .lesson > .lesson-head { grid-column: 1; align-self: center; }
  .lesson > .lesson-board { grid-column: 2; grid-row: 1; margin: 0; }
  .dock { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, [data-pop] .ch, .lv, .layer.is-add.is-on { opacity: 1; transform: none; }
  .floaties { display: none; }
}

/* スマホ・タブレット：すりガラスのぼかしを外して、スクロールを軽く */
@media (hover: none), (pointer: coarse) {
  .hd.is-solid { background: rgba(255, 245, 248, .96); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .dock { background: rgba(255, 245, 248, .97); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
