/*
 * FSH Home メインスタイル。
 * デザイントークンは既存Astro実装（src/styles/global.css の @theme）から移植。
 * 生成り × 墨色 × 深緑 × 薄い木色。明るく清潔で、押し売りしない誌面。
 * 派手なSaaS風グラデーションは使わない。同系色の明暗で光を表現するグラデーションのみ使用。
 */

/* ============================================================
 * 1. デザイントークン
 * ============================================================ */
:root {
	--fsh-font-sans: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP',
		'Yu Gothic Medium', 'YuGothic', 'Meiryo', -apple-system, BlinkMacSystemFont,
		system-ui, sans-serif;
	--fsh-font-serif: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP',
		'BIZ UDPMincho', serif;

	/* 生成り（ベース背景） */
	--fsh-color-paper: #faf8f5;
	--fsh-color-paper-soft: #f2eee7;

	/* 墨色（テキスト） */
	--fsh-color-ink: #2b2a28;
	--fsh-color-ink-soft: #6f6a62;

	/* 深緑（アクセント） */
	--fsh-color-accent: #33594e;
	--fsh-color-accent-strong: #274a40;
	--fsh-color-accent-soft: #e9efec;

	/* 薄い木色 */
	--fsh-color-wood: #d9c7a7;
	--fsh-color-wood-soft: #ece3d1;

	/* 灯り（窓からの暖かい光） */
	--fsh-color-glow: #f3e5c8;

	/* 罫線 */
	--fsh-color-line: #e5e0d7;

	/* コンテナ幅 */
	--fsh-width-wide: 72rem;
	--fsh-width-narrow: 48rem;
}

/* ============================================================
 * 2. 最小リセットとベース
 * ============================================================ */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--fsh-color-paper);
	color: var(--fsh-color-ink);
	font-family: var(--fsh-font-sans);
	font-size: 1rem;
	line-height: 1.6;
	letter-spacing: 0.01em;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl,
dd,
figure,
blockquote,
fieldset {
	margin: 0;
}

ul,
ol {
	padding: 0;
	list-style: none;
}

fieldset {
	padding: 0;
	border: 0;
	min-width: 0;
}

legend {
	padding: 0;
}

img {
	max-width: 100%;
	height: auto;
}

svg {
	display: inline-block;
	vertical-align: middle;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
	color: inherit;
}

input,
textarea,
select {
	font: inherit;
	color: inherit;
}

/* 固定ヘッダーの高さぶん、アンカー移動先に余白を確保する */
[id] {
	scroll-margin-top: 5.5rem;
}

:focus-visible {
	outline: 2px solid var(--fsh-color-accent);
	outline-offset: 2px;
}

::selection {
	background: var(--fsh-color-accent-soft);
}

/* 視覚的に隠す（スクリーンリーダーには読ませる） */
.fsh-visually-hidden,
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* 和文見出し: プロポーショナルメトリクス + ゆるい字間 */
.fsh-heading-ja {
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
}

/* ============================================================
 * 3. 共通部品
 * ============================================================ */

/* skip link: フォーカス時のみ表示 */
.fsh-skip-link {
	position: fixed;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	padding: 0.75rem 1.25rem;
	border-radius: 9999px;
	background: var(--fsh-color-accent);
	color: var(--fsh-color-paper);
	font-size: 0.875rem;
	font-weight: 700;
	transform: translateY(-200%);
}

.fsh-skip-link:focus {
	transform: none;
}

/* ボタン */
.fsh-button {
	display: inline-block;
	padding: 0.875rem 1.75rem;
	border: 1px solid transparent;
	border-radius: 9999px;
	background: var(--fsh-color-accent);
	color: var(--fsh-color-paper);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.fsh-button:hover {
	background: var(--fsh-color-accent-strong);
}

.fsh-button--outline {
	background: transparent;
	border-color: rgb(43 42 40 / 0.25);
	color: var(--fsh-color-ink);
	font-weight: 500;
}

.fsh-button--outline:hover {
	background: transparent;
	border-color: var(--fsh-color-accent);
	color: var(--fsh-color-accent);
}

.fsh-button--reverse {
	background: transparent;
	border-color: rgb(250 248 245 / 0.5);
	color: var(--fsh-color-paper);
	font-weight: 500;
}

.fsh-button--reverse:hover {
	background: var(--fsh-color-paper);
	border-color: var(--fsh-color-paper);
	color: var(--fsh-color-ink);
}

/* 「→」付きテキストリンク */
.fsh-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--fsh-color-accent);
}

.fsh-arrow-link__arrow {
	transition: transform 0.2s;
}

.fsh-arrow-link:hover .fsh-arrow-link__arrow {
	transform: translateX(0.25rem);
}

.fsh-arrow-link--back .fsh-arrow-link__arrow {
	margin-right: 0.5rem;
}

.fsh-arrow-link--back:hover .fsh-arrow-link__arrow {
	transform: translateX(-0.25rem);
}

/* セクション見出し（番号 + 罫線 + 見出し + 説明） */
.fsh-section-heading {
	max-width: 42rem;
}

.fsh-section-heading__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.fsh-section-heading__number {
	font-family: var(--fsh-font-serif);
	font-size: 0.875rem;
	letter-spacing: 0.25em;
	color: var(--fsh-color-accent);
}

.fsh-section-heading__line {
	display: block;
	width: 2.5rem;
	height: 1px;
	background: var(--fsh-color-accent);
}

.fsh-section-heading__title {
	margin-top: 1rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.4;
}

.fsh-section-heading__description {
	margin-top: 1rem;
	line-height: 1.75;
	color: var(--fsh-color-ink-soft);
}

