@charset "UTF-8";

/* ミシュランタイヤ試乗会レポート */

#generic.michelin_report {
	background-color: #fff;
}

/* Gallery — 3列×2段、クリックで拡大 */
#generic.michelin_report .michelin_report_gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	box-sizing: border-box;
}

#generic.michelin_report .michelin_report_gallery a {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background-color: #111;
}

#generic.michelin_report .michelin_report_gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

#generic.michelin_report .michelin_report_gallery a:hover img {
	transform: scale(1.04);
	opacity: 0.9;
}

#generic.michelin_report .michelin_report_title {
	width: 1050px;
	max-width: 100%;
	margin: 0 auto;
	padding: 2em 1.5em 0.5em;
	box-sizing: border-box;
	text-align: center;
}

#generic.michelin_report .michelin_report_title h1 {
	margin: 0;
	font-size: 1.85em;
	font-weight: 900;
	line-height: 1.5;
	color: #222;
}

#generic.michelin_report .michelin_report_title .michelin_report_date {
	margin: 0.75em 0 0;
	font-size: 0.95em;
	color: #666;
}

#generic.michelin_report .pagenavi ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5em;
	margin: 0;
	padding: 1.25em 1em 0;
	list-style: none;
}

#generic.michelin_report .pagenavi a {
	display: block;
	padding: 0.55em 0.9em;
	font-weight: 700;
	font-size: 0.88em;
	color: #0055a4;
	text-decoration: none;
	background-color: #fff;
	border: 2px solid #0055a4;
	border-radius: 999px;
	transition: background-color 0.3s, color 0.3s;
}

#generic.michelin_report .pagenavi a:hover {
	background-color: #0055a4;
	color: #fff;
}

#generic.michelin_report .michelin_report_lead {
	width: 1050px;
	max-width: 100%;
	margin: 1.5em auto 3em;
	padding: 2em 1.5em;
	box-sizing: border-box;
	background-color: #f3f7fc;
	border-left: 5px solid #0055a4;
	border-radius: 0 8px 8px 0;
}

#generic.michelin_report .michelin_report_lead p {
	margin: 0 0 1em;
	line-height: 1.9;
	color: #333;
}

#generic.michelin_report .michelin_report_lead p:last-child {
	margin-bottom: 0;
}

#generic.michelin_report .michelin_report_section {
	margin-bottom: 4em;
}

#generic.michelin_report .michelin_report_section h2 {
	text-align: center;
	font-size: 1.65em;
	font-weight: 900;
	margin: 0 auto 1.5em;
	padding: 0 0 0.5em;
	color: #222;
	position: relative;
	line-height: 1.5;
}

#generic.michelin_report .michelin_report_section h2::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 60px;
	height: 4px;
	background-color: #0055a4;
	border-radius: 2px;
}

#generic.michelin_report .michelin_report_section h2 a {
	color: #0055a4;
	text-decoration: none;
	border-bottom: 2px solid #ffcc00;
	transition: color 0.3s, border-color 0.3s;
}

#generic.michelin_report .michelin_report_section h2 a:hover {
	color: #003d75;
	border-bottom-color: #0055a4;
}

#generic.michelin_report .michelin_report_section p {
	margin: 0 0 1em;
	line-height: 1.9;
	color: #333;
}

#generic.michelin_report .michelin_report_section p:last-child {
	margin-bottom: 0;
}

#generic.michelin_report .michelin_report_section a:not(.michelin_report_product-link) {
	color: #0055a4;
	text-decoration: underline;
}

#generic.michelin_report .michelin_report_points {
	margin: 1.25em 0;
	padding: 1.25em 1.5em;
	background-color: #f7f7f7;
	border-radius: 8px;
	list-style: none;
}

#generic.michelin_report .michelin_report_points li {
	position: relative;
	padding: 0.35em 0 0.35em 1.4em;
	line-height: 1.8;
	color: #333;
}

#generic.michelin_report .michelin_report_points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.95em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #ffcc00;
	box-shadow: 0 0 0 2px #0055a4;
}

#generic.michelin_report .michelin_report_voices {
	margin: 1.5em 0;
	padding: 1.25em 1.5em;
	background-color: #fffbea;
	border: 1px solid #ffe58a;
	border-radius: 8px;
}

#generic.michelin_report .michelin_report_voices p {
	margin: 0 0 0.6em;
	font-weight: 700;
	color: #444;
}

#generic.michelin_report .michelin_report_voices p:last-child {
	margin-bottom: 0;
}

#generic.michelin_report .michelin_report_note {
	margin-top: 2em;
	padding: 1.25em 1.5em;
	font-size: 0.9em;
	line-height: 1.8;
	color: #666;
	background-color: #f5f5f5;
	border-radius: 8px;
}

#generic.michelin_report .michelin_report_cta {
	width: 90%;
	max-width: 640px;
	margin: 2.5em auto 0;
	padding: 0;
	list-style: none;
}

#generic.michelin_report .michelin_report_cta a {
	display: block;
	padding: 1.2em 1em;
	text-align: center;
	font-weight: 700;
	font-size: 1.05em;
	color: #222;
	text-decoration: none;
	background: linear-gradient(#ffcc00, #f0b800);
	border-radius: 8px;
	transition: opacity 0.3s;
}

#generic.michelin_report .michelin_report_cta a:hover {
	opacity: 0.88;
}

@media screen and (max-width: 768px) {
	#generic.michelin_report .michelin_report_title h1 {
		font-size: 1.35em;
	}

	#generic.michelin_report .michelin_report_section h2 {
		font-size: 1.25em;
	}

	#generic.michelin_report .michelin_report_gallery {
		grid-template-columns: repeat(2, 1fr);
		gap: 6px;
	}

	#generic.michelin_report .michelin_report_gallery a {
		aspect-ratio: 1 / 1;
	}

	#generic.michelin_report .pagenavi ul {
		flex-direction: column;
		align-items: stretch;
	}

	#generic.michelin_report .pagenavi a {
		text-align: center;
	}
}
