/* 全面の写真、大きな車名、余白。色は黒・白・灰だけで、強調は文字の大きさで付ける */
:root {
  --white: #ffffff;
  --mist: #eeeff2;
  --line: #d8d8db;
  --grey: #6b6d70;
  --black: #010205;
  --shade: rgba(1, 2, 5, .55);
  --f-latin: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  --wrap: 1440px;
  --gut: clamp(16px, 4vw, 64px);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--black); font-family: var(--f-latin), var(--f-ja); font-size: 16px; line-height: 1.75; font-weight: 400; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.latin { font-family: var(--f-latin); font-stretch: 85%; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.15; text-wrap: balance; }
.fig { font-family: var(--f-latin); font-variant-numeric: tabular-nums; }

/* ボタン：角は小さく丸め、黒地と白枠の 2 種類だけ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 4px; border: 2px solid var(--black); background: var(--black); color: var(--white); font: 500 15px var(--f-ja); cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: #2a2b2e; border-color: #2a2b2e; }
.btn.light { background: var(--white); color: var(--black); border-color: var(--white); }
.btn.light:hover { background: var(--line); border-color: var(--line); }
.btn.outline { background: transparent; color: var(--black); }
.btn.outline:hover { background: var(--black); color: var(--white); }
.btn.outline.on-dark { color: var(--white); border-color: var(--white); }
.btn.outline.on-dark:hover { background: var(--white); color: var(--black); }
.arrow::after { content: ""; width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

/* ヘッダー：写真の上に透明で載る */
.bar { position: absolute; z-index: 20; left: 0; right: 0; top: 0; color: var(--white); }
.bar .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; }
.bar .menu { display: flex; gap: 28px; font-size: 14px; }
.bar .menu a { opacity: .9; }
.bar .menu a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.wordmark { font-family: var(--f-latin); font-weight: 600; font-stretch: 125%; letter-spacing: .42em; font-size: 20px; padding-left: .42em; }
.bar .tools { justify-self: end; display: flex; gap: 24px; font-size: 14px; }
@media (max-width: 860px) { .bar .menu a:not(:first-child), .bar .tools a:not(:last-child) { display: none; } .wordmark { font-size: 15px; letter-spacing: .3em; } }

