/* ミライレンディング — LP（デザイナーのFigma「TOP_PC / TOP_SP」をもとに実装）
   文字と構成は Figma を基準にし、配色は2026-09-18オーナー指示で柔らかく調整。
   2026-09-16: 60〜75歳のモバイル利用を想定し、文字サイズの下限（12px）・本文16px・主従（ブルー塗りは口座開設のみ）を調整。
   legal.html / news.html も同じシェル（ヘッダー・メニュー・フッター）を使う。変更点は DESIGN_LP.md「Figma から意図的に変えた点」参照。 */
:root{
  --rose:#1E77EF; --rose-2:#64A2F5; --rose-dark:#0F4FB0; --rose-light:#B8D4FA;
  /* 白文字の小さなラベル用に濃度を上げたブランドブルー（お知らせバーの塗り・比較グラフの「貸付」の線と差額表示） */
  --rose-strong:#1868DB; --rose-hover:var(--rose-strong);
  --charcoal:#2B3F5A;   /* UI用ネイビー（認証画面と共通。ロゴ原色は保持） */
  --tint:#F7FAFF; --tint-2:#EEF1F6; --ink:#2B3F5A; --ink-2:#485C77; --ink-3:#687990; --line:#E4EAF3; --line-2:#BFCDE0; --line-3:#DCE4EF;
  --yellow:#F7EEC8; --white:#FFFFFF;
  --bar-1:#E7F1FE; --bar-2:#CFE2FC; --bar-3:#AFCFFA; --grid:#E5EAF1; --line-rose:#D3E4FA; --hover-cream:#FAF7EE; --arrow:#CDD8E6;
  --grad:linear-gradient(110deg,var(--rose) 0%,var(--rose) 100%);
  --surface-grad:linear-gradient(110deg,#F9FCFF 0%,#F0F6FE 100%);
  --jp:"Noto Sans JP",system-ui,-apple-system,"Hiragino Sans",sans-serif;
  --en:"Outfit","Noto Sans JP",system-ui,sans-serif;
  --tracking-copy:.02em;
  --radius:20px; --pill:999px;
  --wrap:1040px; --gutter:20px;
  --header-h:56px; --notice-h:48px;
  --shadow-card:0 3px 16px rgba(43,63,90,.05),0 10px 30px rgba(43,63,90,.025);
  --ease:cubic-bezier(.22,.8,.24,1);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 12px);background:var(--white)}
/* 画面の端を越えて引っぱったとき（オーバースクロール）に見える地の色。上は白、ページの後半ではフッターと同じ色（lp.js が切り替える） */
html.ov-foot,html.ov-foot body{background:var(--charcoal)}
main{background:var(--white)}
/* 和文本文は標準字幅＋わずかな字間。palt はヒーローの大見出しだけに限定する。 */
body{margin:0;font-family:var(--jp);font-size:16px;line-height:1.7;letter-spacing:var(--tracking-copy);color:var(--ink);background:var(--white);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-feature-settings:normal;overflow-x:hidden}
img,svg{display:block;max-width:100%}
a{color:inherit;text-decoration:none}
h1,h2,h3,p,ul,ol,dl,dd,figure{margin:0}
ul,ol{padding:0;list-style:none}
button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer}
[hidden]{display:none!important}
.sprite{position:absolute;width:0;height:0;overflow:hidden}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:12px;top:-60px;z-index:100;display:inline-flex;align-items:center;min-height:44px;background:var(--ink);color:var(--white);padding:8px 14px;border-radius:8px}
.skip:focus{top:12px}
:focus-visible{outline:2px solid var(--rose-dark);outline-offset:3px}
.ico{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.wrap{width:min(var(--wrap),100% - var(--gutter)*2);margin-inline:auto}
.center{display:flex;justify-content:center}
.pc-only{display:none}
.nowrap{white-space:nowrap}
.sp-only{display:inline}
/* 注記は 12px 以上・ネイビー60%（--ink-2）。長文の注記（.fine-block）は 13px */
/* 注記は、その枠の右下に置く（2026-09-19 オーナー指示） */
.fine{font-size:12px;line-height:1.6;color:var(--ink-2);letter-spacing:.02em;text-align:right}
.fine-block{margin-top:16px;font-size:13px}

/* ---------- ボタン ---------- */
/* 行の高さは整数 px（24px）。1.7 倍（27.2px）だと文字と矢印の上端の端数が食い違い、文字だけが 1px 上に描かれることがあった */
.btn{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;width:100%;max-width:350px;min-height:64px;padding:0 30px 0 32px;border-radius:var(--pill);background:var(--rose);color:var(--white);font-family:var(--en);font-weight:700;font-size:16px;line-height:24px;letter-spacing:.04em;transition:background-color .2s var(--ease),transform .2s var(--ease),box-shadow .2s var(--ease)}
.btn .ico{width:16px;height:16px;transition:transform .2s var(--ease)}
.btn-lg{min-height:64px}
.btn-block{max-width:none}
.btn-outline{background:var(--white);color:var(--ink);box-shadow:inset 0 0 0 1px var(--line-2)}
.btn-white{background:var(--white);color:var(--rose)}
.btn-ghost{background:transparent;color:var(--white);box-shadow:none;min-height:52px}
/* ページ内で開閉するだけのボタン（表・FAQ）。矢印は下向きにして「申込ボタン」と区別する */
.btn-toggle .ico{transform:rotate(90deg)}
.btn-toggle[aria-expanded="true"] .ico{transform:rotate(-90deg)}
@media (hover:hover){
  .btn:hover{background:var(--rose-hover)}
  .btn:hover .ico{transform:translateX(3px)}
  .btn-outline:hover{background:var(--tint);box-shadow:inset 0 0 0 1px var(--rose)}
  .btn-white:hover{background:var(--tint)}
  .btn-ghost:hover{background:rgba(255,255,255,.12)}
  .btn-toggle:hover .ico{transform:rotate(90deg) translateX(2px)}
  .btn-toggle[aria-expanded="true"]:hover .ico{transform:rotate(-90deg) translateX(2px)}
}
.btn:active{transform:scale(.985)}

/* ---------- ヘッダー ---------- */
.site-header{position:sticky;top:0;z-index:50;background:var(--white)}
.header-bar{height:var(--header-h);border-bottom:1px solid var(--line)}
/* ヘッダーの行は上に 1px の余白を取り、ロゴ（34px）の上端を 11px・ボタン（44px）の上端を 6px の整数位置に置く。
   （下線 1px を除いた 55px の中央だと 10.5px / 5.5px の半端な位置になり、3倍の画面でロゴがにじむため）
   ロゴの img とリンクの指定は認証9ページ（site.css 末尾「ヘッダーを LP と同じ寸法に固定」）と1つ残らず同じ値。
   object-fit は fill（contain にすると Chrome が描画域を丸め直し、ロゴが約1px小さく描かれる）。 */
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-top:1px}
.brand{flex:none;display:flex;align-items:center;min-height:44px;padding:0 4px;margin-left:-4px;border-radius:0;opacity:1}
.brand img{display:block;flex:none;width:auto;height:34px;max-width:none;object-fit:fill}
.brand:focus-visible{outline:2px solid var(--rose-dark);outline-offset:3px}
.gnav{display:none}
.header-actions{display:flex;align-items:center;gap:6px}
/* 「ログイン」は登録・ログイン画面（site.css .auth-page .header-cta）と同じアウトラインボタン。
   寸法・枠・文字をすべて揃えて、LP → 登録へ移ってもヘッダーの見た目が変わらないようにする。
   モバイルでも常時表示（メニューを開かなくても戻れる）。ハンバーガーの左に置く */
/* 行の高さ 22px: 枠 1.5px と合わせて文字の上端が整数位置（ボタンの上端から 11px）になり、PC のナビの文字と同じ高さに並ぶ */
.header-login,.header-cta{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 18px;border:1.5px solid var(--rose);border-radius:12px;font-family:var(--jp);font-size:14px;line-height:22px;letter-spacing:.04em;font-feature-settings:normal;white-space:nowrap;transition:background-color .2s var(--ease),border-color .2s var(--ease)}
.header-login{background:var(--white);color:var(--charcoal);font-weight:700}   /* 500 だと横の「口座開設」やメニューの「ログイン」より細く見える（2026-09-20 オーナー指摘） */
.header-cta{display:none;background:var(--rose);color:var(--white);font-weight:700}
/* 359px 以下はロゴ・ログイン・メニューが1行に入らないため、ボタンの左右余白だけ詰める（site.css も同じ値） */
@media (max-width:359px){
  .header-inner{gap:12px}
  .header-login{padding-inline:12px}
}
@media (hover:hover){
  .header-login:hover{background:var(--tint)}
  .header-cta:hover{background:var(--rose-hover);border-color:var(--rose-hover)}
}
.menu-toggle{position:relative;width:44px;height:44px;margin-right:-8px}
.menu-toggle span{position:absolute;left:10px;right:10px;height:2px;border-radius:2px;background:var(--ink);transition:transform .25s var(--ease),top .25s var(--ease)}
.menu-toggle span:first-child{top:17px}
.menu-toggle span:last-child{top:25px}
.menu-toggle[aria-expanded="true"] span:first-child{top:21px;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] span:last-child{top:21px;transform:rotate(-45deg)}
/* お知らせバーはヘッダーの外・通常フロー（固定しない）。バー全体が #campaign へのリンク。
   地色は LP のアクセントの黄色（--yellow。ヒーローの「最大10%」の下線と同じ）。タグ・見出し・「詳しく見る →」を1行で中央に置く。
   配色: 見出し --ink／タグ --rose-strong の塗りに白文字／「詳しく見る →」--rose-dark。
   3つの要素は align-items:center で中心線を揃える（和文は同じ書体なので字面の中心も揃う）。
   和文は標準字幅。小型画面では文字を詰めず、要素間の gap とタグの padding で1行に収める。 */
