/* =========================================================================
   査定屋 — POP design system
   方向: ポップで印象的。ステッカー的なハードシャドウ＋丸みの強いタイポ＋
   鮮やかな多色＋"押し込める"CTA。誠実さ（公式情報だけ・確認日）は死守。
   前提: 閲覧のほぼ100%がスマホ（iPhone多数 → 丸ゴシックが効く）。
   ========================================================================= */

:root {
  --bg: #fff6e9;          /* 温かいクリーム */
  --surface: #ffffff;
  --surface-2: #fff1dd;   /* 淡いピーチ */
  --mint: #e6f7ee;        /* 淡いミント */

  --ink: #222a25;
  --ink-2: #4b524c;
  --muted: #7c837c;
  --line: #ece5d6;
  --line-strong: #1f2a23; /* ステッカーの黒縁 */

  /* ブランド緑（鮮やか） */
  --brand: #12b25f;
  --brand-dark: #0b8f4a;
  --brand-ink: #08703a;
  --brand-soft: #d6f4e3;

  /* ポップ差し色 */
  --yellow: #ffce2b;
  --yellow-dark: #e0ac00;
  --sky: #37c0e0;
  --purple: #8b7bf0;

  /* CTA（ビビッドな緑：アフィ定番の申し込みボタン色）
     ブランド緑(--brand:エメラルド)より黄緑寄りにして、緑同士でも識別できるようにする */
  --cta: #3cc70f;
  --cta-hi: #59dd2c;
  --cta-dark: #2a930a;

  /* 警告・損失を表す暖色（着払い／注意点／「返送料」の強調に使う。CTAとは別役割） */
  --coral: #ff5c39;
  --coral-dark: #d23a1a;

  /* 主題「キャンセル返送料」の強調 */
  --hl-bg: #fff3d6;
  --hl-line: #ffce2b;
  --hl-ink: #8a5a00;

  --danger-bg: #ffeeeb;
  --danger-line: #ffc9bd;

  --pr: #fff5cf;

  --r: 16px;
  --r-sm: 12px;
  --r-lg: 24px;

  /* ステッカー的ハードシャドウ */
  --sh: 3px 4px 0 rgba(31, 42, 35, .14);
  --sh-lift: 5px 7px 0 rgba(31, 42, 35, .16);

  --max: 720px;
  --header-h: 56px;

  --font: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Noto Sans JP',
    'Yu Gothic', Meiryo, sans-serif;
  /* iPhone/Mac で本物の丸ゴシック。無い環境は太字ゴシックにフォールバック */
  --font-round: 'Hiragino Maru Gothic ProN', 'Hiragino Maru Gothic Pro',
    'Rounded Mplus 1c', var(--font);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 12% 8%, rgba(255,206,43,.10) 0, transparent 22%),
    radial-gradient(circle at 88% 4%, rgba(55,192,224,.08) 0, transparent 20%);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

.compare td, .shop__spec dd { font-variant-numeric: tabular-nums; }

main { max-width: var(--max); margin: 0 auto; padding: 10px 16px 80px; }

a { color: var(--brand-ink); text-underline-offset: 2px; }

h1, h2, h3, .hero__title, .band__title, .verdict__head, .card__title,
.shop__head, .cta__label, .btn-primary, .kicker { font-family: var(--font-round); }

