/* 買取相場チェック：紺と青を基調にした、落ち着いた情報サービスのデザイン */
:root {
  --navy: #0b2e5c; --navy-2: #123f7a; --blue: #1a5fd0; --blue-l: #e8f0fc; --blue-ll: #f4f8fe;
  --gold: #b8892b; --gold-l: #fbf4e3;
  --bg: #f3f5f8; --card: #fff; --text: #1c2430; --sub: #5b6676; --muted: #8a94a3; --line: #dfe4eb;
  --up: #c2341f; --down: #1a5fd0; --radius: 10px; --shadow: 0 1px 2px rgba(16, 34, 66, .06), 0 2px 8px rgba(16, 34, 66, .05);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Noto Sans JP", Meiryo, system-ui, sans-serif; line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--blue); }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ヘッダー */
.site-header { background: var(--navy); color: #fff; }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-mark rect { fill: var(--blue); }
.logo-text { font-weight: 800; font-size: 1.15rem; letter-spacing: .02em; line-height: 1.2; }
.logo-text small { display: block; font-weight: 400; font-size: .7rem; color: #b9c8e0; letter-spacing: 0; }
.header-badge { font-size: .78rem; color: #dbe6f7; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 3px 12px; white-space: nowrap; }

/* カテゴリのナビ */
.gnav { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.gnav .inner { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.gnav a { display: flex; align-items: center; gap: 6px; padding: 12px 12px 10px; color: var(--sub); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnav a:hover { color: var(--navy); }
.gnav a.current { color: var(--navy); border-bottom-color: var(--blue); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* トップの見出し帯 */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 36px 0 28px; }
.hero-eyebrow { display: inline-block; margin: 0 0 10px; font-size: .8rem; color: #cfe0fa; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 3px 12px; }
.hero h1 { font-size: 2rem; line-height: 1.35; margin: 0 0 8px; letter-spacing: .02em; }
.hero-lead { margin: 0 0 22px; color: #d6e2f5; max-width: 680px; }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hero-card { display: flex; flex-direction: column; gap: 4px; background: var(--card); color: var(--text); border-radius: var(--radius); padding: 16px 18px; text-decoration: none; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); border-top: 4px solid var(--gold); }
.hero-card:hover { transform: translateY(-1px); }
.hc-label { font-weight: 700; color: var(--navy); }
.hc-label small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.hero-card strong { font-size: 2rem; line-height: 1.2; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hc-sub { font-size: .82rem; color: var(--sub); display: flex; gap: 10px; flex-wrap: wrap; }
.hc-store { background: var(--blue-l); color: var(--navy); border-radius: 4px; padding: 0 8px; font-weight: 700; }
.hero .pr-note { color: #9fb3d3; margin-top: 14px; }

.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust .inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust .inner > div { padding: 14px 8px; text-align: center; border-left: 1px solid var(--line); }
.trust .inner > div:first-child { border-left: 0; }
.trust b { display: block; color: var(--navy); font-size: 1.1rem; }
.trust span { font-size: .78rem; color: var(--sub); }

/* 下層ページの見出し帯 */
.page-head { background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.page-head h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 1.6rem; line-height: 1.4; margin: 6px 0 4px; color: var(--navy); }
.page-head h1 .ico { width: 30px; height: 30px; color: var(--blue); }
.h1-brand { display: block; width: 100%; font-size: .85rem; font-weight: 600; color: var(--sub); }
.page-head .lead { margin: 0; color: var(--sub); }
.breadcrumb { font-size: .8rem; color: var(--muted); }
.breadcrumb a { color: var(--sub); }
.pr-note { font-size: .75rem; color: var(--muted); margin: 6px 0 0; }

main { padding-top: 8px; padding-bottom: 48px; }
.block { margin-top: 28px; }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.sec-head h2 { font-size: 1.2rem; margin: 0; color: var(--navy); padding-left: 12px; border-left: 4px solid var(--blue); line-height: 1.4; }
.sec-more { font-size: .88rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.note { font-size: .8rem; color: var(--sub); }
.back { margin-top: 28px; font-weight: 700; }

/* 表 */
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
th:first-child, td:first-child { text-align: left; white-space: normal; }
thead th { background: var(--blue-ll); font-size: .8rem; color: var(--sub); font-weight: 700; }
tbody th { font-weight: 700; color: var(--navy); }
tbody tr:hover { background: #fafcff; }
td.best { background: var(--gold-l); font-weight: 800; color: #6d4c0c; }
.best-tag { display: inline-block; margin-right: 6px; font-size: .68rem; font-weight: 700; color: #fff; background: var(--gold); border-radius: 3px; padding: 0 5px; vertical-align: 2px; }
td.stale, .stale { color: #b3bac5; }
.list-table td:first-child a { display: block; text-decoration: none; font-weight: 600; }
.list-table td:first-child small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.chg { font-weight: 700; font-variant-numeric: tabular-nums; }
.chg.up { color: var(--up); } .chg.down { color: var(--down); }
.sources { font-size: .78rem; color: var(--muted); }

/* カテゴリ */
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.cat-grid a { display: flex; align-items: flex-start; gap: 12px; height: 100%; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: var(--text); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s; }
.cat-grid a:hover { border-color: var(--blue); }
.cat-grid .ico { width: 36px; height: 36px; padding: 7px; border-radius: 8px; background: var(--blue-l); color: var(--blue); }
.cg-body { flex: 1; display: flex; flex-direction: column; }
.cg-body b { color: var(--navy); }
.cg-body span { font-size: .8rem; color: var(--sub); line-height: 1.6; }
.cat-grid small { color: var(--blue); font-weight: 700; white-space: nowrap; }

/* 手順 */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.steps li::before { content: "STEP " counter(step); display: block; font-size: .72rem; font-weight: 800; color: var(--blue); letter-spacing: .08em; }
.steps b { display: block; color: var(--navy); font-size: 1.05rem; margin: 2px 0 4px; }
.steps span { font-size: .84rem; color: var(--sub); }
.tips { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 14px 36px; margin: 0; }
.tips li { margin: 4px 0; }

/* 数値カード（品目ページ） */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.stat { background: var(--blue-ll); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; display: flex; flex-direction: column; }
.stat-label { font-size: .8rem; color: var(--sub); }
.stat strong { font-size: 1.6rem; line-height: 1.3; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat-sub { font-size: .8rem; color: var(--sub); }

/* グラフ */
.chart-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; }
.chart { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; box-shadow: var(--shadow); }
.chart svg { width: 100%; height: auto; display: block; }
.chart .line { fill: none; stroke-width: 2.6; }
.chart .line-0 { stroke: var(--blue); } .chart .line-1 { stroke: var(--gold); stroke-dasharray: 5 4; }
.chart .axis { font-size: 13px; fill: var(--muted); }
.chart figcaption { font-size: .8rem; color: var(--sub); display: flex; gap: 16px; }
.lg::before { content: ""; display: inline-block; width: 16px; height: 3px; margin-right: 6px; vertical-align: middle; background: var(--blue); }
.lg-1::before { background: var(--gold); }

/* 売るなら（提携先） */
.promo { margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: 18px 20px 6px; box-shadow: var(--shadow); }
.promo-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.promo-tag { font-size: .75rem; font-weight: 800; color: #fff; background: var(--blue); border-radius: 4px; padding: 2px 8px; }
.promo h2 { font-size: 1.1rem; margin: 0; color: var(--navy); }
.promo-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 10px; }
.promo-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; }
.promo-card b { display: block; color: var(--navy); }
.promo-card small { color: var(--sub); }
.promo-btn a { display: inline-block; background: var(--blue); color: #fff; font-weight: 700; text-decoration: none; border-radius: 6px; padding: 9px 18px; white-space: nowrap; font-size: .9rem; }
.promo-btn a::after { content: " 無料査定 →"; }
.promo-btn a:hover { background: var(--navy); }

/* 出品 */
.listings { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.listings a { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; color: var(--text); text-decoration: none; }
.listings a:hover { border-color: var(--blue); }
.listings img { flex: none; border-radius: 6px; object-fit: cover; background: #f5f5f5; }
.l-name { flex: 1; font-size: .86rem; }
.l-price { text-align: right; font-weight: 800; color: var(--navy); white-space: nowrap; }
.l-price small { display: block; font-weight: 400; font-size: .74rem; color: var(--muted); }

.static { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px 20px; margin-top: 24px; }
.static h2 { color: var(--navy); font-size: 1.1rem; }

/* フッター */
.site-footer { background: var(--navy); color: #c5d3ea; font-size: .84rem; padding: 32px 0 20px; margin-top: 40px; }
.site-footer a { color: #e3ecfa; text-decoration: none; display: block; margin: 3px 0; }
.f-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.f-logo { font-weight: 800; color: #fff; font-size: 1.05rem; margin: 0 0 6px; }
.f-h { font-weight: 700; color: #fff; margin: 0 0 6px; }
.f-op { border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 20px; padding-top: 14px; color: #9fb3d3; }
.f-op a { display: inline; }

@media (max-width: 760px) {
  .hero { padding: 26px 0 22px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-cards, .steps, .stat-row, .f-cols { grid-template-columns: 1fr; }
  .hero-card strong { font-size: 1.7rem; }
  .trust .inner > div { padding: 10px 4px; }
  .trust b { font-size: .95rem; }
  .header-badge { display: none; }
  .promo-card { flex-direction: column; align-items: flex-start; }
  th, td { padding: 10px; }
}
.block > .chart { max-width: 820px; }
