/* ナレッジバンドル 共通 UI（2026-09-29）
 * 読むページ: ホーム（index.html）・教材ページ /m/**（generate_kb_seo_pages.py が生成）
 * site.css は広告 LP・規約ページも使うので触らず、教材ページの見た目はここで上書きする（body.kb-m / body.kb-col）。
 * 方針: スマホ優先。ヘッダーは「ロゴ＋コラム＋メニュー」、目次はハンバーガーのシートに。タップ領域は 44px 以上。
 *       動きは prefers-reduced-motion で止める。
 */
:root {
  --kb-ink: #0b1220;
  --kb-ink-2: #1c2b3a;
  --kb-muted: #56657a;
  --kb-muted-2: #7d8a9a;
  --kb-line: rgba(15, 42, 68, .1);
  --kb-bg: #f6f9fc;
  --kb-card: #fff;
  --kb-brand: #0ba8e0;
  --kb-brand-2: #0b6fc2;
  --kb-brand-3: #0784b3;
  --kb-soft: #e6f5fc;
  --kb-radius: 20px;
  --kb-radius-sm: 14px;
  --kb-shadow-sm: 0 6px 20px rgba(11, 18, 32, .06);
  --kb-shadow: 0 20px 60px rgba(11, 18, 32, .12);
  --kb-grad: linear-gradient(92deg, #0ba8e0 0%, #0b6fc2 100%);
}

/* ─────────────────────────────────────────────
 * ハンバーガーとシート（HP・教材ページ共通）
 * ───────────────────────────────────────────── */
.kb-menu-btn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 44px; height: 44px; flex: none; padding: 0; border-radius: 12px; border: 1px solid var(--kb-line); background: #fff; color: var(--kb-ink); cursor: pointer; }
.kb-menu-btn span { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s ease, opacity .2s ease; }
.kb-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.kb-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.kb-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.kb-menu-btn:focus-visible, .kb-pill:focus-visible, .kb-sheet a:focus-visible, .kb-sheet button:focus-visible { outline: 3px solid rgba(11, 168, 224, .45); outline-offset: 2px; }
.kb-pill { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 999px; background: var(--kb-soft); color: var(--kb-brand-3); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; flex: none; }
.kb-pill b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--kb-brand); color: #fff; font-size: 11px; }
@media (min-width: 900px) { .kb-menu-btn, .kb-pill.kb-sp { display: none; } }

