@charset "utf-8";
/* =====================================================================
 * VOD比較ナビ  共通スタイル
 * 設計方針：
 *  - モバイルファースト（アフィリエイトの流入は約9割がスマホ）
 *  - CTAは常に他要素より明度・彩度が高くなるよう配色を固定
 *  - 色/余白/角丸はすべてCSS変数。ブランド変更は :root だけで完了
 * ===================================================================== */

/* ---------- デザイントークン ---------------------------------------- */
:root {
  --navy:        #0f172a;
  --navy-soft:   #1e293b;
  --ink:         #1a2233;
  --ink-2:       #52607a;
  --line:        #e3e8f0;
  --bg:          #f6f8fc;
  --card:        #ffffff;

  /* CTA色（触ってよいのはここだけ。目立たなくなる変更は避ける） */
  --cta:         #ff5722;
  --cta-dark:    #e64512;
  --cta-glow:    rgba(255, 87, 34, .38);

  --gold:        #f5b301;
  --green:       #12a45c;
  --red:         #d92d20;

  --radius:      14px;
  --radius-lg:   20px;
  --shadow:      0 2px 8px rgba(15, 23, 42, .06);
  --shadow-md:   0 8px 24px rgba(15, 23, 42, .10);
  --shadow-cta:  0 6px 0 var(--cta-dark), 0 10px 22px var(--cta-glow);

  --wrap:        1080px;
  --font: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
          "Yu Gothic", Meiryo, sans-serif;
}

/* ---------- リセット -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
table { border-collapse: collapse; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }

/* ---------- 告知バー -------------------------------------------------- */
.pr-bar {
  background: #eef1f6; color: var(--ink-2);
  font-size: 11px; text-align: center; padding: 5px 12px; letter-spacing: .02em;
}
.demo-bar {
  background: #fff4e5; color: #8a4b00; border-bottom: 1px solid #ffd9a8;
  font-size: 12px; text-align: center; padding: 8px 12px; font-weight: 700;
}

/* ---------- ヘッダー -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; gap: 12px; height: 58px; }
.logo { font-size: 17px; font-weight: 900; letter-spacing: .01em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--cta); }
.gnav { display: none; margin-left: auto; gap: 22px; }
.gnav a { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-2); }
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--cta); }

.menu-btn {
  margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent;
  display: grid; place-content: center; gap: 5px;
}
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); transition: .25s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer {
  display: none; background: #fff; border-bottom: 1px solid var(--line);
  padding: 8px 16px 18px;
}
.drawer.open { display: block; }
.drawer a {
  display: block; padding: 13px 4px; font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--line);
}

/* ---------- ヒーロー -------------------------------------------------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, #1d2c50 55%, #23386b 100%);
  color: #fff; padding: 40px 0 34px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -90px; top: -90px;
  width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,87,34,.28), transparent 68%);
}
.hero-in { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255,255,255,.25);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero h1 { font-size: 26px; font-weight: 900; line-height: 1.45; letter-spacing: -.01em; }
.hero h1 em { font-style: normal; color: #ffd166; }
.hero-lead { margin-top: 12px; font-size: 14px; color: #cbd5e1; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.hero-points li {
  font-size: 12px; font-weight: 700; background: rgba(255,255,255,.12);
  border-radius: 999px; padding: 6px 12px;
}
.hero-updated { margin-top: 16px; font-size: 11px; color: #93a3bd; }

/* ---------- セクション共通 -------------------------------------------- */
.section { padding: 44px 0; }
.section-head { text-align: center; margin-bottom: 24px; }
.section-head .label {
  display: inline-block; font-size: 12px; font-weight: 800; color: var(--cta);
  letter-spacing: .1em; margin-bottom: 6px;
}
.section-head h2 { font-size: 21px; font-weight: 900; line-height: 1.5; }
.section-head p { margin-top: 8px; font-size: 13px; color: var(--ink-2); }

