@charset "UTF-8";
/* ========================================
   車両詳細ページ（vehicle-sample）
   article-sample.html のレイアウトを継承
   WP業者への指示書用
   ======================================== */
/*
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Sans', sans-serif;
	background-color: #0a0f0a;
	color: #e8e8e8;
	line-height: 1.8;
	min-height: 100vh;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}
*/
main {
	background: #0a0f0a;
	min-height: 100vh;
}

.wide-container {
	max-width: 1440px;
	margin-inline: auto;
}

/* ========================================
   ページヘッダー（article-sample継承）
   ======================================== */
.contents-hero {
	display: block;
	width: 100%;
	padding: 8vh 7.5vw 0;
}

.contents-title {
	font-family: 'Spartan', sans-serif;
	font-size: 6vw;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.1em;
}

.contents-subtitle {
	font-family: 'Spartan', sans-serif;
	font-size: 3.5vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.15em;
	margin-top: 2vh;
}

.contents-description {
	font-family: 'Yu Gothic', 'YuGothic', sans-serif;
	font-size: 3.5vw;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	line-height: 2;
	margin-top: 2vh;
}

/* ========================================
   メインコンテナ（article-sample継承）
   スマホ：縦並び
   ======================================== */
.vehicle-container {
	display: flex;
	flex-direction: column;
	padding: 0 7.5vw 10vh;
	gap: 6vh;
	margin-top: 4vh;
}

/* ========================================
   左カラム：ギャラリー（メイン）
   ======================================== */
.vehicle-main {
	width: 100%;
	padding: 0;
}

/* メイン画像エリア - 4:3比率 */
.gallery-main {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 3vw;
}

.gallery-main-track {
	display: flex;
	height: 100%;
	transition: transform 0.4s ease;
}

.gallery-main-slide {
	min-width: 100%;
	height: 100%;
}

.gallery-main-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* カルーセルナビ（auto-couture継承） */
.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 50px;
	height: 50px;
	background: rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s ease;
	z-index: 10;
}

.gallery-nav:hover {
	background: rgba(0, 0, 0, 0.8);
}

.gallery-nav svg {
	width: 24px;
	height: 24px;
}

.gallery-nav-prev {
	left: 2vw;
}

.gallery-nav-next {
	right: 2vw;
}

/* サムネイルエリア - 4:3比率 */
.gallery-thumbnails {
	position: relative;
}

.gallery-thumbnails-track {
	display: flex;
	gap: 2vw;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 2vw 0;
}

.gallery-thumbnails-track::-webkit-scrollbar {
	display: none;
}

.gallery-thumbnail {
	min-width: 22vw;
	aspect-ratio: 4 / 3;
	cursor: pointer;
	border: 2px solid transparent;
	opacity: 0.5;
	transition: all 0.3s ease;
	scroll-snap-align: start;
}

.gallery-thumbnail.active {
	border-color: rgba(255, 255, 255, 0.8);
	opacity: 1;
}

.gallery-thumbnail:hover {
	opacity: 0.8;
}

.gallery-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* 相談するボタン */
.gallery-cta-btn {
	margin-top: 4vh;
	color: #FFF;
}

/* 一覧を見る */
.gallery-back-link {
	display: flex;
	margin-top: 5vh;
	color: #FFF;
}

/* ========================================
   右カラム：スペック（サイドバー）
   ======================================== */
.vehicle-sidebar {
	width: 100%;
}

.vehicle-info {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.1);
	padding: 6vw;
}

/* ブランド名 */
.vehicle-brand {
	font-family: 'Spartan', sans-serif;
	font-size: 3.5vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
	letter-spacing: 0.15em;
	margin-bottom: 1vh;
}

/* 車名 */
.vehicle-name {
	font-family: 'Spartan', sans-serif;
	font-size: 6vw;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.05em;
	line-height: 1.3;
	margin-bottom: 3vh;
}

/* 基本情報（年式・走行） */
.vehicle-basic-info {
	display: flex;
	gap: 6vw;
	padding-bottom: 3vh;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 4vh;
}

.vehicle-basic-item {
	display: flex;
	flex-direction: column;
	gap: 0.5vh;
}

.vehicle-basic-label {
	font-family: 'Spartan', sans-serif;
	font-size: 2.5vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.1em;
}

.vehicle-basic-value {
	font-family: 'Spartan', sans-serif;
	font-size: 4.5vw;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.05em;
}

/* SPECセクション */
.vehicle-spec {
	margin-bottom: 4vh;
}

