/**
 * Customer voices page
 * Page-specific styles only. The shared header and footer remain untouched.
 */

.voice-page {
	--voice-navy: #103454;
	--voice-blue: #087cc9;
	--voice-sky: #eff8fd;
	--voice-line: #b9dff5;
	color: #293d4d;
	background: #fff;
	font-family: "Noto Sans JP", sans-serif;
	overflow: hidden;
}

.voice-page *,
.voice-page *::before,
.voice-page *::after {
	box-sizing: border-box;
}

.voice-shell {
	width: min(calc(100% - 40px), 1120px);
	margin-inline: auto;
}

.voice-hero {
	position: relative;
	overflow: hidden;
	background: var(--voice-sky);
}

.voice-hero__inner {
	display: grid;
	min-height: 240px;
	align-content: center;
	justify-items: center;
	padding: 24px 0 50px;
	text-align: center;
}

.voice-hero h1 {
	max-width: 920px;
	margin: 0;
	color: var(--voice-navy);
	font-size: clamp(34px, 3.6vw, 44px);
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.4;
}

.voice-hero__accent {
	color: #f88404;
}

.voice-breadcrumb {
	width: 100%;
	margin-bottom: 24px;
	color: #5b6876;
	font-size: 13px;
	text-align: left;
}

.voice-breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.voice-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.voice-breadcrumb li + li::before {
	margin-right: 8px;
	color: #8fa6b8;
	content: "/";
}

.voice-hero__wave {
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: 24px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 76' preserveAspectRatio='none'%3E%3Cpath d='M0 42c155-42 304-42 448 0s292 42 444 0 335-42 548 0v34H0V42z' fill='%23ffffff'/%3E%3C/svg%3E") center bottom / 100% 100% no-repeat;
}

.voice-story {
	padding: 88px 0 84px;
	background: #fff;
}

.voice-story:nth-child(even) {
	background: var(--voice-sky);
}

.voice-story__top {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(40px, 6vw, 72px);
	align-items: center;
}

.voice-story--reverse .voice-story__heading {
	order: 2;
}

.voice-story--reverse .voice-story__media {
	order: 1;
}

.voice-story__type {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 12px;
	border: 1px solid var(--voice-blue);
	border-radius: 999px;
	color: var(--voice-blue);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.5;
}

.voice-story__meta {
	margin: 0 0 12px;
	color: var(--voice-blue);
	font-size: 0.94rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.7;
}

.voice-story__heading h2 {
	margin: 0;
	color: var(--voice-navy);
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.5;
}

.voice-story__result {
	position: relative;
	margin: 26px 0 0;
	padding-top: 24px;
	color: var(--voice-blue);
	font-size: clamp(1.65rem, 2.5vw, 2rem);
	font-weight: 700;
	letter-spacing: 0.035em;
	line-height: 1.48;
	overflow-wrap: normal;
	text-wrap: balance;
	word-break: normal;
}

.voice-story__nowrap {
	white-space: nowrap;
}

.voice-story__result::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 54px;
	height: 3px;
	background: var(--voice-blue);
	content: "";
}

.voice-story__media {
	min-width: 0;
}

.voice-story__media > img,
.voice-story__media figure,
.voice-story__media figure img {
	display: block;
	width: 100%;
	margin: 0;
}

.voice-story__media > img,
.voice-story__media figure img {
	height: auto;
	border-radius: 2px;
}

.voice-story__media figcaption {
	margin-top: 8px;
	color: #647989;
	font-size: 0.82rem;
	line-height: 1.7;
	text-align: center;
}

.voice-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #dce9f0;
}

.voice-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.voice-story__body {
	width: min(100%, 920px);
	margin: 58px auto 0;
	font-size: 1rem;
	line-height: 2;
}

.voice-story__body > :first-child {
	margin-top: 0;
}

.voice-story__body > :last-child {
	margin-bottom: 0;
}

.voice-story__body p {
	margin: 0 0 1.6em;
}

.voice-story__body strong {
	color: var(--voice-navy);
	font-weight: 700;
}