/* ---------- CTAボタン ------------------------------------------------- */
.btn-cta {
  display: block; width: 100%; text-align: center; text-decoration: none;
  background: linear-gradient(180deg, #ff7043, var(--cta));
  color: #fff; font-weight: 900; font-size: 16px; letter-spacing: .01em;
  padding: 15px 18px; border-radius: 999px; border: 0;
  box-shadow: var(--shadow-cta);
  transition: transform .15s, box-shadow .15s;
  animation: cta-pulse 2.6s ease-in-out infinite;
}
.btn-cta:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--cta-dark), 0 8px 18px var(--cta-glow); }
.btn-cta:active { transform: translateY(6px); box-shadow: 0 0 0 var(--cta-dark); }
.btn-cta small { display: block; font-size: 11px; font-weight: 700; opacity: .92; margin-top: 2px; }
@keyframes cta-pulse {
  0%, 100% { box-shadow: var(--shadow-cta); }
  50%      { box-shadow: 0 6px 0 var(--cta-dark), 0 10px 30px var(--cta-glow); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-cta { animation: none; }
  html { scroll-behavior: auto; }
}
.btn-sub {
  display: block; text-align: center; text-decoration: none; margin-top: 10px;
  font-size: 13px; font-weight: 700; color: var(--ink-2);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 11px; background: #fff;
}
.btn-sub:hover { border-color: var(--ink-2); }

/* ---------- 診断チャート ---------------------------------------------- */
.quiz {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 24px 18px; border: 2px solid #ffe0d3;
}
.quiz-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.quiz-progress i { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.quiz-progress i.on { background: var(--cta); }
.quiz-q { font-size: 17px; font-weight: 900; text-align: center; margin-bottom: 16px; }
.quiz-step { font-size: 12px; font-weight: 800; color: var(--cta); text-align: center; margin-bottom: 6px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-options button {
  width: 100%; text-align: left; background: #fff; border: 2px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; font-size: 15px; font-weight: 700;
  transition: .18s; display: flex; align-items: center; gap: 10px;
}
.quiz-options button::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--line); flex: none; transition: .18s;
}
.quiz-options button:hover {
  border-color: var(--cta); background: #fff7f4; transform: translateX(3px);
}
.quiz-options button:hover::before { border-color: var(--cta); background: var(--cta); box-shadow: inset 0 0 0 3px #fff; }
.quiz-back { margin-top: 14px; text-align: center; }
.quiz-back button { background: none; border: 0; color: var(--ink-2); font-size: 13px; text-decoration: underline; }
.quiz-result-head { text-align: center; margin-bottom: 14px; }
.quiz-result-head .small { font-size: 13px; color: var(--ink-2); }
.quiz-result-head strong { display: block; font-size: 22px; font-weight: 900; color: var(--cta); }

/* ---------- ランキングカード ------------------------------------------ */
.rank-list { display: grid; gap: 22px; }
.rank-card {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  overflow: hidden; position: relative; border: 1px solid var(--line);
}
.rank-card.is-top { border: 2px solid var(--gold); }
.rank-ribbon {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: linear-gradient(135deg, #64748b, #475569); color: #fff;
  font-size: 12px; font-weight: 900; padding: 6px 16px 6px 12px;
  border-bottom-right-radius: 12px;
}
.rank-card.is-top .rank-ribbon { background: linear-gradient(135deg, #f7c948, #e09b00); color: #4a3000; }
.rank-head { padding: 34px 16px 14px; text-align: center; color: #fff; }
.rank-badge {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .06em;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 8px;
}
.rank-name { font-size: 22px; font-weight: 900; letter-spacing: .01em; }
.rank-catch { font-size: 13px; margin-top: 6px; opacity: .92; }
.rank-body { padding: 18px 16px 20px; }

.stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.score-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; }
.score-num { font-size: 20px; font-weight: 900; }
.score-num small { font-size: 12px; color: var(--ink-2); font-weight: 700; }

.spec { width: 100%; font-size: 13px; margin-bottom: 14px; }
.spec th, .spec td { border-bottom: 1px dashed var(--line); padding: 9px 4px; text-align: left; vertical-align: middle; }
.spec th { width: 34%; color: var(--ink-2); font-weight: 700; }
.spec td { font-weight: 700; }
.spec .hl { color: var(--red); font-size: 15px; font-weight: 900; }

.campaign {
  background: #fff5f2; border: 1px dashed var(--cta); border-radius: var(--radius);
  padding: 10px 12px; font-size: 13px; font-weight: 800; color: var(--cta-dark);
  text-align: center; margin-bottom: 14px;
}
.pc-list { margin-bottom: 16px; display: grid; gap: 14px; }
.pc-list h4 { font-size: 13px; font-weight: 900; margin-bottom: 6px; }
.pc-list .good h4 { color: var(--green); }
.pc-list .bad  h4 { color: var(--ink-2); }
.pc-list li { font-size: 13px; padding-left: 20px; position: relative; margin-bottom: 4px; line-height: 1.7; }
.pc-list .good li::before { content: "◎"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.pc-list .bad  li::before { content: "△"; position: absolute; left: 0; color: #94a3b8; font-weight: 900; }

.cta-note { text-align: center; font-size: 11px; color: var(--ink-2); margin-top: 8px; }

/* ---------- 比較表 ---------------------------------------------------- */
.table-scroll {
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.table-hint { font-size: 12px; color: var(--ink-2); text-align: right; margin-bottom: 6px; }
.cmp { width: 100%; min-width: 720px; font-size: 13px; background: #fff; }
.cmp th, .cmp td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.cmp thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 12px; position: sticky; top: 0; }
.cmp tbody th {
  position: sticky; left: 0; background: #fff; text-align: left; font-weight: 900;
  border-right: 1px solid var(--line); z-index: 1; min-width: 150px; white-space: normal;
}
.cmp tbody tr:nth-child(odd) td { background: #fbfcfe; }
.cmp tbody tr:nth-child(odd) th { background: #fbfcfe; }
.cmp .rank-no { display: inline-block; font-size: 11px; color: #fff; background: var(--ink-2); border-radius: 4px; padding: 1px 6px; margin-right: 6px; }
.cmp tr.top .rank-no { background: var(--gold); color: #4a3000; }
.cmp .price { font-weight: 900; color: var(--red); }
.cmp .yes { color: var(--green); font-weight: 900; }
.cmp .no  { color: #b6bfcf; }
.cmp .cell-cta {
  display: inline-block; background: var(--cta); color: #fff; text-decoration: none;
  font-size: 12px; font-weight: 800; padding: 8px 14px; border-radius: 999px; white-space: nowrap;
}
.cmp-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.cmp-filters button {
  font-size: 13px; font-weight: 700; background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 8px 14px; color: var(--ink-2); transition: .15s;
}
.cmp-filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- 記事内CTAボックス ----------------------------------------- */
.cta-box {
  border: 2px solid var(--cta); border-radius: var(--radius-lg); background: #fff;
  padding: 18px 16px; margin: 26px 0; box-shadow: var(--shadow-md);
}
.cta-box .eyebrow {
  display: inline-block; background: var(--cta); color: #fff; font-size: 11px; font-weight: 900;
  padding: 3px 12px; border-radius: 999px; margin-bottom: 10px;
}
.cta-box h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.cta-box p { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }

/* ---------- 追従CTA（スマホ） ----------------------------------------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  transform: translateY(120%); transition: transform .3s ease;
  box-shadow: 0 -4px 16px rgba(15,23,42,.08);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn-cta { animation: none; box-shadow: 0 4px 0 var(--cta-dark); padding: 13px; font-size: 15px; }
.sticky-cta .note { font-size: 10px; color: var(--ink-2); text-align: center; margin-top: 5px; }
body.has-sticky { padding-bottom: 84px; }


/* ---------- 料金シミュレーター ---------------------------------------- */
.sim {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 16px; box-shadow: var(--shadow-md);
}
.sim-controls { text-align: center; margin-bottom: 18px; }
.sim-label { display: block; font-size: 14px; font-weight: 900; margin-bottom: 10px; }
.sim-people { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.sim-people button {
  min-width: 62px; font-size: 15px; font-weight: 800; padding: 10px 16px;
  border: 2px solid var(--line); border-radius: 999px; background: #fff;
  color: var(--ink-2); transition: .15s;
}
.sim-people button[aria-pressed="true"] {
  background: var(--navy); border-color: var(--navy); color: #fff;
}
.sim-lead { font-size: 14px; text-align: center; margin-bottom: 16px; }
.sim-lead b { color: var(--red); font-size: 16px; }
.sim-bars { display: grid; gap: 9px; margin-bottom: 18px; }
.sim-bars li { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 9px; }
.sim-bars .nm { font-size: 12px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sim-bars .bar { height: 22px; background: #eef1f7; border-radius: 5px; overflow: hidden; }
.sim-bars .bar i { display: block; height: 100%; background: #9fb0c9; border-radius: 5px; transition: width .35s ease; }
.sim-bars .val { font-size: 13px; font-weight: 900; white-space: nowrap; }
.sim-bars .val small { font-size: 10px; font-weight: 700; color: var(--ink-2); }
.sim-bars .best .nm { color: var(--cta-dark); }
.sim-bars .best .bar i { background: linear-gradient(90deg, #ff8a5c, var(--cta)); }
.sim-bars .best .val { color: var(--red); }
.sim-note { font-size: 11px; color: var(--ink-2); text-align: center; margin-top: 12px; line-height: 1.7; }

/* 診断結果の理由 */
.quiz-reason {
  background: #fff7f4; border-radius: var(--radius); padding: 11px 14px;
  font-size: 13px; font-weight: 700; color: var(--cta-dark); text-align: center; margin-bottom: 14px;
}

/* カード内の補足（ポイント還元の説明など） */
.spec .mini { font-size: 11px; color: var(--ink-2); font-weight: 700; }

/* 絞り込みで0件になったとき */
.cmp-empty { padding: 26px 16px; text-align: center; font-size: 14px; color: var(--ink-2); }

/* ---------- FAQ ------------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 15px 44px 15px 16px; position: relative;
  font-weight: 800; font-size: 14px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: var(--cta); font-weight: 900;
}
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 16px 16px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- 口コミ ---------------------------------------------------- */
.reviews { display: grid; gap: 12px; }
.review {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px;
}
.review .meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); margin-bottom: 6px; }
.review .meta b { color: var(--ink); font-size: 13px; }
.review p { font-size: 14px; }

/* ---------- 記事カード ------------------------------------------------ */
.post-grid { display: grid; gap: 14px; }
.post-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; text-decoration: none; transition: .18s; box-shadow: var(--shadow);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #cfd8e6; }
.post-card .cat { display: inline-block; font-size: 11px; font-weight: 800; color: var(--cta); background: #fff1ec; padding: 3px 10px; border-radius: 999px; }
.post-card h3 { font-size: 16px; font-weight: 900; margin: 9px 0 6px; line-height: 1.55; }
.post-card p { font-size: 13px; color: var(--ink-2); }
.post-card .meta { margin-top: 10px; font-size: 11px; color: #94a3b8; }

/* ---------- 記事本文 -------------------------------------------------- */
.article { background: #fff; border-radius: var(--radius-lg); padding: 24px 18px 32px; box-shadow: var(--shadow); }
.article h1 { font-size: 23px; font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.article .meta { font-size: 12px; color: var(--ink-2); border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 20px; }
.article h2 {
  font-size: 19px; font-weight: 900; margin: 32px 0 12px; padding-left: 12px;
  border-left: 5px solid var(--cta); line-height: 1.5;
}
.article p { margin-bottom: 16px; font-size: 15px; }
.article ul { margin: 0 0 18px; }
.article ul li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 15px; }
.article ul li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: var(--cta); }

/* ---------- パンくず -------------------------------------------------- */
.crumbs { font-size: 12px; color: var(--ink-2); padding: 12px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; color: #b6bfcf; }

/* ---------- 目次 ------------------------------------------------------ */
.toc { background: #f3f6fb; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 24px; }
.toc h2 { font-size: 14px; font-weight: 900; margin: 0 0 10px; padding: 0; border: 0; text-align: center; }
.toc li { font-size: 14px; margin-bottom: 7px; padding-left: 18px; position: relative; }
.toc li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 6px; height: 6px; background: var(--cta); border-radius: 50%; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; color: var(--cta); }

/* ---------- 静的ページ ------------------------------------------------ */
.doc { background: #fff; border-radius: var(--radius-lg); padding: 24px 18px 32px; box-shadow: var(--shadow); }
.doc h1 { font-size: 22px; font-weight: 900; margin-bottom: 18px; }
.doc h2 { font-size: 17px; font-weight: 900; margin: 28px 0 10px; padding-left: 11px; border-left: 4px solid var(--cta); }
.doc p, .doc li { font-size: 14.5px; }
.doc p { margin-bottom: 14px; }
.doc ul { margin-bottom: 16px; }
.doc ul li { padding-left: 20px; position: relative; margin-bottom: 7px; }
.doc ul li::before { content: ""; position: absolute; left: 5px; top: 11px; width: 6px; height: 6px; background: var(--cta); border-radius: 50%; }
.doc dl { margin: 0 0 16px; }
.doc dt { font-weight: 900; font-size: 14px; margin-top: 12px; }
.doc dd { margin: 4px 0 0; font-size: 14.5px; color: var(--ink-2); }

/* ---------- フッター -------------------------------------------------- */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 34px 0 26px; margin-top: 40px; }
.site-footer .logo { color: #fff; font-size: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 18px 0; }
.footer-nav a { font-size: 13px; color: #cbd5e1; text-decoration: none; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-note { font-size: 11.5px; color: #93a3bd; line-height: 1.8; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }

/* ---------- ユーティリティ -------------------------------------------- */
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.bg-white { background: #fff; }
.notice {
  background: #fff; border-left: 4px solid var(--navy); border-radius: 8px;
  padding: 14px 16px; font-size: 13px; color: var(--ink-2); box-shadow: var(--shadow);
}


/* 固定ヘッダーの高さぶん、アンカー移動先をずらす */
.article h2[id], .rank-card[id], .toc + h2 { scroll-margin-top: 76px; }

/* ---------- タブレット以上 -------------------------------------------- */
@media (min-width: 768px) {
  body { font-size: 16.5px; }
  .gnav { display: flex; }
  .menu-btn, .drawer { display: none !important; }
  .hero { padding: 62px 0 54px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 16px; }
  .section { padding: 62px 0; }
  .section-head h2 { font-size: 27px; }
  .rank-head { padding: 40px 24px 18px; }
  .rank-name { font-size: 26px; }
  .rank-body { padding: 24px 26px 28px; }
  .pc-list { grid-template-columns: 1fr 1fr; gap: 22px; }
  .btn-cta { max-width: 420px; margin-inline: auto; font-size: 17px; padding: 17px; }
  .btn-sub { max-width: 420px; margin-inline: auto; }
  .cta-note { max-width: 420px; margin-inline: auto; }
  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .quiz { padding: 34px 32px; max-width: 660px; margin-inline: auto; }
  .sim { padding: 30px 32px; max-width: 720px; margin-inline: auto; }
  .sim-bars li { grid-template-columns: 150px 1fr auto; }
  .sim-bars .nm { font-size: 13px; }
  .rank-body > .spec, .rank-body > .campaign, .rank-body > .score-row { max-width: 680px; margin-inline: auto; }
  .quiz-q { font-size: 20px; }
  .article, .doc { padding: 40px 44px 48px; }
  .article h1 { font-size: 30px; }
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
  .table-hint { display: none; }
  .cmp { min-width: 0; }
}
