/* =========================================================
   くろねこのコンセプト — 1画面にひとつのメッセージ。スマホ基準（375px）
   ミルクピンクに水玉、丸ゴシック。言葉はスクロールに合わせて光らせて、しっかり読ませる
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #fff5f8; --bg-2: #ffe8f0; --ink: #4a2a3a; --dim: #8a6573; --mute: #b597a4;
  --pink: #ff6fa5; --pink-2: #ffb3cf; --rose: #e2477f; --lav: #9d8bff; --mint: #5fc7a7; --orange: #ffa94a; --lemon: #ffe08a; --cat: #2b1d26;
  --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: 22px;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.16, 1, .3, 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;
  background: radial-gradient(circle at 10px 10px, rgba(255, 111, 165, .09) 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; }
em { font-style: normal; color: var(--rose); }

/* 読んだぶんだけ伸びる、上のバー */
.progress { position: fixed; inset: 0 0 auto; z-index: 50; height: 4px; }
.progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--lav), var(--pink), var(--orange)); }

/* 紙吹雪 */
.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.3s 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; }
}

/* ---------- header ---------- */
.hd { position: fixed; inset: 4px 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 8px var(--gutter); transition: background .4s; }
.hd.is-solid { background: rgba(255, 245, 248, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.hd-brand img { width: 88px; }
.hd-cta { padding: 6px 16px; border-radius: 999px; background: var(--pink); color: #fff; font-weight: 900; font-size: 13px; box-shadow: 0 3px 0 var(--rose); }

/* ---------- 共通 ---------- */
.sc { position: relative; padding: 90px var(--gutter); }
.h2 { max-width: 760px; margin: 0 auto; text-align: center; font-weight: 900; font-size: clamp(26px, 7.6vw, 48px); line-height: 1.5; }
.h2 em, .hero-title em, .final-title em, .level-title em {
  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);
}
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 24px; border-radius: 999px; font-weight: 900; font-size: 15px; transition: transform .35s var(--spring); }
.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); }
.btn-ghost { min-height: 44px; color: var(--dim); text-decoration: underline; text-underline-offset: 4px; }

/* 文字がポップに跳ねて出る */
[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) * 34ms); }
[data-pop].is-in .ch { opacity: 1; transform: none; }
/* 画面に入ったら現れる */
.io { opacity: 0; transform: translateY(30px) scale(.96); transition: opacity .8s ease, transform 1s var(--spring); }
.io.is-in { opacity: 1; transform: none; }

/* ---------- 0. はじまり ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 80px; padding-bottom: 60px; }
.hero-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--num); font-weight: 600; font-size: 12.5px; letter-spacing: .24em; color: var(--mute); }
.hero-kicker i { font-style: normal; color: var(--pink); letter-spacing: 0; }
.hero-title { margin-top: 14px; font-weight: 900; font-size: clamp(36px, 11.4vw, 84px); line-height: 1.3; }
.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; } }
.moon { width: min(64vw, 280px); margin-top: 14px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.moon svg { width: 100%; overflow: visible; }
.halo { fill: rgba(255, 179, 207, .3); animation: halo 4s ease-in-out infinite; transform-origin: 150px 140px; }
.moon-body { 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; }
.moon.is-poked .kitty { animation: poke .6s var(--spring); }
.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(-6px); } }
@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); } }
@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-where { margin-top: 10px; font-weight: 900; font-size: 13px; color: var(--dim); }
.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 26px; font-family: var(--num); font-size: 11px; letter-spacing: .3em; color: var(--mute); }
.scroll-cue i { font-style: normal; font-size: 18px; animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }

/* ---------- スクロールに合わせて止まる画面 ---------- */
.say, .level { padding: 0; }
.sticky { position: sticky; top: 0; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 80px var(--gutter) 40px; }