.notice-bar{display:block;background:var(--yellow);color:var(--ink);-webkit-tap-highlight-color:transparent}
.notice-inner{display:flex;align-items:center;justify-content:center;gap:6px;min-height:var(--notice-h);padding:4px 0;white-space:nowrap}
/* 行の高さは整数 px（22 / 22 / 20）にして、中央寄せの位置が半端な画素にならないようにする */
.notice-tag{flex:none;display:inline-flex;align-items:center;height:22px;padding:0 10px;border-radius:var(--pill);background:var(--rose-strong);color:var(--white);font-size:12px;font-weight:700;line-height:1;letter-spacing:.02em}
.notice-title{flex:none;display:inline-flex;align-items:center;height:22px;font-size:15px;font-weight:700;line-height:1;letter-spacing:.01em;color:var(--ink)}
.notice-more{flex:none;display:inline-flex;align-items:center;gap:3px;height:22px;font-size:13px;font-weight:700;line-height:1;color:var(--rose-dark)}
.notice-arrow{width:14px;height:14px;stroke-width:2.2;transition:transform .2s var(--ease)}
.notice-bar:focus-visible{outline:2px solid var(--ink);outline-offset:-5px}
@media (hover:hover){
  .notice-bar:hover .notice-more{text-decoration:underline;text-underline-offset:3px}
  .notice-bar:hover .notice-arrow{transform:translateX(2px)}
}
@media (max-width:389px){
  .notice-inner{gap:2px}
  .notice-tag{padding:0 8px}
  .notice-title{font-size:14px;letter-spacing:0}
  .notice-more{font-size:12px}
}
/* 360〜389px は見出し（14px）の字面だけがタグの中心より 0.7px 下に出るため、1/3px 持ち上げる（3倍の画面で 1 画素） */
@media (min-width:360px) and (max-width:389px){
  .notice-title{transform:translateY(-.34px)}
}
@media (max-width:359px){
  .notice-inner{width:calc(100% - 24px);gap:1px}
  .notice-tag{padding:0 4px;letter-spacing:0}
  .notice-title{font-size:13px}
  .notice-more{gap:2px}
  .notice-arrow{width:12px;height:12px}
}

/* ---------- メニュー（SP） ---------- */
.menu{position:fixed;inset:calc(var(--header-h)) 0 0;z-index:49;background:rgba(15,27,43,.55);padding:16px 18px;overflow-y:auto;animation:fade .2s var(--ease)}
.menu-panel{background:var(--white);border-radius:var(--radius);padding:12px 20px 24px;box-shadow:0 20px 50px rgba(15,27,43,.2)}
.menu nav a{display:block;padding:22px 0;text-align:center;font-size:18px;font-weight:700;border-bottom:1px solid var(--line-3);letter-spacing:.04em}
.menu .btn{justify-content:center}
.menu-register{margin-top:18px}
.menu-login{margin-top:12px}
@keyframes fade{from{opacity:0}to{opacity:1}}
body.menu-open{overflow:hidden}

/* ---------- ヒーロー ---------- */
/* 構図: 見出し → 絵の枠（淡い面の中に棒グラフ＋年利のカード）→ ボタン → 注記。
   PCは左に見出しとボタン、右に絵の枠。棒グラフを文字やボタンの下へ流し込まない（2026-09-19 見直し） */
.hero{position:relative;overflow:hidden;background:var(--white);padding:28px 0 40px}
.hero-inner{display:grid;grid-template-columns:minmax(0,1fr);row-gap:24px}
.hero-eyebrow{display:table;font-size:13px;font-weight:700;color:var(--rose-dark);letter-spacing:.04em}
.hero-title{margin-top:12px;font-weight:700;color:var(--ink);letter-spacing:-.01em;font-feature-settings:"palt" 1}
.hero-line{display:block;font-size:clamp(28px,8vw,62px);line-height:1.3}
/* 「毎日増える」と「へ。」は同じ和文なのでベースラインで揃える（下端揃えだと PC で「へ。」が 1px 浮いていた） */
.hero-line-2{display:flex;align-items:baseline;gap:10px;margin-top:6px}
.hero-mark{display:inline-block;padding:0 .14em .02em;border-radius:8px;background:var(--grad);color:var(--white);font-size:clamp(46px,14vw,93px);line-height:1.12;letter-spacing:-.02em}
.hero-tail{font-size:clamp(28px,8vw,62px);line-height:1.2}
.hero-visual{position:relative;overflow:hidden;height:var(--hv,236px);border-radius:24px;background:var(--tint)}
.hero-chart{position:absolute;left:16px;right:16px;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:6px;height:calc(100% - 44px)}
/* 表示ゲート（first-paint-gate）で隠れているあいだは、棒の伸びるアニメーションを待たせる */
html.fp-wait .hero-chart span{animation-play-state:paused}
.hero-chart span{position:relative;flex:1;height:var(--h);border-radius:4px 4px 0 0;background:linear-gradient(180deg,var(--bar-1) 0 24%,var(--bar-2) 24% 52%,var(--bar-3) 52% 100%);transform-origin:bottom;animation:grow .9s var(--ease) both}
.hero-chart span:nth-child(1){animation-delay:.05s}.hero-chart span:nth-child(2){animation-delay:.1s}.hero-chart span:nth-child(3){animation-delay:.15s}
.hero-chart span:nth-child(4){animation-delay:.2s}.hero-chart span:nth-child(5){animation-delay:.25s}.hero-chart span:nth-child(6){animation-delay:.3s}
.hero-chart span:nth-child(7){animation-delay:.35s}.hero-chart span:nth-child(8){animation-delay:.4s}.hero-chart span:nth-child(9){animation-delay:.45s}
@keyframes grow{from{transform:scaleY(0)}to{transform:scaleY(1)}}
/* 小型機（iPhone SE 級）ではグラフを低くして、1スクロール以内に口座開設ボタンが入るようにする */
/* 高さ800px以下（Safari のバーが出ている iPhone のほぼ全機種）は、絵を低くして詰め、浮いた高さを下のルールで上の余白に回す */
@media (max-height:800px){.hero-visual{--hv:176px}.hero{padding:30px 0 28px}.hero-inner{row-gap:18px}}
/* スマホ: ヒーローを最初の1画面（ヘッダーとお知らせバーの下）いっぱいに広げ、余った高さを「上・絵の上・ボタンの上」に等分する。
   注記が画面のいちばん下あたりに来て、上が詰まって見えない（2026-09-20 オーナー指示）。
   画面が低くて収まらないときは min-height が効かず、これまでどおり上から順に並ぶ。svh はアドレスバーが出ている状態の高さ */
@media (max-width:767px){
  @supports (min-height:100svh){
    .hero{display:flex;flex-direction:column;min-height:calc(100svh - var(--header-h) - var(--notice-h))}
    .hero-inner{flex:1 0 auto;display:flex;flex-direction:column}
    .hero-copy,.hero-visual,.hero-actions{margin-top:auto}
  }
}
/* 年利のカード: 絵の枠の左上に浮かせる。後ろを棒グラフが通る */
.rate-card{position:absolute;z-index:1;left:16px;top:16px;display:flex;padding:20px 18px 14px;border-radius:16px;background:var(--white);box-shadow:var(--shadow-card)}
.rate{position:relative;display:flex;align-items:flex-end;gap:6px;padding:0 6px}
.rate::after{content:"";position:absolute;left:0;right:0;bottom:2px;height:12px;background:var(--yellow);z-index:-1;border-radius:2px}
.rate-tag{position:absolute;left:4px;top:-4px;font-size:12px;font-weight:700;letter-spacing:.06em;color:var(--white);background:var(--ink-2);border-radius:5px;padding:1px 8px}
/* 数字と「%」はベースラインで揃える（下端揃えだと「%」が 1〜2px 浮いていた）。
   「最大」は和文なので、字面の下端が数字の下端（ベースライン）に揃うよう 0.1em 持ち上げる（和文は字面がベースラインより下に出るため） */
.rate{align-items:baseline}
.rate-max{position:relative;top:-.1em;margin-right:12px;font-size:27px;font-weight:700;line-height:1}   /* 右の余白: 「通常年利」の札が 10 の字にかからない距離 */
.rate-num{font-family:var(--en);font-weight:600;font-size:70px;line-height:.8;color:var(--rose-2);letter-spacing:-.03em}
.rate-unit{font-family:var(--en);font-weight:700;font-size:24px;line-height:1;color:var(--rose-2)}
.hero-actions{display:grid;gap:12px}
.hero-actions .btn{max-width:none}
.hero-note{margin-top:-8px;text-wrap:balance}

