/*
  Fujimoto Rheuma Portal — メインCSS
  B案「Teal＋アプリコット」(Top-B-Teal.dc.html) を視覚仕様として、
  style-hover等のランタイム依存を排したセマンティックCSSで再実装したもの。

  設計方針：モバイルファースト。
  ベース= 767px以下（1カラム基本）
  768px以上  … 2カラム系グリッドを解禁（4つの入口など）
  1024px以上 … PCの主要2カラムレイアウト（ヒーロー・アコーディオン・監修者）を解禁
  1440px以上 … コンテナ最大幅1200pxで中央寄せ・余白拡大

  横スクロールを発生させないため、固定 width ではなく max-width + 100% を徹底する。
*/

/* ===== 0. リセット・変数 ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
	-webkit-text-size-adjust: 100%;
	/* オフキャンバスドロワー(.primary-nav)はposition:fixedで画面外に配置しているが、
	   fixed要素はbodyのoverflow指定ではクリップされずhtmlのスクロール可能領域に算入されるため、
	   html自体にもoverflow-x:hiddenを指定して横スクロールの発生を防ぐ。 */
	overflow-x: hidden;
}

:root {
	--fj-teal: #4f8b85;
	--fj-teal-dark: #2e3d38;
	--fj-teal-deep: #26332f;
	--fj-apricot: #e8a765;
	--fj-apricot-dark: #d98f4a;
	--fj-bg: #fbf8f3;
	--fj-ink: #26332f;
	--fj-ink-soft: #55645f;
	--fj-ink-soft2: #5d6c66;
	--fj-muted: #93a29c;
	--fj-muted2: #9aaaa2;
	--fj-border: #eee3d6;
	--fj-border-soft: #f0ebe2;
	--fj-card-teal-bg: #e7f1ef;
	--fj-card-apricot-bg: #fdf0e2;
	--fj-placeholder-a: #eef2ec;
	--fj-placeholder-b: #e5ede6;
	--fj-placeholder-border: #dfe7dd;
	--fj-radius-lg: 28px;
	--fj-radius-md: 22px;
	--fj-radius-sm: 14px;
	--fj-container: 1200px;
	--fj-gap: 22px;
}

body {
	margin: 0;
	background: var(--fj-bg);
	color: var(--fj-ink);
	font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
	line-height: 1.8;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	/* overflow-x:hiddenだとbodyがposition:stickyの意図しないスクロールコンテナになり
	   .site-headerの追従が効かなくなるため、スクロールコンテナを作らないoverflow-x:clipを使う。
	   横スクロール防止自体はhtml側のoverflow-x:hidden（上記）で担保される。 */
	overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul { margin: 0; }
button { font-family: inherit; }

.wrap {
	width: 100%;
	max-width: var(--fj-container);
	margin-inline: auto;
	padding-inline: 20px;
}
@media (min-width: 768px) {
	.wrap { padding-inline: 28px; }
}
@media (min-width: 1024px) {
	.wrap { padding-inline: 40px; }
}
/* B案(Top-B-Teal.dc.html)実測：1440px以上では主要コンテンツ左端が約48〜64pxに収まるよう、
   コンテナを広げてpadding-inlineを絞る（1439px以下の.wrapはここでは変更しない）。 */
@media (min-width: 1440px) {
	.wrap { max-width: 1380px; padding-inline: 28px; }
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}

/* ===== 1. ボタン共通 ===== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	font-weight: 700;
	border-radius: 999px;
	white-space: nowrap;
}
.btn--primary {
	background: var(--fj-apricot);
	color: #fff;
	font-size: 14.5px;
	padding: 13px 22px;
	box-shadow: 0 8px 20px rgba(232,167,101,.35);
	transition: background .2s, transform .2s;
}
.btn--primary:hover, .btn--primary:focus-visible {
	background: var(--fj-apricot-dark);
}
.btn--lg { font-size: 16px; padding: 16px 30px; }
@media (max-width: 767px) {
	.btn--block { width: 100%; justify-content: center; }

	/* TOPヒーローのCTAは内容幅のまま中央配置する。
	   長い文言でほぼ全幅になるため、左揃えだと視覚的に左へ寄って見えるのを防ぐ。 */
	.hero .btn--lg {
		display: flex;
		width: fit-content;
		max-width: 100%;
		margin-inline: auto;
		justify-content: center;
	}
}

/* ===== 2. ヘッダー ===== */
.site-header {
	background: rgba(251,248,243,.92);
	/* backdrop-filterは指定しない：filter/backdrop-filter/transform等はposition:fixedの
	   containing blockを生成するため、内部の.primary-nav（モバイルドロワー、position:fixed）が
	   ビューポートではなくこのヘッダー自身を基準に配置されてしまい、ドロワーの高さ・位置が
	   壊れる（発見済みの既存不具合、本ヘッダー修正時に判明）。背景が92%不透明のため
	   視覚的な違いはほぼ無い。 */
	border-bottom: 1px solid var(--fj-border);
	position: sticky;
	top: 0;
	z-index: 30;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__icon {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--fj-teal);
	display: flex; align-items: center; justify-content: center;
	flex: none;
	box-shadow: 0 4px 12px rgba(79,139,133,.32);
}
.brand__title { display: block; font-weight: 900; font-size: 16px; letter-spacing: .02em; color: var(--fj-ink); }
.brand__sub { display: block; font-size: 10.5px; color: var(--fj-muted); letter-spacing: .05em; }
@media (max-width: 480px) {
	.brand__sub { display: none; } /* 390px前後で省スペース化 */
}
.brand__logo-img {
	display: block;
	height: 56px;
	width: auto;
	max-width: 60vw;
}
@media (max-width: 480px) {
	.brand__logo-img { height: 42px; } /* 390px前後で省スペース化 */
}