.voice-story__body a {
	color: var(--voice-blue);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.voice-story__body img,
.voice-story__body figure {
	max-width: 100%;
	height: auto;
}

.voice-story__body figure {
	margin: 36px auto;
}

.voice-story__body figcaption {
	margin-top: 8px;
	color: #647989;
	font-size: 0.82rem;
	line-height: 1.7;
	text-align: center;
}

.voice-cases {
	padding: 92px 0 100px;
	background: #f8f0e8;
}

.voice-cases__heading {
	margin-bottom: 42px;
	text-align: center;
}

.voice-cases__heading h2 {
	margin: 0;
	color: var(--voice-navy);
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.45;
}

.voice-cases__kicker {
	display: block;
	margin-bottom: 8px;
	color: var(--voice-blue);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.voice-cases__heading h2::after {
	display: block;
	width: 100px;
	height: 12px;
	margin: 18px auto 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='12' viewBox='0 0 100 12'%3E%3Cpath d='M2 6c8-6 16-6 24 0s16 6 24 0 16-6 24 0 16 6 24 0' fill='none' stroke='%23087CD0' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
	content: "";
}

.voice-cases__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 30px;
}

.voice-case {
	min-width: 0;
	overflow: hidden;
	border: 1px solid rgba(176, 220, 248, 0.65);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 14px 34px rgba(16, 52, 84, 0.08);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.voice-case:hover {
	box-shadow: 0 20px 44px rgba(16, 52, 84, 0.13);
	transform: translateY(-4px);
}

.voice-case__link {
	display: flex;
	height: 100%;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.voice-case__image {
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #dce9f0;
}

.voice-case__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.voice-case__link:hover img {
	transform: scale(1.03);
}

.voice-case__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 24px 24px;
}

.voice-case__label {
	color: var(--voice-blue);
	font-size: 13px;
	font-weight: 900;
}

.voice-case h3 {
	margin: 6px 0 10px;
	padding: 0;
	color: var(--voice-navy);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.5;
}

.voice-case__action {
	margin-top: auto;
	color: var(--voice-blue);
	font-size: 14px;
	font-weight: 900;
}

.voice-cases__more {
	margin-top: 52px;
	text-align: center;
}

.voice-cases__more a {
	display: inline-flex;
	min-width: 250px;
	min-height: 56px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 0 32px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	background: #f88404;
	box-shadow: 0 10px 24px rgba(248, 132, 4, 0.24);
	font-weight: 800;
	text-decoration: none;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.voice-cases__more a:hover {
	color: #fff;
	background: #f88404;
	box-shadow: 0 14px 30px rgba(248, 132, 4, 0.3);
	transform: scale(1.02);
}

@media (max-width: 900px) {
	.voice-hero__inner {
		min-height: 220px;
		padding: 22px 0 44px;
	}

	.voice-breadcrumb {
		margin-bottom: 20px;
	}

	.voice-hero h1 {
		font-size: clamp(32px, 6.4vw, 40px);
	}

	.voice-story {
		padding: 68px 0 64px;
	}

	.voice-story__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 34px;
	}

	.voice-story--reverse .voice-story__heading,
	.voice-story--reverse .voice-story__media {
		order: initial;
	}

	.voice-story__heading {
		order: 1 !important;
	}

	.voice-story__media {
		order: 2 !important;
	}

	.voice-story__body {
		margin-top: 42px;
	}

	.voice-cases__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.voice-shell {
		width: min(calc(100% - 32px), 1120px);
	}

	.voice-hero {
		min-height: 0;
	}

	.voice-hero h1 {
		font-size: 28px;
		line-height: 1.5;
	}

	.voice-hero h1 span {
		display: block;
	}

	.voice-breadcrumb {
		margin-bottom: 14px;
		font-size: 11px;
	}

	.voice-story {
		padding: 54px 0 52px;
	}

	.voice-story__top {
		gap: 28px;
	}

	.voice-story__heading h2 {
		font-size: 1.35rem;
	}

	.voice-story__result {
		margin-top: 20px;
		padding-top: 20px;
		font-size: 1.65rem;
	}

	.voice-story__body {
		margin-top: 34px;
		font-size: 0.96rem;
		line-height: 1.95;
	}

	.voice-cases {
		padding: 66px 0 72px;
	}

	.voice-cases__heading {
		margin-bottom: 32px;
	}

	.voice-cases__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
	}

	.voice-cases__more {
		margin-top: 42px;
	}

	.voice-cases__more a {
		width: 100%;
		min-height: 54px;
		padding: 0 20px;
		font-size: 15px;
	}
}
