/* 一覧のグリッド設定 */
.voice-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-bottom: 80px;
}

/* カードの基本状態（ transition を追加して動きを滑らかにする ） */
.voice-card {
	width: calc(33.333% - 14px);
	margin-bottom: 30px;
	background: #fff;
	border: 1px solid #e0e0e0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 20px;

	/* 動きの速さを指定 (0.3秒かけて変化) */
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* ホバー時の設定 */
.voice-card:hover {
	/* 1. 上に少し動かす (浮き上がる) */
	transform: translateY(-5px);

	/* 2. 影を少し大きく、深くする */
	box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);

	/* 3. 任意：枠線の色を少し濃くする */
	border-color: #ccc;
}

.voice-card-inner {
	display: flex;
	flex-direction: column;
}

/* カテゴリラベル：横並び設定 */
.voice-labels {
	display: flex;
	flex-wrap: wrap;
	/* 複数ある時に折り返し */
	gap: 4px;
	/* ラベル同士の隙間 */
	margin-bottom: 8px;
	/* 画像との間の余白 */
}

.voice-labels span {
	display: inline-block;
	padding: 2px 10px;
	font-size: 11px;
	color: #fff;
	font-weight: bold;
	border-radius: 2px;
}


.voice-labels-single {
	display: flex;
	flex-wrap: wrap;
	/* 複数ある時に折り返し */
	gap: 4px;
	/* ラベル同士の隙間 */
	margin-bottom: 8px;
	/* 画像との間の余白 */
}

.voice-labels-single span {
	display: inline-block;
	padding: 6px 20px;
	font-size: 20px;
	color: #fff;
	font-weight: bold;
	border-radius: 2px;
}

/* サムネイルの親要素：サイズを固定する */
.voice-thumb-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background-color: #f0f0f0;
	border: 1px solid #eee;
}

/* 中の画像：枠いっぱいに広げて切り抜く */
.voice-thumb-wrap img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* クライアント名：グレーの背景 */
.voice-client {
	margin-top: 10px;
	padding: 8px;
	background-color: #f2f2f2;
	font-size: 12px;
	text-align: center;
	color: #333;
}

.voice-card a {
	text-decoration: none;
	color: inherit;
	display: block;
}




.label-pamphlet {
	background-color: #3fa9f5;
}

.label-poster {
	background-color: #9770b4;
}

.label-company-guide {
	background-color: #7ac943;
}

.label-leaflet {
	background-color: #ff5555;
}

.label-school-guide {
	background-color: #ff931e;
}

.label-in-house {
	background-color: #999999;
}

.label-catalog {
	background-color: #ff7bac;
}

.label-website {
	background-color: #c69c6d;
}

.label-anniversary {
	background-color: #ff6f6f;
}

.label-menu {
	background-color: #c2aa8f;
}

.label-flyer {
	background-color: #51ba97;
}

.label-chirashi {
	background-color: #ffc500;
}


/* テキスト部分 */
.voice-body {
	padding: 15px;
}

.voice-title {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.5;
	margin-bottom: 10px;
}


@media (max-width: 768px) {
	.voice-card {
		width: calc(50% - 10px);
	}
}

/* --- 詳細ページ全般 --- */
.voice-detail {
	background: #fff;
	padding-bottom: 60px;
}

.voice-detail-header {
	display: flex;
	background-color: #ffe9e9;
	justify-content: center;
	padding: 20px 0;
	flex-direction: column;
	margin-bottom: 80px;
}

.page-title {
	text-align: center;
	font-family: "Noto Serif JP", serif;
	font-size: 50px;
	font-weight: bold;
	margin-bottom: 10px;
}

.special-interview-label {
	text-align: center;
	color: #ff6f6f;
	font-size: 14px;
	letter-spacing: 0.1em;
	font-weight: bold;
	margin-top: -10px;
	margin-bottom: 10px;
}

/* クライアント情報エリア */
.client-headline-box {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	border-bottom: 1px solid #ccc;
	padding: 15px 0;
	margin-bottom: 30px;
}

.client-main-name {
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 2px;
}

.client-sub-info {
	font-size: 20px;
	color: #666;
}

