@charset "UTF-8";
/*
Theme Name: SWELL CHILD (Base Clinic Akasaka - Magazine)
Template: swell
Version: 1.0.0
Author: Baseクリニック赤坂
Description: /magazine/ サブディレクトリ専用のSWELL子テーマ（SEO強化版）。本体（base-cl.jp）のヘッダー/フッターをclass名レベルで踏襲し内部リンクとE-E-A-Tを継承。JSON-LD（MedicalOrganization / Article+MedicalWebPage / Physician / FAQPage / ItemList / BreadcrumbList / SiteNavigationElement）、OGP/canonical/robots自動生成、目次自動生成、FAQ・出典ショートコード、関連記事、Core Web Vitals最適化を搭載。監修医情報は構造化データのみに反映し、記事本文には医師名を表示しない。
*/

/* ============================================================
   ブランドカラー
   ============================================================ */
:root {
	--bc-mint: #78c8b3;
	--bc-mint-dark: #4fa992;
	--bc-mint-light: #e6f5f0;
	--bc-line-green: #06c755;
	--bc-blue: #1e6fd9;
	--bc-text: #2b3a3a;
	--bc-sub-text: #6f7c7c;
	--bc-border: #e0ebe8;
	--bc-bg-soft: #faf7f0;
}

/* ============================================================
   コンテンツ幅
   ============================================================ */
.l-container,
.l-mainContent__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}
@media (max-width: 599px) {
	.l-container,
	.l-mainContent__inner { padding-left: 12px; padding-right: 12px; }
}

/* 読みやすさ（Core Web Vitals / 滞在時間） */
.post_content { line-height: 1.95; letter-spacing: .01em; }
.post_content p { margin-bottom: 1.6em; }
.post_content img { border-radius: 6px; }

/* ============================================================
   記事上部の情報ライン（公開日 / 更新日 / 医師監修バッジ）
   ============================================================ */
.bc-articleMeta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 18px;
	padding: 12px 0 16px;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--bc-border);
	font-size: 12px;
	color: var(--bc-sub-text);
}
.bc-articleMeta__item { display: inline-flex; align-items: center; gap: 6px; }
.bc-articleMeta__label {
	font-size: 10px;
	letter-spacing: .08em;
	color: var(--bc-mint-dark);
	font-weight: 700;
}
.bc-articleMeta__badge {
	display: inline-block;
	background: var(--bc-mint-light);
	color: var(--bc-mint-dark);
	border: 1px solid var(--bc-mint);
	border-radius: 999px;
	padding: 3px 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
}
.bc-articleMeta__item--review { margin-left: auto; }
@media (max-width: 599px) {
	.bc-articleMeta { font-size: 11px; gap: 6px 14px; }
	.bc-articleMeta__item--review { margin-left: 0; }
}

/* ============================================================
   目次
   ============================================================ */