html.kb-lock, html.kb-lock body { overflow: hidden; }
.kb-sheet { position: fixed; inset: 0; z-index: 100; }
.kb-sheet[hidden] { display: none; }
.kb-sheet__backdrop { position: absolute; inset: 0; background: rgba(11, 18, 32, .42); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: kb-fade .2s ease both; }
.kb-sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 380px); display: flex; flex-direction: column; gap: 18px; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 18px calc(22px + env(safe-area-inset-bottom)); background: #fff; border-radius: 24px 0 0 24px; box-shadow: var(--kb-shadow); animation: kb-slide .28s cubic-bezier(.2, .8, .2, 1) both; }
.kb-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kb-sheet__head .brand { font-size: 16px; }
.kb-sheet__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--kb-line); background: #fff; font-size: 22px; line-height: 1; color: var(--kb-ink); cursor: pointer; }
.kb-sheet__label { margin: 4px 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--kb-muted-2); }
.kb-sheet__list { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.kb-sheet__list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 10px 12px; border-radius: 12px; color: var(--kb-ink-2); font-weight: 700; font-size: 15px; text-decoration: none; }
.kb-sheet__list a::after { content: ""; width: 8px; height: 8px; flex: none; border-top: 2px solid var(--kb-muted-2); border-right: 2px solid var(--kb-muted-2); transform: rotate(45deg); }
.kb-sheet__list a:hover, .kb-sheet__list a.on { background: var(--kb-bg); }
.kb-sheet__list a.hl { background: var(--kb-soft); color: var(--kb-brand-3); }
.kb-sheet__list a b { margin-left: auto; margin-right: 4px; display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--kb-brand); color: #fff; font-size: 12px; }
.kb-sheet__cta { display: grid; gap: 10px; margin-top: auto; }
.kb-sheet__cta .btn { width: 100%; }
@keyframes kb-fade { from { opacity: 0; } }
@keyframes kb-slide { from { transform: translateX(40px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .kb-sheet__backdrop, .kb-sheet__panel { animation: none; }
  .kb-menu-btn span { transition: none; }
}

/* HP: 教材別ページのリンク（45 件）をスマホでは折りたたむ */
.mlinks-more { display: none; }
@media (max-width: 719px) {
  .mlinks.is-collapsed a:nth-child(n+13) { display: none; }
  .mlinks-more { display: inline-flex; margin-top: 14px; }
}

/* ─────────────────────────────────────────────
 * 教材ページ・コラム（body.kb-m）: site.css を 2026 年版の見た目に上書き
 * ───────────────────────────────────────────── */
body.kb-m { background: var(--kb-bg); color: var(--kb-ink-2); line-height: 1.8; overflow-x: hidden; }
body.kb-m h1, body.kb-m h2, body.kb-m h3 { color: var(--kb-ink); letter-spacing: -.01em; }
body.kb-m h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.35; }
body.kb-m a { color: var(--kb-brand-3); text-underline-offset: 3px; text-decoration-thickness: 1px; }
body.kb-m .kb-sheet__list a, body.kb-m .nav a { color: var(--kb-ink-2); text-decoration: none; }
body.kb-m .kb-sheet__list a.hl { color: var(--kb-brand-3); }
body.kb-m .nav a:hover { color: var(--kb-brand-3); }
body.kb-m .crumbs a { color: var(--kb-muted); text-decoration: none; }
body.kb-m .brand, body.kb-m .kb-sheet .brand { color: var(--kb-ink); text-decoration: none; }

/* ヘッダー（ガラス調） */
body.kb-m .header { background: rgba(246, 249, 252, .8); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--kb-line); z-index: 50; transition: box-shadow .2s ease; }
body.kb-m .header.is-scrolled { box-shadow: 0 6px 30px rgba(11, 18, 32, .06); }
body.kb-m .header .wrap { height: 62px; gap: 10px; }
body.kb-m .brand { color: var(--kb-ink); white-space: nowrap; font-size: 16px; min-width: 0; }
body.kb-m .brand img { width: 32px; height: 32px; border-radius: 9px; }
body.kb-m .header .cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
body.kb-m .header .cta .btn-store { display: none; }
@media (min-width: 900px) {
  body.kb-m .nav { display: flex; }
  body.kb-m .header .cta .btn-store { display: inline-flex; padding: 9px 18px; font-size: 14px; }
}
@media (max-width: 359px) { body.kb-m .brand span { display: none; } }