.vehicle-spec-title {
	font-family: 'Spartan', sans-serif;
	font-size: 4vw;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	letter-spacing: 0.15em;
	margin-bottom: 3vh;
	padding-bottom: 1.5vh;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.vehicle-spec-group {
	margin-bottom: 3vh;
}

.vehicle-spec-group-title {
	font-family: 'Spartan', sans-serif;
	font-size: 3vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.1em;
	margin-bottom: 1.5vh;
}

.vehicle-spec-list {
	list-style: none;
}

.vehicle-spec-item {
	font-family: 'Yu Gothic', 'YuGothic', sans-serif;
	font-size: 3.5vw;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.8;
	padding: 1vh 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.vehicle-spec-item:last-child {
	border-bottom: none;
}

/* 価格 */
.vehicle-price {
	margin-bottom: 4vh;
}

.vehicle-price-label {
	font-family: 'Spartan', sans-serif;
	font-size: 2.5vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.1em;
	margin-bottom: 0.5vh;
}

.vehicle-price-value {
	font-family: 'Spartan', sans-serif;
	font-size: 6vw;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.02em;
}

.vehicle-price-tax {
	font-size: 3vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.6);
	margin-left: 1vw;
}

/* ボタンエリア */
.vehicle-buttons {
	display: flex;
	gap: 3vw;
	margin-bottom: 4vh;
}

.vehicle-btn {
	flex: 1;
	padding: 2vh 0;
	text-align: center;
	font-family: 'Spartan', sans-serif;
	font-size: 3.5vw;
	font-weight: 500;
	letter-spacing: 0.1em;
	border: 1px solid;
	transition: all 0.3s ease;
	cursor: pointer;
}

.vehicle-btn-sold {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.6);
}

.vehicle-btn-custom {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.5);
	color: #fff;
}