@media (min-width: 768px) {
	.fsh-section-heading__title {
		font-size: 2.25rem;
	}
}

/* 箇条書きの点 */
.fsh-dot {
	flex-shrink: 0;
	width: 0.25rem;
	height: 0.25rem;
	margin-top: 0.55rem;
	border-radius: 9999px;
	background: rgb(51 89 78 / 0.7);
}

/* 格子ストリップ（建築的アクセント。currentColor で着色） */
.fsh-koushi {
	height: 0.5rem;
	width: 4rem;
	color: var(--fsh-color-accent);
	background-image: repeating-linear-gradient(
		90deg,
		currentColor 0,
		currentColor 2px,
		transparent 2px,
		transparent 9px
	);
}

/* 分類ピル */
.fsh-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.fsh-pill {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	font-size: 0.75rem;
	line-height: 1.6;
}

.fsh-pill--category {
	background: var(--fsh-color-accent-soft);
	color: var(--fsh-color-accent);
}

a.fsh-pill--category:hover {
	background: var(--fsh-color-accent);
	color: var(--fsh-color-paper);
}

.fsh-pill--room {
	background: var(--fsh-color-wood-soft);
	color: var(--fsh-color-ink);
}

.fsh-pill--topic {
	border: 1px solid var(--fsh-color-line);
	color: var(--fsh-color-ink-soft);
}

/* 控えめなフェードイン（ヒーローのみで使用） */
@keyframes fsh-fade-up {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

.fsh-fade-up {
	animation: fsh-fade-up 0.7s ease-out both;
}

.fsh-fade-up--delay {
	animation-delay: 0.15s;
}

/* ============================================================
 * 4. ヘッダー
 * ============================================================ */
.fsh-site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-top: 3px solid var(--fsh-color-accent);
	border-bottom: 1px solid var(--fsh-color-line);
	background: rgb(250 248 245 / 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.fsh-site-header__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	column-gap: 1.5rem;
	row-gap: 0.5rem;
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 1rem 1.25rem;
}

.fsh-site-brand__name {
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-size: 1.125rem;
	font-weight: 700;
}

.fsh-site-brand .custom-logo {
	display: block;
	max-height: 2.5rem;
	width: auto;
}

.fsh-site-nav {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

.fsh-site-nav__toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.875rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 9999px;
	background: rgb(255 255 255 / 0.6);
	font-size: 0.8125rem;
	cursor: pointer;
}

.fsh-site-nav__toggle-icon {
	display: inline-block;
	width: 0.875rem;
	height: 2px;
	background: currentColor;
	box-shadow: 0 -4px 0 currentColor, 0 4px 0 currentColor;
}

.fsh-site-nav__list {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	font-size: 0.875rem;
	white-space: nowrap;
}

.fsh-site-nav__list a {
	display: inline-block;
	border-radius: 0.125rem;
	color: var(--fsh-color-ink-soft);
	transition: color 0.2s;
}

.fsh-site-nav__list a:hover,
.fsh-site-nav__list a:focus-visible {
	color: var(--fsh-color-accent);
}

@media (max-width: 767.98px) {
	.fsh-js .fsh-site-nav__toggle {
		display: inline-flex;
	}

	.fsh-site-nav__list {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.5rem 0 0.75rem;
		white-space: normal;
	}

	.fsh-site-nav__list a {
		display: block;
		padding: 0.625rem 0.25rem;
	}

	.fsh-site-nav.is-open .fsh-site-nav__list,
	.fsh-no-js .fsh-site-nav__list {
		display: flex;
	}
}

/* ============================================================
 * 5. フッター
 * ============================================================ */
.fsh-site-footer {
	border-top: 1px solid var(--fsh-color-line);
	background: var(--fsh-color-paper-soft);
}

.fsh-site-footer__inner {
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 3rem 1.25rem;
}

.fsh-site-footer__brand {
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-weight: 700;
}

.fsh-site-footer__tagline {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: var(--fsh-color-ink-soft);
}

.fsh-site-footer__nav-list {
	display: flex;
	flex-wrap: wrap;
	column-gap: 1.5rem;
	row-gap: 0.5rem;
	margin-top: 1.5rem;
	font-size: 0.875rem;
}

.fsh-site-footer__nav-list a {
	color: var(--fsh-color-ink-soft);
	transition: color 0.2s;
}

.fsh-site-footer__nav-list a:hover {
	color: var(--fsh-color-accent);
}

.fsh-site-footer__note {
	max-width: var(--fsh-width-narrow);
	margin-top: 2.5rem;
	font-size: 0.75rem;
	line-height: 1.8;
	color: var(--fsh-color-ink-soft);
}

.fsh-site-footer__copy {
	margin-top: 1rem;
	font-size: 0.75rem;
	color: var(--fsh-color-ink-soft);
}

@media (min-width: 768px) {
	.fsh-site-footer__top {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2rem;
	}

	.fsh-site-footer__nav-list {
		margin-top: 0;
		justify-content: flex-end;
	}
}

/* ============================================================
 * 6. ヒーロー（昼の明るい住空間）
 * ============================================================ */
.fsh-hero {
	position: relative;
	overflow: hidden;
	border-bottom: 1px solid var(--fsh-color-line);
	background: var(--fsh-color-paper);
}

.fsh-hero__inner {
	display: grid;
	align-items: center;
	gap: 2.5rem;
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 3.5rem 1.25rem;
}

.fsh-hero__vtext {
	position: absolute;
	top: 5rem;
	left: 0.75rem;
	display: none;
	writing-mode: vertical-rl;
	letter-spacing: 0.28em;
	font-size: 0.75rem;
	color: rgb(111 106 98 / 0.6);
}

.fsh-hero__eyebrow {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--fsh-color-accent);
}