/* ── header ─────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 16px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(1.3) blur(10px); -webkit-backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 2px solid var(--line);
}
.site-header .logo {
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
}
.logo__mark { display: inline-flex; width: 32px; height: 32px; flex: none; }
.logo__mark svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 3px rgba(11, 143, 74, .3)); }
.logo__text {
  font-family: var(--font-round); font-weight: 800; font-size: 21px; color: var(--ink);
  letter-spacing: .01em; line-height: 1;
}
.logo__tld { color: var(--brand-dark); font-weight: 800; font-size: .72em; letter-spacing: 0; }
.site-header nav { display: flex; gap: 6px; }
.site-header nav a {
  padding: 6px 11px; border-radius: 999px; font-size: 13px; font-weight: 800;
  color: var(--brand-ink); background: var(--brand-soft); text-decoration: none;
}
.site-header nav a + a { background: var(--surface-2); color: var(--ink-2); }

/* ── footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 2px dashed var(--line-strong); margin-top: 60px;
  padding: 32px 16px calc(32px + env(safe-area-inset-bottom));
  background: var(--surface-2); font-size: 13px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: center; }
.site-footer nav a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.copyright { text-align: center; color: var(--muted); margin: 18px 0 0; }

/* ── PR表記（ステマ規制）───────────────────────────────── */
.pr-label {
  max-width: var(--max); margin: 12px auto 0; padding: 10px 14px;
  background: var(--pr); border: 2px solid var(--yellow); border-radius: var(--r-sm);
  font-size: 12px; line-height: 1.65; color: #6b5324; box-shadow: var(--sh);
}
.pr-label strong:first-child {
  display: inline-block; margin-right: 7px; padding: 1px 7px;
  background: #7a5c1e; color: #fff; border-radius: 5px; font-size: 10px; letter-spacing: .04em;
}