/* ---------- 4つの特長 ---------- */

/* ---------- セクション共通 ---------- */
.section{padding:70px 0}
.tint{background:var(--tint)}
.sec-head{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:36px}
.eyebrow{font-family:var(--en);font-weight:700;font-size:13px;letter-spacing:.06em;color:var(--rose)}
.sec-head h2,.sec-head h1{margin-top:6px;font-size:22px;line-height:1.45;font-weight:700;letter-spacing:.01em;color:var(--ink)}
/* リードは1文だけ（2026-09-16 補助テキスト削減）。1〜2行なので SP も中央揃え */
.sec-lead{margin-top:16px;max-width:560px;font-size:16px;line-height:1.85;text-align:center;color:var(--ink)}

/* ---------- 同じ1 BTCでも ---------- */
.btc-card{position:relative;background:var(--white);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:62px 16px 24px;margin-top:72px}
.btc-tab{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);width:min(320px,calc(100% - 32px));padding:12px 16px;border-radius:var(--pill);background:var(--rose);color:var(--white);text-align:center;font-weight:700;font-size:15px;line-height:1.6}
.btc-charts{display:grid;gap:36px}
.chart-title{position:relative;padding-left:12px;font-size:13px;font-weight:700;color:var(--rose-dark)}
.chart-title::before{content:"";position:absolute;left:0;top:0;bottom:0;width:2px;background:var(--rose-dark)}
/* 比較グラフ（lp.js が実寸 px で描く）。
   価格の線は年ごとの点を必ず通る波線。「貸付」は太く濃いブルー、「ただ保有」は細いグレー、2本のあいだはブルーのグラデーション。
   縦軸はデータの範囲に合わせて詰める。右端（5年後）の値ラベルと差額は HTML で重ねる（SVG の縮小で 12px 未満にならない）。 */
.chart{min-width:0}
.chart-legend{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:14px;font-size:13px;font-weight:700;color:var(--ink-2)}
.chart-legend span{display:inline-flex;align-items:center;gap:8px}
.chart-legend span::before{content:"";width:24px;border-radius:2px}
.lg-hold::before{height:2px;background:var(--line-2)}
.lg-lend{color:var(--ink)}
.lg-lend::before{height:4px;background:var(--rose-strong)}
.chart-plot{position:relative;margin-top:18px}
.chart-svg{display:block;width:100%;height:200px;overflow:visible}
.chart-svg .grid{stroke:var(--grid);stroke-width:1}
.chart-svg .base{stroke:var(--line);stroke-width:1}
.chart-svg .line-price{fill:none;stroke:var(--ink-2);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
.chart-svg .line-hold{fill:none;stroke:var(--line-2);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chart-svg .line-lend{fill:none;stroke:var(--rose-strong);stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.chart-svg .gap-edge,.chart-svg .gap-tick{stroke:var(--rose-strong);stroke-width:2;stroke-linecap:round}
.chart-svg .pt{cursor:pointer;outline:none}
.chart-svg .pt circle{fill:var(--ink-2);stroke:var(--white);stroke-width:2.5}
.chart-svg .pt.hold circle{fill:var(--line-2)}
.chart-svg .pt.lend circle{fill:var(--rose-strong)}
.chart-svg .pt circle.hit{fill:transparent!important;stroke:none!important}
.chart-svg .pt:focus-visible circle:not(.hit){stroke:var(--rose-dark);stroke-width:3}
.chart-svg .sel-line{stroke:var(--rose-light);stroke-width:1.5;stroke-dasharray:3 4}
.chart-svg .sel-dot{fill:var(--rose);stroke:var(--white);stroke-width:3.5;filter:drop-shadow(0 3px 8px rgba(30,119,239,.4));transition:cx .35s var(--ease),cy .35s var(--ease)}
.chart-end{position:absolute;left:0;top:0;transform:translateY(-50%);font-family:var(--en);font-size:13px;font-weight:700;line-height:1.3;letter-spacing:0;font-variant-numeric:tabular-nums;white-space:nowrap;pointer-events:none}
.chart-end.is-price{color:var(--ink)}
.chart-end.is-lend{color:var(--rose-strong)}
.chart-end.is-hold{color:var(--ink-2)}
.chart-end.is-diff{padding:2px 6px;border-radius:var(--pill);background:var(--rose-strong);color:var(--white);font-size:12px;line-height:1.4;box-shadow:0 4px 10px rgba(24,104,219,.25)}
/* 年の切替ボタンは高さ 44px。lp.js が各ボタンの中心をグラフの点の真下に合わせる（幅が足りない 359px 以下などは3列×2段） */
.chart-x{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));margin-top:8px}
.chart-x.is-wrap{grid-template-columns:repeat(3,minmax(0,1fr));width:auto!important}
.chart-x button{min-height:44px;font-size:13px;font-weight:700;color:var(--rose-strong);padding:0;border-radius:8px;white-space:nowrap}
.chart-x button[aria-pressed="true"]{background:var(--tint);color:var(--rose-dark)}
@media (max-width:389px){.chart-x button{font-size:12px}}
.btc-hint{position:relative;width:min(471px,100%);margin:34px auto 0;padding:16px;border-radius:var(--radius);background:var(--tint-2);text-align:center;font-size:14px;line-height:1.7;font-weight:700;color:var(--rose-strong);word-break:auto-phrase;text-wrap:balance}
.btc-hint::after{content:"";position:absolute;left:50%;bottom:-9px;transform:translateX(-50%);border:10px solid transparent;border-bottom:0;border-top-color:var(--tint-2)}
.btc-table{position:relative;width:min(471px,100%);margin:44px auto 0;padding:30px 20px 18px;border-radius:var(--radius);background:var(--charcoal);color:var(--white)}
.btc-table-tab{position:absolute;left:50%;top:0;transform:translate(-50%,-50%);min-width:98px;padding:3px 18px;border-radius:var(--pill);background:var(--charcoal);box-shadow:0 0 0 3px var(--white);text-align:center;font-weight:700;font-size:15px}
/* ラベル（13px）と金額（18〜22px）は大きさが違うので中心線で揃える。点線も同じ中心線の上に置く。
   行の高さはすべて整数 px（ラベル 22px・金額 22px／差額 26px） */
.btc-table dl div{display:flex;align-items:center;gap:10px;padding:10px 0}
.btc-table dt{flex:none;font-size:13px;line-height:22px;color:rgba(255,255,255,.85)}
.btc-table div::after{content:"";order:1;flex:1;height:0;border-bottom:1px dotted rgba(255,255,255,.55)}
.btc-table dd{order:2;font-family:var(--en);font-weight:700;font-size:18px;line-height:22px;font-variant-numeric:tabular-nums;white-space:nowrap}
.btc-table dd.diff{position:relative;top:-1px;font-size:22px;line-height:26px;color:var(--yellow)}   /* 22px の数字は字面の中心が約 1px 下に出るため */

/* ---------- 枚数が増える仕組み ---------- */
.how-list{display:grid;gap:14px}
.how-list li{display:grid;grid-template-columns:64px 1fr;column-gap:16px;align-items:center;padding:18px;border-radius:var(--radius);background:var(--white);box-shadow:inset 0 0 0 1px var(--line-rose)}
.how-ico{grid-row:span 2;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:var(--grad);color:var(--white)}
.how-ico .ico{width:26px;height:26px}
.how-list h3{font-size:16px;line-height:1.5;color:var(--rose-dark)}
/* 番号も見出しと同じ Noto Sans JP（同じ 16px で書体が混ざると、番号だけが 1px 浮いて見えるため） */
.how-list h3 span{margin-right:8px;font-variant-numeric:tabular-nums}
.how-list p{margin-top:4px;font-size:14px;line-height:1.7;color:var(--ink)}
.message-card{position:relative;margin-top:28px;padding:30px 24px 30px;border-radius:var(--radius);background:var(--tint-2);color:var(--ink);text-align:center}
.message-title{font-size:16px;font-weight:700;line-height:1.75}
/* 注記のカード: 先頭にインフォメーションのアイコン、続けて言葉。まとまりを中央に置く */
.message-card-note{display:flex;align-items:center;justify-content:center;gap:18px}
/* 情報マーク: 上の手順のアイコンと同じ「ブルーの丸に白いマーク」 */
/* 情報マークはブルーにしない（2026-09-20 オーナー指示）。本文と同じネイビーのグレー */
.message-ico{flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--ink-2);color:var(--white)}
.message-ico .ico{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round}
.message-card-note .message-title{text-align:left}
.message-card-center{padding:28px 24px}

