/**
 * お客様の声 — voice-section スライダー
 */

.voice-section {
	--green-900: #1f4f38;
	--green-700: #2f6b4f;
	--green-600: #3a8261;
	--gold: #c8a45c;
	--ink-soft: #5b635e;
	--line: #e2ebe5;
	--radius: 18px;
	--shadow-sm: 0 2px 8px rgb( 0 0 0 / 8% );

	padding: 60px 0;
}

.voice-wrap {
	width: min( 900px, 96% );
	margin-inline: auto;
}

.voice-section .slider {
	position: relative;
	overflow: hidden;
	border-radius: var( --radius );
}

.voice-section .slides {
	display: flex;
	transition: transform 0.5s ease;
}

.voice-section .slide {
	display: grid;
	flex: 0 0 100%;
	grid-template-columns: 0.8fr 1.2fr;
	background: #fff;
	border: 1px solid var( --line );
	border-radius: 18px;
}

.voice-section .slide__img {
	overflow: hidden;
}

.voice-section .slide__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.voice-section .slide__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 34px 38px;
	border-radius: 0 18px 18px 0;
}

.voice-section .slide__body .stars {
	margin-bottom: 8px;
	color: var( --gold );
	letter-spacing: 0.1em;
}

.voice-section .slide__body h3 {
	position: static;
	margin: 0 0 10px;
	padding-left: 0;
	font-family: "Noto Serif JP", serif;
	font-size: 1.35rem;
	line-height: 1.5;
	color: var( --green-900 );
}

.post_content .voice-section .slide__body h3::before {
	display: none;
}

.voice-section .slide__body .attr {
	margin-bottom: 12px;
	font-size: 0.85rem;
	font-weight: 700;
	color: var( --green-600 );
}

.voice-section .slide__body p,
.voice-section .slide__body .slide__text {
	margin: 0;
	font-size: 0.95rem;
	color: var( --ink-soft );
}

.voice-section .slide__text--pc {
	display: none;
}

@media ( min-width: 769px ) {
	.voice-section .slide__text--sp {
		display: none;
	}

	.voice-section .slide__text--pc {
		display: block;
	}
}

.voice-section .slide__body .more {
	margin-top: 16px;
	font-size: 0.9rem;
	font-weight: 700;
	color: var( --green-700 );
	text-decoration: none;
}

.voice-section .slide__body .more:hover {
	text-decoration: underline;
}

.voice-section .slider-ctrl {
	display: flex;
	gap: 18px;
	align-items: center;
	justify-content: center;
	margin-top: 24px;
}

.voice-section .slider-ctrl button {
	width: 46px;
	height: 46px;
	font-size: 1.2rem;
	line-height: 1;
	color: var( --green-700 );
	cursor: pointer;
	background: #fff;
	border: 1px solid var( --line );
	border-radius: 50%;
	box-shadow: var( --shadow-sm );
	transition: 0.2s;
}

.voice-section .slider-ctrl button:hover {
	color: #fff;
	background: var( --green-700 );
}

.voice-section .dots {
	display: flex;
	gap: 8px;
}

.voice-section .dots span {
	width: 9px;
	height: 9px;
	cursor: pointer;
	background: var( --line );
	border-radius: 50%;
	transition: 0.2s;
}

.voice-section .dots span.active {
	width: 24px;
	background: var( --green-600 );
	border-radius: 999px;
}

.voice-section .sbc-voice-empty {
	padding: 3rem 1rem;
	text-align: center;
	color: var( --ink-soft );
}

@media ( min-width: 769px ) {
	.voice-section .slide__img {
		width: 100% !important;
		height: 466px !important;
	}
}

@media ( max-width: 768px ) {
	.voice-section .slide {
		grid-template-columns: 1fr;
	}

	.voice-section .slide__body {
		padding: 24px 22px;
	}

	.voice-section .slide__body h3 {
		font-size: 1.15rem;
	}

	.voice-section .slide__img {
		height: 100%;
	}
}

@media ( max-width: 480px ) {
	.voice-section {
		padding: 40px 0;
	}

	.voice-section .slide__body {
		padding: 20px 18px;
	}

	.voice-section .slide__body h3 {
		font-size: 1.05rem;
	}

	.voice-section .slide__body p,
	.voice-section .slide__body .slide__text {
		font-size: 0.88rem;
	}

	.voice-section .slider-ctrl button {
		width: 42px;
		height: 42px;
	}
}