/* ── キッカー（ポップな見出しラベル）──────────────────── */
.kicker {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 5px 13px;
  font-size: 12.5px; font-weight: 800; letter-spacing: .04em; color: var(--brand-ink);
  background: var(--brand-soft); border-radius: 999px; border: 2px solid var(--ink);
  box-shadow: var(--sh);
}
.kicker--light { color: #06381f; background: var(--yellow); border-color: var(--ink); }

/* ── 順位メダル ─────────────────────────────────────────── */
.rank {
  display: inline-grid; place-items: center; flex: none; border-radius: 50%;
  color: #fff; font-weight: 900; line-height: 1; background: var(--brand);
  border: 2px solid var(--ink); box-shadow: var(--sh);
}
.rank[data-rank="1"] { background: linear-gradient(160deg, #ffe07a, #f5b100); color: #5a4300; }
.rank[data-rank="2"] { background: linear-gradient(160deg, #eef1f4, #c2c9d0); color: #454b52; }
.rank[data-rank="3"] { background: linear-gradient(160deg, #f0b98a, #cd7f43); color: #4a2c10; }

/* ── 結論先出し ─────────────────────────────────────────── */
.verdict {
  margin: 22px 0; padding: 20px 16px 18px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: var(--sh-lift);
}
.verdict__head {
  margin: 0 0 8px; font-size: 20px; line-height: 1.45; font-weight: 800;
  display: flex; gap: 9px; align-items: baseline;
}
.verdict__head::before {
  content: "結論"; flex: none; padding: 4px 10px; border-radius: 999px;
  background: var(--yellow); color: #5a4300; font-size: 12px; font-weight: 900;
  border: 2px solid var(--ink); transform: translateY(-2px) rotate(-3deg);
}
.verdict__lead { margin: 0 0 16px; font-size: 14px; color: var(--ink-2); }
.verdict__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.verdict__item {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center;
  padding: 15px; background: var(--mint); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: var(--sh);
}
.verdict__item:nth-child(2) { background: #fff6df; }
.verdict__item:nth-child(3) { background: #eaf6fb; }
.verdict__tag {
  grid-row: span 2; align-self: stretch; display: flex; align-items: center; justify-content: center;
  padding: 0 12px; background: var(--brand); color: #fff; border: 2px solid var(--ink);
  border-radius: 10px; font-size: 12px; font-weight: 900; writing-mode: vertical-rl; letter-spacing: .12em;
}
.verdict__item:nth-child(2) .verdict__tag { background: var(--yellow-dark); }
.verdict__item:nth-child(3) .verdict__tag { background: var(--sky); }
.verdict__name { margin: 0; font-weight: 900; font-size: 17px; font-family: var(--font-round); }
.verdict__why { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.6; }
.verdict__item .cta { grid-column: 2; margin: 8px 0 0; }
.verdict__reassure { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); text-align: center; }
.verdict__reassure::before { content: "🔒 "; }

/* ── CTA（ポップの主役：押し込めるチャンキーボタン）──────── */
.cta { margin: 20px 0; }
.cta__micro {
  display: inline-block; margin: 0 auto 9px; padding: 3px 12px;
  font-size: 12.5px; font-weight: 900; color: #7a3a12;
  background: var(--yellow); border-radius: 999px; border: 2px solid var(--ink);
  transform: rotate(-1.5deg);
}
.cta { text-align: center; }
.cta__btn {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  width: 100%; max-width: 460px; padding: 16px 22px;
  background: linear-gradient(180deg, var(--cta-hi), var(--cta));
  color: #fff; border: 2px solid var(--ink); border-radius: 18px;
  box-shadow: 0 6px 0 var(--cta-dark), var(--sh-lift);
  text-decoration: none; text-align: center;
  transition: transform .08s ease, box-shadow .08s ease;
}
.cta__btn::after {
  content: ""; position: absolute; inset: 2px 2px auto 2px; height: 34%;
  background: linear-gradient(180deg, rgba(255,255,255,.35), transparent);
  border-radius: 14px 14px 40% 40%; pointer-events: none;
}
.cta__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--cta-dark), var(--sh-lift); }
.cta__btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--cta-dark), var(--sh); }
.cta__label { font-weight: 900; font-size: 18px; letter-spacing: .02em; }
.cta__label::after { content: " ➜"; }
.cta__dest { font-size: 11.5px; opacity: .95; font-weight: 700; }

/* 大きいCTAには「無料」ステッカー */
.cta--lg .cta__btn::before {
  content: "無料"; position: absolute; top: -12px; right: -8px; z-index: 1;
  padding: 4px 10px; background: var(--yellow); color: #5a4300;
  font-size: 12px; font-weight: 900; border-radius: 999px; border: 2px solid var(--ink);
  transform: rotate(9deg); box-shadow: var(--sh);
}
.cta--lg .cta__label { font-size: 19px; }

/* 表内などの小型CTA */
.cta--md .cta__btn { padding: 11px 14px; border-radius: 12px; box-shadow: 0 4px 0 var(--cta-dark); }
.cta--md .cta__btn::after { display: none; }
.cta--md .cta__btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--cta-dark); }
.cta--md .cta__label { font-size: 14px; }
.cta--md .cta__dest { display: none; }
.cta__reassure { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }

.btn-primary {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 30px; border-radius: 18px;
  background: linear-gradient(180deg, var(--cta-hi), var(--cta)); color: #fff;
  border: 2px solid var(--ink); font-family: var(--font-round); font-weight: 900; font-size: 17px;
  text-decoration: none; box-shadow: 0 6px 0 var(--cta-dark), var(--sh-lift);
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-primary::after { content: "➜"; transition: transform .15s ease; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--cta-dark), var(--sh-lift); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-primary:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--cta-dark), var(--sh); }

/* ── 下部固定CTA（スマホ）─────────────────────────────── */
.stickycta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--surface) 95%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 2px solid var(--ink);
  transform: translateY(120%); transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.stickycta.is-visible { transform: none; }
.stickycta__inner { max-width: var(--max); margin: 0 auto; }
.stickycta__lead { margin: 0 0 6px; font-size: 11.5px; color: var(--muted); text-align: center; }
.stickycta__lead strong { color: var(--cta-dark); }
.stickycta__btn {
  display: block; padding: 14px; border-radius: 14px;
  background: linear-gradient(180deg, var(--cta-hi), var(--cta)); color: #fff;
  border: 2px solid var(--ink); font-family: var(--font-round); font-weight: 900; font-size: 16px;
  text-align: center; text-decoration: none; box-shadow: 0 5px 0 var(--cta-dark);
}
.stickycta__btn::after { content: " ➜"; }
.stickycta__btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--cta-dark); }
@media (min-width: 721px) { .stickycta { display: none; } }

