/* トップページ専用。広い左寄せのレイアウト。
   ヒーロー（大きな見出し＋浮かぶスマホ）→ 流れる帯 → 言葉が順に光る文章 → 数字 → 横スクロールの特徴 →
   スマホが追従する使い方 → クリエイター向け → 事前登録 → よくある質問 */

.kicker { font-family: var(--font-num); font-weight: 800; font-size: 13px; letter-spacing: .2em; color: var(--pink); }
.big-h { font-family: var(--font-pop); font-weight: 900; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.12; letter-spacing: -.03em; margin: 10px 0 0; }
.hsec h2, .how h2, .creators h2, .prereg-sec h2, .faq-sec h2 { font-family: var(--font-pop); font-weight: 900; font-size: clamp(34px, 5.4vw, 72px); line-height: 1.12; letter-spacing: -.03em; margin: 10px 0 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding-block: clamp(36px, 7vw, 96px) clamp(30px, 5vw, 70px); overflow: clip; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero h1 { font-size: clamp(40px, 10.5vw, 86px); } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--white); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--pink); box-shadow: var(--shadow); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pop); }
.hero h1 { font-family: var(--font-pop); font-weight: 900; font-size: clamp(42px, 6.6vw, 86px); line-height: 1.04; letter-spacing: -.035em; margin: 22px 0 26px; }
.hero h1 .line { display: block; white-space: nowrap; overflow: clip; padding-bottom: .06em; }
.hero h1 .ch { display: inline-block; }
/* JSが動かない場合は行全体にグラデーション。JSで1文字ずつに分けたあとは、文字ごとに色をつける */
.hero h1 .grad { background: linear-gradient(90deg, #ff5fa2, #ff8a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero h1 .grad.is-split { background: none; color: inherit; }
.hero .lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.85; max-width: 32em; margin: 0 0 30px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.scroll-cue { margin-top: clamp(28px, 5vw, 60px); display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-num); font-weight: 700; font-size: 12px; letter-spacing: .2em; color: var(--muted); }
.scroll-cue i { width: 22px; height: 34px; border-radius: 12px; border: 2px solid var(--muted); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; border-radius: 2px; background: var(--pink); transform: translateX(-50%); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 60% { transform: translate(-50%, 10px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 900px) { .scroll-cue { display: none; } }

.stage { position: relative; display: grid; justify-items: center; }
.stage .blob { position: absolute; border-radius: 50%; filter: blur(4px); z-index: 0; }
.tilt { position: relative; z-index: 1; will-change: transform; }
.device { margin: 0; width: min(330px, 76vw); border-radius: 56px; padding: 12px; position: relative;
  background: linear-gradient(145deg, #fbfbfd 0%, #d5d8df 22%, #f4f5f8 46%, #b9bdc7 72%, #eceef2 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), inset 0 0 0 2.5px #a9aeb9, 0 0 0 1px rgba(120,124,135,.35),
              0 50px 100px -36px rgba(138,107,255,.7), 0 20px 40px -22px rgba(43,33,64,.45); }
/* 側面のボタン */
.device::before, .device::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(180deg, #e9ebef, #a7acb7); }
.device::before { left: -3px; top: 22%; height: 9%; box-shadow: 0 64px 0 #c3c7cf; }
.device::after { right: -3px; top: 28%; height: 13%; }
/* 画面のまわりの細い黒縁 */
.device img { display: block; width: 100%; height: auto; border-radius: 45px; box-shadow: 0 0 0 5px #15121c; }
.mascot-hero { position: absolute; z-index: 4; width: clamp(120px, 12vw, 170px); height: auto; left: -24%; bottom: 10%; rotate: -6deg; filter: drop-shadow(0 18px 24px rgba(138,107,255,.35)); animation: bob 4.4s ease-in-out infinite; }
@media (max-width: 520px) { .mascot-hero { left: -12%; bottom: 8%; width: 110px; } }
.wip { position: relative; z-index: 5; margin: 48px 0 0; max-width: 320px; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: center; }
.sticker { position: absolute; z-index: 3; font-family: var(--font-num); font-weight: 800; background: var(--lemon); color: var(--ink); border-radius: 12px; padding: 6px 14px; box-shadow: 0 14px 26px -12px rgba(0,0,0,.3); white-space: nowrap; }
.sticker.ticket::before, .sticker.ticket::after { content: ""; position: absolute; top: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); transform: translateY(-50%); }
.sticker.ticket::before { left: -5px; } .sticker.ticket::after { right: -5px; }
.floater.f1 { top: 12%; left: -16%; } .floater.f1 .sticker { font-size: 24px; rotate: -8deg; }
.floater.f2 { bottom: 20%; right: -14%; animation-duration: 4.8s; animation-delay: -1s; } .floater.f2 .sticker { background: var(--white); color: var(--pink); font-family: var(--font-body); font-weight: 900; font-size: 14px; rotate: 6deg; }
.floater.f3 { top: 3%; right: -6%; animation-duration: 5.4s; animation-delay: -2s; } .floater.f3 .sticker { background: var(--mint); color: #fff; font-size: 14px; rotate: 10deg; }
@media (max-width: 520px) { .floater.f1 { left: -8%; } .floater.f1 .sticker { font-size: 20px; } .floater.f2 { right: -6%; } .floater.f3 { right: -2%; } }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--ink); color: #fff; padding-block: 18px; transform: rotate(-1.6deg); margin: 30px -2vw 0; }
.mtrack { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--font-num); font-weight: 900; font-size: clamp(22px, 3vw, 40px); letter-spacing: -.01em; padding-right: 48px; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--pop); }
.marquee span:nth-child(3n+2) { color: var(--lemon); }
.marquee span:nth-child(3n) { color: #ff9ecb; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- statement ---------- */
.statement { padding-block: clamp(90px, 14vw, 200px) clamp(60px, 9vw, 140px); }
.st-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(20px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .st-grid { grid-template-columns: 1fr; } .statement p.big { font-size: clamp(30px, 8.6vw, 72px); } }
.statement p.big { font-family: var(--font-pop); font-weight: 900; font-size: clamp(34px, 5vw, 72px); line-height: 1.1; letter-spacing: -.04em; margin: 18px 0 0; }
.statement .lm { display: block; overflow: clip; padding-bottom: .08em; white-space: nowrap; }
.statement .li { display: inline-block; }
.statement .sub { margin: 34px 0 0; }
.mascot-find { width: min(100%, 320px); height: auto; justify-self: center; filter: drop-shadow(0 20px 26px rgba(255,95,162,.25)); }
@media (max-width: 900px) { .mascot-find { width: 220px; justify-self: end; margin-top: -10px; } }
.statement .hl { background: linear-gradient(90deg, #ff5fa2, #ff8a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement .sub { max-width: 34em; margin: 34px 0 0; font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); }

/* ---------- counters ---------- */
.counters .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
@media (max-width: 760px) { .counters .grid { grid-template-columns: 1fr; } }
.counter { padding: 28px 24px 30px 0; border-bottom: 2px solid var(--ink); display: grid; gap: 6px; align-content: start; }
@media (min-width: 761px) { .counter + .counter { padding-left: 28px; border-left: 2px solid var(--ink); } }
.counter b { font-family: var(--font-num); font-weight: 900; font-size: clamp(58px, 7.6vw, 108px); line-height: .95; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.counter b small { font-family: var(--font-body); font-weight: 900; font-size: .28em; letter-spacing: 0; margin-left: 4px; }
.counter:nth-child(1) b { color: var(--pink); } .counter:nth-child(2) b { color: var(--grape); } .counter:nth-child(3) b { color: var(--sky); }
.counter > span { font-weight: 700; font-size: 15px; max-width: 22em; }

/* ---------- horizontal features ---------- */
.hsec { padding-block: clamp(80px, 10vw, 140px) 40px; overflow: hidden; }
.hsec .head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 36px; }
.hsec .head p { max-width: 26em; margin: 0; color: var(--muted); }
.htrack-wrap { overflow: hidden; }
.track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding-left: max(clamp(20px, 4vw, 56px), calc((100vw - var(--wrap)) / 2 + clamp(20px, 4vw, 56px))); padding-right: clamp(20px, 4vw, 56px); }
@media (max-width: 900px) { .htrack-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .htrack-wrap::-webkit-scrollbar { display: none; } .fcard { scroll-snap-align: center; } }
.fcard { width: min(560px, 82vw); flex: none; border-radius: 40px; overflow: hidden; position: relative; color: #fff; display: grid; grid-template-rows: auto 1fr; box-shadow: var(--shadow); }
.fcard .art { aspect-ratio: 16/10; position: relative; display: grid; place-items: center; }
.fcard .bub { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,255,255,.25) 55%, rgba(255,255,255,.06) 70%); }
.fcard .txt { padding: 6px 32px 34px; }
.fcard .num { font-family: var(--font-num); font-weight: 800; font-size: 13px; letter-spacing: .2em; opacity: .85; }
.fcard h3 { font-family: var(--font-pop); font-weight: 900; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.2; letter-spacing: -.02em; margin: 6px 0 10px; }
.fcard p { margin: 0; font-size: 16px; opacity: .95; }
.fcard.last { background: var(--white); color: var(--ink); display: grid; place-items: center; padding: 40px; }
.fcard.last h3 { font-size: clamp(30px, 3.4vw, 44px); }
.art-ticket { font-family: var(--font-num); font-weight: 900; font-size: clamp(44px, 6vw, 72px); letter-spacing: -.03em; background: var(--lemon); color: var(--ink); border-radius: 18px; padding: 6px 24px; rotate: -5deg; position: relative; z-index: 1; box-shadow: 0 20px 40px -18px rgba(0,0,0,.35); }
.art-avatars { display: flex; gap: 10px; position: relative; z-index: 1; }
.art-avatars span { width: clamp(60px, 7vw, 84px); aspect-ratio: 1; border-radius: 50%; border: 4px solid #fff; display: grid; place-items: center; color: #fff; font-family: var(--font-pop); font-weight: 900; font-size: clamp(22px, 2.6vw, 30px); position: relative; }
.art-avatars em { position: absolute; left: 50%; bottom: -12px; translate: -50% 0; font-style: normal; font-family: var(--font-num); font-weight: 800; font-size: 11px; color: #fff; background: var(--pink); border-radius: 999px; padding: 1px 8px; border: 2px solid #fff; }
.art-grad { font-family: var(--font-num); font-weight: 900; font-size: clamp(24px, 3vw, 36px); letter-spacing: .14em; color: var(--pink); background: #fff; border: 4px solid var(--pink); border-radius: 14px; padding: 6px 20px; rotate: -7deg; position: relative; z-index: 1; }

/* ---------- how it works ---------- */
.how { padding-block: clamp(80px, 10vw, 140px); }
.how .grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); margin-top: 40px; }
.how .sticky { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 100px); align-self: start; display: grid; justify-items: center; }
@media (max-width: 900px) { .how .grid { grid-template-columns: 1fr; } .how .sticky { display: none; } }
.how .device { width: min(300px, 100%); transition: transform .7s cubic-bezier(.2,.9,.2,1); }
.how .badge { position: absolute; top: 16%; right: -12%; z-index: 2; font-family: var(--font-num); font-weight: 900; font-size: 22px; border-radius: 14px; padding: 8px 16px; background: var(--lemon); color: var(--ink); rotate: 6deg; box-shadow: 0 16px 30px -12px rgba(0,0,0,.3); }
.how .badge.pulse { animation: badgepop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes badgepop { from { transform: scale(.6); } to { transform: scale(1); } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 12vh, 120px); padding-block: 8vh 30vh; }
.step { opacity: .32; transition: opacity .5s ease, transform .6s cubic-bezier(.2,.9,.2,1); }
.step.active { opacity: 1; transform: translateX(10px); }
@media (max-width: 900px) { .steps { padding-block: 0; gap: 36px; } .step { opacity: 1; } .step.active { transform: none; } }
.step .n { font-family: var(--font-num); font-weight: 900; font-size: 15px; letter-spacing: .1em; display: inline-flex; align-items: center; gap: 10px; }
.step .n::before { content: ""; width: 34px; height: 4px; border-radius: 2px; background: var(--pop); }
.step h3 { font-family: var(--font-pop); font-weight: 900; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.1; letter-spacing: -.03em; margin: 10px 0 12px; }
.step p { margin: 0; font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); max-width: 26em; }

/* ---------- creators ---------- */
.creators-sec { padding-block: 20px; }
.creators { background: var(--soda); color: #fff; border-radius: clamp(32px, 4vw, 56px); padding: clamp(36px, 6vw, 84px); position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .creators { grid-template-columns: 1fr; } }
.creators .deco { position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); pointer-events: none; }
.creators .kicker { color: #fff; opacity: .9; }
.creators h2 { position: relative; font-size: clamp(30px, 3.6vw, 54px); }
.creators h2 .nb { display: block; white-space: nowrap; }
@media (max-width: 420px) { .creators h2 .nb { white-space: normal; } }
.creators p.lead { margin: 18px 0 26px; font-size: clamp(15px, 1.4vw, 18px); opacity: .95; position: relative; max-width: 30em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.checks li { background: rgba(255,255,255,.18); backdrop-filter: blur(6px); border-radius: 18px; padding: 13px 18px 13px 50px; position: relative; font-weight: 700; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 18px; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: #fff; }
.checks li::after { content: ""; position: absolute; left: 24px; top: 21px; width: 8px; height: 5px; border-left: 2.5px solid var(--pink); border-bottom: 2.5px solid var(--pink); transform: rotate(-45deg); }
.gen1 { background: #fff; color: var(--ink); border-radius: 32px; padding: 30px; position: relative; display: grid; gap: 10px; justify-items: start; box-shadow: 0 30px 60px -30px rgba(43,33,64,.5); }
.gen1 .badge1 { font-family: var(--font-num); font-weight: 800; font-size: 13px; letter-spacing: .12em; background: var(--lemon); border-radius: 999px; padding: 3px 14px; rotate: -3deg; }
.gen1 h3 { font-family: var(--font-pop); font-weight: 900; font-size: clamp(26px, 2.8vw, 34px); letter-spacing: -.02em; margin: 4px 0 0; }
.gen1 p { color: var(--muted); margin: 0 0 8px; font-size: 15px; }

/* ---------- pre-registration ---------- */
.prereg-sec { padding-block: clamp(90px, 11vw, 160px) 40px; }
.prereg-sec .grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .prereg-sec .grid { grid-template-columns: 1fr; } }
.prereg-sec .intro > p { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); margin: 20px 0 0; max-width: 26em; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; font-weight: 700; }
.trust li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 6px var(--mint); margin-top: 1px; }
.panel { background: var(--white); border-radius: 36px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--cream); border-radius: 999px; padding: 5px; margin-bottom: 24px; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 11px 6px; font-weight: 900; font-size: 14px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.xbtn { display: flex; align-items: center; justify-content: center; gap: 12px; background: #0f0f14; color: #fff; text-decoration: none; border-radius: 999px; padding: 17px 22px; font-weight: 900; font-size: 16px; }
.xbtn svg { width: 20px; height: 20px; fill: #fff; }
.xbtn:hover { background: #24242c; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; font-weight: 700; margin: 16px 0 6px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
details.mail summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 14px; color: var(--grape); text-align: center; padding: 8px; }
details.mail summary::-webkit-details-marker { display: none; }
details.mail[open] summary { margin-bottom: 14px; }
.panel form { display: grid; gap: 14px; }
.panel label { display: grid; gap: 6px; font-size: 13px; font-weight: 800; color: var(--muted); }
.panel input, .panel select { width: 100%; font: inherit; font-size: 16px; font-weight: 700; color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.panel input:focus, .panel select:focus { outline: none; border-color: var(--grape); }
.panel .check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 700; color: var(--ink); }
.panel .check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--pink); padding: 0; }
.form-msg { border-radius: 16px; padding: 12px 16px; font-size: 14px; font-weight: 700; }
.form-msg.ok { background: var(--mint-soft); color: #11745f; }
.form-msg.err { background: var(--pink-soft); color: #c2185b; }
.panel .btn { width: 100%; }
.panel .lede { font-size: 14px; color: var(--muted); margin: 0 0 16px; }

/* ---------- FAQ ---------- */
.faq-sec { padding-block: clamp(80px, 10vw, 140px) 20px; }
.faq-head { text-align: center; margin-bottom: 32px; }
.faq-sec h2 { white-space: nowrap; }
@media (max-width: 380px) { .faq-sec h2 { white-space: normal; } }
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--white); border-radius: 22px; padding: 4px 24px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; font-size: 16px; padding: 18px 36px 18px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-family: var(--font-num); font-weight: 500; font-size: 28px; line-height: 1; color: var(--pink); transition: transform .3s cubic-bezier(.2,.9,.2,1); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }

/* scroll progress bar */
.progress-bar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--pop); z-index: 30; }

/* ================================================================
   アニメーション（html.anim のときだけ有効。JSが動かなければ通常表示）
   ================================================================ */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-back: cubic-bezier(.34, 1.56, .64, 1); }

/* 開いた瞬間: 見出しが1文字ずつせり上がる */
.anim .hero h1 .ch { transform: translateY(115%) rotate(10deg); }
.anim.loaded .hero h1 .ch { transform: none; transition: transform 1.2s var(--ease-out); transition-delay: calc(.12s + var(--i) * .04s); }
.anim .hero .eyebrow, .anim .hero-fade, .anim .wip { opacity: 0; transform: translateY(24px); }
.anim.loaded .hero .eyebrow, .anim.loaded .hero-fade, .anim.loaded .wip { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.anim.loaded .hero-fade { transition-delay: calc(.55s + var(--i, 0) * .08s); }
.anim.loaded .wip { transition-delay: 1.1s; }
.anim .hero-device { opacity: 0; transform: translateY(90px) scale(.94); }
.anim.loaded .hero-device { opacity: 1; transform: none; transition: opacity 1.4s var(--ease-out) .2s, transform 1.6s var(--ease-out) .2s; }
.anim .sticker { opacity: 0; scale: 0; }
.anim.loaded .sticker { opacity: 1; scale: 1; transition: opacity .6s ease, scale .9s var(--ease-back); transition-delay: calc(.9s + var(--i, 0) * .12s); }
/* ステッカーはふわふわ浮かぶ（外側の要素で） */
.floater { position: absolute; z-index: 3; animation: bob 4s ease-in-out infinite; }
.floater .sticker { position: static; }
@keyframes bob { 50% { translate: 0 -12px; } }

/* スクロールで出てくる要素 */
.anim .reveal { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .rise { opacity: 0; transform: translateY(70px); transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out); }
.anim .rise.in { opacity: 1; transform: none; }


/* 特徴カード: PCでは画面を止めて横に流す */
@media (min-width: 901px) {
  .anim .hsec { overflow: visible; padding-block: 0; }
  .anim .hsticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .anim .htrack-wrap { overflow: visible; }
  .anim .track { will-change: transform; }
}
.fcard { transition: transform .2s linear; }

/* マウスに吸い寄せられるボタン */
.magnet { transition: transform .5s var(--ease-back); }
.magnet.pull { transition: transform .15s ease-out; }

/* はみ出した飾り（帯の傾き、ステッカー）で横スクロールが出ないように */
main { overflow-x: clip; }

/* ---------- 特徴カードの中身 ---------- */
.fcard.c1 { background: linear-gradient(140deg, #4fb3ff, #8a6bff); }
.fcard.c2 { background: linear-gradient(140deg, #ff5fa2, #ffb36b); }
.fcard.c3 { background: linear-gradient(140deg, #2fd3b4, #ffd23f); }
.fcard .art { overflow: hidden; aspect-ratio: auto; min-height: clamp(290px, 28vw, 340px); padding: 30px 20px; }
@media (max-width: 600px) { .callout { right: 5%; bottom: 6%; font-size: 11px; padding: 6px 11px; } .mini-list { width: 86%; } }

/* 01: 今日の新人リスト */
.mini-list { position: relative; z-index: 1; width: min(78%, 360px); background: rgba(255,255,255,.94); border-radius: 24px; padding: 14px; color: var(--ink); box-shadow: 0 30px 50px -24px rgba(20,17,27,.45); rotate: -3deg; display: grid; gap: 8px; }
.mini-head { display: flex; justify-content: space-between; align-items: center; padding: 0 4px 2px; font-weight: 900; font-size: 14px; }
.mini-head b { font-family: var(--font-num); font-size: 10px; letter-spacing: .1em; color: #fff; background: var(--pink); border-radius: 999px; padding: 2px 8px; }
.mini-row { display: flex; align-items: center; gap: 10px; background: var(--cream); border-radius: 16px; padding: 8px 10px; }
.mini-row:nth-child(2) { translate: 10px 0; box-shadow: 0 10px 20px -12px rgba(138,107,255,.6); background: #fff; outline: 2px solid var(--grape-soft); }
.mini-row.dim { opacity: .6; }
.mini-row .av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-style: normal; font-weight: 900; font-size: 14px; flex: none; border: 2px solid #fff; }
.mini-row .mi { display: grid; line-height: 1.25; min-width: 0; flex: 1; }
.mini-row .mi b { font-size: 14px; }
.mini-row .mi small { font-size: 11px; color: var(--muted); font-weight: 700; }
.mini-row em { font-style: normal; font-family: var(--font-num); font-weight: 800; font-size: 11px; background: var(--lemon); border-radius: 999px; padding: 2px 9px; }
.callout { position: absolute; z-index: 2; right: 7%; bottom: 10%; background: var(--ink); color: #fff; font-weight: 900; font-size: 13px; border-radius: 14px 14px 4px 14px; padding: 8px 14px; rotate: 4deg; box-shadow: 0 14px 26px -12px rgba(0,0,0,.5); }

/* 02: チケット */
.ticket-big { position: relative; z-index: 1; display: flex; width: min(84%, 400px); rotate: -5deg; filter: drop-shadow(0 26px 30px rgba(20,17,27,.3)); }
.tk-main { flex: 1; background: var(--lemon); color: var(--ink); border-radius: 18px 0 0 18px; padding: 18px 20px 16px; display: grid; gap: 4px; position: relative; }
.tk-stub { width: 92px; background: #fff3c4; color: var(--ink); border-radius: 0 18px 18px 0; padding: 14px 10px; display: grid; justify-items: center; align-content: space-between; border-left: 3px dashed rgba(43,33,64,.25); position: relative; }
.tk-main::after, .tk-stub::before { content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #ff8f8a; top: -11px; }
.tk-main::after { right: -11px; } .tk-stub::before { left: -12px; top: auto; bottom: -11px; }
.tk-label { font-family: var(--font-num); font-weight: 800; font-size: 11px; letter-spacing: .22em; opacity: .7; }
.tk-no { font-family: var(--font-num); font-weight: 900; font-size: clamp(38px, 4.6vw, 54px); letter-spacing: -.04em; line-height: 1; }
.tk-meta { display: flex; gap: 14px; font-size: 13px; font-weight: 900; margin-top: 6px; }
.tk-meta i { display: block; font-style: normal; font-size: 10px; font-weight: 700; opacity: .65; }
.tk-stub span { font-family: var(--font-logo); font-weight: 700; font-size: 18px; color: var(--pink); }
.tk-stub small { font-family: var(--font-num); font-weight: 800; font-size: 11px; letter-spacing: .1em; }
.barcode { width: 54px; height: 34px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); border-radius: 2px; }

/* 03: 卒業証書 */
.cert { position: relative; z-index: 1; width: min(76%, 340px); background: #fffdf6; color: var(--ink); border-radius: 10px; padding: 20px 22px 16px; text-align: center; rotate: 4deg; box-shadow: 0 30px 50px -24px rgba(20,17,27,.45); outline: 2px solid #e9d9a6; outline-offset: -8px; }
.cert-k { display: block; font-family: var(--font-num); font-weight: 800; font-size: 9px; letter-spacing: .24em; color: #b08a2e; }
.cert-t { display: block; font-family: var(--font-pop); font-weight: 900; font-size: clamp(26px, 3vw, 34px); letter-spacing: .2em; margin: 4px 0 6px; }
.cert p { margin: 0; font-size: 12px; line-height: 1.7; color: var(--muted); }
.cert p strong { color: var(--ink); font-size: 15px; }
.cert-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-size: 11px; font-weight: 800; color: var(--muted); }
.seal { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-num); font-weight: 900; font-size: 11px; letter-spacing: .08em; color: #fff; background: radial-gradient(circle at 35% 30%, #ff7fb4, #e8306f); box-shadow: 0 0 0 3px #fffdf6, 0 0 0 5px #ff5fa2; rotate: -14deg; }
.confetti-dot { position: absolute; width: 12px; height: 20px; border-radius: 4px; rotate: 30deg; opacity: .9; }
.confetti-dot:nth-child(2n) { rotate: -40deg; width: 10px; height: 10px; border-radius: 50%; }

/* 04 */
.who-next { display: flex; margin-bottom: 18px; }
.who-next i { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--font-num); font-weight: 900; font-size: 24px; color: #fff; border: 4px solid #fff; margin-right: -12px; box-shadow: 0 10px 20px -10px rgba(138,107,255,.6); }
.who-next i:nth-child(1) { background: var(--sky); } .who-next i:nth-child(2) { background: var(--grape); } .who-next i:nth-child(3) { background: var(--pink); }

/* ABOUT: 1行ずつ下から現れて、ぼかしが晴れる。2・3行目はグラデーションがゆっくり流れる */
.anim .statement .li { transform: translateY(105%); filter: blur(10px); opacity: 0; }
.anim .statement .lines.in .li { transform: none; filter: blur(0); opacity: 1;
  transition: transform 1.2s var(--ease-out), filter 1.2s var(--ease-out), opacity .8s ease; }
.anim .statement .lines.in .lm:nth-child(2) .li { transition-delay: .18s; }
.anim .statement .lines.in .lm:nth-child(3) .li { transition-delay: .36s; }
.statement .hl { background-image: linear-gradient(90deg, #ff5fa2, #ff8a3c, #8a6bff, #ff5fa2); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.anim .statement .lines.in .hl { animation: sweep 6s ease-in-out infinite alternate; }
@keyframes sweep { from { background-position: 0 0; } to { background-position: 100% 0; } }

/* 使い方: ステップごとのふぃずまる */
.step-pic { display: block; height: auto; margin-bottom: 14px; }
.step-pic.cut { width: 130px; filter: drop-shadow(0 12px 16px rgba(138,107,255,.25)); }
.step-pic.card { width: 128px; border-radius: 26px; box-shadow: var(--shadow); }
.step.active .step-pic { animation: bob 3.6s ease-in-out infinite; }

/* クリエイター向け: 1期生カードのふぃずまる */
.gen1-pic { position: absolute; right: 10px; top: -70px; width: 130px; height: auto; rotate: 6deg; filter: drop-shadow(0 16px 20px rgba(43,33,64,.35)); }
@media (max-width: 900px) { .gen1 { margin-top: 40px; } }

/* 公式マスコット */
.mascot-sec { padding-block: clamp(90px, 11vw, 160px) 0; }
.mascot-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .mascot-grid { grid-template-columns: 1fr; } }
.mascot-stage { position: relative; display: grid; place-items: center; min-height: clamp(320px, 38vw, 480px); }
.mascot-stage .ring { position: absolute; border-radius: 50%; }
.mascot-stage .r1 { width: 88%; aspect-ratio: 1; background: radial-gradient(circle, #ffe3ef 0%, #ece6ff 60%, transparent 70%); }
.mascot-stage .r2 { width: 64%; aspect-ratio: 1; border: 2px dashed rgba(138,107,255,.35); animation: spin 30s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.mascot-big { position: relative; width: min(78%, 340px); height: auto; filter: drop-shadow(0 30px 40px rgba(138,107,255,.35)); animation: bob 4.8s ease-in-out infinite; }
.speech { position: absolute; left: 0; top: 8%; background: #fff; border-radius: 22px 22px 22px 6px; padding: 12px 16px; font-weight: 900; font-size: 14px; line-height: 1.5; box-shadow: var(--shadow); rotate: -6deg; }
.mascot-name { font-family: var(--font-pop); font-weight: 900; font-size: clamp(44px, 6vw, 84px); letter-spacing: -.02em; line-height: 1.05; margin: 10px 0 14px; background: linear-gradient(90deg, #ff5fa2, #ff8a3c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mascot-lead { font-size: clamp(15px, 1.4vw, 18px); color: var(--muted); max-width: 30em; margin: 0 0 22px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.points li { background: var(--white); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 2px; }
.points b { font-weight: 900; font-size: 15px; color: var(--pink); }
.points span { font-size: 13px; color: var(--muted); font-weight: 700; }

/* 事前登録: 吹き出しつきのふぃずまる */
.tell { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tell img { width: 96px; height: auto; animation: bob 4s ease-in-out infinite; }
.tell span { background: #fff; border-radius: 18px 18px 18px 4px; padding: 10px 14px; font-weight: 900; font-size: 14px; line-height: 1.5; box-shadow: var(--shadow); }

/* 公式マスコット枠のおまけのポーズ */
.mascot-mini { position: absolute; width: clamp(70px, 8vw, 110px); height: auto; filter: drop-shadow(0 12px 16px rgba(138,107,255,.3)); animation: bob 5s ease-in-out infinite; }
.mascot-mini.m1 { left: 4%; bottom: 6%; animation-delay: -1.5s; rotate: -8deg; }
.mascot-mini.m2 { right: 2%; top: 10%; animation-delay: -3s; rotate: 8deg; }

.prereg-sec h2 { font-size: clamp(32px, 4.2vw, 58px); }

/* 上に戻したとき: 画面の上から入ってくる要素は、上からふわっと出る */
.anim .reveal.from-top:not(.in) { transform: translateY(-50px); }
.anim .rise.from-top:not(.in) { transform: translateY(-70px); }
.anim .statement .lines.from-top:not(.in) .li { transform: translateY(-105%); }

/* ダウンロード */
.download-panel h3 { margin: 0 0 6px; font-size: 18px; }
.download-panel hr { border: 0; border-top: 1px solid var(--line, #f1e3ee); margin: 22px 0; }
.download-panel .btn { width: 100%; justify-content: center; margin-top: 12px; }
.download-panel .appstore { display: inline-flex; align-items: center; gap: 8px; }

.hero .actions { align-items: center; }
.download-panel .store-badge { margin-top: 12px; }

/* アプリアイコンと名前（App Store のように並べる） */
.app-id { display: inline-flex; align-items: center; gap: 14px; background: var(--white); border-radius: 24px; padding: 10px 20px 10px 10px; box-shadow: var(--shadow); }
.app-icon { width: 72px; height: 72px; border-radius: 22.5%; display: block; box-shadow: 0 0 0 1px rgba(43,33,64,.06), 0 10px 20px -10px rgba(138,107,255,.7); flex: none; }
.app-id-text { display: grid; line-height: 1.3; }
.app-id-text b { font-family: var(--font-logo); font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.app-id-text span { font-size: 13px; font-weight: 700; color: var(--pink); }
.app-id-text small { font-size: 11px; font-weight: 700; color: var(--muted); }
.app-id.small { box-shadow: none; padding: 0; background: none; }
.app-id.small .app-icon { width: 60px; height: 60px; }
.app-id.small .app-id-text b { font-size: 20px; }
.anim .hero .app-id { opacity: 0; transform: translateY(24px) scale(.96); }
.anim.loaded .hero .app-id { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-back); }