/* ---------- 2つのプラン ---------- */
.plan-grid{display:grid;gap:20px}
.plan{position:relative;display:flex;flex-direction:column;padding:32px 24px 28px;border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow-card)}
.plan-name{font-size:28px;font-weight:700;line-height:1.35;letter-spacing:.01em}
.plan-sub{margin-top:6px;margin-bottom:22px;font-size:14px;font-weight:700;color:var(--rose)}
/* 条件の枠はカードの下端にそろえる。2枚のカードは同じ高さなので、左右の枠が同じ位置に並ぶ */
.plan-rows{display:grid;gap:10px;margin:auto 0 0;padding:16px;border-radius:var(--radius);background:var(--tint)}
.plan-rows li{position:relative;padding-left:28px;font-size:15px;line-height:24px}
/* アイコンは 19px・上 3px（中心 12.5px）。和文 15px の字面の中心（行の中央より約 0.5px 下）に合わせる */
.plan-rows .ico{position:absolute;left:0;top:3px;width:19px;height:19px;color:var(--rose)}
.plan-rows b{font-weight:700}
/* 「プランは口座開設後に選べます」はカードごとではなく、2枚の下に1回だけ */
.plan-fine{margin-top:16px;text-align:center;font-size:13px}
.plan-premium{background:var(--rose);color:var(--white)}
.plan-premium .plan-sub{color:var(--white)}   /* ベーシックの副題と同じ大きさ・1行（以前は 19px・2行で大きすぎた） */
.plan-premium .plan-rows{background:var(--white);color:var(--ink)}
.plan-premium .plan-rows .ico{color:var(--rose-dark)}
.plan-star{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--white);color:var(--rose-dark);box-shadow:inset 0 0 0 1px var(--line-rose);margin-bottom:14px}
.plan-star .ico{width:22px;height:22px}
.plan-badge{position:absolute;right:24px;top:34px;padding:2px 14px;border-radius:var(--pill);background:var(--yellow);color:var(--rose-dark);font-size:13px;font-weight:700}

/* ---------- キャンペーン ---------- */
/* お知らせバーと同じ黄色（キャンペーンは黄色のバナーで案内しているので、セクションの札も黄色にそろえる。2026-09-19 オーナー指示） */
.campaign-badge{display:inline-flex;align-items:center;gap:6px;margin-bottom:18px;padding:4px 16px;border-radius:var(--pill);background:var(--yellow);color:var(--rose-dark);font-family:var(--en);font-weight:700;font-size:14px;line-height:22px;letter-spacing:.02em}
.campaign-badge .ico{width:15px;height:15px;margin-top:1px;fill:currentColor;stroke:none}   /* 15px＋上 1px で中心を 0.5px 下げ、英字の大文字の中心に合わせる */
.bonus-grid{display:grid;gap:16px}
.bonus{padding:26px 20px 28px;border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow-card)}
.bonus-title{padding-left:10px;border-left:2px solid var(--rose-dark);font-size:15px;font-weight:700;line-height:1.6;color:var(--rose-dark)}
.bonus-ex{margin-top:18px;font-size:13px;color:var(--ink-2);text-align:center}
.bonus-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 10px;margin-top:8px;font-size:13px;font-weight:700;text-align:center}
.bonus-tag{padding:2px 10px;border-radius:4px;box-shadow:inset 0 0 0 1px var(--rose-light);color:var(--rose-dark);font-size:12px}
.bonus-rate{position:relative;isolation:isolate;display:flex;align-items:flex-end;justify-content:center;width:max-content;margin:18px auto 0;padding:0 8px}
.bonus-rate::after{content:"";position:absolute;left:0;right:0;bottom:0;height:22px;background:var(--yellow);z-index:-1}
.bonus-num{font-family:var(--en);font-weight:600;font-size:104px;line-height:.8;letter-spacing:-.04em;color:var(--rose-2)}
.bonus-unit{font-family:var(--en);font-weight:700;font-size:38px;line-height:1;color:var(--rose-2)}
/* 数字・「%」はベースライン。「相当」は和文なので 2px 持ち上げて字面の下端を数字の下端に揃える */
.bonus-rate{align-items:baseline}
.rules{margin-top:16px;padding:24px 22px;border-radius:var(--radius);background:var(--tint)}
/* 見出しは中央。箇条書きは左をそろえたまま、かたまりごと中央に置く（行頭の「・」の位置がそろう） */
.rules h3{font-size:15px;font-weight:700;color:var(--ink-2);text-align:center}
.rules ul{display:grid;gap:6px;width:fit-content;max-width:100%;margin:10px auto 0}
.rules li{position:relative;padding-left:14px;font-size:14px;line-height:1.7;color:var(--ink-2)}
.rules li::before{content:"・";position:absolute;left:0}
.cta-with-illust{display:flex;flex-direction:column;align-items:center;margin-top:56px}
/* イラストなしのCTA。2人のイラストは「はじめ方」だけに使う（キャンペーンと重なるため） */
.cta-plain{display:flex;justify-content:center;margin-top:40px}
.illust-cheer{width:116px;height:auto;margin-bottom:-6px;transform:translateX(64px)}
.cta-with-illust .fine{max-width:350px;margin-top:12px}