/* ── 比較表（横スクロール＋先頭列固定）───────────────────── */
.table-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 6px 0 8px; font-size: 12.5px; font-weight: 800; color: var(--brand-ink);
}
.table-note::before, .table-note::after { content: "⇆"; animation: nudge 1.3s ease-in-out infinite; }
@keyframes nudge { 0%,100%{ transform: translateX(0); opacity:.5; } 50%{ transform: translateX(3px); opacity:1; } }

.table-wrap {
  overflow-x: auto; margin: 4px 0 8px; -webkit-overflow-scrolling: touch;
  border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--sh);
  background: var(--surface);
}
.compare { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 540px; font-size: 14px; }
.compare th, .compare td { padding: 12px 13px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--line); }
.compare thead th {
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap;
  position: sticky; top: 0;
}
.compare thead .compare__hl { background: var(--yellow); color: #5a4300; }
.compare tbody tr:nth-child(even) td { background: var(--surface-2); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare tbody th {
  white-space: nowrap; font-weight: 800; background: var(--surface); font-family: var(--font-round);
  position: sticky; left: 0; z-index: 1; box-shadow: 2px 0 0 var(--line);
}
.compare tbody tr:nth-child(even) th { background: var(--surface-2); }
.compare__rank { width: 24px; height: 24px; margin-right: 7px; font-size: 12px; }
.compare__hl {
  background: var(--hl-bg) !important; font-weight: 800; color: var(--hl-ink);
  box-shadow: inset 3px 0 0 var(--hl-line), inset -3px 0 0 var(--hl-line);
}
.compare__plain {
  display: inline-block; padding: 8px 13px; border: 2px solid var(--ink); border-radius: 10px;
  background: #fff; font-size: 13px; font-weight: 800; text-decoration: none; white-space: nowrap;
  box-shadow: 0 3px 0 rgba(31,42,35,.15);
}
.compare__plain:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(31,42,35,.15); }
.asof { margin: 4px 0 28px; font-size: 12px; color: var(--muted); line-height: 1.7; }

/* スマホは1画面に入る情報が少なすぎたので、列を詰めて先頭列を細く固定し、
   一度に3〜4項目が見えるようにする。数値は折り返して縦に伸ばす方針。 */
@media (max-width: 560px) {
  .table-wrap { scroll-padding-left: 88px; }
  .compare { min-width: 456px; font-size: 12.5px; }
  .compare th, .compare td { padding: 8px 9px; }
  .compare thead th { font-size: 11px; padding: 8px 9px; letter-spacing: -.01em; }
  .compare tbody th {
    white-space: normal; word-break: break-word; line-height: 1.3;
    min-width: 82px; max-width: 90px; padding: 9px 8px;
    box-shadow: 5px 0 7px rgba(31, 42, 35, .1);
  }
  .compare__rank { width: 19px; height: 19px; margin: 0 5px 2px 0; font-size: 11px; }
  .compare td { min-width: 88px; }
  .compare td.compare__hl { min-width: 116px; }
  .compare__hl { box-shadow: inset 2px 0 0 var(--hl-line), inset -2px 0 0 var(--hl-line); }
  .compare__plain { padding: 7px 8px; font-size: 12px; }
  .compare .cta--md .cta__btn { padding: 9px 8px; }
  .compare .cta--md .cta__label { font-size: 12.5px; }
  .table-note { font-size: 12px; }
}

/* ── 返送料3タイプ 図解 ─────────────────────────────────── */
.types { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 8px 0 28px; }
.type {
  padding: 16px; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--sh);
  background: var(--surface);
}
.type--ok { background: var(--mint); }
.type--cond { background: #fff6df; }
.type--pay { background: var(--danger-bg); }
.type__icon {
  width: 52px; height: 52px; margin-bottom: 10px; display: grid; place-items: center;
  border-radius: 14px; border: 2px solid var(--ink); box-shadow: var(--sh); background: #fff;
}
.type__icon svg { width: 30px; height: 30px; }
.type h4 { margin: 0 0 5px; font-family: var(--font-round); font-size: 16px; font-weight: 900; }
.type p { margin: 0; font-size: 13.5px; color: var(--ink-2); line-height: 1.75; }
.type__tag { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; border: 2px solid var(--ink); font-size: 11.5px; font-weight: 900; }
.type--ok .type__tag { background: var(--brand); color: #fff; }
.type--cond .type__tag { background: var(--yellow); color: #5a4300; }
.type--pay .type__tag { background: var(--coral); color: #fff; }
@media (min-width: 560px) { .types { grid-template-columns: repeat(3, 1fr); } }

/* ── 各社詳細 ───────────────────────────────────────────── */
.shop {
  margin: 20px 0; padding: 18px 16px; background: var(--surface);
  border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh);
}
.shop__head { display: flex; align-items: center; gap: 11px; margin: 0 0 3px; font-size: 20px; font-weight: 800; }
.shop__rank { width: 34px; height: 34px; font-size: 17px; }
.shop__company { margin: 0 0 14px; font-size: 12.5px; color: var(--muted); }
.shop__spec { margin: 0 0 16px; border: 2px solid var(--ink); border-radius: var(--r-sm); overflow: hidden; }
.shop__spec > div { display: grid; grid-template-columns: 8.5em 1fr; font-size: 14px; border-bottom: 1px solid var(--line); }
.shop__spec > div:last-child { border-bottom: none; }
.shop__spec dt { padding: 10px 12px; background: var(--surface-2); font-weight: 800; margin: 0; color: var(--ink-2); }
.shop__spec dd { padding: 10px 12px; margin: 0; }
.shop__spec .is-hl dt { background: var(--yellow); color: #5a4300; }
.shop__spec .is-hl dd { background: var(--hl-bg); color: var(--hl-ink); font-weight: 800; }
.shop__pros, .shop__cons { margin: 0 0 12px; padding: 13px 15px; border-radius: var(--r-sm); border: 2px solid var(--ink); }
.shop__pros { background: var(--mint); }
.shop__cons { background: var(--danger-bg); }
.shop__pros h4, .shop__cons h4 { margin: 0 0 6px; font-family: var(--font-round); font-size: 14.5px; font-weight: 900; display: flex; align-items: center; gap: 7px; }
.shop__pros h4::before { content: "◎"; color: var(--brand-dark); }
.shop__cons h4::before { content: "!"; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 12px; border: 2px solid var(--ink); }
.shop__pros ul, .shop__cons ul { margin: 0; padding-left: 1.25em; font-size: 13.5px; }
.shop__pros li, .shop__cons li { margin: 3px 0; }
.shop__note { font-size: 12.5px; color: var(--muted); margin: 0 0 4px; }

/* ── 本文 ───────────────────────────────────────────────── */
main h1 { margin: 12px 0 8px; font-size: 26px; line-height: 1.4; font-weight: 800; letter-spacing: -.01em; }
main h2 { margin: 40px 0 16px; font-size: 22px; line-height: 1.4; font-weight: 800; }
main h2 .em, main h1 .em { background: linear-gradient(transparent 60%, var(--yellow) 60%); padding: 0 .05em; }
main h3 { margin: 30px 0 12px; font-size: 18px; font-weight: 800; font-family: var(--font-round); }
.body p, main article > p { margin: 0 0 16px; }
.body ul, .body ol { margin: 0 0 16px; padding-left: 1.3em; }
.body li { margin: 4px 0; }
.body strong { background: linear-gradient(transparent 60%, var(--hl-line) 60%); font-weight: 800; }

/* ── 記事画像（import-article-assets が挿入する figure）─────── */
figure.article-image { margin: 24px 0; }
figure.article-image img {
  display: block; width: 100%; height: auto;
  border-radius: 10px; border: 1px solid var(--line, #e5e5e5);
}
figure.article-image figcaption {
  margin-top: 8px; font-size: 12.5px; color: var(--muted); text-align: center;
}

/* ── パンくず / メタ ─────────────────────────────────────── */
.crumbs { margin: 6px 0 10px; font-size: 12.5px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.meta { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.meta::before {
  content: "確認済"; padding: 2px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 900;
  background: var(--brand); color: #fff; border: 2px solid var(--ink);
}

/* ── FAQ ────────────────────────────────────────────────── */
.faq { margin: 0; }
.faq__item { margin: 0 0 12px; border: 2px solid var(--ink); border-radius: var(--r-sm); overflow: hidden; background: var(--surface); box-shadow: var(--sh); }
.faq dt { padding: 14px 15px 14px 46px; position: relative; background: var(--surface-2); font-weight: 800; font-size: 14.5px; line-height: 1.6; }
.faq dt::before {
  content: "Q"; position: absolute; left: 13px; top: 12px; width: 24px; height: 24px;
  display: grid; place-items: center; border-radius: 8px; background: var(--brand); color: #fff;
  font-size: 13px; font-weight: 900; border: 2px solid var(--ink);
}
.faq dd { margin: 0; padding: 14px 15px; font-size: 14px; }

/* ── ほかのジャンル（記事間の内部リンク）──────────────── */
.related { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 560px) { .related { grid-template-columns: 1fr 1fr; } }
.related a {
  display: grid; gap: 6px; padding: 13px 15px; height: 100%;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-sm);
  text-decoration: none; color: var(--ink); box-shadow: var(--sh);
  transition: transform .1s ease, box-shadow .1s ease;
}
.related a:hover { transform: translate(-2px, -2px); box-shadow: var(--sh-lift); }
.related a:active { transform: translate(1px, 1px); box-shadow: var(--sh); }
.related__cat {
  justify-self: start; padding: 2px 10px; background: var(--brand-soft); color: var(--brand-ink);
  border: 2px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 900;
}
.related__title { font-size: 13.5px; font-weight: 700; line-height: 1.5; }

/* ── 調査方法の開示 ─────────────────────────────────────── */
.method {
  margin: 16px 0 0; padding: 18px; background: var(--surface-2);
  border: 2px solid var(--ink); border-radius: var(--r); font-size: 13.5px; box-shadow: var(--sh);
}
.method p { margin: 0 0 12px; }
.method p:last-child { margin: 0; }
.method__note { color: var(--muted); font-size: 12.5px; }

/* ── 連絡先 ─────────────────────────────────────────────── */
.contact__mail {
  padding: 16px; background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r);
  font-size: 18px; font-weight: 900; text-align: center; word-break: break-all; box-shadow: var(--sh);
}

/* ── トップ hero（ポップ）───────────────────────────────── */
.hero {
  margin: 10px 0 0; padding: 26px 20px 24px; position: relative; overflow: hidden;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg); box-shadow: var(--sh-lift);
}
/* keep-all: 日本語の語中改行を防ぎ、<br> の位置だけで折り返す（PCで「高く売るな／ら、」のような崩れを防止）*/
.hero__title { margin: 0 0 14px; font-weight: 800; line-height: 1.18; font-size: clamp(30px, 7.5vw, 44px); letter-spacing: -.01em; word-break: keep-all; }
.hero__title .em {
  color: #fff; background: var(--coral); border: 2px solid var(--ink); border-radius: 10px;
  padding: 0 .12em; box-shadow: var(--sh); display: inline-block; transform: rotate(-1.5deg);
}
.hero__sub { margin: 0; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.hero__sub strong { color: var(--ink); font-weight: 800; }
.hero__art { margin: 16px 0 4px; text-align: center; }
.hero__art svg { width: 100%; max-width: 380px; height: auto; }
.hero__actions { margin: 20px 0 0; }
/* 記事カードの下に置く、ハブへの中央 CTA */
.hero__actions--center { display: flex; justify-content: center; margin: 22px 0 4px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.trust li {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px;
  background: var(--surface-2); color: var(--brand-ink); border: 2px solid var(--ink);
  border-radius: 999px; font-size: 12px; font-weight: 800; box-shadow: var(--sh);
}
.trust li::before { content: "✓"; font-weight: 900; color: var(--brand); }

/* ── ダーク帯（"なぜ"）─────────────────────────────────── */
.band {
  margin: 24px 0; padding: 26px 22px; border-radius: var(--r-lg);
  background: var(--ink); color: #fff9ef; border: 2px solid var(--ink); box-shadow: var(--sh-lift);
  background-image: radial-gradient(130% 120% at 100% 0%, rgba(18,178,95,.30) 0, transparent 55%);
}
.band__title { margin: 0 0 12px; font-weight: 800; line-height: 1.4; font-size: clamp(20px, 5.6vw, 28px); }
/* ダーク帯では黄色文字＋黄色ハイライトが重なり読めないため、ヒーローと同じコーラルの
   ステッカー枠＋白文字に統一（背景が var(--ink) なので枠はクリーム色で縁取る）*/
.band__title .em {
  color: #fff; background: var(--coral); border: 2px solid #fff9ef; border-radius: 9px;
  padding: 0 .12em; box-shadow: 2px 3px 0 rgba(0,0,0,.3); display: inline-block; transform: rotate(-1.5deg);
}
.band__body { margin: 0; font-size: 14.5px; line-height: 1.95; color: #ded9cd; }
.band__stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 0; padding: 0; }
.band__stats li {
  flex: 1 1 92px; padding: 13px 14px; border-radius: var(--r-sm);
  background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.22);
}
.band__num { display: block; font-family: var(--font-round); font-size: 27px; font-weight: 900; line-height: 1.1; color: var(--yellow); }
.band__lbl { display: block; margin-top: 3px; font-size: 11.5px; color: #b8b4a8; }

/* 買取業者の選び方（5つのポイント）*/
.criteria { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.criteria li {
  padding: 13px 15px; border-radius: var(--r-sm);
  background: rgba(0,0,0,.28); border: 2px solid rgba(255,255,255,.16);
}
.criteria b {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
  font-family: var(--font-round); font-size: 15px; font-weight: 900; color: #fff9ef;
}
/* 本文説明の span だけを対象にする（li 直下）。バッジ .criteria__tag は b の中なので当たらない
   ＝これまで本文グレー色がバッジ文字を上書きして「最重要」が読めなくなっていた不具合を修正 */
.criteria li > span { display: block; font-size: 13px; line-height: 1.85; color: #ded9cd; }
.criteria li > span strong { color: #fff9ef; }
.criteria__tag {
  font-size: 11px; font-weight: 900; color: #1c1205; background: var(--yellow);
  border-radius: 999px; padding: 2px 10px; line-height: 1.5; flex: none;
}

/* ── 高く売るコツ（SellTips）───────────────────────────── */
.selltips { margin: 6px 0 0; }
.selltips__tips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: tip; }
.selltips__tips li {
  position: relative; padding: 14px 16px 14px 52px;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-sm); box-shadow: var(--sh);
}
.selltips__tips li::before {
  counter-increment: tip; content: counter(tip);
  position: absolute; left: 12px; top: 13px; width: 28px; height: 28px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--brand); color: #fff9ef; border: 2px solid var(--ink);
  font-family: var(--font-round); font-weight: 900; font-size: 15px;
}
.selltips__tips b { display: block; margin-bottom: 3px; font-weight: 900; color: var(--brand-ink); }
.selltips__tips span { display: block; font-size: 13.5px; line-height: 1.85; }
.selltips__lead { margin: 16px 0 8px; font-weight: 800; font-size: 14px; color: var(--brand-ink); }
.selltips__genre { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.selltips__genre li {
  position: relative; padding: 10px 13px 10px 36px;
  background: var(--surface-2); border: 2px solid var(--ink); border-radius: var(--r-sm);
  font-size: 13.5px; line-height: 1.7;
}
.selltips__genre li::before {
  content: "✓"; position: absolute; left: 13px; top: 10px; font-weight: 900; color: var(--brand);
}

/* ── 記事トップのアイキャッチ画像 ───────────────────────── */
.article-hero {
  display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover;
  margin: 8px 0 6px; background: var(--surface-2);
  border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--sh);
}

/* ── 宅配買取の流れ（FlowSteps）───────────────────────── */
.flow {
  list-style: none; margin: 6px 0 0; padding: 6px 0 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px;
}
.flow__step {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
  padding: 16px 12px 14px; background: var(--surface); border: 2px solid var(--ink);
  border-radius: var(--r-sm); box-shadow: var(--sh);
}
.flow__num {
  position: absolute; top: -10px; left: -10px; width: 26px; height: 26px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--cta); color: #fff9ef; border: 2px solid var(--ink);
  font-family: var(--font-round); font-weight: 900; font-size: 14px; box-shadow: var(--sh);
}
.flow__icon { width: 34px; height: 34px; color: var(--brand); }
.flow__icon svg { width: 100%; height: 100%; }
.flow__t { font-weight: 900; font-size: 14px; color: var(--brand-ink); }
.flow__d { font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* ── 関連ガイドへの内部リンク（記事下）───────────────────── */
.guidelinks { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.guidelinks a {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 15px; background: var(--surface); border: 2px solid var(--ink);
  border-radius: var(--r-sm); box-shadow: var(--sh); text-decoration: none;
  color: var(--ink); font-weight: 800; font-size: 14px;
  transition: transform .1s ease, box-shadow .1s ease;
}
.guidelinks a::after { content: "➜"; color: var(--cta-dark); font-weight: 900; flex: none; }
.guidelinks a:hover { transform: translate(-2px,-2px); box-shadow: var(--sh-lift); }
.guidelinks a:active { transform: translate(1px,1px); box-shadow: var(--sh); }

/* ── トップ 記事カード ───────────────────────────────────── */
.cards { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 14px; }
.card__thumb {
  display: block; width: calc(100% + 36px); margin: -18px -18px 4px; aspect-ratio: 1200 / 630;
  object-fit: cover; background: var(--surface-2); border-bottom: 2px solid var(--ink);
  border-radius: calc(var(--r) - 2px) calc(var(--r) - 2px) 0 0;
}
.card a {
  display: grid; gap: 9px; padding: 18px; background: var(--surface);
  border: 2px solid var(--ink); border-radius: var(--r); text-decoration: none; color: var(--ink);
  box-shadow: var(--sh); transition: transform .1s ease, box-shadow .1s ease;
}
.card a:hover { transform: translate(-2px,-2px); box-shadow: var(--sh-lift); }
.card a:active { transform: translate(1px,1px); box-shadow: var(--sh); }
.card__cat {
  justify-self: start; padding: 4px 12px; background: var(--yellow); color: #5a4300;
  border-radius: 999px; font-size: 11.5px; font-weight: 900; border: 2px solid var(--ink);
}
.card__title { font-size: 17px; font-weight: 800; line-height: 1.5; }
.card__desc { font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.card a::after { content: "詳しく見る ➜"; justify-self: end; font-size: 13px; font-weight: 900; color: var(--cta-dark); }

/* ── デスクトップ微調整 ─────────────────────────────────── */
@media (min-width: 641px) {
  body { font-size: 17px; }
  main h1 { font-size: 30px; }
  main h2 { font-size: 25px; }
  .hero { padding: 34px 30px 30px; }
  .hero__inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8px 24px; align-items: center; }
  .hero__title { grid-column: 1; }
  .hero__sub { grid-column: 1; }
  .hero__art { grid-column: 2; grid-row: 1 / span 4; margin: 0; }
  .trust, .hero__actions { grid-column: 1; }
  .verdict { padding: 26px 24px 22px; }
  .shop { padding: 26px 24px; }
}
