/**
 * お客様の声カルーセル（ショートコード: [voice_carousel]）
 */

.voice-carousel-outer {
	position: relative;
	width: 100%;
	padding: 0 60px 50px 60px;
	box-sizing: border-box;
}

.voice-carousel-main {
	width: 100%;
	overflow: hidden;
	padding: 10px 0 20px 0;
}

.voice-carousel-main.swiper {
	overflow: hidden;
}

.voice-carousel-main .swiper-slide {
	height: auto;
	box-sizing: border-box;
}

.voice-slide-content {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 32px;
	height: 560px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
}

.voice_header {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
	padding-bottom: 10px;
	text-align: left;
}

.voice-thumbnail {
	margin-right: 15px;
	flex-shrink: 0;
}

.voice-thumbnail img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
}

.voice_header_right {
	flex-grow: 1;
}

.voice-attributes {
	font-size: 12px;
	color: #ffffff;
	width: fit-content;
	background-color: #99C9E6;
	padding: 4px 12px;
	margin-bottom: 5px;
}

.voice-title {
	font-size: 1rem;
	font-weight: bold;
	margin: 0;
	line-height: 1.4;
}

.voice-excerpt {
	font-size: 1rem;
	line-height: 1.8;
	letter-spacing: 0.08rem;
	color: #333;
	text-align: left;
}

.voice-carousel-outer .swiper-button-prev,
.voice-carousel-outer .swiper-button-next {
	color: var(--color_main, #333);
	width: 40px;
	height: 40px;
	margin-top: 0;
	top: calc(50% - 25px);
	transform: translateY(-50%);
}

.voice-carousel-outer .swiper-button-prev {
	left: 10px;
}

.voice-carousel-outer .swiper-button-next {
	right: 10px;
}

.voice-carousel-outer .swiper-pagination {
	bottom: 0;
}

.voice-carousel-outer .swiper-pagination-bullet-active {
	background: var(--color_main, #000);
}

@media (max-width: 767px) {
	.voice-carousel-outer {
		padding: 0 40px 50px 40px;
	}

	.voice-thumbnail img {
		width: 50px;
		height: 50px;
	}
}