/* ---------- マイページ ---------- */
/* アイコンは 21px＋上 1px（中心を 0.5px 下げ、和文 15px の字面の中心に合わせる） */
/* マイページのモックアップ（アプリのホーム画面。画像は app/index.html を 390×844 で撮ったもの） */
.phone{position:relative;justify-self:center;width:min(248px,68vw);margin:0;padding:9px;border-radius:42px;background:#384C68;box-shadow:0 28px 56px rgba(15,79,176,.16),0 8px 20px rgba(15,27,43,.16)}
.phone::before{content:"";position:absolute;z-index:1;top:17px;left:50%;width:30%;height:20px;border-radius:var(--pill);background:#384C68;transform:translateX(-50%)}
.phone-screen{overflow:hidden;padding-top:30px;border-radius:33px;background:var(--white)}
.phone-screen img{display:block;width:100%;height:auto}

/* ---------- 対応銘柄 ---------- */
.coin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.coin{position:relative;display:flex;align-items:center;gap:10px;min-height:66px;padding:12px 14px;border-radius:var(--radius);background:var(--tint)}
/* 銘柄名と記号の2行（18px＋18px）の字面の中心に、アイコンの中心を合わせる。
   アイコンは 35px＋下 1px（36px の箱を上下中央に置くと上端が整数 px になり、中心は文字の組の中心と同じ位置） */
.coin img{width:35px;height:35px;margin-bottom:1px;border-radius:50%;flex:none}
.coin b{display:block;font-family:var(--en);font-size:14px;line-height:18px;white-space:nowrap}
.coin small{display:block;font-family:var(--en);font-size:12px;line-height:18px;color:var(--ink-2)}
.coin.is-soon{background:var(--tint-2)}
.coin.is-soon img{opacity:.5}
.coin.is-soon b{color:var(--ink-2)}
.coin em{position:absolute;right:10px;top:8px;padding:0 8px;border-radius:var(--pill);background:var(--white);font-style:normal;font-size:12px;font-weight:700;line-height:1.7;color:var(--ink-2);white-space:nowrap}
.coin-note{margin:28px auto 24px;max-width:760px;font-size:16px;line-height:1.85;text-align:center}
.coin-table{margin:24px auto 0;max-width:760px;overflow-x:auto}
.coin-table table{width:100%;border-collapse:collapse;font-size:14px}
/* 行の中は1行目のベースラインで揃える（和文の銘柄名と Outfit の年利が同じ行に並ぶため。中央揃えだと年利だけ 1px 浮く）。
   年利2列は同じ幅で中央に揃え、準備中の表示を2つのプランの中間に置く。 */
.coin-table th{padding:10px 8px;text-align:left;vertical-align:baseline;font-size:12px;font-weight:700;color:var(--ink-2);white-space:nowrap}
.coin-table th small{display:block;font-weight:400}
.coin-table td{padding:12px 8px;border-top:1px solid var(--line);vertical-align:baseline;white-space:nowrap}
.coin-table th:nth-child(n+3){width:22%}
.coin-table th:nth-child(n+3),.coin-table td.num{text-align:center}
.coin-table td.num{font-family:var(--en);font-weight:700;font-variant-numeric:tabular-nums}
.coin-table td.soon{color:var(--ink-2)}
.coin-table td.soon[colspan]{text-align:center}
.coin-table .fine{margin-top:10px}
@media (max-width:479px){
  .coin-table table{font-size:13px}
  .coin-table th,.coin-table td{padding-inline:4px}
  .coin-table th:first-child,.coin-table td:first-child{padding-left:0}
  .coin-table th:last-child,.coin-table td:last-child{padding-right:0}
  .coin-table td:nth-child(2){white-space:normal;line-height:1.45}   /* ネットワーク名だけは折り返してよい（Ethereum／（ERC20）） */
}
/* 320px 幅では4列を折り返して横スクロールをなくす */
/* 339px 以下は「ただ保有との差額」の金額（22px）が行からはみ出し、ほかの金額と右端がずれるため 18px にし、点線との間隔を 6px に詰める */
@media (max-width:339px){.btc-table dl div{gap:6px}.btc-table dd.diff{top:0;font-size:18px}}
/* 「5年後に3,000万円になったら。」は 15px だと 359px 以下で最後の1文字だけ次の行へ落ちる */
@media (max-width:359px){.btc-tab{padding-inline:8px;font-size:14px}}
@media (max-width:359px){.coin-table td{white-space:normal}.coin-table td,.coin-table th{padding:10px 4px}.coin-table table{font-size:13px}}

/* ---------- 安心して貸し付けるために ---------- */
.trust-list{display:grid;gap:12px}
.trust-list li{display:flex;gap:14px;padding:22px 20px;border-radius:var(--radius);background:var(--white);transition:background-color .25s var(--ease)}
.trust-list .ico{width:24px;height:24px;margin-top:2px;color:var(--rose)}
.trust-list h3{font-size:16px;line-height:1.6;color:var(--rose-dark)}
.trust-list p{margin-top:6px;font-size:15px;line-height:1.8}
@media (hover:hover){.trust-list li:hover{background:var(--hover-cream)}}
#risk .center{margin-top:0}

/* ---------- はじめ方 ---------- */
.step-list{display:grid;gap:34px}
.step-list li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;padding:28px 22px 26px;border-radius:var(--radius);background:var(--tint)}
.step-list li:not(:last-child)::after{content:"";position:absolute;left:50%;bottom:-24px;transform:translateX(-50%);border:8px solid transparent;border-bottom:0;border-top:10px solid var(--arrow)}
.step-badge{display:grid;place-items:center;align-content:center;width:64px;height:64px;border-radius:50%;background:var(--grad);color:var(--white);font-family:var(--en);font-weight:700;font-size:24px;line-height:1}
.step-badge small{font-size:12px;letter-spacing:.12em;margin:0 -.12em 3px 0}
.step-list h3{margin-top:14px;font-size:16px;color:var(--rose)}
.step-list p{margin-top:6px;font-size:14px;line-height:1.75}

/* ---------- よくある質問 ---------- */
.faq-list{display:grid;gap:8px;max-width:800px;margin:0 auto}
.faq-list details{border-radius:var(--radius);background:var(--white)}
.faq-list summary{display:flex;align-items:center;gap:14px;min-height:64px;padding:14px 20px;font-size:16px;font-weight:700;line-height:1.5;cursor:pointer;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
/* 開閉の「＋／−」も Q の丸と同じく 1px 下げ、質問文の字面の中心に置く（margin-top 2px ＝ 中央から 1px 下） */
.faq-list summary::after{content:"";flex:none;width:16px;height:16px;margin-top:2px;margin-left:auto;background:linear-gradient(var(--rose),var(--rose)) center/16px 2px no-repeat,linear-gradient(var(--rose),var(--rose)) center/2px 16px no-repeat;transition:transform .25s var(--ease)}
.faq-list details[open] summary::after{background:linear-gradient(var(--rose),var(--rose)) center/16px 2px no-repeat}
/* 質問文の末尾「か？」だけが次の行に落ちないよう、語のまとまりで折り返す */
.faq-list summary,.faq-list .a p{word-break:auto-phrase;text-wrap:pretty}
.q{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:var(--rose);color:var(--white);font-family:var(--en);font-weight:700;font-size:13px}
/* Q の丸は 1px 下げる（和文 16px の字面の中心は行の中央より約 1px 下にあるため）。A の丸は回答の1行目の中心に合わせる */
.faq-list summary .q{position:relative;top:1px}
.q-a{background:var(--tint);color:var(--rose);margin-top:1px}
.faq-list .a{display:flex;gap:14px;padding:0 20px 20px}
.faq-list .a p{font-size:16px;line-height:1.85}

/* ---------- 重要事項説明書 ---------- */
#risk .sec-head h2{text-wrap:balance}

/* ---------- 締めのCTA・フッター ---------- */
.finale{background:var(--surface-grad);color:var(--ink);padding:64px 0 56px;overflow:hidden}
.finale-copy{display:flex;flex-direction:column;align-items:center;text-align:center}
.finale h2{font-size:22px;font-weight:700;line-height:1.55}
.finale-copy>p{margin-top:14px;font-size:16px;line-height:1.85}
.finale .btn-white{margin-top:28px}
/* イラストはセクションの下端に貼り付けない（フッターにめり込んで見える）。スマホは文言の下で中央、PCは文言の右隣で上下中央 */
.illust-cubes{display:block;width:196px;height:auto;margin:32px auto 0}
/* 下の余白は小さく保つ。追従ボタンはフッターでは必ず隠れる（lp.js）ので、ボタンの分の余白は要らない。
   iPhone の Safari は、ページの末尾の下にツールバーの分の地（html.ov-foot の色）を自分で足す */
.site-footer{background:var(--charcoal);color:var(--white);padding:44px 0 max(28px,env(safe-area-inset-bottom))}
.footer-brand a{display:inline-block}
.footer-brand img{display:block;width:auto;height:48px}
.footer-brand p{margin-top:12px;font-size:14px;color:rgba(255,255,255,.85)}
.footer-nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px;margin-top:36px}
@media (max-width:767px){
  .footer-brand{text-align:center}
  .footer-brand img{margin-inline:auto}
  .footer-nav{grid-template-columns:repeat(2,max-content);justify-content:center;column-gap:clamp(40px,14vw,72px)}
}
.footer-nav p{margin-bottom:10px;font-size:13px;font-weight:700;color:rgba(255,255,255,.75)}
.footer-nav a{display:flex;align-items:center;min-height:44px;padding:8px 0;font-size:15px;font-weight:700}
.footer-bottom{display:grid;gap:10px;margin-top:40px;padding-top:20px;border-top:1px solid rgba(255,255,255,.28)}
/* 「運営会社」と社名は行内に並べる（flex にするとベースラインが取れず、右の © の行と揃っているか測れないため）。社名は途中で折り返さない */
/* 同じ行の「運営会社 デジタルアセットコンサルティング合同会社（Digital Asset Consulting LLC）」と同じ書体（Noto Sans JP）にする */
.footer-copy{font-size:13px;color:rgba(255,255,255,.85);text-align:center}
/* 追従バーは、ページ末尾（#next）と、本文のブルー塗り「口座を開設する」が画面にある間は出さない（lp.js）。
   そのため本文の末尾に余白は置かない（置くと finale と footer のあいだに白い帯ができる）。 */
.sticky-cta{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 26px 0 30px;border-radius:var(--pill);background:var(--rose);color:var(--white);font-family:var(--en);font-weight:700;font-size:16px;line-height:24px;letter-spacing:.04em;box-shadow:0 8px 24px rgba(30,119,239,.18);transform:translateY(12px);opacity:0;transition:transform .3s var(--ease),opacity .3s var(--ease);pointer-events:none}
.sticky-cta{visibility:hidden}
.sticky-cta.is-visible{transform:none;opacity:1;pointer-events:auto;visibility:visible}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}html{scroll-behavior:auto}}

/* ---------- 下層ページ（legal.html / news.html）— LP と同じシェルで本文だけ差し替える ---------- */
.page-section{padding:44px 0 70px}
.page-section .sec-head{margin-bottom:28px}
.company-list{max-width:800px;margin:0 auto;padding:8px 20px;border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow-card)}
.company-list>div{display:grid;gap:4px;padding:16px 0;border-bottom:1px solid var(--line)}
.company-list>div:last-child{border-bottom:0}
.company-list dt{font-size:13px;font-weight:700;color:var(--ink-2)}
.company-list dd{font-size:16px;line-height:1.7;overflow-wrap:anywhere}
@media (max-width:479px){.company-list dd{font-size:15px;letter-spacing:0}}
.company-list a,.news-list p a{display:inline-block;padding:10px 0;margin:-10px 0;color:var(--rose-dark);text-decoration:underline;text-underline-offset:3px}
.news-list{display:grid;gap:12px;max-width:800px;margin:0 auto}
.news-list article{padding:22px 20px;border-radius:var(--radius);background:var(--white)}
.news-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px}
.news-meta time{font-size:13px;font-weight:700;line-height:24px;color:var(--ink-2);font-variant-numeric:tabular-nums}
.news-tag{padding:2px 10px;border-radius:4px;box-shadow:inset 0 0 0 1px var(--rose-light);color:var(--rose-dark);font-size:12px;font-weight:700;line-height:20px}
.news-list h2{margin-top:8px;font-size:17px;line-height:1.5;font-weight:700;color:var(--ink)}
.news-list p{margin-top:8px;font-size:15px;line-height:1.8}
.page-cta{margin-top:40px}

/* ====================================================================
   タブレット（768px〜）
   ==================================================================== */