.bc-toc {
	background: var(--bc-bg-soft);
	border: 1px solid #ece4d6;
	border-radius: 10px;
	padding: 20px 24px;
	margin: 32px 0;
}
.bc-toc__title {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--bc-text);
	display: flex;
	align-items: center;
	gap: 8px;
}
.bc-toc__title::before {
	content: "";
	width: 14px; height: 2px;
	background: var(--bc-mint-dark);
	box-shadow: 0 5px 0 var(--bc-mint-dark), 0 -5px 0 var(--bc-mint-dark);
	display: inline-block;
}
.bc-toc__list { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.bc-toc__item--h2 {
	counter-increment: toc;
	margin: 0 0 8px;
	padding-left: 26px;
	position: relative;
}
.bc-toc__item--h2::before {
	content: counter(toc);
	position: absolute;
	left: 0; top: 1px;
	width: 18px; height: 18px;
	background: var(--bc-mint-dark);
	color: #fff;
	border-radius: 50%;
	font-size: 10px;
	font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.bc-toc__sub { list-style: none; margin: 6px 0 10px; padding: 0 0 0 4px; }
.bc-toc__item--h3 {
	margin: 0 0 5px;
	padding-left: 14px;
	position: relative;
	font-size: 13px;
}
.bc-toc__item--h3::before {
	content: "";
	position: absolute; left: 0; top: 9px;
	width: 6px; height: 1px;
	background: #bcd4ce;
}
.bc-toc a {
	color: var(--bc-text);
	text-decoration: none;
	font-size: 14px;
	line-height: 1.7;
	transition: color .15s ease;
}
.bc-toc__item--h3 a { font-size: 13px; color: #556666; }
.bc-toc a:hover { color: var(--bc-mint-dark); text-decoration: underline; }
.bc-toc a.is-active { color: var(--bc-mint-dark); font-weight: 700; }
@media (max-width: 599px) {
	.bc-toc { padding: 16px; margin: 24px 0; }
	.bc-toc a { font-size: 13px; }
	.bc-toc__item--h3 a { font-size: 12px; }
}

/* ============================================================
   FAQ（[bc_faq]）
   ============================================================ */
.bc-faq {
	border: 1px solid var(--bc-border);
	border-radius: 10px;
	padding: 18px 20px;
	margin: 20px 0;
	background: #fff;
}
.bc-faq__q,
.bc-faq__a { display: flex; gap: 12px; align-items: flex-start; }
.bc-faq__q {
	font-weight: 700;
	color: var(--bc-text);
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px dashed var(--bc-border);
}
.bc-faq__mark {
	flex: 0 0 auto;
	width: 26px; height: 26px;
	border-radius: 50%;
	background: var(--bc-mint-dark);
	color: #fff;
	font-size: 13px; font-weight: 900;
	display: flex; align-items: center; justify-content: center;
	line-height: 1;
}
.bc-faq__mark--a { background: #fff; color: var(--bc-mint-dark); border: 2px solid var(--bc-mint-dark); }
.bc-faq__body { font-size: 14px; line-height: 1.9; color: #445555; }
.bc-faq__body p:last-child { margin-bottom: 0; }
@media (max-width: 599px) {
	.bc-faq { padding: 14px 16px; }
	.bc-faq__q { font-size: 14px; }
	.bc-faq__body { font-size: 13px; }
	.bc-faq__mark { width: 22px; height: 22px; font-size: 11px; }
}

/* ============================================================
   出典・参考文献（[bc_source]）
   ============================================================ */
.bc-sources {
	margin: 40px 0 0;
	padding: 20px 24px;
	background: #f7f9f9;
	border-left: 3px solid var(--bc-mint);
	border-radius: 4px;
}
.bc-sources__title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--bc-mint-dark);
}
.bc-sources__list {
	margin: 0;
	padding-left: 1.4em;
	font-size: 12px;
	line-height: 1.9;
	color: var(--bc-sub-text);
}
.bc-sources__list a { color: #3a6b62; text-decoration: underline; text-underline-offset: 2px; }
.bc-sources__list a:hover { color: var(--bc-mint-dark); }
.bc-sources__pub { font-size: 11px; }
@media (max-width: 599px) { .bc-sources { padding: 16px; } }

/* ============================================================
   医療免責
   ============================================================ */
.bc-disclaimer {
	margin: 24px 0 0;
	padding: 14px 18px;
	background: #fbfaf6;
	border: 1px dashed #e0d9c8;
	border-radius: 6px;
}
.bc-disclaimer p {
	margin: 0;
	font-size: 11.5px;
	line-height: 1.85;
	color: #8a8577;
}

/* ============================================================
   関連記事
   ============================================================ */
.bc-related { margin: 44px 0 0; }
.bc-related__title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 700;
	color: var(--bc-text);
	padding-left: 12px;
	border-left: 4px solid var(--bc-mint);
	line-height: 1.4;
}
.bc-related__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}
.bc-related__item a {
	display: flex;
	gap: 12px;
	text-decoration: none;
	color: inherit;
	align-items: flex-start;
	padding: 8px;
	border-radius: 8px;
	transition: background .15s ease;
}
.bc-related__item a:hover { background: var(--bc-mint-light); }
.bc-related__thumb {
	flex: 0 0 88px;
	width: 88px; height: 62px;
	border-radius: 6px;
	overflow: hidden;
	background: #eef2f1;
	display: block;
}
.bc-related__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bc-related__noimg { display: block; width: 100%; height: 100%; background: #e8eeed; }
.bc-related__body { flex: 1 1 auto; min-width: 0; }
.bc-related__heading {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.55;
	color: var(--bc-text);
	margin-bottom: 4px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}
.bc-related__date { font-size: 11px; color: #9aa8a6; }
@media (max-width: 767px) {
	.bc-related__list { grid-template-columns: 1fr; gap: 8px; }
	.bc-related__thumb { flex: 0 0 76px; width: 76px; height: 54px; }
	.bc-related__heading { font-size: 13px; -webkit-line-clamp: 2; }
}

/* ============================================================
   記事本文の難読化リンク（.bc-affLink）
   ============================================================ */
.bc-affLink {
	cursor: pointer;
	color: inherit;
	text-decoration: inherit;
	transition: opacity .15s ease;
	-webkit-tap-highlight-color: transparent;
}
.bc-affLink:hover { opacity: .85; }
.bc-affLink:focus-visible { outline: 2px solid rgba(0, 0, 0, .15); outline-offset: 2px; }
.bc-affLink.swell-block-button,
.bc-affLink.wp-block-button__link,
.bc-affLink.btn-cv,
.bc-affLink.btn,
.bc-affLink[class*="btn-"],
.bc-affLink[class*="cubic"] { display: inline-block; text-align: center; }

/* ============================================================
   監修者ボックス（[bc_supervisor] 使用時のみ表示）
   ============================================================ */
.bc-supervisor {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 20px;
	padding: 24px;
	margin: 40px 0;
	background: var(--bc-mint-light);
	border-left: 4px solid var(--bc-mint);
	border-radius: 4px;
	align-items: start;
}
.bc-supervisor__photo img {
	width: 100px; height: 100px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
	background: #fff;
}
.bc-supervisor__label {
	font-size: 11px;
	letter-spacing: .1em;
	color: var(--bc-mint-dark);
	font-weight: 700;
	margin-bottom: 4px;
}
.bc-supervisor__name { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--bc-text); }
.bc-supervisor__title { font-size: 12px; color: var(--bc-sub-text); font-weight: 400; margin-left: 8px; }
.bc-supervisor__bio { margin: 0 0 8px; font-size: 13px; line-height: 1.75; color: #445555; }
.bc-supervisor__details { margin: 12px 0; font-size: 12px; }
.bc-supervisor__details summary {
	cursor: pointer; color: var(--bc-mint-dark); font-weight: 600;
	list-style: none; padding: 4px 0; user-select: none;
}
.bc-supervisor__details summary::-webkit-details-marker { display: none; }
.bc-supervisor__details summary::before {
	content: "▶"; display: inline-block; margin-right: 6px;
	font-size: 9px; transition: transform .15s ease;
}
.bc-supervisor__details[open] summary::before { transform: rotate(90deg); }
.bc-supervisor__creds,
.bc-supervisor__memberships {
	list-style: none; margin: 6px 0 0; padding: 8px 0 0 14px;
	font-size: 12px; line-height: 1.9; color: #445555;
	border-top: 1px dashed var(--bc-border);
}
.bc-supervisor__creds li,
.bc-supervisor__memberships li { position: relative; padding-left: 14px; }
.bc-supervisor__creds li::before,
.bc-supervisor__memberships li::before {
	content: "・"; position: absolute; left: 0; color: var(--bc-mint-dark);
}
.bc-supervisor__memberships-label {
	margin: 10px 0 0; font-size: 11px; color: var(--bc-sub-text);
	font-weight: 600; letter-spacing: .05em;
}
.bc-supervisor__memberships a { color: #445555; text-decoration: none; border-bottom: 1px dotted var(--bc-mint); }
.bc-supervisor__memberships a:hover { color: var(--bc-mint-dark); }
.bc-supervisor__actions {
	margin-top: 10px; display: flex; flex-wrap: wrap;
	align-items: center; gap: 14px; font-size: 12px;
}
.bc-supervisor__link {
	display: inline-block; font-size: 12px;
	color: var(--bc-mint-dark); text-decoration: none;
	border-bottom: 1px solid var(--bc-mint-dark); padding-bottom: 2px;
}
.bc-supervisor__link:hover { color: var(--bc-text); border-bottom-color: var(--bc-text); }
@media (max-width: 599px) {
	.bc-supervisor { grid-template-columns: 72px 1fr; padding: 16px; gap: 14px; }
	.bc-supervisor__photo img { width: 72px; height: 72px; }
	.bc-supervisor__name { font-size: 15px; }
	.bc-supervisor__title { display: block; margin: 4px 0 0 0; }
}

/* ============================================================
   本体サイトへの自動内部リンク（.bc-autoLink）
   ・本文中に自然に馴染ませる（過剰に目立たせない）
   ============================================================ */
.bc-autoLink {
	color: #3a7d70;
	text-decoration: underline;
	text-decoration-color: #b7ddd4;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: color .15s ease, text-decoration-color .15s ease;
}
.bc-autoLink:hover {
	color: var(--bc-mint-dark);
	text-decoration-color: var(--bc-mint-dark);
}

/* ============================================================
   カテゴリ別サービス誘導（.bc-serviceCta）
   ============================================================ */
.bc-serviceCta {
	margin: 36px 0 0;
	padding: 22px 24px;
	background: var(--bc-mint-light);
	border-radius: 10px;
	border: 1px solid #cfe8e0;
}
.bc-serviceCta__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 700;
	color: var(--bc-text);
	display: flex;
	align-items: center;
	gap: 8px;
}
.bc-serviceCta__title::before {
	content: "";
	flex: 0 0 auto;
	width: 4px; height: 16px;
	background: var(--bc-mint-dark);
	border-radius: 2px;
}
.bc-serviceCta__text {
	margin: 0 0 14px;
	font-size: 13.5px;
	line-height: 1.9;
	color: #445555;
}
.bc-serviceCta__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	color: var(--bc-mint-dark) !important;
	border: 1px solid var(--bc-mint-dark);
	border-radius: 999px;
	padding: 10px 22px;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none !important;
	transition: background .15s ease, color .15s ease;
}
.bc-serviceCta__link:hover {
	background: var(--bc-mint-dark);
	color: #fff !important;
}
@media (max-width: 599px) {
	.bc-serviceCta { padding: 18px 16px; }
	.bc-serviceCta__text { font-size: 13px; }
	.bc-serviceCta__link { width: 100%; justify-content: center; box-sizing: border-box; }
}

/* ============================================================
   本体サイト内リンク集（.bc-siteLinks）
   ============================================================ */
.bc-siteLinks {
	margin: 28px 0 0;
	padding: 18px 22px;
	border: 1px solid var(--bc-border);
	border-radius: 8px;
	background: #fff;
}
.bc-siteLinks__title {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--bc-sub-text);
}
.bc-siteLinks__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
}
.bc-siteLinks__list a {
	display: inline-block;
	font-size: 12.5px;
	color: var(--bc-text);
	text-decoration: none;
	background: #f2f7f6;
	border-radius: 999px;
	padding: 6px 14px;
	transition: background .15s ease, color .15s ease;
}
.bc-siteLinks__list a:hover { background: var(--bc-mint-dark); color: #fff; }
@media (max-width: 599px) {
	.bc-siteLinks { padding: 14px 16px; }
	.bc-siteLinks__list a { font-size: 12px; padding: 5px 12px; }
}

/* ============================================================
   メディア紹介（一覧トップ）
   ============================================================ */
.bc-mediaIntro {
	max-width: 1120px;
	margin: 0 auto 28px;
	padding: 24px 20px 20px;
	border-bottom: 1px solid var(--bc-border);
	box-sizing: border-box;
}
.bc-mediaIntro__title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 700;
	color: var(--bc-text);
	letter-spacing: .02em;
	border: 0;
	padding: 0;
}
.bc-mediaIntro__lead {
	margin: 0 0 8px;
	font-size: 14px;
	line-height: 1.9;
	color: #556666;
}
.bc-mediaIntro__by { margin: 0; font-size: 12px; color: var(--bc-sub-text); }
.bc-mediaIntro__by a { color: var(--bc-mint-dark); text-decoration: none; font-weight: 600; }
.bc-mediaIntro__by a:hover { text-decoration: underline; }
@media (max-width: 599px) {
	.bc-mediaIntro { padding: 18px 12px 16px; margin-bottom: 20px; }
	.bc-mediaIntro__title { font-size: 20px; }
	.bc-mediaIntro__lead { font-size: 13px; }
}

/* ============================================================
   404 ガイド
   ============================================================ */
.bc-404guide {
	max-width: 640px;
	margin: 40px auto 60px;
	padding: 28px 24px;
	background: var(--bc-bg-soft);
	border-radius: 10px;
	text-align: center;
}
.bc-404guide__title { margin: 0 0 8px; font-size: 16px; font-weight: 700; color: var(--bc-text); }
.bc-404guide__text  { margin: 0 0 16px; font-size: 13px; color: var(--bc-sub-text); line-height: 1.8; }
.bc-404guide__list {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px;
}
.bc-404guide__list a {
	display: inline-block;
	font-size: 13px;
	color: var(--bc-mint-dark);
	text-decoration: none;
	border: 1px solid var(--bc-mint-dark);
	border-radius: 999px;
	padding: 8px 18px;
	transition: background .15s ease, color .15s ease;
}
.bc-404guide__list a:hover { background: var(--bc-mint-dark); color: #fff; }

/* ============================================================
   PC/SP 表示切替ユーティリティ
   ============================================================ */
.tablet_sp { display: none; }
.tablet_pc { display: block; }
@media (max-width: 959px) {
	.tablet_sp { display: block; }
	.tablet_pc { display: none; }
}