.hamburger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px; height: 42px;
	border: none;
	background: transparent;
	cursor: pointer;
	border-radius: 10px;
	position: relative;
	z-index: 26; /* ドロワー(.primary-nav, z-index:25)より手前に固定し、開いた状態でも常に押せるようにする */
}
.hamburger:hover, .hamburger:focus-visible { background: var(--fj-card-teal-bg); }
.hamburger__box { display: inline-flex; flex-direction: column; gap: 5px; width: 20px; }
.hamburger__box span {
	display: block; height: 2px; width: 100%;
	background: var(--fj-teal-deep);
	border-radius: 2px;
	transition: transform .25s, opacity .2s;
}
.hamburger[aria-expanded="true"] .hamburger__box span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__box span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__box span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav__list {
	list-style: none;
	margin: 0; padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.primary-nav__list a {
	display: block;
	text-decoration: none;
	color: var(--fj-ink-soft);
	font-size: 15px;
	font-weight: 500;
	padding: 12px 4px;
}
.primary-nav__list a:hover, .primary-nav__list a:focus-visible { color: var(--fj-teal); }

/* モバイル：ハンバーガーで開閉するドロワー（1023px以下） */
@media (max-width: 1023px) {
	.hamburger { display: inline-flex; }
	.primary-nav {
		position: fixed;
		top: 0;
		/* transformでオフスクリーンにすると、position:fixed要素でも
		   document.documentElement.scrollWidthに算入され横スクロールが発生する
		   既知の挙動があるため、transformではなくright(負値)で画面外に出す。 */
		right: -340px;
		height: 100%;
		width: min(320px, 84vw);
		background: #fff;
		box-shadow: -12px 0 30px rgba(38,51,47,.18);
		padding: 84px 26px 26px;
		transition: right .3s ease;
		z-index: 25;
		overflow-y: auto;
	}
	.primary-nav.is-open { right: 0; }
	.primary-nav__cta { margin-top: 18px; width: 100%; justify-content: center; }
}
@media (min-width: 1024px) {
	.hamburger { display: none; }
	.primary-nav {
		display: flex;
		align-items: center;
		gap: 26px;
	}
	.primary-nav__list { flex-direction: row; gap: 26px; }
	.primary-nav__list a { padding: 0; }
}

/* ===== 3. ヒーロー ===== */
.hero { position: relative; padding-block: 48px 56px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 1024px) {
	.hero { padding-block: 66px 74px; }
	.hero__grid { grid-template-columns: 1.05fr .95fr; gap: 52px; }
	.hero .badge { margin-bottom: 22px; }
	.hero .hero__lead { margin-bottom: 30px; }
	.hero .btn--lg { padding: 18px 34px; }
}

.badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; border: 1px solid #d8e7e3; color: var(--fj-teal);
	font-size: 12.5px; font-weight: 700;
	padding: 7px 15px; border-radius: 999px;
	margin-bottom: 18px;
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fj-apricot); }

.hero__heading { font-size: 28px; line-height: 1.5; font-weight: 900; margin: 0 0 18px; }
@media (min-width: 768px) { .hero__heading { font-size: 33px; } }
@media (min-width: 1024px) { .hero__heading { font-size: 39px; margin-bottom: 22px; } }

.hero__lead { font-size: 15px; color: var(--fj-ink-soft); margin: 0 0 26px; max-width: 520px; }

.hero__media { position: relative; }
@media (max-width: 767px) {
	.hero__media { grid-row: 1; }
	.hero__text { grid-row: 2; }
}
.hero__image { border-radius: 24px; overflow: hidden; }
.hero__image img { width: 100%; }
.hero__image--placeholder {
	aspect-ratio: 4/3;
	background: repeating-linear-gradient(45deg, var(--fj-placeholder-a), var(--fj-placeholder-a) 11px, var(--fj-placeholder-b) 11px, var(--fj-placeholder-b) 22px);
	border: 1px solid var(--fj-placeholder-border);
	display: flex; align-items: center; justify-content: center;
	color: var(--fj-muted2);
	font: 12px monospace;
}
.hero__badge-card {
	position: absolute; bottom: -16px; left: 16px;
	background: #fff; border-radius: 16px; padding: 12px 16px;
	box-shadow: 0 14px 34px -12px rgba(38,51,47,.24);
	display: flex; align-items: center; gap: 10px;
	max-width: calc(100% - 32px);
}
.hero__badge-icon {
	flex: none; width: 36px; height: 36px; border-radius: 50%;
	background: var(--fj-card-apricot-bg); color: var(--fj-apricot-dark);
	display: flex; align-items: center; justify-content: center;
}
.hero__badge-text { font-size: 12px; line-height: 1.4; color: var(--fj-ink-soft); }

/* ===== 4. セクション共通見出し ===== */
.section-lead { margin-bottom: 32px; }
.section-lead--center { text-align: center; }
.section-lead h2 { font-size: 22px; font-weight: 900; line-height: 1.5; margin: 0 0 14px; }
.section-lead p { font-size: 14px; color: var(--fj-ink-soft); max-width: 760px; }
.section-lead--center p { margin-inline: auto; }
.eyebrow {
	display: inline-block; font-size: 13px; font-weight: 700; color: var(--fj-teal);
	background: var(--fj-card-teal-bg); padding: 6px 16px; border-radius: 999px;
	margin-bottom: 12px;
}
@media (min-width: 1024px) {
	.section-lead h2 { font-size: 28px; margin-bottom: 18px; }
	.section-lead p { font-size: 15px; }
}

/* ===== 5. 4つの入口 ===== */
.entry-intro { padding-block: 44px; }
@media (min-width: 1024px) {
	.entry-intro { padding-block: 64px; }
	.entry-intro .section-lead { margin-bottom: 46px; }
}

.entry-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 768px) {
	.entry-cards { grid-template-columns: repeat(2, 1fr); gap: var(--fj-gap); }
}
@media (min-width: 1024px) {
	.entry-cards { gap: 24px; }
}