@media (min-width:768px){
  :root{--gutter:40px;--notice-h:52px}
  .section{padding:88px 0}
  .sec-head h2{font-size:23px}
  .sec-head h1{font-size:26px}
  .how-list,.plan-grid,.bonus-grid,.trust-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .coin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .step-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
  .step-list li::after{display:none}
  .bonus-grid,.rules{max-width:762px;margin-inline:auto}
  .rules{margin-top:16px}
  .hero{padding:48px 0 56px}
  .hero-inner{row-gap:32px}
  .hero-visual{--hv:320px;border-radius:28px}
  .hero-chart{left:32px;right:32px;gap:14px;height:calc(100% - 56px)}
  .rate-card{left:28px;top:28px;padding:24px 24px 18px}
  .hero-actions{grid-template-columns:repeat(2,minmax(0,280px))}
  .btc-card{padding:72px 36px 40px}
  .chart-svg{height:240px}
  .footer-nav{grid-template-columns:repeat(3,auto);justify-content:start;gap:32px 56px}
  .notice-inner{gap:14px}
  .notice-tag{height:24px;padding:0 12px;font-size:13px;line-height:24px}
  .notice-title{font-size:16px;line-height:24px}
  .notice-more{gap:4px;height:24px;margin-left:8px;font-size:14px;line-height:24px}
  .notice-arrow{width:16px;height:16px}
  /* 768px 以上は見出し（16px）と「詳しく見る」（14px）の字面がタグの中心より 0.75〜1px 下に出るため 1px 上げる。矢印は元の中心に戻す */
  .notice-title,.notice-more{position:relative;top:-1px}
  .notice-arrow{position:relative;top:1px}
  .company-list{padding:8px 28px}
  /* ラベル 14px と値 16px は大きさが違うので、値の1行目と中心線で揃える（両方とも行の高さ 28px・上揃え。値が2行になってもラベルは1行目に並ぶ） */
  .company-list>div{grid-template-columns:180px 1fr;gap:16px;align-items:start}
  .company-list dt{font-size:14px;line-height:28px}
  .company-list dd{line-height:28px}
  .page-section{padding:56px 0 88px}
  .news-list article{padding:26px 28px}
}

/* ====================================================================
   PC（1024px〜）— Figma「TOP_PC」1440px 基準
   ==================================================================== */
@media (min-width:1024px){
  .pc-only{display:inline}
  .sp-only{display:none}
  .section{padding:100px 0}
  .sec-head{margin-bottom:56px}
  .sec-lead{max-width:660px}
  .btc-card{margin-top:40px}

  /* ヘッダー */
  .gnav{display:flex;gap:clamp(16px,2vw,28px);font-size:14px;font-weight:700;white-space:nowrap}
  .gnav a{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:0;line-height:22px}   /* ボタンの文字と同じ上端（11px） */
  .gnav a::after{content:"";position:absolute;left:0;right:0;bottom:6px;height:2px;border-radius:2px;background:var(--rose);transform:scaleX(0);transition:transform .25s var(--ease)}
  .gnav a:hover::after{transform:scaleX(1)}
  /* 「ログイン」と「口座開設」は同じ高さ 44px・角丸 12px・同じ幅。塗りの有無だけで主従を分ける */
  .header-cta{display:inline-flex}
  .menu-toggle{display:none}
  .header-actions{gap:10px}

  /* ヒーロー: 左＝見出しとボタン、右＝絵の枠。左のまとまりは絵の枠の高さの中央に来る */
  .hero{padding:64px 0 72px}
  .hero-inner{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);grid-template-areas:"copy visual" "actions visual" ". note";column-gap:56px;row-gap:0}
  .hero-copy{grid-area:copy;align-self:end}
  .hero-visual{grid-area:visual;--hv:456px;border-radius:32px}
  .hero-actions{grid-area:actions;align-self:start;display:flex;gap:12px;margin-top:96px}
  .hero-actions .btn{flex:1 1 0;width:auto;max-width:264px}
  .hero-note{grid-area:note;margin-top:14px}
  .hero-eyebrow{padding:3px 16px;border:1px solid var(--rose-dark);border-radius:var(--pill);font-size:14px;font-weight:400}
  .hero-title{margin-top:20px}
  .hero-line,.hero-tail{font-size:clamp(42px,4.1vw,52px)}
  .hero-mark{font-size:clamp(62px,6vw,76px)}
  .hero-chart{left:36px;right:36px;gap:10px;height:calc(100% - 72px)}
  .hero-chart span{border-radius:6px 6px 0 0}
  .rate-card{left:32px;top:32px;padding:30px 28px 22px;border-radius:var(--radius)}
  .rate{gap:8px}
  .rate::after{height:15px;bottom:0}
  .rate-tag{font-size:15px;padding:1px 10px;top:-10px}
  .rate-max{margin-right:16px;font-size:34px}
  .rate-num{font-size:92px}
  .rate-unit{font-size:32px}

  /* 特長 */

  /* BTC */
  .btc-card{padding:88px 56px 56px}
  /* 2つのグラフを横に並べ、凡例の有無にかかわらず描画域・年ボタンの高さを揃える（subgrid） */
  .btc-charts{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(4,auto);gap:0 56px}
  .chart{display:grid;grid-row:span 4;grid-template-rows:subgrid}
  .chart-title{grid-row:1;align-self:start}
  .chart-legend{grid-row:2;align-self:start}
  .chart-plot{grid-row:3}
  .chart-x{grid-row:4;align-self:start}
  .chart-svg{height:250px}
  .chart-end{font-size:14px}
  .chart-end.is-diff{font-size:13px}
  .btc-tab{width:318px}

  /* 仕組み */
  .how-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
  .how-list li{grid-template-columns:1fr;justify-items:center;align-content:start;padding:24px 16px 26px}
  .how-ico{grid-row:auto;margin-bottom:14px}
  .how-list h3{text-align:center}
  .how-list p{margin-top:8px}
  .message-card{padding:34px 80px}
  .message-card-note{gap:20px}
  .message-ico{width:30px;height:30px}
  .message-ico .ico{width:23px;height:23px}

  /* プラン */
  .plan-grid{gap:16px}
  .plan{padding:40px}
  .plan-name{font-size:30px}
  .plan-badge{right:40px;top:44px}

  /* キャンペーン */
  .bonus{padding:32px 20px 32px}
  .bonus-num{font-size:130px}
  .bonus-unit{font-size:44px}

  /* マイページ（左にモックアップ、右に機能一覧） */

  /* 銘柄・安心・手順 */
  .coin-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
  .trust-list{max-width:760px;margin-inline:auto;gap:12px 20px}
  .step-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
  .step-list li:not(:last-child)::after{display:block;left:auto;right:-16px;top:50%;bottom:auto;transform:translateY(-50%);border:7px solid transparent;border-right:0;border-left:9px solid var(--arrow)}

  /* 締め・フッター */
  .finale{padding:72px 0}
  .finale-inner{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;column-gap:56px}
  .finale-copy{grid-column:2;width:350px}
  .illust-cubes{grid-column:3;justify-self:start;width:232px;margin:0}
  .site-footer{padding:72px 0 56px}
  .footer-top{display:flex;justify-content:space-between;gap:40px}
  .footer-brand img{height:52px}
  .footer-nav{margin-top:0}
  .footer-bottom{margin-top:48px}
  .sticky-cta{display:none}

  /* 下層ページ */
  .page-section{padding:64px 0 100px}
  .page-section .sec-head{margin-bottom:40px}
}

/* ---------- Web フォントが届いても本文を動かさない ----------
   大きな数字（Outfit）の行は、端末の書体で描いている間と Web フォントに替わった後で高さが 3〜8px 変わり、
   その下の本文がすべて跳ねていた（スマホで読み込み直後にスクロールすると目立つ）。Web フォントでの高さに固定する。 */
.rate{height:57px}
.bonus-rate{height:85px}
@media (min-width:1024px){
  .rate{height:76px}
  .bonus-rate{height:106px}
}

/* 短いキャンペーンルールは語のまとまりを優先する。 */
.rules li{word-break:auto-phrase;text-wrap:pretty}
/* 長い注意事項は通常の禁則処理で折り返し、行末に大きな空白を残さない。 */

/* ヒーローの強調部分「貸して増やす」（6字）: 320px でも1行に収まる大きさにし、途中で折り返さない。
   末尾は「。」だけなので、強調の枠との間を詰める（全角の「。」は字面の右に空きがあるため） */
.hero-mark{white-space:nowrap}
@media (max-width:1023px){.hero-mark{font-size:clamp(38px,13vw,93px)}}
.hero-line-2{gap:2px}

/* ==========================================================================
   2026-09-19 単調さを減らす3つの変更（オーナー採用。参考: Refero の Monzo / Kraken / Wise）
   A. マイページ: 画面を主役にして数字のカードを浮かせる
   B. ヒーロー直下: 4つのアイコンの帯 → 大きな数字の帯（「1万円〜」を含む）
   C. 締めを濃いネイビーにする案は、同日に取り下げ（フッターがグレーで、下が黒くなりすぎる）。ピンクの面のまま
   ========================================================================== */
/* ---------- B. 数字の帯 ---------- */
.stats{background:var(--white);border-block:1px solid var(--line);padding:36px 0}
.stats-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 12px}
.stats-list li{display:grid;justify-items:center;text-align:center;gap:6px}
.stats-list b{display:flex;align-items:baseline;gap:3px;height:52px;font-family:var(--en);font-weight:600;font-size:52px;line-height:52px;color:var(--rose);letter-spacing:-.03em}
.stats-list b small{font-family:var(--jp);font-size:18px;font-weight:700;letter-spacing:0}
.stats-list b.ja{font-family:var(--jp);font-size:30px;font-weight:700;letter-spacing:0}
.stats-list li>span{font-size:14px;line-height:1.6;color:var(--ink-2)}

