/* =========================================================
   カーシラベ  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); } }

/* ---------- カーシェア ---------- */
@media (min-width: 520px) { .quick-start { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 520px) { .qs-btn { flex-direction: row; text-align: left; padding: 14px; } }
.qs-share { --qc: #0ea5e9; --qc-bg: #e0f2fe; }
.cs-estimate { margin: 0; font-size: 13px; color: var(--sub); font-weight: 700; text-align: center; }
.cs-estimate b { display: block; font-size: 28px; color: var(--text); font-weight: 900; line-height: 1.2; }
.cs-facts { list-style: none; margin: 6px 0; padding: 0; width: 100%; text-align: left; font-size: 13px; display: grid; gap: 4px; }
.cs-facts b { display: inline-block; min-width: 6em; color: var(--sub); font-weight: 700; }
.cs-compare li.is-own .hb-bar i { background: linear-gradient(90deg, #64748b, #94a3b8); }
.cs-compare li.is-own .hb-label { font-weight: 900; }
.sub-link { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line); background: #fff; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.sub-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.sub-link > .ico:first-child { width: 40px; height: 40px; padding: 8px; box-sizing: border-box; border-radius: 12px; background: #e0f2fe; color: #0284c7; flex-shrink: 0; }
.sub-link span { flex: 1; font-size: 13px; color: var(--sub); }
.sub-link b { display: block; font-size: 15px; color: var(--text); }
.feature-intro { font-size: 16px; line-height: 1.9; margin-bottom: 18px; }
.feature-svc { margin-bottom: 18px; }
.car-name { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.car-name .ico { color: var(--brand); }
.car-price { font-weight: 900; color: var(--brand); white-space: nowrap; }
.car-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px; }
.car-tags i { font-style: normal; font-size: 11px; font-weight: 700; background: var(--brand-soft); color: var(--brand); padding: 1px 8px; border-radius: 99px; }
/* ---------- カーシェアをメニュー・目的カードに追加（5項目ナビ・4枚カード） ---------- */
.pc-share { --pcc: #0369a1; --pcc-bg: #e0f2fe; }
@media (min-width: 640px) { .purpose-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .purpose-cards { grid-template-columns: repeat(4, 1fr); } .purpose-cards .p-body strong { font-size: 17px; } }
.gnav a.gnav-carshare.is-current { background: #e0f2fe; color: #0369a1; }
@media (max-width: 900px) { .logo-sub { display: none; } .gnav a { padding: 8px 10px; } }
@media (max-width: 640px) {
  .gnav a { padding: 6px 5px; font-size: 10.5px; letter-spacing: -.02em; }
  .gnav-ico { width: 18px; height: 18px; }
}
@media (max-width: 380px) { .logo { font-size: 16px; } .gnav a { padding: 6px 3px; } }
/* ---------- ロゴ（カーシラベ） ---------- */
.logo { gap: 9px; color: var(--text); text-decoration: none; }
.logo .logo-mark { display: none; }
.brand-mark { width: 32px; height: 32px; flex: none; border-radius: 9px; box-shadow: 0 6px 14px -6px rgba(79, 70, 229, .65); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.logo:hover .brand-mark { transform: rotate(-6deg) scale(1.05); }
.brand-type { font-family: 'Zen Kaku Gothic New', 'Hiragino Sans', 'Yu Gothic', sans-serif; font-weight: 900; font-size: 22px; letter-spacing: .03em; line-height: 1; color: #0f172a; white-space: nowrap; }
.brand-bar { background: linear-gradient(90deg, #4f46e5, #a855f7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-sub { background: none; color: var(--sub); border-left: 1px solid var(--line); border-radius: 0; padding: 2px 0 2px 10px; margin-left: 2px; font-size: 11px; font-weight: 700; }
.footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.footer-logo .brand-mark { width: 28px; height: 28px; box-shadow: none; }
.footer-logo .brand-type { color: #fff; font-size: 19px; }
.footer-logo .brand-bar { background: linear-gradient(90deg, #a5b4fc, #d8b4fe); -webkit-background-clip: text; background-clip: text; }
@media (max-width: 640px) {
  .logo { gap: 7px; }
  .brand-mark { width: 28px; height: 28px; border-radius: 8px; }
  .brand-type { font-size: 18px; letter-spacing: .01em; }
}
@media (max-width: 380px) { .brand-mark { width: 24px; height: 24px; } .brand-type { font-size: 16px; } }
/* ---------- トップのヒーロー（ブランド版・OG画像と同じ世界観） ---------- */
.hero-brand { position: relative; overflow: hidden; color: #fff; background: linear-gradient(135deg, #0b1024 0%, #151538 55%, #1e1b4b 100%); padding: 56px 0 60px; }
.hb-glow { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px 420px at 82% 18%, rgba(147, 51, 234, .45), transparent 70%),
              radial-gradient(480px 400px at 8% 105%, rgba(79, 70, 229, .45), transparent 70%); }
.hb-inner { position: relative; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hb-inner { grid-template-columns: 1.25fr .75fr; gap: 40px; } }
.hb-lockup { display: flex; align-items: center; gap: 14px; margin: 0 0 26px; animation: hbUp .7s cubic-bezier(.2, .8, .2, 1) both; }
.hb-lockup .hb-mark { width: 60px; height: 60px; border-radius: 16px; box-shadow: 0 10px 30px -8px rgba(124, 58, 237, .8); }
.hb-lockup .brand-type { color: #fff; font-size: clamp(40px, 6vw, 60px); letter-spacing: .03em; }
.hb-lockup .brand-bar { background: linear-gradient(90deg, #818cf8, #c084fc); -webkit-background-clip: text; background-clip: text; }
.hb-title { color: #fff; font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; line-height: 1.3; letter-spacing: .01em; margin: 0 0 16px; word-break: keep-all; animation: hbUp .7s .08s cubic-bezier(.2, .8, .2, 1) both; }
.hb-lead { color: #c7d2fe; font-size: 16px; line-height: 1.8; margin: 0 0 28px; animation: hbUp .7s .16s cubic-bezier(.2, .8, .2, 1) both; }
.hb-lead strong { color: #fff; }
.hb-q { color: rgba(255, 255, 255, .6); font-size: 13px; font-weight: 700; margin: 0 0 10px; letter-spacing: .05em; }
.hb-chips { display: flex; flex-wrap: wrap; gap: 12px; animation: hbUp .7s .24s cubic-bezier(.2, .8, .2, 1) both; }
.hb-chip { display: inline-flex; align-items: center; gap: 8px; padding: 14px 18px 14px 16px; border-radius: 99px; color: #fff; text-decoration: none; font-weight: 900; font-size: 17px;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s; }
.hb-chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--hc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--hc) 25%, transparent); flex: none; }
.hb-chip .ico { opacity: .85; }
.hb-chip .hc-arrow { opacity: .5; margin-left: 2px; transition: transform .2s, opacity .2s; }
.hb-chip:hover { background: rgba(255, 255, 255, .16); border-color: var(--hc); transform: translateY(-2px); box-shadow: 0 10px 24px -10px var(--hc); }
.hb-chip:hover .hc-arrow { transform: translateX(3px); opacity: 1; }
.hc-sell { --hc: #10b981; } .hc-lease { --hc: #818cf8; } .hc-share { --hc: #38bdf8; } .hc-cost { --hc: #f59e0b; }
.hb-badges { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hb-badges li { display: inline-flex; align-items: center; gap: 5px; color: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 700; }
.hb-badges .ico { color: #34d399; }
.hb-visual { position: relative; justify-self: center; width: min(100%, 340px); aspect-ratio: 1; }
.hb-big { position: absolute; inset: 12%; animation: hbFloat 6s ease-in-out infinite; }
.hb-big-mark { width: 100%; height: 100%; border-radius: 26%; box-shadow: 0 30px 80px -20px rgba(124, 58, 237, .9), 0 0 0 1px rgba(255, 255, 255, .12); }
.hb-float { position: absolute; display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 16px; font-size: 13px; font-weight: 800; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5); }
.hb-float .ico { color: #34d399; }
.hf-1 { left: -18px; bottom: 6%; flex-direction: column; align-items: flex-start; gap: 2px; animation: hbFloat 6s 1s ease-in-out infinite; }
.hf-1 span { font-size: 11px; color: #c7d2fe; font-weight: 700; }
.hf-1 b { font-size: 26px; line-height: 1.1; } .hf-1 small { font-size: 14px; }
.hf-1 em { display: block; width: 110px; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.hf-1 em i { display: block; height: 100%; width: 94%; border-radius: 9px; background: linear-gradient(90deg, #34d399, #10b981); }
.hf-2 { right: -10px; top: 4%; animation: hbFloat 6s .5s ease-in-out infinite; }
.hf-3 { right: -6px; bottom: -2%; animation: hbFloat 6s 1.5s ease-in-out infinite; }
@keyframes hbUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes hbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-brand *, .hero-brand { animation: none !important; } }
.pc-only { display: none; }
@media (min-width: 900px) { .pc-only { display: inline; } }
@media (max-width: 899px) {
  .hero-brand { padding: 36px 0 40px; }
  .hb-visual { display: none; }
}
@media (max-width: 640px) {
  .hb-lockup { gap: 10px; margin-bottom: 20px; }
  .hb-lockup .hb-mark { width: 46px; height: 46px; border-radius: 13px; }
  .hb-lockup .brand-type { font-size: 38px; }
  .hb-lead { font-size: 15px; margin-bottom: 22px; }
  .hb-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hb-chip { justify-content: flex-start; font-size: 16px; padding: 14px 14px; border-radius: 18px; }
  .hb-chip .hc-arrow { margin-left: auto; }
}
.hb-chips { gap: 10px; }
.hb-chip { padding: 13px 16px 13px 15px; font-size: 16px; }
.hb-chip .ico:not(.hc-arrow) { display: none; }
/* ---------- ヒーロー：悩みから選ぶカード ---------- */
.hb-paths-wrap { position: relative; margin-top: 40px; }
.hero-brand .hb-q { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: #fff; font-size: 18px; font-weight: 900; letter-spacing: .02em; margin: 0 0 14px; }
.hb-q span { color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 700; letter-spacing: 0; }
.hb-paths { display: grid; gap: 14px; }
@media (min-width: 640px) { .hb-paths { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .hb-paths { grid-template-columns: repeat(4, 1fr); } }
.hb-path { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 16px; border-radius: 22px; color: #fff; text-decoration: none; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); border: 1.5px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
  animation: hbUp .7s cubic-bezier(.2, .8, .2, 1) both; }
.hb-path:nth-child(1) { animation-delay: .28s; } .hb-path:nth-child(2) { animation-delay: .34s; } .hb-path:nth-child(3) { animation-delay: .40s; } .hb-path:nth-child(4) { animation-delay: .46s; }
.hb-path::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--hc); opacity: .9; }
.hb-path::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: var(--hc); opacity: .12; filter: blur(10px); transition: opacity .2s; pointer-events: none; }
.hb-path:hover { transform: translateY(-4px); border-color: var(--hc); background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .06)); box-shadow: 0 18px 40px -18px var(--hc); }
.hb-path:hover::after { opacity: .25; }
.hp-head { display: flex; align-items: center; gap: 8px; }
.hp-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: color-mix(in srgb, var(--hc) 22%, transparent); color: var(--hc); }
.hp-ico .ico { width: 20px; height: 20px; }
.hp-cat { font-size: 13px; font-weight: 900; color: var(--hc); letter-spacing: .04em; }
.hp-time { margin-left: auto; font-size: 11px; font-weight: 700; color: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; padding: 2px 9px; }
.hp-worry { font-size: 18px; line-height: 1.45; font-weight: 900; margin-top: 4px; word-break: keep-all; }
.hp-desc { font-size: 13px; line-height: 1.65; color: #c7d2fe; }
.hp-result { margin-top: auto; display: flex; align-items: center; gap: 6px; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .18); font-size: 13px; font-weight: 800; color: #fff; }
.hp-result .ico:first-child { color: var(--hc); flex: none; }
.hp-result .hc-arrow { margin-left: auto; flex: none; opacity: .6; transition: transform .2s, opacity .2s; }
.hb-path:hover .hc-arrow { transform: translateX(4px); opacity: 1; }
.hero-brand .hb-badges { margin-top: 0; }
@media (max-width: 640px) {
  .hb-paths-wrap { margin-top: 26px; }
  .hero-brand .hb-q { font-size: 16px; }
  .hb-path { padding: 15px 15px 13px; gap: 6px; border-radius: 18px; }
  .hp-worry { font-size: 17px; }
  .hp-worry br { display: none; }
}
/* ---------- ヒーロー：明るいテーマ（紫はアクセントだけに使う） ---------- */
.hero-brand { color: var(--text); background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 55%, #eef4ff 100%); border-bottom: 1px solid var(--line); }
.hb-glow { background:
  radial-gradient(560px 380px at 85% 10%, rgba(167, 139, 250, .28), transparent 70%),
  radial-gradient(520px 360px at 60% 95%, rgba(56, 189, 248, .20), transparent 70%),
  radial-gradient(420px 320px at 0% 0%, rgba(99, 102, 241, .14), transparent 70%); }
.hero-brand::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(79, 70, 229, .18) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
.hb-lockup .hb-mark { box-shadow: 0 12px 28px -10px rgba(79, 70, 229, .6); }
.hb-lockup .brand-type { color: #0f172a; }
.hb-lockup .brand-bar { background: linear-gradient(90deg, #4f46e5, #a855f7); -webkit-background-clip: text; background-clip: text; }
.hb-title { color: #0f172a; }
.hb-lead { color: #475569; }
.hb-lead strong { color: #4f46e5; }
.hb-badges li { color: #475569; }
.hb-badges .ico { color: #10b981; }
.hb-big-mark { box-shadow: 0 30px 70px -24px rgba(79, 70, 229, .55), 0 0 0 8px rgba(255, 255, 255, .7); }
.hb-float { color: #0f172a; background: rgba(255, 255, 255, .85); border: 1px solid rgba(15, 23, 42, .06); box-shadow: 0 14px 30px -14px rgba(15, 23, 42, .25); }
.hb-float .ico { color: #10b981; }
.hf-1 span { color: #64748b; }
.hf-1 em { background: #e2e8f0; }
.hero-brand .hb-q { color: #0f172a; }
.hb-q span { color: #64748b; }
.hc-sell { --hc: #059669; } .hc-lease { --hc: #4f46e5; } .hc-share { --hc: #0284c7; } .hc-cost { --hc: #d97706; }
.hb-path { color: #0f172a; background: #fff; border: 1px solid #e5e7f0; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .25); backdrop-filter: none; -webkit-backdrop-filter: none; }
.hb-path::after { opacity: .08; }
.hb-path:hover { background: #fff; border-color: var(--hc); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--hc) 70%, transparent); }
.hb-path:hover::after { opacity: .16; }
.hp-ico { background: color-mix(in srgb, var(--hc) 12%, #fff); }
.hp-time { color: #64748b; border-color: #e2e8f0; background: #f8fafc; }
.hp-desc { color: #475569; }
.hp-result { color: #0f172a; border-top-color: #e2e8f0; }
.hp-result .hc-arrow { color: var(--hc); }
/* ---------- ヒーロー：写真背景版 ---------- */
.hero-brand.has-photo { background: #fff; padding: 0 0 56px; border-bottom: 0; }
.hero-brand.has-photo::before { display: none; }
.hb-top { position: relative; overflow: hidden; background: #0b0f17; padding: 72px 0 150px; }
.hb-photo { position: absolute; inset: 0; }
.hb-photo .photo { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; animation: hbZoom 14s ease-out both; }
.hb-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 22, .92) 0%, rgba(8, 12, 22, .78) 32%, rgba(8, 12, 22, .25) 62%, rgba(8, 12, 22, 0) 80%),
    linear-gradient(180deg, rgba(8, 12, 22, .25) 0%, rgba(8, 12, 22, 0) 30%, rgba(8, 12, 22, .55) 100%); }
@keyframes hbZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.has-photo .hb-inner { grid-template-columns: 1fr; }
.has-photo .hb-copy { max-width: 600px; }
.has-photo .hb-lockup .brand-type { color: #fff; }
.has-photo .hb-lockup .brand-bar { background: linear-gradient(90deg, #a5b4fc, #d8b4fe); -webkit-background-clip: text; background-clip: text; }
.has-photo .hb-lockup .hb-mark { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); }
.has-photo .hb-title { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.has-photo .hb-lead { color: rgba(255, 255, 255, .82); }
.has-photo .hb-lead strong { color: #fff; border-bottom: 2px solid #a5b4fc; }
.has-photo .hb-badges li { color: rgba(255, 255, 255, .85); }
.has-photo .hb-badges .ico { color: #34d399; }
.has-photo .hb-paths-wrap { margin-top: -118px; z-index: 1; }
.has-photo .hb-q { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.has-photo .hb-q span { color: rgba(255, 255, 255, .75); }
.has-photo .hb-path { box-shadow: 0 18px 40px -20px rgba(15, 23, 42, .45); border-color: #eef0f6; }
@media (prefers-reduced-motion: reduce) { .hb-photo .photo { animation: none; } }
@media (max-width: 899px) {
  .hb-top { padding: 44px 0 130px; }
  .hb-photo .photo { object-position: 70% 50%; }
  .hb-photo::after { background: linear-gradient(180deg, rgba(8, 12, 22, .55) 0%, rgba(8, 12, 22, .78) 55%, rgba(8, 12, 22, .9) 100%); }
  .has-photo .hb-paths-wrap { margin-top: -100px; }
}
@media (min-width: 900px) {
  .hb-photo { left: 30%; }
  .hb-photo .photo { object-position: 55% 60%; }
  .hb-photo::after { background:
    linear-gradient(90deg, #0b0f17 0%, rgba(11, 15, 23, .7) 22%, rgba(11, 15, 23, .15) 50%, rgba(11, 15, 23, 0) 70%),
    linear-gradient(180deg, rgba(11, 15, 23, .2) 0%, rgba(11, 15, 23, 0) 30%, rgba(11, 15, 23, .6) 100%); }
  .hb-top { background: radial-gradient(600px 400px at 0% 0%, rgba(79, 70, 229, .18), transparent 70%), #0b0f17; }
}
@media (min-width: 1400px) { .hb-photo { left: 36%; } }
.hb-photo { overflow: hidden; }

/* ---------- ツールページ：写真ヒーロー（トップと同じ世界観） ---------- */
.photo-hero { position: relative; overflow: hidden; background: #0b0f17; padding: 44px 0 100px; color: #fff; }
.ph-sell { --tc: #34d399; } .ph-lease { --tc: #a5b4fc; } .ph-share { --tc: #7dd3fc; } .ph-cost { --tc: #fbbf24; }
.th-photo { position: absolute; inset: 0; overflow: hidden; }
.th-photo .photo { width: 100%; height: 100%; object-fit: cover; animation: hbZoom 14s ease-out both; }
.ph-sell .th-photo .photo { object-position: 50% 45%; }
.ph-lease .th-photo .photo { object-position: 70% 55%; }
.ph-share .th-photo .photo { object-position: 50% 40%; }
.ph-cost .th-photo .photo { object-position: 30% 50%; }
.th-photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 22, .93) 0%, rgba(8, 12, 22, .8) 38%, rgba(8, 12, 22, .45) 70%, rgba(8, 12, 22, .3) 100%),
    linear-gradient(180deg, rgba(8, 12, 22, 0) 50%, rgba(8, 12, 22, .6) 100%); }
.photo-hero .tool-hero-inner { position: relative; gap: 28px; }
@media (min-width: 820px) { .photo-hero .tool-hero-inner { grid-template-columns: 1.15fr .85fr; gap: 40px; } }
.photo-hero .crumb, .photo-hero .crumb a { color: rgba(255, 255, 255, .7); }
.photo-hero h1 { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); margin-top: 10px; }
.photo-hero .tool-lead { color: rgba(255, 255, 255, .82); }
.photo-hero .hero-chips li { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .2); box-shadow: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.photo-hero .hero-chips .ico { color: var(--tc); }
.photo-hero .tool-hero-copy { animation: hbUp .7s cubic-bezier(.2, .8, .2, 1) both; }
.th-steps { justify-self: end; width: 100%; max-width: 380px; padding: 18px 18px 14px; border-radius: 22px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); animation: hbUp .7s .15s cubic-bezier(.2, .8, .2, 1) both; }
.ts-title { margin: 0 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .05em; color: rgba(255, 255, 255, .7); }
.th-steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; position: relative; }
.th-steps li { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .06); }
.th-steps li:not(:last-child)::after { content: ""; position: absolute; left: 23px; bottom: -8px; width: 2px; height: 10px; background: rgba(255, 255, 255, .25); }
.ts-no { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; font-weight: 900; background: rgba(255, 255, 255, .15); color: #fff; }
.th-steps li > .ico { flex: none; color: var(--tc); }
.ts-text { display: flex; flex-direction: column; line-height: 1.35; }
.ts-text b { font-size: 14px; font-weight: 900; }
.ts-text small { font-size: 11.5px; color: rgba(255, 255, 255, .65); font-weight: 600; }
.th-steps li.is-result { background: #fff; color: #0f172a; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.th-steps li.is-result .ts-no { background: var(--tc); color: #0f172a; }
.th-steps li.is-result > .ico { color: #0f172a; }
.th-steps li.is-result small { color: #64748b; }
.photo-hero + .tool-main { position: relative; z-index: 1; margin-top: -60px; }
@media (prefers-reduced-motion: reduce) { .th-photo .photo, .photo-hero .tool-hero-copy, .th-steps { animation: none; } }
@media (max-width: 819px) {
  .photo-hero { padding: 30px 0 84px; }
  .th-photo::after { background: linear-gradient(180deg, rgba(8, 12, 22, .6) 0%, rgba(8, 12, 22, .82) 60%, rgba(8, 12, 22, .92) 100%); }
  .th-steps { justify-self: stretch; max-width: none; padding: 14px; }
  .th-steps ol { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .th-steps li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px; }
  .th-steps li:not(:last-child)::after { display: none; }
  .th-steps li > .ico { display: none; }
  .ts-text b { font-size: 12.5px; }
  .ts-text small { display: none; }
  .photo-hero + .tool-main { margin-top: -50px; }
}
@media (min-width: 820px) {
  .th-photo::after { background:
    linear-gradient(90deg, rgba(8, 12, 22, .92) 0%, rgba(8, 12, 22, .72) 36%, rgba(8, 12, 22, .2) 66%, rgba(8, 12, 22, .08) 100%),
    linear-gradient(180deg, rgba(8, 12, 22, 0) 55%, rgba(8, 12, 22, .5) 100%); }
}
.ph-sell .th-photo .photo { object-position: 50% 62%; }
@media (max-width: 819px) {
  .photo-hero { padding: 22px 0 76px; }
  .photo-hero .tool-hero-inner { gap: 14px; }
  .photo-hero h1 { margin: 6px 0 8px; }
  .photo-hero .tool-lead { font-size: 14px; margin-bottom: 10px; }
  .photo-hero .hero-chips { gap: 6px; }
  .photo-hero .hero-chips li { padding: 4px 10px; font-size: 11.5px; }
  .th-steps { padding: 8px; border-radius: 16px; }
  .ts-title { display: none; }
  .th-steps ol { gap: 4px; }
  .th-steps li { flex-direction: row; align-items: center; gap: 6px; padding: 8px; border-radius: 11px; }
  .ts-no { width: 20px; height: 20px; font-size: 11px; }
  .ts-text b { font-size: 11.5px; line-height: 1.3; }
}
/* ---------- レンタカー ---------- */
.ph-rental { --tc: #fcd34d; }
.ph-rental .th-photo .photo { object-position: 60% 60%; }
.seg-1 { grid-template-columns: 1fr; }
.seg label span small { display: block; font-size: 11.5px; font-weight: 600; color: var(--sub); margin-top: 2px; }
.vs-grid { display: grid; gap: 14px; margin-top: 10px; }
@media (min-width: 720px) { .vs-grid { grid-template-columns: 1fr 1fr; } }
.vs-col { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.vs-head { display: flex; align-items: center; gap: 6px; font-weight: 900; margin: 0 0 8px; color: var(--brand); }
.vs-col ul { margin: 0 0 8px; padding-left: 1.2em; font-size: 14px; line-height: 1.8; }
.seg-1 label span { flex-direction: column; gap: 0; }
.seg-1 label span small { margin-top: 1px; }

/* ---------- トップ：レンタカーを足して5つに（上3つ・下2つ） ---------- */
.hc-rent { --hc: #0d9488; }
.pc-rent { --pcc: #0f766e; --pcc-bg: #ccfbf1; }
@media (min-width: 640px) and (max-width: 1099px) { .hb-paths .hb-path:last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .hb-paths { grid-template-columns: repeat(6, 1fr); }
  .hb-paths .hb-path { grid-column: span 2; }
  .hb-paths .hb-path:nth-child(n+4) { grid-column: span 3; }
}
.hb-path:nth-child(5) { animation-delay: .52s; }
@media (min-width: 640px) and (max-width: 1079px) { .home-purpose .purpose-cards .p-card:last-child { grid-column: 1 / -1; } .home-purpose .purpose-cards .p-card:last-child .p-photo { aspect-ratio: 21 / 8; } }
@media (min-width: 1080px) {
  .home-purpose .purpose-cards { grid-template-columns: repeat(6, 1fr); }
  .home-purpose .purpose-cards .p-card { grid-column: span 2; }
  .home-purpose .purpose-cards .p-card:nth-child(n+4) { grid-column: span 3; }
  .home-purpose .purpose-cards .p-card:nth-child(n+4) .p-photo { aspect-ratio: 21 / 9; }
}
/* ASP の計測用画像（見た目には出さない） */
.aff-px { position: absolute; width: 1px; height: 1px; border: 0; opacity: 0; pointer-events: none; }

/* ---------- 期間限定キャンペーン ---------- */
.campaign { position: relative; margin: 0 0 22px; padding: 18px 20px; border-radius: 20px; background: linear-gradient(135deg, #fff7ed, #fff1f2); border: 1px solid #fed7aa; }
.campaign-badge { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 900; color: #c2410c; background: #fff; border: 1px solid #fed7aa; border-radius: 99px; padding: 3px 10px; }
.campaign-title { font-size: 20px; font-weight: 900; margin: 8px 0 4px; color: #0f172a; }
.campaign-text { font-size: 14px; line-height: 1.7; margin: 0 0 6px; color: #334155; }
.campaign-note { font-size: 12px; color: #64748b; margin: 0 0 12px; }
.campaign-pr { font-size: 11px; color: #94a3b8; margin: 8px 0 0; text-align: center; }
.tool-main > .campaign { margin: 0; }
/* ---------- ASP のバナー ---------- */
.aff-banner { position: relative; display: flex; justify-content: center; margin: 16px auto 0; padding: 12px; background: #f8fafc; border: 1px solid var(--line); border-radius: 16px; max-width: 340px; }
.aff-banner img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.aff-banner-pr { position: absolute; top: 4px; left: 8px; font-size: 10px; font-weight: 800; color: #94a3b8; }
.aff-banner { padding-top: 22px; }
.aff-banner-pr { top: 5px; left: 12px; }

/* ---------- 駐車場 ---------- */
.ph-parking { --tc: #fbbf24; }
.ph-parking .th-photo .photo { object-position: 60% 50%; }
.park-choice { display: grid; gap: 8px; }
.pc-opt { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; transition: background .2s, transform .2s; }
.pc-opt:hover { background: #fff; color: #0f172a; transform: translateY(-2px); }
.pc-opt .ts-no { width: 32px; height: 32px; background: var(--tc); color: #0f172a; }
.pc-opt > .ico:last-child { margin-left: auto; opacity: .7; }
.pc-opt:hover small { color: #64748b; }
.park-sec { scroll-margin-top: 80px; }
.park-warn { margin-top: 16px; }
.park-links { display: grid; gap: 10px; margin-top: 8px; }
@media (min-width: 720px) { .park-links { grid-template-columns: 1fr 1fr; } }
.park-links .next-link { margin: 0; }
@media (max-width: 819px) { .park-choice .pc-opt small { display: block; } .park-choice { grid-template-columns: 1fr; } }
/* ---------- コーティング ---------- */
.ph-coating { --tc: #c4b5fd; }
.ph-coating .th-photo .photo { object-position: 40% 50%; }
.pc-opt.is-on { background: #fff; color: #0f172a; }
.pc-opt.is-on small { color: #64748b; }
.coat-hit { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 6px; font-size: 12px; font-weight: 900; color: #059669; background: #ecfdf5; border-radius: 99px; padding: 3px 10px; }
.coat-link { margin-top: 10px; }
/* ---------- 車のトラブル ---------- */
.ph-repair { --tc: #fdba74; }
.ph-repair .th-photo .photo { object-position: 55% 50%; }
/* ---------- トップ：車のまわりのこと ---------- */
.more-cards { display: grid; gap: 14px; }
@media (min-width: 640px) { .more-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .more-cards { grid-template-columns: repeat(4, 1fr); } }
.m-card { --mc: #4f46e5; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.m-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--mc); }
.m-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; display: block; }
.m-photo .photo { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.m-card:hover .m-photo .photo { transform: scale(1.06); }
.m-ico { position: absolute; left: 12px; bottom: -18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--mc); box-shadow: var(--shadow-md); }
.m-ico .ico { width: 22px; height: 22px; }
.m-body { display: flex; flex-direction: column; gap: 4px; padding: 26px 16px 16px; }
.m-cat { font-size: 12px; font-weight: 900; color: var(--mc); letter-spacing: .03em; }
.m-body strong { font-size: 17px; line-height: 1.4; }
.m-text { font-size: 13px; color: #64748b; line-height: 1.6; }
.mc-hoken { --mc: #0369a1; } .mc-park { --mc: #b45309; } .mc-coat { --mc: #7c3aed; } .mc-repair { --mc: #c2410c; }
.home-more { padding-top: 8px; }
.m-photo { overflow: visible; }
.m-photo .photo { transition: filter .3s; }
.m-card:hover .m-photo .photo { transform: none; filter: brightness(1.08) saturate(1.1); }
.m-ico { z-index: 1; }
/* ---------- トップ：悩みカード9枚（3×3） ---------- */
.hc-hoken { --hc: #0369a1; } .hc-park { --hc: #b45309; } .hc-coat { --hc: #7c3aed; } .hc-repair { --hc: #c2410c; }
@media (min-width: 640px) and (max-width: 1099px) { .hb-paths .hb-path:last-child { grid-column: 1 / -1; } }
@media (min-width: 1100px) {
  .hb-paths { grid-template-columns: repeat(3, 1fr); }
  .hb-paths .hb-path, .hb-paths .hb-path:nth-child(n+4) { grid-column: auto; }
}
.hb-path:nth-child(6) { animation-delay: .58s; } .hb-path:nth-child(7) { animation-delay: .64s; } .hb-path:nth-child(8) { animation-delay: .70s; } .hb-path:nth-child(9) { animation-delay: .76s; }
/* ---------- 記事の緊急度 ---------- */
.urg { display: inline-flex; align-items: center; margin-left: 8px; padding: 1px 8px; border-radius: 99px; font-style: normal; font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.u-now { background: #fee2e2; color: #b91c1c; }
.u-soon { background: #fef3c7; color: #b45309; }
.u-plan { background: #e0f2fe; color: #0369a1; }
.urg-lg { margin: 0 0 8px; font-size: 12px; padding: 3px 12px; }
/* ---------- 運営者 ---------- */
.ed-avatar { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #4f46e5, #9333ea); color: #fff; font-weight: 900; font-size: 15px; letter-spacing: .04em; box-shadow: 0 8px 18px -8px rgba(79, 70, 229, .6); }
.ed-avatar-lg { width: 88px; height: 88px; font-size: 22px; }
.editor-box { display: flex; gap: 16px; align-items: flex-start; margin: 28px 0; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.ed-label { margin: 0; font-size: 12px; font-weight: 800; color: var(--sub); }
.ed-name { margin: 2px 0 6px; font-size: 18px; font-weight: 900; }
.ed-name span { margin-left: 8px; font-size: 12px; font-weight: 700; color: var(--sub); }
.ed-text { margin: 0 0 6px; font-size: 14px; line-height: 1.7; color: #334155; }
.profile-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 20px; align-items: center; margin: 0 0 36px; padding: 24px; border-radius: 24px; background: linear-gradient(135deg, #f5f3ff, #eef2ff); border: 1px solid #e0e7ff; }
.pf-label { margin: 0; font-size: 12px; font-weight: 800; color: #6366f1; }
.pf-name { margin: 2px 0 4px; font-size: 26px; border: 0; padding: 0; }
.pf-name span { font-size: 14px; color: var(--sub); font-weight: 700; }
.pf-catch { margin: 0; font-weight: 800; color: #312e81; }
.pf-body { grid-column: 1 / -1; margin-top: 10px; }
.pf-body p { line-height: 1.9; }
.pf-facts { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
@media (min-width: 640px) { .pf-facts { grid-template-columns: 1fr 1fr; } }
.pf-facts li { background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 14px; }
.pf-facts b { display: block; font-size: 11px; color: #6366f1; margin-bottom: 2px; }
@media (max-width: 640px) { .profile-card { padding: 18px; } .ed-avatar-lg { width: 68px; height: 68px; font-size: 18px; } .pf-name { font-size: 22px; } }
.home-editor { text-decoration: none; color: var(--text); max-width: 760px; margin: 24px auto 0; transition: box-shadow .2s, transform .2s; }
.home-editor:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.home-editor .ed-body > span { display: block; }

.article .profile-card .pf-name { margin: 2px 0 4px; padding: 0; border: 0; font-size: 28px; line-height: 1.3; }
.article .profile-card .pf-name::before, .article .profile-card .pf-name::after { display: none; }
@media (max-width: 640px) { .article .profile-card .pf-name { font-size: 23px; } }

/* ---------- お問い合わせフォーム ---------- */
.contact-form { margin-top: 20px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.contact-form .field { margin-bottom: 18px; }
.contact-form label { display: block; font-weight: 800; margin-bottom: 6px; }
.contact-form input[type=text], .contact-form input[type=email], .contact-form select, .contact-form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #fff; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, .15); }
.contact-form .req, .contact-form .opt { margin-left: 6px; font-size: 11px; padding: 1px 8px; border-radius: 99px; vertical-align: middle; }
.contact-form .req { background: #fee2e2; color: #b91c1c; }
.contact-form .opt { background: #f1f5f9; color: #64748b; }
.contact-form .agree { font-weight: 600; display: flex; gap: 8px; align-items: center; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-done { text-align: center; padding: 32px 20px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 22px; }
.contact-done h2 { border: 0; margin: 8px 0; }
.cd-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #10b981; color: #fff; }
.cd-ico .ico { width: 28px; height: 28px; }
.pf-motto { grid-column: 1 / -1; margin-top: 14px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid #e0e7ff; }
.pm-label { margin: 0; font-size: 12px; font-weight: 800; color: #6366f1; }
.pm-main { margin: 4px 0 10px; font-size: 19px; font-weight: 900; color: #1e1b4b; line-height: 1.5; }
.pf-motto p { line-height: 1.9; }
.pm-list { list-style: none; margin: 4px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-list a { display: inline-block; padding: 6px 14px; border-radius: 99px; background: #eef2ff; color: #4338ca; font-weight: 800; font-size: 13px; text-decoration: none; }
.pm-list a:hover { background: #4f46e5; color: #fff; }
/* ---------- 車種別の維持費（/cars/） ---------- */
.car-cond-title { font-size: 12px; font-weight: 800; color: var(--sub); margin: 0 0 6px; }
.chip-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.chip-links:last-child { margin-bottom: 0; }
.chip { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 13px; font-weight: 700; text-decoration: none; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--acc, var(--brand)); }
.chip.is-on { background: var(--acc, var(--brand)); border-color: var(--acc, var(--brand)); color: #fff; }
.car-cond { margin: 0 0 28px; }
.car-cond-now { font-size: 12px; color: var(--sub); margin: 10px 0 12px; }
.car-cost-hero { margin-bottom: 18px; }
.side-big { font-size: 28px; font-weight: 900; color: var(--acc); margin: 2px 0 2px; font-variant-numeric: tabular-nums; }
.car-ways { display: grid; gap: 12px; }
@media (min-width: 720px) { .car-ways { grid-template-columns: repeat(3, 1fr); } }
.car-way { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); }
a.car-way { transition: transform .15s, border-color .15s; }
a.car-way:hover { transform: translateY(-2px); border-color: var(--acc, var(--brand)); }
.car-way .cw-label { font-size: 12px; font-weight: 800; color: var(--sub); }
.car-way b { font-size: 18px; font-weight: 900; color: var(--navy); }
.car-way p { font-size: 13px; color: var(--sub); margin: 0; }
.car-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; min-width: 520px; }
.car-table th, .car-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.car-table thead th { background: var(--bg-2); font-size: 12px; color: var(--sub); }
.car-table th[scope="row"], .car-table thead th:first-child { text-align: left; }
.car-table th[scope="row"] small { display: block; font-size: 11px; font-weight: 400; color: var(--sub); }
.car-table tr.is-own { background: var(--acc-bg, var(--bg-2)); }
.car-table tr.is-own th[scope="row"]::after { content: "このページ"; margin-left: 6px; font-size: 10px; padding: 1px 6px; border-radius: 99px; background: var(--acc); color: #fff; vertical-align: 1px; }
.car-filter { margin: 0 0 20px; }
.cc-head h2 { font-size: 20px; font-weight: 900; margin: 0 0 4px; }
.cc-head p { font-size: 13px; color: var(--sub); margin: 0 0 14px; }
.service-main { grid-template-columns: minmax(0, 1fr); }
.cost-hero > * { min-width: 0; }
/* ---------- 人気車種カタログ（/cars/） ---------- */
.cc-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.cc-list a { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--text); text-decoration: none; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cc-list a:hover { border-color: var(--cost); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cc-photo { display: block; aspect-ratio: 3 / 2; background: var(--bg-2); overflow: hidden; }
.cc-photo .photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-list strong { font-size: 14px; font-weight: 800; padding: 8px 10px 0; }
.cc-list .cc-cost { font-size: 11px; color: var(--cost-dark); font-weight: 700; padding: 0 10px 9px; font-variant-numeric: tabular-nums; }

.car-grid { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.car-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--text); text-decoration: none; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s, border-color .18s; }
.car-card:hover { transform: translateY(-3px); border-color: var(--acc, var(--brand)); box-shadow: 0 16px 34px -18px rgba(15, 23, 42, .35); }
.cc2-photo { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--bg-2); }
.cc2-photo .photo { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.car-card:hover .cc2-photo .photo { transform: scale(1.04); }
.cc2-tag { position: absolute; left: 10px; top: 10px; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--text); }
.cc2-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; flex: 1; }
.cc2-body small { font-size: 12px; color: var(--sub); }
.cc2-body strong { font-size: 20px; font-weight: 900; color: var(--navy); }
.cc2-catch { font-size: 13px; color: var(--sub); line-height: 1.6; margin: 2px 0 10px; }
.cc2-facts { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.cc2-facts span { display: flex; flex-direction: column; font-size: 11px; color: var(--sub); }
.cc2-facts b { font-size: 14px; font-weight: 800; color: var(--text); font-variant-numeric: tabular-nums; }

.car-hero { background: linear-gradient(180deg, var(--cost-bg), #fff); border-bottom: 1px solid var(--line); padding: 20px 0 28px; }
.car-hero-inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .car-hero-inner { grid-template-columns: 1.15fr 1fr; gap: 36px; } }
.car-hero-photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-2); box-shadow: 0 24px 50px -28px rgba(15, 23, 42, .5); }
.car-hero-photo .photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-hero-copy .crumb { font-size: 12px; color: var(--sub); margin: 0 0 8px; }
.car-hero-copy .crumb a { color: var(--sub); }
.ch-tag { display: inline-block; font-size: 12px; font-weight: 800; padding: 3px 12px; border-radius: 99px; background: var(--cost); color: #fff; }
.car-hero h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 900; color: var(--navy); margin: 8px 0 6px; letter-spacing: .01em; }
.ch-maker { display: block; font-size: 14px; font-weight: 700; color: var(--sub); letter-spacing: .05em; }
.ch-catch { font-size: 15px; color: #475569; margin: 0 0 16px; }
.ch-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0 0 16px; }
.ch-facts div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.ch-facts dt { font-size: 11px; font-weight: 700; color: var(--sub); }
.ch-facts dd { margin: 2px 0 0; font-size: 18px; font-weight: 900; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ch-facts dd small { font-size: 11px; font-weight: 700; margin-left: 1px; }
.ch-toc { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-toc a { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; }
.ch-toc a:hover { border-color: var(--cost); color: var(--cost-dark); }
.service-main > section[id], .car-hero ~ .service-layout [id] { scroll-margin-top: 80px; }

.car-about { display: grid; gap: 16px; align-items: start; }
@media (min-width: 720px) { .car-about { grid-template-columns: 1fr 300px; } }
.car-overview { font-size: 16px; line-height: 1.9; margin: 0; }
.car-fig { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.car-fig .photo { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.car-fig figcaption { font-size: 12px; color: var(--sub); padding: 8px 12px; }
.car-rival-lead { font-weight: 800; margin: 16px 0 8px; }
.car-rivals { display: grid; gap: 10px; }
@media (min-width: 640px) { .car-rivals { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }
.car-rival { display: grid; grid-template-columns: 110px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s; }
.car-rival:hover { border-color: var(--cost); transform: translateY(-2px); }
.cr-photo { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.cr-photo .photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.cr-body { display: flex; flex-direction: column; }
.cr-body small { font-size: 11px; color: var(--sub); }
.cr-body strong { font-size: 16px; font-weight: 900; color: var(--navy); }
.cr-body span { font-size: 12px; color: var(--sub); }
#cost .car-cost-hero, #cost .car-cond { margin-bottom: 18px; }
.photo-credits { list-style: none; margin: 12px 0 0; padding: 0; font-size: 11px; color: var(--sub); }
.photo-credits a { color: var(--sub); }
.cc-group { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 900; margin: 6px 0 8px; }
.cc-group a { font-size: 12px; font-weight: 700; }

/* ---------- メーカー別（/cars/maker/） ---------- */
.maker-group { margin: 0 0 18px; }
.maker-group-title { font-size: 13px; font-weight: 900; color: var(--sub); margin: 0 0 8px; letter-spacing: .04em; }
.maker-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.maker-tile { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-decoration: none; overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; }
.maker-tile:hover { transform: translateY(-2px); border-color: var(--cost); box-shadow: var(--shadow-sm); }
.maker-tile.is-current { border-color: var(--cost); box-shadow: 0 0 0 2px var(--cost) inset; }
.mt-photo { display: block; aspect-ratio: 16 / 9; background: var(--bg-2); overflow: hidden; }
.mt-photo .photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.mt-body { display: flex; flex-direction: column; padding: 8px 12px 10px; }
.mt-en { font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--sub); text-transform: uppercase; }
.mt-body strong { font-size: 15px; font-weight: 900; color: var(--navy); }
.mt-body small { font-size: 11px; color: var(--sub); }
.chip-n { margin-left: 6px; font-size: 11px; font-weight: 800; padding: 0 6px; border-radius: 99px; background: var(--bg-2); color: var(--sub); }
.cc-all { margin-top: 14px; }
.maker-head .mh-en { font-size: 12px; font-weight: 900; letter-spacing: .2em; color: var(--sub); margin: 6px 0 0; text-transform: uppercase; }
.mh-facts { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mh-facts li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px; font-size: 12px; color: var(--sub); }
.mh-facts b { display: block; font-size: 17px; font-weight: 900; color: var(--text); }
a.ch-maker { color: var(--sub); text-decoration: none; }
a.ch-maker:hover { color: var(--cost-dark); text-decoration: underline; }
.gnav a.gnav-cars.is-current { background: var(--cost-bg); color: var(--cost-dark); }
/* メニュー6項目でもスマホで1行に収める */
.gnav a span { white-space: nowrap; }
@media (max-width: 560px) { .gnav a { padding: 6px 3px; font-size: 10px; letter-spacing: -.03em; } .gnav-ico { width: 17px; height: 17px; } }
@media (max-width: 380px) { .gnav a { padding: 6px 2px; font-size: 9.5px; } .logo .brand-mark { width: 28px; height: 28px; } }
.card .btn { max-width: 100%; white-space: normal; text-align: center; }

/* ===================== ハウスシラベ（ここから下は家サイト用の上書き） ===================== */
:root {
  --brand: #0d9488; --brand-soft: #e6f7f5; --brand-line: #99e0d8;
  --acc: #0d9488; --acc-bg: #e6f7f5;
}
.brand-mark { box-shadow: 0 6px 14px -6px rgba(13, 148, 136, .6); }
.brand-bar { background: linear-gradient(90deg, #0d9488, #0284c7); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-primary { background: linear-gradient(135deg, #0d9488, #0284c7); border-color: transparent; }
.btn-primary:hover { filter: brightness(1.05); }
.gnav a.is-current { background: var(--brand-soft); color: var(--brand); }

.hs-hero { position: relative; overflow: hidden; padding: 56px 0 64px; background:
  radial-gradient(700px 360px at 85% 0%, rgba(2, 132, 199, .14), transparent 70%),
  radial-gradient(600px 320px at 0% 100%, rgba(13, 148, 136, .14), transparent 70%), #f7fbfb; border-bottom: 1px solid var(--line); }
.hs-lockup { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.hs-lockup .hs-mark { width: 52px; height: 52px; border-radius: 14px; }
.hs-lockup .brand-type { font-size: clamp(32px, 5vw, 44px); color: #0f172a; }
.hs-title { font-size: clamp(28px, 4.4vw, 44px); font-weight: 900; color: #0f172a; line-height: 1.3; margin: 0 0 14px; }
.hs-lead { font-size: 16px; color: #475569; line-height: 1.9; max-width: 640px; margin: 0; }
.hs-badge { display: inline-block; margin: 20px 0 0; padding: 6px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--brand-line); color: var(--brand); font-size: 13px; font-weight: 800; }
.hs-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.hs-cat { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); }
a.hs-cat:hover { border-color: var(--brand); transform: translateY(-2px); }
.hs-cat-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); margin-bottom: 6px; }
.hs-cat strong { font-size: 17px; font-weight: 900; color: #0f172a; }
.hs-cat span:not(.hs-cat-ico) { font-size: 13px; color: var(--sub); }
.hs-cat em { position: absolute; right: 14px; top: 14px; font-style: normal; font-size: 11px; font-weight: 800; padding: 2px 10px; border-radius: 99px; background: var(--bg-2); color: var(--sub); }
.hs-cat.is-soon { opacity: .9; }
.hs-sister { display: grid; gap: 14px; align-items: center; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(135deg, #eef2ff, #fff 60%); }
@media (min-width: 760px) { .hs-sister { grid-template-columns: 1fr auto; } }
.hs-sister-label { font-size: 12px; font-weight: 800; color: #4f46e5; margin: 0 0 4px; }
.hs-sister h2 { font-size: 20px; font-weight: 900; margin: 0 0 6px; }
.hs-sister p { font-size: 14px; color: var(--sub); margin: 0; }
/* --- 悩みカード・写真ヒーローの色（家サイト） --- */
.hc-move { --hc: #0d9488; } .hc-sell { --hc: #0284c7; } .hc-loan { --hc: #7c3aed; } .hc-ins { --hc: #ca8a04; } .hc-rent { --hc: #d97706; } .hc-bolt { --hc: #ca8a04; }
.hb-path.is-soon { opacity: .72; cursor: default; }
.hb-path.is-soon:hover { transform: none; box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .25); border-color: #e5e7f0; }
.hb-path.is-soon .hp-time { background: var(--bg-2); color: var(--sub); }
.ph-move { --tc: #5eead4; } .ph-sellhome { --tc: #7dd3fc; } .ph-loan { --tc: #c4b5fd; }
.ph-move .th-photo .photo { object-position: 50% 40%; }
.ph-sellhome .th-photo .photo { object-position: 40% 50%; }
.ph-loan .th-photo .photo { object-position: 50% 55%; }
.hs-home .hb-photo .photo { object-position: 60% 55%; }

/* --- 入力フォーム --- */
.form-grid { display: grid; gap: 14px; margin: 0 0 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.input-unit { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; }
.input-unit:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.input-unit input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; background: transparent; outline: none; }
.input-unit span { padding: 0 14px; font-size: 13px; font-weight: 700; color: var(--sub); }
.tool-form select { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; background: #fff; }
.tool-form label { display: block; font-size: 13px; font-weight: 800; margin: 0 0 6px; }
.kv-table tr.is-own th, .kv-table tr.is-own td { background: var(--brand-soft); }
.tool-main > .card, .tool-main > section { margin-bottom: 20px; }

/* --- 引越しのやることリスト --- */
.move-date { display: grid; gap: 6px; }
.move-date label { font-size: 13px; font-weight: 800; }
.move-date input { max-width: 260px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 17px; font-weight: 800; }
.move-progress { font-size: 14px; font-weight: 900; color: var(--brand); margin: 4px 0 0; }
.move-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.move-check { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; box-shadow: var(--shadow-sm); }
.move-check input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.move-body { display: flex; flex-direction: column; gap: 3px; }
.move-when { font-size: 12px; font-weight: 800; color: var(--brand); }
.move-when em { font-style: normal; margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: #fee2e2; color: #b91c1c; font-size: 11px; }
.move-body strong { font-size: 16px; font-weight: 900; }
.move-text { font-size: 13px; color: var(--sub); line-height: 1.7; }
.move-item.is-done .move-check { background: var(--bg-2); }
.move-item.is-done strong { text-decoration: line-through; color: var(--sub); }

/* --- トップ：考え方 --- */
.hs-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .hs-points { grid-template-columns: repeat(3, 1fr); } }
.hs-points li { padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.hs-points strong { display: block; font-size: 16px; font-weight: 900; margin: 8px 0 4px; }
.hs-points p { font-size: 13px; color: var(--sub); margin: 0; }
.has-photo .hb-lockup .brand-bar { background: linear-gradient(90deg, #5eead4, #7dd3fc); -webkit-background-clip: text; background-clip: text; }
.has-photo .hb-lead strong { border-bottom-color: #5eead4; }
.has-photo .hb-lockup .hb-mark { box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6); }

/* --- サービス紹介ブロック（ツールページ） --- */
.svc-picks { display: grid; gap: 12px; margin: 14px 0 6px; }
@media (min-width: 760px) { .svc-picks { grid-template-columns: repeat(2, 1fr); } }
.svc-pick { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
.sp-head h3 { font-size: 18px; font-weight: 900; margin: 0; }
.sp-head h3 a { color: var(--navy); text-decoration: none; }
.sp-head small { font-size: 12px; color: var(--sub); }
.sp-summary { font-size: 13px; color: #475569; margin: 0; line-height: 1.7; }
.sp-specs { margin: 0; display: grid; gap: 6px; }
.sp-specs div { display: grid; grid-template-columns: 7.5em 1fr; gap: 8px; font-size: 12px; padding: 6px 0; border-top: 1px dashed var(--line); }
.sp-specs dt { font-weight: 800; color: var(--sub); }
.sp-specs dd { margin: 0; }
.sp-suited { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; font-weight: 700; color: var(--brand); margin: 0; }
.sp-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* --- ネット回線 --- */
.ph-net { --tc: #fcd34d; }
.ph-net .th-photo .photo { object-position: 50% 50%; }
.net-types { display: grid; gap: 10px; margin: 0 0 8px; }
@media (min-width: 760px) { .net-types { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.net-type { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.net-type:hover { border-color: var(--brand); transform: translateY(-2px); }
.net-type small { grid-column: 1; font-size: 12px; color: var(--sub); }
.net-type strong { grid-column: 1; font-size: 18px; font-weight: 900; color: var(--navy); }
.net-type .ico { grid-column: 2; grid-row: 1 / span 2; color: var(--brand); }
.net-sec { scroll-margin-top: 80px; }
#mitsumori, #chintai { scroll-margin-top: 80px; }
/* ===== 新生活の買い物リスト・ジャンル別買取 ===== */
.hc-shop { --hc: #db2777; } .hc-kai { --hc: #16a34a; }
.list-table { width: 100%; border-collapse: collapse; font-size: .92rem; background: #fff; }
.list-table th, .list-table td { padding: .7rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.list-table thead th { background: #f1f5f9; font-size: .82rem; color: var(--sub); }
.list-table tbody th { min-width: 6.5em; }
.table-wrap { max-width: 100%; }
.net-sec { min-width: 0; }
.card-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.list-table td:nth-child(2) { white-space: nowrap; }
@media (max-width: 600px) { .list-table th, .list-table td { padding: .6rem .5rem; font-size: .86rem; } }
