/* ============================================================
   夏のレッスン王決定戦 2026 LP
   テーマ：夏祭り（ネイビー夜空＋金の王タイトル＋花火）。Figma 6:117 準拠（暫定）
   ※花火/提灯/うちわ等の実素材・FV2〜10・各セクションビジュアルは差し替え予定
   ============================================================ */
:root{
  --navy:#1f2f8f;          /* 夜空ベース */
  --navy-deep:#141d5e;
  --gold:#ffd54a;          /* 王タイトル金 */
  --gold-deep:#f0a818;
  --red:#e8412e;           /* 祭り赤 */
  --blue:#2aa7e0;          /* CTA */
  --blue-deep:#1c84c4;
  --pink:#f57375;          /* 実績/ランキング ゾーン */
  --orange:#fe8c30;        /* 楽しみ方ガイド ゾーン */
  --secblue:#1f3793;       /* キャンペーン概要 ゾーン */
  --ink:#23262f;
  --paper:#fff8ee;         /* 和紙ベージュ */
  --line:#ece2d2;
  --wrap:1000px;
  --font:"Noto Sans JP",system-ui,-apple-system,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  --round:"Zen Maru Gothic",var(--font);
  /* 明朝: Apple端末=ヒラギノ明朝、他=Noto Serif JP、最後にserif */
  --serif:"Hiragino Mincho ProN","Noto Serif JP","Yu Mincho","YuMincho",serif;
  /* モーション: ease-out系（100/300/500ルール準拠・bounce/elastic禁止） */
  --ease-out-quart:cubic-bezier(0.25,1,0.5,1);
  --ease-out-quint:cubic-bezier(0.22,1,0.36,1);
  --ease-out-expo:cubic-bezier(0.16,1,0.3,1);
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;}
body{font-family:var(--font);color:var(--ink);background:var(--paper);line-height:1.8;font-feature-settings:'palt' 1;}
img{max-width:100%;height:auto;display:block;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 18px;}

