/* ナレッジバンドル ホームページ専用スタイル（他ページは site.css / style.css。このファイルは index.html だけが読む） */
:root {
  --brand: #0ba8e0;
  --brand-2: #0b6fc2;
  --brand-3: #0784b3;
  --brand-soft: #e6f5fc;
  --ink: #0b1220;
  --ink-2: #1c2b3a;
  --muted: #56657a;
  --muted-2: #7d8a9a;
  --line: rgba(15, 42, 68, 0.1);
  --bg: #f6f9fc;
  --bg-2: #eaf4fb;
  --card: #ffffff;
  --radius: 20px;
  --max: 1120px;
  --shadow: 0 20px 60px rgba(11, 18, 32, 0.12);
  --shadow-sm: 0 6px 20px rgba(11, 18, 32, 0.06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
figure { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { margin: 0; line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(32px, 5.2vw, 56px); font-weight: 800; line-height: 1.22; }
h2 { font-size: clamp(25px, 3.4vw, 38px); font-weight: 800; }
h3 { font-size: 18px; font-weight: 700; }
p { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.grad { background: linear-gradient(92deg, #0ba8e0 0%, #0b6fc2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* スマホだけで改行 */
.br-sp { display: inline; }
@media (min-width: 720px) { .br-sp { display: none; } }

/* ── ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.3; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease; cursor: pointer; font-family: inherit; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .shots-btn:focus-visible, .shots:focus-visible { outline: 3px solid rgba(11,168,224,.45); outline-offset: 2px; }
.btn-primary { background: linear-gradient(92deg, #0ba8e0, #0784b3); color: #fff; box-shadow: 0 10px 28px rgba(11, 168, 224, .3); }
.btn-primary:hover { box-shadow: 0 16px 40px rgba(11, 168, 224, .4); }
.btn-ghost { background: #fff; color: var(--ink); border-color: rgba(15, 42, 68, .16); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-3); }
.btn-lg { padding: 16px 26px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ── ストアバッジ（公式ロゴ。改変しない） */
.badges { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-start; }
.badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; }
.badge img { height: 48px; width: auto; display: block; }
.badge.is-disabled { cursor: default; }
.badge.is-disabled img { opacity: .55; }
.badge .soon { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #7c6f00; background: #fff7cc; border: 1px solid #f5e27a; padding: 2px 10px; border-radius: 999px; }
.badge .soon::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0b400; }

/* ── ヘッダー */
.header { position: sticky; top: 0; z-index: 30; background: rgba(246, 249, 252, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); transition: box-shadow .2s ease; }
.header.is-scrolled { box-shadow: 0 6px 30px rgba(11, 18, 32, .06); }
.header .wrap { display: flex; align-items: center; gap: 18px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 17px; color: var(--ink); white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: none; gap: 26px; margin-left: 10px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2); opacity: .85; }
.nav a:hover { opacity: 1; color: var(--brand-3); }
.header .cta { margin-left: auto; display: flex; gap: 8px; }
.header .cta .btn { padding: 9px 16px; font-size: 14px; white-space: nowrap; box-shadow: none; }
@media (max-width: 420px) { .hide-xs { display: none; } .header .cta .btn { padding: 9px 13px; font-size: 13px; } .brand { font-size: 16px; } }
@media (min-width: 900px) { .nav { display: flex; } }

/* ── ヒーロー */
.hero { position: relative; overflow: hidden; padding: 40px 0 36px; background: radial-gradient(70% 60% at 85% 20%, rgba(11,168,224,.16), transparent 65%), radial-gradient(55% 50% at 0% 0%, rgba(125,216,247,.22), transparent 60%), linear-gradient(180deg, #f3f9fd 0%, var(--bg) 100%); }
.hero > .wrap:first-child { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 48px; }
  .hero > .wrap:first-child { grid-template-columns: 1.05fr .95fr; gap: 40px; }
}
.mbanner[hidden] { display: none; }
.mbanner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-bottom: 18px; padding: 14px 18px; border-radius: 16px; background: linear-gradient(135deg, #0ba8e0 0%, #0784b3 100%); color: #fff; box-shadow: 0 10px 28px rgba(11,168,224,.28); }
.mbanner .mb-icon { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; }
.mbanner .mb-icon svg { width: 20px; height: 20px; }
.mbanner .mb-text { font-size: clamp(18px, 2.6vw, 24px); font-weight: 800; line-height: 1.3; min-width: 0; }
.mbanner .mb-text b { font-size: 1.15em; color: #fde68a; }
.mbanner .mb-sub { flex-basis: 100%; font-size: 13px; opacity: .92; padding-left: 46px; }
.hero .pill { display: inline-flex; align-items: flex-start; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 8px; font-size: 13px; font-weight: 700; line-height: 1.5; color: var(--ink-2); box-shadow: var(--shadow-sm); margin-bottom: 18px; max-width: 100%; }
.hero .pill .dot { width: 20px; height: 20px; border-radius: 50%; background: var(--brand); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 20px; }
.hero .pill .dot svg { width: 12px; height: 12px; }
.hero .lead { font-size: clamp(15.5px, 1.8vw, 18px); color: var(--muted); margin: 20px 0 0; max-width: 560px; }
.hero .lead b { color: var(--ink); }
.hero .lead-sub { font-size: 15px; color: var(--ink-2); margin: 12px 0 0; max-width: 560px; font-weight: 600; }
.hero .lead-sub b { color: var(--brand-3); }
.hero-cta { margin-top: 26px; }
@media (max-width: 599px) { .hero-cta .btn { width: 100%; } }
.hero-note { margin-top: 14px; font-size: 13px; color: var(--muted); max-width: 560px; }
.hero .badges { margin-top: 20px; }
.hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.chip svg { width: 15px; height: 15px; color: var(--brand); }

/* 端末モック（アプリ画面の上部を CSS の枠で表示） */
.phone { position: relative; background: #0b0f17; border-radius: 46px; padding: 11px 11px 0; box-shadow: 0 30px 70px rgba(11,18,32,.22), 0 0 0 1px rgba(255,255,255,.06) inset; overflow: hidden; }
.phone picture, .phone img { display: block; width: 100%; border-radius: 36px 36px 0 0; }
.phone img { aspect-ratio: 640 / 1059; object-fit: cover; object-position: top; }
.phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 18%; background: linear-gradient(to bottom, rgba(246,249,252,0), var(--fade, #f4f9fd)); pointer-events: none; }
.device-wrap { position: relative; display: flex; justify-content: center; align-items: flex-start; perspective: 1400px; padding: 0 0 8px; max-width: 520px; margin: 0 auto; }
.phone-front { width: min(300px, 70vw); z-index: 2; transform-style: preserve-3d; animation: float 8s ease-in-out infinite; will-change: transform; }
.phone-back { position: absolute; width: min(250px, 56vw); right: 2%; top: 44px; z-index: 1; opacity: .96; transform: rotate(6deg); }
.device-wrap .phone-front { margin-right: 22%; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone-front, .phone-back { max-height: 560px; }
.float-card { position: absolute; z-index: 3; background: rgba(255,255,255,.95); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: var(--shadow); font-size: 13px; font-weight: 700; line-height: 1.4; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.float-card .ic { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-3); flex: 0 0 34px; }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card .sub { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.float-card.c1 { left: 0; top: 26%; }
.float-card.c2 { right: 0; bottom: 14%; }
@media (max-width: 600px) {
  .device-wrap .phone-front { margin-right: 18%; }
  .float-card { font-size: 12px; padding: 8px 10px 8px 8px; }
  .float-card .sub { display: none; }
  .float-card.c1 { left: -4px; top: 18%; }
  .float-card.c2 { right: -4px; bottom: 10%; }
  .phone-front, .phone-back { max-height: 460px; }
}

/* ヒーロー下: 数字と QR */
.hero-foot { display: grid; gap: 16px; margin-top: 28px; align-items: center; }
@media (min-width: 900px) and (hover: hover) { .hero-foot { grid-template-columns: 1fr auto; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; min-width: 0; }
.stat b { display: block; font-size: clamp(20px, 3vw, 28px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.3; }
.stat span { font-size: 12px; color: var(--muted); font-weight: 600; line-height: 1.5; display: block; }
.stat em { display: block; font-style: normal; font-size: 11px; color: var(--muted-2); font-weight: 500; margin-top: 2px; }
.stat.is-accent { background: linear-gradient(135deg, #0ba8e0, #0784b3); border-color: transparent; color: #fff; }
.stat.is-accent b { color: #fff; font-size: clamp(16px, 2.2vw, 22px); }
.stat.is-accent span, .stat.is-accent em { color: rgba(255,255,255,.88); }
.qr-inline { display: none; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 16px 10px 10px; max-width: 420px; }
.qr-inline img { width: 76px; height: 76px; border-radius: 10px; background: #fff; padding: 4px; border: 1px solid var(--line); }
.qr-inline b { display: block; font-size: 14px; color: var(--ink); }
.qr-inline span { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
@media (min-width: 900px) and (hover: hover) { .qr-inline { display: flex; } }

/* ── マーキー */
.marquee { padding: 26px 0 6px; overflow: hidden; }
.marquee .track { -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.track { display: flex; gap: 10px; width: max-content; animation: scroll 70s linear infinite; }
.track.rev { animation-direction: reverse; animation-duration: 80s; margin-top: 10px; }
.track:hover { animation-play-state: paused; }
.tag { white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee-note { text-align: center; margin: 18px auto 0; padding: 0 20px; font-size: 14px; color: var(--muted); max-width: 720px; }
.marquee-note strong { color: var(--brand-3); font-weight: 800; font-size: 16px; }

/* ── セクション */
.section { padding: 80px 0; }
.section.tight { padding-top: 40px; }
.section-head { max-width: 680px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head p { margin-top: 12px; color: var(--muted); font-size: 16px; }
.section-head p a { color: var(--brand-3); }
@media (max-width: 599px) { .section { padding: 60px 0; } .section.tight { padding-top: 32px; } .section-head { margin-bottom: 28px; } .section-head p { font-size: 15px; } }

/* 教材別ページへの内部リンク（generate_kb_seo_pages.py が index.html に挿入） */
.mpages { padding-top: 24px; }
.mlinks { display: flex; flex-wrap: wrap; gap: 8px; }
.mlinks a { text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.mlinks a:hover { border-color: var(--brand); color: var(--brand-3); }

/* ── 特長（画面つきの交互レイアウト） */
#features { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature { display: grid; gap: 28px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-media { position: relative; display: flex; justify-content: center; padding: 28px 0 0; border-radius: 28px; background: linear-gradient(160deg, #e9f6fd 0%, #d6eefa 100%); overflow: hidden; --fade: #d9effa; }
.feature-media .phone { width: min(260px, 64vw); max-height: 400px; box-shadow: 0 24px 50px rgba(11,18,32,.18); }
.feature-media .phone::after { --fade: #d7eefa; }
.feature-text { max-width: 480px; }
.feature-num { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--brand-3); background: var(--brand-soft); border-radius: 999px; padding: 2px 12px; margin-bottom: 12px; }
.feature-text h3 { font-size: clamp(21px, 2.6vw, 28px); font-weight: 800; }
.feature-text p { margin-top: 12px; color: var(--muted); font-size: 15.5px; }
.feature-points { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; }
.feature-points li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.feature-points li::before { content: ""; position: absolute; left: 0; top: 5px; width: 17px; height: 17px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 11px no-repeat; }
@media (min-width: 860px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 64px; padding: 44px 0; }
  .feature.is-rev .feature-media { order: 2; }
  .feature-media { padding-top: 40px; }
}

/* ── 使い方 */
.steps { display: grid; gap: 14px; counter-reset: s; list-style: none; padding: 0; margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: start; }
.step::before { counter-increment: s; content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #0ba8e0, #0b6fc2); color: #fff; font-weight: 800; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; }
.step p { color: var(--muted); font-size: 14.5px; }

/* ── 画面カルーセル */
.screens { overflow: hidden; }
.screens-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.screens-head .section-head { margin-bottom: 24px; }
.shots-nav { display: flex; gap: 10px; margin-bottom: 28px; }
.shots-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(15,42,68,.16); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: border-color .2s ease, color .2s ease, opacity .2s ease; }
.shots-btn svg { width: 20px; height: 20px; }
.shots-btn:hover:not(:disabled) { border-color: var(--brand); color: var(--brand-3); }
.shots-btn:disabled { opacity: .35; cursor: default; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(20px, calc((100vw - var(--max)) / 2 + 20px)) 24px; scroll-padding-inline: max(20px, calc((100vw - var(--max)) / 2 + 20px)); -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
.shots::-webkit-scrollbar { display: none; }
.shot { flex: 0 0 auto; width: min(240px, 62vw); scroll-snap-align: start; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 10px 28px rgba(11,18,32,.08); }
.shot img { width: 100%; aspect-ratio: 600 / 1299; }
@media (min-width: 900px) { .shots { gap: 20px; } .shot { width: 250px; } }

/* ── 料金 */
#pricing { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.plans { display: grid; gap: 22px 16px; }
@media (min-width: 720px) { .plans { grid-template-columns: repeat(2, 1fr); align-items: stretch; } }
@media (min-width: 1100px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; position: relative; display: flex; flex-direction: column; }
.plan.featured { background: linear-gradient(160deg, #0f172a, #0f2a44); color: #e2e8f0; border-color: transparent; box-shadow: 0 26px 60px rgba(15, 42, 68, .3); }
.plan.featured h3, .plan.featured .price { color: #fff; }
.plan.featured .muted { color: #b6c0cf; }
.plan .ribbon { position: absolute; top: -13px; left: 22px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 999px; box-shadow: 0 6px 16px rgba(11,168,224,.35); }
.plan .ribbon.dark { background: var(--ink); box-shadow: none; }
.plan .price { font-size: 38px; font-weight: 900; letter-spacing: -0.03em; color: var(--ink); margin: 8px 0 2px; line-height: 1.15; }
.plan .price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan.featured .price small { color: #b6c0cf; }
.plan .per { font-size: 13px; color: var(--muted); font-weight: 600; }
.plan .trial { align-self: flex-start; margin-top: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.5; color: var(--brand-3); background: var(--brand-soft); border-radius: 10px; padding: 5px 10px; }
.plan.featured .trial { background: rgba(255,255,255,.12); color: #7dd8f7; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 9px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.6; }
.plan li svg { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; color: var(--brand); }
.plan.featured li svg { color: #7dd8f7; }
.plan .cta { margin-top: auto; padding-top: 22px; }
.plan .cta .btn { width: 100%; }
.plan.featured .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 30px rgba(255,255,255,.12); }
@media (min-width: 1100px) { .plan.featured { transform: translateY(-8px); } }
.note-box { margin-top: 24px; background: rgba(255,255,255,.7); border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; }
.note-box summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 700; color: var(--ink-2); padding: 14px 0; display: flex; justify-content: space-between; gap: 12px; }
.note-box summary::-webkit-details-marker { display: none; }
.note-box summary::after { content: "+"; color: var(--brand-3); font-weight: 800; }
.note-box[open] summary::after { content: "−"; }
.note { font-size: 13px; color: var(--muted); line-height: 1.8; padding-bottom: 16px; }

/* ── FAQ */
.faq-wrap { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-wrap { grid-template-columns: 320px 1fr; gap: 48px; align-items: start; } .faq-wrap .section-head { position: sticky; top: 96px; } }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; margin-bottom: 10px; transition: box-shadow .2s ease; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; line-height: 1.5; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: rgba(11,168,224,.12); color: var(--brand-3); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; transition: transform .2s ease; flex: 0 0 28px; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.faq details a { color: var(--brand-3); }

/* ── 最終 CTA */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; background: radial-gradient(60% 80% at 90% 10%, rgba(11,168,224,.45), transparent 70%), linear-gradient(135deg, #0b1220, #0f2a44); color: #fff; padding: 44px 24px 0; display: grid; gap: 28px; text-align: center; --fade: #0f2a44; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7d2e0; margin-top: 12px; }
.cta-band .btn-row { justify-content: center; margin-top: 22px; }
.cta-band .badges { justify-content: center; margin-top: 22px; }
.cta-band .badge .soon { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: #fde68a; }
.cta-band .badge.is-disabled img { opacity: .7; }
.cta-band-visual { display: flex; justify-content: center; align-self: end; }
.cta-band-visual .phone { width: min(240px, 60vw); max-height: 300px; border-radius: 40px 40px 0 0; box-shadow: 0 -10px 50px rgba(0,0,0,.3); }
.cta-band-visual .phone::after { background: linear-gradient(to bottom, rgba(15,42,68,0), #0f2a44); }
@media (min-width: 900px) {
  .cta-band { grid-template-columns: 1.3fr .7fr; text-align: left; padding: 56px 56px 0; }
  .cta-band-copy { padding-bottom: 56px; }
  .cta-band .btn-row, .cta-band .badges { justify-content: flex-start; }
  .cta-band-visual .phone { width: 260px; max-height: 380px; }
}
.qr-box { display: inline-flex; align-items: center; gap: 14px; margin-top: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 16px; padding: 10px 16px 10px 10px; text-align: left; }
.qr-box img { width: 72px; height: 72px; background: #fff; border-radius: 10px; padding: 6px; }
.qr-box b { display: block; font-size: 14px; }
.qr-box span { font-size: 12px; color: #c7d2e0; }

/* ── フッター */
.footer { padding: 40px 0 48px; font-size: 13px; color: var(--muted); }
.footer .links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--brand-3); }

/* ── ストア選択ポップアップ */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(11,18,32,.55); backdrop-filter: blur(4px); }
.modal-panel { position: relative; width: min(480px, 100%); background: #fff; border-radius: 22px; padding: 28px 24px 22px; box-shadow: 0 30px 80px rgba(11,18,32,.3); animation: pop .25s cubic-bezier(.2,.7,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.modal-close svg { width: 18px; height: 18px; }
.modal-panel h3 { font-size: 20px; margin-bottom: 8px; padding-right: 40px; }
.store-list { display: grid; gap: 10px; margin-top: 18px; }
.store-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--ink); background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .15s ease; }
.store-item.is-primary { border-color: var(--brand); box-shadow: 0 8px 24px rgba(11,168,224,.18); }
.store-item.is-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(11,168,224,.26); }
.store-item.is-disabled { background: var(--bg); color: var(--muted); cursor: not-allowed; }
.store-item img { height: 40px; width: auto; flex: 0 0 auto; }
.store-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-3); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; }
.store-ic svg { width: 24px; height: 24px; }
.store-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.store-text b { font-size: 15px; }
.store-text span { font-size: 12.5px; color: var(--muted); }
.store-arrow { margin-left: auto; font-weight: 800; color: var(--brand); }

/* ── スクロール出現（控えめ） */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .06s; } .reveal[data-delay="2"] { transition-delay: .12s; } .reveal[data-delay="3"] { transition-delay: .18s; } .reveal[data-delay="4"] { transition-delay: .24s; } .reveal[data-delay="5"] { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  .phone-front, .track, .modal-panel { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .btn:hover { transition: none; transform: none; }
  html { scroll-behavior: auto; }
}
.feature-media .phone.is-short { max-height: 330px; }
@media (max-width: 899px) { .cta-band .badge { align-items: center; } }
.hero .pill { border-radius: 18px; }
@media (min-width: 960px) { .hero-cta .btn-lg { padding: 15px 22px; font-size: 15px; } }

/* Android だけに出すボタン（data-os="android"）。JS 無しでも隠す。端末の判定と残りの出し分けは kb-analytics.js（2026-10-24） */
html:not([data-platform=android]) [data-os=android]{display:none!important}
