/* ============================================================
   VOYAKA theme — main.css
   左サイドナビ + 白基調 + ネイビー/ゴールドアクセント
   ============================================================ */

:root {
	--navy: #0c1b2a;
	--navy-2: #12283d;
	--ink: #1a2733;
	--muted: #5d6c7b;
	--line: #e3e9ef;
	--bg: #f7f9fb;
	--white: #ffffff;
	--accent: #c9a24b;
	--accent-dark: #a8842f;
	--red: #c0392b;
	--wa: #1da851;
	--sidebar-w: 264px;
	--radius: 10px;
	--font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset (最小限) ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--ink);
	background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font-family: inherit; }

.skip-link {
	position: absolute;
	left: -9999px;
}
.skip-link:focus {
	left: 8px; top: 8px; z-index: 999;
	background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 6px;
}

/* ============================================================
   レイアウト: 左固定サイドバー + メイン
   ============================================================ */

.layout { min-height: 100vh; }

.site-sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	width: var(--sidebar-w);
	background: var(--navy);
	color: rgba(255, 255, 255, 0.85);
	z-index: 100;
	overflow-y: auto;
}
.site-sidebar__inner {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 36px 28px 28px;
}

.site-logo { text-decoration: none; display: block; margin-bottom: 44px; }
.site-logo__img {
	display: block;
	width: 100%;
	max-width: 196px;
	height: auto;
	/* 紺ロゴを白抜きに変換（紺背景用） */
	filter: brightness(0) invert(1);
}
.site-logo__tag {
	display: block;
	margin-top: 10px;
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent);
	text-align: center;
}

.site-nav { flex: 1; }
.site-nav__list { list-style: none; }
.site-nav__list li { margin: 2px 0; }
.site-nav__list a {
	display: block;
	padding: 11px 14px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.78);
	border-left: 3px solid transparent;
	border-radius: 0 6px 6px 0;
	transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.site-nav__list a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.06);
}
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	color: #fff;
	border-left-color: var(--accent);
	background: rgba(255, 255, 255, 0.06);
}

.site-sidebar__contact { margin-top: 36px; }
.site-sidebar__contact-label {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 10px;
}
.contact-links { display: flex; flex-direction: column; gap: 8px; }
.contact-links__item {
	display: block;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: #fff;
	transition: background 0.15s, border-color 0.15s;
}
.contact-links__item:hover { background: rgba(255, 255, 255, 0.08); }
.contact-links__item--wa { border-color: var(--wa); }
.contact-links__item--wa:hover { background: var(--wa); }

.site-main {
	margin-left: var(--sidebar-w);
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-main > section:not(.hero):not(.cta-band) { flex: 0 0 auto; }
.site-footer { margin-top: auto; }

/* ---- モバイルバー ---- */
.mobile-bar {
	display: none;
	position: sticky;
	top: 0;
	z-index: 110;
	align-items: center;
	justify-content: space-between;
	padding: 14px 20px;
	background: var(--navy);
}
.mobile-bar__logo { display: block; text-decoration: none; }
.mobile-bar__logo img {
	display: block;
	height: 34px;
	width: auto;
	filter: brightness(0) invert(1);
}
.mobile-bar__toggle {
	display: inline-flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	padding: 6px;
	cursor: pointer;
}
.mobile-bar__toggle span {
	width: 24px; height: 2px;
	background: #fff;
	transition: transform 0.2s, opacity 0.2s;
}
.mobile-bar__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-bar__toggle.is-open span:nth-child(2) { opacity: 0; }
.mobile-bar__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-overlay {
	position: fixed;
	inset: 0;
	background: rgba(8, 15, 24, 0.55);
	z-index: 90;
}

/* ============================================================
   共通パーツ
   ============================================================ */

.section { padding: 72px 48px; }
.section--tint { background: var(--bg); }
.section__inner { max-width: 1080px; margin: 0 auto; }
.section__inner--narrow { max-width: 760px; }
.section__title {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0.01em;
	margin-bottom: 40px;
	position: relative;
	padding-bottom: 14px;
}
.section__title::after {
	content: "";
	position: absolute;
	left: 0; bottom: 0;
	width: 44px; height: 3px;
	background: var(--accent);
}
.section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}
.section__more {
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	color: var(--accent-dark);
}
.section__more:hover { text-decoration: underline; }
.section__cta { margin-top: 40px; text-align: center; }

.btn {
	display: inline-block;
	padding: 13px 28px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-decoration: none;
	text-align: center;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-2); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: #d8b35e; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #178a43; }
.btn--block { display: block; width: 100%; margin-bottom: 10px; }

/* ============================================================
   ヒーロー
   ============================================================ */

.hero {
	background:
		radial-gradient(900px 420px at 85% -10%, rgba(201, 162, 75, 0.22), transparent 60%),
		linear-gradient(155deg, var(--navy) 0%, var(--navy-2) 70%, #16324a 100%);
	color: #fff;
	padding: 120px 48px;
}
.hero__inner { max-width: 1080px; margin: 0 auto; }
.hero__eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 18px;
}
.hero__title {
	font-size: clamp(32px, 4.5vw, 52px);
	font-weight: 800;
	line-height: 1.18;
	margin-bottom: 22px;
}
.hero__lead {
	max-width: 560px;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__features {
	list-style: none;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 32px;
	padding: 0;
}
.hero__features li {
	font-size: 13.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.88);
	background: rgba(255, 255, 255, 0.07);
	border: 1px solid rgba(255, 255, 255, 0.16);
	padding: 9px 18px;
	border-radius: 999px;
}