.vehicle-btn-custom:hover {
	background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   本文（post_content）：ABOUT / SPECIFICATION / EQUIPMENT
   ======================================== */
.vehicle-description {
	padding: 6vh 7.5vw;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vehicle-description-title {
	font-family: 'Spartan', sans-serif;
	font-size: 4vw;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	letter-spacing: 0.15em;
	margin-bottom: 3vh;
}

.vehicle-description-text {
	font-size: 3.5vw;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.7);
	line-height: 2.2;
	max-width: 800px;
}

.vehicle-detail-specs {
	padding: 6vh 7.5vw;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-spec-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	max-width: 900px;
}

.detail-spec-row {
	display: flex;
	padding: 1.5vh 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-spec-label {
	width: 35%;
	font-size: 3vw;
	color: rgba(255, 255, 255, 0.4);
	letter-spacing: 0.05em;
	flex-shrink: 0;
}

.detail-spec-value {
	font-size: 3.5vw;
	color: rgba(255, 255, 255, 0.85);
	font-weight: 400;
}

.vehicle-equipment {
	padding: 6vh 7.5vw;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.equip-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4vh;
	margin-top: 3vh;
}

.equip-category-title {
	font-family: 'Spartan', sans-serif;
	font-size: 3vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.12em;
	margin-bottom: 1.5vh;
	padding-bottom: 1vh;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.equip-list {
	list-style: none;
}

.equip-list li {
	font-size: 3.5vw;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.75);
	line-height: 1.8;
	padding: 0.8vh 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.equip-list li:last-child {
	border-bottom: none;
}

/* ========================================
   本文コンテンツラッパー
   ======================================== */
.stock-post-content {
	padding: 0 7.5vw 4vh;
	color: rgba(255, 255, 255, 0.8);
	font-size: 3.5vw;
	line-height: 2;
}

.stock-post-content p {
	margin-bottom: 1.5em;
}

/* ========================================
   関連記事セクション
   ======================================== */
.related-section {
	padding: 0 7.5vw 10vh;
}

.related-section::before {
	content: '';
	display: block;
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	margin-bottom: 8vh;
}

.related-title {
	font-family: 'Spartan', sans-serif;
	font-size: 6vw;
	font-weight: 500;
	color: #fff;
	letter-spacing: 0.1em;
}

.related-description {
	font-family: 'Yu Gothic', 'YuGothic', sans-serif;
	font-size: 3.5vw;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.8;
	margin-top: 2vh;
}

/* 記事カードグリッド（スマホ：横スクロール） */
.article-cards {
	display: flex;
	flex-direction: row;
	gap: 4vw;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 2vh;
	margin-top: 4vh;
	margin-right: -7.5vw;
	padding-right: 7.5vw;
}

.article-cards::-webkit-scrollbar {
	display: none;
}

.article-cards {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* 記事カード（contents-sample準拠） */
.article-card {
	display: flex;
	flex-direction: column;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	flex-shrink: 0;
	width: 80vw;
	scroll-snap-align: start;
}

.article-card:hover .article-card-image img {
	transform: scale(1.05);
}

/* 画像エリア */
.article-card-image {
	position: relative;
	width: 100%;
	padding-bottom: 75%; /* 4:3 アスペクト比 */
	overflow: hidden;
	display: block;
}

.article-card-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

/* コンテンツエリア */
.article-card-body {
	padding: 3vh 4vw 4vh;
	display: flex;
	flex-direction: column;
}

/* タイトル（下線付き） */
.article-card-title {
	font-family: 'Spartan', 'Yu Gothic', 'YuGothic', sans-serif;
	font-size: 4vw;
	font-weight: 400;
	color: #e8e8e8;
	line-height: 1.4;
	position: relative;
	display: inline-block;
	padding-bottom: 1.5vh;
	align-self: flex-start;
}

.article-card-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: -4vw;
	width: calc(100% + 4vw + 4vw);
	border-bottom: 0.2vh solid #e8e8e8;
}

/* タグエリア */
.article-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 2vw;
	margin-top: 3vh;
}

.article-tag {
	font-family: 'Spartan', 'Yu Gothic', sans-serif;
	font-size: 2.8vw;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.9);
	letter-spacing: 0.03em;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 0.8vh 3vw;
}

/* 日付 */
.article-card-date {
	font-family: 'Spartan', sans-serif;
	font-size: 3.5vw;
	font-weight: 400;
	color: #e8e8e8;
	letter-spacing: 0.05em;
	margin-top: 2.5vh;
}

/* 抜粋（2行で切れる） */
.article-card-excerpt {
	font-family: 'Yu Gothic', 'YuGothic', sans-serif;
	font-size: 3.5vw;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	line-height: 1.8;
	margin-top: 1.5vh;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* 「記事を読む」リンク */
.article-card-link {
	display: inline-flex;
	align-items: center;
	gap: 1.5vw;
	margin-top: 4vh;
	margin-left: auto;
	color: rgba(255, 255, 255, 0.7);
	font-family: 'Spartan', 'Yu Gothic', 'YuGothic', sans-serif;
	font-size: 4vw;
	font-weight: 400;
	text-decoration: none;
	transition: color 0.3s ease;
}

.article-card-link:hover {
	color: #fff;
}

.article-card-link::before {
	content: '>';
	font-family: 'Spartan', sans-serif;
}

/* 記事一覧を見る */
.related-more-link {
	margin-top: 5vh;
	color: #FFF;
}

/* ========================================
   PC版（landscape）- article-sample継承
   メイン: flex: 1 (calc(100% - 26vw - 4vw))
   サイドバー: 26vw
   ======================================== */
@media (min-width: 768px) {
	/* ページヘッダー */
	.contents-hero {
		display: block;
		width: 100%;
		padding: 9vh 3.75vw 0;
	}

	.contents-title {
		font-size: 2.5vw;
	}

	.contents-subtitle {
		font-size: 1vw;
		margin-top: 1vh;
	}

	.contents-description {
		font-size: 1.2vw;
		margin-top: 2vh;
	}

	/* 2カラムレイアウト - article-sample完全準拠 */
	.vehicle-container {
		flex-direction: row;
		padding: 0 3.75vw 6vh;
		gap: 4vw;
		align-items: flex-start;
		margin-top: 4vh;
	}

	/* 左カラム：ギャラリー */
	.vehicle-main {
		flex: 1;
		max-width: calc(100% - 26vw - 4vw);
		padding: 0;
	}

	/* 右カラム */
	.vehicle-sidebar {
		width: 26vw;
		flex-shrink: 0;
	}

	.gallery-main {
		margin-bottom: 1.5vw;
	}

	.gallery-nav-prev {
		left: 2vw;
	}

	.gallery-nav-next {
		right: 2vw;
	}

	.gallery-thumbnails-track {
		gap: 1vw;
		padding: 1vw 0;
	}

	.gallery-thumbnail {
		min-width: 8vw;
	}

	.gallery-cta-btn {
		margin-top: 3vh;
	}

	.gallery-back-link {
		margin-top: 3vh;
	}

	.vehicle-info {
		padding: 2.5vw;
	}

	.vehicle-brand {
		font-size: 0.9vw;
	}

	.vehicle-name {
		font-size: 1.6vw;
		margin-bottom: 2vh;
	}

	.vehicle-basic-info {
		gap: 2vw;
		padding-bottom: 2vh;
		margin-bottom: 3vh;
	}

	.vehicle-basic-label {
		font-size: 0.7vw;
	}

	.vehicle-basic-value {
		font-size: 1.1vw;
	}

	.vehicle-spec-title {
		font-size: 1vw;
		margin-bottom: 2vh;
		padding-bottom: 1vh;
	}

	.vehicle-spec-group {
		margin-bottom: 2vh;
	}

	.vehicle-spec-group-title {
		font-size: 0.8vw;
		margin-bottom: 1vh;
	}

	.vehicle-spec-item {
		font-size: 0.9vw;
		padding: 0.8vh 0;
	}

	.vehicle-price-label {
		font-size: 0.7vw;
	}

	.vehicle-price-value {
		font-size: 1.8vw;
	}

	.vehicle-price-tax {
		font-size: 0.9vw;
		margin-left: 0.5vw;
	}

	.vehicle-buttons {
		gap: 1vw;
		margin-bottom: 3vh;
	}

	.vehicle-btn {
		padding: 1.5vh 0;
		font-size: 0.9vw;
	}

	/* 本文（post_content）PC版 */
	.vehicle-description {
		padding: 6vh 3.75vw;
	}

	.vehicle-description-title {
		font-size: 1.2vw;
	}

	.vehicle-description-text {
		font-size: 1vw;
	}

	.vehicle-detail-specs {
		padding: 6vh 3.75vw;
	}

	.detail-spec-grid {
		grid-template-columns: 1fr 1fr;
		gap: 0 4vw;
	}

	.detail-spec-label {
		font-size: 0.8vw;
	}

	.detail-spec-value {
		font-size: 0.9vw;
	}

	.vehicle-equipment {
		padding: 6vh 3.75vw;
	}

	.equip-grid {
		grid-template-columns: 1fr 1fr;
		gap: 3vh 4vw;
	}

	.equip-category-title {
		font-size: 0.8vw;
	}

	.equip-list li {
		font-size: 0.9vw;
		padding: 0.6vh 0;
	}

	/* 関連記事PC版 */
	.related-section {
		padding: 0 3.75vw 10vh;
	}

	.related-section::before {
		margin-bottom: 8vh;
	}

	.related-title {
		font-size: 2.5vw;
	}

	.related-description {
		font-size: 1.2vw;
		margin-top: 2vh;
	}

	/* 記事カードグリッド（PC：4列） */
	.article-cards {
		display: grid;
		grid-template-columns: repeat(4, 1fr);
		gap: 2vw;
		overflow-x: visible;
		margin-top: 4vh;
		margin-right: 0;
		padding-right: 0;
	}

	.article-card {
		width: 100%;
	}

	.article-card-body {
		padding: 3vh 1.5vw 4vh;
	}

	.article-card-title {
		font-size: 1.1vw;
	}

	.article-card-title::after {
		left: -1.5vw;
		width: calc(100% + 1.5vw + 1.5vw);
	}

	.article-card-tags {
		gap: 0.5vw;
	}

	.article-tag {
		font-size: 0.8vw;
		padding: 0.6vh 1vw;
	}

	.article-card-date {
		font-size: 1vw;
	}

	.article-card-excerpt {
		font-size: 1vw;
		margin-top: 1vh;
	}

	.article-card-link {
		font-size: 1vw;
		gap: 0.5vw;
		margin-top: 3vh;
	}

	.related-more-link {
		margin-top: 4vh;
	}
}

/* post_content内リンク・CONTACTセクション */
.vehicle-section {
	padding: 4vh 7.5vw;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.vehicle-section a {
	color: rgba(255, 255, 255, 0.75);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s;
}
.vehicle-section a:hover {
	color: #fff;
}
.vehicle-section a:visited {
	color: rgba(255, 255, 255, 0.6);
}
.vehicle-section p {
	font-size: 3.5vw;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.6);
	line-height: 2;
}
@media (min-width: 1024px) {
	.vehicle-section {
		padding: 5vh 7.5vw;
	}
	.vehicle-section p {
		font-size: 1.2vw;
	}
	.stock-post-content {
		padding: 0 3.75vw 4vh;
		font-size: 1.2vw;
	}
}
.wide-container { max-width: none; }