.imgph{display:flex;align-items:center;justify-content:center;text-align:center;
  background:repeating-linear-gradient(45deg,#eee,#eee 10px,#e4e4e4 10px,#e4e4e4 20px);
  border:1px dashed #bbb;color:#777;font-size:12px;border-radius:8px;padding:8px;}

/* ---- ヘッダー ---- */
.site-header{background:#fff;border-bottom:1px solid var(--line);}
.site-header .wrap{display:flex;align-items:center;min-height:60px;}
.hdr-logo{width:auto;height:36px;}

/* ============================================================
   ヒーロー（統合：FVシーン全画面＋固定タイトル）
   ============================================================ */
.hero{position:relative;color:#fff;text-align:center;background:var(--navy-deep);}
/* シーン枠：モバイル=縦長フルブリード。中にシーン画像／スクリム／タイトル／下部UIを重ねる */
.hero-fv{position:relative;width:100%;margin:0 auto;aspect-ratio:1024/1536;
  overflow:hidden;background:#0c1440;}
.hero-fv-pic{display:contents;}
.hero-fv-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:bottom center;}
/* スクリム：上=タイトル＋リード可読化／下=対象期間・個別表示の可読化（中央は絵を見せる） */
.hero-scrim{position:absolute;inset:0;
  background:
    linear-gradient(to bottom, rgba(8,12,40,.66) 0%, rgba(8,12,40,.30) 30%, rgba(8,12,40,0) 50%),
    linear-gradient(to top, rgba(8,12,40,.86) 0%, rgba(8,12,40,.46) 15%, rgba(8,12,40,0) 32%);}

/* 上部：固定タイトル＋リード */
.hero-top{position:absolute;left:0;right:0;top:4%;z-index:2;padding:0 4%;
  display:flex;flex-direction:column;align-items:center;}
.hero-title{margin:0;display:flex;justify-content:center;width:100%;}
.hero-title img{width:92%;max-width:460px;height:auto;
  filter:drop-shadow(0 4px 12px rgba(0,0,0,.45));}
.hero-lead{margin-top:10px;font-size:clamp(12px,3.4vw,14px);font-weight:700;line-height:1.7;
  text-shadow:0 2px 8px rgba(0,0,0,.7);}

/* 下部オーバーレイ：対象期間／個別表示 */
.hero-meta{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:0 18px 16px;text-align:center;}

/* シーン下のバー（ナビ／CTA） */
.hero-bar{max-width:520px;margin:0 auto;padding:18px 18px 26px;text-align:center;}
.hero-term{display:inline-block;font-size:clamp(11px,3vw,13px);background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.35);border-radius:30px;padding:4px 16px;margin-bottom:12px;}

.fv-personal[hidden]{display:none;}
.fv-personal{display:inline-flex;align-items:center;gap:8px;margin:0 auto 12px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);border-radius:30px;padding:6px 16px;font-size:13px;}
.fv-personal .fv-rank-label{opacity:.85;}
.fv-personal .fv-rank{font-family:var(--round);font-weight:900;font-size:18px;color:var(--gold);}
.fv-personal .fv-lessons b{color:#fff;}

.hero-nav{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:14px;}
.hnav{display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--navy);font-weight:700;font-size:12.5px;
  padding:7px 14px;border-radius:30px;box-shadow:0 3px 0 rgba(0,0,0,.2);transition:transform .12s var(--ease-out-quart),box-shadow .12s;}
.hnav:active{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.2);}
.hnav-ic{font-size:14px;}

.cta-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:linear-gradient(180deg,var(--blue),var(--blue-deep));color:#fff;font-family:var(--round);font-weight:900;font-size:clamp(17px,5vw,20px);
  padding:14px 36px;border-radius:50px;box-shadow:0 6px 0 #156a9e;transition:transform .12s,box-shadow .12s;}
.cta-primary:hover{transform:translateY(2px);box-shadow:0 4px 0 #156a9e;}
.cta-primary:active{transform:translateY(4px);box-shadow:0 2px 0 #156a9e;}
.cta-arw{width:28px;height:28px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;}
.cta-arw svg{display:block;}

/* ---- PC：ワイド横長ヒーロー（上空きシーン＋中央タイトル） ---- */
@media(min-width:768px){
  .hero-fv{aspect-ratio:1536/1024;max-width:1280px;}
  .hero-fv-img{object-position:center bottom;}
  .hero-scrim{background:
    linear-gradient(to bottom, rgba(8,12,40,.62) 0%, rgba(8,12,40,.22) 34%, rgba(8,12,40,0) 56%),
    linear-gradient(to top, rgba(8,12,40,.8) 0%, rgba(8,12,40,.4) 16%, rgba(8,12,40,0) 34%);}
  .hero-meta{padding-bottom:22px;}
  .hero-top{top:6%;padding:0 5%;}
  .hero-title img{width:46%;max-width:560px;}
  .hero-lead{margin-top:14px;font-size:18px;line-height:1.8;}
  .hero-bar{max-width:900px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 18px;padding:24px 24px 30px;}
  .hero-bar .hero-term{margin-bottom:0;font-size:14px;}
  .hero-bar .fv-personal{margin:0;font-size:14px;}
  .hero-nav{margin-bottom:0;gap:10px;}
  .hnav{font-size:14px;padding:9px 18px;}
  .cta-primary{font-size:21px;padding:15px 44px;flex-basis:100%;max-width:420px;margin:6px auto 0;}
}

/* ============================================================
   夏祭りコレクション（レッスンで解放されていく）
   ============================================================ */
.sec-collect{background:radial-gradient(120% 90% at 50% 0%, #243089 0%, var(--navy-deep) 70%);color:#fff;}
.collect-ttl{margin:0;text-align:center;
  font-family:var(--serif);font-weight:700;color:#fff;line-height:1.2;
  font-size:clamp(1.75rem,7vw,2.75rem);letter-spacing:.03em;
  text-shadow:0 3px 8px rgba(0,0,0,.35);}
.collect-lead{text-align:center;font-size:13.5px;line-height:1.8;margin:14px 0 6px;color:#e7ecff;}
.collect-progress{text-align:center;font-family:var(--round);font-weight:900;margin-bottom:22px;color:#cdd6ff;}
.cp-cur{font-size:40px;color:var(--gold);line-height:1;text-shadow:0 3px 8px rgba(0,0,0,.4);}
.cp-sep{font-size:24px;opacity:.7;margin:0 2px;}
.cp-max{font-size:24px;}
.cp-label{font-size:15px;margin-left:4px;}

.collect-grid{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:8px;max-width:620px;margin:0 auto;}
.cstage{position:relative;aspect-ratio:3/4;border-radius:10px;overflow:hidden;
  background:#0c1440;box-shadow:0 4px 10px rgba(0,0,0,.35);transition:transform .25s ease;}
.cstage img{width:100%;height:100%;object-fit:cover;display:block;transition:filter .4s ease;}
.cstage-no{position:absolute;top:4px;left:4px;z-index:2;min-width:18px;height:18px;padding:0 4px;
  display:grid;place-items:center;border-radius:9px;font-family:var(--round);font-weight:900;font-size:11px;
  background:rgba(20,29,94,.85);color:#fff;}
.cstage-lock{position:absolute;inset:0;z-index:2;display:grid;place-items:center;color:rgba(255,255,255,.92);}
.cstage-lock svg{width:30%;max-width:34px;height:auto;filter:drop-shadow(0 2px 4px rgba(0,0,0,.5));}

/* ロック状態：暗転＋彩度0 */
.cstage.locked img{filter:grayscale(1) brightness(.34) contrast(.9);}
.cstage.locked .cstage-no{background:rgba(0,0,0,.55);color:rgba(255,255,255,.6);}
/* 解放状態：カラー、鍵を隠す */
.cstage.unlocked .cstage-lock{display:none;}
.cstage.unlocked .cstage-no{background:var(--red);}
/* 現在地：金枠＋発光＋わずかに拡大 */
.cstage.current{transform:scale(1.06);z-index:3;outline:3px solid var(--gold);outline-offset:-1px;
  box-shadow:0 0 0 4px rgba(255,213,74,.35),0 8px 18px rgba(0,0,0,.5);}
.cstage.current .cstage-no{background:var(--gold);color:var(--navy-deep);}
.cstage{cursor:default;}
.cstage.unlocked{cursor:pointer;}
.cstage.unlocked:focus-visible{outline:3px solid var(--gold);outline-offset:2px;}

/* コレクション モーダル */
.cmodal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;
  opacity:0;transition:opacity .25s ease;}
.cmodal.open{opacity:1;}
.cmodal[hidden]{display:none;}
.cmodal-backdrop{position:absolute;inset:0;background:rgba(8,12,40,.82);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);}
.cmodal-box{position:relative;z-index:1;max-width:440px;width:100%;text-align:center;color:#fff;
  background:linear-gradient(180deg,#1b2660,#141d5e);border:1px solid rgba(255,255,255,.16);border-radius:18px;
  padding:16px;box-shadow:0 24px 60px rgba(0,0,0,.55);transform:translateY(12px) scale(.98);transition:transform .25s ease;}
.cmodal.open .cmodal-box{transform:none;}
.cmodal-close{position:absolute;top:8px;right:10px;width:36px;height:36px;border:0;border-radius:50%;
  background:rgba(255,255,255,.16);color:#fff;font-size:22px;line-height:1;cursor:pointer;z-index:2;}
.cmodal-close:hover{background:rgba(255,255,255,.3);}
.cmodal-media{position:relative;border-radius:12px;overflow:hidden;background:#0c1440;}
.cmodal-media img{width:100%;display:block;}
.cmodal-media.is-locked img{filter:grayscale(1) brightness(.38);}
.cmodal-lock{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.92);}
.cmodal-lock svg{width:64px;height:64px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.5));}
.cmodal-stage{font-family:var(--round);font-weight:900;color:var(--gold);font-size:14px;letter-spacing:.08em;margin-top:14px;}
.cmodal-cap{font-size:13.5px;line-height:1.7;margin-top:4px;color:#e7ecff;}

/* ============================================================
   コンテンツ：夏祭りゾーン（実績/ランキング＝ピンク, ガイド＝オレンジ, 概要＝青）
   ============================================================ */
.sec{padding:30px 0 44px;}
.wrap{position:relative;}

/* ゾーン背景（単色＋提灯ガーランド天面） */
.zone{position:relative;overflow:hidden;}
.zone-pink{background:var(--pink) url("../images/sec/garland-pink.webp")   top center/100% auto no-repeat;}
.zone-orange{background:var(--orange) url("../images/sec/garland-orange.webp") top center/100% auto no-repeat;}
.zone-blue{background:var(--secblue) url("../images/sec/garland-blue.webp")  top center/100% auto no-repeat;}
.zone-pink .sec:first-child{padding-top:54px;}
.zone-orange .sec,.zone-blue .sec{padding-top:54px;}

/* セクション見出し（明朝・白文字テキスト。旧: ttl-*.webp 画像を置換） */
.sec-head{margin:0 0 22px;text-align:center;
  font-family:var(--serif);font-weight:700;color:#fff;line-height:1.25;
  font-size:clamp(1.9rem,6.5vw,2.6rem);letter-spacing:.04em;
  text-shadow:0 3px 8px rgba(0,0,0,.22);}
/* ランキング見出し：メイン＋副題の2段構成 */
.sec-head-main{display:block;}
.sec-head-sub{display:block;font-size:.52em;letter-spacing:.02em;margin-top:.3em;font-weight:600;}
.zone-note{text-align:center;font-size:11.5px;color:rgba(255,255,255,.85);margin-top:14px;}

/* 装飾アイコン共通 */
.deco{position:absolute;z-index:1;pointer-events:none;height:auto;}

/* ---- あなたの実績 ---- */
.jisseki-card{position:relative;max-width:620px;margin:0 auto;background:#fff;border-radius:18px;
  padding:30px 26px 28px;text-align:center;box-shadow:0 14px 28px rgba(150,30,40,.22);}
.jisseki-rank{font-family:var(--round);font-weight:900;color:var(--ink);font-size:20px;margin-bottom:6px;line-height:1;}
.jisseki-rank b{color:var(--red);font-size:54px;letter-spacing:.02em;}
.jisseki-rank span{font-size:20px;margin-left:2px;}
.jisseki-lead{font-family:var(--round);font-weight:700;font-size:18px;color:var(--navy);margin-bottom:4px;}
.jisseki-sub{font-size:13px;color:#555;margin-bottom:18px;}
/* ログイン状態の出し分け（app.js が hidden 属性を付け外し） */
.jisseki-loggedin[hidden],.jisseki-loggedout[hidden]{display:none;}
.jisseki-hasdata[hidden],.jisseki-pending[hidden]{display:none;}
.jisseki-presync[hidden]{display:none;}
/* 初回同期前の時限案内：短いカードで deco-drum に被らないよう余白＋前面化。案内文として読ませる */
.jisseki-presync{position:relative;z-index:2;padding:10px 0 30px;}
.jisseki-presync-note{font-weight:700;font-size:16px;color:var(--navy);line-height:1.8;margin:0 auto;max-width:20em;}
/* データ未反映(pending)：カードが短く deco-drum が文言に被るため、余白でカードを確保しz-indexで前面化 */
.jisseki-pending{position:relative;z-index:2;padding:10px 0 30px;}
/* 注意書き：見出しでなく案内文として読ませる（0誤読防止のメッセージ） */
.jisseki-pending-note{font-weight:700;font-size:15px;color:#555;line-height:1.7;margin:0 auto;max-width:15em;}
/* 未ログイン導線：ログイン(primary)＋新規登録(secondary)を主従で並べる */
/* position:relative + z-index:2 で deco-drum(z-index:1) より前面に（.share-btns と同格。CTAへの被り/クリック阻害を防止） */
.jisseki-cta-group{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:12px;justify-content:center;align-items:center;margin-top:14px;}
/* セカンダリCTA：primaryと同形状だが白地・青枠で控えめに（主従を明確化） */
.cta-secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;
  background:#fff;color:var(--blue-deep);font-family:var(--round);font-weight:900;font-size:clamp(15px,4.4vw,17px);
  padding:12px 30px;border-radius:50px;border:2px solid var(--blue);box-shadow:0 4px 0 rgba(21,106,158,.35);
  transition:transform .12s,box-shadow .12s;}
.cta-secondary:hover{transform:translateY(2px);box-shadow:0 2px 0 rgba(21,106,158,.35);}
.cta-secondary:active{transform:translateY(4px);box-shadow:0 1px 0 rgba(21,106,158,.35);}
.jisseki-cta-group .jisseki-cta{margin-top:0;}
.deco-drum{right:-14px;bottom:-18px;width:118px;transform:rotate(6deg);}

/* シェアボタン（LINE） */
.share-btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;position:relative;z-index:2;}
.sbtn{display:inline-flex;align-items:center;gap:8px;color:#fff;font-weight:700;font-size:15px;
  padding:12px 26px;border-radius:40px;box-shadow:0 5px 0 rgba(0,0,0,.18);transition:transform .12s,box-shadow .12s;}
.sbtn:hover{transform:translateY(2px);box-shadow:0 3px 0 rgba(0,0,0,.18);}
.sbtn:active{transform:translateY(4px);box-shadow:0 2px 0 rgba(0,0,0,.18);}
.sbtn svg{width:20px;height:20px;}
.sbtn-line{background:#06c755;box-shadow:0 5px 0 #04923f;}

/* ---- ランキング一覧 ---- */
.rank-card{position:relative;max-width:660px;margin:0 auto;background:#fff;border-radius:18px;
  padding:26px 22px;box-shadow:0 14px 28px rgba(150,30,40,.22);}
.deco-mask{left:-66px;bottom:14px;width:84px;}
/* 上位行はJSがdata.jsonから挿入。生成前の高さ確保でCLS軽減（上位5件＋あなた行相当） */
.rank-list{list-style:none;min-height:230px;}
/* 対象0件（初回同期前/取得失敗）時の空状態メッセージ */
.rank-empty{text-align:center;color:#8a8078;font-weight:700;font-size:15px;padding:28px 8px 22px;line-height:1.7;}
.rk{display:grid;grid-template-columns:64px 1fr auto;align-items:center;gap:10px;
  padding:12px 6px;border-bottom:1px dashed #eadfd0;font-weight:700;color:var(--ink);}
.rk:last-child{border-bottom:0;}
.rk-pos{font-family:var(--round);font-weight:700;font-size:14px;color:#9a9088;text-align:center;}
.rk-pos b{font-size:26px;color:#c9b89f;margin-right:1px;}
.rk-1 .rk-pos b{color:#e8b400;}.rk-2 .rk-pos b{color:#9fb0c0;}.rk-3 .rk-pos b{color:#cd7f4b;}
.rk-name{font-size:15px;letter-spacing:.02em;}
.rk-name small{font-size:12px;color:#888;font-weight:400;}
.rk-num{font-size:13px;color:#777;}
.rk-num b{font-family:var(--round);font-size:20px;color:var(--ink);margin-right:2px;}
.rk-dim{color:#b6a99a;}
.rk-dim .rk-num b{color:#b6a99a;}
.rk-you{background:linear-gradient(90deg,#fff4d6,#ffe9a8);border-radius:12px;border-bottom:0;margin-top:6px;
  outline:2px solid var(--gold);}
.rk-you .rk-pos b,.rk-you .rk-name,.rk-you .rk-num b{color:var(--red);}

/* ---- 楽しみ方ガイド ---- */
.sec-guide .wrap{z-index:2;}
.guide-panel{position:relative;z-index:2;max-width:680px;margin:0 auto;
  background:#ffe94d;border-radius:20px;padding:34px 22px 26px;
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.55), 0 14px 26px rgba(180,90,10,.22);}
.gcard{position:relative;background:#fff;border-radius:14px;padding:26px 20px 20px;margin-bottom:20px;
  text-align:center;box-shadow:0 5px 12px rgba(140,70,10,.12);}
.gcard:last-child{margin-bottom:0;}
/* 番号入りうちわ画像（img_fan1/2/3.svg に 1・2・3 が描かれている）1枚で完結 */
.gnum{position:absolute;top:-30px;left:50%;transform:translateX(-50%);z-index:2;line-height:0;}
.gnum img{width:52px;height:auto;display:block;filter:drop-shadow(0 2px 4px rgba(0,0,0,.22));}
.gtxt{font-weight:700;font-size:15px;color:var(--ink);line-height:1.8;margin-bottom:16px;}
.gbtns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;}
.gbtn{display:inline-flex;align-items:center;gap:6px;background:#22b34a;color:#fff;font-weight:700;font-size:14px;
  padding:11px 22px;border-radius:40px;box-shadow:0 4px 0 #178037;transition:transform .12s,box-shadow .12s;}
.gbtn:hover{transform:translateY(2px);box-shadow:0 2px 0 #178037;}
.gbtn:active{transform:translateY(3px);box-shadow:0 1px 0 #178037;}
.gbtn i{font-style:normal;font-size:10px;}
.deco-ice{left:-6px;top:64px;width:74px;transform:rotate(-8deg);}
.deco-food{left:18px;top:150px;width:66px;}
.deco-goldfish{right:-10px;top:300px;width:104px;}
.deco-yoyo{right:14px;top:210px;width:64px;}

/* ---- キャンペーン概要 ---- */
.cmp-block{max-width:720px;margin:0 auto 20px;}
.cmp-bar{background:var(--red);color:#fff;font-family:var(--round);font-weight:700;font-size:17px;text-align:center;
  padding:9px 12px;border-radius:8px;letter-spacing:.04em;box-shadow:0 3px 0 rgba(0,0,0,.18);}
.cmp-body{color:#eaf0ff;font-size:13.5px;line-height:1.9;padding:16px 6px 4px;}
.cmp-body b{color:var(--gold);}
.cmp-label{font-weight:700;color:#fff;margin-top:8px;}
.cmp-plans{list-style:none;display:flex;flex-wrap:wrap;gap:6px 8px;margin:8px 0;}
.cmp-plans li{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.3);border-radius:20px;
  padding:4px 14px;font-size:12.5px;font-weight:700;}
.cmp-note{font-size:11.5px;color:rgba(234,240,255,.78);line-height:1.8;margin-top:10px;}
/* 特典クーポンカード（薄色カード＋ギフト/箱アイコン＋2段テキスト×2行） */
.prize-card{background:linear-gradient(160deg,#ffffff,#eef2ff);border-radius:16px;padding:6px 18px;
  margin:6px 0 16px;box-shadow:0 8px 20px rgba(0,0,0,.24);}
.prize-item{display:flex;align-items:center;gap:15px;padding:16px 2px;}
.prize-ico{flex:0 0 auto;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;
  color:#fff;background:linear-gradient(150deg,#ffd54a,#f0a818);box-shadow:0 4px 10px rgba(240,168,24,.42);}
.prize-ico svg{width:30px;height:30px;}
.prize-txt{display:flex;flex-direction:column;gap:3px;line-height:1.5;}
.prize-cond{font-size:12.5px;font-weight:700;color:var(--navy-deep);}
.prize-award{font-family:var(--round);font-weight:900;font-size:15.5px;color:var(--ink);}
.prize-award b{color:var(--red);font-size:1.24em;letter-spacing:.01em;}
.prize-div{border:0;border-top:2px dashed #c6d0ee;margin:0;}
.cmp-notes-list{margin:8px 0 0 0;padding-left:1.1em;}
.cmp-notes-list li{font-size:11.5px;color:rgba(234,240,255,.8);line-height:1.85;margin-bottom:6px;}

/* ---- フッター共有バンド ---- */
.foot-share{position:relative;overflow:hidden;background:linear-gradient(180deg,#23347f,#161f52);color:#fff;
  text-align:center;padding:40px 18px;}
.fs-ttl{font-family:var(--round);font-weight:900;font-size:21px;margin-bottom:6px;}
.fs-sub{font-size:13px;opacity:.9;margin-bottom:18px;}
.fs-spark{position:absolute;top:24px;width:90px;height:90px;border-radius:50%;opacity:.5;
  background:radial-gradient(circle, rgba(255,213,74,.9) 0 2px, transparent 3px) 0 0/14px 14px;}
.fs-spark-l{left:6%;}.fs-spark-r{right:6%;}

/* ---- フッター ---- */
.site-footer{background:var(--navy-deep);color:#fff;padding:28px 0;text-align:center;}
.foot-logo{width:auto;height:30px;margin:0 auto 10px;}
.foot-copy{font-size:12px;opacity:.85;}

/* ============================================================
   MOTION（/impeccable animate・register=brand）
   原則: 既定は完全表示。隠し初期状態は html.js-anim 配下のみ。
   → no-JS / headless / JS失敗時は最初から見える（ブランク事故防止）。
   transform/opacity/filter中心・ease-out系・reduced-motionで全停止。
   ============================================================ */

/* ---- スクロールリビール（visibilityゲートをjs-animに限定） ---- */
html.js-anim .reveal{opacity:0;transform:translateY(24px);
  transition:opacity .6s var(--ease-out-quart),transform .6s var(--ease-out-quart);}
html.js-anim .reveal.in{opacity:1;transform:none;}

/* ---- ヒーロー signature（ロード時1回・LCPを止めない） ---- */
/* タイトルは transform のみ（opacity固定＝LCP画像を遅延させない）。lead/barはfade+rise。 */
@keyframes c26-settle{from{transform:translateY(12px)}to{transform:none}}
@keyframes c26-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
html.js-anim .hero-title{animation:c26-settle .6s var(--ease-out-expo) both;}
html.js-anim .hero-lead{animation:c26-rise .55s var(--ease-out-expo) .08s both;}
html.js-anim .hero-bar{animation:c26-rise .55s var(--ease-out-expo) .16s both;}

/* ---- コレクション：グリッドの sibling stagger（IOで1回） ---- */
/* entrance は個別 translate プロパティを使用（transform を .current/.pop に空けておく） */
@keyframes c26-cell{from{opacity:0;translate:0 16px}to{opacity:1;translate:0 0}}
html.js-anim .collect-grid:not(.in) .cstage{opacity:0;translate:0 16px;}
html.js-anim .collect-grid.in .cstage{animation:c26-cell .5s var(--ease-out-quart) both;
  animation-delay:calc(var(--i,0) * 45ms);}

/* ---- 現在地セル：穏やかな金グロー脈動（box-shadowのみ・低振幅） ---- */
@keyframes c26-glow{
  0%,100%{box-shadow:0 0 0 4px rgba(255,213,74,.35),0 8px 18px rgba(0,0,0,.5);}
  50%{box-shadow:0 0 0 6px rgba(255,213,74,.6),0 8px 22px rgba(0,0,0,.5);}}
html.js-anim .cstage.current{animation:c26-glow 2.4s ease-in-out infinite;}

/* ---- 解放ポップ（locked→unlocked・transformのみ・非currentに付与） ---- */
@keyframes c26-pop{0%{transform:scale(1)}55%{transform:scale(1.06)}100%{transform:scale(1)}}
html.js-anim .cstage.just-unlocked{animation:c26-pop .4s var(--ease-out-quart);}

/* ---- ロック済みクリックの拒否シェイク（本体＋錠アイコン） ---- */
@keyframes c26-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-4px)}
  40%{transform:translateX(4px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}}
html.js-anim .cstage.deny{animation:c26-shake .18s ease;}
html.js-anim .cstage.deny .cstage-lock{animation:c26-shake .18s ease;}

/* ---- FV出し分けクロスフェード（app.jsが opacity をトグル） ---- */
.hero-fv-img{transition:opacity .22s var(--ease-out-quart);}

/* ---- 祭り delight：deco の穏やかなフロート（translate個別プロパティ＝base rotateを保持） ---- */
@keyframes c26-bob{0%,100%{translate:0 0}50%{translate:0 -6px}}
@keyframes c26-bobx{0%,100%{translate:0 0}50%{translate:-5px -4px}}
html.js-anim .deco-drum{animation:c26-bob 7.5s ease-in-out infinite;}
html.js-anim .deco-mask{animation:c26-bob 8.5s ease-in-out infinite .6s;}
html.js-anim .deco-ice{animation:c26-bob 6.5s ease-in-out infinite .3s;}
html.js-anim .deco-food{animation:c26-bob 7s ease-in-out infinite 1s;}
html.js-anim .deco-goldfish{animation:c26-bobx 8s ease-in-out infinite .2s;}
html.js-anim .deco-yoyo{animation:c26-bob 6s ease-in-out infinite .8s;}

/* ---- foot-share の火花 twinkle（opacityのみ） ---- */
@keyframes c26-twinkle{0%,100%{opacity:.5}50%{opacity:.85}}
html.js-anim .fs-spark{animation:c26-twinkle 3s ease-in-out infinite;}
html.js-anim .fs-spark-r{animation-delay:1.2s;}

/* ---- 「あなた」行：個別表示された時に一度だけハイライト脈動 ---- */
@keyframes c26-rkpulse{0%{box-shadow:0 0 0 0 rgba(255,213,74,.65)}100%{box-shadow:0 0 0 12px rgba(255,213,74,0)}}
html.js-anim .rk-you.pulse{animation:c26-rkpulse 1.2s var(--ease-out-quart) 1;}

/* ============================================================
   reduced-motion：ループ・reveal・脈動を全停止（内容は即表示）
   ============================================================ */
@media(prefers-reduced-motion:reduce){
  html.js-anim .reveal{opacity:1;transform:none;transition:none;}
  html.js-anim .collect-grid .cstage{opacity:1;translate:none;}
  *,*::before,*::after{
    animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important;}
}

/* PC：コンテンツ余白・装飾の拡大 */
@media(min-width:768px){
  .sec{padding:46px 0 64px;}
  .guide-panel{padding:44px 44px 34px;}
  .gcard{padding:30px 44px 24px;}
  .gtxt{font-size:16px;}
  .deco-drum{width:150px;right:-26px;}
  .deco-mask{width:120px;left:-118px;}
  .deco-goldfish{width:130px;right:-30px;}
  .deco-ice{width:92px;}.deco-food{width:80px;}.deco-yoyo{width:78px;}
  .cmp-body{font-size:14px;}
  .collect-grid{grid-template-columns:repeat(10,1fr);max-width:1040px;gap:10px;}
  .collect-lead{font-size:15px;}
  .cmodal-box{max-width:760px;}
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media(max-width:767px){
  .sec{padding:36px 0;}
  .sec-ttl{font-size:22px;}
  .cta-primary{font-size:18px;padding:14px 30px;}
  .hero-nav{gap:6px;margin-bottom:12px;}
  .hnav{font-size:12px;padding:7px 12px;}
}