/* ---------- A. マイページ ---------- */
.mp-grid{display:grid;gap:36px;align-items:center}
.mp-stage{position:relative;display:grid;place-items:center;min-height:430px;padding:40px 0 0;border-radius:28px;background:linear-gradient(160deg,#F1F7FF 0%,#E4EFFD 100%);overflow:hidden}
.mp-stage .phone{width:232px;margin:0 0 -120px}
.mp-stage .phone-screen{background:var(--tint)}   /* 画像が届くまで真っ白に見えないように、淡い地色を敷く */
.mp-chip{position:absolute;z-index:2;display:grid;gap:2px;padding:12px 16px;border-radius:16px;background:var(--white);box-shadow:0 10px 30px rgba(43,63,90,.14),0 2px 6px rgba(43,63,90,.06)}
.mp-chip small{font-size:12px;font-weight:500;line-height:1.4;color:var(--ink-2)}
.mp-chip b{font-family:var(--en);font-size:20px;font-weight:700;line-height:1.2;color:var(--ink);letter-spacing:-.01em}
.mp-chip b.up{color:#177A4C}
.mp-chip-1{left:14px;top:84px}
.mp-chip-2{right:12px;top:176px}
.mp-chip-3{left:20px;bottom:36px}
.mp-points{display:grid;gap:22px}
.mp-points li{display:grid;grid-template-columns:48px minmax(0,1fr);gap:4px 16px;align-items:center}
.mp-ico{grid-row:span 2;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--grad);color:var(--white)}
.mp-ico .ico{width:22px;height:22px}
.mp-points h3{font-size:18px;font-weight:700;line-height:1.5;color:var(--ink)}
.mp-points p{font-size:15px;line-height:1.7;color:var(--ink-2)}
@media (max-width:359px){.mp-chip-1{left:8px}.mp-chip-2{right:6px}.mp-chip-3{left:10px}.mp-chip b{font-size:18px}}

@media (min-width:1024px){
  .stats{padding:52px 0}
  .stats-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:0}
  .stats-list li+li{border-left:1px solid var(--line)}
  .stats-list b{height:72px;font-size:72px;line-height:72px}
  .stats-list b small{font-size:22px}
  .stats-list b.ja{font-size:38px}
  .stats-list li>span{font-size:15px}
  .mp-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:72px}
  .mp-stage{min-height:520px;border-radius:32px}
  .mp-stage .phone{width:272px;margin-bottom:-150px}
  .mp-chip{padding:14px 20px}
  .mp-chip b{font-size:24px}
  .mp-chip-1{left:36px;top:96px}
  .mp-chip-2{right:28px;top:210px}
  .mp-chip-3{left:48px;bottom:56px}
  .mp-points{gap:32px}
  .mp-points h3{font-size:21px}
  .mp-points p{font-size:16px}
}

/* ==========================================================================
   規約・方針のページ（利用規約・重要事項説明書・プライバシーポリシー・契約書面・基本方針）。
   5つとも同じ形: 上に文書どうしを行き来する帯 → 白い1枚の紙（.doc）→ 末尾は .doc-sign（制定日・会社名・代表者）。
   紙の中は、条・項目の見出し＝h2、小見出し＝h3、本文＝p / ol / ul / table。本文は tools/build_legal.py が docs/legal/ から組み立てる
   ========================================================================== */
.doc-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:800px;margin:0 auto 24px}
.doc-nav-row{display:contents}
.doc-nav a{display:inline-flex;align-items:center;min-height:40px;padding:0 16px;border-radius:var(--pill);background:var(--white);box-shadow:inset 0 0 0 1px var(--line-2);font-size:14px;font-weight:700;color:var(--ink)}
.doc-nav a[aria-current="page"]{background:var(--rose);box-shadow:none;color:var(--white)}
@media (max-width:767px){
  .doc-nav{flex-direction:column;align-items:center;gap:8px}
  .doc-nav-row{display:flex;justify-content:center;gap:6px;max-width:100%}
  /* 左右の余白は画面幅に合わせて広げる（2026-09-26）。375px 以上は PC と同じ 16px、2行目（3つ）が1行に収まる範囲で 320px は 8px */
  .doc-nav a{padding:0 clamp(8px,calc(8px + (100vw - 320px) * .175),16px);font-size:12px;letter-spacing:0;white-space:nowrap}
}
.doc{max-width:800px;margin:0 auto;padding:28px 20px 32px;border-radius:var(--radius);background:var(--white);box-shadow:var(--shadow-card);font-size:16px;line-height:1.9;color:var(--ink);overflow-wrap:anywhere}
.doc+.doc{margin-top:24px}
.doc{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}   /* 本文はコピーさせない（lp.js 側でも copy・右クリックを止めている）。リンクは押せる */
.doc-title{margin:0 0 4px;padding-bottom:20px;border-bottom:1px solid var(--line);text-align:center;font-size:19px;line-height:1.5;font-weight:700;color:var(--ink);text-wrap:balance}
.doc h2{margin-top:32px;padding-top:28px;border-top:1px solid var(--line);font-size:17px;line-height:1.6;font-weight:700;color:var(--rose-dark)}
.doc h2:first-child,.doc-title+div>h2:first-child{margin-top:0;padding-top:0;border-top:0}
.doc-title+div>h2:first-child{margin-top:24px}
.doc h3{margin-top:22px;font-size:16px;line-height:1.7;font-weight:700;color:var(--ink)}
.doc h2+h3{margin-top:14px}
.doc p{margin-top:10px}
.doc h3+p{margin-top:4px}
.doc>p:first-child{margin-top:0}
.doc ol,.doc ul{margin-top:10px;padding-left:1.5em}
.doc ol{list-style:decimal}
.doc ul{list-style:disc}
.doc ol ol{list-style:lower-roman;margin-top:6px}
.doc li{margin-top:6px}
.doc li::marker{color:var(--ink-2)}
.doc a{color:var(--rose-dark);text-decoration:underline;text-underline-offset:3px}
.doc a[href^="mailto:"]{white-space:nowrap}   /* メールアドレスを途中で折り返さない */
.doc-table{margin-top:14px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.doc table{width:100%;min-width:480px;border-collapse:collapse;font-size:14px;line-height:1.7}
.doc th,.doc td{padding:10px 12px;border:1px solid var(--line);text-align:left;vertical-align:top}
.doc th{background:var(--tint);font-weight:700;white-space:nowrap}
.doc td:first-child{min-width:7em;font-weight:700}
.doc-sign{margin-top:36px;padding-top:24px;border-top:1px solid var(--line);text-align:right;font-size:15px;line-height:1.8;color:var(--ink)}
.doc-sign p{margin-top:0}
.doc-sign p+p{margin-top:6px}
#company.page-section{padding-top:56px}
@media (min-width:1024px){
  .doc{padding:48px 56px 52px}
  .doc-title{font-size:22px}
  .doc h2{font-size:18px}
  .footer-nav{grid-template-columns:repeat(4,auto)}
}

/* TRUSTの説明文は4つとも1行で見せたい。375px級では 15px だと数pxはみ出して2行になるので、14px にする */
@media (max-width:392px){.trust-list p{font-size:14px}}
@media (max-width:374px){.trust-list p{font-size:13px}}
/* 狭い画面（320〜360px）で、見出しの最後の1〜2文字だけが次の行へ落ちるのを防ぐ */
.sec-head h2,.how-list h3,.mp-points h3,.trust-list h3,.step-list h3,.how-list p,.mp-points p,.trust-list p,.step-list p{text-wrap:balance}
/* 文節のまとまり。日本語は語の途中でも折り返されるので（「仕／組み」「確認でき／ます」）、折り返してよい位置を文節の切れ目だけにする。
   word-break:auto-phrase は Safari が未対応なので使わない。1つの文節が行より長いときは中で折り返す（はみ出さない） */
.ph{display:inline-block;max-width:100%}
/* プレミアムの副題は1行で見せる。320px級だけ 13px にして「で。」が落ちないようにする */
@media (max-width:359px){.plan-premium .plan-sub{font-size:13px;letter-spacing:0}}

/* ==========================================================================
   2026-09-19 モーション（オーナー指示「シンプルすぎるので、うざくない程度に、スクロールが最後まで楽しくなるように」）
   ・すべて html.motion の下に置く。lp.js が「動きを減らす設定がオフ」かつ IntersectionObserver が使えるときだけ
     html に .motion を付ける。JSが動かない・動きを減らす設定の人には、最初から全部見えている。
   ・動かすのは opacity / translate / scale / clip-path だけ。高さや幅は変えないので、レイアウトのずれは起きない。
   ・もとの transform と衝突しないよう、個別プロパティの translate・scale を使う（transform を使うのは、もとに transform が無い要素だけ）。
   ・モーションのオン・オフのボタンは置かない（共通ルール §10）。
   ========================================================================== */
html.fp-wait .notice-bar *,html.fp-wait .notice-bar::after,html.fp-wait .hero *{animation-play-state:paused!important}

/* ---------- お知らせバー: 開いた直後に光が2回走る ---------- */
html.motion .notice-bar{position:relative;overflow:hidden}
html.motion .notice-bar::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 40%,rgba(255,255,255,.9) 50%,transparent 60%);translate:-100% 0;animation:rl-shine 3.6s cubic-bezier(.4,0,.2,1) .7s 2 both}
html.motion .notice-tag{animation:rl-pop .7s cubic-bezier(.3,1.6,.5,1) .35s both}
html.motion .notice-arrow{animation:rl-nudge 1.1s ease-in-out 1.5s 3}
@keyframes rl-shine{0%{translate:-100% 0}30%,100%{translate:100% 0}}
@keyframes rl-pop{from{opacity:0;scale:.6}to{opacity:1;scale:1}}
@keyframes rl-nudge{0%,100%{translate:0 0}50%{translate:4px 0}}

