/* ===========================================================
   AZ Atlas デザインシステム
   - 編集メディア風／カード・比較表・バッジ・結論カード
   - モバイルファースト／ダークモード対応／motion配慮
   - JS非依存（SEO/表示速度優先。演出はCSSのみ）
   =========================================================== */
:root {
  --ink: #20242a;
  --ink-soft: #4a515b;
  --muted: #7b828d;
  --line: #e8e4dd;
  --line-soft: #f0ece5;
  --bg: #ffffff;
  --paper: #faf8f4;         /* 温かみのある紙色 */
  --surface: #ffffff;
  --accent: #c2410c;        /* テラコッタ */
  --accent-ink: #9a330a;
  --accent-tint: #fdf1ea;
  --gold: #b8860b;
  --gold-tint: #fbf3dd;
  --pick: #0f7d55;          /* 結論=グリーン */
  --pick-tint: #ecfaf3;
  --pick-line: #bfe6d3;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(20,24,32,.05), 0 1px 3px rgba(20,24,32,.06);
  --shadow-md: 0 6px 20px rgba(20,24,32,.10);
  --maxw: 1000px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN",
          "Hiragino Sans", Meiryo, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e9ebee; --ink-soft: #c2c7cf; --muted: #98a0ab;
    --line: #2c3138; --line-soft: #242930;
    --bg: #14171b; --paper: #171b20; --surface: #1b1f25;
    --accent: #f2854f; --accent-ink: #f6a077; --accent-tint: #2a1c14;
    --gold: #e0b64a; --gold-tint: #29230f;
    --pick: #52c99a; --pick-tint: #13251d; --pick-line: #2c4c3d;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow-md: 0 8px 24px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700; text-decoration: none; }
.skip-link:focus { left: 0; color: #fff; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.75; font-size: 16px; letter-spacing: .01em;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
a { color: var(--accent-ink); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent);
    text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
:where(a, button, summary, [role="button"]) { cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.35; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(1.55rem, 4.4vw, 2.15rem); font-weight: 800; margin: .2em 0 .5em; }
h2 { font-size: clamp(1.2rem, 3vw, 1.4rem); font-weight: 750; margin: 2em 0 .7em;
     padding-bottom: .35em; border-bottom: 2px solid var(--line); }
h3 { font-size: 1.05rem; font-weight: 700; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.16rem;
  color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.brand .brand-mark { display: block; width: 36px; height: 36px; border-radius: 8px; flex: 0 0 auto; }
.brand .brand-tx { display: inline-flex; align-items: baseline; gap: .5ch; }
.brand b { color: var(--accent); }
.foot-brand { display: inline-flex; align-items: center; gap: 7px; }
.foot-brand img { display: inline-block; border-radius: 4px; opacity: .9; }
.brand .tag { font-size: .62rem; font-weight: 700; letter-spacing: .12em; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: 2px 7px; text-transform: uppercase; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: .92rem; margin-left: 22px; }
.nav a:hover { color: var(--accent); }

/* ---- disclosure ---- */

main .wrap { padding-top: 28px; padding-bottom: 56px; }

/* ---- breadcrumb ---- */
.crumb { font-size: .82rem; color: var(--muted); margin-bottom: 6px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.crumb .sep { margin: 0 .5ch; opacity: .6; }

/* ---- 自作図解（インラインSVG） ---- */
/* SVGは viewBox だけ持たせ、幅はここで制御する＝どの画面幅でも崩れない。
   色はSVG側が var(--ink) 等を参照しているのでテーマ切替に自動追従する。 */
.figure { margin: 18px 0 22px; }
.dia {
  display: block; width: 100%; height: auto;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 6px;
}
.dia a text { text-decoration: underline; }
.dia a:hover rect { fill: var(--accent-tint); }
.dia a:focus-visible rect { outline: 2px solid var(--accent); outline-offset: 2px; }
.figure figcaption {
  margin-top: 8px; font-size: .84rem; color: var(--muted); line-height: 1.7;
}
/* 横に長い図は狭い画面で潰れるので、スクロールできる下限幅を与える */
@media (max-width: 560px) {
  .figure { overflow-x: auto; }
  .dia { min-width: 520px; }
}

/* ---- hero (home) ---- */
.hero { position: relative; overflow: hidden;
  background: radial-gradient(120% 140% at 88% 8%, var(--accent-tint), transparent 46%),
              linear-gradient(180deg, var(--paper), var(--bg));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; margin-bottom: 26px; }
.hero .kicker { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: .78rem; text-transform: uppercase; }
.hero p.lead { color: var(--ink-soft); font-size: 1.05rem; max-width: 60ch; margin: .4em 0 1.1em; }
.hero .hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
/* 2カラム: 左コピー / 右に表紙ファン（ビジュアルの引き） */
.hero.has-art { display: grid; grid-template-columns: 1.25fr .9fr; gap: 22px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-art { display: flex; align-items: center; justify-content: center; }
.hero-art .fan { display: flex; padding: 10px 4px; }
.hero-art .cover { width: 94px; height: 130px; object-fit: cover; border-radius: 6px;
  background: var(--paper); border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 14px 30px rgba(20,24,32,.28); margin-left: -26px; transform-origin: bottom center; }
.hero-art .cover:first-child { margin-left: 0; }
.hero-art .cover:nth-child(1) { transform: rotate(-9deg) translateY(9px); }
.hero-art .cover:nth-child(2) { transform: rotate(-4.5deg) translateY(2px); }
.hero-art .cover:nth-child(3) { transform: rotate(0); z-index: 4; }
.hero-art .cover:nth-child(4) { transform: rotate(4.5deg) translateY(2px); }
.hero-art .cover:nth-child(5) { transform: rotate(9deg) translateY(9px); }
@media (prefers-color-scheme: dark) { .hero-art .cover { border-color: rgba(255,255,255,.1); box-shadow: 0 14px 34px rgba(0,0,0,.55); } }
@media (max-width: 720px) {
  .hero.has-art { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { justify-content: flex-start; }
  .hero-art .fan { padding: 4px 2px; }
  .hero-art .cover { width: 66px; height: 92px; margin-left: -18px; box-shadow: 0 8px 18px rgba(20,24,32,.28); }
}

/* ---- lead / prose ---- */
.lead { color: var(--ink-soft); font-size: 1.04rem; }
.prose p { margin: .9em 0; }
.prose h2 { margin: 1.6em 0 .5em; font-size: 1.2rem; }
.prose ul, .prose ol { margin: .6em 0 1em; padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose a { color: var(--accent-ink); }
.prose a:hover { color: var(--accent); }
.prose dfn { font-style: normal; font-weight: 700; }
.criteria { list-style: none; padding: 0; margin: .6em 0; display: grid; gap: 8px; }
.criteria li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.criteria li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 21px; height: 21px;
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff;
  background: var(--accent); border-radius: 50%; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: .5ch; background: var(--accent); color: #fff;
  text-decoration: none; padding: 11px 18px; border-radius: 10px; font-weight: 700; font-size: .92rem;
  border: none; box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.btn:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--accent-ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
.btn.pick { background: var(--pick); }
.btn.pick:hover { background: color-mix(in srgb, var(--pick) 82%, #000); }

/* ---- badges ---- */
.badge { display: inline-flex; align-items: center; gap: .35ch; font-size: .72rem; font-weight: 700;
  border-radius: 999px; padding: 2px 9px; line-height: 1.7; }
.badge.off { background: var(--accent-tint); color: var(--accent-ink); }
.badge.deal { background: #fee2e2; color: #b91c1c; }
.badge.pt { background: var(--gold-tint); color: var(--gold); }
.badge.rank { background: var(--line-soft); color: var(--ink-soft); }
@media (prefers-color-scheme: dark) { .badge.deal { background: #3a1a1a; color: #f4a3a3; } }

/* ---- topic / list cards ---- */
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.tile { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px;
  background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); color: var(--ink); }
.tile .t-title { font-weight: 700; margin: 0 0 4px; }
.tile .t-meta { color: var(--muted); font-size: .84rem; }
.tile .t-arrow { color: var(--accent); font-weight: 800; }
/* 表紙サムネ付きタイル（表紙は本体保存せずURL参照） */
.tile-cover { display: flex; flex-direction: column; gap: 12px; }
.tile-cover .tc-covers { display: flex; gap: 8px; align-items: flex-end; min-height: 82px; }
.tile-cover .tc-covers img { width: 60px; height: auto; max-height: 82px; object-fit: contain;
  border-radius: 5px; background: var(--paper); box-shadow: var(--shadow-sm); }
@media (prefers-color-scheme: dark) { .tile-cover .tc-covers img { background: #23282f; } }
.tile-cover .tc-body { display: flex; flex-direction: column; gap: 4px; }
.tile-cover .t-badge { align-self: flex-start; font-size: .68rem; font-weight: 800; letter-spacing: .03em;
  color: var(--accent-ink); background: var(--accent-tint); padding: 2px 9px; border-radius: 999px; }
.tile-cover .t-desc { color: var(--muted); font-size: .84rem; line-height: 1.6; }
.tile-cover .t-meta { margin-top: 2px; }

/* セクションのサブ見出し */
.section-sub { color: var(--muted); font-size: .9rem; margin: -.45em 0 1.1em; }

/* ---- サービス導線カード（ホーム） ---- */
.svc-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin: 6px 0 8px; }
.svc-card { display: flex; gap: 13px; align-items: flex-start; padding: 16px; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--surface); text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
a.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); color: var(--ink); }
.svc-card .ic { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 11px; background: var(--accent-tint); color: var(--accent-ink); }
.svc-card .tx { min-width: 0; }
.svc-card .st { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 3px; }
.svc-card .sd { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.svc-card.soon { opacity: .68; cursor: default; }
.svc-card.soon .ic { background: var(--line-soft); color: var(--muted); }
.soon-badge { font-size: .62rem; font-weight: 800; letter-spacing: .05em; background: var(--line-soft);
  color: var(--muted); padding: 2px 8px; border-radius: 999px; }

/* ---- テーマchip / 信頼性行（ホーム） ---- */
.themes { display: flex; flex-wrap: wrap; gap: 9px; margin: 6px 0 4px; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--surface); color: var(--ink-soft); text-decoration: none; font-size: .88rem;
  transition: border-color .14s ease, color .14s ease, background .14s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-tint); }
.trust { margin: 30px 0 6px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  color: var(--muted); font-size: .9rem; line-height: 1.8; }
.trust a { color: var(--accent-ink); }
.trust a:hover { color: var(--accent); }
/* ---- ロードマップ（入門ガイドのステップ） ---- */
.guide-intro { max-width: 68ch; }
.roadmap { list-style: none; padding: 0; margin: 22px 0 8px; display: grid; gap: 14px; }
.roadmap .step { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start;
  padding: 18px 20px; background: var(--surface);
  border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); transition: box-shadow .14s ease, transform .14s ease; }
.roadmap .step:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); }
.roadmap .step .num { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem; box-shadow: var(--shadow-sm); }
.roadmap .step .st-title { font-weight: 800; font-size: 1.08rem; margin: 3px 0 6px; padding: 0; border: 0; line-height: 1.4; }
.roadmap .step .st-body { color: var(--ink-soft); line-height: 1.85; }
@media (max-width: 600px) {
  .roadmap .step { grid-template-columns: 32px 1fr; gap: 12px; padding: 15px 15px; }
  .roadmap .step .num { width: 30px; height: 30px; font-size: .9rem; }
}

/* ---- ランキング（順位メダル＋商品カード） ---- */
.ranked { list-style: none; padding: 0; margin: 6px 0 4px; }
.ranked-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.ranked-item .rankmedal { margin-top: 30px; }
.ranked-item .ranked-card { min-width: 0; }
@media (max-width: 600px) {
  .ranked-item { grid-template-columns: 26px 1fr; gap: 8px; }
  .ranked-item .rankmedal { width: 22px; height: 22px; font-size: .72rem; margin-top: 28px; }
}

/* 内部の関連リンク（比較⇄ガイド等・複数可） */
.related-link { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 12px; }
.related-link a { display: inline-flex; align-items: center; gap: .35ch; font-weight: 700; font-size: .9rem;
  color: var(--accent-ink); background: var(--accent-tint);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  padding: 7px 14px; border-radius: 999px; text-decoration: none; }
.related-link a:hover { color: var(--accent); border-color: var(--accent); }

/* ---- verdict (結論) card ---- */
.verdict { position: relative; border: 1.5px solid var(--pick-line); background: var(--pick-tint);
  border-radius: var(--radius); padding: 20px 20px 18px; margin: 18px 0 6px; box-shadow: var(--shadow-sm); }
.verdict .ribbon { display: inline-flex; align-items: center; gap: .5ch; background: var(--pick); color: #fff;
  font-weight: 800; font-size: .74rem; letter-spacing: .06em; padding: 4px 11px; border-radius: 999px; }
.verdict h3 { margin: 10px 0 6px; font-size: 1.16rem; }
.verdict p { color: var(--ink-soft); margin: 0 0 12px; }

/* ---- product card ---- */
.card { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; background: var(--surface); margin: 14px 0; box-shadow: var(--shadow-sm);
  transition: box-shadow .14s ease, transform .14s ease; }
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
/* サムネ枠はカード全高までstretchし、その中で表紙を上下中央に“額装”表示（本文が長くても上寄せにならない） */
.card .thumb { flex: 0 0 200px; width: 200px; align-self: stretch; min-height: 210px;
  display: grid; place-items: center; padding: 12px;
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); overflow: hidden; }
.card .thumb img { max-height: 190px; max-width: 100%; width: auto; height: auto; object-fit: contain;
  mix-blend-mode: multiply; }
@media (prefers-color-scheme: dark) { .card .thumb { background: #23282f; } .card .thumb img { mix-blend-mode: normal; } }
.card .body { flex: 1; min-width: 0; }
.card .p-title { font-weight: 700; margin: 0 0 6px; font-size: 1.02rem; }
.card .p-meta { color: var(--muted); font-size: .84rem; margin: 2px 0; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 8px 0 2px; }
.price .amount { font-size: 1.35rem; font-weight: 800; color: var(--accent); }
.price .list { color: var(--muted); text-decoration: line-through; font-size: .85rem; }
.asof { display: block; color: var(--muted); font-size: .72rem; margin-top: 2px; }
.note { border-left: 3px solid var(--accent); background: var(--paper); border-radius: 0 8px 8px 0;
  padding: 9px 13px; margin: 10px 0; font-size: .92rem; color: var(--ink-soft); }

/* ---- comparison table ---- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
table.cmp { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.cmp thead th { position: sticky; top: 0; background: var(--paper); text-align: left; font-weight: 700;
  color: var(--ink-soft); padding: 12px 14px; border-bottom: 2px solid var(--line); white-space: nowrap; }
table.cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
table.cmp tbody tr:last-child td { border-bottom: none; }
table.cmp tbody tr.is-pick { background: var(--pick-tint); }
table.cmp tbody tr:hover { background: color-mix(in srgb, var(--accent) 5%, transparent); }
.rankmedal { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  font-weight: 800; font-size: .8rem; color: #7a5b00; background: var(--gold-tint); }
.rankmedal.n1 { background: #fbe7a1; } .rankmedal.n2 { background: #e6e6ea; color:#555; } .rankmedal.n3 { background: #f3d9b8; color:#7a4a10; }
.cmp .c-name { font-weight: 600; color: var(--ink); }
.cmp .c-price { font-weight: 800; color: var(--accent); white-space: nowrap; }

/* ---- CTA（定額報酬ガイド：無料体験など） ---- */
.cta-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px;
  background: linear-gradient(135deg, var(--gold-tint), var(--accent-tint));
  border: 1.5px solid color-mix(in srgb, var(--gold) 35%, var(--line));
  border-radius: var(--radius); padding: 20px 22px; margin: 18px 0; box-shadow: var(--shadow-sm); }
.cta-card .c-body { flex: 1; min-width: 220px; }
.cta-card .c-kicker { color: var(--accent-ink); font-weight: 800; font-size: .78rem; letter-spacing: .06em; }
.cta-card .c-title { font-weight: 800; font-size: 1.1rem; margin: 3px 0 2px; }
.cta-card .c-note { color: var(--ink-soft); font-size: .86rem; }
.cta-card .btn { font-size: 1rem; padding: 13px 22px; }

/* ---- FAQ (AEO) ---- */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq summary { list-style: none; padding: 14px 16px; font-weight: 700; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--accent); font-weight: 800; transition: transform .2s ease; }
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { border-bottom: 1px solid var(--line-soft); }
.faq .a { padding: 12px 16px 16px; color: var(--ink-soft); }

/* ---- misc ---- */
.updated { color: var(--muted); font-size: .8rem; margin-top: 18px; }
.tldr { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; margin: 6px 0 18px; }
.tldr strong { color: var(--accent-ink); }
.searchbar { display: flex; gap: 8px; margin: 6px 0 18px; }
.searchbar input { flex: 1; max-width: 340px; padding: 10px 13px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--surface); color: var(--ink); font-size: .95rem; }
.searchbar input:focus { border-color: var(--accent); outline: none; }
.empty { color: var(--muted); background: var(--paper); border: 1px dashed var(--line);
  border-radius: var(--radius); padding: 22px; text-align: center; }

/* ---- AI相談 ---- */
.ai-form { display: grid; gap: 10px; margin: 8px 0 4px; }
.ai-form textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--ink); font: inherit; resize: vertical; }
.ai-form textarea:focus { border-color: var(--accent); outline: none; }
.ai-form .btn { justify-self: start; }
/* ---- form fields (お問い合わせ等) ---- */
.field { display: grid; gap: 6px; }
.field-label { font-size: .82rem; font-weight: 700; color: var(--ink-soft); }
.field-label .req { display: inline-block; margin-left: 8px; background: var(--accent); color: #fff;
  font-size: .64rem; font-weight: 800; letter-spacing: .04em; padding: 1px 7px; border-radius: 999px; vertical-align: 1px; }
.ai-form input[type="text"], .ai-form input[type="email"] { width: 100%; padding: 12px 15px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); font: inherit; }
.ai-form input[type="text"]:focus, .ai-form input[type="email"]:focus { border-color: var(--accent); outline: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ai-answer { border: 1px solid var(--pick-line); background: var(--pick-tint); border-radius: var(--radius);
  padding: 16px 18px; margin-top: 16px; box-shadow: var(--shadow-sm); }
.ai-badge { display: inline-block; background: var(--pick); color: #fff; font-weight: 800; font-size: .72rem;
  letter-spacing: .06em; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.ai-body { color: var(--ink); line-height: 1.9; }

/* ---- footer ---- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); margin-top: 40px; }
.site-footer .wrap { padding: 26px 20px 34px; color: var(--muted); font-size: .82rem; }
.site-footer .foot-disclosure { display: flex; align-items: center; gap: .55ch;
  background: var(--accent-tint); color: var(--accent-ink);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 10px; padding: 11px 14px; font-size: .88rem; font-weight: 600;
  line-height: 1.55; margin-bottom: 14px; }
.site-footer .foot-disclosure svg { flex: 0 0 auto; }
.site-footer .foot-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 10px 0 12px; }
.site-footer .foot-nav a { color: var(--ink-soft); font-size: .82rem; text-decoration: none; }
.site-footer .foot-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .fineprint { font-size: .74rem; line-height: 1.7; }

/* ---- entrance motion (控えめ・CSSのみ) ---- */
@media (prefers-reduced-motion: no-preference) {
  .card, .tile, .verdict, .hero { animation: rise .4s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 600px) {
  .nav a { margin-left: 14px; font-size: .86rem; }
  .card { flex-direction: row; }
  /* モバイルは細長い額装を避け、従来どおり上寄せ固定（リスト的に見せる） */
  .card .thumb { flex: 0 0 100px; width: 100px; min-height: 0; height: 132px; align-self: flex-start; padding: 8px; }
  .card .thumb img { max-height: 116px; }
  h2 { margin-top: 1.5em; }
}


/* ===== カテゴリ/ツールのページ見出し ===== */
.cat-head { margin: 6px 0 26px; }
.cat-head h1 { margin-bottom: 6px; }
.cat-head .lead { max-width: 62ch; }

/* ===== 現在地表示（ヘッダーナビ） ===== */
.nav a.is-current { color: var(--accent-ink); font-weight: 700; }
.nav a.nav-tool { opacity: .8; }

/* ===== フッター3列（分野/ツール/サイト情報） ===== */
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
             gap: 20px 28px; margin: 18px 0 14px; }
.foot-cols .fh { font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--ink); }
.foot-cols .fcol a { display: block; padding: 4px 0; font-size: .9rem; color: var(--muted);
                     text-decoration: none; }
.foot-cols .fcol a:hover { color: var(--accent-ink); text-decoration: underline; }
@media (max-width: 700px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* ===== 比較表: 型番は等幅で読みやすく ===== */
.c-model { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .86rem; }

/* ===== 記事冒頭の読みやすさ（文字の壁にしない） ===== */
.lead, .guide-intro { max-width: 66ch; }
.prose p, .guide-intro { margin-bottom: 1em; }
article > h1 { margin-bottom: 14px; }
.tldr { margin-bottom: 22px; }


/* ===== 記事冒頭を「読む気になる」形にする ==========================
   文章の壁で始めない。①結論を絵で ②要点3つをスキャン可能に ③目次で構造を見せる */

/* ① 結論ヒーロー（商品画像＋結論＋価格＋導線） */
.answer { display: flex; gap: 22px; align-items: center; margin: 18px 0 22px;
          padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius);
          background: linear-gradient(180deg, var(--paper), transparent);
          box-shadow: var(--shadow-sm); }
.answer .a-shot { flex: 0 0 190px; width: 190px; height: 190px; display: flex;
                  align-items: center; justify-content: center;
                  background: #fff; border-radius: 12px; padding: 10px; }
.answer .a-shot img { max-width: 100%; max-height: 170px; width: auto; height: auto; object-fit: contain; }
.answer .a-body { flex: 1; min-width: 0; }
.answer .a-kicker { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
                    color: #fff; background: var(--accent); padding: 3px 10px; border-radius: 999px; }
.answer .a-title { font-size: 1.22rem; line-height: 1.45; margin: 10px 0 4px; }
.answer .a-model { color: var(--muted); font-size: .84rem; margin: 0 0 8px; }
.answer .a-model span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.answer .a-why { margin: 0 0 14px; color: var(--ink); line-height: 1.75; max-width: 56ch; }
.answer .a-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.answer .a-price { font-size: 1.5rem; font-weight: 800; color: var(--accent-ink); }
.answer .asof { display: block; margin-top: 8px; }
@media (max-width: 720px) {
  .answer { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .answer .a-shot { width: 100%; flex: none; height: 170px; }
}
@media (prefers-color-scheme: dark) { .answer .a-shot { background: #f4f5f7; } }

/* ② 要点3つ（本文を読まなくても要旨が入る） */
.keypoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.keypoints .kp { display: flex; gap: 10px; align-items: flex-start; padding: 14px 14px;
                 border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.keypoints .kp-n { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%;
                   background: var(--accent); color: #fff; font-size: .8rem; font-weight: 700;
                   display: flex; align-items: center; justify-content: center; }
.keypoints .kp-t { font-size: .9rem; line-height: 1.6; }
@media (max-width: 720px) { .keypoints { grid-template-columns: 1fr; } }

/* ③ 目次 */
.toc { border: 1px solid var(--line); border-left: 3px solid var(--accent);
       border-radius: 10px; padding: 14px 18px; margin: 0 0 26px; background: var(--paper); }
.toc .toc-h { font-weight: 700; font-size: .88rem; display: block; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 3px 0; }
.toc a { font-size: .92rem; text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* 比較表に小さなサムネを入れて、表も"絵"にする */
.cmp .c-name { display: flex; align-items: center; gap: 10px; }
.cmp .c-thumb { width: 40px; height: 40px; object-fit: contain; background: #fff;
                border-radius: 6px; padding: 2px; flex: 0 0 40px; }

/* 見出しにアンカーで飛んだとき、固定ヘッダーに隠れないように */
h2[id] { scroll-margin-top: 84px; }


/* 上部の商品プレビュー（ガイド系ページの視覚的な入口） */
.preview-strip { display: flex; align-items: center; gap: 18px; text-decoration: none;
                 border: 1px solid var(--line); border-radius: var(--radius);
                 padding: 14px 18px; margin: 0 0 20px; background: var(--paper);
                 transition: box-shadow .18s ease, transform .18s ease; }
.preview-strip:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.preview-strip .ps-shots { display: flex; gap: 8px; flex: 0 0 auto; }
.preview-strip .ps-shots img { width: 72px; height: 96px; object-fit: contain;
                               background: #fff; border-radius: 6px; padding: 3px; }
.preview-strip .ps-t { display: block; font-weight: 700; font-size: .98rem; color: var(--ink); }
.preview-strip .ps-s { display: block; font-size: .86rem; color: var(--muted); margin-top: 4px; }
@media (max-width: 720px) {
  .preview-strip { flex-direction: column; align-items: flex-start; }
  .preview-strip .ps-shots img:nth-child(n+4) { display: none; }
}
