/* =========================================================
   車しらべ  style.css
   白＋濃紺の情報サービス風。色は :root でまとめて変更できる。
   ========================================================= */
:root {
  --navy: #0f2747;
  --navy-2: #1d3a63;
  --navy-soft: #e9eef5;
  --navy-line: #c9d3e1;
  --text: #17212f;
  --sub: #5a6676;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-2: #f5f7fa;
  --cta: #d9480f;       /* 申込ボタンだけに使う */
  --cta-dark: #b53c0c;
  --ok: #1b7a4b;
  --ok-bg: #e6f4ec;
  --warn: #9a5b00;
  --warn-bg: #fdf3e1;
  --ng: #b42318;
  --ng-bg: #fdecea;
  --radius: 4px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  --num: "SF Mono", "Roboto Mono", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.65; color: var(--text); background: var(--bg); }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.35; margin: 0; }
p { margin: 0 0 10px; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.container.narrow { max-width: 760px; }
.sp-only { display: inline; }
.pc-only { display: none; }
@media (min-width: 768px) { .sp-only { display: none; } .pc-only { display: inline; } }
.text-right { text-align: right; }
.note { font-size: 12px; color: var(--sub); margin: 8px 0 0; }

/* ---------- PR表記 ---------- */
.pr-bar { background: var(--bg-2); border-bottom: 1px solid var(--line); font-size: 11px; color: var(--sub); padding: 3px 0; }

/* ---------- ヘッダー ---------- */
.site-header { background: #fff; border-bottom: 2px solid var(--navy); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 52px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: .02em; }
.logo-mark { width: 14px; height: 14px; background: var(--navy); box-shadow: 4px 4px 0 var(--navy-line); }
.logo-sub { font-size: 11px; font-weight: 600; color: var(--sub); border-left: 1px solid var(--line); padding-left: 8px; }
.gnav { display: flex; }
.gnav a {
  color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px;
  padding: 0 14px; line-height: 50px; border-bottom: 3px solid transparent;
}
.gnav a:hover { color: var(--navy-2); }
.gnav a.is-current { color: var(--navy); border-bottom-color: var(--navy); }
@media (max-width: 640px) {
  .logo-sub { display: none; }
  .gnav a { padding: 0 10px; font-size: 13px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  font: inherit; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; border-radius: var(--radius); padding: 11px 20px; cursor: pointer;
}
.btn-block { display: flex; width: 100%; }
.btn-sm { font-size: 13px; padding: 6px 12px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-primary:disabled { opacity: .7; cursor: default; }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-dark); }
.btn-disabled { background: var(--bg-2); color: var(--sub); border-color: var(--line); cursor: default; font-weight: 600; }

/* ---------- トップ：見出し＋目的選択 ---------- */
.home-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 24px 0 20px; }
.home-title { font-size: clamp(20px, 4.2vw, 28px); color: var(--navy); font-weight: 800; letter-spacing: .01em; }
.home-lead { color: var(--sub); margin: 8px 0 16px; font-size: 14px; }
.purpose { display: grid; gap: 8px; }
@media (min-width: 768px) { .purpose { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.purpose-item {
  display: grid; grid-template-columns: auto 1fr; grid-template-areas: "label title" "label desc" "label meta";
  column-gap: 12px; align-items: start;
  background: #fff; border: 1px solid var(--navy-line); border-left: 4px solid var(--navy);
  padding: 12px 14px; color: var(--text); text-decoration: none; position: relative;
}
.purpose-item::after { content: "→"; position: absolute; right: 12px; top: 12px; color: var(--navy); font-weight: 700; }
.purpose-item:hover { border-color: var(--navy); background: #fbfcfe; }
.purpose-label {
  grid-area: label; background: var(--navy); color: #fff; font-weight: 800; font-size: 14px;
  width: 64px; text-align: center; padding: 6px 0; border-radius: 2px;
}
.purpose-item strong { grid-area: title; font-size: 16px; color: var(--navy); padding-right: 20px; }
.purpose-desc { grid-area: desc; font-size: 12px; color: var(--sub); line-height: 1.5; margin-top: 2px; }
.purpose-meta { grid-area: meta; font-size: 11px; color: var(--navy-2); font-weight: 700; margin-top: 4px; }

.home-section { padding: 28px 16px 8px; }
.section-head { margin-bottom: 12px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.section-head h2 { font-size: 19px; color: var(--navy); }
.section-head p { font-size: 13px; color: var(--sub); margin: 4px 0 0; }

/* サンプル */
.sample { display: grid; gap: 12px; border: 1px solid var(--line); padding: 12px; }
@media (min-width: 900px) { .sample { grid-template-columns: 260px 1fr; gap: 16px; padding: 16px; } }
.sample-cond { background: var(--bg-2); padding: 12px; }
.sample-cond-title { font-size: 12px; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.cond-list { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 0 0 14px; font-size: 13px; }
.cond-list dt { color: var(--sub); }
.cond-list dd { margin: 0; font-weight: 700; }
.weight-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; }
.weight-chips li { background: #fff; border: 1px solid var(--line); padding: 3px 6px; display: flex; gap: 4px; align-items: center; }
.sample-body { min-width: 0; }
.sample-body .rank-list { margin-bottom: 12px; }
.sample-why { font-size: 13px; background: var(--navy-soft); padding: 8px 10px; margin: 10px 0 12px; }

/* 流れ */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(3, 1fr); } }
.flow li { display: flex; gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .flow li { border-bottom: 0; border-right: 1px solid var(--line); } .flow li:last-child { border-right: 0; } }
.flow li:last-child { border-bottom: 0; }
.flow-no { font-family: var(--num); font-weight: 700; color: var(--navy-line); font-size: 22px; line-height: 1; }
.flow strong { color: var(--navy); font-size: 16px; }
.flow p { font-size: 13px; color: var(--sub); margin: 4px 0 6px; }
.flow a { font-size: 13px; font-weight: 700; }

/* ---------- ツールページ ---------- */
.tool-head { background: var(--navy); color: #fff; padding: 14px 0 16px; }
.crumb { font-size: 12px; opacity: .75; margin: 0 0 4px; }
.crumb a { color: #fff; }
.tool-head h1 { font-size: clamp(19px, 4vw, 24px); }
.tool-lead { font-size: 13px; opacity: .85; margin: 4px 0 0; }

.tool-layout { display: grid; gap: 12px; padding-top: 12px; padding-bottom: 12px; align-items: start; }
@media (min-width: 960px) {
  .tool-layout { grid-template-columns: 340px 1fr; gap: 16px; padding-top: 16px; }
  .tool-form { position: sticky; top: 64px; }
}
.tool-result { display: grid; gap: 12px; min-width: 0; scroll-margin-top: 60px; }

.panel { background: #fff; border: 1px solid var(--line); padding: 14px; }
.panel-title {
  font-size: 15px; color: var(--navy); font-weight: 800;
  border-left: 4px solid var(--navy); padding-left: 8px; margin: 0 0 12px;
}
.panel-sub { display: block; font-size: 12px; color: var(--sub); font-weight: 500; margin-top: 2px; }
.panel-text { font-size: 14px; }
.panel-accent { border-color: var(--navy-line); background: #fbfcfe; }
.sub-title { font-size: 13px; color: var(--sub); font-weight: 800; margin: 14px 0 6px; }
.sub-title:first-of-type { margin-top: 0; }

/* フォーム */
.field { margin: 0 0 12px; padding: 0; border: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-size: 13px; font-weight: 700; margin-bottom: 5px; padding: 0; }
.optional { font-size: 11px; color: var(--sub); font-weight: 500; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.field-inline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.field-inline > legend { float: left; margin: 0; flex: 1; }
.field-inline .seg { width: 140px; flex-shrink: 0; }
input[type="text"], input[type="number"], select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text); background: #fff;
  border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 8px 10px; height: 42px;
}
input:focus, select:focus { outline: 2px solid var(--navy-2); outline-offset: 0; }
.form-note { font-size: 11px; color: var(--sub); text-align: center; margin: 8px 0 0; }

/* セグメント（ラジオボタン） */
.seg { display: grid; border: 1px solid var(--navy-line); border-radius: var(--radius); overflow: hidden; }
.seg-2 { grid-template-columns: repeat(2, 1fr); }
.seg-3 { grid-template-columns: repeat(3, 1fr); }
.seg-4 { grid-template-columns: repeat(4, 1fr); }
.seg-5 { grid-template-columns: repeat(5, 1fr); }
.seg label { position: relative; cursor: pointer; margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 40px; padding: 4px 4px; font-size: 13px; line-height: 1.3; font-weight: 600;
  background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.seg-sm span { min-height: 34px; }
.seg label:hover span { background: var(--navy-soft); }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--cta); outline-offset: -2px; }

/* ---------- 順位リスト ---------- */
.rank-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); }
.rank-row { display: grid; grid-template-columns: 32px 1fr auto; grid-template-areas: "no name score" "no cta cta"; gap: 4px 10px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.rank-row:last-child { border-bottom: 0; }
.rank-row.is-top { background: var(--navy-soft); }
@media (min-width: 640px) { .rank-row { grid-template-columns: 32px 1fr auto 150px; grid-template-areas: "no name score cta"; } }
.rank-no { grid-area: no; font-family: var(--num); font-weight: 800; font-size: 20px; color: var(--navy); text-align: center; }
.rank-row:not(.is-top) .rank-no { color: var(--sub); }
.rank-name { grid-area: name; min-width: 0; }
.rank-name strong { display: block; font-size: 15px; }
.rank-name small { display: block; font-size: 11px; color: var(--sub); line-height: 1.4; }
.rank-score { grid-area: score; text-align: right; color: var(--navy); }
.rank-score b { font-family: var(--num); font-size: 22px; }
.rank-score small { font-size: 12px; margin-left: 1px; }
.rank-cta { grid-area: cta; }
.rank-cta .btn { width: 100%; }

/* ---------- 比較表 ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.matrix { width: 100%; border-collapse: collapse; font-size: 13px; }
.matrix th, .matrix td { border: 1px solid var(--line); padding: 7px 8px; vertical-align: top; text-align: left; }
.matrix thead th { background: var(--navy); color: #fff; font-weight: 700; border-color: var(--navy-2); vertical-align: bottom; }
.matrix .m-rank { display: block; font-size: 10px; font-weight: 600; opacity: .8; }
.matrix .col-crit { background: var(--bg-2); font-weight: 700; white-space: nowrap; }
.matrix thead .col-crit { background: var(--navy); }
.matrix .col-weight { width: 64px; white-space: nowrap; }
.matrix tr.is-off td, .matrix tr.is-off th { color: #9aa4b1; }
.matrix tr.is-off .sbar i.on { background: #b9c3d0; }
.matrix tfoot th, .matrix tfoot td { background: var(--navy-soft); font-weight: 800; color: var(--navy); }
.matrix .total b { font-family: var(--num); font-size: 18px; }
.matrix-num td { text-align: right; font-family: var(--num); white-space: nowrap; }
.cell-note { display: block; font-size: 11px; color: var(--sub); line-height: 1.4; margin-top: 3px; }
.wt-inline { display: none; }
@media (max-width: 640px) {
  .matrix { font-size: 12px; }
  .matrix th, .matrix td { padding: 6px 5px; }
  .matrix .col-weight { display: none; }
  .matrix .col-crit { white-space: normal; min-width: 76px; }
  .wt-inline { display: block; margin-top: 3px; }
  .matrix tfoot th[colspan] { /* 重視度列が消えるので1列分に */ }
}

/* 5段階バー */
.sbar { display: inline-flex; align-items: center; gap: 2px; }
.sbar i { width: 9px; height: 9px; background: var(--line); display: inline-block; }
.sbar i.on { background: var(--navy); }
.sbar b { font-family: var(--num); font-size: 12px; margin-left: 4px; color: var(--navy); }

/* 判定ラベル */
.st { display: inline-block; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 2px; }
.st-ok { background: var(--ok-bg); color: var(--ok); }
.st-partial { background: var(--warn-bg); color: var(--warn); }
.st-ng { background: var(--ng-bg); color: var(--ng); }
.st-na { color: #9aa4b1; }

/* 重視度ラベル */
.wt { display: inline-block; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 2px; border: 1px solid; white-space: nowrap; }
.wt-3 { background: var(--navy); color: #fff; border-color: var(--navy); }
.wt-2 { background: var(--navy-soft); color: var(--navy); border-color: var(--navy-line); }
.wt-1 { background: #fff; color: var(--sub); border-color: var(--line); }
.wt-0 { background: #fff; color: #9aa4b1; border-color: var(--line); }

/* キー・バリュー表 */
.kv-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.kv-table th, .kv-table td { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }
.kv-table tr:first-child th, .kv-table tr:first-child td { border-top: 1px solid var(--line); }
.kv-table th { width: 30%; color: var(--navy); font-weight: 700; }
.kv-table .col-weight { width: 60px; }
.kv-table .col-cta { width: 120px; text-align: right; }
.policy-table th { width: 140px; }
@media (max-width: 640px) {
  .kv-table th { width: auto; min-width: 80px; }
  .kv-table .col-cta { width: 104px; }
}

/* なぜこの順位か */
.why-list { display: grid; gap: 8px; }
@media (min-width: 900px) { .why-list { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.why { border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.why-head { display: flex; align-items: baseline; gap: 6px; font-weight: 800; color: var(--navy); margin: 0; }
.why-head .m-rank { font-size: 11px; background: var(--navy); color: #fff; padding: 0 5px; }
.why-score { margin-left: auto; font-family: var(--num); }
.why-points { list-style: none; margin: 0; padding: 0; font-size: 12px; flex: 1; }
.why-points li { position: relative; padding-left: 16px; margin-bottom: 4px; line-height: 1.5; }
.why-points li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.why-points .plus::before { content: "+"; color: var(--ok); }
.why-points .minus::before { content: "−"; color: var(--ng); }
.why-points .info::before { content: "→"; color: var(--navy); }

.next-link { display: block; background: var(--navy); color: #fff; text-decoration: none; padding: 12px 14px; position: relative; }
.next-link span { display: block; font-size: 11px; opacity: .75; }
.next-link strong { font-size: 15px; }
.next-link::after { content: "→"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; }
.text-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; }

/* 維持費 */
.kpi { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-bottom: 12px; }
.kpi div { padding: 8px 10px; border-right: 1px solid var(--line); }
.kpi div:last-child { border-right: 0; }
.kpi div:first-child { background: var(--navy); color: #fff; }
.kpi span { display: block; font-size: 11px; opacity: .8; }
.kpi b { font-family: var(--num); font-size: clamp(17px, 4.5vw, 24px); }
.kpi small { font-size: 11px; margin-left: 2px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cost-table th, .cost-table td { border-bottom: 1px solid var(--line); padding: 7px 6px; text-align: left; }
.cost-table thead th { font-size: 11px; color: var(--sub); font-weight: 700; border-bottom: 2px solid var(--navy); }
.cost-table tbody th { font-weight: 600; }
.cost-table .num { text-align: right; font-family: var(--num); white-space: nowrap; }
.cost-table .col-share { width: 38%; font-family: var(--num); font-size: 12px; white-space: nowrap; }
.cost-table tr.is-focus { background: var(--warn-bg); }
.share { display: inline-block; vertical-align: middle; width: calc(100% - 40px); height: 8px; background: var(--bg-2); margin-right: 6px; }
.share i { display: block; height: 100%; background: var(--navy); }
.tag { display: inline-block; font-size: 10px; color: var(--sub); border: 1px solid var(--line); padding: 0 4px; margin-right: 6px; vertical-align: 1px; }

/* 比較のしくみ */
.method { padding-top: 16px; padding-bottom: 28px; }
.method-title { font-size: 16px; color: var(--navy); border-bottom: 2px solid var(--navy); padding-bottom: 6px; margin-bottom: 12px; }
.method-grid { display: grid; gap: 16px; font-size: 13px; }
@media (min-width: 768px) { .method-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.method h3 { font-size: 14px; margin-bottom: 6px; }
.def-list { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; }
.def-list dt { font-weight: 700; color: var(--navy); white-space: nowrap; }
.def-list dd { margin: 0; color: var(--sub); }
.assume-list { margin: 0; padding-left: 18px; font-size: 13px; color: var(--sub); }
.assume-list li { margin-bottom: 4px; }

/* ---------- 下層ページ（運営者情報など） ---------- */
.page-head { background: var(--navy); color: #fff; padding: 16px 0; }
.page-head h1 { font-size: clamp(19px, 4vw, 24px); }
.page-head p { margin: 4px 0 0; opacity: .85; font-size: 13px; }
.section { padding: 24px 0; }
.article h2 { font-size: 17px; color: var(--navy); margin: 24px 0 8px; padding-bottom: 4px; border-bottom: 1px solid var(--navy-line); }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 15px; margin: 16px 0 4px; }
.article p { font-size: 14px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.info-table th { background: var(--bg-2); width: 30%; white-space: nowrap; color: var(--navy); }
.contact-mail { font-size: 18px; font-weight: 700; text-align: center; margin: 16px 0 !important; word-break: break-all; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #c8d2e0; padding: 24px 0 16px; margin-top: 24px; font-size: 13px; }
.footer-grid { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; } .footer-grid > div:first-child { grid-column: auto; } }
.footer-logo { color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 6px; }
.footer-note { font-size: 12px; line-height: 1.6; }
.fnav-title { color: #8fa3c0; font-size: 11px; font-weight: 800; letter-spacing: .08em; margin: 0 0 6px; }
.fnav { display: grid; gap: 6px; }
.fnav a { color: #fff; text-decoration: none; font-size: 13px; }
.fnav a:hover { text-decoration: underline; }
.copyright { font-size: 11px; opacity: .6; margin: 20px 0 0; }

/* =========================================================
   ビジュアル強化：色分け・アイコン・アニメーション
   ========================================================= */
:root {
  --sell: #0e9f6e;  --sell-bg: #e7f6f0;  --sell-dark: #0b7a55;
  --lease: #2563eb; --lease-bg: #eaf1fe; --lease-dark: #1d4ed8;
  --cost: #d97706;  --cost-bg: #fdf3e2;  --cost-dark: #b45309;
  --acc: var(--navy); --acc-bg: var(--navy-soft);
}
.accent-sell  { --acc: var(--sell);  --acc-bg: var(--sell-bg); }
.accent-lease { --acc: var(--lease); --acc-bg: var(--lease-bg); }
.accent-cost  { --acc: var(--cost);  --acc-bg: var(--cost-bg); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 99; background: #fff; padding: 6px 10px; }

.ico { width: 22px; height: 22px; flex-shrink: 0; vertical-align: middle; }
.ico-sm { width: 16px; height: 16px; }

/* ヘッダーのアイコン付きメニュー */
.gnav a { display: flex; align-items: center; gap: 5px; }
.gnav-ico { width: 17px; height: 17px; opacity: .75; }
.gnav-sell.is-current { color: var(--sell-dark); border-bottom-color: var(--sell); }
.gnav-lease.is-current { color: var(--lease-dark); border-bottom-color: var(--lease); }
.gnav-insurance.is-current { color: var(--cost-dark); border-bottom-color: var(--cost); }
@media (max-width: 640px) {
  .header-inner { height: 56px; }
  .gnav a { flex-direction: column; gap: 1px; font-size: 11px; line-height: 1.2; padding: 6px 8px 5px; }
  .gnav-ico { width: 19px; height: 19px; }
}

/* ---------- トップ ---------- */
.home-head {
  background:
    radial-gradient(circle at 85% 20%, rgba(37, 99, 235, .10), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(14, 159, 110, .10), transparent 40%),
    linear-gradient(180deg, #f3f6fb, #fff);
  padding: 22px 0 22px;
}
.home-head-inner { display: grid; gap: 4px; align-items: center; }
@media (min-width: 860px) { .home-head-inner { grid-template-columns: 1.1fr .9fr; gap: 24px; } }
.home-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--navy-2); background: #fff; border: 1px solid var(--navy-line); padding: 3px 10px; border-radius: 99px; margin-bottom: 10px; }
.home-title { font-size: clamp(26px, 6vw, 40px); line-height: 1.25; }
.home-lead strong { color: var(--navy); background: linear-gradient(transparent 62%, #fde68a 62%); }
.home-badges { list-style: none; padding: 0; margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; font-weight: 700; color: var(--navy-2); }
.home-badges li { display: flex; align-items: center; gap: 4px; }
.home-badges .ico { color: var(--sell); }
.home-visual { max-width: 420px; margin: 0 auto; width: 100%; }
@media (max-width: 859px) { .home-visual { max-width: 300px; margin: -4px auto -6px; } }
.hero-ill { width: 100%; height: auto; display: block; }

/* イラストのアニメーション */
.ill-bars rect { transform-box: fill-box; transform-origin: bottom; animation: barUp .9s cubic-bezier(.2,.8,.2,1) both; }
.ill-bars rect:nth-child(2) { animation-delay: .12s; }
.ill-bars rect:nth-child(3) { animation-delay: .24s; }
.ill-bars rect:nth-child(4) { animation-delay: .36s; }
.ill-car { animation: carIn 1s cubic-bezier(.2,.8,.2,1) .2s both; }
.ill-dot { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-in-out 1.2s infinite; }
.ill-meter { transform-box: fill-box; transform-origin: left; animation: meter 1.2s cubic-bezier(.2,.8,.2,1) .6s both; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes carIn { from { transform: translateX(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: .5; } }
@keyframes meter { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 目的カード（色分け） */
.purpose { margin-top: 14px; }
.purpose-item {
  grid-template-columns: auto 1fr;
  grid-template-areas: "ico label" "ico title" "ico desc" "ico meta";
  border: 1px solid var(--line); border-top: 4px solid var(--pc, var(--navy));
  box-shadow: 0 1px 2px rgba(15, 39, 71, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.purpose-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 39, 71, .10); border-color: var(--line); border-top-color: var(--pc); }
.purpose-item::after { color: var(--pc); }
.pi-sell  { --pc: var(--sell);  --pc-bg: var(--sell-bg); }
.pi-lease { --pc: var(--lease); --pc-bg: var(--lease-bg); }
.pi-cost  { --pc: var(--cost);  --pc-bg: var(--cost-bg); }
.purpose-ico { grid-area: ico; width: 48px; height: 48px; display: grid; place-items: center; background: var(--pc-bg); color: var(--pc); border-radius: 50%; }
.purpose-ico .ico { width: 26px; height: 26px; }
.purpose-label { grid-area: label; width: auto; justify-self: start; background: none; color: var(--pc); padding: 0; font-size: 12px; letter-spacing: .06em; }
.purpose-meta { color: var(--pc); }

/* こんなときに */
.situations { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .situations { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .situations { grid-template-columns: repeat(3, 1fr); } }
.sit { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; transition: background .15s, border-color .15s; }
.sit:hover { background: var(--sc-bg); border-color: var(--sc); }
.sit span { flex: 1; }
.sit-ico { color: var(--sc); background: var(--sc-bg); padding: 6px; width: 34px; height: 34px; border-radius: 50%; }
.sit-arrow { color: var(--sc); }
.sit-sell { --sc: var(--sell); --sc-bg: var(--sell-bg); }
.sit-lease { --sc: var(--lease); --sc-bg: var(--lease-bg); }
.sit-cost { --sc: var(--cost); --sc-bg: var(--cost-bg); }

.sample { box-shadow: 0 1px 3px rgba(15, 39, 71, .06); }
.sample-cond-title, .sample-why { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.sample-why { border-left: 3px solid var(--sell); background: var(--sell-bg); }

/* 流れ（STEP） */
.flow li { align-items: flex-start; }
.flow-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--fc-bg); color: var(--fc); }
.flow-no { display: block; font-family: var(--num); font-size: 11px; color: var(--fc); font-weight: 800; letter-spacing: .08em; margin-bottom: 2px; line-height: 1.4; }
.flow a { color: var(--fc); }
.fl-sell { --fc: var(--sell); --fc-bg: var(--sell-bg); }
.fl-lease { --fc: var(--lease); --fc-bg: var(--lease-bg); }
.fl-cost { --fc: var(--cost); --fc-bg: var(--cost-bg); }

/* 考え方 */
.policy-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .policy-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .policy-grid { grid-template-columns: repeat(4, 1fr); } }
.policy { border: 1px solid var(--line); padding: 14px; background: #fff; }
.policy .ico { width: 28px; height: 28px; color: var(--navy-2); margin-bottom: 6px; }
.policy strong { display: block; color: var(--navy); margin-bottom: 4px; }
.policy p { font-size: 13px; color: var(--sub); margin: 0; }
.more-link { text-align: right; margin: 8px 0 0; }

/* ---------- ツールページ ---------- */
.tool-head { border-bottom: 4px solid var(--acc); background: linear-gradient(120deg, var(--navy) 60%, var(--navy-2)); }
.tool-head-inner { display: flex; gap: 14px; align-items: center; }
.tool-head-ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.tool-head-ico .ico { width: 28px; height: 28px; }
.howto { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 12px; font-weight: 700; color: var(--navy); }
.howto li { display: flex; align-items: center; gap: 6px; background: var(--acc-bg); padding: 6px 8px; line-height: 1.35; }
.howto span { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; font-size: 11px; font-family: var(--num); }
.panel-title { border-left-color: var(--acc); }
.seg input:checked + span { background: var(--acc); }
.seg label:hover span { background: var(--acc-bg); }
.hint { font-size: 11px; color: var(--sub); margin: 3px 0 0; }
.rank-row.is-top { background: var(--acc-bg); box-shadow: inset 4px 0 0 var(--acc); }
.rank-row.is-top .rank-no { color: var(--acc); }
.rank-bar { display: block; height: 5px; background: var(--bg-2); margin-top: 5px; max-width: 220px; }
.rank-bar i { display: block; height: 100%; background: var(--acc); }
.rank-row:not(.is-top) .rank-bar i { background: var(--navy-line); }
.sbar i.on { background: var(--acc); }
.accent-sell .sbar i.on, .accent-lease .sbar i.on { background: var(--acc); }
body:not([class*="accent-"]) .sbar i.on { background: var(--sell); }
.next-link { background: linear-gradient(120deg, var(--navy), var(--lease)); }

/* 維持費：構成バー */
.stack { display: flex; height: 18px; margin: 4px 0 6px; overflow: hidden; border-radius: 2px; }
.stack span { display: block; height: 100%; }
.stack-legend { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--sub); }
.stack-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 4px; vertical-align: -1px; }
.g-tax { background: #475569; }
.g-ins { background: var(--cost); }
.g-run { background: var(--lease); }
.g-fix { background: #7c3aed; }
.g-mnt { background: var(--sell); }
.tag.g-tax, .tag.g-ins, .tag.g-run, .tag.g-fix, .tag.g-mnt { color: #fff; border-color: transparent; }
.kpi div:first-child { background: var(--acc); }

/* ---------- よくある質問 ---------- */
.faq-block { margin: 20px 0 8px; }
.block-title { font-size: 17px; color: var(--navy); margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; gap: 10px; align-items: flex-start; padding: 12px 28px 12px 0; font-weight: 700; font-size: 14px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 18px; color: var(--navy-2); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { display: flex; gap: 10px; margin: 0 0 12px; font-size: 14px; color: #364152; }
.faq-q, .faq-a { flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; font-weight: 800; font-family: var(--num); }
.faq-q { background: var(--navy); color: #fff; }
.faq-a { background: var(--sell-bg); color: var(--sell-dark); }

/* ---------- 記事カード ---------- */
.article-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .article-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .article-cards { grid-template-columns: repeat(3, 1fr); } }
.article-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--ac); background: #fff; text-decoration: none; color: var(--text); transition: transform .18s, box-shadow .18s; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 39, 71, .08); }
.article-card strong { font-size: 15px; line-height: 1.5; color: var(--navy); }
.ac-cat { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--ac); }
.ac-date { font-size: 11px; color: var(--sub); margin-top: auto; }
.ac-sell { --ac: var(--sell); }
.ac-lease { --ac: var(--lease); }
.ac-cost { --ac: var(--cost); }
.related { margin: 24px 0 8px; }

/* ---------- 記事ページ ---------- */
.article-head { background: linear-gradient(120deg, var(--navy) 55%, var(--navy-2)); color: #fff; padding: 18px 0 20px; border-bottom: 4px solid var(--acc); }
.article-head .crumb a { color: #fff; }
.article-head h1 { font-size: clamp(21px, 4.6vw, 30px); line-height: 1.4; margin: 6px 0 10px; }
.ah-cat { display: inline-flex; align-items: center; gap: 4px; background: var(--acc); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 99px; }
.ah-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 12px; opacity: .85; margin: 0; }
.ah-meta span { display: inline-flex; align-items: center; gap: 4px; }
.ah-meta a { color: #fff; }
.ah-lead { opacity: .85; font-size: 14px; margin: 6px 0 0; }
.article-body { padding-top: 18px; padding-bottom: 8px; }
.points { border: 2px solid var(--acc); background: var(--acc-bg); padding: 14px 16px; margin-bottom: 16px; }
.points-title { display: flex; align-items: center; gap: 6px; font-weight: 800; color: var(--navy); margin: 0 0 6px; }
.points-title .ico { color: var(--acc); }
.points ul { margin: 0; padding-left: 20px; font-size: 14px; }
.points li { margin-bottom: 4px; }
.toc { border: 1px solid var(--line); background: var(--bg-2); padding: 12px 16px; margin-bottom: 20px; }
.toc-title { font-weight: 800; font-size: 13px; color: var(--navy); margin: 0 0 4px; }
.toc ol { margin: 0; padding-left: 20px; font-size: 14px; }
.toc li { margin: 3px 0; }
.toc a { color: var(--navy-2); text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.prose { font-size: 16px; line-height: 1.9; }
.prose p { margin: 0 0 16px; }
.prose h2 { font-size: 20px; color: var(--navy); margin: 36px 0 14px; padding: 8px 0 8px 12px; border-left: 5px solid var(--acc); background: linear-gradient(90deg, var(--acc-bg), transparent); scroll-margin-top: 70px; }
.prose h3 { font-size: 17px; color: var(--navy); margin: 24px 0 8px; padding-bottom: 4px; border-bottom: 1px dashed var(--navy-line); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { background: linear-gradient(transparent 65%, #fde68a 65%); }
.prose .note { font-size: 12px; }
.prose-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; margin: 0 0 8px; }
.prose-table th, .prose-table td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.prose-table thead th { background: var(--navy); color: #fff; }
.prose-table tbody th { background: var(--bg-2); color: var(--navy); white-space: nowrap; }
.prose-num td { text-align: right; font-family: var(--num); white-space: nowrap; }
.prose-table .row-total th, .prose-table .row-total td { background: var(--acc-bg); font-weight: 800; }
.prose .table-wrap { margin-bottom: 16px; }
.callout { border: 1px solid var(--navy-line); background: #f8fafd; padding: 12px 16px; margin: 0 0 16px; font-size: 15px; }
.callout-title { font-weight: 800; color: var(--navy); margin: 0 0 6px !important; }
.callout ul { margin: 0; }
.callout p:last-child { margin-bottom: 0; }
.callout-ok { border-color: #a7dcc4; background: var(--sell-bg); }
.callout-ok .callout-title { color: var(--sell-dark); }
.callout-warn { border-color: #f3d19c; background: var(--cost-bg); }
.callout-warn .callout-title { color: var(--cost-dark); }
.two-col { display: grid; gap: 12px; margin-bottom: 16px; }
.two-col .callout { margin: 0; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
.steps { list-style: none; counter-reset: step; padding: 0 !important; }
.steps li { counter-increment: step; position: relative; padding: 8px 0 8px 40px; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; font-family: var(--num); }
.disclaimer { font-size: 12px; color: var(--sub); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 20px; }

/* ツールへの誘導 */
.tool-cta { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; border: 2px solid var(--tc); background: var(--tc-bg); padding: 14px; margin: 24px 0; }
.tool-cta .btn { grid-column: 1 / -1; }
@media (min-width: 640px) { .tool-cta { grid-template-columns: auto 1fr auto; } .tool-cta .btn { grid-column: auto; } }
.tool-cta-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--tc); color: #fff; display: grid; place-items: center; }
.tool-cta-label { font-size: 11px; font-weight: 800; color: var(--tc); margin: 0; }
.tool-cta-title { font-size: 16px; font-weight: 800; color: var(--navy); margin: 0; line-height: 1.4; }
.tool-cta-text { font-size: 13px; color: var(--sub); margin: 2px 0 0; line-height: 1.5; }
.tc-sell { --tc: var(--sell); --tc-bg: var(--sell-bg); }
.tc-lease { --tc: var(--lease); --tc-bg: var(--lease-bg); }
.tc-cost { --tc: var(--cost); --tc-bg: var(--cost-bg); }

/* ガイド一覧 */
.guide-index { padding-top: 16px; }
.guide-cat { margin-bottom: 24px; }
.guide-cat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.guide-cat-head h2 { font-size: 18px; color: var(--navy); flex: 1; }
.guide-cat-head .text-link { margin: 0; }
.guide-cat-ico { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--gc-bg); color: var(--gc); }
.gc-sell { --gc: var(--sell); --gc-bg: var(--sell-bg); }
.gc-lease { --gc: var(--lease); --gc-bg: var(--lease-bg); }
.gc-cost { --gc: var(--cost); --gc-bg: var(--cost-bg); }

/* 404 */
.notfound { padding: 40px 16px; text-align: center; }
.nf-code { font-family: var(--num); font-size: 64px; font-weight: 800; color: var(--navy-line); margin: 0; line-height: 1; }
.notfound h1 { font-size: 22px; color: var(--navy); margin: 8px 0 10px; }
.nf-links { display: grid; gap: 8px; margin-top: 20px; text-align: left; }
@media (min-width: 640px) { .nf-links { grid-template-columns: 1fr 1fr; } }
.nf-link { display: flex; align-items: center; gap: 8px; padding: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--navy); }
.nl-sell .ico { color: var(--sell); }
.nl-lease .ico { color: var(--lease); }
.nl-cost .ico { color: var(--cost); }

/* ---------- スクロールで表示するアニメーション（JSがあるときだけ） ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .anim-bars .sbar i.on,
.js .anim-bars .rank-bar i,
.js .anim-bars .share i,
.js .stack.anim-bars span { transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.js .anim-bars.is-in .sbar i.on,
.js .anim-bars.is-in .rank-bar i,
.js .anim-bars.is-in .share i,
.js .stack.anim-bars.is-in span { transform: scaleX(1); }
.js .anim-bars.is-in .sbar i.on:nth-child(2) { transition-delay: .05s; }
.js .anim-bars.is-in .sbar i.on:nth-child(3) { transition-delay: .1s; }
.js .anim-bars.is-in .sbar i.on:nth-child(4) { transition-delay: .15s; }
.js .anim-bars.is-in .sbar i.on:nth-child(5) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .anim-bars .sbar i.on, .js .anim-bars .rank-bar i, .js .anim-bars .share i, .js .stack.anim-bars span { transform: none; }
}

/* 記事の表：スマホでは1列目も折り返して画面に収める */
@media (max-width: 640px) {
  .prose-table { font-size: 13px; }
  .prose-table th, .prose-table td { padding: 6px 7px; }
  .prose-table tbody th { white-space: normal; min-width: 6.5em; }
  .prose-num td { font-size: 12px; }
}
/* HTMLサイトマップ */
.sitemap { padding-top: 20px; padding-bottom: 8px; display: grid; gap: 24px; }
@media (min-width: 900px) { .sitemap { grid-template-columns: 1fr 1.4fr 1fr; align-items: start; } }
.sm-list { list-style: none; margin: 0 0 12px; padding: 0; }
.sm-list li { border-bottom: 1px solid var(--line); padding: 8px 0; font-size: 14px; }
.sm-list a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--navy); }
.sm-list a:hover { text-decoration: underline; }
.sm-list span { display: block; font-size: 12px; color: var(--sub); margin-top: 2px; }
.sm-sub { font-size: 13px; margin: 0 0 8px; }
.sm-cat { display: flex; align-items: center; gap: 6px; font-size: 14px; margin: 12px 0 4px; }
.sm-sell .ico, .sm-cat.sm-sell { color: var(--sell-dark); }
.sm-lease .ico, .sm-cat.sm-lease { color: var(--lease-dark); }
.sm-cost .ico, .sm-cat.sm-cost { color: var(--cost-dark); }
/* ---------- サービス個別ページ ---------- */
.service-layout { display: grid; gap: 16px; padding-top: 16px; padding-bottom: 8px; align-items: start; }
@media (min-width: 960px) { .service-layout { grid-template-columns: 1fr 300px; gap: 24px; } .service-side { position: sticky; top: 70px; } }
.service-main { min-width: 0; display: grid; gap: 20px; }
.service-main > .panel, .sv-section, .service-main .faq-block, .service-main .related { margin: 0; }
.point-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .point-grid { grid-template-columns: 1fr 1fr; } }
.point-item { border: 1px solid var(--line); border-top: 3px solid var(--pi); padding: 12px 14px; background: #fff; position: relative; }
.point-item strong { display: block; color: var(--navy); font-size: 15px; margin-bottom: 4px; padding-right: 28px; }
.point-item p { font-size: 14px; color: #364152; margin: 0; }
.point-item.plus { --pi: var(--acc); }
.point-item.minus { --pi: var(--cost); }
.point-no { position: absolute; right: 10px; top: 8px; font-family: var(--num); font-weight: 800; font-size: 20px; color: var(--acc); opacity: .35; }
.point-item.minus .ico { position: absolute; right: 10px; top: 10px; color: var(--cost); }
.sv-steps { margin: 0; }
.source-list { margin: 0; padding-left: 18px; font-size: 13px; }
.side-box { border: 2px solid var(--acc); background: #fff; padding: 14px; }
.side-name { font-size: 17px; font-weight: 800; color: var(--navy); margin: 0 0 4px; }
.side-text { font-size: 13px; color: var(--sub); }
.side-pr { font-size: 11px; color: var(--sub); text-align: center; margin: 6px 0 0; }
.side-tool { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 12px; background: var(--acc-bg); color: var(--navy); text-decoration: none; font-weight: 800; font-size: 14px; }
.side-tool .ico { color: var(--acc); width: 28px; height: 28px; }
.side-tool small { display: block; font-size: 11px; color: var(--sub); font-weight: 600; }
.detail-link { display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--navy-2); }
.empty-note { background: var(--bg-2); padding: 14px; font-size: 14px; }

/* 掲載サービスカード */
.service-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .service-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .service-cards { grid-template-columns: repeat(3, 1fr); } }
.service-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; border: 1px solid var(--line); border-top: 4px solid var(--sv); background: #fff; color: var(--text); text-decoration: none; transition: transform .18s, box-shadow .18s; }
.service-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(15, 39, 71, .08); }
.service-card strong { font-size: 17px; color: var(--navy); }
.sv-cat { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 800; color: var(--sv); }
.sv-summary { font-size: 13px; color: var(--sub); line-height: 1.5; }
.sv-more { margin-top: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--sv); }
.sv-sell { --sv: var(--sell); }
.sv-lease { --sv: var(--lease); }
.sv-cost { --sv: var(--cost); }
.btn-official { background: #fff; color: var(--navy); border-color: var(--navy-line); }
.btn-official:hover { border-color: var(--navy); background: var(--navy-soft); }

/* サービス名のリンク（個別ページへ） */
.svc-link { color: inherit; text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.svc-link:hover { color: var(--acc); }
.svc-link::after { content: "›"; margin-left: 3px; font-weight: 800; color: var(--acc); text-decoration: none; display: inline-block; }
.svc-link-inv { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }
.svc-link-inv:hover { color: #fff; text-decoration-color: #fff; }
.svc-link-inv::after { color: #fff; }
.rank-name strong .svc-link { position: relative; z-index: 1; }

/* リース以外の選択肢の案内 */
.alt-route { margin-top: 8px; border-left: 4px solid var(--lease); }

/* =========================================================
   テーマ v3：一般の人向けのやさしいSaaS風デザイン
   （これより上の定義を、ここで上書きしています）
   ========================================================= */
:root {
  --brand: #4f46e5;
  --brand-2: #6366f1;
  --brand-dark: #3730a3;
  --brand-soft: #eef2ff;
  --brand-line: #c7d2fe;
  --navy: #1e1b4b;
  --navy-2: #4f46e5;
  --navy-soft: #eef2ff;
  --navy-line: #c7d2fe;
  --text: #0f172a;
  --sub: #64748b;
  --line: #e2e8f0;
  --bg-2: #f8fafc;
  --cta: #f97316;
  --cta-dark: #ea580c;
  --radius: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .05), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 12px 32px -14px rgba(30, 27, 75, .25), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 24px 48px -20px rgba(79, 70, 229, .35);
  --sell: #10b981; --sell-bg: #ecfdf5; --sell-dark: #047857;
  --lease: #6366f1; --lease-bg: #eef2ff; --lease-dark: #4338ca;
  --cost: #f59e0b; --cost-bg: #fffbeb; --cost-dark: #b45309;
}
body { font-size: 16px; line-height: 1.75; background: #fff; letter-spacing: .01em; }
h1, h2, h3 { letter-spacing: .01em; }
a { color: var(--brand); }

/* ---------- ヘッダー ---------- */
.pr-bar { background: #fff; border-bottom: 1px solid var(--line); font-size: 11px; }
.site-header { background: rgba(255, 255, 255, .88); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { height: 64px; }
.logo { color: var(--text); font-size: 19px; }
.logo-mark { width: 18px; height: 18px; border-radius: 6px; background: linear-gradient(135deg, var(--brand), #8b5cf6); box-shadow: none; }
.logo-sub { border: 0; background: var(--brand-soft); color: var(--brand); border-radius: 99px; padding: 2px 10px; }
.gnav { gap: 4px; }
.gnav a { line-height: 1.2; padding: 9px 14px; border-radius: 99px; border: 0; color: var(--sub); font-weight: 700; }
.gnav a:hover { background: var(--bg-2); color: var(--text); }
.gnav a.is-current, .gnav-sell.is-current, .gnav-lease.is-current, .gnav-insurance.is-current { background: var(--brand-soft); color: var(--brand); border: 0; }
@media (max-width: 640px) {
  .header-inner { height: 60px; }
  .gnav { gap: 0; }
  .gnav a { padding: 6px 8px; border-radius: 12px; }
}

/* ---------- ボタン ---------- */
.btn { border-radius: 99px; padding: 13px 24px; font-size: 15px; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .6); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-dark), #6d28d9); }
.btn-cta { background: linear-gradient(135deg, #fb923c, var(--cta-dark)); box-shadow: 0 8px 20px -8px rgba(234, 88, 12, .6); max-width: none; }
.btn-cta:hover { background: linear-gradient(135deg, var(--cta), #c2410c); }
.btn-official { border-radius: 99px; border: 1.5px solid var(--line); color: var(--text); background: #fff; }
.btn-official:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-disabled { border-radius: 99px; max-width: none; }
.btn-ghost { background: #fff; color: var(--sub); border: 1.5px solid var(--line); }
.btn-ghost:hover { color: var(--text); border-color: #cbd5e1; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn .ico { width: 18px; height: 18px; }

/* ---------- トップ ---------- */
.home-head {
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(139, 92, 246, .16), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(16, 185, 129, .12), transparent 60%),
    linear-gradient(180deg, #f5f7ff, #fff);
  padding: 40px 0 36px;
}
.home-eyebrow { border: 0; background: #fff; box-shadow: var(--shadow-sm); color: var(--brand); padding: 6px 14px; }
.home-title { font-size: clamp(30px, 6.4vw, 52px); color: var(--text); line-height: 1.2; font-weight: 900; }
.home-lead { font-size: 16px; color: #475569; margin: 14px 0 16px; }
.home-lead strong { color: var(--brand); background: none; }
.home-badges { gap: 8px; }
.home-badges li { background: #fff; border-radius: 99px; padding: 5px 12px; box-shadow: var(--shadow-sm); color: var(--text); }
.purpose { gap: 14px; margin-top: 22px; }
.purpose-item { border: 1px solid var(--line); border-top: 0; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-md); background: #fff; }
.purpose-item::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--pc); }
.purpose-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.purpose-ico { width: 56px; height: 56px; border-radius: 18px; }
.purpose-item strong { font-size: 18px; color: var(--text); }
.purpose-item::after { top: 20px; right: 18px; width: 30px; height: 30px; border-radius: 50%; background: var(--pc-bg); display: grid; place-items: center; line-height: 30px; text-align: center; }
.home-section { padding-top: 48px; }
.section-head { border: 0; text-align: center; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(21px, 4vw, 28px); color: var(--text); font-weight: 900; }
.section-head p { font-size: 14px; max-width: 640px; margin: 6px auto 0; }
.situations { gap: 12px; }
.sit { border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-sm); border-color: var(--line); }
.sit:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sample { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-md); padding: 20px; background: #fff; }
.sample-cond { border-radius: 16px; background: var(--bg-2); }
.weight-chips li { border-radius: 99px; border-color: var(--line); }
.sample-why { border-radius: 14px; border-left: 0; }
.sample-visual { display: grid; gap: 16px; align-items: center; }
@media (min-width: 900px) { .sample-visual { grid-template-columns: 1fr 1fr; } }
.flow { border: 0; gap: 14px; }
.flow li { border: 1px solid var(--line) !important; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px; background: #fff; }
.policy { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px; }
.policy .ico { color: var(--brand); background: var(--brand-soft); border-radius: 12px; padding: 6px; width: 38px; height: 38px; }

/* ---------- ツールページ：見出し ---------- */
.tool-hero {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(139, 92, 246, .14), transparent 60%),
    linear-gradient(180deg, #f5f7ff, #fff);
  padding: 28px 0 10px;
}
.tool-hero-inner { display: grid; gap: 8px; align-items: center; }
@media (min-width: 820px) { .tool-hero-inner { grid-template-columns: 1.2fr .8fr; gap: 24px; } }
.tool-hero .crumb { color: var(--sub); opacity: 1; font-size: 12px; }
.tool-hero .crumb a { color: var(--sub); }
.tool-hero h1 { font-size: clamp(26px, 5.4vw, 40px); font-weight: 900; color: var(--text); line-height: 1.25; margin: 4px 0 10px; }
.tool-hero .tool-lead { color: #475569; opacity: 1; font-size: 15px; margin: 0 0 14px; }
.hero-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-chips li { display: inline-flex; align-items: center; gap: 5px; background: #fff; border-radius: 99px; padding: 5px 12px; font-size: 12px; font-weight: 700; box-shadow: var(--shadow-sm); }
.hero-chips .ico { color: var(--sell); }
.tool-hero-visual { max-width: 340px; width: 100%; justify-self: center; }
@media (max-width: 819px) { .tool-hero-visual { max-width: 220px; margin-top: -4px; } }
.scene { width: 100%; height: auto; display: block; }
.scene-car { animation: carIn 1s cubic-bezier(.2, .8, .2, 1) both; }
.scene-float { animation: floatY 3.2s ease-in-out infinite; }
.scene-pop { transform-box: fill-box; transform-origin: center; animation: popIn .6s cubic-bezier(.2, 1.4, .4, 1) .5s both; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.tool-main { max-width: 880px; display: grid; gap: 20px; padding-top: 12px; padding-bottom: 24px; scroll-margin-top: 70px; }

/* ---------- カード ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 22px; }
.card-title { display: flex; align-items: center; gap: 8px; font-size: 19px; font-weight: 900; color: var(--text); margin: 0 0 6px; }
.card-title .ico { color: var(--brand); }
.card-lead { font-size: 14px; color: #475569; margin: 0 0 14px; }
.card-soft { background: linear-gradient(180deg, var(--brand-soft), #fff); border-color: var(--brand-line); }
.card-accent { background: linear-gradient(180deg, var(--cost-bg), #fff); border-color: #fde68a; }
.panel { border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 20px; }
.panel-title { border: 0; padding: 0; font-size: 18px; color: var(--text); }

/* ---------- ステップ形式のフォーム ---------- */
.wizard-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-md); padding: 26px; }
@media (max-width: 640px) { .wizard-card { padding: 20px 16px; border-radius: 20px; } }
.wizard-head { margin-bottom: 18px; }
.wizard-count { font-size: 12px; font-weight: 800; color: var(--brand); letter-spacing: .08em; margin: 0; }
.wizard-title { font-size: 22px; font-weight: 900; margin: 2px 0 12px; }
.wizard-progress { height: 8px; background: var(--brand-soft); border-radius: 99px; overflow: hidden; }
.wizard-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), #8b5cf6); border-radius: 99px; transition: width .4s cubic-bezier(.2, .8, .2, 1); }
.wizard-dots { list-style: none; margin: 10px 0 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; font-size: 12px; color: var(--sub); }
.wizard-dots li { display: flex; align-items: center; gap: 4px; }
.wizard-dots li + li::before { content: ""; width: 14px; height: 1px; background: var(--line); margin-right: 2px; }
.wizard-dots span { width: 20px; height: 20px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.wizard-dots .is-current { color: var(--brand); font-weight: 800; }
.wizard-dots .is-current span { background: var(--brand); border-color: var(--brand); color: #fff; }
.wizard-dots .is-done span { background: var(--sell); border-color: var(--sell); color: #fff; }
.is-wizard .step { display: none; }
.is-wizard .step.is-active { display: block; animation: stepIn .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.wizard-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.wizard-nav .btn { min-width: 120px; }
.wizard-nav [hidden] { display: none !important; }
html:not(.js) .wizard-nav [data-prev], html:not(.js) .wizard-nav [data-next] { display: none; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 14px; }
.form-note .ico { color: var(--sell); }

/* 入力欄 */
.field { margin-bottom: 18px; }
.field > label, .field > legend { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.step .field:last-child { margin-bottom: 0; }
input[type="text"], input[type="number"], select { height: 52px; border-radius: 14px; border: 1.5px solid var(--line); padding: 10px 14px; background-color: #fff; transition: border-color .15s, box-shadow .15s; }
input[type="text"]:focus, input[type="number"]:focus, select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(99, 102, 241, .18); }
.field-row { gap: 0 14px; }
.hint { font-size: 12px; margin-top: 5px; }

/* 選択肢（チップ型） */
.seg { border: 0; border-radius: 0; overflow: visible; gap: 10px; }
.seg span { min-height: 54px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 15px; font-weight: 700; padding: 8px 10px; background: #fff; transition: border-color .15s, background .15s, transform .1s, box-shadow .15s; }
.seg label:hover span { background: #fff; border-color: var(--brand-line); }
.seg input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); box-shadow: 0 0 0 3px rgba(99, 102, 241, .14); }
.seg label:active span { transform: scale(.98); }
@media (min-width: 640px) { .seg-2 { grid-template-columns: repeat(2, 1fr); } }
.choice-cards { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choice-cards { grid-template-columns: repeat(3, 1fr); } }
.choice-cards label { position: relative; cursor: pointer; }
.choice-cards input { position: absolute; opacity: 0; pointer-events: none; }
.choice-cards span { display: flex; align-items: center; gap: 10px; padding: 16px; border: 1.5px solid var(--line); border-radius: 16px; font-weight: 800; background: #fff; transition: all .15s; }
@media (min-width: 560px) { .choice-cards span { flex-direction: column; justify-content: center; text-align: center; min-height: 120px; } }
.choice-cards .ico { width: 30px; height: 30px; padding: 6px; box-sizing: content-box; border-radius: 12px; background: var(--brand-soft); color: var(--brand); }
.choice-cards input:checked + span { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-dark); box-shadow: 0 0 0 3px rgba(99, 102, 241, .14); }
.choice-cards input:checked + span .ico { background: var(--brand); color: #fff; }
.choice-cards input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--brand-line); outline-offset: 2px; }
.field-inline { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.field-inline > legend { font-size: 15px; }
.field-inline .seg { width: 150px; gap: 6px; }
.field-inline .seg span { min-height: 40px; font-size: 14px; border-radius: 12px; }

/* 条件を変える */
.edit-cond { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); }
.edit-cond summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
.edit-cond summary::-webkit-details-marker { display: none; }
.edit-cond-label { font-size: 11px; font-weight: 800; color: var(--brand); background: var(--brand-soft); padding: 2px 10px; border-radius: 99px; }
.edit-cond-text { flex: 1; font-size: 14px; font-weight: 700; min-width: 180px; }
.edit-cond-btn { font-size: 13px; font-weight: 800; color: var(--brand); }
.edit-cond[open] .edit-cond-btn { color: var(--sub); }
.edit-form { padding: 6px 16px 18px; border-top: 1px solid var(--line); }
.edit-form .step { margin-top: 14px; }

/* ---------- 結果：おすすめ1位 ---------- */
.top-pick { position: relative; border-radius: 26px; padding: 3px; background: linear-gradient(135deg, var(--brand), #8b5cf6 50%, #ec4899); box-shadow: var(--shadow-lg); }
.top-pick-badge { position: absolute; top: -13px; left: 22px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; font-size: 13px; font-weight: 900; padding: 5px 14px; border-radius: 99px; box-shadow: 0 6px 14px -6px rgba(249, 115, 22, .7); }
.top-pick-body { background: #fff; border-radius: 23px; padding: 26px 22px 22px; display: grid; gap: 16px; align-items: center; grid-template-columns: auto 1fr; }
.top-pick-cta { grid-column: 1 / -1; display: grid; gap: 8px; justify-items: center; }
@media (min-width: 760px) { .top-pick-body { grid-template-columns: auto 1fr 240px; } .top-pick-cta { grid-column: auto; } }
.top-pick-ring .ring { width: 110px; height: 110px; }
.top-pick-type { font-size: 12px; color: var(--sub); margin: 0; }
.top-pick-name { font-size: clamp(22px, 4.6vw, 30px); font-weight: 900; margin: 2px 0 8px; }
.top-pick-name .svc-link { text-decoration: none; }
.top-pick-reasons { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; }
.top-pick-reasons li { display: flex; gap: 6px; align-items: flex-start; }
.top-pick-reasons .ico { color: var(--sell); margin-top: 3px; flex-shrink: 0; }
@media (max-width: 520px) { .top-pick-ring .ring { width: 86px; height: 86px; } .top-pick-main { grid-column: 2; } }

/* リング */
.ring { display: block; }
.ring-bg { fill: none; stroke: #eef2ff; stroke-width: 11; }
.ring-fg { fill: none; stroke: var(--c); stroke-width: 11; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--off); }
.js .ring .ring-fg { stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1) .1s; }
.js .ring.is-in .ring-fg { stroke-dashoffset: var(--off); }
.ring-num { font-size: 30px; font-weight: 900; fill: var(--text); font-family: var(--font); }
.ring-unit { font-size: 13px; font-weight: 700; fill: var(--sub); }

/* レーダーチャート */
.radar-wrap { display: grid; gap: 10px; justify-items: center; }
.radar { width: 100%; max-width: 340px; height: auto; overflow: visible; }
.radar-grid { fill: none; stroke: #e2e8f0; stroke-width: 1; }
.radar-grid:last-of-type { fill: #f8fafc; }
.radar-axis { stroke: #e2e8f0; stroke-width: 1; }
.radar-label { font-size: 11px; font-weight: 700; fill: #475569; }
.radar-area { fill: var(--c); fill-opacity: .14; stroke: var(--c); stroke-width: 2.4; stroke-linejoin: round; transform-box: view-box; transform-origin: 160px 160px; }
.js .radar .radar-area { transform: scale(0); opacity: 0; transition: transform .9s cubic-bezier(.2, .8, .2, 1) var(--d), opacity .5s var(--d); }
.js .radar.is-in .radar-area { transform: scale(1); opacity: 1; }
.chart-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 13px; font-weight: 700; }
.chart-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -1px; }

.result-grid { display: grid; gap: 20px; }
@media (min-width: 820px) { .result-grid { grid-template-columns: 1fr 1fr; } }

/* 重視したこと */
.weight-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.weight-bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.wb-label { font-size: 14px; font-weight: 800; }
.wb-bar { grid-column: 1 / -1; grid-row: 2; height: 8px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.wb-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #8b5cf6); }
.wb-tag { grid-row: 1; grid-column: 2; }
.wb-reason { grid-column: 1 / -1; font-size: 12px; color: var(--sub); line-height: 1.5; }
.weight-bars li.is-off { opacity: .55; }
.wt { border-radius: 99px; padding: 2px 9px; font-size: 11px; }
.wt-3 { background: var(--brand); border-color: var(--brand); }
.wt-2 { background: var(--brand-soft); color: var(--brand); border-color: var(--brand-line); }

/* おすすめ順 */
.rank-list { border: 0; display: grid; gap: 10px; }
.rank-row { border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 16px; background: #fff; transition: box-shadow .15s, transform .15s; }
.rank-row:last-child { border-bottom: 1.5px solid var(--line); }
.rank-row:hover { box-shadow: var(--shadow-md); }
.rank-row.is-top { background: linear-gradient(90deg, var(--brand-soft), #fff); border-color: var(--brand-line); box-shadow: none; }
.rank-no { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 15px; color: var(--sub); }
.rank-row.is-top .rank-no { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; }
.rank-row:nth-child(2) .rank-no { background: #e2e8f0; color: #334155; }
.rank-row:nth-child(3) .rank-no { background: #fde8d7; color: #9a3412; }
.rank-name strong { font-size: 16px; }
.rank-bar { height: 7px; border-radius: 99px; background: var(--bg-2); max-width: 260px; margin-top: 7px; }
.rank-bar i { border-radius: 99px; background: linear-gradient(90deg, var(--brand), #8b5cf6) !important; }
.rank-row:not(.is-top) .rank-bar i { opacity: .45; }
.rank-score { color: var(--text); }
.rank-score b { font-family: var(--font); font-weight: 900; font-size: 24px; }

/* なぜこの順番 */
.why-list { gap: 12px; }
.why { border-radius: 18px; border: 1.5px solid var(--line); padding: 16px; gap: 10px; }
.why-head { font-size: 16px; color: var(--text); }
.why-head .m-rank { border-radius: 99px; background: var(--brand); padding: 1px 8px; }
.why-points { font-size: 13px; }
.why-points .plus::before { content: "✓"; }

/* 詳しい表 */
.more-detail { padding: 0; }
.more-detail summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; padding: 18px 22px; font-weight: 800; color: var(--brand); }
.more-detail summary::-webkit-details-marker { display: none; }
.more-detail summary::after { content: "+"; margin-left: auto; font-size: 20px; transition: transform .2s; }
.more-detail[open] summary::after { transform: rotate(45deg); }
.more-detail > *:not(summary) { margin-left: 22px; margin-right: 22px; }
.more-detail > *:last-child { margin-bottom: 22px; }
.matrix { font-size: 13px; border-radius: 14px; overflow: hidden; }
.matrix th, .matrix td { border-color: var(--line); }
.matrix thead th { background: var(--brand-soft); color: var(--text); border-color: var(--line); }
.matrix thead .col-crit { background: var(--brand-soft); }
.matrix .m-rank { color: var(--brand); opacity: 1; }
.matrix tfoot th, .matrix tfoot td { background: #f8fafc; color: var(--text); }
.svc-link-inv { color: var(--text); text-decoration-color: var(--brand-line); }
.svc-link-inv:hover { color: var(--brand); }
.svc-link-inv::after { color: var(--brand); }
.sbar i { width: 10px; height: 10px; border-radius: 3px; }
.kv-table th { color: var(--text); }

.next-link { border-radius: var(--r-lg); background: linear-gradient(120deg, var(--brand), #8b5cf6); padding: 18px 22px; box-shadow: var(--shadow-lg); }
.next-link:hover { transform: translateY(-2px); }
.text-link { color: var(--brand); }

/* ---------- 次の車：相性カード ---------- */
.fit-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .fit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .fit-grid { grid-template-columns: repeat(3, 1fr); } }
.fit-card { border: 1.5px solid var(--line); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; transition: box-shadow .15s, transform .15s; }
.fit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.fit-card.is-top { border-color: var(--brand); background: linear-gradient(180deg, var(--brand-soft), #fff); }
.fit-name { font-weight: 900; font-size: 16px; margin: 4px 0 0; display: flex; align-items: center; gap: 6px; }
.fit-name .m-rank { font-size: 11px; background: var(--brand); color: #fff; border-radius: 99px; padding: 1px 8px; }
.fit-catch { font-size: 12px; color: var(--sub); margin: 0; }
.fit-issues { list-style: none; margin: 4px 0; padding: 0; font-size: 12px; text-align: left; width: 100%; }
.fit-issues li { position: relative; padding-left: 16px; margin-bottom: 3px; color: #475569; }
.fit-issues li::before { content: "!"; position: absolute; left: 4px; color: var(--cost-dark); font-weight: 900; }
.fit-ok { display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--sell-dark); margin: 4px 0; }
.fit-card .btn { margin-top: auto; }
.check-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.check-chips li { font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 99px; }
.check-chips li::before { margin-right: 4px; }
.cc-ok { background: var(--sell-bg); color: var(--sell-dark); }
.cc-ok::before { content: "✓"; }
.cc-partial { background: var(--cost-bg); color: var(--cost-dark); }
.cc-partial::before { content: "△"; }
.cc-ng { background: #fef2f2; color: #b91c1c; }
.cc-ng::before { content: "×"; }
.svc-mini-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .svc-mini-grid { grid-template-columns: repeat(2, 1fr); } }
.svc-mini { border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; }
.svc-mini strong { display: block; font-size: 16px; }
.svc-mini > span { display: block; font-size: 12px; color: var(--sub); margin-bottom: 8px; }
.svc-mini ul { list-style: none; margin: 0; padding: 0; font-size: 13px; display: grid; gap: 4px; }
.svc-mini li b { display: inline-block; min-width: 6.5em; color: var(--sub); font-weight: 700; }
.ins-row { display: grid; gap: 10px; margin-bottom: 10px; }
@media (min-width: 560px) { .ins-row { grid-template-columns: 1fr 1fr; } }
.ins-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 6px; }
.ins-item span { font-size: 13px; color: var(--sub); }
.alt-route { border-left: 0; border-radius: var(--r-lg); }

/* ---------- 維持費：円グラフ ---------- */
.cost-hero { display: grid; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-md); padding: 24px; }
@media (min-width: 760px) { .cost-hero { grid-template-columns: 280px 1fr; } }
.cost-donut { max-width: 280px; width: 100%; justify-self: center; }
.donut { width: 100%; height: auto; display: block; }
.donut-bg { fill: none; stroke: #f1f5f9; stroke-width: 22; }
.donut-seg { fill: none; stroke: var(--c); stroke-width: 22; }
.js .donut .donut-seg { opacity: 0; transition: opacity .6s var(--d); }
.js .donut.is-in .donut-seg { opacity: 1; }
.donut-label { font-size: 10px; fill: var(--sub); font-weight: 700; }
.donut-value { font-size: 15px; fill: var(--text); font-weight: 900; }
.kpi-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi-card { background: var(--bg-2); border-radius: 16px; padding: 12px; }
.kpi-card span { display: block; font-size: 12px; color: var(--sub); font-weight: 700; }
.kpi-card b { font-size: clamp(18px, 4.4vw, 26px); font-weight: 900; }
.kpi-card small { font-size: 12px; margin-left: 2px; color: var(--sub); }
.kpi-main { background: linear-gradient(135deg, var(--brand), #8b5cf6); color: #fff; }
.kpi-main span, .kpi-main small { color: rgba(255, 255, 255, .85); }
.legend-cost { justify-content: flex-start; }
.legend-cost b { margin-left: 4px; color: var(--sub); }
.save-tip { display: flex; gap: 14px; align-items: flex-start; }
.save-tip-ico { width: 48px; height: 48px; border-radius: 16px; flex-shrink: 0; background: #fff; color: var(--cost); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.save-tip-ico .ico { width: 26px; height: 26px; }
.hbar-chart { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hbar-chart li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; }
.hb-label { font-size: 13px; font-weight: 700; }
.hb-value { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.hb-bar { grid-column: 1 / -1; height: 12px; background: var(--bg-2); border-radius: 99px; overflow: hidden; }
.hb-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #8b5cf6); }
.hbar-chart li.is-focus .hb-label { color: var(--cost-dark); }
.hbar-chart li.is-focus .hb-label::after { content: "見直しやすい"; margin-left: 6px; font-size: 10px; background: var(--cost-bg); color: var(--cost-dark); padding: 1px 8px; border-radius: 99px; }
.js .anim-bars .hb-bar i, .js .anim-bars .wb-bar i { transform: scaleX(0); transform-origin: left; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .anim-bars.is-in .hb-bar i { transform: scaleX(1); }
.js .weight-bars .wb-bar i { transform: none; }

/* ---------- 共通：比較のしくみ・FAQ・記事 ---------- */
.method { background: var(--bg-2); border-radius: var(--r-lg); padding: 24px !important; margin-top: 8px; max-width: 880px; }
.method-title { border: 0; font-size: 18px; color: var(--text); }
.faq-block { max-width: 880px; margin-left: auto; margin-right: auto; }
.block-title { border: 0; font-size: 20px; color: var(--text); font-weight: 900; }
.faq { border: 1px solid var(--line); border-radius: 16px; padding: 0 16px; margin-bottom: 10px; background: #fff; }
.faq-q { border-radius: 8px; background: var(--brand); }
.faq-a { border-radius: 8px; }
.related { max-width: 1120px; }
.article-cards { gap: 14px; }
.article-card { border: 1px solid var(--line); border-top: 4px solid var(--ac); border-left-width: 1px; border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.article-card strong { color: var(--text); }
.service-card { border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.service-card strong { color: var(--text); }

.article-head, .page-head {
  background:
    radial-gradient(600px 300px at 100% 0%, rgba(139, 92, 246, .12), transparent 60%),
    linear-gradient(180deg, #f5f7ff, #fff);
  color: var(--text); border-bottom: 0; padding: 28px 0 20px;
}
.article-head .crumb, .article-head .crumb a, .page-head .crumb a { color: var(--sub); opacity: 1; }
.article-head h1, .page-head h1 { color: var(--text); font-weight: 900; }
.ah-meta { color: var(--sub); opacity: 1; }
.ah-meta a { color: var(--brand); }
.ah-lead, .page-head p { color: #475569; opacity: 1; }
.points { border-radius: var(--r-lg); border-width: 1.5px; }
.toc { border-radius: 18px; }
.prose h2 { border-left: 0; background: none; padding: 0 0 0 14px; position: relative; }
.prose h2::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 99px; background: var(--acc); }
.prose-table { border-radius: 14px; overflow: hidden; }
.prose-table thead th { background: var(--brand-soft); color: var(--text); }
.callout { border-radius: 16px; }
.tool-cta { border-radius: var(--r-lg); border-width: 1.5px; box-shadow: var(--shadow-sm); }
.tool-cta-ico { border-radius: 16px; }
.side-box { border-radius: var(--r-lg); border-width: 1.5px; box-shadow: var(--shadow-md); }
.side-tool { border-radius: 16px; }
.point-item { border-radius: 16px; border-top-width: 1px; box-shadow: var(--shadow-sm); }
.point-item::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--pi); }
.info-table { border-radius: 14px; overflow: hidden; }
.sitemap .sm-list li { border-color: var(--line); }

/* フッター */
.site-footer { background: #0f172a; margin-top: 40px; }
.fnav-title { color: #94a3b8; }

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .js .ring .ring-fg { stroke-dashoffset: var(--off); }
  .js .radar .radar-area { transform: none; opacity: 1; }
  .js .donut .donut-seg { opacity: 1; }
  .js .anim-bars .hb-bar i { transform: none; }
}

/* 1列レイアウトでは入力フォームを固定しない（旧2列用の sticky を解除） */
.tool-main .tool-form { position: static; }

/* スマホでは「月あたり」を大きく1段目に、残りを2列に */
@media (max-width: 560px) { .kpi-cards { grid-template-columns: 1fr 1fr; } .kpi-main { grid-column: 1 / -1; } .kpi-card b { font-size: 22px; } .kpi-main b { font-size: 30px; } }
.kpi-card { white-space: nowrap; }


/* =========================================================
   写真まわり（v4）
   ========================================================= */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- トップ：写真ヒーロー ---------- */
.home-head { padding: 32px 0 28px; }
@media (min-width: 860px) { .home-head-inner { grid-template-columns: 1fr 1fr; gap: 40px; } }
.home-visual { max-width: none; margin: 0; }
.hero-photo { position: relative; aspect-ratio: 5 / 4; border-radius: 28px; overflow: visible; }
.hero-photo .photo { border-radius: 28px; box-shadow: var(--shadow-lg); animation: heroZoom 1.2s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes heroZoom { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@media (max-width: 859px) { .hero-photo { aspect-ratio: 16 / 10; margin-top: 18px; } }
.float-card { position: absolute; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 16px; box-shadow: var(--shadow-md); padding: 10px 14px; font-size: 13px; font-weight: 800; display: flex; align-items: center; gap: 6px; animation: floatIn .7s cubic-bezier(.2, 1.2, .4, 1) both, floatY 4s ease-in-out 1s infinite; }
.float-card .ico { color: var(--sell); }
.fc-1 { left: -14px; bottom: 18%; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: .4s, 1.2s; }
.fc-1 .fc-label { font-size: 11px; color: var(--sub); font-weight: 700; }
.fc-1 b { font-size: 26px; line-height: 1; color: var(--brand); }
.fc-1 small { font-size: 13px; }
.fc-bar { width: 110px; height: 6px; background: var(--brand-soft); border-radius: 99px; overflow: hidden; }
.fc-bar i { display: block; height: 100%; width: 94%; background: linear-gradient(90deg, var(--sell), #34d399); border-radius: 99px; animation: barGrow 1.2s cubic-bezier(.2, .8, .2, 1) .8s both; }
@keyframes barGrow { from { width: 0; } }
.fc-2 { right: -10px; top: 12%; animation-delay: .6s, 1.6s; }
.fc-3 { right: 8%; bottom: -14px; animation-delay: .8s, 2s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 859px) { .fc-1 { left: 10px; } .fc-2 { right: 10px; } .fc-3 { display: none; } }

/* 何をしたいですか？ */
.quick-label { font-size: 14px; font-weight: 800; color: var(--text); margin: 0 0 8px; }
.quick-start { display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 16px; }
@media (min-width: 520px) { .quick-start { grid-template-columns: repeat(3, 1fr); } }
.qs-btn { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 18px; background: #fff; color: var(--text); text-decoration: none; font-weight: 900; font-size: 15px; box-shadow: var(--shadow-md); border: 2px solid transparent; transition: transform .15s, border-color .15s, box-shadow .15s; }
.qs-btn .ico { width: 38px; height: 38px; padding: 8px; box-sizing: border-box; border-radius: 12px; background: var(--qc-bg); color: var(--qc); flex-shrink: 0; }
.qs-btn:hover { transform: translateY(-3px); border-color: var(--qc); box-shadow: var(--shadow-lg); }
@media (min-width: 520px) { .qs-btn { flex-direction: column; text-align: center; padding: 16px 10px; font-size: 14px; } }
.qs-sell { --qc: var(--sell); --qc-bg: var(--sell-bg); }
.qs-lease { --qc: var(--lease); --qc-bg: var(--lease-bg); }
.qs-cost { --qc: var(--cost); --qc-bg: var(--cost-bg); }

/* 目的カード（写真つき） */
.home-purpose { padding-top: 36px; }
.purpose-cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .purpose-cards { grid-template-columns: repeat(3, 1fr); } }
.p-card { display: flex; flex-direction: column; background: #fff; border-radius: 24px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow-md); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.p-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.p-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.p-photo .photo { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.p-card:hover .p-photo .photo { transform: scale(1.06); }
.p-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(15, 23, 42, .35)); }
.p-tag { position: absolute; left: 14px; top: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; background: #fff; color: var(--pcc); font-size: 13px; font-weight: 900; padding: 5px 12px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.p-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-body strong { font-size: 18px; line-height: 1.45; }
.p-body p { font-size: 14px; color: #475569; margin: 0 0 6px; }
.p-go { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-radius: 99px; background: var(--pcc-bg); color: var(--pcc); font-weight: 900; font-size: 14px; transition: background .15s, color .15s; }
.p-card:hover .p-go { background: var(--pcc); color: #fff; }
.pc-sell { --pcc: var(--sell-dark); --pcc-bg: var(--sell-bg); }
.pc-lease { --pcc: var(--lease-dark); --pcc-bg: var(--lease-bg); }
.pc-cost { --pcc: var(--cost-dark); --pcc-bg: var(--cost-bg); }

/* ---------- ツールページの写真 ---------- */
.tool-photo { position: relative; aspect-ratio: 4 / 3; }
.tool-photo .photo { border-radius: 24px; box-shadow: var(--shadow-lg); animation: heroZoom 1s cubic-bezier(.2, .8, .2, 1) both; }
.tool-photo-chip { position: absolute; left: -10px; bottom: 16px; display: inline-flex; align-items: center; gap: 5px; background: #fff; border-radius: 99px; padding: 8px 14px; font-size: 13px; font-weight: 900; box-shadow: var(--shadow-md); animation: floatIn .7s cubic-bezier(.2, 1.2, .4, 1) .4s both; }
.tool-photo-chip .ico { color: var(--brand); }
@media (min-width: 820px) { .tool-hero-visual { max-width: 420px; } }
@media (max-width: 819px) {
  .tool-hero-visual { max-width: none; margin-top: 4px; }
  .tool-photo { aspect-ratio: 16 / 7; }
  .tool-photo .photo { border-radius: 18px; }
  .tool-photo-chip { left: 10px; bottom: 10px; }
}

/* ---------- 記事 ---------- */
.article-card.has-photo { padding: 0; overflow: hidden; border-top-width: 1px; }
.ac-photo { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 4px solid var(--ac); }
.ac-photo .photo { transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.article-card:hover .ac-photo .photo { transform: scale(1.05); }
.ac-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.article-photo { margin-top: -6px; }
.article-photo .photo { aspect-ratio: 16 / 8; border-radius: 22px; box-shadow: var(--shadow-md); }

/* ---------- 掲載サービス ---------- */
.cat-banner { position: relative; aspect-ratio: 16 / 4; border-radius: 22px; overflow: hidden; margin-bottom: 14px; }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 23, 42, .65), rgba(15, 23, 42, .05) 70%); }
.cat-banner span { position: absolute; left: 22px; bottom: 16px; z-index: 1; color: #fff; font-size: clamp(18px, 3.4vw, 26px); font-weight: 900; }
@media (max-width: 640px) { .cat-banner { aspect-ratio: 16 / 6; } }
.side-photo { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin: -4px -4px 12px; }

@media (prefers-reduced-motion: reduce) {
  .hero-photo .photo, .tool-photo .photo, .float-card, .tool-photo-chip, .fc-bar i { animation: none !important; }
}

/* 2列のヒーローではタイトルを少し小さくして、変な位置で折り返さない */
.home-title { word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 860px) { .home-head .home-title { font-size: clamp(32px, 3.8vw, 46px); } }

.tool-hero h1, .article-head h1 { word-break: keep-all; overflow-wrap: anywhere; }
@media (min-width: 820px) { .tool-hero h1 { font-size: clamp(26px, 3.2vw, 38px); } }
