:root { --ink:#0a0d12; --ink2:#11161d; --line-d:rgba(255,255,255,.1); --txt-d:#aab4c0;
  --bg:#f4f6f9; --line:#e2e6ec; --text:#10151c; --sub:#5d6875; --pale:#f0f5fb;
  --blue2:#2f7fe0; --cyan:#3fd0f2; --grad:linear-gradient(90deg, #2f7fe0, #3fd0f2); }
* { box-sizing:border-box; }
[hidden] { display:none !important; }
html { -webkit-text-size-adjust:100%; }
body { margin:0; background:var(--bg); color:var(--text); font-size:14px; -webkit-font-smoothing:antialiased;
  font-family:"Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", Meiryo, sans-serif; }
.wrap { max-width:820px; margin:0 auto; }
a { color:inherit; }
button, select, input { font-family:inherit; color:inherit; }
.caset .tot b, .caset .bs b, .bar b, .dprice b, .spec span { font-family:"Montserrat", "Noto Sans JP", sans-serif; }

/* 上の帯 */
.top { background:var(--ink); border-bottom:1px solid var(--line-d); position:sticky; top:0; z-index:5; }
.top .wrap { display:flex; align-items:center; justify-content:space-between; padding:11px 16px; }
.top a { display:block; }
.top img { height:34px; width:auto; display:block; }
.top span { font-size:11px; color:var(--txt-d); letter-spacing:.04em; }

/* さがす */
.search { background:#fff; border:1px solid var(--line); border-radius:14px; margin:14px 12px 12px; overflow:hidden; }
.search h1 { margin:0; font-size:16px; font-weight:900; background:var(--ink); color:#fff; padding:13px 16px; position:relative; }
.search h1::after { content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background:var(--grad); }
.search .row { display:flex; align-items:center; border-top:1px solid var(--line); min-height:52px; }
.search .row:first-of-type { border-top:0; }
.search label { width:5.8em; flex:none; background:var(--pale); align-self:stretch; display:flex; align-items:center; padding:0 0 0 14px; font-size:12px; font-weight:700; color:var(--sub); }
.search .f { flex:1; display:flex; align-items:center; gap:6px; padding:8px 10px; min-width:0; }
.search select, .search input { flex:1; min-width:0; width:100%; font-size:16px; padding:9px 9px; border:1px solid #cdd4dd; border-radius:8px; background:#fff; }
.search .go { padding:12px; border-top:1px solid var(--line); display:flex; gap:10px; align-items:center; }
.search .go button.find { flex:1; background:var(--grad); color:#fff; border:0; border-radius:10px; font-size:16px; font-weight:700; padding:14px; cursor:pointer; box-shadow:0 6px 18px rgba(47,127,224,.3); }
.search .go button.clear { background:none; border:0; color:var(--sub); font-size:13px; padding:8px 4px; cursor:pointer; text-decoration:underline; }

/* 結果 */
.bar { display:flex; align-items:center; justify-content:space-between; padding:8px 16px 10px; scroll-margin-top:64px; }
.bar p { margin:0; font-size:13px; color:var(--sub); }
.bar b { font-size:26px; font-weight:700; color:var(--text); margin-right:3px; letter-spacing:-.02em; }
.bar select { font-size:14px; padding:8px 8px; border:1px solid #cdd4dd; border-radius:8px; background:#fff; }
.list { padding:0 12px; }
.caset { display:block; width:100%; text-align:left; text-decoration:none; color:inherit; background:#fff; border:1px solid var(--line); border-radius:14px; margin:0 0 12px; padding:0; overflow:hidden; transition:box-shadow .15s, transform .15s; }
.caset:hover { box-shadow:0 10px 24px rgba(16,21,28,.1); transform:translateY(-1px); }
.caset .ttl { padding:11px 14px 9px; border-bottom:1px solid var(--line); }
.caset .mk { font-size:11px; color:var(--sub); display:flex; justify-content:space-between; }
.caset .nm { margin:0; font-size:16px; font-weight:700; line-height:1.4; }
.caset .mid { display:flex; gap:14px; padding:12px 14px; }
.caset .ph { width:46%; height:auto; flex:none; aspect-ratio:4/3; object-fit:cover; border-radius:8px; background:#e9edf2; display:block; }
.caset .pr { flex:1; min-width:0; display:flex; flex-direction:column; justify-content:center; }
.caset .pr small { font-size:11px; color:var(--sub); display:block; }
.caset .pr .tot { font-weight:700; font-size:13px; line-height:1.1; margin:2px 0 10px; white-space:nowrap; }
.caset .pr .tot b { font-size:31px; letter-spacing:-.03em; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.caset .pr .bs { font-size:12px; color:var(--sub); }
.caset .pr .bs b { font-size:16px; color:var(--text); }
.spec { display:grid; grid-template-columns:repeat(4, 1fr); border-top:1px solid var(--line); background:#fafbfc; }
.spec div { padding:8px 4px 9px; text-align:center; border-left:1px solid var(--line); min-width:0; }
.spec div:first-child { border-left:0; }
.spec small { display:block; font-size:10px; color:var(--sub); margin-bottom:2px; }
.spec span { font-size:13px; font-weight:600; display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.more { display:block; margin:4px auto 0; background:#fff; border:1px solid var(--text); color:var(--text); border-radius:10px; font-size:15px; font-weight:700; padding:13px 30px; cursor:pointer; text-align:center; }
.empty { text-align:center; color:var(--sub); padding:40px 16px; line-height:1.8; }
.empty p { margin:0 0 16px; }
.ask { display:inline-block; background:#06c755; color:#fff; font-weight:700; font-size:16px; text-decoration:none; padding:14px 28px; border-radius:10px; }
.asof { font-size:12px; color:var(--sub); text-align:center; margin:18px 0 0; }

/* 下の案内 */
.box { background:#fff; border:1px solid var(--line); border-radius:14px; margin:24px 12px 0; overflow:hidden; }
.box h2 { margin:0; font-size:15px; font-weight:900; padding:13px 16px; border-bottom:1px solid var(--line); position:relative; }
.box h2::before { content:""; position:absolute; left:0; top:13px; bottom:13px; width:3px; background:var(--grad); }
.steps { list-style:none; margin:0; padding:4px 16px; counter-reset:s; }
.steps li { counter-increment:s; display:flex; align-items:center; gap:14px; padding:12px 0; border-top:1px solid var(--line); font-size:15px; }
.steps li:first-child { border-top:0; }
.steps li::before { content:"0" counter(s); flex:none; font-family:"Montserrat", sans-serif; font-weight:700; font-size:13px; letter-spacing:.08em; color:var(--blue2); }
.box p { margin:0; padding:14px 16px 0; line-height:1.7; }
.box .btn { display:block; margin:14px 16px 16px; text-align:center; text-decoration:none; font-weight:700; font-size:15px; padding:13px; border-radius:10px; background:var(--ink); color:#fff; }
footer { text-align:center; font-size:11px; color:var(--sub); padding:26px 0 36px; }

/* 1台のページ */
.dhead { background:#fff; border-bottom:1px solid var(--line); }
.dhead a { display:inline-block; font-size:14px; font-weight:700; color:var(--blue2); padding:12px 16px; text-decoration:none; }
.dbody { padding-bottom:110px; }
.dttl { background:#fff; padding:14px 16px; border-bottom:1px solid var(--line); }
.dttl .mk { font-size:12px; color:var(--sub); }
.dttl h1 { font-size:21px; font-weight:900; margin:2px 0 0; line-height:1.35; }
.photos { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; background:var(--ink); scrollbar-width:none; }
.photos::-webkit-scrollbar { display:none; }
.photos img { flex:0 0 100%; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; scroll-snap-align:center; }
.count { text-align:right; font-size:12px; color:var(--sub); padding:6px 16px 0; min-height:22px; font-family:"Montserrat", sans-serif; }
.dprice { background:var(--ink); color:#fff; border-radius:14px; margin:6px 12px 0; display:flex; }
.dprice div { flex:1; padding:14px 16px; }
.dprice div + div { border-left:1px solid var(--line-d); }
.dprice small { display:block; font-size:11px; color:var(--txt-d); }
.dprice .tot b { font-size:34px; font-weight:700; letter-spacing:-.03em; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.dprice .bs b { font-size:22px; font-weight:700; }
table { width:calc(100% - 24px); margin:12px; border-collapse:separate; border-spacing:0; background:#fff; border:1px solid var(--line); border-radius:14px; overflow:hidden; font-size:14px; }
th, td { border-top:1px solid var(--line); padding:12px 14px; text-align:left; }
tr:first-child th, tr:first-child td { border-top:0; }
th { background:var(--pale); width:7.5em; font-weight:700; font-size:12px; color:var(--sub); }
.cta { position:fixed; left:0; right:0; bottom:0; padding:10px 14px calc(10px + env(safe-area-inset-bottom)); background:rgba(10,13,18,.92); backdrop-filter:blur(10px); z-index:3; }
.cta a { display:block; max-width:792px; margin:0 auto; background:#06c755; color:#fff; text-align:center; text-decoration:none; font-size:17px; font-weight:700; padding:15px; border-radius:10px; }


/* 車種から探す */
.models { background:#fff; border:1px solid var(--line); border-radius:14px; margin:0 12px 12px; padding:14px 14px 12px; }
.models h2 { margin:0 0 10px; font-size:14px; font-weight:900; }
.mlist { display:flex; flex-wrap:wrap; gap:8px; }
.mlist button { border:1px solid #cdd4dd; background:#fff; border-radius:999px; font-size:14px; padding:8px 14px; cursor:pointer; color:var(--sub); }
.mlist button.has { color:var(--text); font-weight:700; border-color:var(--text); }
.mlist button[aria-pressed="true"] { background:var(--ink); color:#fff; border-color:var(--ink); }

.search .checks { gap:18px; flex-wrap:wrap; }
.search .checks label { width:auto; background:none; padding:0; font-size:15px; font-weight:500; color:var(--text); gap:6px; cursor:pointer; }
.search .checks input { flex:none; width:18px; height:18px; padding:0; }