/* ページ内ナビ: PC はヘッダー 2 段目に固定、スマホはシートの目次へ */
body.kb-m .pagenav { display: none; border-top: 1px solid var(--kb-line); }
@media (min-width: 900px) {
  body.kb-m .pagenav { display: block; }
  html:has(body.kb-m .pagenav) { scroll-padding-top: 124px; }
}
html:has(body.kb-m) { scroll-padding-top: 80px; }
body.kb-m .pagenav .wrap { display: flex; gap: 4px; align-items: center; height: 50px; overflow-x: auto; scrollbar-width: none; }
body.kb-m .pagenav .wrap::-webkit-scrollbar { display: none; }
body.kb-m .pagenav a { flex: none; text-decoration: none; font-size: 14px; font-weight: 700; color: var(--kb-muted); padding: 7px 14px; border-radius: 999px; white-space: nowrap; transition: background .15s ease, color .15s ease; }
body.kb-m .pagenav a:hover { color: var(--kb-ink); background: rgba(15, 42, 68, .05); }
body.kb-m .pagenav a.on { color: #fff; background: var(--kb-ink); }
body.kb-m .pagenav a.hl { color: var(--kb-brand-3); background: var(--kb-soft); }
body.kb-m .pagenav a.hl.on { color: #fff; background: var(--kb-brand); }
body.kb-m .pagenav a b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; margin-left: 6px; padding: 0 6px; border-radius: 999px; background: var(--kb-brand); color: #fff; font-size: 11px; }
body.kb-m .pagenav a.hl.on b { background: #fff; color: var(--kb-brand); }

/* パンくず: 1 行で横スクロール */
body.kb-m .crumbs { padding: 12px 20px 0; }
body.kb-m .crumbs ol { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
body.kb-m .crumbs ol::-webkit-scrollbar { display: none; }

/* ボタン */
body.kb-m .btn { min-height: 48px; border-radius: 999px; transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease; }
body.kb-m .btn:hover { transform: translateY(-2px); }
body.kb-m .btn-primary { background: linear-gradient(92deg, #0ba8e0, #0784b3); color: #fff; box-shadow: 0 10px 28px rgba(11, 168, 224, .28); }
body.kb-m .btn-primary:hover { background: linear-gradient(92deg, #0ba8e0, #0784b3); box-shadow: 0 16px 40px rgba(11, 168, 224, .38); }
body.kb-m .btn-outline { background: #fff; color: var(--kb-ink); border: 1.5px solid rgba(15, 42, 68, .16); }
@media (max-width: 559px) { body.kb-m .m-hero .btn-row .btn, body.kb-m .cta-band .btn-row .btn { width: 100%; } }

/* ヒーロー（オーロラ調のグラデーション） */
body.kb-m .m-hero { padding: 28px 0 36px; background:
  radial-gradient(900px 420px at 0% -10%, rgba(11, 168, 224, .16), transparent 60%),
  radial-gradient(700px 380px at 100% 0%, rgba(11, 111, 194, .10), transparent 60%), var(--kb-bg); }
@media (min-width: 860px) { body.kb-m .m-hero { padding: 56px 0 64px; } }
body.kb-m .m-hero h1 { font-size: clamp(30px, 5vw, 50px); line-height: 1.2; margin-bottom: 14px; }
body.kb-m .m-hero .badge { background: rgba(255, 255, 255, .8); border: 1px solid var(--kb-line); color: var(--kb-brand-3); font-size: 12px; line-height: 1.5; box-shadow: var(--kb-shadow-sm); }
body.kb-m .m-hero .lead { color: var(--kb-muted); font-size: 15px; }
body.kb-m .m-hero img { border-radius: var(--kb-radius); box-shadow: var(--kb-shadow); }
body.kb-m .checklist li { font-weight: 700; color: var(--kb-ink-2); }
body.kb-m .checklist li::before { background: var(--kb-grad); }

/* セクション */
body.kb-m .section { padding: 56px 0; }
@media (min-width: 860px) { body.kb-m .section { padding: 84px 0; } }
body.kb-m .section.soft { background: #fff; }
body.kb-m .section-head { margin-bottom: 24px; }
body.kb-m .section-head .muted, body.kb-m .muted { color: var(--kb-muted); }

/* 数字（ベントー） */
body.kb-m .stats { gap: 12px; margin: 0 0 40px; }
body.kb-m .stat { border-radius: var(--kb-radius); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow-sm); padding: 18px 20px; }
body.kb-m .stat b { font-size: clamp(28px, 4vw, 36px); background: var(--kb-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* カード類 */
body.kb-m .card, body.kb-m .step, body.kb-m .plan, body.kb-m .outline .cat, body.kb-m .rel a, body.kb-m .howto, body.kb-m .single-app, body.kb-m .plan-free {
  border-radius: var(--kb-radius); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow-sm); }
body.kb-m .rel a { transition: transform .15s ease, border-color .15s ease; }
body.kb-m .rel a:hover { transform: translateY(-2px); border-color: var(--kb-brand); }
body.kb-m .plan.featured { border: 2px solid var(--kb-brand); box-shadow: 0 16px 44px rgba(11, 168, 224, .18); }
body.kb-m .terms li { border: 1px solid var(--kb-line); background: #fff; }

/* 収録内容: 分野ごとの折りたたみ */
body.kb-m .outline details.cat { padding: 0; overflow: hidden; }
body.kb-m .outline details.cat summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
body.kb-m .outline details.cat summary::-webkit-details-marker { display: none; }
body.kb-m .outline details.cat summary h3 { flex: 1; margin: 0; display: flex; justify-content: space-between; gap: 10px; font-size: 16px; }
body.kb-m .outline details.cat summary::after { content: ""; width: 9px; height: 9px; flex: none; border-right: 2px solid var(--kb-muted-2); border-bottom: 2px solid var(--kb-muted-2); transform: rotate(45deg); transition: transform .2s ease; margin-top: -4px; }
body.kb-m .outline details.cat[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
body.kb-m .outline details.cat ul { padding: 0 20px 16px 38px; }

/* FAQ: カードのアコーディオン */
body.kb-m .faq { display: grid; gap: 10px; }
body.kb-m .faq details { background: #fff; border: 1px solid var(--kb-line); border-radius: var(--kb-radius-sm); padding: 0; box-shadow: var(--kb-shadow-sm); }
body.kb-m .faq summary { padding: 16px 18px; min-height: 56px; align-items: center; }
body.kb-m .faq summary::-webkit-details-marker { display: none; }
body.kb-m .faq summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--kb-soft); color: var(--kb-brand-3); }
body.kb-m .faq details[open] summary::after { content: "−"; }
body.kb-m .faq details p { margin: 0; padding: 0 18px 18px; font-size: 15px; }

/* コラムのカード */
body.kb-m .columns-list a { border-radius: var(--kb-radius); border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow-sm); transition: transform .15s ease, border-color .15s ease; grid-template-columns: 112px 1fr; }
body.kb-m .columns-list a:hover { transform: translateY(-2px); border-color: var(--kb-brand); }
body.kb-m .columns-list img { width: 112px; height: 59px; border-radius: 10px; }
body.kb-m .columns-list b { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.kb-m #column { background: linear-gradient(180deg, #fff 0%, var(--kb-bg) 100%); }

/* CTA 帯 */
body.kb-m .cta-band { background: radial-gradient(800px 300px at 20% 0%, rgba(11, 168, 224, .35), transparent 60%), linear-gradient(135deg, #0b1220 0%, #0f2a44 100%); padding: 64px 0; }

/* 全教材一覧（折りたたみ） */
body.kb-m .all-materials { background: #fff; }
body.kb-m .all-materials summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 44px; font-weight: 800; color: var(--kb-ink); }
body.kb-m .all-materials summary::-webkit-details-marker { display: none; }
body.kb-m .all-materials summary::after { content: "+"; color: var(--kb-brand-3); font-size: 20px; }
body.kb-m .all-materials details[open] summary::after { content: "−"; }
body.kb-m .all-mat-links { padding-top: 8px; gap: 8px 16px; }
body.kb-m .all-mat-links a { min-height: 32px; display: inline-flex; align-items: center; }

/* フッター */
body.kb-m .footer { background: #fff; }
body.kb-m .footer .links a { display: inline-flex; min-height: 36px; align-items: center; }

/* 下部の固定 CTA: ヒーローを過ぎたら出す（スマホのみ） */
body.kb-m .sticky-cta { padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid var(--kb-line); transition: transform .3s ease; }
html.kb-js body.kb-m .sticky-cta { transform: translateY(110%); }
html.kb-js body.kb-m .sticky-cta.is-shown { transform: none; }
@media (min-width: 900px) { body.kb-m .sticky-cta { display: none; } body.kb-m.has-sticky { padding-bottom: 0; } }

/* ─────────────────────────────────────────────
 * コラム記事（body.kb-col）
 * ───────────────────────────────────────────── */
.kb-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--kb-grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

body.kb-col .article { max-width: 720px; }
body.kb-col .series-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 8px 0 6px; font-size: 13px; }
body.kb-col .series-top .chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--kb-soft); color: var(--kb-brand-3); font-weight: 800; text-decoration: none; }
body.kb-col .series-top .no { font-weight: 800; color: var(--kb-ink); }
body.kb-col .series-top .dots { display: inline-flex; gap: 4px; }
body.kb-col .series-top .dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(15, 42, 68, .14); }
body.kb-col .series-top .dots i.done { background: rgba(11, 168, 224, .45); }
body.kb-col .series-top .dots i.cur { background: var(--kb-brand); width: 18px; border-radius: 4px; }
body.kb-col .series-top .jump { margin-left: auto; font-weight: 700; text-decoration: none; }
body.kb-col .article h1 { font-size: clamp(24px, 4vw, 34px); line-height: 1.4; margin: 10px 0 8px; }
body.kb-col .article .meta { color: var(--kb-muted); }

/* 本文 */
body.kb-col .article .body { font-size: 16.5px; line-height: 2; color: var(--kb-ink-2); }
body.kb-col .article .body h2 { font-size: clamp(21px, 3vw, 25px); margin: 48px 0 16px; padding-left: 14px; border-left: 5px solid var(--kb-brand); line-height: 1.45; }
body.kb-col .article .body h3 { font-size: 18px; margin: 32px 0 12px; }
body.kb-col .article .body figure img { border-radius: var(--kb-radius-sm); box-shadow: var(--kb-shadow-sm); border: 1px solid var(--kb-line); }
body.kb-col .article .body blockquote { position: relative; margin: 20px 0; padding: 16px 18px 16px 48px; border: 0; border-radius: var(--kb-radius-sm); background: #fff; box-shadow: var(--kb-shadow-sm); color: var(--kb-ink-2); }
body.kb-col .article .body blockquote::before { content: "“"; position: absolute; left: 14px; top: 2px; font-size: 44px; line-height: 1; color: var(--kb-brand); font-family: Georgia, serif; }
body.kb-col .article .body hr { margin: 36px 0; border-top: 1px solid var(--kb-line); }
body.kb-col .article .body a { color: var(--kb-brand-3); word-break: normal; overflow-wrap: anywhere; }
body.kb-col .article .body strong { background: linear-gradient(transparent 62%, rgba(255, 214, 0, .45) 62%); }
body.kb-col .article .body .kb-cta-link { display: flex; margin: 18px 0; }
body.kb-col .article .body .kb-cta-link a { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 26px; border-radius: 999px; background: linear-gradient(92deg, #0ba8e0, #0784b3); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px rgba(11, 168, 224, .28); }
@media (max-width: 559px) { body.kb-col .article .body .kb-cta-link a { width: 100%; } }

/* 前後の回 */
.kb-pn { max-width: 720px; margin: 40px auto 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .kb-pn { grid-template-columns: 1fr 1fr; } }
.kb-pn a { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: var(--kb-radius); background: #fff; border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow-sm); text-decoration: none; color: var(--kb-ink); transition: transform .15s ease, border-color .15s ease; }
.kb-pn a:hover { transform: translateY(-2px); border-color: var(--kb-brand); }
.kb-pn a.next { grid-template-columns: 1fr 88px; text-align: right; }
.kb-pn a.next img { order: 2; }
.kb-pn img { width: 88px; height: 46px; object-fit: cover; border-radius: 8px; }
.kb-pn small { display: block; font-size: 12px; font-weight: 800; color: var(--kb-brand-3); margin-bottom: 2px; }
.kb-pn span span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 700; line-height: 1.5; }

/* 連載の目次 */
.kb-toc { max-width: 720px; margin: 28px auto 0; padding: 20px; border-radius: var(--kb-radius); background: #fff; border: 1px solid var(--kb-line); box-shadow: var(--kb-shadow-sm); }
.kb-toc h2 { font-size: 18px; margin: 0 0 4px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.kb-toc h2 small { font-size: 13px; color: var(--kb-muted); font-weight: 700; }
.kb-toc ol { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 4px; }
.kb-toc li a { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--kb-ink-2); transition: background .15s ease; }
.kb-toc li a:hover { background: var(--kb-bg); }
.kb-toc .n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--kb-bg); color: var(--kb-muted); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.kb-toc .t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 700; font-size: 14.5px; line-height: 1.55; }
.kb-toc .d { display: block; font-size: 12px; color: var(--kb-muted-2); font-weight: 500; margin-top: 2px; }
.kb-toc li.cur a { background: var(--kb-soft); }
.kb-toc li.cur .n { background: var(--kb-brand); color: #fff; }
.kb-toc li.cur .t::before { content: "いま読んでいる回"; display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 999px; background: var(--kb-brand); color: #fff; font-size: 11px; line-height: 20px; vertical-align: 2px; }
.kb-toc .to-lp { display: flex; justify-content: center; margin-top: 14px; }

@media (prefers-reduced-motion: reduce) {
  body.kb-m *, .kb-pn a, .kb-toc li a { transition: none !important; }
  body.kb-m .btn:hover, .kb-pn a:hover { transform: none; }
}
body.kb-m .kb-pn a, body.kb-m .kb-toc li a, body.kb-m .columns-list a, body.kb-m .rel a { color: var(--kb-ink-2); text-decoration: none; }
body.kb-m .kb-toc li.cur a { color: var(--kb-ink); }
/* HP: 狭い画面ではヘッダーの App Store ボタンを外してロゴとメニューだけに（ヒーローとメニュー内に同じボタンがある） */
@media (max-width: 479px) { .header .cta a[data-track="header_app_store"] { display: none; } }
/* 単体アプリ（買い切り）を主役にしたダウンロード欄 */
.hero-buy { display: grid; gap: 12px; max-width: 520px; }
.hero-buy__main { display: grid; gap: 2px; padding: 16px 22px; border-radius: 22px; background: linear-gradient(92deg, #0ba8e0, #0784b3); color: #fff !important; text-decoration: none !important; box-shadow: 0 14px 34px rgba(11, 168, 224, .32); transition: transform .15s ease, box-shadow .2s ease; }
.hero-buy__main:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(11, 168, 224, .42); }
.hero-buy__main small { font-size: 12px; font-weight: 800; opacity: .9; letter-spacing: .04em; }
.hero-buy__main b { font-size: 20px; line-height: 1.35; }
.hero-buy__main span { font-size: 13px; opacity: .92; }
.hero-buy .btn-row .btn { flex: 1 1 220px; }
body.kb-m .sticky-cta .btn { font-size: 14px; }
