/* ===================================================
   外来診療ページ 共通スタイル (outpatient.css)
   =================================================== */

/* --------------------------------------------------
   症状カテゴリブロック
   -------------------------------------------------- */
.op-category-block {
	margin-bottom: 2.5rem;
}

.op-category-block:last-child {
	margin-bottom: 0;
}

/* カテゴリラベル */
.op-category-label {
	display: inline-block;
	background: #ff717b;
	color: #fff;
	font-size: 0.875rem;
	font-weight: bold;
	padding: 5px 20px;
	border-radius: 4px;
	margin-bottom: 16px;
	letter-spacing: 0.05em;
}

/* 症状タグ群 */
.op-symptom-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* 症状タグ1つ（リンクあり） */
a.op-symptom-tag {
	background: #fff0f1;
	border-color: #ff717b;
	color: #d94f5a;
	text-decoration: none;
	transition: background 0.2s, color 0.2s;
}

a.op-symptom-tag::after {
	content: " ›";
	font-weight: bold;
	margin-left: 2px;
}

a.op-symptom-tag:hover {
	background: #ff717b;
	color: #fff;
}

.op-symptom-tag {
	background: #ffffff;
	border: 1.5px solid #ffb3b8;
	border-radius: 50px;
	padding: 8px 22px;
	font-size: 0.875rem;
	color: #444;
	line-height: 1.4;
	white-space: nowrap;
}

/* --------------------------------------------------
   情報ハイライトボックス（管理栄養士など）
   -------------------------------------------------- */
.op-info-box {
	background: #fff;
	border: 2px solid #ff717b;
	border-radius: 8px;
	padding: 28px 32px;
	margin-top: 2rem;
}

.op-info-box__title {
	font-size: 1rem;
	font-weight: bold;
	color: #ff717b;
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ffe0e2;
}

/* --------------------------------------------------
   特徴カードグリッド
   -------------------------------------------------- */
.op-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 1rem;
}

.op-feature-card {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-top: 4px solid #ff717b;
	border-radius: 0 0 8px 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.op-feature-card__body {
	padding: 22px 20px 16px;
}

.op-feature-card__img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}

.op-feature-card__text-wrap {
	padding: 16px 20px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.op-feature-card__num {
	display: inline-block;
	background: #ff717b;
	color: #fff;
	font-size: 0.75rem;
	font-weight: bold;
	padding: 3px 12px;
	border-radius: 3px;
	margin-bottom: 12px;
	letter-spacing: 0.08em;
}

.op-feature-card__title {
	font-size: 1rem;
	font-weight: bold;
	color: #333;
	margin-bottom: 12px;
	line-height: 1.5;
}

.op-feature-card__text {
	font-size: 0.875rem;
	color: #555;
	line-height: 1.8;
	flex: 1;
}

.op-feature-card__link {
	margin-top: 14px;
}

/* --------------------------------------------------
   お悩みグリッド
   -------------------------------------------------- */
.op-worry-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-bottom: 1.5rem;
}

.op-worry-item {
	display: flex;
	align-items: center;
	gap: 14px;
	background: #ffffff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 16px 20px;
	font-size: 0.9rem;
	color: #333;
	line-height: 1.5;
}

.op-worry-item::before {
	content: "✓";
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: #ff717b;
	color: #fff;
	font-size: 0.875rem;
	font-weight: bold;
	border-radius: 50%;
}

/* --------------------------------------------------
   レスポンシブ
   -------------------------------------------------- */
@media (max-width: 767px) {
	.op-symptom-tag {
		font-size: 0.813rem;
		padding: 7px 16px;
		white-space: normal;
	}

	.op-info-box {
		padding: 20px 18px;
	}

	.op-worry-grid {
		grid-template-columns: 1fr;
	}

	.op-worry-item {
		font-size: 0.875rem;
		padding: 14px 16px;
	}

	.op-feature-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.op-feature-card__img {
		height: 180px;
	}
}
