/* ============================================================
   FIP治療ページ専用CSS
   Template: page-departments-fip.php
   ============================================================ */

/* 猫の素材写真 */
.fip-photo {
	margin: 24px 0;
}
.fip-photo img {
	display: block;
	width: 100%;
	max-width: 560px;
	height: auto;
	margin: 0 auto;
	border-radius: 8px;
}

/* テーマのli::before を無効化（アンカーナビ・検査・治療薬リスト内） */
.fip-anchor-nav__item,
.fip-exam-item,
.fip-drug-card {
	padding-left: 0;
}
.fip-anchor-nav__item::before {
	display: none !important;
}

/* 症状サブラベル（h4代替） */
.fip-symptom-label {
	font-weight: 700;
	font-size: 0.95rem;
	color: #1d95c0;
	background: #e8f6fb;
	border-left: 4px solid #1d95c0;
	padding: 6px 12px;
	margin: 16px 0 4px;
	display: inline-block;
	border-radius: 0 4px 4px 0;
}

/* アンカーナビ */
.fip-anchor-nav {
	margin: 32px 0 40px;
	background: #f0f9fd;
	border-radius: 8px;
	padding: 20px 24px;
}
.fip-anchor-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.fip-anchor-nav__item {
	flex: 1 1 auto;
	min-width: 120px;
}
.fip-anchor-nav__link {
	display: block;
	text-align: center;
	background: #fff;
	color: #1d95c0;
	border: 2px solid #1d95c0;
	border-radius: 6px;
	padding: 10px 16px;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	transition:
		background 0.2s,
		color 0.2s;
}
.fip-anchor-nav__link::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-3px);
	margin-left: 8px;
	vertical-align: middle;
	transition: border-color 0.2s;
}
.fip-anchor-nav__link:hover {
	background: #1d95c0;
	color: #fff;
}

/* FIPタイプカード（1カラム・単色）*/
.fip-type-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
	margin: 24px 0;
}
.fip-type-card {
	border-radius: 10px;
	padding: 18px 20px;
	border-left: 5px solid #1d95c0;
	background: #f0f9fd;
}

.fip-type-cards .fip-type-card h3.fip-type-card__title {
	font-size: 1rem;
	font-weight: 700;
	color: #1d95c0;
	margin-bottom: 8px;
	line-height: 1.4;
	border-bottom: none;
	padding-bottom: 0;
}

.fip-type-card__desc {
	font-size: 0.9rem;
	line-height: 1.7;
	margin: 0;
}
.fip-type-note {
	font-size: 0.875rem;
	color: #666;
	line-height: 1.7;
	margin-top: 8px;
}

/* コールアウトボックス */
.fip-callout {
	margin: 24px 0;
	background: #fff8e6;
	border-left: 5px solid #f5a623;
	border-radius: 6px;
	padding: 20px 24px;
}
.fip-callout__text {
	font-weight: 700;
	font-size: 1rem;
	color: #333;
	margin-bottom: 10px;
	line-height: 1.6;
}
.fip-callout__body {
	font-size: 0.9rem;
	line-height: 1.7;
	margin: 0;
	color: #555;
}

/* 検査リスト */
.fip-exam-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 24px 0;
}
.fip-exam-item {
	padding: 16px 18px;
	background: #fff;
	border-radius: 8px;
	border: 1px solid #c8e8f4;
	border-left: 4px solid #1d95c0;
}
.fip-exam-item__header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.fip-exam-item__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	background: #e8f6fb;
	border-radius: 50%;
	color: #1d95c0;
}
.fip-exam-item__icon svg {
	width: 38px;
	height: 38px;
}
.fip-exam-list .fip-exam-item h3.fip-exam-item__title {
	font-size: 1rem;
	font-weight: 700;
	color: #1d95c0;
	margin: 0;
	padding-bottom: 0;
	border-bottom: none;
}
.fip-exam-item__desc {
	font-size: 0.9rem;
	line-height: 1.7;
	margin: 0;
}

/* 治療薬カード（4種）*/
.fip-drug-cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 24px 0;
}
.fip-drug-card {
	border-radius: 12px;
	padding: 22px 24px;
	border: 2px solid #1d95c0;
	background: #f0f9fd;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fip-drug-cards .fip-drug-card h3.fip-drug-card__name {
	font-size: 1.1rem;
	font-weight: 700;
	color: #1d95c0;
	margin: 0;
	border-bottom: none;
	padding: 0;
}
.fip-drug-card__desc {
	font-size: 0.9rem;
	line-height: 1.7;
	margin: 0;
}

/* 担当医セクション */
.fip-doctor {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	background: #f8fafb;
	border-radius: 12px;
	padding: 32px;
}
.fip-doctor__photo {
	flex-shrink: 0;
	width: 200px;
}
.fip-doctor__photo img {
	width: 100%;
	border-radius: 10px;
}
.fip-doctor__info {
	flex: 1;
	min-width: 0;
}
.fip-doctor__role {
	font-size: 0.875rem;
	color: #1d95c0;
	font-weight: 600;
	margin-bottom: 4px;
}
.fip-doctor .fip-doctor__info h3.fip-doctor__name {
	font-size: 1.4rem;
	font-weight: 700;
	color: #333;
	letter-spacing: 0.08em;
	margin-bottom: 2px;
	border-bottom: none;
	padding-bottom: 0;
}
.fip-doctor__kana {
	font-size: 0.8rem;
	color: #888;
	margin-bottom: 16px;
}
.fip-doctor__body {
	margin-bottom: 20px;
}
.fip-doctor__body p {
	font-size: 0.9rem;
	line-height: 1.8;
	margin-bottom: 8px;
}

/* レスポンシブ */
@media screen and (max-width: 767px) {
	.fip-anchor-nav {
		padding: 16px;
	}
	.fip-anchor-nav__list {
		flex-direction: column;
		gap: 8px;
	}
	.fip-anchor-nav__item {
		min-width: unset;
	}
	.fip-drug-cards {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.fip-doctor {
		flex-direction: column;
		align-items: center;
		padding: 20px 16px;
		gap: 20px;
	}
	.fip-doctor__photo {
		width: 140px;
	}
	.fip-doctor__info {
		text-align: center;
	}
	.fip-doctor__body p {
		text-align: left;
	}
}