/* ヒーロー */
.hero { position: relative; height: min(100svh, 920px); min-height: 560px; background: var(--black); color: var(--white); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 60%; animation: settle 2.4s cubic-bezier(.2,.6,.2,1) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(1,2,5,.55) 0, rgba(1,2,5,0) 22%, rgba(1,2,5,0) 45%, rgba(1,2,5,.78) 100%); }
.hero .copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: clamp(40px, 7vh, 80px); }
.hero .kicker { font-size: 14px; letter-spacing: .08em; opacity: .85; }
.hero h1 { font-family: var(--f-latin); font-weight: 500; font-stretch: 80%; font-size: clamp(64px, 12vw, 176px); letter-spacing: -.02em; line-height: .95; margin: 6px 0 14px; }
.hero p { margin: 0 0 28px; max-width: 30em; font-size: clamp(16px, 1.4vw, 19px); font-weight: 300; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* 見出し */
section { padding-block: clamp(64px, 9vw, 128px); }
.title { font-size: clamp(30px, 4.2vw, 56px); font-weight: 400; letter-spacing: -.01em; }
.lead { color: var(--grey); max-width: 38em; margin: 16px 0 0; font-size: 17px; font-weight: 300; }

/* モデル選択 */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 40px 0 28px; }
.filters button { border: 1px solid var(--line); background: var(--white); border-radius: 4px; padding: 8px 18px; font-size: 14px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.models { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .models { grid-template-columns: 1fr; } }
.model { background: var(--mist); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.model[hidden] { display: none; }
.model .shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--black); }
.model .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.model:hover .shot img { transform: scale(1.045); }
.plate { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 120%, #2b2d33 0, var(--black) 60%); }
.plate span { font-family: var(--f-latin); font-weight: 500; font-stretch: 75%; font-size: clamp(90px, 13vw, 170px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); letter-spacing: -.02em; }
.model .txt { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.model .tag { font-size: 13px; color: var(--grey); display: flex; gap: 10px; align-items: center; }
.model .tag b { font-weight: 500; font-size: 11px; letter-spacing: .08em; background: var(--black); color: var(--white); padding: 2px 8px; border-radius: 3px; }
.model h3 { font-size: 30px; font-weight: 500; }
.model dl { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 4px 28px; margin: 4px 0 0; }
.model dt { font-size: 12px; color: var(--grey); order: 2; }
.model dd { margin: 0; order: 1; font-family: var(--f-latin); font-size: 22px; font-weight: 500; }
.model dl div { display: flex; flex-direction: column; }
.model .price { margin-top: auto; padding-top: 8px; font-size: 14px; color: var(--grey); }
.model .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.model .acts .btn { flex: 1 1 140px; min-height: 46px; padding: 0 18px; }

/* モデル詳細：黒い面に数字を大きく */
.detail { background: var(--black); color: var(--white); padding-block: 0; }
.detail .stage { position: relative; height: clamp(360px, 52vw, 720px); overflow: hidden; }
.detail .stage img, .detail .stage .plate { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail .stage .plate span { font-size: clamp(160px, 30vw, 420px); -webkit-text-stroke-width: 2px; }
.detail .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(1,2,5,0) 50%, var(--black)); }
.detail .head { position: relative; z-index: 2; margin-top: clamp(-180px, -12vw, -80px); }
.switch { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 24px; }
.switch button { background: transparent; border: 1px solid rgba(255,255,255,.35); border-radius: 4px; padding: 8px 16px; font-size: 14px; cursor: pointer; color: var(--white); }
.switch button[aria-selected="true"] { background: var(--white); color: var(--black); border-color: var(--white); }
.detail h2 { font-family: var(--f-latin); font-weight: 500; font-stretch: 80%; font-size: clamp(56px, 9vw, 128px); letter-spacing: -.02em; line-height: .95; }
.detail .sub { color: #b0b2b7; margin: 14px 0 0; max-width: 34em; font-weight: 300; font-size: 17px; }
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
@media (max-width: 900px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.figures div { border-top: 1px solid rgba(255,255,255,.25); padding-top: 18px; }
.figures b { display: block; font-family: var(--f-latin); font-weight: 400; font-stretch: 90%; font-size: clamp(40px, 5vw, 68px); line-height: 1; letter-spacing: -.01em; }
.figures b small { font-size: .38em; margin-left: 6px; letter-spacing: 0; }
.figures span { display: block; margin-top: 10px; font-size: 13px; color: #b0b2b7; }
.foot-note { font-size: 12px; color: #8b8d92; padding-bottom: 48px; margin: -40px 0 0; }

/* 特集タイル */
.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 48px; }
.tile { position: relative; border-radius: 12px; overflow: hidden; color: var(--white); background: var(--black); min-height: 380px; grid-column: span 6; }
.tile.wide { grid-column: span 12; min-height: 520px; }
.tile.third { grid-column: span 4; }
.tile.two { grid-column: span 8; }
@media (max-width: 900px) { .tile, .tile.third, .tile.two { grid-column: span 12; min-height: 340px; } .tile.wide { min-height: 400px; } }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.tile:hover img { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(1,2,5,.8), rgba(1,2,5,0) 60%); }
.tile .in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(22px, 3vw, 40px); }
.tile .in small { font-size: 13px; opacity: .8; }
.tile h3 { font-size: clamp(22px, 2.4vw, 34px); margin: 6px 0 8px; font-weight: 400; }
.tile p { margin: 0; max-width: 32em; font-size: 15px; font-weight: 300; color: #dfe0e3; }
.key { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; font-family: var(--f-latin); font-size: 14px; margin-right: 6px; }

/* 比較 */
.compare-wrap { overflow-x: auto; margin-top: 40px; }
table.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
table.compare th, table.compare td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
table.compare thead th { font-size: 22px; font-weight: 500; border-bottom: 2px solid var(--black); padding-top: 0; }
table.compare tbody th { font-weight: 400; color: var(--grey); width: 25%; font-size: 14px; }
table.compare td { font-family: var(--f-latin), var(--f-ja); font-variant-numeric: tabular-nums; }
table.compare td .u { font-size: 12px; color: var(--grey); margin-left: 4px; font-family: var(--f-ja); }
table.compare tr.sec th { color: var(--black); font-weight: 700; font-size: 13px; letter-spacing: .04em; padding-top: 36px; }
.note { font-size: 12px; color: var(--grey); margin-top: 18px; max-width: 70em; }

/* 販売店 */
.dealer { background: var(--mist); }
.dealer .grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .dealer .grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: 12px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.card h3 { font-size: 24px; font-weight: 500; }
.card dl { margin: 0; display: grid; grid-template-columns: 7em 1fr; gap: 12px 16px; font-size: 15px; }
.card dt { color: var(--grey); font-size: 13px; }
.card dd { margin: 0; }
form { display: grid; gap: 14px; margin-top: 28px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--grey); }
input, select { width: 100%; font: 400 16px var(--f-ja); padding: 14px 14px; border: 2px solid var(--line); border-radius: 4px; background: var(--white); color: var(--black); }
input:focus, select:focus { border-color: var(--black); outline: none; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; } }
.done { font-size: 14px; padding: 14px 16px; border-radius: 4px; background: var(--black); color: var(--white); }

footer { background: var(--black); color: #b0b2b7; font-size: 14px; }
footer .wrap { padding-block: 72px 40px; display: grid; gap: 48px; }
footer .cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 800px) { footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
footer h4 { color: var(--white); font-weight: 500; font-size: 15px; margin: 0 0 14px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a:hover { color: var(--white); }
footer .legal { border-top: 1px solid #2a2b2e; padding-top: 28px; font-size: 12px; color: #8b8d92; display: grid; gap: 8px; }
footer .wordmark { color: var(--white); }