/* ---------- 1. ひとことずつ出てくる言葉 ---------- */
.say { height: 560svh; }
.say-stage { position: relative; width: 100%; max-width: 900px; height: 60svh; }
.ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 4px; text-align: center;
  font-weight: 900; font-size: clamp(28px, 9vw, 88px); line-height: 1.35;
  opacity: 0; transform: translateY(40px) scale(.92); filter: blur(8px);
  transition: opacity .5s ease, transform .7s var(--spring), filter .5s ease;
}
.ph::before {
  content: attr(data-icon); position: absolute; left: 50%; top: 50%; z-index: -1; translate: -50% -50%;
  font-size: clamp(150px, 46vw, 320px); line-height: 1; opacity: 0; rotate: -12deg; scale: .6;
  transition: opacity .6s ease, scale .9s var(--spring), rotate .9s var(--spring);
}
.ph-in { display: block; white-space: nowrap; }
.ph.is-now { opacity: 1; transform: none; filter: none; }
.ph.is-now::before { opacity: .16; scale: 1; rotate: 6deg; }
.ph.is-past { opacity: 0; transform: translateY(-50px) scale(1.04); filter: blur(8px); }
.ph .ch { display: inline-block; opacity: 0; transform: translateY(.5em) scale(.5) rotate(-10deg); transition: opacity .4s ease, transform .7s var(--spring); transition-delay: calc(var(--i) * 45ms); }
.ph.is-now .ch { opacity: 1; transform: none; }
.ph.is-key { color: var(--rose); font-size: clamp(34px, 11vw, 110px); text-shadow: 3px 3px 0 #fff, -3px 3px 0 #fff, 3px -3px 0 #fff, -3px -3px 0 #fff, 0 4px 0 #fff, 0 12px 26px rgba(226, 71, 127, .3); }
.ph.is-key.is-now { animation: thump .8s var(--spring) .35s both; }
@keyframes thump { 0% { scale: 1; } 40% { scale: 1.08; rotate: -2deg; } 100% { scale: 1; rotate: 0deg; } }
.ph.is-last { font-size: clamp(28px, 9vw, 86px); }
.say-dots { position: absolute; bottom: 8svh; left: 50%; translate: -50% 0; display: flex; gap: 8px; }
.say-dots li { width: 8px; height: 8px; border-radius: 999px; background: var(--pink-2); opacity: .5; transition: width .4s var(--spring), background .3s, opacity .3s; }
.say-dots li.on { opacity: 1; }
.say-dots li.now { width: 24px; background: var(--pink); opacity: 1; }

/* ---------- 2. レベルアップ ---------- */
.level { height: 320svh; }
.level-title { display: grid; gap: 4px; text-align: center; font-weight: 900; font-size: clamp(25px, 7.4vw, 50px); line-height: 1.45; }
.lt { opacity: .14; transform: translateY(10px); transition: opacity .6s ease, transform .8s var(--spring); }
.lt.on { opacity: 1; transform: none; }
.lv-stage { position: relative; width: min(100%, 360px); margin-top: 22px; padding: 22px 20px 20px; border-radius: 32px; background: #fff; box-shadow: var(--shadow); text-align: center; }
.lv-cat { width: 130px; margin: 0 auto; }
.lv-cat.is-up { animation: hop .7s var(--spring); }
@keyframes hop { 0% { transform: scale(.6) rotate(-10deg); } 60% { transform: scale(1.12) rotate(4deg); } 100% { transform: none; } }
.lv-num { position: absolute; top: 14px; right: 18px; font-family: var(--num); font-weight: 700; color: var(--lav); line-height: 1; }
.lv-num small { font-size: 14px; }
.lv-num b { font-size: 34px; }
.lv-num.is-max b { color: var(--rose); }
.lv-say { display: inline-block; margin-top: 8px; padding: 8px 16px; border-radius: 999px; background: var(--bg-2); font-weight: 900; font-size: 15px; }
.lv-bar { position: relative; height: 14px; margin: 18px 6px 4px; border-radius: 999px; background: #f1e6ff; }
.lv-bar i { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, var(--lav), var(--pink)); transition: width .3s linear; }
.lv-heart { position: absolute; right: -8px; top: 50%; translate: 0 -50%; font-size: 24px; line-height: 1; color: #f3d6e4; transition: color .4s, transform .4s var(--spring); }
.lv-heart.on { color: var(--pink); transform: scale(1.3); }
.level-note { margin-top: 18px; text-align: center; font-weight: 700; font-size: 14px; color: var(--dim); }

/* ---------- 2.5 チャット ---------- */
.phone {
  width: min(100%, 380px); margin: 32px auto 0; border-radius: 38px; overflow: hidden; background: #fff;
  border: 8px solid #fff; box-shadow: 0 0 0 2px var(--pink-2), 0 24px 50px rgba(226, 71, 127, .22);
}
.phone-hd { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: linear-gradient(110deg, var(--pink), #ff9cc2); color: #fff; border-radius: 30px 30px 0 0; }
.phone-ava { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; overflow: hidden; }
.phone-ava svg { width: 100%; }
.phone-name { display: grid; line-height: 1.3; }
.phone-name b { font-size: 15px; font-weight: 900; }
.phone-name small { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; opacity: .95; }
.phone-name small i { width: 7px; height: 7px; border-radius: 50%; background: #9dffcb; box-shadow: 0 0 6px #9dffcb; }
.phone-log {
  display: flex; flex-direction: column; gap: 8px; height: 420px; overflow-y: auto; padding: 16px 12px; scroll-behavior: smooth;
  background: radial-gradient(circle at 8px 8px, rgba(255, 111, 165, .08) 2px, transparent 2.4px) 0 0 / 22px 22px, var(--bg);
}
.bub { max-width: 80%; padding: 10px 14px; font-size: 14px; font-weight: 700; line-height: 1.7; animation: bubIn .45s var(--spring) both; }
.bub.cat { align-self: flex-start; position: relative; margin-left: 40px; border-radius: 20px 20px 20px 6px; background: #fff; box-shadow: 0 3px 8px rgba(74, 42, 58, .06); }
.bub.cat::before { content: ''; position: absolute; left: -40px; bottom: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--cat-ava) center / cover, #fff; box-shadow: 0 0 0 2px #fff; }
.bub.cat + .bub.cat::before { display: none; }
.bub.me { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: linear-gradient(110deg, var(--pink), #ff8fb8); color: #fff; }
@keyframes bubIn { from { opacity: 0; transform: translateY(12px) scale(.9); } to { opacity: 1; transform: none; } }
.phone.is-js .bub { display: none; }
.phone.is-js .bub.is-shown { display: block; }
.typing { align-self: flex-start; margin-left: 40px; padding: 12px 16px; border-radius: 20px 20px 20px 6px; background: #fff; display: inline-flex; gap: 4px; animation: bubIn .3s var(--spring) both; }
.typing.me { align-self: flex-end; margin-left: 0; background: var(--pink-2); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: dot 1s ease-in-out infinite; }
.typing.me i { background: #fff; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-5px); opacity: 1; } }
.phone-replies { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 12px 10px 14px; background: #fff; border-top: 1px solid rgba(226, 71, 127, .12); }
.phone.is-js .phone-replies { opacity: .35; pointer-events: none; transition: opacity .4s; }
.phone.is-done .phone-replies { opacity: 1; pointer-events: auto; }
.phone-replies a, .phone-replies button { padding: 7px 12px; 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; transition: transform .3s var(--spring); }
.phone-replies a:active, .phone-replies button:active { transform: scale(.94); }
.phone.is-done .phone-replies a { animation: bubIn .5s var(--spring) both; }
.phone.is-done .phone-replies a:nth-child(2) { animation-delay: .08s; }
.phone.is-done .phone-replies a:nth-child(3) { animation-delay: .16s; }
.phone-replies button { border-style: dashed; color: var(--dim); }

/* ---------- 3. 男女 ---------- */
.duo-grid { display: grid; gap: 26px; max-width: 820px; margin: 40px auto 0; }
.duo-card { position: relative; display: grid; gap: 4px; padding: 26px 20px 20px; border-radius: 30px; background: #fff; box-shadow: var(--shadow); border: 3px solid #e3dbff; transition: transform .35s var(--spring); }
.duo-card:active { transform: scale(.98); }
.duo-women { border-color: var(--pink-2); }
.duo-men.io { transform: translateX(-60px) rotate(-3deg); }
.duo-women.io { transform: translateX(60px) rotate(3deg); }
.duo-card.io.is-in { transform: none; }
.duo-women.io { transition-delay: .15s; }
.duo-face { position: absolute; top: -26px; right: 18px; width: 70px; animation: bob 3.2s ease-in-out infinite; }
.duo-face svg { width: 100%; filter: drop-shadow(0 4px 6px rgba(74, 42, 58, .15)); }
.duo-women .duo-face { animation-delay: .8s; }
.duo-who { justify-self: start; padding: 2px 12px; border-radius: 999px; background: #efeaff; color: #6d5bd8; font-family: var(--num); font-weight: 600; font-size: 12px; letter-spacing: .12em; }
.duo-women .duo-who { background: var(--bg-2); color: var(--rose); }
.duo-card b { margin-top: 6px; font-size: 22px; font-weight: 900; line-height: 1.45; }
.duo-text { font-size: 14px; color: var(--dim); }
.duo-go { margin-top: 6px; font-weight: 900; font-size: 13.5px; color: #6d5bd8; }
.duo-women .duo-go { color: var(--rose); }

/* ---------- 4. いい循環 ---------- */
.ring { width: min(88vw, 380px); margin: 30px auto 0; }
.ring svg { width: 100%; overflow: visible; }
.ring-line { fill: #fff; stroke: var(--pink-2); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
.ring-spin { transform-origin: 170px 170px; animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-dot { fill: var(--lemon); stroke: #fff; stroke-width: 2.5; }
.ring-dot2 { fill: var(--pink); }
.node circle { stroke: #fff; stroke-width: 4; filter: drop-shadow(0 4px 6px rgba(226, 71, 127, .3)); }
.n1 circle { fill: var(--lav); } .n2 circle { fill: var(--pink); } .n3 circle { fill: var(--mint); } .n4 circle { fill: var(--orange); }
.node text { text-anchor: middle; fill: #fff; font-family: var(--round); font-weight: 900; font-size: 12.5px; }
.node { transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .7s var(--spring); }
.ring.is-in .node { transform: scale(1); }
.ring.is-in .n2 { transition-delay: .15s; } .ring.is-in .n3 { transition-delay: .3s; } .ring.is-in .n4 { transition-delay: .45s; }
.ring-en { text-anchor: middle; fill: var(--rose); font-family: var(--script); font-size: 26px; }
.ring-jp { text-anchor: middle; fill: var(--ink); font-family: var(--round); font-weight: 900; font-size: 22px; }
.badge { display: flex; gap: 12px; align-items: center; max-width: 460px; margin: 28px auto 0; padding: 16px 18px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); font-weight: 700; font-size: 14px; }
.b-ico { flex: none; font-size: 30px; }
.b-txt { line-height: 1.7; }
.badge b { color: var(--rose); }
.badge small { display: block; font-size: 11px; font-weight: 500; color: var(--mute); }

/* ---------- 5. だから ---------- */
.three-list { display: grid; gap: 14px; max-width: 900px; margin: 36px auto 0; }
.three-list a { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 14px; align-items: center; padding: 18px; border-radius: 26px; background: #fff; box-shadow: 0 8px 20px rgba(74, 42, 58, .07); transition: transform .35s var(--spring); }
.three-list a:active { transform: scale(.97); }
.three-list li:nth-child(2) { transition-delay: .1s; }
.three-list li:nth-child(3) { transition-delay: .2s; }
.three-list b { position: absolute; top: 10px; right: 16px; font-family: var(--num); font-weight: 700; font-size: 13px; color: var(--pink-2); }
.t-ico { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--bg-2); font-size: 27px; }
.three-list li:nth-child(2) .t-ico { background: #efeaff; }
.three-list li:nth-child(3) .t-ico { background: #e2f7ef; }
.three-list strong { font-size: 18px; font-weight: 900; }
.three-list a > span:last-child { font-size: 13px; color: var(--dim); line-height: 1.7; }

/* ---------- 5.5 100人に3人だけが読む、くろねこの本音 ---------- */
.secret { position: relative; background: linear-gradient(180deg, var(--bg) 0, #2b1d26 90px, #2b1d26 calc(100% - 90px), var(--bg) 100%); color: #fff; padding: 110px var(--gutter); }
.gate { position: relative; max-width: 720px; margin: 0 auto; text-align: center; }
.gate-stars i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 8px #fff; animation: twinkle 2.6s ease-in-out infinite; }
.gate-stars i:nth-child(1) { left: 6%; top: -40px; } .gate-stars i:nth-child(2) { left: 88%; top: -10px; animation-delay: .4s; }
.gate-stars i:nth-child(3) { left: 20%; top: 40%; animation-delay: .9s; } .gate-stars i:nth-child(4) { left: 94%; top: 55%; animation-delay: 1.3s; }
.gate-stars i:nth-child(5) { left: 2%; top: 80%; animation-delay: 1.8s; } .gate-stars i:nth-child(6) { left: 72%; top: 96%; animation-delay: .2s; }
.gate-stars i:nth-child(7) { left: 40%; top: -60px; animation-delay: 2.2s; background: var(--pink-2); }
.gate-stars i:nth-child(8) { left: 60%; top: 30%; animation-delay: 1.1s; background: var(--lemon); }
.gate-stars i:nth-child(9) { left: 12%; top: 110%; animation-delay: .6s; } .gate-stars i:nth-child(10) { left: 84%; top: 120%; animation-delay: 1.6s; background: var(--lav); }
.gate-kicker { font-family: var(--num); font-weight: 600; font-size: 13px; letter-spacing: .3em; color: var(--pink-2); }
.gate-title { margin-top: 14px; font-weight: 900; font-size: clamp(25px, 7.4vw, 50px); line-height: 1.5; }
.gate-title em { color: var(--pink); text-shadow: 0 0 22px rgba(255, 111, 165, .6); }
.gate-lead { margin-top: 18px; font-size: 14.5px; line-height: 1.9; color: #f3dce7; }
.gate-btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 16px 34px; border: 2px solid var(--pink); border-radius: 999px; cursor: pointer;
  background: rgba(255, 111, 165, .12); color: #fff; font: inherit; font-weight: 900; font-size: 17px;
  box-shadow: 0 0 0 0 rgba(255, 111, 165, .6); animation: glow 2.2s ease-in-out infinite; transition: transform .35s var(--spring);
}
.gate-btn:active { transform: scale(.95); }
.gate-btn i { font-style: normal; display: inline-block; animation: jiggle 2.2s ease-in-out infinite; }
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 111, 165, .5); } 50% { box-shadow: 0 0 0 14px rgba(255, 111, 165, 0); } }
@keyframes jiggle { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-20deg); } 90% { transform: rotate(16deg); } }
.secret.is-open .gate-btn { animation: none; opacity: .5; pointer-events: none; }
.gate-time { margin-top: 10px; font-size: 12px; color: #b597a4; }

.letter {
  position: relative; max-width: 720px; margin: 46px auto 0; padding: 40px 22px 34px; border-radius: 10px; color: var(--ink);
  background: repeating-linear-gradient(transparent 0 33px, rgba(226, 71, 127, .1) 33px 34px), #fffaf3;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35); transform-origin: top center;
}
.letter::before { content: ''; position: absolute; top: -14px; left: 50%; width: 46px; height: 46px; translate: -50% 0; border-radius: 50%; background: var(--rose); box-shadow: 0 4px 10px rgba(0, 0, 0, .25), inset 0 0 0 4px rgba(255, 255, 255, .25); }
.letter::after { content: '♥'; position: absolute; top: -6px; left: 50%; translate: -50% 0; color: #fff; font-size: 22px; line-height: 1.2; }
.secret.is-open .letter { animation: unfold .9s var(--spring); }
@keyframes unfold { from { opacity: 0; transform: perspective(900px) rotateX(-35deg) scaleY(.6); } to { opacity: 1; transform: none; } }
.letter p { font-size: 15px; line-height: 2.1; margin-top: 12px; }
.letter b { background: linear-gradient(transparent 62%, rgba(255, 179, 207, .8) 0); }
.lt-hd { text-align: center; }
.lt-to { font-family: var(--script); font-size: 22px; color: var(--rose); margin: 0 !important; }
.lt-title { margin: 10px 0 8px; font-weight: 900; font-size: clamp(22px, 6.4vw, 36px); line-height: 1.55; }
.lt-hd p:not(.lt-to) { text-align: left; }
.chap { margin-top: 46px; padding-top: 30px; border-top: 2px dashed rgba(226, 71, 127, .25); }
.chap-no { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 !important; border-radius: 50%; background: var(--pink); color: #fff; font-family: var(--num); font-weight: 700; font-size: 15px !important; line-height: 1 !important; box-shadow: 0 3px 0 var(--rose); }
.chap h3 { margin-top: 12px; font-weight: 900; font-size: clamp(20px, 5.8vw, 30px); line-height: 1.55; }
.letter blockquote { margin: 20px 0 6px; padding: 18px 18px 18px 22px; border-left: 5px solid var(--pink); border-radius: 0 18px 18px 0; background: #fff0f5; font-weight: 900; font-size: clamp(17px, 4.8vw, 22px); line-height: 1.7; color: var(--rose); }
.vs { display: grid; gap: 10px; margin-top: 16px; }
.vs div { display: grid; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 4px 12px rgba(74, 42, 58, .06); }
.vs small { font-size: 11.5px; font-weight: 900; color: var(--mute); }
.vs b { background: none !important; font-size: 18px; font-weight: 900; }
.vs span { font-size: 13px; color: var(--dim); }
.vs-ours { border: 2px solid var(--pink); }
.vs-ours small, .vs-ours b { color: var(--rose); }
.flow-list, .lv-list, .tri, .wish, .safe { display: grid; gap: 8px; margin-top: 14px; }
.flow-list { counter-reset: f; }
.flow-list li { counter-increment: f; position: relative; padding: 10px 14px 10px 46px; border-radius: 16px; background: #fff; font-weight: 700; font-size: 14px; }
.flow-list li::before { content: counter(f); position: absolute; left: 12px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lav); color: #fff; font-family: var(--num); font-size: 13px; }
.flow-list li:nth-child(2)::before { background: var(--pink); } .flow-list li:nth-child(3)::before { background: var(--mint); } .flow-list li:nth-child(4)::before { background: var(--orange); }
.lv-list li { display: grid; grid-template-columns: 54px 1fr; column-gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; }
.lv-list b { grid-row: span 2; align-self: center; background: none !important; font-family: var(--num); font-weight: 700; color: var(--lav); }
.lv-list li:nth-child(4) b { color: var(--rose); }
.lv-list strong { font-weight: 900; font-size: 15px; }
.lv-list span { font-size: 13px; color: var(--dim); line-height: 1.7; }
.tri li { padding: 12px 14px; border-radius: 16px; background: #fff; font-size: 13px; color: var(--dim); line-height: 1.7; }
.tri li b { display: block; background: none !important; font-size: 15px; font-weight: 900; color: var(--ink); }
.tri li:nth-child(1) { border-left: 5px solid var(--mint); } .tri li:nth-child(2) { border-left: 5px solid var(--lemon); } .tri li:nth-child(3) { border-left: 5px solid var(--lav); }
.wish li, .safe li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: #fff; font-weight: 700; font-size: 14px; }
.wish li::before { content: '♡'; color: var(--pink); font-weight: 900; }
.safe li b { background: none !important; font-size: 18px; }
.safe a { color: var(--rose); text-decoration: underline; text-underline-offset: 3px; }
.lt-ft { margin-top: 46px; padding-top: 30px; border-top: 2px dashed rgba(226, 71, 127, .25); text-align: center; }
.lt-ps { font-weight: 900; font-size: 16px !important; }
.lt-sign { font-family: var(--script); font-size: 34px !important; color: var(--rose); }
.lt-sign span { font-family: var(--round); font-size: 22px; margin-left: 6px; }
.lt-actions { display: grid; gap: 10px; max-width: 360px; margin: 20px auto 0; }

@media (min-width: 720px) {
  .letter { padding: 56px 56px 46px; }
  .vs { grid-template-columns: 1fr 1fr; }
}

/* ---------- 6. さいご ---------- */
.final { min-height: 90svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.final-en { font-family: var(--script); font-size: 30px; color: var(--rose); }
.final-title { margin-top: 6px; font-weight: 900; font-size: clamp(30px, 9.4vw, 66px); line-height: 1.4; }
.final-actions { display: grid; gap: 10px; width: min(100%, 420px); margin-top: 30px; }

/* ---------- footer ---------- */
.ft { padding: 30px var(--gutter) 40px; text-align: center; color: var(--mute); }
.ft img { width: 100px; margin: 0 auto; }
.ft-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; margin: 14px 0; font-size: 12.5px; font-weight: 700; color: var(--dim); }
.ft small { font-size: 11px; }

@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .sc { padding-top: 120px; padding-bottom: 120px; }
  .say, .level { padding: 0; }
  .duo-grid { grid-template-columns: 1fr 1fr; }
  .three-list { grid-template-columns: repeat(3, 1fr); }
  .three-list a { grid-template-columns: 1fr; row-gap: 8px; height: 100%; align-content: start; padding: 24px 20px; }
  .t-ico { grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-pop] .ch, .io, .lt, .ph .ch { opacity: 1 !important; transform: none !important; }
  .ph { position: static; opacity: 1; transform: none; filter: none; }
  .say-stage { height: auto; }
  .phone.is-js .bub { display: block; }
  .say, .level { height: auto; }
  .sticky { position: static; }
}

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