/* ============================================================
   特徴 / ステップ
   ============================================================ */

.feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.feature {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 28px;
}
.feature__num {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--accent-dark);
	margin-bottom: 12px;
}
.feature__title { font-size: 18px; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

.steps {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
	counter-reset: step;
}
.steps__item {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 20px;
	position: relative;
}
.steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px; height: 34px;
	border-radius: 50%;
	background: var(--navy);
	color: var(--accent);
	font-weight: 800;
	font-size: 15px;
	margin-bottom: 14px;
}
.steps__item h3 { font-size: 15.5px; margin-bottom: 8px; }
.steps__item p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ============================================================
   車両カード / 一覧
   ============================================================ */

.vehicle-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.vehicle-card {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--white);
	transition: box-shadow 0.18s, transform 0.18s;
}
.vehicle-card:hover {
	box-shadow: 0 10px 28px rgba(12, 27, 42, 0.12);
	transform: translateY(-2px);
}
.vehicle-card__link { display: block; text-decoration: none; color: inherit; }
.vehicle-card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--bg);
	overflow: hidden;
}
.vehicle-card__img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%; height: 100%;
	font-weight: 800;
	letter-spacing: 0.2em;
	color: #c6d0da;
	font-size: 20px;
}
.vehicle-card__sold {
	position: absolute;
	top: 12px; left: -34px;
	transform: rotate(-35deg);
	background: var(--red);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 5px 40px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
.vehicle-card__sold--lg { font-size: 15px; top: 22px; left: -30px; padding: 7px 52px; }
.vehicle-card.is-sold .vehicle-card__img { filter: grayscale(0.55) brightness(0.92); }

.vehicle-card__body { padding: 18px 20px 20px; }
.vehicle-card__maker {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin-bottom: 6px;
}
.vehicle-card__title { font-size: 16.5px; margin-bottom: 6px; }
.vehicle-card__meta { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.vehicle-card__price { font-size: 20px; font-weight: 800; color: var(--navy); margin: 0; }

.pagination { margin-top: 48px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 6px; }
.pagination .page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ============================================================
   車両詳細
   ============================================================ */

.breadcrumbs { margin-bottom: 24px; font-size: 14px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--ink); }

.vehicle-single__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 40px;
	align-items: start;
}
.vehicle-single__main {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--bg);
}
.vehicle-single__img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-single__main.is-sold .vehicle-single__img { filter: grayscale(0.55) brightness(0.92); }
.vehicle-single__thumbs {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 12px;
}
.vehicle-thumb {
	display: block;
	padding: 0;
	border: 2px solid var(--line);
	border-radius: 6px;
	overflow: hidden;
	cursor: pointer;
	background: none;
}
.vehicle-thumb:hover, .vehicle-thumb.is-active { border-color: var(--accent); }
.vehicle-thumb img { width: 76px; height: 76px; object-fit: cover; display: block; }

.vehicle-single__title { font-size: 28px; margin-bottom: 8px; }
.vehicle-single__price {
	font-size: 30px;
	font-weight: 800;
	color: var(--navy);
	margin-bottom: 24px;
}
.vehicle-single__price.is-sold { color: var(--red); }

.spec-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 28px;
	font-size: 15px;
}
.spec-table th, .spec-table td {
	padding: 11px 4px;
	border-bottom: 1px solid var(--line);
	text-align: left;
}
.spec-table th { color: var(--muted); font-weight: 600; width: 40%; }
.spec-table td { font-weight: 700; }

.vehicle-single__desc { margin-top: 56px; max-width: 760px; }
.vehicle-single__desc h2 { font-size: 22px; }

/* ============================================================
   ページ共通ヘッダー / 本文 / CTA帯 / フッター
   ============================================================ */

.page-head {
	background: linear-gradient(155deg, var(--navy), var(--navy-2));
	color: #fff;
	padding: 64px 48px;
}
.page-head__inner { max-width: 1080px; margin: 0 auto; }
.page-head__title { font-size: 34px; font-weight: 800; margin: 0; }
.page-head__lead { margin: 12px 0 0; color: rgba(255, 255, 255, 0.8); max-width: 620px; }
.page-head__lead a { color: var(--accent); }

.prose { font-size: 16px; }
.prose h2 { font-size: 24px; margin-top: 2em; }
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1em; }
.prose a { color: var(--accent-dark); }

.empty-note { color: var(--muted); }
.empty-note a { color: var(--accent-dark); font-weight: 700; }