.fsh-hero__title {
	margin-top: 1.5rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-size: 2.25rem;
	font-weight: 700;
	line-height: 1.4;
}

/* 文節単位で折り返す（1文字だけの孤立行を防ぐ） */
.fsh-hero__title-chunk {
	display: inline-block;
}

.fsh-hero__lead {
	max-width: 32rem;
	margin-top: 1.5rem;
	line-height: 2;
	color: var(--fsh-color-ink-soft);
}

.fsh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 2.25rem;
}

.fsh-hero__scene-wrap {
	position: relative;
}

.fsh-hero__scene {
	position: relative;
	height: 38svh;
	min-height: 16rem;
	overflow: hidden;
	border: 1px solid var(--fsh-color-line);
	border-radius: 0.5rem;
	background: var(--fsh-color-paper-soft);
	box-shadow: 0 1px 3px rgb(43 42 40 / 0.08);
}

.fsh-hero__poster,
.fsh-hero__video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fsh-hero__poster {
	z-index: 1;
	color: transparent;
}

.fsh-hero__video {
	z-index: 2;
	opacity: 0;
	transition: opacity 0.25s ease;
}

.fsh-hero__scene-wrap.is-video-visible .fsh-hero__video {
	opacity: 1;
}

.fsh-hero__video-toggle {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	padding: 0.625rem 1rem;
	border: 1px solid rgb(250 248 245 / 0.7);
	border-radius: 9999px;
	background: rgb(43 42 40 / 0.82);
	box-shadow: 0 1px 4px rgb(43 42 40 / 0.2);
	color: var(--fsh-color-paper);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.4;
	cursor: pointer;
}

.fsh-hero__video-toggle:hover {
	background: rgb(43 42 40 / 0.95);
}

.fsh-hero__video-toggle:focus-visible {
	outline: 2px solid var(--fsh-color-paper);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--fsh-color-accent);
}

.fsh-hero__video-toggle[hidden] {
	display: none;
}