/* ---------- ヒーロー: 開いた直後に、上から順に立ち上がる ---------- */
html.motion .hero-eyebrow{animation:rl-rise .8s var(--ease) .05s both}
html.motion .hero-line:first-child{animation:rl-rise .8s var(--ease) .15s both}
html.motion .hero-mark{animation:rl-mark .9s cubic-bezier(.6,0,.2,1) .4s both}
html.motion .hero-tail{animation:rl-fade .5s ease-out 1.1s both}
html.motion .hero-visual{animation:rl-zoom 1s var(--ease) .2s both}
html.motion .hero-actions .btn{animation:rl-rise .8s var(--ease) .6s both}
html.motion .hero-actions .btn+.btn{animation-delay:.7s}
html.motion .hero-note{animation:rl-fade .8s ease-out 1.2s both}
html.motion .rate-card{animation:rl-pop .8s cubic-bezier(.3,1.4,.5,1) .65s both,rl-float 6s ease-in-out 2s infinite}
@keyframes rl-rise{from{opacity:0;translate:0 22px}to{opacity:1;translate:0 0}}
@keyframes rl-fade{from{opacity:0}to{opacity:1}}
@keyframes rl-zoom{from{opacity:0;scale:.96}to{opacity:1;scale:1}}
@keyframes rl-mark{from{clip-path:inset(0 100% 0 0 round 8px)}to{clip-path:inset(0 0 0 0 round 8px)}}
@keyframes rl-float{0%,100%{translate:0 0}50%{translate:0 -6px}}

/* ---------- スクロールで現れる部品（lp.js が data-rv と、順番の遅れ --d を付ける） ---------- */
html.motion [data-rv]{transition:opacity .55s ease-out var(--d,0ms),translate .8s var(--ease) var(--d,0ms),scale .8s var(--ease) var(--d,0ms)}
html.motion [data-rv]:not(.is-in){opacity:0}
html.motion [data-rv="up"]:not(.is-in){translate:0 26px}
html.motion [data-rv="pop"]:not(.is-in){scale:.88}
html.motion [data-rv="stage"]:not(.is-in){scale:.97;translate:0 20px}
html.motion [data-rv="chart"]:not(.is-in){opacity:1}
html.motion [data-rv="pop"]{transition-timing-function:cubic-bezier(.3,1.4,.5,1)}
html.motion .illust-cubes[data-rv]{transition:opacity .9s var(--ease) var(--d,0ms),transform 1.1s cubic-bezier(.3,1.3,.5,1) var(--d,0ms)}
html.motion .illust-cubes[data-rv]:not(.is-in){transform:translateY(46px)}

/* 部品の中の小さな動き。親が現れてから少し遅れて出る */
html.motion .is-in>.how-ico,html.motion .is-in>.step-badge,html.motion .is-in>.mp-ico,html.motion .is-in .message-ico,html.motion .is-in>.plan-star{animation:rl-pop .7s cubic-bezier(.3,1.6,.5,1) calc(var(--d,0ms) + .22s) both}
html.motion .trust-list li.is-in>.ico{animation:rl-pop .7s cubic-bezier(.3,1.6,.5,1) calc(var(--d,0ms) + .22s) both}
html.motion .is-in>.plan-badge,html.motion .campaign-badge.is-in .ico{animation:rl-pop .7s cubic-bezier(.3,1.6,.5,1) calc(var(--d,0ms) + .45s) both}
html.motion .plan.is-in .plan-rows li{animation:rl-rise .6s var(--ease) both}
html.motion .plan.is-in .plan-rows li:nth-child(1){animation-delay:calc(var(--d,0ms) + .15s)}
html.motion .plan.is-in .plan-rows li:nth-child(2){animation-delay:calc(var(--d,0ms) + .24s)}
html.motion .plan.is-in .plan-rows li:nth-child(3){animation-delay:calc(var(--d,0ms) + .33s)}
html.motion .cta-with-illust.is-in .illust-cheer{animation:rl-cheer 1s cubic-bezier(.3,1.5,.5,1) calc(var(--d,0ms) + .3s) both}
@keyframes rl-cheer{0%{opacity:0;translate:0 18px;rotate:-6deg}60%{rotate:3deg}100%{opacity:1;translate:0 0;rotate:0deg}}

/* キャンペーンの数字の下の黄色い帯が、左から引かれる */
html.motion .bonus[data-rv]:not(.is-in) .bonus-rate::after{scale:0 1}
html.motion .bonus .bonus-rate::after{transform-origin:left;transition:scale .7s cubic-bezier(.6,0,.2,1) calc(var(--d,0ms) + .5s)}

/* グラフ: 左から右へ描かれ、終点の数字が最後に出る */
html.motion .chart[data-rv]:not(.is-in) .chart-svg{clip-path:inset(-40px 100% -40px -40px)}
html.motion .chart[data-rv]:not(.is-in) .chart-end{opacity:0}
html.motion .chart.is-in:not(.is-done) .chart-svg{animation:rl-wipe 1.6s cubic-bezier(.5,0,.2,1) both}
html.motion .chart.is-in:not(.is-done) .chart-end{animation:rl-pop .6s cubic-bezier(.3,1.6,.5,1) 1.35s both}
html.motion .chart.is-in:not(.is-done) .chart-end.is-diff{animation-delay:1.6s}
@keyframes rl-wipe{from{clip-path:inset(-40px 100% -40px -40px)}to{clip-path:inset(-40px -40px -40px -40px)}}

/* マイページ: スマホ画面が下からせり上がり、数字のカードが左右から入って、ゆっくり浮かぶ */
html.motion .mp-stage .phone{transition:transform 1.1s var(--ease) .15s}
html.motion .mp-stage[data-rv]:not(.is-in) .phone{transform:translateY(80px)}
html.motion .mp-chip{transition:opacity .7s var(--ease),translate .9s cubic-bezier(.3,1.3,.5,1)}
html.motion .mp-stage[data-rv]:not(.is-in) .mp-chip{opacity:0}
html.motion .mp-stage[data-rv]:not(.is-in) .mp-chip-1,html.motion .mp-stage[data-rv]:not(.is-in) .mp-chip-3{translate:-36px 0}
html.motion .mp-stage[data-rv]:not(.is-in) .mp-chip-2{translate:36px 0}
html.motion .mp-chip-1{transition-delay:.55s}
html.motion .mp-chip-2{transition-delay:.7s}
html.motion .mp-chip-3{transition-delay:.85s}
html.motion .mp-stage.is-done .mp-chip{animation:rl-float 6s ease-in-out infinite}
/* 浮かぶ動きは、今いる位置（0）から始める。以前は -2s・-4s の途中から始めていて、切り替わった瞬間に 4〜6px 跳んでいた（2026-09-26）。
   ずらしは開始の遅れと周期の違いでつける */
html.motion .mp-stage.is-done .mp-chip-2{animation-duration:7s;animation-delay:.9s}
html.motion .mp-stage.is-done .mp-chip-3{animation-duration:8s;animation-delay:1.8s}
html.motion .mp-stage.is-done:not(.is-live) .mp-chip,html.motion .hero-visual:not(.is-live) .rate-card{animation-play-state:paused}

/* 締めのボタン: 現れたあとに一度だけ光が走る */
html.motion .finale .btn-white{position:relative;overflow:hidden}
html.motion .finale .btn-white::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,rgba(30,119,239,.16) 50%,transparent 62%);translate:-100% 0}
html.motion .finale .btn-white.is-in::after{animation:rl-shine 3.2s cubic-bezier(.4,0,.2,1) 1s 2 both}

/* スクロールに連動して、画面と絵がゆっくり動く（対応ブラウザのみ） */
@supports (animation-timeline:view()){
  html.motion .mp-stage .phone{animation:rl-drift linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
  html.motion .illust-cubes{animation:rl-drift-s linear both;animation-timeline:view();animation-range:entry 0% exit 100%}
  @keyframes rl-drift{from{translate:0 26px}to{translate:0 -26px}}
  @keyframes rl-drift-s{from{translate:0 18px}to{translate:0 -8px}}
}

/* カードに乗せたとき、少し持ち上がる（マウスのある端末だけ） */
@media (hover:hover) and (pointer:fine){
  html.motion .plan:not([data-rv]),html.motion .bonus:not([data-rv]),html.motion .how-list li:not([data-rv]),html.motion .coin:not([data-rv]){transition:translate .35s var(--ease),box-shadow .35s var(--ease)}
  html.motion .plan:not([data-rv]):hover,html.motion .bonus:not([data-rv]):hover,html.motion .how-list li:not([data-rv]):hover,html.motion .coin:not([data-rv]):hover{translate:0 -4px}
}
