@charset "UTF-8";
/* 利用者の声（評価表） */

.p-voice {
	padding: 20px 0 20px;
}

.p-voice__result {
	margin-top: 70px;
}

.p-voice__filters {
	display: grid;
	gap: 22px;
	justify-items: start;
	margin-bottom: 60px;
}

.p-voice__filters[hidden] {
	display: none;
}

.p-voice__filter {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 4px;
	background: var(--c-white);
	border-radius: 28px;
}

.p-voice__filter-btn {
	min-height: 50px;
	padding: 0 22px;
	font-family: var(--ff-sans);
	font-size: 16px;
	font-weight: 400;
	color: #1d1d1f;
	letter-spacing: .02em;
	background: #e8e8f0;
	border-radius: 999px;
	transition: background-color .25s, color .25s, box-shadow .25s;
}

.p-voice__filter-btn.is-active {
	color: var(--c-white);
	background: #1d1d1f;
	box-shadow: 0 2px 6px rgb(0 0 0 / .2);
}

.p-voice__filter--orange .p-voice__filter-btn {
	color: #c53a01;
}

.p-voice__filter--orange .p-voice__filter-btn.is-active {
	color: var(--c-white);
	background: #c53a01;
}

.p-voice__filter--gray .p-voice__filter-btn {
	color: #838383;
}

.p-voice__filter--gray .p-voice__filter-btn.is-active {
	color: var(--c-white);
	background: #838383;
}

@media (hover: hover) {
	.p-voice__filter-btn:not(.is-active):hover {
		background: #d9d9e4;
	}
}

.p-voice__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}

.p-voice__item[hidden] {
	display: none;
}

/* カード：画像（影の余白込み 331×272）を、見えているカード（301×242）にそろえて敷く */
.p-voice__card {
	position: relative;
	display: block;
	aspect-ratio: 301 / 242;
	transition: transform .3s var(--ease);
}

.p-voice__bg {
	position: absolute;
	top: calc(-15 / 242 * 100%);
	left: calc(-15 / 301 * 100%);
	width: calc(331 / 301 * 100%);
	max-width: none;
	height: calc(272 / 242 * 100%);
}

.p-voice__body {
	position: absolute;
	right: 10px;
	bottom: 12%;
	left: 12.5%;
	display: grid;
	font-family: var(--ff-sans);
	color: #1d1d1f;
	letter-spacing: .02em;
}

.p-voice__year {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.p-voice__service {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.p-voice__type {
	margin-top: 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.p-voice__arrow {
	margin-left: 6px;
}

.p-voice__soon {
	font-size: 11px;
	font-weight: 400;
}

.p-voice__item[data-type="bcp"] .p-voice__type {
	margin-top: 2px;
	font-size: 14px;
}

.p-voice__item[data-room="elmo"] .p-voice__body,
.p-voice__item[data-room="prossimo"] .p-voice__body,
.p-voice__item[data-room="infinito"] .p-voice__body {
	color: #1d1d1f;
}

.p-voice__empty {
	margin-top: 30px;
	text-align: center;
}

@media (hover: hover) {
	a.p-voice__card:hover {
		transform: translateY(-4px);
	}
}

@media (max-width: 1199px) {
	.p-voice__list {
		grid-template-columns: repeat(3, 1fr);
	}

	.p-voice__filter-btn {
		min-height: 44px;
		padding: 0 16px;
		font-size: 14px;
	}
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.p-voice__result {
		margin-top: 50px;
	}

	.p-voice__filters {
		gap: 12px;
		margin-bottom: 36px;
	}

	.p-voice__filter {
		gap: 4px;
		border-radius: 22px;
	}

	.p-voice__filter-btn {
		min-height: 38px;
		padding: 0 12px;
		font-size: 13px;
	}

	.p-voice__list {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	.p-voice__body {
		left: 9%;
		bottom: 9%;
	}

	.p-voice__year {
		font-size: 11px;
	}

	.p-voice__service {
		font-size: min(3.5vw, 15px);
		line-height: 1.35;
	}

	.p-voice__type {
		margin-top: 4px;
		font-size: 11px;
	}

	.p-voice__item[data-type="bcp"] .p-voice__type {
		font-size: 10px;
	}
}