.cta-band {
	background:
		radial-gradient(700px 300px at 15% 120%, rgba(201, 162, 75, 0.25), transparent 60%),
		linear-gradient(155deg, var(--navy-2), var(--navy));
	color: #fff;
	padding: 72px 48px;
	text-align: center;
}
.cta-band__title { font-size: 28px; font-weight: 800; }
.cta-band__text { color: rgba(255, 255, 255, 0.8); margin-bottom: 28px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.site-footer {
	background: var(--bg);
	border-top: 1px solid var(--line);
	padding: 48px 48px 28px;
}
.site-footer__inner {
	max-width: 1080px;
	margin: 0 auto 28px;
	display: flex;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}
.site-footer__logo { margin-bottom: 10px; }
.site-footer__logo img { display: block; height: 44px; width: auto; }
.site-footer__desc { color: var(--muted); font-size: 14px; max-width: 340px; }
.site-footer__list { list-style: none; display: flex; gap: 20px; flex-wrap: wrap; }
.site-footer__list a {
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	color: var(--muted);
}
.site-footer__list a:hover { color: var(--ink); }
.site-footer__copy {
	max-width: 1080px;
	margin: 0 auto;
	font-size: 12.5px;
	color: var(--muted);
}

/* ============================================================
   問い合わせフォーム / Contactページ
   ============================================================ */

.contact-grid {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 48px;
	align-items: start;
}
.contact-heading { font-size: 20px; margin-bottom: 20px; }

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 20px;
	margin-bottom: 24px;
}
.form-field { margin: 0; }
.form-field--wide { grid-column: 1 / -1; }
.form-field label {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
	width: 100%;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	border: 1px solid #c9d4de;
	border-radius: 8px;
	background: var(--white);
	color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
	outline: 2px solid var(--navy);
	outline-offset: 0;
	border-color: var(--navy);
}
.req { color: var(--red); }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.vc-hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.notice {
	padding: 16px 18px;
	border-radius: 8px;
	margin-bottom: 24px;
	font-size: 15px;
}
.notice--ok { background: #e8f6ee; border: 1px solid #9ed8b5; color: #14522f; }
.notice--ng { background: #fdeceb; border: 1px solid #f0b3ae; color: #7a1f18; }

.channel-cards { display: flex; flex-direction: column; gap: 12px; }
.channel-card {
	display: block;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	transition: box-shadow 0.15s, transform 0.15s;
}
.channel-card:hover { box-shadow: 0 8px 20px rgba(12, 27, 42, 0.1); transform: translateY(-1px); }
.channel-card__name { display: block; font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.channel-card__name--wa { color: var(--wa); }
.channel-card__name--ig { color: #c13584; }
.channel-card__desc { display: block; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   Auctionページ: タイムライン / リスト / FAQ
   ============================================================ */

.timeline { list-style: none; position: relative; padding-left: 34px; }
.timeline::before {
	content: "";
	position: absolute;
	left: 10px; top: 8px; bottom: 8px;
	width: 2px;
	background: var(--line);
}
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
	content: "";
	position: absolute;
	left: -30px; top: 7px;
	width: 14px; height: 14px;
	border-radius: 50%;
	background: var(--accent);
	border: 3px solid var(--white);
	box-shadow: 0 0 0 2px var(--accent);
}
.timeline__item h3 { font-size: 18px; margin-bottom: 8px; }
.timeline__item p { color: var(--muted); margin: 0; }
.timeline__item a { color: var(--accent-dark); font-weight: 700; }

.check-list { list-style: none; margin-bottom: 1em; }
.check-list li {
	position: relative;
	padding-left: 30px;
	margin-bottom: 10px;
}
.check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent-dark);
	font-weight: 800;
}
.fine-print { font-size: 13.5px; color: var(--muted); }

.faq {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 12px;
	overflow: hidden;
}
.faq summary {
	padding: 18px 22px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
	position: relative;
	padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "+";
	position: absolute;
	right: 20px; top: 50%;
	transform: translateY(-50%);
	font-size: 22px;
	font-weight: 400;
	color: var(--accent-dark);
}
.faq[open] summary::after { content: "−"; }
.faq[open] summary { border-bottom: 1px solid var(--line); }
.faq p { padding: 16px 22px; margin: 0; color: var(--muted); }
.faq a { color: var(--accent-dark); font-weight: 700; }

/* ============================================================
   レスポンシブ
   ============================================================ */

@media (max-width: 1024px) {
	.mobile-bar { display: flex; }

	.site-sidebar {
		transform: translateX(-100%);
		transition: transform 0.25s ease;
		width: 300px;
		max-width: 84vw;
	}
	.site-sidebar.is-open { transform: translateX(0); }
	.site-sidebar__inner { padding-top: 84px; }
	.site-main { margin-left: 0; }

	.section, .hero, .page-head, .cta-band { padding-left: 24px; padding-right: 24px; }
	.hero { padding-top: 72px; padding-bottom: 72px; }
	.section { padding-top: 56px; padding-bottom: 56px; }

	.feature-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
	.form-grid { grid-template-columns: 1fr; }
	.vehicle-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.vehicle-single__grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 560px) {
	.vehicle-grid { grid-template-columns: 1fr; }
	.steps { grid-template-columns: 1fr; }
	.hero__title { font-size: 30px; }
	.section__title { font-size: 24px; }
}