.entry-card {
	display: flex; align-items: center; gap: 18px;
	background: #fff; border: 1px solid var(--fj-border);
	border-radius: 20px; padding: 22px;
	text-decoration: none; color: inherit;
	transition: transform .2s, box-shadow .2s;
}
.entry-card:hover, .entry-card:focus-visible {
	box-shadow: 0 20px 40px -22px rgba(79,139,133,.35);
	transform: translateY(-4px);
}
.entry-card__icon {
	flex: none; width: 60px; height: 60px; border-radius: 50%;
	background: var(--fj-card-teal-bg);
	position: relative;
}
.entry-card__icon::after {
	content: ''; position: absolute; inset: 0; margin: auto;
	width: 28px; height: 28px;
	background-color: var(--fj-teal);
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}
.entry-card__icon--symptom::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='11' r='5'/%3E%3Cpath d='M6 27c0-5.5 4.5-9 10-9s10 3.5 10 9'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='16' cy='11' r='5'/%3E%3Cpath d='M6 27c0-5.5 4.5-9 10-9s10 3.5 10 9'/%3E%3C/svg%3E"); }
.entry-card__icon--disease { background: var(--fj-card-apricot-bg); }
.entry-card__icon--disease::after { background-color: var(--fj-apricot-dark); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='5' width='18' height='22' rx='2.5'/%3E%3Cpath d='M11 11h10M11 16h10M11 21h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='5' width='18' height='22' rx='2.5'/%3E%3Cpath d='M11 11h10M11 16h10M11 21h6'/%3E%3C/svg%3E"); }
.entry-card__icon--exam::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='14' r='8'/%3E%3Cpath d='M20 20l6 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='14' r='8'/%3E%3Cpath d='M20 20l6 6'/%3E%3C/svg%3E"); }
.entry-card__icon--treatment { background: var(--fj-card-apricot-bg); }
.entry-card__icon--treatment::after { background-color: var(--fj-apricot-dark); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='20' height='20' rx='7'/%3E%3Cpath d='M16 11v10M11 16h10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='20' height='20' rx='7'/%3E%3Cpath d='M16 11v10M11 16h10'/%3E%3C/svg%3E"); }
.entry-card__title { display: block; font-size: 16.5px; font-weight: 900; margin-bottom: 6px; }
.entry-card__desc { display: block; font-size: 13px; color: var(--fj-ink-soft2); }

/* ===== 6. CTA帯 ===== */
.cta-band { padding-block: 0 44px; }
@media (min-width: 1024px) { .cta-band { padding-block: 0 66px; } }
.cta-band__inner {
	border-radius: var(--fj-radius-lg);
	padding: 28px 26px;
	display: flex; flex-direction: column; gap: 18px;
	align-items: flex-start;
	position: relative; overflow: hidden;
}
@media (min-width: 768px) {
	.cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 32px 40px; }
}
@media (min-width: 1024px) {
	.cta-band__inner { padding: 40px 48px; }
	.cta-band--light .btn--primary { padding: 16px 30px; }
}
.cta-band--light .cta-band__inner { background: #fff; border: 1px solid var(--fj-border); }
.cta-band--teal .cta-band__inner { background: var(--fj-teal); }
.cta-band--teal .cta-band__title { color: #fff; }
.cta-band--teal .cta-band__sub { color: #d6ebe7; }
.cta-band__title { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.u-nowrap { white-space: nowrap; }
.cta-band__sub { font-size: 13.5px; color: var(--fj-ink-soft); }
.cta-band .btn { width: 100%; justify-content: center; }
@media (min-width: 480px) { .cta-band .btn { width: auto; justify-content: flex-start; } }

/* フッター直前CTA（.cta-band--teal）はセクション単体で中央寄せ表示にする */
.cta-band--teal { background: var(--fj-teal); padding-block: 44px; text-align: center; }
.cta-band--teal .cta-band__inner { flex-direction: column; align-items: center; text-align: center; background: transparent; border: none; padding: 0; }
.cta-band--teal .btn { width: auto; }
@media (min-width: 1024px) {
	.cta-band--teal { padding-block: 58px; }
	.cta-band--teal .cta-band__title { margin-bottom: 12px; }
	.cta-band--teal .cta-band__sub { margin-bottom: 26px; }
	.cta-band--teal .btn--primary { padding: 17px 34px; }
}

/* ===== 7. アコーディオン（そもそもリウマチとは？） ===== */
.overview { background: #fff; padding-block: 48px; border-top: 1px solid var(--fj-border); border-bottom: 1px solid var(--fj-border); }
@media (min-width: 1024px) {
	.overview { padding-block: 66px; }
	.overview .section-lead { margin-bottom: 44px; }
	.overview__cta .btn { padding: 16px 30px; font-size: 15px; }
}
.overview__inner { max-width: 1000px; }

.overview-item {
	background: var(--fj-bg);
	border-radius: var(--fj-radius-md);
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 18px;
	margin-bottom: 18px;
}
@media (min-width: 768px) {
	.overview-item { grid-template-columns: 260px 1fr; gap: 26px; padding: 26px; align-items: start; }
}

.media-placeholder {
	background: repeating-linear-gradient(45deg, var(--fj-placeholder-a), var(--fj-placeholder-a) 10px, var(--fj-placeholder-b) 10px, var(--fj-placeholder-b) 20px);
	border: 1px solid var(--fj-placeholder-border);
	border-radius: 16px;
	display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
	position: relative;
	color: var(--fj-muted2);
}
.media-placeholder--16x10 { aspect-ratio: 16/10; }
.media-placeholder--3x4 { aspect-ratio: 3/4; }
.media-placeholder__label { font: 11px monospace; background: #fff; padding: 3px 8px; border-radius: 6px; }
.media-placeholder__play {
	width: 46px; height: 46px; border-radius: 50%;
	background: var(--fj-apricot);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 14px rgba(232,167,101,.5);
}

.overview-item__title { font-size: 18px; font-weight: 900; margin-bottom: 10px; color: var(--fj-teal); }
.overview-item__summary { font-size: 14px; color: var(--fj-ink-soft); }
.overview-item__summary p { margin: 0 0 8px; }

.accordion-panel {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .35s;
}
.accordion-panel:not([hidden]) { max-height: 1000px; opacity: 1; }
.accordion-panel__inner {
	padding-top: 14px;
	margin-top: 6px;
	border-top: 1px dashed #d8e7e3;
	font-size: 13.5px;
	color: var(--fj-ink-soft2);
}
.accordion-panel__inner p { margin: 0 0 10px; }

.accordion-toggle {
	margin-top: 14px;
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--fj-card-teal-bg); color: var(--fj-teal);
	border: none; font-size: 13.5px; font-weight: 700;
	padding: 10px 18px; border-radius: 999px; cursor: pointer;
}
.accordion-toggle:hover, .accordion-toggle:focus-visible { background: #d9ebe7; }
.accordion-toggle__sign { font-size: 16px; line-height: 1; }

.fujimoto-video-embed { position: relative; padding-top: 56.25%; margin-top: 12px; border-radius: 12px; overflow: hidden; }
.fujimoto-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.overview__cta { text-align: center; margin-top: 30px; }

/* ===== 8. おすすめ記事（カルーセル） ===== */
.articles { padding-block: 48px; }
@media (min-width: 1024px) {
	.articles { padding-block: 66px; }
}
.articles__head {
	display: flex; flex-direction: column; gap: 18px;
	margin-bottom: 22px;
}
@media (min-width: 768px) {
	.articles__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.articles__head-text h2 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.articles__head-text p { font-size: 13.5px; color: var(--fj-ink-soft); }

.articles__nav { display: none; gap: 10px; flex: none; }
@media (min-width: 768px) { .articles__nav { display: flex; } }

.carousel-btn {
	width: 42px; height: 42px; border-radius: 50%; border: none;
	background: #fff; color: var(--fj-teal); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 12px rgba(38,51,47,.1);
}
.carousel-btn:hover, .carousel-btn:focus-visible { background: var(--fj-card-teal-bg); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

.articles__track {
	display: flex; gap: 16px;
	overflow-x: auto;
	padding-bottom: 8px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}
.article-card {
	scroll-snap-align: start;
	flex: none;
	width: 82vw;
	max-width: 320px;
	text-decoration: none; color: inherit;
	background: #fff; border: 1px solid var(--fj-border);
	border-radius: 18px; overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
@media (min-width: 768px) {
	.article-card { width: 300px; }
}
.article-card:hover, .article-card:focus-visible {
	box-shadow: 0 20px 40px -22px rgba(79,139,133,.35);
	transform: translateY(-4px);
}
.article-card__body { padding: 18px; }
.article-card__tag {
	display: inline-block; font-size: 11px; font-weight: 700; color: var(--fj-apricot-dark);
	background: var(--fj-card-apricot-bg); padding: 4px 11px; border-radius: 999px; margin-bottom: 10px;
}
.article-card__title { font-size: 15.5px; font-weight: 900; margin: 0 0 8px; line-height: 1.5; }
.article-card__lead { font-size: 12.5px; color: var(--fj-ink-soft2); margin: 0; }

/* ===== 9. お知らせ ===== */
.news { background: #fff; padding-block: 42px; border-top: 1px solid var(--fj-border); }
@media (min-width: 1024px) { .news { padding-block: 56px; } }
.news__inner { max-width: 900px; }
.news__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; }
.news__head h2 { font-size: 19px; font-weight: 900; }
.news__eyebrow { font-size: 11px; color: var(--fj-muted); letter-spacing: .1em; }
.news__list { list-style: none; margin: 0; padding: 0; }
.news__link {
	display: flex; flex-direction: column; gap: 4px;
	text-decoration: none; color: inherit;
	padding: 14px 4px; border-top: 1px solid var(--fj-border-soft);
}
@media (min-width: 768px) {
	.news__link { flex-direction: row; align-items: baseline; gap: 18px; }
}
.news__link:hover, .news__link:focus-visible { color: var(--fj-teal); }
.news__date { font-size: 12.5px; color: #a49a8c; font-variant-numeric: tabular-nums; flex: none; }
.news__title { font-size: 13.5px; }
.news__more { border-top: 1px solid var(--fj-border-soft); text-align: right; padding-top: 16px; margin-top: 4px; }
.news__more a { display: inline-flex; align-items: center; gap: 7px; color: var(--fj-teal); text-decoration: none; font-size: 13px; font-weight: 700; }

/* ===== 10. サイト監修者 ===== */
.supervisor { padding-block: 48px; background: var(--fj-bg); }
@media (min-width: 1024px) { .supervisor { padding-block: 66px; } }
.supervisor-card {
	background: #fff; border: 1px solid var(--fj-border);
	border-radius: var(--fj-radius-lg);
	padding: 24px;
	display: grid; grid-template-columns: 1fr; gap: 26px;
	box-shadow: 0 18px 44px -26px rgba(38,51,47,.28);
	max-width: 1000px; margin-inline: auto;
}
@media (min-width: 768px) {
	.supervisor-card { grid-template-columns: 220px 1fr; padding: 36px; }
}
.supervisor-card__photo img,
.supervisor-card__photo .media-placeholder { border-radius: 16px; margin-bottom: 14px; }
.supervisor-card__name-block { text-align: center; }
.supervisor-card__role { font-size: 11.5px; color: var(--fj-muted); }
.supervisor-card__name { font-size: 21px; font-weight: 900; margin-top: 2px; }
.supervisor-card__title { font-size: 12px; color: var(--fj-teal); font-weight: 700; margin-top: 2px; }

.supervisor-card__block { margin-bottom: 20px; }
.supervisor-card__block:last-child { margin-bottom: 0; }
.supervisor-card__block-title {
	font-size: 12.5px; font-weight: 700; color: var(--fj-teal);
	margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--fj-card-teal-bg);
}
.supervisor-card__quals, .supervisor-card__career { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--fj-ink-soft); }
.supervisor-card__quals li { display: flex; gap: 8px; }
.supervisor-card__quals .dot { color: var(--fj-apricot); }
.supervisor-card__career li { display: flex; gap: 12px; font-size: 12.5px; }
.supervisor-card__year { flex: none; width: 64px; font-weight: 700; color: var(--fj-ink); font-variant-numeric: tabular-nums; }

/* ===== 11. フッター ===== */
.site-footer { background: var(--fj-teal-dark); color: #aebbb5; padding-block: 40px 26px; }
.site-footer__inner {
	display: flex; flex-direction: column; gap: 28px;
}
@media (min-width: 768px) {
	.site-footer__inner { flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
}
.brand--footer .brand__title--footer { color: #fff; font-weight: 900; font-size: 15px; }
.site-footer__lead { font-size: 12px; max-width: 340px; margin: 12px 0 0; line-height: 1.9; }
.site-footer__columns { display: flex; gap: 40px; flex-wrap: wrap; }
.site-footer__col-title { color: #fff; font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 12.5px; }
.site-footer__list a { color: #aebbb5; text-decoration: none; }
.site-footer__list a:hover, .site-footer__list a:focus-visible { color: #fff; }
.site-footer__bottom {
	margin-top: 26px; padding-top: 18px; border-top: 1px solid #3f504a;
	font-size: 11px; color: #7f8f89;
}

/* ===== 12. アーカイブ／個別ページ共通 ===== */
.archive-header { padding-block: 36px 20px; }
.archive-header h1 { font-size: 24px; font-weight: 900; margin-bottom: 10px; }
.archive-header p { font-size: 13.5px; color: var(--fj-ink-soft); }

.archive-grid { display: grid; grid-template-columns: 1fr; gap: 18px; padding-bottom: 40px; }
@media (min-width: 768px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .archive-grid { grid-template-columns: repeat(3, 1fr); } }

.archive-card {
	display: block; text-decoration: none; color: inherit;
	background: #fff; border: 1px solid var(--fj-border);
	border-radius: 16px; overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.archive-card:hover, .archive-card:focus-visible { box-shadow: 0 16px 34px -20px rgba(38,51,47,.28); transform: translateY(-3px); }
.archive-card__body { padding: 18px; }
.archive-card__title { font-size: 15.5px; font-weight: 900; margin-bottom: 8px; }
.archive-card__excerpt, .archive-card__date { font-size: 12.5px; color: var(--fj-ink-soft2); }

.single-content__inner { max-width: 840px; padding-block: 36px 40px; }
.single-content__cat {
	display: inline-block; font-size: 11px; font-weight: 700; color: var(--fj-apricot-dark);
	background: var(--fj-card-apricot-bg); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.single-content__title { font-size: 24px; font-weight: 900; line-height: 1.5; margin-bottom: 14px; }
@media (min-width: 1024px) { .single-content__title { font-size: 30px; } }
.single-content__date { display: block; font-size: 12.5px; color: var(--fj-muted); margin-bottom: 16px; }
.single-content__thumbnail { border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.single-content__body { font-size: 15px; color: var(--fj-ink-soft); }
.single-content__body p { margin: 0 0 1.4em; }
.single-content__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.topic-chip {
	display: inline-block; font-size: 12px; color: var(--fj-teal);
	background: var(--fj-card-teal-bg); padding: 5px 12px; border-radius: 999px; text-decoration: none;
}

.related-content { padding-block: 36px 44px; border-top: 1px solid var(--fj-border); }
.related-content__title { font-size: 18px; font-weight: 900; margin-bottom: 18px; }
.related-content__grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 768px) { .related-content__grid { grid-template-columns: repeat(2, 1fr); } }
.related-card {
	display: flex; flex-direction: column; gap: 6px;
	text-decoration: none; color: inherit;
	background: #fff; border: 1px solid var(--fj-border); border-radius: 14px; padding: 16px;
}
.related-card__type { font-size: 11px; color: var(--fj-teal); font-weight: 700; }
.related-card__title { font-size: 14px; font-weight: 700; }

/* ===== 12b. パンくず／動画ハブページ／動画専用ページ =====
   （12.の直後に追加。番号を13以降にすると「B案実測上書きは末尾固定」の意図と紛らわしいため12bとする） */
.breadcrumb { margin-bottom: 14px; }
.breadcrumb__list {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center;
	margin: 0; padding: 0; gap: 6px;
	font-size: 12px; color: var(--fj-muted);
}
.breadcrumb__item { display: flex; align-items: center; gap: 6px; }
.breadcrumb__item:not(:first-child)::before { content: '›'; color: var(--fj-muted); }
.breadcrumb__item a { color: var(--fj-ink-soft); text-decoration: none; }
.breadcrumb__item a:hover, .breadcrumb__item a:focus-visible { color: var(--fj-teal); }
.breadcrumb__item span[aria-current] { color: var(--fj-muted); }

.video-hub { padding-block: 8px 48px; }
@media (min-width: 1024px) { .video-hub { padding-block: 12px 66px; } }
.video-hub__empty { font-size: 14px; color: var(--fj-ink-soft); padding-block: 20px; }

.video-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 768px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .video-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.video-grid--related { margin-top: 4px; }

.video-card {
	display: block; text-decoration: none; color: inherit;
	background: #fff; border: 1px solid var(--fj-border);
	border-radius: 18px; overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.video-card:hover, .video-card:focus-visible { box-shadow: 0 20px 40px -22px rgba(79,139,133,.35); transform: translateY(-4px); }
.video-card__media { position: relative; aspect-ratio: 16/9; background: var(--fj-placeholder-a); }
.video-card__media img { width: 100%; height: 100%; object-fit: cover; }
.video-card__media .media-placeholder { border-radius: 0; height: 100%; }
.video-card__play {
	position: absolute; inset: 0; margin: auto;
	width: 44px; height: 44px; border-radius: 50%;
	background: rgba(38,51,47,.55);
	display: flex; align-items: center; justify-content: center;
	pointer-events: none;
}
.video-card__body { padding: 18px; }
.video-card__title { font-size: 15.5px; font-weight: 900; margin-bottom: 8px; line-height: 1.5; }
.video-card__excerpt { font-size: 12.5px; color: var(--fj-ink-soft2); margin-bottom: 12px; }
.video-card__link { display: inline-flex; align-items: center; gap: 6px; color: var(--fj-teal); font-size: 12.5px; font-weight: 700; }

.video-hub__theme-links, .video-single__theme-links .video-hub__theme-links {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
	margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--fj-border);
}
.video-hub__theme-links-label { font-size: 12.5px; color: var(--fj-muted); margin-right: 4px; }

.video-single__inner { max-width: 840px; padding-block: 8px 40px; }
.video-single__title { font-size: 24px; font-weight: 900; line-height: 1.5; margin-bottom: 18px; }
@media (min-width: 1024px) { .video-single__title { font-size: 30px; } }
.video-single__embed { margin-top: 0; margin-bottom: 28px; }
.video-single__section { margin-bottom: 32px; }
.video-single__section-title { font-size: 17px; font-weight: 900; margin-bottom: 10px; color: var(--fj-teal); }
.video-single__body { font-size: 15px; color: var(--fj-ink-soft); }
.video-single__body p { margin: 0 0 1.2em; }
.video-single__notice {
	font-size: 12.5px; color: var(--fj-apricot-dark);
	background: var(--fj-card-apricot-bg); border-radius: 10px;
	padding: 10px 14px; margin: 10px 0 0;
}
.video-single__review-notice {
	font-size: 12.5px; color: var(--fj-muted);
	background: var(--fj-bg-soft, #f3efe6); border-radius: 8px;
	padding: 8px 14px; margin: 0 0 24px; display: inline-block;
}
.video-single__points {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 10px;
}
.video-single__points-item {
	position: relative; font-size: 15px; line-height: 1.6; color: var(--fj-ink);
	background: var(--fj-card-teal-bg); border-radius: var(--fj-radius-sm);
	padding: 12px 16px 12px 42px;
}
.video-single__points-item::before {
	content: ""; position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	width: 18px; height: 18px; border-radius: 50%;
	background: var(--fj-teal);
}
.video-single__points-item::after {
	content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-65%) rotate(-45deg);
	width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff;
}
.video-single__transcript-note { font-size: 12px; color: var(--fj-muted); margin: 0 0 10px; }
.video-single__transcript {
	max-width: 760px;
	background: var(--fj-bg);
	border: 1px solid var(--fj-border);
	border-radius: var(--fj-radius-md);
	padding: 24px 20px;
}
@media (min-width: 768px) { .video-single__transcript { padding: 32px; } }
.video-single__transcript-para {
	font-size: 15px; line-height: 1.8; color: var(--fj-ink-soft);
	margin: 0 0 1.6em;
}
@media (min-width: 1024px) { .video-single__transcript-para { font-size: 16.5px; } }
.video-single__transcript-para:last-child { margin-bottom: 0; }
.video-single__transcript-time {
	display: inline-block; font-size: 12px; font-weight: 700; color: var(--fj-teal);
	background: var(--fj-card-teal-bg); border-radius: 999px;
	padding: 2px 10px; margin: 0 8px 4px 0;
	vertical-align: middle; font-variant-numeric: tabular-nums;
}
.video-single__related { padding-block: 8px 44px; border-top: 1px solid var(--fj-border); }
.video-single__theme-links { padding-block: 0 44px; }

/* ===== 12c. 症状ページ SEO強化（v14） =====
   すべて .symptom- 接頭辞のクラス（＋ .video-hub__head / __title / __lead）でスコープしている。
   .video-hub__* は video-hub.php に heading 引数を渡したときだけ描画されるため、
   引数を渡していない疾患・検査・治療の各ハブページには一切適用されない。
   TOP・個別ページ・他アーカイブの既存セレクタは1つも上書きしていない。
   セクション13（B案実測上書き）より前に置き、13の「末尾固定」の意図を保つ。 */

/* 読み物部分の左端をそろえる共通幅（.wrap の 1200/1380px より狭い）。症状ページ内だけに適用する。
   動画セクション（.video-hub）は対象外。v15で、既存11本の動画グリッドのカード幅が
   他3ハブより狭くならないよう、v13までと同じ通常の .wrap 幅へ戻した（ChatGPTレビュー指示）。 */
.symptom-hero,
.symptom-section__inner,
.symptom-page .cta-band__inner { max-width: 1000px; }

.symptom-hero { padding-block: 36px 8px; }
.symptom-hero h1 {
	font-size: 24px;
	font-weight: 900;
	line-height: 1.45;
	margin-bottom: 18px;
}
@media (min-width: 1024px) {
	.symptom-hero { padding-block: 44px 12px; }
	.symptom-hero h1 { font-size: 32px; }
}
.symptom-hero__lead { max-width: 820px; }
.symptom-hero__lead p {
	font-size: 14.5px;
	line-height: 1.95;
	color: var(--fj-ink-soft);
	margin: 0 0 1.1em;
}
.symptom-hero__lead p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
	.symptom-hero__lead p { font-size: 15.5px; }
}

/* --- セクション共通 --- */
.symptom-section { padding-block: 30px; }
@media (min-width: 1024px) { .symptom-section { padding-block: 44px; } }

/* 本文の1行が長くなりすぎないよう、セクション幅(1000px)とは別に読み物部分の幅を絞る。 */
.symptom-section__lead,
.symptom-section__text,
.symptom-note,
.symptom-detail__item,
.symptom-combo__item,
.symptom-prep__item,
.symptom-faq__item { max-width: 820px; }

.symptom-section__title {
	font-size: 20px;
	font-weight: 900;
	line-height: 1.5;
	margin-bottom: 16px;
	padding-left: 14px;
	border-left: 5px solid var(--fj-teal);
}
@media (min-width: 1024px) {
	.symptom-section__title { font-size: 25px; margin-bottom: 22px; padding-left: 16px; }
}

.symptom-section__lead { margin-bottom: 22px; }
.symptom-section__text,
.symptom-section__lead p {
	font-size: 15px;
	line-height: 1.95;
	color: var(--fj-ink-soft);
	margin: 0 0 1.2em;
}
.symptom-section__text:last-child,
.symptom-section__lead p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) {
	.symptom-section__text,
	.symptom-section__lead p { font-size: 15.5px; }
}

.symptom-inline-link {
	display: inline-flex; align-items: center; gap: 6px;
	color: var(--fj-teal); font-size: 14px; font-weight: 700;
	text-decoration: none;
}
.symptom-inline-link:hover, .symptom-inline-link:focus-visible { text-decoration: underline; }
.symptom-section__link { margin: 20px 0 0; }

.symptom-note {
	font-size: 13.5px;
	line-height: 1.85;
	color: var(--fj-ink-soft2);
	background: #fff;
	border: 1px solid var(--fj-border);
	border-radius: var(--fj-radius-sm);
	padding: 14px 16px;
	margin: 20px 0 0;
}
.symptom-note--caution {
	color: var(--fj-apricot-dark);
	background: var(--fj-card-apricot-bg);
	border-color: #f2ddc2;
	margin: 0 0 20px;
	font-weight: 500;
}

/* --- 気になる症状から探す --- */
.symptom-finder { background: #fff; border-top: 1px solid var(--fj-border); border-bottom: 1px solid var(--fj-border); }
.symptom-finder__list {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr; gap: 12px;
}
@media (min-width: 480px) { .symptom-finder__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .symptom-finder__list { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
@media (min-width: 1024px) { .symptom-finder__list { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.symptom-finder__card {
	display: flex; flex-direction: column; gap: 5px; height: 100%;
	background: var(--fj-bg);
	border: 1px solid var(--fj-border);
	border-radius: var(--fj-radius-sm);
	padding: 16px 16px 16px 18px;
	text-decoration: none; color: inherit;
	border-left: 4px solid var(--fj-teal);
	transition: background .2s, box-shadow .2s, transform .2s;
}
.symptom-finder__card:hover, .symptom-finder__card:focus-visible {
	background: var(--fj-card-teal-bg);
	box-shadow: 0 14px 28px -20px rgba(79,139,133,.45);
	transform: translateY(-2px);
}
.symptom-finder__card-title { font-size: 15px; font-weight: 900; line-height: 1.5; }
.symptom-finder__card-desc { font-size: 12.5px; line-height: 1.65; color: var(--fj-ink-soft2); }

/* --- 主な症状（H3群） --- */
.symptom-detail__item {
	background: #fff;
	border: 1px solid var(--fj-border);
	border-radius: var(--fj-radius-md);
	padding: 20px;
	margin-bottom: 14px;
	/* ヘッダーが position:sticky のため、アンカー着地時に見出しが隠れないようにする */
	scroll-margin-top: 84px;
}
@media (min-width: 768px) { .symptom-detail__item { padding: 26px 28px; } }
@media (min-width: 1024px) { .symptom-detail__item { scroll-margin-top: 92px; } }
.symptom-detail__item:last-child { margin-bottom: 0; }
.symptom-detail__title {
	font-size: 17px; font-weight: 900; line-height: 1.5;
	color: var(--fj-teal);
	margin-bottom: 10px;
}
@media (min-width: 1024px) { .symptom-detail__title { font-size: 19px; } }
.symptom-detail__text {
	font-size: 14.5px; line-height: 1.9; color: var(--fj-ink-soft);
	margin: 0 0 1.1em;
}
.symptom-detail__text:last-child { margin-bottom: 0; }
@media (min-width: 1024px) { .symptom-detail__text { font-size: 15px; } }

/* --- 関節リウマチで気づきやすい症状：代表動画1本 --- */
.symptom-ra { background: #fff; border-top: 1px solid var(--fj-border); border-bottom: 1px solid var(--fj-border); }
.symptom-ra__video { margin-top: 24px; max-width: 420px; }
.symptom-ra__video-card { background: var(--fj-bg); }

/* --- 症状の組み合わせから考える --- */
.symptom-combo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.symptom-combo__item {
	display: grid; grid-template-columns: 1fr; gap: 6px; align-items: center;
	background: #fff;
	border: 1px solid var(--fj-border);
	border-radius: var(--fj-radius-sm);
	padding: 16px 18px;
}
@media (min-width: 768px) {
	.symptom-combo__item { grid-template-columns: 1fr auto 1fr; gap: 16px; }
}
.symptom-combo__symptoms { font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.symptom-combo__arrow { color: var(--fj-teal); font-size: 16px; font-weight: 700; line-height: 1; }
@media (max-width: 767px) {
	.symptom-combo__item { gap: 10px; }
	.symptom-combo__arrow { display: none; }
	.symptom-combo__result {
		position: relative;
		padding-left: 14px;
	}
	.symptom-combo__result::before {
		content: '';
		position: absolute;
		left: 0;
		top: .25em;
		bottom: .25em;
		width: 2px;
		border-radius: 999px;
		background: var(--fj-teal);
		opacity: .65;
	}
}
.symptom-combo__result { font-size: 13.5px; line-height: 1.7; color: var(--fj-ink-soft); }

/* --- 診察の前に記録しておくと役立つこと --- */
.symptom-prep__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.symptom-prep__item {
	position: relative;
	font-size: 14.5px; line-height: 1.75; color: var(--fj-ink);
	background: var(--fj-card-teal-bg);
	border-radius: var(--fj-radius-sm);
	padding: 12px 16px 12px 42px;
}
.symptom-prep__item::before {
	content: ''; position: absolute; left: 16px; top: 1.1em; transform: translateY(-50%);
	width: 8px; height: 8px; border-radius: 50%; background: var(--fj-teal);
}

/* --- 動画セクション（video-hub.php に heading を渡したときのみ描画される） --- */
.video-hub__head { margin-bottom: 20px; }
.video-hub__title {
	font-size: 20px; font-weight: 900; line-height: 1.5;
	margin-bottom: 12px;
	padding-left: 14px;
	border-left: 5px solid var(--fj-teal);
}
@media (min-width: 1024px) {
	.video-hub__title { font-size: 25px; padding-left: 16px; }
	.video-hub__head { margin-bottom: 26px; }
}
.video-hub__lead {
	font-size: 14.5px; line-height: 1.9; color: var(--fj-ink-soft);
	max-width: 840px; margin: 0;
}
@media (min-width: 1024px) { .video-hub__lead { font-size: 15px; } }
.symptom-page .video-hub { padding-block: 30px; scroll-margin-top: 84px; }
@media (min-width: 1024px) {
	.symptom-page .video-hub { padding-block: 44px; scroll-margin-top: 92px; }
}

/* --- FAQ（TOPのアコーディオン部品を再利用し、幅いっぱいの質問行に調整） --- */
.symptom-faq { background: #fff; border-top: 1px solid var(--fj-border); border-bottom: 1px solid var(--fj-border); }
.symptom-faq__item {
	border: 1px solid var(--fj-border);
	border-radius: var(--fj-radius-sm);
	background: var(--fj-bg);
	margin-bottom: 12px;
	overflow: hidden;
}
.symptom-faq__item:last-child { margin-bottom: 0; }
.symptom-faq__heading { margin: 0; font-size: inherit; font-weight: inherit; }

.symptom-faq .accordion-toggle {
	margin-top: 0;
	width: 100%;
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: start;
	gap: 12px;
	text-align: left;
	background: transparent;
	color: var(--fj-ink);
	border-radius: 0;
	padding: 16px 18px;
	font-size: 15px;
	line-height: 1.6;
}
.symptom-faq .accordion-toggle:hover,
.symptom-faq .accordion-toggle:focus-visible { background: var(--fj-card-teal-bg); }
.symptom-faq__q-mark {
	flex: none;
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--fj-teal); color: #fff;
	font-size: 13px; font-weight: 900; line-height: 24px; text-align: center;
}
.symptom-faq__q { font-weight: 700; }
.symptom-faq .accordion-toggle__sign { color: var(--fj-teal); line-height: 1.6; }

.symptom-faq__panel { background: #fff; }
.symptom-faq .accordion-panel__inner {
	border-top: 1px solid var(--fj-border);
	border-top-style: solid;
	margin-top: 0;
	padding: 16px 18px;
}
.symptom-faq__answer-text {
	font-size: 14.5px; line-height: 1.9; color: var(--fj-ink-soft); margin: 0;
}
.symptom-faq__answer-link { margin: 14px 0 0; }

/* --- 症状の次に知りたいこと --- */
.symptom-next__cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .symptom-next__cards { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.symptom-next__card {
	display: flex; align-items: center; gap: 14px;
	background: #fff; border: 1px solid var(--fj-border);
	border-radius: 20px; padding: 20px;
	text-decoration: none; color: inherit;
	transition: transform .2s, box-shadow .2s;
}
.symptom-next__card:hover, .symptom-next__card:focus-visible {
	box-shadow: 0 20px 40px -22px rgba(79,139,133,.35);
	transform: translateY(-4px);
}
.symptom-next__icon {
	flex: none; width: 46px; height: 46px; border-radius: 50%;
	background: var(--fj-card-teal-bg); position: relative;
}
.symptom-next__icon::after {
	content: ''; position: absolute; inset: 0; margin: auto;
	width: 22px; height: 22px;
	background-color: var(--fj-teal);
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}
.symptom-next__icon--disease { background: var(--fj-card-apricot-bg); }
.symptom-next__icon--disease::after { background-color: var(--fj-apricot-dark); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='5' width='18' height='22' rx='2.5'/%3E%3Cpath d='M11 11h10M11 16h10M11 21h6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='5' width='18' height='22' rx='2.5'/%3E%3Cpath d='M11 11h10M11 16h10M11 21h6'/%3E%3C/svg%3E"); }
.symptom-next__icon--exam::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='14' r='8'/%3E%3Cpath d='M20 20l6 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='14' cy='14' r='8'/%3E%3Cpath d='M20 20l6 6'/%3E%3C/svg%3E"); }
.symptom-next__icon--treatment { background: var(--fj-card-apricot-bg); }
.symptom-next__icon--treatment::after { background-color: var(--fj-apricot-dark); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='20' height='20' rx='7'/%3E%3Cpath d='M16 11v10M11 16h10'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='6' width='20' height='20' rx='7'/%3E%3Cpath d='M16 11v10M11 16h10'/%3E%3C/svg%3E"); }
.symptom-next__body { display: flex; flex-direction: column; gap: 3px; flex: 1 1 auto; min-width: 0; }
.symptom-next__title { font-size: 15.5px; font-weight: 900; line-height: 1.5; }
.symptom-next__label { font-size: 12.5px; color: var(--fj-teal); font-weight: 700; }
.symptom-next__arrow { flex: none; color: var(--fj-teal); display: flex; align-items: center; }

/* --- 参考情報 --- */
.symptom-refs { padding-block: 8px 30px; }
@media (min-width: 1024px) { .symptom-refs { padding-block: 8px 44px; } }
/* 出典セクションの見出し。HTML上はH2（意味上の見出し構造）だが、
   本文の主要H2（.symptom-section__title）より視覚的に控えめなスタイルにしている。 */
.symptom-refs__title { font-size: 14px; font-weight: 700; line-height: 1.6; color: var(--fj-ink-soft2); margin: 0 0 8px; }
.symptom-refs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.symptom-refs__item { font-size: 12.5px; line-height: 1.75; color: var(--fj-muted); }
.symptom-refs__item::before { content: '・'; }

/* ===== 13. PC(1024px以上)ビジュアル再現度調整 — B案(Top-B-Teal.dc.html)実測に基づく上書き =====
   同一セレクタ・同一詳細度の既存ルールより後勝ちさせるため、ファイル末尾にまとめて配置する。 */
@media (min-width: 1024px) {
	.entry-card { padding: 28px; }
	.overview-item { grid-template-columns: 300px 1fr; margin-bottom: 20px; }
	.overview__cta { margin-top: 40px; }
	.overview-item__title { font-size: 20px; margin-bottom: 12px; }
	.overview-item__summary { font-size: 14.5px; }
	.articles__head { margin-bottom: 28px; }
	.articles__head-text h2 { margin-bottom: 12px; font-size: 24px; }
	.articles__head-text p { font-size: 14px; }
	.articles__track { gap: 22px; }
	.article-card { width: 340px; max-width: 340px; }
	.article-card__body { padding: 20px; }
	.article-card__title { font-size: 16.5px; }
	.news__head { margin-bottom: 24px; }
	.news__link { padding-block: 18px; }
	.news__more { padding-top: 18px; }
	.supervisor-card { grid-template-columns: 260px 1fr; gap: 40px; padding: 40px; }
	.site-footer { padding-block: 46px 30px; }
	.site-footer__bottom { margin-top: 30px; padding-top: 20px; }

	/* B案では「そもそもリウマチとは？」「お知らせ」の狭いコンテナ（max-width:1000/900）に
	   セクション側paddingを二重適用していない（.wrap由来のpadding-inlineが二重で効いていたバグ）。
	   1024px以上ではコンテナ自体の余白のみで十分足りているため、内側paddingを打ち消す。 */
	.overview__inner,
	.news__inner {
		padding-inline: 0;
	}
}

/* ===== 全ページ共通：読みやすさ優先の文字サイズ・行間 =====
   PC本文17px / スマホ本文16px。
   注釈・プロフィール・日付・ラベル等も原則15px未満にしない。 */
.hero__lead,
.single-content__body,
.video-single__body,
.video-single__transcript-para,
.symptom-hero__lead p,
.symptom-section__text,
.symptom-section__lead p,
.symptom-detail__text,
.video-hub__lead,
.symptom-faq .accordion-toggle,
.symptom-faq__answer-text {
	font-size: 17px;
	line-height: 1.8;
}

.btn--primary,
.brand__sub,
.badge,
.hero__image--placeholder,
.hero__badge-text,
.section-lead p,
.eyebrow,
.entry-card__desc,
.cta-band__sub,
.overview-item__summary,
.media-placeholder__label,
.accordion-panel__inner,
.accordion-toggle,
.articles__head-text p,
.article-card__tag,
.article-card__lead,
.news__eyebrow,
.news__date,
.news__title,
.news__more a,
.supervisor-card__role,
.supervisor-card__title,
.supervisor-card__block-title,
.supervisor-card__quals,
.supervisor-card__career,
.supervisor-card__career li,
.site-footer__lead,
.site-footer__col-title,
.site-footer__list,
.site-footer__bottom,
.archive-header p,
.archive-card__excerpt,
.archive-card__date,
.single-content__cat,
.single-content__date,
.topic-chip,
.related-card__type,
.related-card__title,
.breadcrumb__list,
.video-hub__empty,
.video-card__excerpt,
.video-card__link,
.video-hub__theme-links-label,
.video-single__notice,
.video-single__review-notice,
.video-single__transcript-note,
.video-single__transcript-time,
.symptom-inline-link,
.symptom-note,
.symptom-finder__card-desc,
.symptom-combo__symptoms,
.symptom-combo__result,
.symptom-prep__item,
.symptom-faq__q-mark,
.symptom-next__label,
.symptom-refs__title,
.symptom-refs__item {
	font-size: 15px;
}

@media (max-width: 767px) {
	body {
		font-size: 16px;
		line-height: 1.75;
	}

	.hero__lead,
	.single-content__body,
	.video-single__body,
	.video-single__transcript-para,
	.symptom-hero__lead p,
	.symptom-section__text,
	.symptom-section__lead p,
	.symptom-detail__text,
	.video-hub__lead,
	.symptom-faq .accordion-toggle,
	.symptom-faq__answer-text {
		font-size: 16px;
		line-height: 1.75;
	}
}

/* ===== スマホ固定フッターCTA（767px以下のみ表示） ===== */
.sp-fixed-cta { display: none; }
@media (max-width: 767px) {
	.sp-fixed-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 20;
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 56px;
		padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
		background: var(--fj-apricot);
		color: var(--fj-ink);
		font-size: 15px;
		font-weight: 900;
		line-height: 1.4;
		text-align: center;
		text-decoration: none;
		box-shadow: 0 -4px 14px rgba(38,51,47,.16);
	}
	.sp-fixed-cta:hover,
	.sp-fixed-cta:focus-visible {
		background: var(--fj-apricot-dark);
		color: var(--fj-ink);
	}
	body {
		padding-bottom: calc(56px + env(safe-area-inset-bottom));
	}
}
