/* =========================================================
   受講生の声　カスタム v1.1.0
========================================================= */

.voice-label {
	display: inline-block;
	flex: 0 0 auto;
	padding: 2px 7px;
	background: #111;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.voice-worry {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 8px;
	font-size: 0.75rem;
	line-height: 1.55;
}

.voice-worry__text {
	flex: 1;
	min-width: 0;
	color: #111;
  font-weight: bold;
}

.voice-filter {
	margin: 0 0 32px;
}

.voice-filter__title {
	display: block;
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.voice-filter__items {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.voice-filter__item {
	display: inline-block;
	padding: 7px 12px;
	border: 1px solid #111;
	background: #fff;
	color: #111;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	transition: .2s ease;
  border-radius: 99px;
}

.voice-filter__item:hover,
.voice-filter__item:focus,
.voice-filter__item.is-active {
	background: #111;
	color: #fff;
	text-decoration: none;
  border-radius: 99px;
}

.voice-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin: 0 0 50px;
}

.voice-card {
	margin: 0;
	padding: 0;
	background: #fff;
	border: none;
	box-shadow: none;
	overflow: visible;
}

.voice-card__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.voice-card__link:hover,
.voice-card__link:focus {
	color: inherit;
	text-decoration: none;
}

.voice-card__photo-wrap {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #ddd;
	border: none;
}

.voice-card__photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: none;
	box-shadow: none;
}

.voice-card__noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 220px;
	background: #ddd;
	color: #111;
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 700;
	line-height: 1;
}

.voice-video-badge {
	position: absolute;
	right: 0;
	bottom: 0;
	display: inline-block;
	padding: 3px 7px;
	background: #111;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
}

.voice-card__body {
	padding: 13px 0 0;
}

.voice-card__heading {
	margin: 0 0 14px;
	padding: 0;
	border: none;
	background: none;
	color: #111;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.55;
}

.voice-card__heading::before,
.voice-card__heading::after {
	display: none;
}

.voice-meta {
	margin: 0;
	padding: 0;
}

.voice-meta__row {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 5px 0;
	border-bottom: 1px dotted #777;
	font-size: 14px;
	line-height: 1.55;
}

.voice-meta__row strong {
	flex: 1;
	min-width: 0;
	color: #111;
	font-weight: 400;
}

.voice-decision {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding-top: 5px;
	border-bottom: 1px dotted #777;
	font-size: 14px;
	line-height: 1.55;
}

.voice-decision strong {
	flex: 1;
	min-width: 0;
	color: #111;
	font-weight: 400;
}

/* Single：2カラムは維持し、外枠・外側paddingは完全になし */
.voice-single-profile {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 36px;
	align-items: start;
	margin: 0 0 50px;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.voice-single-profile__photo,
.voice-single-profile__info {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.voice-single-profile__photo {
	width: 100%;
	overflow: hidden;
}

.voice-single-profile__photo img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: none;
	box-shadow: none;
}

.voice-single-profile__info {
	min-width: 0;
}

/* Singleも一覧と同じ書式 */
.voice-single-profile__heading {
	margin: 0 0 14px;
	padding: 0;
	border: none;
	background: none;
	color: #111;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.55;
}

.voice-single-profile__heading::before,
.voice-single-profile__heading::after {
	display: none;
}

.voice-meta--single .voice-meta__row {
	padding: 6px 0;
	border-bottom: 1px dotted #777;
	font-size: 14px;
	line-height: 1.55;
}

.voice-decision--single {
  padding: 6px 0;
	border-top: 1px dotted #777;
	font-size: 14px;
	line-height: 1.55;
}

.voice-single-content {
	margin-top: 0;
}

@media (max-width: 991px) {
	.voice-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}
	.voice-single-profile {
		gap: 26px;
	}
	.voice-single-profile__heading {
		font-size: 21px;
	}
}

@media (max-width: 767px) {
	.voice-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}
	.voice-card__body {
		padding-top: 12px;
	}
	.voice-card__heading {
		font-size: 17px;
	}
	.voice-single-profile {
		grid-template-columns: 1fr;
		gap: 22px;
		margin-bottom: 36px;
	}
	.voice-single-profile__heading {
		font-size: 20px;
	}
	.voice-meta__row,
	.voice-decision {
		gap: 7px;
	}
}

@media (max-width: 480px) {
	.voice-label {
		font-size: 11px;
	}
	.voice-meta__row,
	.voice-decision,
	.voice-worry {
		font-size: 13px;
	}
	.voice-filter__item {
		font-size: 12px;
	}
}


/* =========================================================
   Version 1.2.0 追加調整
========================================================= */

/* 「悩み」「会社名」「業種」「社員数」等の黒ラベル幅を統一 */
.voice-label {
	width: 54px;
	box-sizing: border-box;
	text-align: center;
	justify-content: center;
}

/* 一覧：説明部分だけに枠線と余白を付ける */
.voice-card__body {
	padding: 16px 16px 18px;
	border: 1px solid #cfcfcf;
	background: #fff;
	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		box-shadow 0.25s ease,
		opacity 0.25s ease;
}

/* 画像外枠は付けない */
.voice-card__photo-wrap,
.voice-card__photo {
	border: none !important;
}

/* セリフ型見出し：背景なし・黒文字を明示 */
.voice-card__heading,
.voice-single-profile__heading {
	background: transparent !important;
	color: #111 !important;
	border: none !important;
	box-shadow: none !important;
}

/* 「2日間で決めたこと」は見出しの下に本文 */
.voice-decision,
.voice-decision--single {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 7px;
}

.voice-decision .voice-label,
.voice-decision--single .voice-label {
	width: auto;
	min-width: 0;
}

.voice-decision strong,
.voice-decision--single strong {
	display: block;
	width: 100%;
}

/* 一覧ホバー：画像を枠内で少しズーム */
.voice-card__photo-wrap {
	overflow: hidden;
}

.voice-card__photo {
	transition: transform 0.35s ease;
	transform-origin: center center;
}

.voice-card__link:hover .voice-card__photo,
.voice-card__link:focus .voice-card__photo {
	transform: scale(1.045);
}

/* 一覧ホバー：説明部分も変化が分かるように */
.voice-card__link:hover .voice-card__body,
.voice-card__link:focus .voice-card__body {
	background: #f7f7f7;
	border-color: #b8b8b8;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Singleは囲み枠・外側paddingなしを維持 */
.voice-single-profile,
.voice-single-profile__photo,
.voice-single-profile__info {
	border: none !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Singleの情報行も一覧と同じラベル幅・書式 */
.voice-single-profile .voice-label {
	width: 54px;
	text-align: center;
}

.voice-single-profile .voice-decision .voice-label {
	width: auto;
}

/* スマホではラベル幅を少し詰める */
@media (max-width: 480px) {
	.voice-label,
	.voice-single-profile .voice-label {
		width: 82px;
	}
	.voice-decision .voice-label,
	.voice-decision--single .voice-label,
	.voice-single-profile .voice-decision .voice-label {
		width: auto;
	}
}


/* 悩みラベルで絞り込み中はLightningのアーカイブ見出しを非表示 */
.voice-is-filtered .archive-header {
	display: none;
}

/* =========================================================
   Version 1.5.0
========================================================= */

/* Singleページ末尾にLightningが出力する「悩みのラベル」は非表示 */
.single-voice .entry-meta-data-list--voice_worry {
	display: none;
}
