/* 紹介する人のページ（/invite）。web/style.css の上に重ねる */
/* いちばん上だけ、公式サイト（STUDIO）のトップと同じ見せ方 */
  .hero { position:relative; height:600px; overflow:hidden; margin:0 -16px; background:radial-gradient(120% 70% at 50% 40%, #4a3a6a 0%, #2b2540 45%, var(--bg) 100%); }
  .phones { position:absolute; left:50%; top:38px; width:250px; aspect-ratio:900/1950; transform:translateX(-50%); filter:drop-shadow(0 16px 30px rgba(0,0,0,.5)); }
    .dots { position:absolute; right:16px; bottom:70px; z-index:3; display:flex; gap:6px; }
  .dots i { width:7px; height:7px; border-radius:50%; background:#ffffff55; }
  .dots i.on { background:#fff; }
  @media (prefers-reduced-motion: reduce) { .phones img { transition:none; } }
  .hero .invite-badge { position:absolute; top:16px; left:16px; z-index:3; background:#fff; color:#111; }
  .bands { position:absolute; left:0; top:304px; z-index:3; }
  .bands span { display:table; margin:0 0 10px; padding:6px 22px 6px 26px; font-weight:800; font-size:22px; line-height:1.4; color:#fff; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .hero .free { position:absolute; left:16px; right:16px; bottom:16px; z-index:3; margin:0; font-weight:800; font-size:17px; line-height:1.6; text-shadow:0 2px 8px rgba(0,0,0,.8); }
  .marquee { margin:0 -16px; overflow:hidden; white-space:nowrap; font-family:"Bebas Neue",sans-serif; font-size:72px; line-height:1; color:#fff; opacity:.9; padding:6px 0 0; border-bottom:2px solid #fff; }
  .marquee span { display:inline-block; padding-right:40px; animation:mq 14s linear infinite; }
  @keyframes mq { to { transform:translateX(-100%); } }
  @media (prefers-reduced-motion: reduce) { .marquee span { animation:none; } }
  main { padding-top:0; }

  .invite-badge { display:inline-block; margin:0 0 10px; padding:4px 12px; border-radius:999px; background:rgba(0,204,180,.14); color:var(--mint); font-size:13px; font-weight:700; }
  .hero-sub { margin: 4px 0 0; font-size: 16px; font-weight: 700; }
  .reward { margin: 16px 0 0; padding: 12px 14px; border-radius: 12px; background: linear-gradient(90deg, rgba(248,16,140,.18), rgba(254,104,71,.18)); border:1px solid rgba(254,104,71,.5); font-size:14px; }
  .reward b { font-size: 17px; white-space:nowrap; }
  .sec { margin: 32px 0 0; }
  .sec-k { display:flex; align-items:center; gap:10px; margin:0 0 10px; }
  .sec-k .step { flex:none; padding:3px 10px; border-radius:999px; background:var(--mint); color:var(--bg); font-size:12px; font-weight:800; letter-spacing:.06em; }
  .sec-k h2 { margin:0; font-size:20px; font-weight:800; line-height:1.4; }
  .sec p { margin: 0 0 8px; }
  .points { margin:0; padding:0; list-style:none; }
  .points li { position:relative; padding-left:1.2em; margin:0 0 6px; }
  .points li::before { content:""; position:absolute; left:.2em; top:.7em; width:6px; height:6px; border-radius:50%; background:var(--mint); }
  .stores { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0 8px; }
  .store { display:flex; flex-direction:column; align-items:center; justify-content:center; min-height:56px; border-radius:12px; background:#000; border:1px solid #555; color:#fff; text-decoration:none; font-weight:700; font-size:15px; line-height:1.3; }
  .store small { font-size:11px; color:#bbb; font-weight:400; }
  .store.mine { border-color: var(--mint); box-shadow:0 0 0 1px var(--mint); }
  .path { margin:8px 0; padding:12px 14px; border-radius:12px; background:var(--field); border:1px solid var(--line); font-size:14px; }
  .path ol { margin:0; padding-left:1.3em; }
  .path li { margin:0 0 4px; }
  .tip { font-size:13px; color:var(--text-soft); }
  .flow { margin:10px 0 0; padding:0; list-style:none; }
  .flow li { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border-radius:12px; background:var(--panel); border:1px solid var(--line); margin:0 0 8px; }
  .flow .cp { flex:none; min-width:96px; text-align:center; padding:4px 6px; white-space:nowrap; border-radius:8px; background:linear-gradient(90deg,var(--band-a),var(--band-b)); font-weight:800; font-size:15px; }
  .flow .cp.mint { background: linear-gradient(90deg,var(--btn-a),var(--btn-b)); }
  .flow p { margin:0; font-size:14px; }
  .flow b { display:block; font-size:15px; }
  .more { color:var(--mint); font-size:14px; font-weight:700; }
  .mockline { margin:24px 0 0; padding:8px; border:1px dashed #FFE274; color:#FFE274; font-size:12px; border-radius:8px; }

  /* ───── 開いたときの動き ─────
     スマホが下からせり上がる → 帯が左から1本ずつ（光がキラッ）→ 「毎日5分〜」→ 招待の札がポン → 流れる英字と下の内容 */
  .pre .phones, .pre .bands span, .pre .free, .pre .invite-badge, .pre .marquee, .pre .after { opacity:0; }
  .play .phones { animation:phoneIn .9s cubic-bezier(.2,.9,.25,1.15) both; }
  .play .bands span { animation:bandIn .5s cubic-bezier(.2,.9,.3,1) both; }
  .play .bands span:nth-child(1) { animation-delay:.35s; } .play .bands span:nth-child(2) { animation-delay:.5s; } .play .bands span:nth-child(3) { animation-delay:.65s; }
  .play .free { animation:fadeUp .5s ease-out .95s both; }
  .play .invite-badge { animation:pop .45s cubic-bezier(.3,1.6,.5,1) 1.15s both; }
  .play .marquee { animation:fadeIn .6s ease 1.1s both; }
  .play .after { animation:fadeUp .6s ease-out 1.3s both; }
  @keyframes phoneIn { from { opacity:0; transform:translate(-50%, 90px) scale(.92) rotate(-4deg); } to { opacity:1; transform:translate(-50%,0); } }
  @keyframes bandIn { from { opacity:0; transform:translateX(-105%); } to { opacity:1; transform:none; } }
  @keyframes fadeUp { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
  @keyframes fadeIn { from { opacity:0; } to { opacity:.9; } }
  @keyframes pop { 0% { opacity:0; transform:scale(.4); } 100% { opacity:1; transform:none; } }
  /* 帯の上をキラッと光が横切る（帯が出そろってから1回） */
  .bands span { position:relative; overflow:hidden; }
  .play .bands span::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); transform:translateX(-120%); animation:shine .8s ease-in-out 1.2s both; }
  @keyframes shine { to { transform:translateX(120%); } }
  @media (prefers-reduced-motion: reduce) { .play * { animation:none !important; } .pre * { opacity:1 !important; } }
  /* 公式サイトのスライダー（rank-slider.js）が html, body の背景を透明にするので、ページの紺に戻す */
  html, body { background: var(--bg) !important; }
  .appicon { flex:none; width:36px; height:36px; border-radius:9px; box-shadow:0 2px 8px rgba(0,0,0,.35); }
  /* もらえるもの：公式サイトの「こんなあなたへ」と同じ、黒い角丸の座布団に白い吹き出し。
     字は LINE Seed JP（公式サイトと同じ）、金額だけ公式サイトの帯と同じピンク→オレンジ */
  .gift { margin:24px 0 0; padding:24px 18px 22px; border-radius:24px; background:#0F0F0F; text-align:center; }
  .gift h2 { margin:0 0 14px; font-size:18px; font-weight:800; letter-spacing:.06em; }
  .bubble { position:relative; margin:0 auto 20px; padding:14px 18px 12px; border-radius:18px; background:#fff; color:#222B3E; }
  .bubble::after { content:""; position:absolute; left:50%; bottom:-13px; transform:translateX(-50%); border:10px solid transparent; border-top:13px solid #fff; border-bottom:0; }
  .bubble .row { display:flex; align-items:baseline; justify-content:space-between; gap:12px; padding:6px 0; }
  .bubble .row + .row { border-top:1px dashed #D9DCE6; }
  .bubble .lbl { font-size:15px; font-weight:700; white-space:nowrap; }
  .bubble .amt { font-size:34px; font-weight:800; line-height:1.1; letter-spacing:.01em; white-space:nowrap; font-feature-settings:"palt";
    background:linear-gradient(90deg,var(--band-a),var(--band-b)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  /* STEP3 の札と同じ色：通話＝ミント→青（通話スタートのボタン）、購入＝ピンク→オレンジ */
  .bubble .amt.call { background-image:linear-gradient(90deg,var(--btn-a),var(--btn-b)); }
  .bubble .amt small { font-size:18px; margin-left:2px; }
  .bubble .also { margin:8px 0 0; padding:6px 0 0; border-top:1px solid #EEF0F5; font-size:12px; font-weight:700; color:#5B6378; }
  .bubble .also::before { content:""; display:inline-block; width:6px; height:6px; margin:0 6px 2px 0; border-radius:50%; background:var(--mint); }
  .gift .tail { margin:0; font-size:20px; font-weight:800; letter-spacing:.08em; }
  /* 「BackStage とは？」の頭は公式サイトの About と同じ形：大きな About → ロゴ＋とは？ → ピンク→オレンジの帯 */
  .about-en { margin:0; font-size:56px; font-weight:800; line-height:1.05; letter-spacing:0; text-shadow:0 4px 12px rgba(0,0,0,.4); }
  .about-h { display:flex; align-items:center; gap:4px; margin:0 0 12px; font-size:18px; font-weight:400; }
  .about-h img { display:block; height:30px; width:auto; }
  .about-band { margin:0 0 18px !important; padding:10px 18px; font-size:22px; font-weight:800; line-height:1.5; letter-spacing:.04em; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }

  /* ───── 読みやすさの調整（後勝ち） ───── */
  /* 座布団：ひと回り小さく */
  .gift { margin:20px 8px 0; padding:16px 14px 14px; border-radius:20px; }
  .gift h2 { margin:0 0 10px; font-size:15px; }
  .bubble { margin:0 auto 14px; padding:8px 16px 8px; border-radius:14px; }
  .bubble::after { bottom:-11px; border-width:9px; border-top-width:11px; }
  .bubble .row { padding:4px 0; }
  .bubble .lbl { font-size:14px; }
  .bubble .amt { font-size:26px; }
  .bubble .amt small { font-size:14px; }
  .bubble .also { margin:4px 0 0; padding:6px 0 2px; font-size:11.5px; line-height:1.5; }
  .gift .tail { font-size:16px; }
  /* 本文：段落・箇条のあいだを広げ、1行の中は少し詰める */
  .sec { margin:44px 0 0; }
  .sec p { line-height:1.75; }
  .points li { margin:0 0 12px; line-height:1.65; }
  .points li:last-child { margin-bottom:10px; }
  .tip { margin:8px 0 0 !important; line-height:1.7; }
  .path { padding:14px 16px; }
  .path li { margin:0 0 8px; line-height:1.6; }
  .path li:last-child { margin-bottom:0; }
  .flow li { padding:14px 16px; gap:14px; align-items:center; }
  .flow p { line-height:1.6; }
  .flow b { margin-bottom:2px; }
  .notes li { margin:0 0 4px; line-height:1.7; }
  /* 「新しい、帰ってくる”居場所”」の帯：横いっぱいにせず、文字の長さだけの細い帯に */
  .about-band { display:table; margin:0 0 16px !important; padding:4px 14px 5px; font-size:17px; line-height:1.5; letter-spacing:.03em; }
  /* CPを買う：CPストアへのボタンと、買い方の動画（開いたときだけ読み込む） */
  .flow li.buy { display:block; }
  .buy-top { display:flex; gap:14px; align-items:center; }
  .store-link { display:flex; align-items:center; justify-content:center; gap:6px; margin:12px 0 0; min-height:46px; border-radius:999px; font-weight:800; font-size:15px; color:#fff; text-decoration:none; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .store-link span { font-size:14px; }
  .howto { margin:10px 0 0; }
  .howto summary { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border:1px solid var(--line); border-radius:999px; cursor:pointer; list-style:none; font-size:14px; font-weight:700; color:var(--text); }
  .howto summary::-webkit-details-marker { display:none; }
  .howto summary::before { content:"▶"; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--mint); color:var(--bg); font-size:10px; padding-left:2px; }
  .howto[open] summary::before { content:"✕"; padding-left:0; }
  .howto video { display:block; width:78%; margin:12px auto 0; aspect-ratio:9/16; border-radius:14px; background:#000; }
  .howto .credit { margin:6px 0 0; text-align:center; font-size:11px !important; color:var(--text-soft); }

  /* STEP3 の札：線の分だけ幅が狭いので、札を上・説明を下に置く */
  .stepsec .flow li { display:block; }
  .stepsec .flow li > .cp, .stepsec .buy-top > .cp { display:inline-block; margin:0 0 8px; padding:3px 12px; }
  .stepsec .buy-top { display:block; }
  .stepsec .flow p { font-size:14px; }
  .stepsec .flow b { font-size:16px; margin-bottom:4px; }

  /* ───── STEP 1〜3：モーショングラフィックス ─────
     ① 丸が円を描く → ② 線が下へ伸びながら、STEP の見出しと中身が線の進みに合わせて出る
     → ③ 線が次の丸に届くと、その丸が円を描く …（次の STEP が画面に入るまでは、届いたところで待つ）
     JS が動かないとき・動きを減らす設定のときは、最初から全部見える */
  .steps { position:relative; margin-top:44px; padding-left:24px; }
  .stepsec { position:relative; margin:0 0 52px !important; }
  .stepsec:last-child { margin-bottom:8px !important; }
  .stepsec .sec-k { margin:0 0 14px; }
  .stepsec .sec-k h2 { font-size:21px; letter-spacing:.02em; }
  .stepsec > p { margin:0 0 10px; line-height:1.8; }
  .stepsec .stores { margin:14px 0 12px; }
  .stepsec .path { margin:12px 0 10px; }
  .stepsec .card { margin-top:16px !important; }
  .stepsec .flow li { margin:0 0 12px; }
  .node { position:absolute; left:-24px; top:9px; width:15px; height:15px; overflow:visible; }
  .node circle { fill:none; stroke-width:1.5; stroke-linecap:round; transform:rotate(-90deg); transform-origin:50% 50%; }
  .seg { position:absolute; left:-17.25px; top:23px; width:1.5px; height:calc(100% + 39px); border-radius:1px; transform-origin:top; }
  .stepsec:last-child .seg { height:calc(100% - 30px); -webkit-mask:linear-gradient(#000 70%, transparent); mask:linear-gradient(#000 70%, transparent); }
  .s1 .node circle { stroke:var(--btn-a); } .s1 .seg { background:linear-gradient(var(--btn-a), var(--btn-b)); }
  .s2 .node circle { stroke:var(--btn-b); } .s2 .seg { background:linear-gradient(var(--btn-b), var(--band-a)); }
  .s3 .node circle { stroke:var(--band-a); } .s3 .seg { background:linear-gradient(var(--band-a), var(--band-b)); }
  /* 動かすときだけ、はじめは隠す */
  .mg .node circle { stroke-dasharray:var(--c); stroke-dashoffset:var(--c); }
  .mg .seg { transform:scaleY(0); }
  .mg .mv { opacity:0; transform:translateY(12px); }
  .mg .node.go circle { transition:stroke-dashoffset .5s cubic-bezier(.6,0,.3,1); stroke-dashoffset:0; }
  .mg .node.go::after { content:none; }
  .mg .seg.go { transition:transform var(--t,1s) linear; transform:scaleY(1); }
  .mg .mv.go { transition:opacity .45s ease, transform .5s cubic-bezier(.2,.8,.3,1); transition-delay:var(--d,0s); opacity:1; transform:none; }
  .mg .sec-k .step.mv.go { transition:opacity .3s ease, transform .45s cubic-bezier(.3,1.6,.5,1); transition-delay:var(--d,0s); }
  .mg .sec-k .step.mv { transform:scale(.6); }
  .mg .sec-k .step.mv.go { transform:none; } /* 出たあとは元の大きさ（上の scale より強く効かせる） */

  /* ───── 条件クリアで CP（STEP の線とは切り離す） ───── */
  .goal-arrow { display:flex; justify-content:center; margin:6px 0 0; }
  .goal-arrow span { display:block; width:64px; height:58px; background:linear-gradient(var(--btn-b), var(--band-a) 55%, var(--band-b));
    clip-path:polygon(32% 0, 68% 0, 68% 46%, 100% 46%, 50% 100%, 0 46%, 32% 46%); filter:drop-shadow(0 6px 14px rgba(248,16,140,.35)); }
  .goal { margin-top:14px !important; padding:22px 16px 18px; border-radius:24px; background:#0F0F0F; }
  .goal-h { margin:0 0 16px; text-align:center; font-size:26px; font-weight:800; line-height:1.3;
    background:linear-gradient(90deg,var(--band-a),var(--band-b)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .goal-h small { display:block; font-size:15px; color:var(--text); -webkit-text-fill-color:var(--text); letter-spacing:.08em; margin-bottom:2px; }
  .goal .flow li { position:relative; display:block; margin:0 0 12px; padding:14px 16px; background:var(--panel); }
  .goal .flow li > .cp, .goal .buy-top > .cp { display:inline-block; margin:0 0 8px; padding:3px 12px; }
  .goal .buy-top { display:block; }
  .goal .flow p { font-size:14px; line-height:1.6; }
  .goal .flow b { font-size:16px; margin-bottom:4px; }
  .goal .cond { position:absolute; right:14px; top:14px; font-size:11px; font-weight:800; letter-spacing:.08em; color:var(--text-soft); border:1px solid var(--line); border-radius:999px; padding:1px 10px; }
  .goal .tip { margin:6px 2px 0 !important; }

  /* 動き：線が STEP2 の終わりに届いたら → 矢印がドンと落ちる → 見出しがポン → 条件のカードが順に出て、CP の札がキラッ */
  .mg .goal-arrow span { opacity:0; transform:translateY(-26px) scaleY(.6); }
  .mg .goal-arrow.go span { animation:arrowDrop .7s cubic-bezier(.3,1.5,.5,1) both, arrowBob 1.6s ease-in-out .9s infinite; }
  @keyframes arrowDrop { 0% { opacity:0; transform:translateY(-26px) scaleY(.6); } 100% { opacity:1; transform:none; } }
  @keyframes arrowBob { 0%,100% { transform:none; } 50% { transform:translateY(6px); } }
  .mg .goal { opacity:0; transform:scale(.96); }
  .mg .goal.go { transition:opacity .4s ease .35s, transform .5s cubic-bezier(.3,1.4,.5,1) .35s; opacity:1; transform:none; }
  .mg .goal .goal-h, .mg .goal .flow > li, .mg .goal .tip { opacity:0; transform:translateY(12px); }
  .mg .goal.go .goal-h { transition:opacity .4s ease .6s, transform .5s cubic-bezier(.3,1.6,.5,1) .6s; opacity:1; transform:none; }
  .mg .goal.go .flow > li:nth-child(1) { transition:opacity .45s ease .9s, transform .5s cubic-bezier(.2,.8,.3,1) .9s; opacity:1; transform:none; }
  .mg .goal.go .flow > li:nth-child(2) { transition:opacity .45s ease 1.15s, transform .5s cubic-bezier(.2,.8,.3,1) 1.15s; opacity:1; transform:none; }
  .mg .goal.go .tip { transition:opacity .45s ease 1.4s, transform .5s ease 1.4s; opacity:1; transform:none; }
  .goal .cp { position:relative; overflow:hidden; }
  .mg .goal.go .cp::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.7) 50%,transparent 70%); transform:translateX(-120%); animation:shine .7s ease-in-out 1.6s both; }
  @keyframes shine { to { transform:translateX(120%); } }
  /* CP の簡単な説明（はじめて見る人向け） */
  .goal .cp-what { margin:-6px auto 16px; padding:8px 12px; border-radius:12px; background:#ffffff0d; text-align:center; font-size:12px; line-height:1.6; color:var(--text-soft); }
  .goal .cp-what b { color:var(--text); }
  .goal .cp-what small { font-size:11px; opacity:.85; }
  .mg .goal .cp-what { opacity:0; }
  .mg .goal.go .cp-what { transition:opacity .4s ease .75s; opacity:1; }
  /* 公式サイトのトップと同じく、スマホの下の方に大きな BackStage のロゴを重ねる */
  .hero { height:614px; }
  .hero-logo { position:absolute; left:14px; bottom:76px; z-index:3; width:72%; max-width:300px; height:auto; filter:drop-shadow(0 4px 14px rgba(0,0,0,.55)); }
  .pre .hero-logo { opacity:0; }
  .play .hero-logo { animation:logoIn .6s cubic-bezier(.3,1.5,.5,1) .85s both; }
  @keyframes logoIn { 0% { opacity:0; transform:translateY(10px) scale(.9); } 100% { opacity:1; transform:none; } }
  .play .free { animation-delay:1.1s; }
  @media (prefers-reduced-motion: reduce) { .pre .hero-logo { opacity:1; } .play .hero-logo { animation:none; } }
  /* 帯の文字を途中で折り返さない（狭いスマホで「VTuberと」の「と」が次の行に落ちた） */
  .bands span { white-space:nowrap; }
  /* ロゴと「毎日5分〜」の下に黒い座布団（スマホの絵の上でも読めるように） */
  .hero-plate { position:absolute; left:12px; right:12px; bottom:14px; z-index:3; padding:14px 16px 12px; border-radius:20px;
    background:rgba(15,15,15,.86); -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); box-shadow:0 10px 30px rgba(0,0,0,.45); }
  .hero-plate .hero-logo { position:static; display:block; width:70%; max-width:270px; filter:none; }
  .hero-plate .free { position:static; margin:8px 0 0; font-size:16px; text-shadow:none; }
  .pre .hero-plate { opacity:0; }
  .play .hero-plate { animation:fadeUp .5s ease-out .8s both; }
  @media (prefers-reduced-motion: reduce) { .pre .hero-plate { opacity:1; } .play .hero-plate { animation:none; } }
  /* 帯の続きに、黒の四角い帯で BackStage のロゴ */
  .bands .logo-band { background:#0F0F0F; padding:12px 22px 12px 26px; margin-top:14px; }
  .bands .logo-band img { display:block; height:34px; width:auto; }
  .play .bands span.logo-band { animation-delay:.85s; }
  .play .bands span.logo-band::after { animation-delay:1.35s; }
  /* 「毎日5分〜」はロゴの帯のすぐ下（帯と同じ左の位置から） */
  .bands .free { position:static; margin:12px 0 0 26px; font-size:16px; }
  /* 第2項の見出し（第1項「BackStage とは？」と並ぶ大きさ） */
  .part-h { margin:100px 0 0; font-size:22px; font-weight:800; line-height:1.4; letter-spacing:.03em; }
  .part-h::after { content:""; display:block; width:48px; height:3px; margin:10px 0 0; border-radius:2px; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .part-h .t { display:inline-block; }
  .part-h .sub { display:block; margin-top:4px; font-size:11.5px; font-weight:700; color:var(--text-soft); letter-spacing:.04em; }
  .part-h + .steps { margin-top:28px; }
  /* 見出しの動き（STEP と同じ流れ）：文字が左から現れる → 下の線が引かれる → 小さい説明 → そのあと STEP1 の丸を描き始める */
  .mg .part-h .t { clip-path:inset(0 100% 0 0); }
  .mg .part-h::after { transform:scaleX(0); transform-origin:left; }
  .mg .part-h .sub { opacity:0; transform:translateY(8px); }
  .mg .part-h.go .t { transition:clip-path .6s cubic-bezier(.6,0,.3,1); clip-path:inset(0 0 0 0); }
  .mg .part-h.go::after { transition:transform .45s cubic-bezier(.6,0,.3,1) .45s; transform:scaleX(1); }
  .mg .part-h.go .sub { transition:opacity .4s ease .6s, transform .45s ease .6s; opacity:1; transform:none; }
  /* 見出しの左のアイコン（招待＝プレゼントの箱）。アプリのアイコンと同じ角丸の四角 */
  .part-h .row { display:flex; align-items:center; gap:10px; }
  .part-h .ico { flex:none; display:grid; place-items:center; width:32px; height:32px; border-radius:9px;
    background:linear-gradient(135deg,var(--band-a),var(--band-b)); box-shadow:0 3px 10px rgba(248,16,140,.35); }
  .part-h .ico svg { display:block; }
  .mg .part-h .ico { transform:scale(0) rotate(-20deg); }
  .mg .part-h.go .ico { transition:transform .45s cubic-bezier(.3,1.6,.5,1); transform:none; }
  .mg .part-h.go .t { transition-delay:.15s; }
  /* 条件1：キャスト診断（公式サイトの「自分に合うBSterを探す」と同じもの）。開いたときだけ読み込む */
  .finder summary::before { content:"?"; padding-left:0; font-weight:800; font-size:12px; }
  .finder[open] summary::before { content:"✕"; }
  .finder-box { margin:12px -6px 0; height:900px; border-radius:14px; overflow:hidden; background:#0F0F0F; }
  /* ページは暗い色の設定（color-scheme:dark）。診断のページは明るい設定なので、そのままだとブラウザが iframe に白い地を敷く。
     iframe 側を light にそろえると、公式サイトと同じく透けて、こちらの黒い地の上に出る */
  .finder-box iframe { display:block; width:100%; height:100%; border:0; background:transparent; color-scheme:light; }
  .finder-link { display:block; margin:8px 0 0; text-align:center; font-size:12px; font-weight:700; color:var(--mint); }
  /* 条件の細かい決まり：1行に1つ、見出し（太字）＋中身 */
  .goal .rules { margin:6px 0 0; padding:12px 14px; list-style:none; border-radius:14px; background:#ffffff0a; }
  .goal .rules li { position:relative; padding-left:14px; margin:0 0 9px; font-size:13px; line-height:1.65; color:var(--text-soft); }
  .goal .rules li:last-child { margin-bottom:0; }
  .goal .rules li::before { content:""; position:absolute; left:0; top:.62em; width:6px; height:6px; border-radius:50%; background:var(--mint); }
  .goal .rules b { display:block; color:var(--text); font-size:13px; }
  .mg .goal .rules { opacity:0; transform:translateY(12px); }
  .mg .goal.go .rules { transition:opacity .45s ease 1.4s, transform .5s ease 1.4s; opacity:1; transform:none; }
  /* 詳しい付与条件・付与の流れ（たたんでおく） */
  .terms { margin:14px 0 0; border:1px solid var(--line); border-radius:14px; background:#ffffff08; }
  .terms summary { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:48px; padding:0 16px; cursor:pointer; list-style:none; font-size:14px; font-weight:700; }
  .terms summary::-webkit-details-marker { display:none; }
  .terms summary::after { content:"＋"; flex:none; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; background:var(--mint); color:var(--bg); font-size:13px; font-weight:800; transition:transform .25s; }
  .terms[open] summary::after { transform:rotate(45deg); }
  .terms-body { padding:2px 16px 16px; }
  .terms h3 { margin:12px 0 8px; font-size:13px; font-weight:800; color:var(--mint); letter-spacing:.04em; }
  .terms ul { margin:0; padding:0; list-style:none; }
  .terms ul li { position:relative; padding-left:14px; margin:0 0 7px; font-size:12.5px; line-height:1.65; color:var(--text-soft); }
  .terms ul li::before { content:""; position:absolute; left:2px; top:.65em; width:5px; height:5px; border-radius:50%; background:var(--text-soft); }
  .terms-flow { margin:0; padding:0; list-style:none; counter-reset:f; }
  .terms-flow li { position:relative; padding:0 0 12px 34px; font-size:12.5px; line-height:1.6; color:var(--text-soft); counter-increment:f; }
  .terms-flow li::before { content:counter(f); position:absolute; left:0; top:0; width:22px; height:22px; border-radius:50%; display:grid; place-items:center; background:var(--panel); border:1px solid var(--mint); color:var(--mint); font-size:12px; font-weight:800; }
  .terms-flow li:not(:last-child)::after { content:""; position:absolute; left:10.5px; top:24px; bottom:2px; width:1px; background:var(--line); }
  .terms-flow b { display:block; color:var(--text); font-size:13px; }
  .terms .when { font-size:10.5px; opacity:.7; }
  .terms ul li a { color:var(--mint); }
  /* 「この招待から始めると」の下の期間の注釈（小さく・控えめに） */
  .gift .period { margin:-8px 0 12px; font-size:10.5px; line-height:1.5; color:var(--text-soft); letter-spacing:0; }
  .gift .period span { white-space:nowrap; } /* 狭い画面では「に始めた方限定」の前で折り返す */
  /* 「BackStage とは？」の動き（「招待の受け取り方」と同じ流れ）：
     ロゴ＋とは？が左から現れる → ピンクの帯が左から伸びる → 箇条が1つずつ（点がポン → 文字がふわっ）→ リンク */
  .av .about-sec .about-h { clip-path:inset(0 100% 0 0); }
  .av .about-sec .about-band { clip-path:inset(0 100% 0 0); }
  .av .about-sec .points li { opacity:0; transform:translateY(10px); }
  .av .about-sec .points li::before { transform:scale(0); }
  .av .about-sec .more { opacity:0; }
  .av .about-sec.go .about-h { transition:clip-path .6s cubic-bezier(.6,0,.3,1); clip-path:inset(0 0 0 0); }
  .av .about-sec.go .about-band { transition:clip-path .55s cubic-bezier(.6,0,.3,1) .35s; clip-path:inset(0 0 0 0); }
  .av .about-sec.go .points li { transition:opacity .45s ease, transform .5s cubic-bezier(.2,.8,.3,1); transition-delay:calc(.75s + var(--i) * .12s); opacity:1; transform:none; }
  .av .about-sec.go .points li::before { transition:transform .35s cubic-bezier(.3,1.8,.5,1); transition-delay:calc(.7s + var(--i) * .12s); transform:none; }
  .av .about-sec.go .more { transition:opacity .4s ease 1.3s; opacity:1; }
  /* 「この招待から始めると」の動き：見出し → 期間 → 吹き出しがポン → 金額が1行ずつ（数字がキラッ）→ 「もらえます！」 */
  .av .gift h2, .av .gift .period, .av .gift .tail { opacity:0; transform:translateY(8px); }
  .av .gift .bubble { opacity:0; transform:scale(.85); }
  .av .gift .bubble .row, .av .gift .bubble .also { opacity:0; transform:translateX(-10px); }
  .av .gift.go h2 { transition:opacity .4s ease, transform .45s ease; opacity:1; transform:none; }
  .av .gift.go .period { transition:opacity .4s ease .15s, transform .45s ease .15s; opacity:1; transform:none; }
  .av .gift.go .bubble { transition:opacity .3s ease .3s, transform .5s cubic-bezier(.3,1.5,.5,1) .3s; opacity:1; transform:none; }
  .av .gift.go .bubble .row:nth-child(1) { transition:opacity .4s ease .6s, transform .45s ease .6s; opacity:1; transform:none; }
  .av .gift.go .bubble .row:nth-child(2) { transition:opacity .4s ease .78s, transform .45s ease .78s; opacity:1; transform:none; }
  .av .gift.go .bubble .also { transition:opacity .4s ease .96s, transform .45s ease .96s; opacity:1; transform:none; }
  .av .gift.go .tail { transition:opacity .4s ease 1.1s, transform .5s cubic-bezier(.3,1.6,.5,1) 1.1s; opacity:1; transform:none; }
  .gift .bubble .amt { position:relative; }

  /* ───── オープニング「招待が届きました！」（約3.5秒） ─────
     封筒が下から届く（着信の輪）→ 封が開く → 中から BackStage の招待カードがせり上がる（キラッ）
     → 「友だちから／招待が届きました！」→ ピンク→オレンジの帯が画面を横切り、その下からページが出る。
     出すかどうかは body の先頭の script が決める（html に op-on が付いたときだけ見える）。
     JS が動かない・2回目・動きを減らす設定のときは、最初から出ない */
  #op { display:none; }
  .op-lock, .op-lock body { overflow:hidden; }
  .op-on #op { display:block; position:fixed; inset:0; z-index:1000; overflow:hidden; cursor:pointer; touch-action:none;
    -webkit-user-select:none; user-select:none; -webkit-tap-highlight-color:transparent;
    background:radial-gradient(120% 70% at 50% 44%, #3d315c 0%, #2b2540 42%, var(--bg) 100%); }
  /* うしろを流れる、線だけの英字（ページの「BACKSTAGE」と同じ書体） */
  .op-word { position:absolute; left:0; white-space:nowrap; font-family:"Bebas Neue",sans-serif; font-size:132px; line-height:1; letter-spacing:.02em;
    color:transparent; -webkit-text-stroke:1.5px rgba(255,255,255,.13); animation:opFade .6s ease both, opDriftL 16s linear infinite; }
  .op-word.w1 { top:9%; }
  .op-word.w2 { bottom:13%; animation-name:opFade, opDriftR; -webkit-text-stroke-color:rgba(0,204,180,.2); }
  @keyframes opFade { from { opacity:0; } }
  @keyframes opDriftL { from { transform:translateX(0); } to { transform:translateX(-50%); } }
  @keyframes opDriftR { from { transform:translateX(-50%); } to { transform:translateX(0); } }
  .op-stage { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; padding-bottom:7vh; }
  .op-fit { flex:none; display:flex; flex-direction:column; align-items:center; }
  @media (min-width:360px) and (min-height:680px) { .op-fit { transform:scale(1.12); } }
  @media (min-width:410px) and (min-height:760px) { .op-fit { transform:scale(1.2); } }
  /* 封筒（248×164）。上に 112px、カードがせり上がる場所を空けておく */
  .op-env { position:relative; flex:none; width:248px; height:164px; margin-top:112px; animation:opEnvIn .62s cubic-bezier(.2,.9,.25,1.18) .1s both; }
  @keyframes opEnvIn { from { opacity:0; transform:translateY(62vh) rotate(-16deg); } 20% { opacity:1; } to { opacity:1; transform:none; } }
  .op-env > * { position:absolute; }
  .op-shadow { inset:0; transform:translate(9px,10px); background:var(--mint); border-radius:3px; }
  .op-back { inset:0; z-index:1; border-radius:3px; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .op-slot { left:0; right:0; bottom:0; top:-220px; z-index:2; overflow:hidden; }   /* カードを封筒の底で切る */
  .op-card { position:absolute; left:17px; right:17px; top:230px; height:200px; padding:15px 0 0; text-align:center; border-radius:10px;
    border:2px solid transparent; background:linear-gradient(#0F0F0F,#0F0F0F) padding-box, linear-gradient(90deg,var(--band-a),var(--band-b)) border-box;
    animation:opCard .68s cubic-bezier(.2,.9,.3,1.12) 1.3s both; }
  @keyframes opCard { from { transform:none; } to { transform:translateY(-112px); } }
  .op-card .en { display:flex; align-items:center; justify-content:center; gap:8px; font-family:"Bebas Neue",sans-serif; font-size:15px; line-height:1; letter-spacing:.34em; color:var(--mint); }
  .op-card .en::before, .op-card .en::after { content:""; width:18px; height:1.5px; background:var(--mint); }
  .op-card .en span { margin-right:-.34em; }
  .op-card img { display:block; width:158px; height:auto; margin:11px auto 0; }
  .op-card .bar { display:block; width:44px; height:3px; margin:12px auto 0; border-radius:2px; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .op-front { inset:0; z-index:3; }
  .op-front svg, .op-flap svg { display:block; overflow:visible; }
  /* ふた：上の辺を軸にして手前へ起き上がり、裏（ピンク→オレンジ）を見せて開く。開いたらカードの後ろへ回る */
  .op-flap { left:0; top:0; width:248px; height:100px; z-index:5; transform-origin:50% 0; transform-style:preserve-3d; -webkit-transform-style:preserve-3d;
    animation:opFlap .52s cubic-bezier(.5,0,.3,1) .98s both, opFlapZ .01s linear 1.24s forwards; }
  .op-flap svg { position:absolute; left:0; top:0; -webkit-backface-visibility:hidden; backface-visibility:hidden; }
  .op-flap .in { transform:rotateY(180deg); }   /* 裏の面（左右対称なので、形は表と同じ） */
  @keyframes opFlap { from { transform:perspective(700px) rotateX(0deg); } to { transform:perspective(700px) rotateX(180deg); } }
  @keyframes opFlapZ { to { z-index:1; } }
  .op-seal { transform-box:fill-box; transform-origin:50% 50%; animation:opPop .4s cubic-bezier(.3,1.7,.5,1) .62s both; }
  @keyframes opPop { from { opacity:0; transform:scale(0); } to { opacity:1; transform:none; } }
  /* 着信の輪（封筒が届いたとき） */
  .op-ring { left:50%; top:50%; width:190px; height:190px; margin:-95px 0 0 -95px; border-radius:50%; border:2px solid var(--mint); opacity:0; animation:opRing .9s ease-out .58s both; }
  .op-ring.r2 { border-color:var(--band-a); animation-delay:.76s; }
  @keyframes opRing { from { opacity:.85; transform:scale(.5); } to { opacity:0; transform:scale(1.75); } }
  /* カードが出たときの光の粒 */
  .op-sp { z-index:6; width:22px; height:22px; margin:-11px 0 0 -11px; opacity:0; animation:opSpark .5s cubic-bezier(.3,1.7,.5,1) var(--d,1.6s) both, opTw 1s ease-in-out calc(var(--d,1.6s) + .5s) infinite alternate; }
  .op-sp svg { display:block; width:100%; height:100%; }
  @keyframes opSpark { from { opacity:0; transform:scale(0) rotate(-60deg); } to { opacity:1; transform:scale(var(--s,1)); } }
  @keyframes opTw { from { opacity:1; transform:scale(var(--s,1)); } to { opacity:1; transform:scale(calc(var(--s,1) * .55)) rotate(20deg); } }
  /* ことば：ページの帯と同じピンク→オレンジの帯 */
  .op-msg { flex:none; margin:34px 0 0; text-align:center; line-height:1; }
  .op-msg .from { display:block; margin:0 0 12px; font-size:15px; font-weight:700; letter-spacing:.22em; text-indent:.22em; color:#fff; animation:opUp .4s ease-out 1.75s both; }
  .op-msg .band { position:relative; display:inline-block; overflow:hidden; padding:9px 18px 10px; font-size:25px; font-weight:800; line-height:1.3; white-space:nowrap; color:#fff;
    background:linear-gradient(90deg,var(--band-a),var(--band-b)); animation:opBand .45s cubic-bezier(.6,0,.3,1) 1.9s both; }
  .op-msg .band::after { content:""; position:absolute; inset:0; background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.6) 50%,transparent 70%); transform:translateX(-120%); animation:shine .7s ease-in-out 2.4s both; }
  @keyframes opUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:none; } }
  @keyframes opBand { from { clip-path:inset(0 100% 0 0); } to { clip-path:inset(0 0 0 0); } }
  /* とばす（下のまん中・指が届く場所。画面のどこを押しても飛ばせる） */
  .op-skip { position:absolute; left:50%; bottom:calc(26px + env(safe-area-inset-bottom, 0px)); transform:translateX(-50%); min-width:104px; min-height:44px; padding:0 22px;
    border:1px solid rgba(255,255,255,.45); border-radius:999px; background:rgba(15,15,15,.55); color:#fff; font:inherit; font-size:13px; font-weight:700; letter-spacing:.12em; cursor:pointer;
    animation:opFade .4s ease .35s both; }
  /* 終わり：帯が左から画面をおおい（op-out）、おおった瞬間に中身を消して（op-open）、右へ抜ける */
  .op-wipe { position:absolute; top:-10%; bottom:-10%; left:-35%; width:170%; background:linear-gradient(90deg,var(--band-a),var(--band-b)); transform:translateX(-116%) skewX(-14deg); }
  .op-wipe::after { content:""; position:absolute; top:0; bottom:0; right:-22px; width:22px; background:var(--mint); }
  .op-out .op-wipe { animation:opWipe .8s cubic-bezier(.65,0,.3,1) both; }
  @keyframes opWipe { 0% { transform:translateX(-116%) skewX(-14deg); } 46%, 50% { transform:translateX(0) skewX(-14deg); } 100% { transform:translateX(116%) skewX(-14deg); } }
  .op-on #op.op-open { background:transparent; pointer-events:none; }
  #op.op-open > :not(.op-wipe) { visibility:hidden; }
  #op.op-skipped { opacity:0; pointer-events:none; transition:opacity .22s ease; }
  @media (max-height:600px) { .op-env { margin-top:96px; } .op-msg { margin-top:24px; } .op-skip { bottom:12px; } }
  /* ═════ 試作4：オープニング → チュートリアル（タップで1枚ずつ）→ 申し込みのページ ═════ */
  main { padding-top:20px; }
  /* オープニングの最後に「招待をひらく」ボタン（自動では進まない）。出るまでは押せない */
  .op-cta { position:absolute; left:50%; bottom:calc(36px + env(safe-area-inset-bottom, 0px)); z-index:7; transform:translateX(-50%);
    min-width:230px; min-height:56px; padding:0 30px; border:0; border-radius:999px; cursor:pointer; pointer-events:none;
    background:linear-gradient(90deg,var(--band-a),var(--band-b)); color:#fff; font:inherit; font-size:17px; font-weight:800; letter-spacing:.12em; text-indent:.12em;
    box-shadow:0 10px 26px rgba(248,16,140,.4);
    animation:opCtaIn .5s cubic-bezier(.3,1.5,.5,1) 2.55s both, opCtaPulse 1.8s ease-in-out 3.3s infinite; }
  .op-cta::after { content:""; position:absolute; inset:0; border-radius:inherit; background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.55) 50%,transparent 70%); transform:translateX(-120%); animation:shine .8s ease-in-out 3.1s both; overflow:hidden; }
  .op-cta { overflow:hidden; }
  #op.op-ready .op-cta { pointer-events:auto; }
  @keyframes opCtaIn { from { opacity:0; transform:translate(-50%,18px) scale(.9); } to { opacity:1; transform:translate(-50%,0); } }
  @keyframes opCtaPulse { 0%,100% { box-shadow:0 10px 26px rgba(248,16,140,.4); } 50% { box-shadow:0 10px 34px rgba(248,16,140,.7), 0 0 0 7px rgba(248,16,140,.14); } }
  .op-cta:active { transform:translate(-50%,0) scale(.97); }
  /* 途中で画面を押したら、最後の形（ボタンが出た状態）まで一気に進める */
  #op.op-fast .op-fit, #op.op-fast .op-fit *:not(.op-sp) { animation-delay:0s !important; animation-duration:.01s !important; }
  #op.op-fast .op-sp { animation:opSpark .3s cubic-bezier(.3,1.7,.5,1) both !important; }
  #op.op-fast .op-cta { animation:opCtaIn .4s cubic-bezier(.3,1.5,.5,1) both, opCtaPulse 1.8s ease-in-out .7s infinite !important; }
  #op.op-fast .op-cta::after { animation:none; }
  @media (max-height:600px) { .op-cta { bottom:14px; } }

  /* ───── チュートリアル ───── */
  #tut[hidden] { display:none; }
  #tut { position:fixed; inset:0; z-index:900; display:flex; flex-direction:column; color:var(--text);
    background:radial-gradient(120% 70% at 50% 44%, #3d315c 0%, #2b2540 42%, var(--bg) 100%);
    -webkit-tap-highlight-color:transparent; transition:opacity .3s ease; }
  #tut.tut-out { opacity:0; pointer-events:none; }
  .tut-top { flex:none; display:flex; align-items:center; gap:14px; width:100%; max-width:480px; margin:0 auto; padding:calc(14px + env(safe-area-inset-top, 0px)) 16px 6px; }
  .tut-bars { flex:1; display:flex; gap:6px; }
  .tut-bars i { position:relative; flex:1; height:3px; border-radius:2px; background:#ffffff2e; overflow:hidden; }
  .tut-bars i::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--band-a),var(--band-b)); transform:scaleX(0); transform-origin:left; transition:transform .45s ease; }
  .tut-bars i.on::after { transform:none; }
  .tut-skip { flex:none; min-height:44px; padding:0 4px; border:0; background:none; color:var(--text-soft); font:inherit; font-size:13px; font-weight:700; letter-spacing:.06em; cursor:pointer; }
  .tut-track { position:relative; flex:1; width:100%; max-width:480px; margin:0 auto; overflow:hidden; cursor:pointer; }
  .tut-slide { position:absolute; inset:0; overflow-y:auto; overscroll-behavior:contain; padding:6px 20px 12px; cursor:auto;
    transition:transform .5s cubic-bezier(.6,0,.2,1), opacity .4s ease; }
  .tut-slide.is-prev { transform:translateX(-28%); opacity:0; pointer-events:none; }
  .tut-slide.is-next { transform:translateX(100%); opacity:0; pointer-events:none; }
  .tut-in { min-height:100%; display:flex; flex-direction:column; justify-content:center; padding:4px 0; }
  .tut-k { display:flex; align-items:center; gap:10px; margin:0 0 10px; font-family:"Bebas Neue",sans-serif; font-size:16px; line-height:1; letter-spacing:.2em; color:var(--mint); }
  .tut-k span { font-size:26px; letter-spacing:.04em; color:#fff; }
  .tut-nav { flex:none; display:flex; gap:10px; width:100%; max-width:480px; margin:0 auto; padding:8px 16px calc(18px + env(safe-area-inset-bottom, 0px)); }
  .tut-back { flex:none; width:56px; min-height:54px; border:1px solid var(--line); border-radius:999px; background:#0F0F0F80; color:#fff; font:inherit; font-size:18px; cursor:pointer; }
  .tut-back.off { visibility:hidden; }
  .tut-next { flex:1; min-height:54px; border:0; border-radius:999px; cursor:pointer; color:#fff; font:inherit; font-size:16px; font-weight:800; letter-spacing:.1em;
    background:linear-gradient(90deg,var(--band-a),var(--band-b)); box-shadow:0 8px 22px rgba(248,16,140,.3); transition:transform .08s; }
  .tut-next.last { background:linear-gradient(90deg,var(--btn-a),var(--btn-b)); box-shadow:0 8px 22px rgba(8,193,181,.3); }
  .tut-next:active, .tut-back:active { transform:scale(.97); }
  .tut-hint { margin:6px 0 0; text-align:center; font-size:11px; color:var(--text-soft); opacity:.8; }

  /* 1枚目：BackStage とは？（スマホ＋帯を横に並べ、その下に説明） */
  .tut .about-h { margin:0 0 14px; font-size:20px; }
  .tut .about-h img { height:34px; }
  .ab-row { display:flex; align-items:center; gap:16px; margin:0 0 16px; }
  .ab-phone { flex:none; width:106px; filter:drop-shadow(0 12px 22px rgba(0,0,0,.5)); }
  .art-slider { position:relative; width:100%; aspect-ratio:9/19.5; overflow:hidden; line-height:0; }
  .art-slider img { position:absolute; inset:0; width:100%; height:100%; opacity:0; transition:opacity 1s ease; }
  .art-slider img.on { opacity:1; }
  .ab-bands span { display:table; margin:0 0 8px; padding:4px 14px 5px; font-size:18px; font-weight:800; line-height:1.4; white-space:nowrap; color:#fff; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .tut .about-band { margin:0 0 14px !important; font-size:15px; }
  .tut .points li { margin:0 0 9px; font-size:14px; line-height:1.6; }
  .av .about-sec .ab-phone { opacity:0; transform:translateY(40px) rotate(-5deg); }
  .av .about-sec .ab-bands span { opacity:0; transform:translateX(-24px); }
  .av .about-sec.go .ab-phone { transition:opacity .5s ease .2s, transform .8s cubic-bezier(.2,.9,.25,1.15) .2s; opacity:1; transform:none; }
  .av .about-sec.go .ab-bands span { transition:opacity .4s ease, transform .5s cubic-bezier(.2,.9,.3,1); opacity:1; transform:none; }
  .av .about-sec.go .ab-bands span:nth-child(1) { transition-delay:.45s; } .av .about-sec.go .ab-bands span:nth-child(2) { transition-delay:.58s; } .av .about-sec.go .ab-bands span:nth-child(3) { transition-delay:.71s; }
  .av .tut .about-sec.go .about-band { transition-delay:.95s; }
  .av .tut .about-sec.go .points li { transition-delay:calc(1.2s + var(--i) * .12s); }
  .av .tut .about-sec.go .points li::before { transition-delay:calc(1.15s + var(--i) * .12s); }

  /* 「CP（アプリ内ポイント）」は次の1枚（CP がもらえる）につながる言葉なので、アプリと同じミントの太字で目立たせる
     （ピンクの下線マーカーは白い字と重なって読みにくかった） */
  .cp-em { font-weight:800; color:var(--mint); white-space:nowrap; }
  /* 2枚目：この招待から始めると（ページ版より大きく） */
  .tut .gift { margin:0; padding:22px 18px 20px; border-radius:24px; }
  .tut .gift h2 { margin:0 0 14px; font-size:18px; }
  .tut .gift .period { margin:-8px 0 14px; font-size:10.5px; }
  .tut .bubble { margin:0 auto 18px; padding:12px 18px 10px; border-radius:18px; }
  .tut .bubble::after { bottom:-13px; border-width:10px; border-top-width:13px; }
  .tut .bubble .row { padding:6px 0; }
  .tut .bubble .lbl { font-size:15px; }
  .tut .bubble .amt { font-size:34px; }
  .tut .bubble .amt small { font-size:18px; }
  .tut .bubble .also { margin:6px 0 0; padding:8px 0 2px; font-size:12px; }
  .tut .gift .tail { font-size:20px; }
  .tut .cp-what { margin:16px 0 0; padding:10px 14px; border-radius:14px; background:#ffffff0d; text-align:center; font-size:12.5px; line-height:1.65; color:var(--text-soft); }
  .tut .cp-what b { color:var(--text); }
  .tut .cp-what small { font-size:11px; opacity:.85; }
  .av .tut .cp-what { opacity:0; transform:translateY(8px); }
  .av .tut .go .cp-what { transition:opacity .4s ease 1.35s, transform .45s ease 1.35s; opacity:1; transform:none; }

  /* 3枚目：招待の受け取り方（STEP の線 → 矢印 → 条件クリアで CP を、1枚に縮めて） */
  .tut .part-h { margin:0 0 18px; }
  .how { position:relative; margin:0; padding:0 0 0 26px; list-style:none; }
  .how::before { content:""; position:absolute; left:6.5px; top:12px; bottom:14px; width:1.5px; border-radius:1px; background:linear-gradient(var(--btn-a), var(--btn-b) 55%, var(--band-a)); transform-origin:top; }
  .how li { position:relative; margin:0 0 16px; }
  .how li::before { content:""; position:absolute; left:-26px; top:5px; width:11px; height:11px; border-radius:50%; border:1.5px solid var(--btn-a); background:var(--bg); }
  .how li + li::before { border-color:var(--btn-b); }
  .how .step { display:inline-block; margin:0 8px 0 0; padding:2px 9px; border-radius:999px; background:var(--mint); color:var(--bg); font-size:11px; font-weight:800; letter-spacing:.06em; vertical-align:2px; }
  .how b { font-size:17px; font-weight:800; }
  .how small { display:block; margin:3px 0 0; font-size:12.5px; line-height:1.6; color:var(--text-soft); }
  .how-arrow { display:flex; justify-content:center; margin:0 0 4px; }
  .how-arrow span { display:block; width:44px; height:40px; background:linear-gradient(var(--btn-b), var(--band-a) 55%, var(--band-b));
    clip-path:polygon(32% 0, 68% 0, 68% 46%, 100% 46%, 50% 100%, 0 46%, 32% 46%); filter:drop-shadow(0 6px 14px rgba(248,16,140,.35)); }
  .how-goal { padding:14px 14px 12px; border-radius:20px; background:#0F0F0F; }
  .how-goal .gh { display:block; margin:0 0 10px; text-align:center; font-size:19px; font-weight:800;
    background:linear-gradient(90deg,var(--band-a),var(--band-b)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .how-goal ul { margin:0; padding:0; list-style:none; }
  .how-goal li { display:flex; align-items:center; gap:10px; margin:0 0 8px; padding:9px 12px; border-radius:12px; background:var(--panel); font-size:13.5px; font-weight:700; line-height:1.45; }
  .how-goal .cp { flex:none; min-width:88px; text-align:center; padding:3px 6px; border-radius:8px; white-space:nowrap; font-size:14px; font-weight:800; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .how-goal .cp.mint { background:linear-gradient(90deg,var(--btn-a),var(--btn-b)); }
  .how-goal p { margin:2px 0 0; text-align:center; font-size:11.5px; color:var(--text-soft); }
  /* 動き：見出し → 線が伸びながら STEP1・2 → 矢印がドン → 条件クリアで CP */
  .av .tut .how::before { transform:scaleY(0); }
  .av .tut .how li { opacity:0; transform:translateY(10px); }
  .av .tut .how li::before { transform:scale(0); }
  .av .tut .how-arrow span { opacity:0; transform:translateY(-20px) scaleY(.6); }
  .av .tut .how-goal { opacity:0; transform:scale(.95); }
  .av .tut .how-goal li, .av .tut .how-goal p, .av .tut .how-goal .gh { opacity:0; transform:translateY(8px); }
  .av .tut .go .how::before { transition:transform 1s linear .75s; transform:none; }
  .av .tut .go .how li::before { transition:transform .35s cubic-bezier(.3,1.8,.5,1); transform:none; }
  .av .tut .go .how li { transition:opacity .45s ease, transform .5s cubic-bezier(.2,.8,.3,1); opacity:1; transform:none; }
  .av .tut .go .how li:nth-child(1), .av .tut .go .how li:nth-child(1)::before { transition-delay:.75s; }
  .av .tut .go .how li:nth-child(2), .av .tut .go .how li:nth-child(2)::before { transition-delay:1.3s; }
  .av .tut .go .how-arrow span { animation:arrowDrop .7s cubic-bezier(.3,1.5,.5,1) 1.8s both, arrowBob 1.6s ease-in-out 2.7s infinite; }
  .av .tut .go .how-goal { transition:opacity .4s ease 2.1s, transform .5s cubic-bezier(.3,1.4,.5,1) 2.1s; opacity:1; transform:none; }
  .av .tut .go .how-goal .gh { transition:opacity .4s ease 2.3s, transform .45s cubic-bezier(.3,1.6,.5,1) 2.3s; opacity:1; transform:none; }
  .av .tut .go .how-goal li:nth-child(1) { transition:opacity .4s ease 2.5s, transform .45s ease 2.5s; opacity:1; transform:none; }
  .av .tut .go .how-goal li:nth-child(2) { transition:opacity .4s ease 2.65s, transform .45s ease 2.65s; opacity:1; transform:none; }
  .av .tut .go .how-goal p { transition:opacity .4s ease 2.85s, transform .45s ease 2.85s; opacity:1; transform:none; }

  /* 狭い・低い画面では少し詰める */
  @media (max-height:700px) {
    .ab-phone { width:96px; } .ab-bands span { font-size:16px; margin-bottom:7px; } .ab-row { margin-bottom:14px; }
    .tut-k { margin-bottom:6px; } .tut .about-h { margin-bottom:10px; } .tut .about-band { margin-bottom:10px !important; }
    .tut .points li { margin-bottom:5px; font-size:13px; line-height:1.55; }
    .tut .bubble .amt { font-size:30px; }
    .how li { margin-bottom:12px; }
  }
  @media (prefers-reduced-motion: reduce) { .tut-slide, .tut-bars i::after { transition:none; } }


  /* ───── 招待 → BackStage とは？ をつなげる ─────
     「招待をひらく」を押すと、封筒は下へ落ち、ことばとボタンは消える。
     カードの BackStage ロゴだけが残って、ふわっと浮いてから「BackStage とは？」の見出しの位置まで飛んでいき、そこに収まる。
     うしろの地はオープニングとチュートリアルで同じなので、画面は切り替わらずに説明が組み上がっていく */
  .op-on #op.op-leave { background:transparent; cursor:default; }
  /* 入ってきたときの動き（animation）が付いている部品は、transition では動かないので、出ていく動きも animation で付ける */
  #op.op-leave .op-env { animation:opEnvOut .62s cubic-bezier(.5,0,.75,0) both; }
  @keyframes opEnvOut { 0% { transform:none; opacity:1; } 30% { opacity:1; } 100% { transform:translateY(60vh) rotate(9deg); opacity:0; } }
  #op.op-leave .op-card img { visibility:hidden; }
  #op.op-leave .op-msg { transition:opacity .3s ease, transform .35s ease; opacity:0; transform:translateY(18px); }
  #op.op-leave .op-cta, #op.op-leave .op-hint, #op.op-leave .op-hint i { animation:none !important; transition:opacity .2s ease; opacity:0; pointer-events:none; }
  #op.op-leave .op-word { animation-name:opOut, opDriftL; animation-duration:.45s, 16s; animation-timing-function:ease, linear; animation-fill-mode:both, none; animation-iteration-count:1, infinite; }
  #op.op-leave .op-word.w2 { animation-name:opOut, opDriftR; }
  @keyframes opOut { from { opacity:1; } to { opacity:0; } }

  /* 手紙を上にフリックしてもひらく：指に合わせて少し持ち上がり、上へ払うと「招待をひらく」と同じ動きで進む */
  .op-stage { transition:transform .35s cubic-bezier(.3,1.4,.5,1); }
  .op-stage.drag { transition:none; }
  /* 上へ払える合図：文字は出さず、山形（︿）3つが下から順に光って上へ流れる */
  .op-hint { position:absolute; left:50%; bottom:calc(104px + env(safe-area-inset-bottom, 0px)); z-index:7; width:24px; height:34px; margin:0 0 0 -12px; animation:opCtaHint .5s ease 2.8s both; }
  .op-hint i { position:absolute; left:6px; width:12px; height:12px; border-left:2.5px solid #fff; border-top:2.5px solid #fff; border-radius:2px 0 0 0; opacity:0;
    transform:rotate(45deg); animation:opChev 1.5s ease-in-out 3.2s infinite; }
  .op-hint i:nth-child(1) { top:0;  animation-delay:3.5s; }
  .op-hint i:nth-child(2) { top:9px; animation-delay:3.35s; }
  .op-hint i:nth-child(3) { top:18px; animation-delay:3.2s; }
  @keyframes opCtaHint { from { opacity:0; } to { opacity:1; } }
  @keyframes opChev { 0% { opacity:0; transform:translateY(5px) rotate(45deg); } 35% { opacity:.95; } 70%,100% { opacity:0; transform:translateY(-5px) rotate(45deg); } }
  #op.op-fast .op-hint { animation-delay:.2s; }
  #op.op-fast .op-hint i:nth-child(1) { animation-delay:.9s; } #op.op-fast .op-hint i:nth-child(2) { animation-delay:.75s; } #op.op-fast .op-hint i:nth-child(3) { animation-delay:.6s; }
  #op.op-leave .op-hint { animation:none; transition:opacity .2s ease; opacity:0; }
  @media (max-height:600px) { .op-hint { bottom:80px; } }
  /* 途中で押して早送りした（op-fast）あとでも、出ていく動きは早送りしない */
  #op.op-leave.op-leave .op-env.op-env { animation:opEnvOut .62s cubic-bezier(.5,0,.75,0) both !important; }
  /* フリックでひらいたときは、払った勢いのまま封筒を画面の上まで飛ばしきる */
  #op.op-leave.op-up .op-env.op-env { animation:opEnvUp .7s cubic-bezier(.4,.25,.45,1) both !important; }
  @keyframes opEnvUp { 0% { transform:none; } 100% { transform:translateY(-120vh) rotate(-8deg); } }

  /* アプリを入れて戻ってきた人の近道（目立たせない文字のリンク。押すと STEP 2 へ直行） */
  .op-cta { bottom:calc(52px + env(safe-area-inset-bottom, 0px)); }
  .op-hint { bottom:calc(120px + env(safe-area-inset-bottom, 0px)); }
  .op-return { position:absolute; left:50%; bottom:calc(10px + env(safe-area-inset-bottom, 0px)); z-index:7; transform:translateX(-50%); min-height:44px; padding:0 12px;
    border:0; background:none; white-space:nowrap; font:inherit; font-size:12px; font-weight:700; color:var(--text-soft); cursor:pointer; pointer-events:none; animation:opCtaHint .5s ease 2.8s both; }
  .op-return u { margin-left:4px; color:#fff; text-decoration:none; border-bottom:1px solid #ffffff66; }
  #op.op-ready .op-return { pointer-events:auto; }
  #op.op-fast .op-return { animation-delay:.2s; }
  #op.op-leave .op-return { animation:none !important; opacity:0; pointer-events:none; }
  @media (max-height:600px) { .op-cta { bottom:40px; } .op-hint { bottom:100px; } .op-return { bottom:2px; } }
  /* STEP 2 の対象の注記（近道で説明を飛ばした人にも見えるように） */
  .elig { margin:-2px 0 10px; font-size:11.5px; color:var(--text-soft); }
  .op-fly { position:fixed; z-index:1100; display:block; margin:0; pointer-events:none; transform-origin:0 0; will-change:transform; filter:drop-shadow(0 6px 18px rgba(248,16,140,.35)); }
  /* 飛んでいるあいだは、チュートリアルの上下（線・スキップ・ボタン）を隠しておき、収まってから出す */
  #tut .tut-top, #tut .tut-nav { transition:opacity .45s ease; }
  #tut.tut-enter .tut-top, #tut.tut-enter .tut-nav { opacity:0; pointer-events:none; }
  /* ロゴが収まった見出しは、ロゴはそのまま・「とは？」だけ横から出す */
  .about-h .wa { display:inline-block; }
  .av .tut .about-sec.landed .about-h { clip-path:none; transition:none; }
  .av .tut .about-sec.landed.go .about-h .wa { animation:waIn .45s cubic-bezier(.2,.8,.3,1) .05s both; }
  .av .tut .tut-k { opacity:0; transform:translateY(6px); }
  .av .tut .go .tut-k { transition:opacity .4s ease .1s, transform .45s ease .1s; opacity:1; transform:none; }
  @keyframes waIn { from { opacity:0; transform:translateX(-10px); } to { opacity:1; transform:none; } }

  /* ═════ 説明のあと：1画面に1ステップ（① アプリを入れる → ② 申し込む → ③ CPを受け取る） ═════ */
  /* STEP の札（説明3枚目と、ステップの見出しで同じ形。3枚目の札がそのまま見出しへ飛ぶ） */
  .st { display:inline-flex; align-items:center; gap:8px; white-space:nowrap; }
  .st .step { display:inline-block; padding:2px 9px; border-radius:999px; background:var(--mint); color:var(--bg); font-size:11px; font-weight:800; letter-spacing:.06em; line-height:1.5; }
  .st b { font-size:17px; font-weight:800; line-height:1.4; }
  .how .st .step { margin:0; vertical-align:baseline; }
  .fly-step { position:fixed; z-index:1100; margin:0; pointer-events:none; transform-origin:0 0; color:#fff; font-family:inherit; }
  /* 説明3枚目を閉じるとき：STEP 1 の札だけ残して、ほかは消える */
  .tut-slide.leaving .tut-k, .tut-slide.leaving .part-h, .tut-slide.leaving .how li:nth-child(2), .tut-slide.leaving .how li small,
  .tut-slide.leaving .how-arrow, .tut-slide.leaving .how-goal { transition:opacity .25s ease 0s !important; opacity:0 !important; }
  .tut-slide.leaving .how::before, .tut-slide.leaving .how li::before { transition:opacity .25s ease 0s !important; opacity:0 !important; }

  /* 進み具合（上に貼りつく） */
  .stepper { position:sticky; top:0; z-index:50; margin:0 -16px; padding:12px 16px 10px; background:rgba(28,28,46,.94); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border-bottom:1px solid #ffffff14; }
  .stepper ol { position:relative; display:flex; justify-content:space-between; margin:0; padding:0; list-style:none; }
  .stepper ol::before, .stepper ol::after { content:""; position:absolute; left:16.66%; right:16.66%; top:13px; height:2px; border-radius:1px; background:#ffffff22; }
  .stepper ol::after { background:linear-gradient(90deg,var(--btn-a),var(--btn-b)); transform-origin:left; transform:scaleX(var(--p,0)); transition:transform .5s cubic-bezier(.6,0,.3,1); }
  .stepper li { position:relative; z-index:1; flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; font-size:11px; font-weight:700; color:var(--text-soft); }
  .stepper li i { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; font-style:normal; font-size:13px; font-weight:800; background:var(--bg); border:1.5px solid #ffffff33; color:var(--text-soft); transition:background .3s, border-color .3s, color .3s, transform .3s; }
  .stepper li.cur { color:#fff; }
  .stepper li.cur i { background:linear-gradient(135deg,var(--btn-a),var(--btn-b)); border-color:transparent; color:#fff; transform:scale(1.08); box-shadow:0 0 0 4px rgba(8,193,181,.18); }
  .stepper li.done { color:var(--mint); }
  .stepper li.done i { background:var(--bg); border-color:var(--mint); color:var(--mint); font-size:0; }
  .stepper li.done i::before { content:"✓"; font-size:14px; }

  /* ステップの画面 */
  .pane { display:none; padding:22px 0 8px; }
  .pane.on { display:block; }
  .pane-h { margin:0 0 6px; }
  .pane-h .st { transform:scale(1.3); transform-origin:left center; margin:6px 0 10px; }
  .pane.flying .pane-h .st { visibility:hidden; }
  .pane-lead { margin:0 0 14px; font-size:14px; line-height:1.75; color:var(--text-soft); }
  .pane .stores { margin:0 0 12px; }
  .pane .path { margin:10px 0; }
  .pane .card { margin-top:14px; }
  .back-note { margin:14px 0 0; padding:12px 14px; border-radius:14px; background:#ffffff0d; font-size:13px; line-height:1.7; color:var(--text-soft); }
  .back-note b { color:#fff; }
  .next-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:56px; margin:18px 0 0; border:0; border-radius:999px; cursor:pointer;
    font:inherit; font-size:16px; font-weight:800; letter-spacing:.06em; color:#fff; background:linear-gradient(90deg,var(--btn-a),var(--btn-b)); box-shadow:0 8px 22px rgba(8,193,181,.28); }
  .next-btn:active { transform:scale(.98); }
  .prev-link { display:block; margin:10px auto 0; min-height:44px; padding:0 10px; border:0; background:none; color:var(--text-soft); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  .pane .replay { display:flex; margin:18px auto 0; }
  .done-badge { display:flex; align-items:center; gap:10px; margin:0 0 16px; padding:12px 14px; border-radius:14px; border:1px solid rgba(0,204,180,.4); background:rgba(0,204,180,.08); font-size:14px; font-weight:700; }
  .done-badge i { flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:linear-gradient(135deg,var(--btn-a),var(--btn-b)); font-style:normal; font-weight:800; }
  .done-badge small { display:block; font-size:11.5px; font-weight:400; color:var(--text-soft); }
  .pane .goal { margin-top:0 !important; }

  /* ───── ③ 申し込み完了：閉じてよいことを一番大きく ───── */
  .done-hero { margin:4px 0 22px; padding:22px 16px 18px; border-radius:24px; text-align:center; background:radial-gradient(120% 90% at 50% 0%, rgba(8,193,181,.22), rgba(15,15,15,.0) 70%), #0F0F0F; border:1px solid rgba(0,204,180,.35); }
  .done-mark { display:block; width:72px; height:72px; margin:0 auto 10px; overflow:visible; }
  .done-hero h2 { margin:0; font-size:26px; font-weight:800; letter-spacing:.06em; }
  .done-name { margin:4px 0 14px; font-size:13px; color:var(--text-soft); }
  .done-name b { color:#fff; }
  .close-ok { display:flex; flex-direction:column; gap:2px; margin:0; padding:12px 12px; border-radius:14px; background:rgba(0,204,180,.12); }
  .close-ok span { font-size:16px; font-weight:800; }
  .close-ok span b { color:var(--mint); }
  .close-ok small { font-size:11.5px; color:var(--text-soft); line-height:1.6; }
  .mock-note { margin:10px 0 0; font-size:10.5px; color:#FFE274; }
  .next-h { margin:0 0 12px; font-size:16px; font-weight:800; }
  .after-flow { position:relative; margin:0 0 26px; padding:0; list-style:none; }
  .after-flow li { position:relative; display:flex; gap:12px; padding:0 0 16px; }
  .after-flow li:not(:last-child)::after { content:""; position:absolute; left:13px; top:30px; bottom:2px; width:2px; border-radius:1px; background:#ffffff1f; }
  .after-flow li.ok::after { background:linear-gradient(var(--mint), #ffffff1f); }
  .after-flow i { flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; font-style:normal; font-size:13px; font-weight:800; border:1.5px solid #ffffff33; color:var(--text-soft); background:var(--bg); }
  .after-flow li.ok i { border-color:var(--mint); color:var(--mint); }
  .after-flow li.you i { border:0; color:#fff; background:linear-gradient(90deg,var(--band-a),var(--band-b)); box-shadow:0 0 0 4px rgba(248,16,140,.18); }
  .after-flow div { flex:1; min-width:0; padding-top:3px; }
  .after-flow div > b { display:block; font-size:15px; line-height:1.45; }
  .after-flow li.ok div > b { color:var(--mint); }
  .after-flow span { display:block; margin-top:2px; font-size:12.5px; line-height:1.65; color:var(--text-soft); }
  .after-flow span b { color:#fff; }
  .after-flow em { display:inline-block; margin-top:6px; padding:1px 9px; border-radius:999px; font-style:normal; font-size:10.5px; font-weight:800; letter-spacing:.06em; color:var(--text-soft); border:1px solid var(--line); }
  .after-flow li.you em { color:#fff; border-color:transparent; background:linear-gradient(90deg,var(--band-a),var(--band-b)); }
  .after-flow li.you { padding:12px 12px 14px; margin:0 -12px 16px; border-radius:16px; background:#ffffff0a; }
  .after-flow li.you::after { left:25px; bottom:-14px; }
  /* チェックの動き：丸がポン → 輪が広がる → チェックを描く */
  .done-mark .dm-fill { transform-origin:36px 36px; }
  .done-mark .dm-ring { transform-origin:36px 36px; opacity:0; }
  .done-mark .dm-check { stroke-dasharray:46; stroke-dashoffset:0; }
  .pane.play .done-mark .dm-fill { animation:dmPop .5s cubic-bezier(.3,1.6,.5,1) .15s both; }
  .pane.play .done-mark .dm-ring { animation:dmRing .9s ease-out .4s both; }
  .pane.play .done-mark .dm-check { animation:dmDraw .45s cubic-bezier(.6,0,.3,1) .5s both; }
  @keyframes dmPop { from { transform:scale(0); } to { transform:none; } }
  @keyframes dmRing { 0% { opacity:.9; transform:scale(.8); } 100% { opacity:0; transform:scale(1.5); } }
  @keyframes dmDraw { from { stroke-dashoffset:46; } to { stroke-dashoffset:0; } }
  @media (prefers-reduced-motion: reduce) { .pane.play .done-mark * { animation:none; } }

  /* ───── 案A：申し込み後 ───── */
  .done-hero { background:#0F0F0F; border-color:#ffffff1a; }
  .done-mark { width:56px; height:56px; }
  .done-hero h2 { font-size:22px; letter-spacing:.04em; }
  .done-sub { margin:10px 0 6px; font-size:14px; line-height:1.75; }
  .done-sub b { color:#fff; background:linear-gradient(transparent 62%, rgba(248,16,140,.45) 62%); }
  .done-name { margin:0 0 4px; }
  .after-flow li.op i { opacity:.7; }
  .after-flow li.op div > b, .after-flow li.op span { opacity:.8; }
  .after-flow li.tbd i { border-style:dashed; }
  .after-flow li.op em { border-style:dashed; }
  .after-flow .finder-go { margin:12px 0 2px; }
  .after-flow .finder-go summary { min-height:46px; border-color:rgba(248,16,140,.6); background:rgba(248,16,140,.1); }
  .maybe-not { margin:-12px 0 18px 40px; font-size:11.5px; line-height:1.65; color:var(--text-soft); }
  .close-ok { margin:0 0 26px; text-align:center; border:1px solid rgba(0,204,180,.35); }
  .close-ok span { font-size:14.5px; line-height:1.7; }
  /* STEP 1：入れる → 開く → 戻って次へ */
  .mini-steps { display:flex; gap:8px; margin:6px 0 14px; padding:0; list-style:none; }
  .mini-steps li { flex:1; display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 4px 9px; border-radius:12px; background:#ffffff0a; text-align:center; font-size:11.5px; font-weight:700; line-height:1.45; color:var(--text-soft); }
  .mini-steps li i { display:grid; place-items:center; width:22px; height:22px; border-radius:50%; font-style:normal; font-size:11px; font-weight:800; border:1.5px solid #ffffff44; color:#fff; }
  /* 3つは同じ見た目（どれかを光らせると「いまここ」に見える）。③だけ「忘れずに」の札と、ミントの字で念押し */
  .mini-steps li { position:relative; }
  .mini-steps li:not(:last-child)::after { content:"›"; position:absolute; right:-6px; top:50%; transform:translateY(-50%); z-index:1; font-size:13px; color:#ffffff55; }
  .mini-steps li.back { color:var(--mint); }
  .mini-steps li em { position:absolute; top:-8px; left:50%; transform:translateX(-50%); padding:0 7px; border-radius:999px; font-style:normal; font-size:9.5px; font-weight:800; letter-spacing:.06em; line-height:16px; white-space:nowrap; color:var(--bg); background:var(--mint); }
  /* 引き継ぎコードの安心の一言 */
  .field .safe { margin:6px 0 0; padding:8px 10px; border-radius:10px; background:rgba(255,226,116,.08); border:1px solid rgba(255,226,116,.35); font-size:12px; line-height:1.6; color:#F3E3A6; }
  /* 説明2枚目：「1分話すと」の下に小さく */
  .bubble .lbl .free5 { display:block; font-size:10.5px; font-weight:700; color:#5B6378; line-height:1.3; }

  /* 条件カードの下：いつまでに・いつ届く・閉じていいか（大きさで順をつける） */
  .tip-box { margin:6px 0 0; padding:14px 14px 12px; border-radius:16px; background:#ffffff0a; }
  .tb-main { margin:0 0 10px; font-size:15px; font-weight:800; line-height:1.5; }
  .tb-main b { color:var(--mint); }
  .tip-box dl { margin:0; }
  .tip-box dl > div { display:flex; gap:10px; align-items:baseline; padding:8px 0; border-top:1px solid #ffffff14; }
  .tip-box dt { flex:none; width:40px; text-align:center; padding:1px 0; border-radius:6px; font-size:10.5px; font-weight:800; letter-spacing:.06em; color:var(--text-soft); border:1px solid var(--line); }
  .tip-box dd { margin:0; font-size:14px; font-weight:700; line-height:1.5; }
  .tip-box dd b { font-size:16px; }
  .tip-box dd small { display:block; margin-top:2px; font-size:11px; font-weight:400; color:var(--text-soft); line-height:1.6; }
  .tb-close { display:flex; gap:10px; align-items:center; margin:8px 0 0; padding:10px 12px; border-radius:12px; background:rgba(0,204,180,.12); border:1px solid rgba(0,204,180,.4); }
  .tb-close i { flex:none; display:grid; place-items:center; width:24px; height:24px; border-radius:50%; font-style:normal; font-size:12px; font-weight:800; color:#fff; background:linear-gradient(135deg,var(--btn-a),var(--btn-b)); }
  .tb-close span { font-size:14px; font-weight:800; line-height:1.4; }
  .tb-close small { display:block; font-size:11px; font-weight:400; color:var(--text-soft); }
  .mg .goal .tip-box { opacity:0; transform:translateY(12px); }
  .mg .goal.go .tip-box { transition:opacity .45s ease 1.4s, transform .5s ease 1.4s; opacity:1; transform:none; }
  /* 画面の出し方：中身が上から順にふわっと（札が飛んでくるときは、着いてから） */
  .pane.play .pz { animation:pzIn .5s cubic-bezier(.2,.8,.3,1) both; animation-delay:calc(.08s + var(--i,0) * .07s); }
  .pane.play.late .pz { animation-delay:calc(.7s + var(--i,0) * .07s); }
  .pane.leave { animation:paneOut .22s ease both; }
  @keyframes pzIn { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:none; } }
  @keyframes paneOut { to { opacity:0; transform:translateX(-18px); } }
  @media (prefers-reduced-motion: reduce) { .pane.play .pz, .pane.leave { animation:none; } }

  /* ───── チュートリアルのあとのページ：特典のおさらい → 招待の受け取り方 ───── */
  .recap { padding:16px 16px 10px; border-radius:20px; background:#0F0F0F; }
  .recap .invite-badge { margin:0 0 6px; background:#fff; color:#111; }
  .recap .rw span { display:block; white-space:nowrap; }
  .recap .rw { margin:0; font-size:14px; font-weight:700; line-height:1.8; }
  .recap .rw b { font-size:20px; font-weight:800; margin:0 2px; background:linear-gradient(90deg,var(--band-a),var(--band-b)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .recap .rw b.call { background-image:linear-gradient(90deg,var(--btn-a),var(--btn-b)); }
  .recap .period { margin:2px 0 0; font-size:10.5px; color:var(--text-soft); }
  .recap .period span { white-space:nowrap; }
  .replay { display:inline-flex; align-items:center; gap:6px; margin:6px 0 0; padding:0; min-height:44px; border:0; background:none; color:var(--mint); font:inherit; font-size:13px; font-weight:700; cursor:pointer; }
  .replay::before { content:"↺"; font-size:15px; }
  main .part-h { margin-top:44px; }
  .site-link { margin:22px 0 0; text-align:center; font-size:13px; }
  .site-link a { color:var(--mint); font-weight:700; }
  .site-link .sep { margin:0 10px; color:var(--line); }

  /* ═════ 紹介する側（?mode=invite）の試作：mock4 の部品を使い回し、ここから下は紹介する側だけ ═════ */
  /* 1枚目の見出し「（ロゴ）の友だち紹介」 */
  .tut .about-h { margin:0 0 18px; }
  /* 1枚目：友だちにも届くもの（小さく添える） */
  .friend-gift { margin:14px 0 0; padding:12px 14px; border-radius:14px; background:#ffffff0d; text-align:center; font-size:12.5px; line-height:1.65; color:var(--text-soft); }
  .friend-gift b { color:#fff; }
  .friend-gift .amt2 { font-size:17px; font-weight:800; margin:0 2px; background:linear-gradient(90deg,var(--band-a),var(--band-b)); -webkit-background-clip:text; background-clip:text; color:transparent; }
  .av .tut .friend-gift { opacity:0; transform:translateY(8px); }
  .av .tut .go .friend-gift { transition:opacity .4s ease 1.35s, transform .45s ease 1.35s; opacity:1; transform:none; }
  .bubble .lbl .sub2 { display:block; font-size:10.5px; font-weight:700; color:#5B6378; line-height:1.3; }

  /* 2枚目：招待できる友だち（○ と × のカード） */
  .who-h { margin:0 0 14px; font-size:22px; font-weight:800; line-height:1.4; }
  .who { margin:0; padding:0; list-style:none; }
  .who li { display:flex; gap:12px; align-items:flex-start; margin:0 0 10px; padding:13px 14px; border-radius:16px; background:#0F0F0F; }
  .who li i { flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; font-style:normal; font-size:14px; font-weight:800; }
  .who li.ok i { color:#fff; background:linear-gradient(135deg,var(--btn-a),var(--btn-b)); }
  .who li.ng i { color:#fff; background:#ffffff1f; }
  .who li b { display:block; font-size:15px; line-height:1.45; }
  .who li small { display:block; margin-top:3px; font-size:12px; line-height:1.6; color:var(--text-soft); }
  .who li.ng b { color:#E7E9F2; }
  .who-note { margin:6px 2px 0; font-size:12px; line-height:1.7; color:var(--text-soft); }
  .av .tut .who-h { opacity:0; transform:translateY(8px); }
  .av .tut .who li { opacity:0; transform:translateY(12px); }
  .av .tut .who-note { opacity:0; }
  .av .tut .go .who-h { transition:opacity .4s ease .15s, transform .45s ease .15s; opacity:1; transform:none; }
  .av .tut .go .who li { transition:opacity .4s ease, transform .5s cubic-bezier(.2,.8,.3,1); opacity:1; transform:none; }
  .av .tut .go .who li:nth-child(1) { transition-delay:.4s; } .av .tut .go .who li:nth-child(2) { transition-delay:.58s; } .av .tut .go .who li:nth-child(3) { transition-delay:.76s; }
  .av .tut .go .who-note { transition:opacity .4s ease 1s; opacity:1; }

  /* STEP 2：できた URL と、送るボタン */
  .ref-box { margin:0 0 14px; padding:16px 14px 14px; border-radius:20px; background:#0F0F0F; border:1px solid #ffffff1a; }
  .ref-k { margin:0 0 4px; font-size:11.5px; font-weight:700; color:var(--text-soft); letter-spacing:.04em; }
  .ref-code { margin:0 0 12px; font-family:ui-monospace,"SF Mono",Menlo,monospace; font-size:28px; font-weight:800; letter-spacing:.14em; }
  .ref-url { margin:0; padding:10px 12px; border-radius:10px; background:var(--field); border:1px solid var(--line); font-size:13px; line-height:1.5; word-break:break-all; -webkit-user-select:all; user-select:all; }
  .copy-btn { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:54px; margin:12px 0 0; border:0; border-radius:999px; cursor:pointer;
    font:inherit; font-size:16px; font-weight:800; letter-spacing:.06em; color:#fff; background:linear-gradient(90deg,var(--band-a),var(--band-b)); box-shadow:0 8px 22px rgba(248,16,140,.3); }
  .copy-btn:active { transform:scale(.98); }
  .copy-btn.done { background:linear-gradient(90deg,var(--btn-a),var(--btn-b)); box-shadow:0 8px 22px rgba(8,193,181,.28); }
  .share-k { margin:16px 0 8px; font-size:12px; font-weight:700; color:var(--text-soft); text-align:center; }
  .share { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
  .share a, .share button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; min-height:62px; border-radius:14px; border:1px solid var(--line); background:#ffffff0a;
    color:#fff; text-decoration:none; font:inherit; font-size:12px; font-weight:700; cursor:pointer; }
  .share .ic { display:grid; place-items:center; width:26px; height:26px; border-radius:8px; font-size:12px; font-weight:800; }
  .share .line .ic { background:#06C755; color:#fff; font-size:9px; letter-spacing:-.02em; }
  .share .x .ic { background:#000; border:1px solid #ffffff55; color:#fff; font-size:14px; }
  .share .more .ic { background:#ffffff22; color:#fff; font-size:15px; }
  .msg-ex { margin:14px 0 0; padding:10px 12px; border-radius:12px; background:#ffffff08; border:1px dashed #ffffff26; font-size:12.5px; line-height:1.7; color:var(--text-soft); }
  .msg-ex b { display:block; margin-bottom:2px; font-size:11px; color:var(--text-soft); letter-spacing:.04em; }
  .msg-ex span { color:#fff; }
  .warn-send { margin:12px 0 0; padding:9px 12px; border-radius:10px; background:rgba(255,226,116,.08); border:1px solid rgba(255,226,116,.35); font-size:12px; line-height:1.6; color:#F3E3A6; }
  .toast { position:fixed; left:50%; bottom:calc(28px + env(safe-area-inset-bottom, 0px)); z-index:2000; transform:translate(-50%,20px); padding:10px 18px; border-radius:999px; background:#fff; color:#111; font-size:13px; font-weight:800; opacity:0; pointer-events:none; transition:opacity .2s, transform .25s; }
  .toast.on { opacity:1; transform:translate(-50%,0); }
  /* STEP 3：何もしなくてよいことを先に */
  .wait-lead { margin:0 0 16px; font-size:15px; font-weight:800; line-height:1.6; }
  .wait-lead b { color:var(--mint); }
  @media (max-width:360px) { .tut .about-h { font-size:15px; } .tut .about-h img { height:26px; } .tut .bubble .amt { font-size:28px; } .tut .bubble .amt small { font-size:15px; } }

  /* ═════ 紹介する側のオープニング：招待状をつくる（約3.3秒） ═════
     封筒が届く（ふたは開いたまま）→ 上から BackStage の招待カードが降りてくる（キラッ）
     → カードが封筒にすっと入る → ふたが閉じる → 封の印がポンと押される（輪が広がる）→ 「招待状をつくろう！」→ ボタン
     「はじめる」を押すと、封をした招待状が上へ飛んでいき（送った）、説明の1枚目が組み上がる */
  #op .op-card { animation:opCardMake 1.5s cubic-bezier(.45,0,.3,1) .55s both; }
  @keyframes opCardMake {
    0% { opacity:0; transform:translateY(-175px); }
    28% { opacity:1; transform:translateY(-112px); animation-timing-function:ease; }
    52% { opacity:1; transform:translateY(-112px); animation-timing-function:cubic-bezier(.6,0,.35,1); }
    100% { opacity:1; transform:none; } }
  #op .op-flap { animation:opFlapClose .48s cubic-bezier(.5,0,.3,1) 2.0s both, opFlapZin .01s linear 2.22s both; }
  @keyframes opFlapClose { from { transform:perspective(700px) rotateX(180deg); } to { transform:perspective(700px) rotateX(0deg); } }
  @keyframes opFlapZin { from { z-index:1; } to { z-index:5; } }
  #op .op-seal { animation:opStamp .38s cubic-bezier(.3,1.6,.5,1) 2.45s both; }
  @keyframes opStamp { 0% { opacity:0; transform:scale(1.9); } 100% { opacity:1; transform:none; } }
  #op .op-ring { top:58%; animation-delay:2.55s; } #op .op-ring.r2 { animation-delay:2.7s; }
  #op .op-sp { animation-delay:calc(var(--d) - .85s), calc(var(--d) - .35s); }
  #op .op-msg .from { animation-delay:2.6s; }
  #op .op-msg .band { animation-delay:2.75s; }
  #op .op-msg .band::after { animation-delay:3.2s; }
  #op .op-cta { animation:opCtaIn .5s cubic-bezier(.3,1.5,.5,1) 3.2s both, opCtaPulse 1.8s ease-in-out 4s infinite; }
  #op .op-cta::after { animation-delay:3.8s; }
  #op .op-hint { animation-delay:3.4s; }
  #op .op-hint i:nth-child(1) { animation-delay:4.1s; } #op .op-hint i:nth-child(2) { animation-delay:3.95s; } #op .op-hint i:nth-child(3) { animation-delay:3.8s; }
  #op .op-return { animation-delay:3.4s; }
  /* 送ったあと：封筒が上へ飛んでいくので、カードのロゴは見せたままでよい */
  #op.op-leave .op-card img { visibility:visible; }

  /* ═════ 説明3枚目の STEP 1 に、紹介コードを作る欄（「ここで作る」で開く） ═════ */
  .mk-toggle { display:inline-flex; align-items:center; gap:8px; margin:10px 0 0; min-height:44px; padding:0 18px 0 14px; border:0; border-radius:999px; cursor:pointer;
    font:inherit; font-size:14px; font-weight:800; letter-spacing:.04em; color:#fff; background:linear-gradient(90deg,var(--btn-a),var(--btn-b)); box-shadow:0 6px 16px rgba(8,193,181,.28); }
  .mk-toggle::before { content:"＋"; display:grid; place-items:center; width:20px; height:20px; border-radius:50%; background:#ffffff33; font-size:13px; transition:transform .25s; }
  .mk-toggle[aria-expanded="true"] { background:#ffffff14; box-shadow:none; color:var(--text-soft); }
  .mk-toggle[aria-expanded="true"]::before { transform:rotate(45deg); }
  .mk { margin:12px 0 4px; padding:14px 14px 16px; border-radius:16px; background:#0F0F0F; border:1px solid rgba(0,204,180,.35); }
  .mk[hidden] { display:none; }
  .mk.open { animation:mkIn .35s cubic-bezier(.2,.8,.3,1) both; }
  @keyframes mkIn { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:none; } }
  .mk .field { margin:0 0 14px; }
  .mk .label { font-size:14px; }
  .mk input { width:100%; }
  .mk .hint, .mk .safe { font-size:11.5px; }
  .mk-path { margin:0 0 12px; }
  .mk-path summary { cursor:pointer; list-style:none; font-size:12.5px; font-weight:700; color:var(--mint); }
  .mk-path summary::-webkit-details-marker { display:none; }
  .mk-path summary::before { content:"？"; display:inline-grid; place-items:center; width:18px; height:18px; margin-right:6px; border-radius:50%; background:var(--mint); color:var(--bg); font-size:11px; font-weight:800; }
  .mk-path ol { margin:8px 0 0; padding:10px 12px 10px 30px; border-radius:10px; background:var(--field); font-size:12.5px; line-height:1.6; }
  .mk .submit { margin-top:4px; }
  .tut-nav .tut-next[hidden] { display:none; }
  /* 1枚目の黒い座布団も、組み上がるまで隠す（封筒が飛んでいるあいだに先に見えないように） */
  .av .tut .gift { opacity:0; transform:scale(.96); }
  .av .tut .go .gift { transition:opacity .4s ease .35s, transform .5s cubic-bezier(.3,1.4,.5,1) .35s; opacity:1; transform:none; }
  /* 欄の中の番号つきリストには、STEP の丸・線・動きを付けない */
  .how .mk li { margin:0 0 4px !important; opacity:1 !important; transform:none !important; transition:none !important; }
  .how .mk li::before { content:none !important; }
  .how .mk li:last-child { margin-bottom:0 !important; }
  /* 作ったあと：STEP 2 の札だけ残して、ほかは消える（札が STEP 2 の画面へ飛ぶ） */
  .tut-slide.leaving2 .tut-k, .tut-slide.leaving2 .part-h, .tut-slide.leaving2 .how li:nth-child(1), .tut-slide.leaving2 .how li small,
  .tut-slide.leaving2 .how-arrow, .tut-slide.leaving2 .how-goal, .tut-slide.leaving2 .how::before, .tut-slide.leaving2 .how li::before { transition:opacity .25s ease 0s !important; opacity:0 !important; }
  /* ═════ v3：ページを切り替えず、スライドの中で完結（04 URL を送る・05 待つだけ） ═════ */
  .tut-skip[hidden] { display:none; }
  .toast { bottom:calc(92px + env(safe-area-inset-bottom, 0px)); }   /* 下のボタンに重ならないように */
  .tut-top { min-height:52px; }
  .s-h { margin:0 0 12px; }
  .s-h .st b { font-size:19px; }
  .tut .done-badge { margin:0 0 14px; }
  .tut .goal { margin-top:0 !important; }
  .tut .wait-lead { margin:0 0 14px; }
  .tut .notes { margin:14px 0 0; padding-left:0; }
  .tut .replay { display:flex; margin:16px auto 0; }
  .tut .mockline { margin:16px 0 8px; }
  .mk-toggle.made { background:rgba(0,204,180,.14); color:var(--mint); box-shadow:none; }
  .mk-toggle.made::before { content:"›"; transform:none; }
  .tut-slide .tut-in > .tip { margin:8px 0 0 !important; }
  /* ═════ v4：03 の中で完結（STEP 2 の中に紹介コードと URL） ═════ */
  .send, .after { margin:12px 0 0; }
  .send[hidden], .after[hidden] { display:none; }
  .send.open, .after.open { animation:mkIn .45s cubic-bezier(.2,.8,.3,1) both; }
  .after.open { animation-delay:.15s; }
  .send-ok { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 0 10px; font-size:14px; font-weight:800; color:var(--mint); }
  .send-ok i { flex:none; display:grid; place-items:center; width:22px; height:22px; border-radius:50%; font-style:normal; font-size:12px; color:#fff; background:linear-gradient(135deg,var(--btn-a),var(--btn-b)); }
  .send-ok span { font-size:10.5px; font-weight:400; color:var(--text-soft); }
  .send .ref-box { margin:0; }
  .send .warn-send { margin:10px 0 0; }
  .how .send b { font-size:inherit; }
  .how .send .msg-ex b { font-size:11px; }
  /* 作ったあと：STEP 1 は済み、STEP 2 がいまの番（丸をミントで塗る） */
  .tut-slide.made .how > li:first-child > small { display:none; }
  .tut-slide.made .how > li.s2li::before { background:var(--btn-b); }
  .tut-slide.made .how > li:first-child::before { background:var(--btn-a); }
  .mk-toggle:disabled { cursor:default; }
  .mk-toggle.made::before { content:none; } .mk-toggle.made { padding:0 16px; }
  .tut-slide.made .how > li.s2li > small { display:none; }
  .after .tip-box { margin:14px 0 0; padding-top:6px; padding-bottom:6px; }
  .after .tip-box dl > div:first-child { border-top:0; }
  .after .notes { margin:14px 0 0; padding-left:0; }
  .after .replay { display:flex; margin:16px auto 0; }
  /* ═════ v5：作ったときの動きをなめらかに ═════ */
  .mk-submit.busy { opacity:.85; cursor:progress; }
  .mk-submit.busy::before { content:""; display:inline-block; width:14px; height:14px; margin:0 8px -2px 0; border-radius:50%; border:2px solid #ffffff55; border-top-color:#fff; animation:spin .7s linear infinite; }
  @keyframes spin { to { transform:rotate(360deg); } }
  .send.open { animation:none; }
  .after.open { animation:mkIn .45s cubic-bezier(.2,.8,.3,1) .05s both; }
  /* STEP 2 の中身：箱が広がるのに合わせて、上から順にふわっと */
  .send.reveal .rv { animation:pzIn .45s cubic-bezier(.2,.8,.3,1) backwards; animation-delay:calc(.08s + var(--i,0) * .045s); }
  .send.reveal .send-ok i { animation:dmPop .45s cubic-bezier(.3,1.6,.5,1) .2s both; }
  /* 「作成済み ✓」とSTEP 2 の丸：色が切り替わり、丸がポン */
  .mk-toggle { transition:background .35s ease, color .35s ease, box-shadow .35s ease; }
  .how > li::before { transition:background .35s ease .15s, border-color .35s ease .15s; }
  .tut-slide.made .how > li.s2li::before { animation:dotPop .45s cubic-bezier(.3,1.8,.5,1) .15s both; }
  @keyframes dotPop { 0% { transform:scale(1); } 45% { transform:scale(1.6); } 100% { transform:scale(1); } }
  @media (prefers-reduced-motion: reduce) { .send.reveal .rv, .send.reveal .send-ok i, .after.open, .tut-slide.made .how > li.s2li::before { animation:none; } }
  /* ═════ v7 ═════ */
  /* 01：あなた／友だち の札で、だれに届くかを分ける（友だちの ＋2,000CP を自分の分と読まれないように） */
  .who-tag { display:table; margin:2px auto 4px; padding:2px 12px; border-radius:999px; font-size:11.5px; font-weight:800; letter-spacing:.04em; }
  .bubble .who-tag.you { color:#fff; background:linear-gradient(90deg,var(--btn-a),var(--btn-b)); }
  .friend-gift { text-align:left; padding:12px 16px 10px; }
  .friend-gift .who-tag.fr { margin:0 0 6px; color:var(--text); background:#ffffff1f; }
  .fg-row { display:flex; justify-content:space-between; align-items:baseline; gap:10px; padding:4px 0; font-size:13px; color:var(--text-soft); }
  .fg-row + .fg-row { border-top:1px dashed #ffffff1f; }
  .fg-row b { font-size:15px; font-weight:800; color:#fff; white-space:nowrap; }
  .fg-note { margin:6px 0 0; font-size:11px; line-height:1.5; color:var(--text-soft); }
  /* 作ったときに、行が消えて上下に跳ねないように（説明の1行は残す） */
  .tut-slide.made .how > li:first-child > small, .tut-slide.made .how > li.s2li > small { display:block !important; }
  .tut-slide { overflow-anchor:none; }   /* ブラウザが勝手にスクロール位置を直して、動きとぶつからないように */
  /* ═════ v8：欄の開け閉め・ボタンの出入りをなめらかに ═════ */
  .mk.open { animation:none; }
  .tut-next { transition:opacity .28s ease, transform .32s cubic-bezier(.3,1.2,.5,1), background .3s ease, box-shadow .3s ease; }
  .tut-next.gone { opacity:0; transform:translateY(12px) scale(.96); pointer-events:none; }
  .mk-submit { transition:opacity .25s ease, background .25s ease; }
  /* 03 は中身の高さが変わるので、まん中寄せにしない（欄が開くと全体が上へずれて、動きの行き先が狂うため）。上から並べる */
  .tut-slide[aria-label="招待のしかた"] .tut-in { justify-content:flex-start; padding-top:22px; }

  /* 封筒のまわりの光の粒（本番の CSP は style 属性を使えないので class で置く） */
  .op-sp.sp1 { left:8px; top:-92px; --d:1.62s; --s:1.25; }
  .op-sp.sp2 { left:246px; top:-70px; --d:1.7s; --s:.9; }
  .op-sp.sp3 { left:222px; top:-126px; --d:1.78s; --s:1.5; }
  .op-sp.sp4 { left:-8px; top:-30px; --d:1.84s; --s:.7; }
  .op-sp.sp5 { left:48px; top:-134px; --d:1.9s; --s:.6; }
  .op-sp.sp6 { left:262px; top:-8px; --d:1.96s; --s:.55; }

  /* ═════ 本番（/invite）：本物の入力欄 ═════ */
  .mk .captcha { margin-top:14px; min-height:65px; }
  .mk .form-err { margin-top:12px; }
  .mk .submit:disabled::before { content:""; display:inline-block; width:14px; height:14px; margin:0 8px -2px 0; border-radius:50%; border:2px solid #ffffff55; border-top-color:#fff; animation:spin .7s linear infinite; }
  .share .more[hidden] { display:none; }
  .share.two { grid-template-columns:1fr 1fr; }
  #sendOk:focus { outline:none; } /* 送ったあと読み上げのためにカーソルを置く場所。枠は出さない */
