@charset "UTF-8";
/* ==========================================================================
   診療科目LP（single-department.php／archive-department.php）
   top2026.css の変数・部品（t-sec, t-h2, t-price, t-doctor, t-faq, t-vstep 等）と併用する。
   PC／SP の切り替えは top2026.css と同じ 767px。
   ========================================================================== */

/* パンくず */
.d-crumb-wrap { background: #fff; border-bottom: 1px solid var(--c-line-border); }
.t-crumb { max-width: var(--w-inner); margin: 0 auto; padding: 10px 20px; }
.t-crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0; padding: 0; font-size: 14px; color: var(--c-sub); }
.t-crumb li + li::before { content: "›"; margin: 0 10px; color: #b9b0a2; }
.t-crumb a { color: var(--c-blue-d); text-decoration: underline; text-underline-offset: 2px; }

/* FV */
.d-hero { position: relative; overflow: hidden; background: linear-gradient(90deg, #fce4eb 0%, #fff4f7 60%, #eef8ef 100%); padding: 48px 20px 40px; }
.d-hero::before, .d-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.d-hero::before { width: 420px; height: 420px; left: -160px; top: -240px; background: #f9d6de; }
.d-hero::after { width: 260px; height: 260px; right: -70px; bottom: -120px; background: rgba(226, 243, 227, .9); }
.d-hero__inner { position: relative; z-index: 1; max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 48px; }
.d-hero__text { flex: 1; min-width: 0; }
.d-hero__eyebrow { display: inline-block; padding: 4px 16px; border-radius: 999px; background: #fff; color: var(--c-green); font-size: 15px; font-weight: 700; }
.d-hero__eyebrow span { margin: 0 6px; color: #b9b0a2; }
.d-hero__ttl { margin-top: 14px; font-family: var(--f-mincho); font-weight: 700; line-height: 1.3; color: #2e2a2e; }
.d-hero__name { font-size: 52px; color: #c2557a; letter-spacing: .04em; }
.d-hero__suffix { font-size: 32px; margin-left: .1em; }
.d-hero__catch { margin-top: 14px; font-family: var(--f-mincho); font-size: 22px; font-weight: 700; line-height: 1.6; color: #2e2a2e; }
.d-hero__lead { margin-top: 12px; font-size: 17px; line-height: 1.85; color: #3a3438; }
.d-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; list-style: none; padding: 0; }
.d-hero__tags li { padding: 6px 14px; border: 1.5px solid #d97a97; border-radius: 999px; background: #fff; color: #a8325a; font-size: 15px; font-weight: 700; }
.d-hero__points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; list-style: none; padding: 0; }
.d-hero__points li { padding: 8px 14px; border-radius: 8px; background: rgba(255, 255, 255, .85); font-size: 15px; }
.d-hero__points b { color: var(--c-green); margin-right: 2px; }
.d-hero__review { margin-top: 14px; font-size: 13px; color: var(--c-sub); }
.d-hero__photo { width: 420px; flex-shrink: 0; }
.d-hero__photo img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 8px 24px rgba(194, 84, 122, .12); }
.d-hero__cta { position: relative; z-index: 1; max-width: 1080px; margin: 8px auto 0; }
.d-hero__cta .t-cta { margin-top: 16px; }
.d-hero--archive { padding-bottom: 48px; }

/* 本文エリア（1カラム） */
.d-body { padding-top: 40px; }
.d-content { position: relative; isolation: isolate; max-width: 960px; margin: 0 auto; padding: 0 20px; }
.d-content > .t-sec:first-child { margin-top: 16px; }

/* 症状リスト */
.d-symptoms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; list-style: none; padding: 0; }
.d-symptoms li { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border: 1px solid var(--c-line-border); border-radius: 10px; background: #fff; font-size: 18px; font-weight: 700; }
.d-symptoms svg { width: 26px; height: 26px; flex-shrink: 0; }

/* 本文（ブロックエディタ） */
.d-entry { font-size: 17px; line-height: 1.9; }
.d-entry > * + * { margin-top: 1em; }
.d-entry h2 { background: var(--c-blue); color: #fff; font-size: 32px; font-weight: 700; line-height: 1.4; padding: 16px 24px; border-radius: 6px; margin: 48px 0 24px; }
.d-entry > h2:first-child { margin-top: 0; }
.d-entry h3 { font-size: 24px; font-weight: 700; border-left: 5px solid var(--c-blue); padding: 2px 0 6px 12px; border-bottom: 1px solid var(--c-blue); margin: 36px 0 16px; }
.d-entry ul, .d-entry ol { padding-left: 1.4em; }
.d-entry ul { list-style: disc; }
.d-entry ol { list-style: decimal; }
.d-entry li + li { margin-top: .4em; }
.d-entry img { max-width: 100%; height: auto; border-radius: 10px; }
.d-entry a { color: var(--c-blue-d); text-decoration: underline; }
.d-entry strong { background: linear-gradient(transparent 62%, #fff0a8 62%); }

/* 対応が難しい場合 */
.d-caution__lead { font-size: 17px; }
.d-caution ul { margin-top: 12px; padding-left: 1.4em; list-style: disc; font-size: 17px; line-height: 1.8; }
.d-caution li + li { margin-top: 6px; }

/* 料金（科目LPはじっくり診療プランのみ） */
.d-price { width: 100%; }
.d-price th { width: 34%; background: var(--c-beige-d); }
.d-price td { text-align: left; }
.d-price td small { display: inline-block; margin-left: 6px; font-size: 14px; color: var(--c-sub); }
.d-price b.is-green { color: var(--c-green); font-size: 20px; }
.t-note a { color: var(--c-blue-d); text-decoration: underline; }

/* 関連するお薬セット */
.d-related { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding: 18px 24px; border: 2px solid #d97a97; border-radius: 12px; background: #fff6f8; color: #a8325a; font-size: 18px; font-weight: 700; transition: background .2s; }
.d-related small { display: block; font-size: 13px; color: var(--c-sub); font-weight: 400; }
.d-related .i-chev { width: 10px; height: 16px; flex-shrink: 0; }
.d-related:hover { background: #fdecf1; }

/* ご利用の流れ（TOPの3ステップを1カラム幅で） */
.d-steps { margin-top: 8px; }
.d-steps .t-vstep { min-height: 0; }

/* ほかの診療科目 */
.d-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; list-style: none; padding: 0; }
.d-others a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border: 1px solid var(--c-line-border); border-radius: 10px; background: #fff; font-size: 17px; font-weight: 700; transition: background .2s; }
.d-others a:hover { background: var(--c-green-bg); }
.d-others .i-chev { width: 8px; height: 14px; color: var(--c-green); flex-shrink: 0; }

/* 一覧ページのカード */
.d-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; }
.d-card a { display: flex; flex-direction: column; height: 100%; padding: 20px; border: 1px solid var(--c-line-border); border-radius: 12px; background: #fff; transition: box-shadow .2s, transform .2s; }
.d-card a:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); transform: translateY(-2px); }
.d-card__name { font-family: var(--f-mincho); font-size: 22px; font-weight: 700; color: #2e2a2e; }
.d-card__syms { margin-top: 8px; font-size: 15px; line-height: 1.7; color: var(--c-sub); }
.d-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; color: var(--c-green); font-size: 15px; font-weight: 700; }
.d-card__more .i-chev { width: 8px; height: 14px; }
.d-empty { padding: 24px; border-radius: 10px; background: var(--c-beige); font-size: 17px; text-align: center; }

@media (min-width: 768px) and (max-width: 1100px) {
	.d-hero__photo { width: 34vw; }
	.d-hero__name { font-size: 44px; }
	.d-others, .d-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
	.t-crumb { padding: 8px 16px; }
	.t-crumb ol { font-size: 12px; }
	.t-crumb li + li::before { margin: 0 6px; }

	.d-hero { padding: 28px 16px 24px; }
	.d-hero::before { width: 240px; height: 240px; left: -110px; top: -130px; }
	.d-hero::after { width: 160px; height: 160px; right: -60px; bottom: -70px; }
	.d-hero__inner { flex-direction: column-reverse; align-items: stretch; gap: 20px; }
	.d-hero__photo { width: 100%; }
	.d-hero__photo img { border-radius: 14px; }
	.d-hero__eyebrow { font-size: 13px; padding: 3px 12px; }
	.d-hero__ttl { margin-top: 10px; }
	.d-hero__name { font-size: 36px; }
	.d-hero__suffix { display: block; font-size: 22px; margin-left: 0; }
	.d-hero__catch { font-size: 17px; }
	.d-hero__lead { font-size: 15px; line-height: 1.8; }
	.d-hero__tags { gap: 6px; margin-top: 14px; }
	.d-hero__tags li { padding: 4px 10px; font-size: 13px; }
	.d-hero__points { gap: 6px; margin-top: 12px; }
	.d-hero__points li { padding: 6px 10px; font-size: 13px; }
	.d-hero__cta .t-cta { margin-top: 8px; }

	.d-body { padding-top: 24px; }
	.d-content { padding: 0 16px; }

	.d-symptoms { grid-template-columns: 1fr; gap: 8px; }
	.d-symptoms li { padding: 10px 14px; font-size: 16px; }
	.d-symptoms svg { width: 22px; height: 22px; }

	.d-entry { font-size: 15px; line-height: 1.85; }
	.d-entry h2 { font-size: 17px; padding: 12px 14px; margin: 36px 0 16px; }
	.d-entry h3 { font-size: 17px; margin: 28px 0 12px; }

	.d-caution__lead, .d-caution ul { font-size: 15px; }

	.d-price th { width: 38%; font-size: 14px; }
	.d-price td { font-size: 14px; }
	.d-price td small { display: block; margin: 2px 0 0; font-size: 12px; }
	.d-price b.is-green { font-size: 16px; }

	.d-related { padding: 14px 16px; font-size: 15px; }

	.d-others, .d-cards { grid-template-columns: 1fr; gap: 8px; }
	.d-others a { padding: 12px 14px; font-size: 16px; }
	.d-card a { padding: 16px; }
	.d-card__name { font-size: 19px; }
	.d-card__syms { font-size: 14px; }
}