.voice-main-copy {
	font-size: 40px;
	font-weight: bold;
	line-height: 1.4;
	margin-bottom: 30px;
	padding-left: 20px;
	font-family: "Noto Serif JP", serif;
}

.voice-main-visual {
	margin-bottom: 60px;
}

.voice-main-visual img {
	width: 100%;
	height: auto;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* --- インタビューセクション --- */
.interview-section {
	margin-bottom: 60px;
	padding-bottom: 40px;
	border-bottom: 1px dotted #ccc;
}

.interview-section:last-of-type {
	border-bottom: none;
}

.interview-flex-row {
	display: flex;
	gap: 40px;
	align-items: flex-start;
}

.interview-text-col {
	flex: 1;
}

.interview-img-col {
	width: 42%;
	flex-shrink: 0;
}

.interview-img-col img {
	width: 100%;
	height: auto;
	border: 1px solid #eee;
}

/* Qスタイル */
.q-row {
	display: flex;
	align-items: flex-start;
	margin-bottom: 20px;
}

.q-icon {
	background: #ff6f6f;
	color: #fff;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 18px;
	margin-right: 15px;
	flex-shrink: 0;
}

.q-text {
	font-size: 22px;
	font-weight: bold;
	line-height: 1.5;
	color: #ff6f6f;
	margin: 0;
}

/* Aスタイル */
.a-row {
	display: flex;
	align-items: flex-start;
}


.a-content {
	font-size: 16px;
	line-height: 1.9;
	color: #333;
}

/* 感謝文とボタン */
.thanks-message {
	margin-top: 60px;
	padding: 30px;
	font-size: 16px;
	color: #555;
}

.back-to-list {
	text-align: center;
	margin-top: 50px;
}

.back-to-list a {
	display: inline-block;
	background: #333;
	color: #fff;
	padding: 15px 60px;
	text-decoration: none;
	font-weight: bold;
	transition: 0.3s;
}

.back-to-list a:hover {
	background: #555;
}

/* スマホ対応 */
@media (max-width: 768px) {
	.interview-flex-row {
		flex-direction: column;
	}

	.interview-img-col {
		width: 100%;
		order: -1;
		margin-bottom: 20px;
	}

	.voice-main-copy {
		font-size: 20px;
	}
}


/* 左配置の調整 */
.layout-left .interview-flex-row {
	flex-direction: row;
	/* 画像が先(左)に来る */
}

/* 下配置(bottom)の調整：flexを解除して縦に並べる */
.layout-bottom .interview-flex-row {
	display: block;
}

.layout-bottom .interview-bottom-imgs {
	margin-top: 30px;
}

/* 2枚並びの時のギャラリー風設定 */
.interview-bottom-imgs.img-count-2 {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.interview-bottom-imgs.img-count-1 {
	display: block;
	/* 1枚でbottom指定なら全幅 */
}

.bottom-img-item img {
	width: 100%;
	height: auto;
	border: 1px solid #eee;
}

/* スマホ対応：スマホでは常に画像が上、テキストが下 */
@media (max-width: 768px) {
	.interview-flex-row {
		display: flex !important;
		flex-direction: column !important;
	}

	.interview-img-col {
		width: 100%;
		margin-bottom: 20px;
	}

	.interview-bottom-imgs.img-count-2 {
		grid-template-columns: 1fr;
		/* スマホは縦並び */
	}
}

/* 制作概要セクション */
.voice-outro-section {
	margin-top: 80px;
	margin-bottom: 40px;
	padding: 40px;
	background-color: #f8f8f8;
	/* 薄いグレー背景 */
	border-left: 8px solid #333;
	/* 黒のアクセントライン */
}

.outro-header {
	margin-bottom: 25px;
	border-bottom: 1px solid #ddd;
	padding-bottom: 15px;
}

.outro-title {
	font-size: 22px;
	font-weight: bold;
	color: #333;
	margin-bottom: 10px;
}

.outro-link {
	font-size: 14px;
	color: #0066cc;
	text-decoration: underline;
}

.outro-text {
	font-size: 15px;
	line-height: 2;
	color: #444;
}

@media (max-width: 768px) {
	.voice-outro-section {
		padding: 25px 20px;
	}
}