/* 壁: 明るい生成りの壁。上から下へごくわずかに沈む */
.fsh-scene-day-wall {
	position: absolute;
	inset-inline: 0;
	top: 0;
	height: 72%;
	background: linear-gradient(180deg, #fdfbf6 0%, #f4efe5 100%);
}

/* 床: 明るい木の板張り */
.fsh-scene-day-floor {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 28%;
	background:
		repeating-linear-gradient(
			90deg,
			rgb(43 42 40 / 0.06) 0,
			rgb(43 42 40 / 0.06) 2px,
			transparent 2px,
			transparent 58px
		),
		linear-gradient(180deg, #e5d8bd 0%, #eee3cc 100%);
}

/* 窓: 昼の光が入る大きな窓。木の枠（組子）を重ねる */
.fsh-scene-day-window {
	position: absolute;
	top: 10%;
	right: 10%;
	width: 36%;
	height: 54%;
	border-radius: 0.125rem;
	background:
		repeating-linear-gradient(
			0deg,
			rgb(191 168 128 / 0.5) 0,
			rgb(191 168 128 / 0.5) 2px,
			transparent 2px,
			transparent 52px
		),
		repeating-linear-gradient(
			90deg,
			rgb(191 168 128 / 0.5) 0,
			rgb(191 168 128 / 0.5) 2px,
			transparent 2px,
			transparent 42px
		),
		linear-gradient(180deg, #fffdf6 0%, #fbf3df 55%, var(--fsh-color-glow) 100%);
	border: 3px solid rgb(191 168 128 / 0.55);
	box-shadow: 0 0 42px 6px rgb(243 229 200 / 0.55);
}

/* 窓から床に差し込む光だまり */
.fsh-scene-day-lightpool {
	position: absolute;
	right: 4%;
	bottom: 0;
	width: 46%;
	height: 26%;
	background: linear-gradient(180deg, rgb(255 250 235 / 0.75) 0%, rgb(255 250 235 / 0) 90%);
	transform: skewX(14deg);
}

/* 壁の額装 */
.fsh-scene-day-frame {
	position: absolute;
	top: 24%;
	left: 13%;
	width: 13%;
	height: 18%;
	border: 1px solid rgb(43 42 40 / 0.15);
	border-radius: 2px;
	background: var(--fsh-color-paper-soft);
	box-shadow: 0 1px 3px rgb(43 42 40 / 0.08);
}

/* 低い木のサイドボード（点景） */
.fsh-scene-day-board {
	position: absolute;
	bottom: 20%;
	left: 9%;
	width: 38%;
	height: 15%;
	border-radius: 3px;
	background:
		repeating-linear-gradient(
			90deg,
			rgb(43 42 40 / 0.1) 0,
			rgb(43 42 40 / 0.1) 2px,
			transparent 2px,
			transparent 72px
		),
		linear-gradient(180deg, var(--fsh-color-wood) 0%, #cbb693 100%);
	box-shadow: 0 10px 14px -8px rgb(43 42 40 / 0.25);
}

@media (min-width: 768px) {
	.fsh-hero__inner {
		padding: 5rem 2rem;
	}

	.fsh-hero__title {
		font-size: 3rem;
	}
}

@media (min-width: 1024px) {
	.fsh-hero__inner {
		grid-template-columns: 1.05fr 1fr;
		gap: 3.5rem;
		padding-block: 6rem;
	}

	.fsh-hero__scene {
		height: 54svh;
	}
}

@media (max-width: 1023.98px) {
	.fsh-hero__video,
	.fsh-hero__video-toggle {
		display: none;
	}
}

@media (min-width: 1280px) {
	.fsh-hero__vtext {
		display: block;
	}
}

/* ============================================================
 * 7. 暮らし整理メモへの入口（トップ）
 * ============================================================ */
.fsh-memo-entry {
	border-bottom: 1px solid var(--fsh-color-line);
	background: var(--fsh-color-paper-soft);
}

.fsh-memo-entry__inner {
	display: grid;
	align-items: center;
	gap: 3rem;
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

.fsh-memo-entry__steps {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 2rem;
}

.fsh-memo-entry__step {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.fsh-memo-entry__step-no {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 9999px;
	background: var(--fsh-color-accent);
	color: var(--fsh-color-paper);
	font-family: var(--fsh-font-serif);
	font-size: 0.875rem;
}

.fsh-memo-entry__step-title {
	display: block;
	font-feature-settings: 'palt';
	font-weight: 700;
}

.fsh-memo-entry__step-description {
	display: block;
	margin-top: 0.25rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

.fsh-memo-entry__assurances {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.75rem;
}

.fsh-memo-entry__assurance {
	padding: 0.375rem 0.75rem;
	border: 1px solid rgb(51 89 78 / 0.25);
	border-radius: 9999px;
	background: rgb(255 255 255 / 0.6);
	font-size: 0.75rem;
	color: var(--fsh-color-accent);
}

.fsh-memo-entry__cta {
	margin-top: 2.25rem;
}

.fsh-memo-preview-wrap {
	width: 100%;
	max-width: 28rem;
	margin-inline: auto;
}

.fsh-memo-preview {
	padding: 1.5rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 0.5rem;
	background: #ffffff;
	box-shadow: 0 1px 3px rgb(43 42 40 / 0.08);
}

.fsh-memo-preview__title {
	margin-top: 1rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1.125rem;
	font-weight: 700;
}

.fsh-memo-preview__note {
	margin-top: 0.25rem;
	font-size: 0.75rem;
	color: var(--fsh-color-ink-soft);
}

.fsh-memo-preview__fields {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	margin-top: 1.25rem;
}

.fsh-memo-preview__field {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
}

.fsh-memo-preview__dot {
	flex-shrink: 0;
	width: 0.375rem;
	height: 0.375rem;
	transform: translateY(-1px);
	border-radius: 1px;
	background: rgb(51 89 78 / 0.6);
}

.fsh-memo-preview__label {
	font-size: 0.875rem;
	line-height: 1.7;
}

.fsh-memo-preview__rule {
	flex: 1 1 auto;
	min-width: 2rem;
	border-bottom: 1px dotted rgb(43 42 40 / 0.25);
}

@media (min-width: 768px) {
	.fsh-memo-entry__inner {
		padding: 6rem 2rem;
	}

	.fsh-memo-preview {
		padding: 1.75rem;
	}
}

@media (min-width: 1024px) {
	.fsh-memo-entry__inner {
		grid-template-columns: 1.1fr 1fr;
		gap: 4rem;
	}
}

/* ============================================================
 * 8. 部屋から探す（平面図風マップ）
 * ============================================================ */
.fsh-rooms__inner {
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

/* 図面パターン（方眼紙）を下地に、面の大きさの違いで空間の性格を出す */
.fsh-room-map {
	display: grid;
	gap: 1px;
	overflow: hidden;
	margin-top: 2.5rem;
	border: 2px solid rgb(43 42 40 / 0.6);
	border-radius: 0.125rem;
	background:
		repeating-linear-gradient(
			0deg,
			rgb(51 89 78 / 0.12) 0,
			rgb(51 89 78 / 0.12) 1px,
			transparent 1px,
			transparent 16px
		),
		repeating-linear-gradient(
			90deg,
			rgb(51 89 78 / 0.12) 0,
			rgb(51 89 78 / 0.12) 1px,
			transparent 1px,
			transparent 16px
		),
		#f7f5ef;
	grid-template-columns: repeat(2, 1fr);
	grid-template-areas:
		'genkan kitchen'
		'living living'
		'washitsu bath'
		'bedroom storage'
		'office office';
}

.fsh-room-map__cell {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 7rem;
	padding: 1rem;
	background: rgb(250 248 245 / 0.95);
	transition: background-color 0.2s;
}

.fsh-room-map__cell:hover,
.fsh-room-map__cell:focus-visible {
	background: var(--fsh-color-accent-soft);
}

.fsh-room-map__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem;
}

.fsh-room-map__title {
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-weight: 700;
	transition: color 0.2s;
}

.fsh-room-map__cell:hover .fsh-room-map__title {
	color: var(--fsh-color-accent);
}

.fsh-room-map__code {
	font-family: var(--fsh-font-serif);
	font-size: 10px;
	letter-spacing: 0.2em;
	color: var(--fsh-color-ink-soft);
}

/* 説明はhoverで浮かぶ（hoverのないモバイルでは非表示にして図面の密度を保つ） */
.fsh-room-map__description {
	display: none;
	pointer-events: none;
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
	opacity: 0;
	transition: opacity 0.2s;
}

.fsh-room-map__cell:hover .fsh-room-map__description,
.fsh-room-map__cell:focus-visible .fsh-room-map__description {
	opacity: 1;
}

.fsh-room-map__arrow {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	color: var(--fsh-color-accent);
	opacity: 0;
	transition: opacity 0.2s;
}

.fsh-room-map__cell:hover .fsh-room-map__arrow {
	opacity: 1;
}

@media (min-width: 768px) {
	.fsh-rooms__inner {
		padding: 6rem 2rem;
	}

	.fsh-room-map {
		grid-template-columns: 1.1fr 1.4fr 1fr 1.1fr;
		grid-template-areas:
			'genkan living living kitchen'
			'washitsu living living bath'
			'office bedroom storage bath';
	}

	.fsh-room-map__cell {
		min-height: 9rem;
		padding: 1.25rem;
	}

	.fsh-room-map__description {
		display: block;
	}
}

/* ============================================================
 * 9. 悩みから探す（困りごとのつながり）
 * ============================================================ */
.fsh-problems__inner {
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

.fsh-problems__grid {
	display: grid;
	gap: 2.5rem;
	margin-top: 3rem;
}

.fsh-problem-chain__head {
	display: flex;
	align-items: baseline;
	gap: 0.75rem;
}

.fsh-problem-chain__name {
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-weight: 700;
}

.fsh-problem-chain__note {
	font-size: 0.75rem;
	color: var(--fsh-color-ink-soft);
}

.fsh-problem-chain__steps {
	margin-top: 1.25rem;
}

.fsh-problem-chain__item {
	position: relative;
	padding-bottom: 2.25rem;
}

.fsh-problem-chain__item:last-child {
	padding-bottom: 0;
}

/* ステップをつなぐ縦線と矢印（カード間のギャップ内に収める） */
.fsh-problem-chain__connector {
	position: absolute;
	bottom: 0;
	left: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 0.75rem;
	height: 2rem;
}

.fsh-problem-chain__connector-line {
	flex: 1 1 auto;
	width: 1px;
	background: rgb(51 89 78 / 0.4);
}

.fsh-problem-chain__connector-arrow {
	font-size: 10px;
	line-height: 1;
	color: rgb(51 89 78 / 0.7);
}

.fsh-problem-step {
	position: relative;
	display: block;
	padding: 1rem 1rem 1rem 1.5rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 0.5rem;
	background: rgb(255 255 255 / 0.7);
}

.fsh-problem-step__bar {
	position: absolute;
	inset-block: 0;
	left: 0;
	width: 0.25rem;
	border-radius: 0.5rem 0 0 0.5rem;
	background: var(--fsh-color-wood);
}

.fsh-problem-step__title {
	display: block;
	font-feature-settings: 'palt';
	font-size: 0.875rem;
	font-weight: 700;
}

.fsh-problem-step__description {
	display: block;
	margin-top: 0.375rem;
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

/* 3つの悩みの合流点 */
.fsh-problems__merge {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 3rem;
}

.fsh-problems__merge-line {
	width: 1px;
	height: 2rem;
	background: rgb(51 89 78 / 0.4);
}

.fsh-problems__merge-box {
	width: 100%;
	padding: 1.5rem;
	border: 1px solid rgb(51 89 78 / 0.3);
	border-radius: 0.5rem;
	background: var(--fsh-color-accent-soft);
	text-align: center;
}

.fsh-problems__merge-title {
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1.125rem;
	font-weight: 700;
}

.fsh-problems__merge-box .fsh-arrow-link {
	margin-top: 0.75rem;
}

@media (min-width: 768px) {
	.fsh-problems__inner {
		padding: 6rem 2rem;
	}

	.fsh-problems__merge-box {
		padding-block: 2rem;
	}

	.fsh-problems__merge-title {
		font-size: 1.25rem;
	}
}

@media (min-width: 1024px) {
	.fsh-problems__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}
}

/* ============================================================
 * 10. 住み替え・住まい探し（横タイムライン）
 * ============================================================ */
.fsh-moving {
	border-block: 1px solid var(--fsh-color-line);
	background: var(--fsh-color-paper-soft);
}

.fsh-moving__inner {
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

.fsh-moving__stages {
	position: relative;
	display: grid;
	gap: 2.5rem;
	margin-top: 3rem;
}

/* 段階をつなぐ横線（デスクトップのみ。olの子要素を増やさないため疑似要素で描く） */
.fsh-moving__stages::before {
	content: '';
	position: absolute;
	top: 1rem;
	right: 16%;
	left: 16%;
	display: none;
	height: 1px;
	background: rgb(51 89 78 / 0.3);
}

.fsh-moving__stage {
	position: relative;
}

.fsh-moving__stage-no {
	position: relative;
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 2rem;
	padding-inline: 1rem;
	border: 1px solid rgb(51 89 78 / 0.4);
	border-radius: 9999px;
	background: var(--fsh-color-paper);
	font-family: var(--fsh-font-serif);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	color: var(--fsh-color-accent);
}

.fsh-moving__stage-title {
	margin-top: 1rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1.25rem;
	font-weight: 700;
}

.fsh-moving__stage-description {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

.fsh-moving__points {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 1rem;
	font-size: 0.875rem;
}

.fsh-moving__point {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	line-height: 1.7;
}

.fsh-moving__cta {
	margin-top: 3.5rem;
	padding: 1.5rem;
	border: 1px solid rgb(51 89 78 / 0.25);
	border-radius: 0.5rem;
	background: rgb(255 255 255 / 0.7);
}

.fsh-moving__cta-text {
	max-width: 36rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

.fsh-moving__cta-link {
	flex-shrink: 0;
	margin-top: 1rem;
}

@media (min-width: 768px) {
	.fsh-moving__inner {
		padding: 6rem 2rem;
	}

	.fsh-moving__stages {
		grid-template-columns: repeat(3, 1fr);
		gap: 2rem;
	}

	.fsh-moving__stages::before {
		display: block;
	}

	.fsh-moving__stage {
		text-align: center;
	}

	.fsh-moving__stage-description,
	.fsh-moving__points {
		max-width: 15rem;
		margin-inline: auto;
	}

	.fsh-moving__points {
		text-align: left;
	}

	.fsh-moving__cta {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 2rem;
		padding: 1.75rem;
	}

	.fsh-moving__cta-link {
		margin-top: 0;
	}
}

/* ============================================================
 * 11. 買う前に見る
 * ============================================================ */
.fsh-buying__inner {
	display: grid;
	align-items: flex-start;
	gap: 2.5rem;
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

.fsh-buying__link {
	margin-top: 1.5rem;
}

.fsh-buying__card {
	padding: 1.5rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 0.5rem;
	background: rgb(255 255 255 / 0.8);
}

.fsh-buying__card-label {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	color: var(--fsh-color-ink-soft);
}

.fsh-buying__list {
	margin-top: 1.25rem;
}

.fsh-buying__item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	padding-block: 1rem;
	border-top: 1px solid var(--fsh-color-line);
}

.fsh-buying__item:first-child {
	padding-top: 0;
	border-top: 0;
}

.fsh-buying__item:last-child {
	padding-bottom: 0;
}

.fsh-buying__check {
	flex-shrink: 0;
	width: 1rem;
	height: 1rem;
	margin-top: 0.25rem;
	color: var(--fsh-color-accent);
}

.fsh-buying__item-title {
	display: block;
	font-feature-settings: 'palt';
	font-size: 0.875rem;
	font-weight: 700;
}

.fsh-buying__item-description {
	display: block;
	margin-top: 0.125rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

@media (min-width: 768px) {
	.fsh-buying__inner {
		padding: 6rem 2rem;
	}

	.fsh-buying__card {
		padding: 2rem;
	}
}

@media (min-width: 1024px) {
	.fsh-buying__inner {
		grid-template-columns: 1fr 1.2fr;
		gap: 4rem;
	}
}

/* ============================================================
 * 12. 頼む前に見る（深緑の面）
 * ============================================================ */
.fsh-hiring {
	background: var(--fsh-color-accent-strong);
	color: var(--fsh-color-paper);
}

.fsh-hiring__inner {
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

.fsh-hiring__head {
	max-width: 42rem;
}

.fsh-hiring__meta {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.fsh-hiring__number {
	font-family: var(--fsh-font-serif);
	font-size: 0.875rem;
	letter-spacing: 0.25em;
	color: var(--fsh-color-wood);
}

.fsh-hiring__line {
	display: block;
	width: 2.5rem;
	height: 1px;
	background: var(--fsh-color-wood);
}

.fsh-hiring__title {
	margin-top: 1rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-size: 1.875rem;
	font-weight: 700;
}

.fsh-hiring__lead {
	margin-top: 1rem;
	line-height: 1.75;
	color: rgb(250 248 245 / 0.75);
}

.fsh-hiring__steps {
	display: grid;
	column-gap: 2.5rem;
	row-gap: 2.25rem;
	margin-top: 3rem;
}

.fsh-hiring__step {
	display: flex;
	align-items: flex-start;
	gap: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgb(250 248 245 / 0.15);
}

.fsh-hiring__step-no {
	font-family: var(--fsh-font-serif);
	font-size: 1.5rem;
	color: var(--fsh-color-wood);
}

.fsh-hiring__step-title {
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1.125rem;
	font-weight: 700;
}

.fsh-hiring__step-description {
	margin-top: 0.375rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: rgb(250 248 245 / 0.7);
}

.fsh-hiring__cta {
	margin-top: 3rem;
}

@media (min-width: 640px) {
	.fsh-hiring__steps {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 768px) {
	.fsh-hiring__inner {
		padding: 6rem 2rem;
	}

	.fsh-hiring__title {
		font-size: 2.25rem;
	}
}

/* ============================================================
 * 13. 整理メモの例
 * ============================================================ */
.fsh-example__inner {
	display: grid;
	align-items: flex-start;
	gap: 2.5rem;
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

.fsh-example__disclaimer {
	margin-top: 1rem;
	font-size: 0.75rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

.fsh-example__link {
	margin-top: 1.5rem;
}

.fsh-example__paper {
	padding: 1.5rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 0.5rem;
	background: #ffffff;
	box-shadow: 0 1px 3px rgb(43 42 40 / 0.08);
}

.fsh-example__paper-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--fsh-color-line);
}

.fsh-example__paper-title {
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1.125rem;
	font-weight: 700;
}

.fsh-example__badge {
	padding: 0.25rem 0.75rem;
	border-radius: 9999px;
	background: var(--fsh-color-wood-soft);
	font-size: 11px;
	font-weight: 500;
	color: var(--fsh-color-ink);
}

.fsh-example__rows {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	margin-top: 1.25rem;
}

.fsh-example__row {
	font-size: 0.875rem;
}

.fsh-example__row-label {
	flex-shrink: 0;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: var(--fsh-color-ink-soft);
}

.fsh-example__row-value {
	margin-top: 0.125rem;
	line-height: 1.7;
}

.fsh-example__guides {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--fsh-color-line);
}

.fsh-example__guide-label {
	font-family: var(--fsh-font-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	color: var(--fsh-color-accent);
}

.fsh-example__guide-items {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin-top: 0.5rem;
}

.fsh-example__guide-item {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
	font-size: 0.875rem;
	line-height: 1.7;
}

@media (min-width: 640px) {
	.fsh-example__row {
		display: flex;
		align-items: baseline;
		gap: 1rem;
	}

	.fsh-example__row-label {
		width: 10rem;
	}

	.fsh-example__row-value {
		margin-top: 0;
	}
}

@media (min-width: 768px) {
	.fsh-example__inner {
		padding: 6rem 2rem;
	}

	.fsh-example__paper {
		padding: 2rem;
	}
}

@media (min-width: 1024px) {
	.fsh-example__inner {
		grid-template-columns: 1fr 1.3fr;
		gap: 4rem;
	}

	.fsh-example__intro {
		position: sticky;
		top: 6rem;
	}
}

/* ============================================================
 * 14. 最近の記事（トップ）
 * ============================================================ */
.fsh-latest__inner {
	max-width: var(--fsh-width-narrow);
	margin-inline: auto;
	padding: 4rem 1.25rem;
}

.fsh-latest .fsh-article-list {
	margin-top: 2.5rem;
}

.fsh-latest__more {
	margin-top: 2rem;
}

@media (min-width: 768px) {
	.fsh-latest__inner {
		padding: 6rem 2rem;
	}
}

/* ============================================================
 * 15. ページ共通（記事一覧・固定ページ・アーカイブ・検索・404）
 * ============================================================ */
.fsh-page__inner {
	max-width: var(--fsh-width-wide);
	margin-inline: auto;
	padding: 3rem 1.25rem;
}

.fsh-page--narrow .fsh-page__inner {
	max-width: var(--fsh-width-narrow);
}

.fsh-page__eyebrow {
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--fsh-color-accent);
}

.fsh-page__title {
	margin-top: 1rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.4;
}

.fsh-page__lead {
	margin-top: 1rem;
	line-height: 2;
	color: var(--fsh-color-ink-soft);
}

.fsh-page__lead a {
	color: var(--fsh-color-accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

.fsh-page__content {
	margin-top: 2rem;
}

.fsh-page .fsh-back-link {
	margin-top: 2.5rem;
}

@media (min-width: 768px) {
	.fsh-page__inner {
		padding: 4rem 2rem;
	}

	.fsh-page__title {
		font-size: 2.25rem;
	}
}

/* 記事リスト */
.fsh-article-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: 2.5rem;
}

.fsh-article-card {
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--fsh-color-line);
}

.fsh-article-card__thumb {
	margin-bottom: 1rem;
}

.fsh-article-card__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.fsh-article-card__title {
	margin-top: 0.75rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.6;
}

.fsh-article-card__title a {
	transition: color 0.2s;
}

.fsh-article-card__title a:hover {
	color: var(--fsh-color-accent);
}

.fsh-article-card__excerpt {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

.fsh-article-card__excerpt p {
	margin: 0;
}

.fsh-article-card__footer {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.75rem;
}

.fsh-article-card__date {
	font-size: 0.75rem;
	color: var(--fsh-color-ink-soft);
}

@media (min-width: 768px) {
	.fsh-article-card__title {
		font-size: 1.5rem;
	}
}

/* ページ送り */
.fsh-pagination {
	margin-top: 3rem;
}

.fsh-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.fsh-pagination .page-numbers {
	display: inline-block;
	padding: 0.375rem 0.875rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 9999px;
	font-size: 0.875rem;
	color: var(--fsh-color-ink-soft);
	transition: border-color 0.2s, color 0.2s;
}

.fsh-pagination a.page-numbers:hover {
	border-color: var(--fsh-color-accent);
	color: var(--fsh-color-accent);
}

.fsh-pagination .page-numbers.current {
	border-color: var(--fsh-color-accent);
	background: var(--fsh-color-accent);
	color: var(--fsh-color-paper);
}

.fsh-pagination .page-numbers.dots {
	border-color: transparent;
}

/* 空の状態 */
.fsh-empty-state {
	margin-top: 2.5rem;
	padding: 1.5rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 0.5rem;
	background: var(--fsh-color-paper-soft);
	line-height: 1.8;
}

.fsh-empty-state__link {
	margin-top: 0.75rem;
}

/* 検索フォーム */
.fsh-search-form-wrap {
	margin-top: 2rem;
}

.fsh-search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.fsh-search-form__field {
	flex: 1 1 14rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 9999px;
	background: rgb(255 255 255 / 0.8);
	font-size: 0.875rem;
}

.fsh-search-form__field:focus {
	border-color: var(--fsh-color-accent);
	outline: none;
}

/* 404の入口リンク */
.fsh-404-links {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
	margin-top: 2.5rem;
}

/* ============================================================
 * 16. 記事詳細
 * ============================================================ */
.fsh-article__inner {
	max-width: var(--fsh-width-narrow);
	margin-inline: auto;
	padding: 3rem 1.25rem;
}

.fsh-article .fsh-pills {
	margin-top: 1.5rem;
}

.fsh-article__title {
	margin-top: 1rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	letter-spacing: 0.04em;
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.4;
}

.fsh-post-dates {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 0.75rem;
	font-size: 0.75rem;
	color: var(--fsh-color-ink-soft);
}

/* 広告表記（fsh-core が出力する） */
.fsh-ad-disclosure {
	margin-top: 1.5rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--fsh-color-line);
	border-radius: 0.5rem;
	background: var(--fsh-color-paper-soft);
}

.fsh-ad-disclosure p {
	margin: 0;
	font-size: 0.75rem;
	line-height: 1.8;
	color: var(--fsh-color-ink-soft);
}

.fsh-article__thumbnail {
	margin-top: 2rem;
}

.fsh-article__thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.fsh-article__thumbnail-caption {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	line-height: 1.8;
	color: var(--fsh-color-ink-soft);
}

/* 記事末尾: 整理メモへの静かな合流導線 */
.fsh-article-cta {
	margin-top: 3rem;
	padding: 1.5rem;
	border: 1px solid rgb(51 89 78 / 0.25);
	border-radius: 0.5rem;
	background: rgb(233 239 236 / 0.6);
}

.fsh-article-cta__text {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--fsh-color-ink-soft);
}

.fsh-article-cta__link {
	margin-top: 0.75rem;
}

@media (min-width: 768px) {
	.fsh-article__inner {
		padding: 4rem 2rem;
	}

	.fsh-article__title {
		font-size: 2.25rem;
	}

	.fsh-article-cta {
		padding: 1.75rem;
	}
}

/* ============================================================
 * 17. 記事本文（Gutenberg本文の組版）
 * ============================================================ */
.fsh-article-body {
	line-height: 2;
}

.fsh-article-body > * {
	margin-top: 1.25rem;
}

.fsh-article-body h2 {
	margin-top: 2.75rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1.375rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	line-height: 1.6;
}

.fsh-article-body h3 {
	margin-top: 2rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.fsh-article-body h4,
.fsh-article-body h5,
.fsh-article-body h6 {
	margin-top: 1.75rem;
	font-family: var(--fsh-font-serif);
	font-feature-settings: 'palt';
	font-size: 1rem;
	font-weight: 700;
}

.fsh-article-body a {
	color: var(--fsh-color-accent);
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* 箇条書き: 丸ドットは ul の直下の li にだけ付ける（ol には番号を出す） */
.fsh-article-body ul {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.fsh-article-body li {
	position: relative;
	padding-left: 1.1rem;
	line-height: 1.9;
}

.fsh-article-body ul > li::before {
	content: '';
	position: absolute;
	top: 0.85em;
	left: 0.15rem;
	width: 0.28rem;
	height: 0.28rem;
	border-radius: 9999px;
	background: rgb(51 89 78 / 0.7);
}

.fsh-article-body ol {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding-left: 1.6rem;
	list-style: decimal;
}

.fsh-article-body ol > li {
	padding-left: 0.2rem;
}

.fsh-article-body ol > li::marker {
	color: var(--fsh-color-accent);
	font-size: 0.875rem;
}

/* 表: ページ全体を横スクロールさせず、表単位で横スクロールできるようにする */
.fsh-article-body .wp-block-table {
	max-width: 100%;
	overflow-x: auto;
	margin-top: 1.5rem;
}

.fsh-article-body table {
	margin: 0;
	border-collapse: collapse;
}

.fsh-article-body th,
.fsh-article-body td {
	border: 1px solid var(--fsh-color-line);
	padding: 0.5rem 0.75rem;
	font-size: 0.875rem;
	line-height: 1.7;
	text-align: left;
}

.fsh-article-body th {
	background: var(--fsh-color-paper-soft);
	font-weight: 700;
}

/* 引用 */
.fsh-article-body blockquote {
	margin-top: 1.5rem;
	padding: 0.25rem 0 0.25rem 1.25rem;
	border-left: 3px solid var(--fsh-color-wood);
	color: var(--fsh-color-ink-soft);
}

.fsh-article-body blockquote cite {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.75rem;
	font-style: normal;
}

/* 画像・ギャラリー */
.fsh-article-body .wp-block-image,
.fsh-article-body figure {
	margin-top: 1.5rem;
}

.fsh-article-body img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 0.5rem;
}

.fsh-article-body figcaption,
.fsh-article-body .wp-element-caption {
	margin-top: 0.5rem;
	font-size: 0.75rem;
	line-height: 1.8;
	color: var(--fsh-color-ink-soft);
	text-align: left;
}

.fsh-article-body .wp-block-gallery {
	margin-top: 1.5rem;
}

/* 区切り線 */
.fsh-article-body hr,
.fsh-article-body .wp-block-separator {
	margin-block: 2.5rem;
	border: 0;
	border-top: 1px solid var(--fsh-color-line);
}

/* コード */
.fsh-article-body code {
	padding: 0.125rem 0.375rem;
	border-radius: 0.25rem;
	background: var(--fsh-color-paper-soft);
	font-size: 0.875em;
}

.fsh-article-body pre {
	max-width: 100%;
	overflow-x: auto;
	padding: 1rem;
	border-radius: 0.5rem;
	background: var(--fsh-color-paper-soft);
}

.fsh-article-body pre code {
	padding: 0;
	background: transparent;
}

/* 幅広・全幅は本文幅に収める（狭い誌面を保つ） */
.fsh-article-body .alignwide,
.fsh-article-body .alignfull {
	width: 100%;
}

/* 埋め込みは比率を保つ（responsive-embeds） */
.fsh-article-body .wp-block-embed {
	margin-top: 1.5rem;
}

/* ============================================================
 * 18. 印刷
 * ============================================================ */
@media print {
	.fsh-site-header,
	.fsh-site-footer,
	.fsh-skip-link,
	.fsh-back-link,
	.fsh-article-cta,
	.fsh-pagination,
	.fsh-search-form-wrap {
		display: none !important;
	}

	body {
		background: #ffffff;
	}

	.fsh-article__inner,
	.fsh-page__inner {
		padding-block: 0;
	}
}

/* ============================================================
 * 19. 動きの抑制
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.fsh-fade-up {
		animation: none;
	}

	.fsh-hero__video,
	.fsh-hero__video-toggle {
		display: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
