/* 患者様の声ブロック */
.generic-patient-reviews {
	margin: 40px 0;
}

/* ── タイトル（H2デザイン準拠・divのまま） */
.generic-patient-reviews__title {
	font-size: 1.5rem;
	font-weight: 700;
	color: #1a1a1a;
	padding-bottom: 12px;
	margin: 0 0 20px 0;
	border-bottom: 2px solid #e0e0e0;
	position: relative;
	line-height: 1.4;
}

.generic-patient-reviews__title::after {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 100%;
	height: 2px;
	background: linear-gradient(to right, var(--main-color, #0C7A5E), var(--main-color-light, #9FE1CB));
}

/* ── 区切り線は非表示（タイトル下線で代替） */
.generic-patient-reviews__divider {
	display: none;
}

/* ── カード横スクロールコンテナ */
.generic-patient-reviews__container {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 10px;
}

/* ── カード全体 */
.generic-patient-reviews__card {
	flex: 0 0 auto;
	width: 400px;
	border: 0.5px solid #e0e0e0;
	border-radius: 12px;
	padding: 1.25rem;
	background: #fff;
}

/* ── ヘッダー行（名前・日付） */
.generic-patient-reviews__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 2px;
}

/* ── ユーザー行（アバター＋名前） */
.generic-patient-reviews__user {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1;
}

/* ── アバター枠 */
.generic-patient-reviews__icon {
	flex-shrink: 0;
	width: 38px;
	height: 38px;
}

/* ── アバター（丸・グリーン） */
.generic-patient-reviews__icon-text {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--main-color, #0C7A5E);
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	display: flex;
	align-items: center;
	justify-content: center;
}

.generic-patient-reviews__icon-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/* ── 名前 */
.generic-patient-reviews__name {
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

/* ── 日付 */
.generic-patient-reviews__date {
	font-size: 12px;
	color: #aaa;
	flex-shrink: 0;
	margin-left: 8px;
}

/* ── 星評価 */
.generic-patient-reviews__rating {
	display: flex;
	gap: 2px;
	margin: 8px 0 10px;
	font-size: 16px;
}

/* ── コメント本文 */
.generic-patient-reviews__text {
	font-size: 14px;
	color: #666;
	line-height: 1.7;
	margin: 0;
}

/* ── レスポンシブ */
@media (max-width: 768px) {
	.generic-patient-reviews__container {
		gap: 16px;
		margin: 0 -20px;
		padding-left: 20px;
		padding-right: 20px;
	}

	.generic-patient-reviews__card {
		width: 320px;
		padding: 16px;
	}

	.generic-patient-reviews__title {
		font-size: 1.25rem;
	}
}

@media (max-width: 480px) {
	.generic-patient-reviews {
		margin: 20px 0;
	}
}
