/**
 * 「終活を知る」記事機能。
 *
 * 配色・寸法はモック（記事設計/終活の窓口_デザインプレビュー_共有用.html の
 * __bundler/template 行9880-9976）のプリセットA「余白と明朝」／配色 sumi に合わせている。
 *
 * 移植にあたっての約束:
 *  - 変数は --shu-* の接頭辞。既存 custom.css / akijoukyou.css と衝突させない
 *  - クラス名は shu-* の接頭辞。モックの .row / .lead / .tag / .im / .meta は
 *    Bootstrap と名前が衝突するため、そのままでは使わない
 *  - 背景色は .shu-scope の内側だけに当てる。サイト全体には適用しない
 *  - color-mix() は使わず、計算済みの値を直接書く（対応ブラウザに依存させない）
 */

/* -------------------------------------------------------------- トークン */

.shu-scope {
	/* 配色 sumi に、サイトの緑（#1B8753）を落ち着かせた深緑を差した。
	   無彩色だけだと味気なかったので、構造（見出しのタブ・小見出しの罫・
	   目次・カテゴリ・リンク）にだけ色を乗せる。本文の文字色は変えない。 */
	--shu-accent: #2C6A4C;
	--shu-accent-deep: #1E4C37;

	/* 差し色。custom.css に緑と対でコメントに残っていた #a65151（煉瓦色）。
	   白の上で 5.26:1。散らさないよう、小見出しの罫・目次の見出し・
	   電話バナーのボタンの3か所にだけ使う。 */
	--shu-accent-2: #A65151;
	--shu-accent-2-deep: #8A3F3F;
	--shu-bg: #EFF0EE;
	--shu-surface: #ffffff;
	--shu-text: #283029;
	--shu-soft: #5B625B;
	--shu-line: #E7E4DC;

	/* accent を薄く混ぜた面（モックの color-mix の計算結果） */
	--shu-tint-6: #EBECE9;
	--shu-tint-7: #E9EAE7;

	/* 2色タグ（黄=相談・申込／青=回遊） */
	--shu-cvr-ink: #8A6420;
	--shu-cvr-bg: #F8EFD7;
	--shu-cvr-line: #DFBE76;
	--shu-nav-ink: #2F5170;
	--shu-nav-bg: #E4ECF6;
	--shu-nav-line: #A6BDDD;

	/* テーマが配信しているのは Noto Sans JP と Open Sans だけで、
	   Shippori Mincho / Zen Kaku Gothic New は読み込んでいない。
	   指定しても各OSの既定フォントに化けるため、記事だけ字面が変わって見えていた。
	   サイト標準に揃える（役割名は使い回しているのでトークン名は変えない）。 */
	/* サイト本体（custom.css）と同じ指定にする。Noto Sans JP だけにすると
	   和文は同じでも英数字が別の字面になり、記事だけ数字が違って見えた。 */
	--shu-serif: "Open Sans", "Noto Sans JP", sans-serif;
	--shu-disp: "Open Sans", "Noto Sans JP", sans-serif;
	--shu-body: "Open Sans", "Noto Sans JP", sans-serif;

	background: var(--shu-bg);
	color: var(--shu-text);
	font-family: var(--shu-body);
	line-height: 1.7;

	/* 日本語の改行。文節の途中で切れる／行末が読点／行頭が句点、を防ぐ。
	   auto-phrase と pretty は未対応ブラウザでは無視されるだけで害はない */
	line-break: strict;
	word-break: auto-phrase;
	text-wrap: pretty;
}

.shu-scope a {
	color: inherit;
	text-decoration: none;
}

.shu-scope a:hover {
	color: inherit;
}

/* 画像枠。アイキャッチが無い記事でも高さが崩れないように地色を持たせる */
.shu-im {
	background-size: cover;
	background-position: center;
	background-color: #DDE4DF;
	display: block;
}

.shu-inner {
	max-width: 1080px;
	margin: 0 auto;
	background: var(--shu-surface);
}

/* ------------------------------------------------- カテゴリタブ（下線タブ） */

.shu-tabs {
	display: flex;
	gap: 6px;
	padding: 0 26px;
	border-bottom: 1px solid var(--shu-line);
	overflow-x: auto;
}

.shu-tabs a {
	flex-shrink: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--shu-soft);
	padding: 15px 12px;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
}

.shu-tabs a.is-on {
	color: var(--shu-text);
	border-bottom-color: var(--shu-tab-c, var(--shu-accent));
}

/* --------------------------------------- トップの主役（静かな扉＋状況カード） */

.shu-hero {
	padding: 54px 40px;
	text-align: center;
}

.shu-hero-kk {
	display: inline-flex;
	align-items: center;
	font-size: 13.5px;
	letter-spacing: .12em;
	font-weight: 700;
	color: var(--shu-accent);
}

/* 検索を先頭に出したので、こちらは h2 に下げてある（見出しは1段小さく） */
.shu-hero h1,
.shu-hero h2 {
	font-family: var(--shu-serif);
	font-weight: 700;
	font-size: 28px;
	line-height: 1.5;
	margin: 14px auto 0;
	max-width: 17em;
	color: var(--shu-text);
}

.shu-hero-rule {
	width: 64px;
	height: 1px;
	background: var(--shu-accent);
	margin: 24px auto;
}

/* 見出しが上のブロックへ移ったので、ここはこの一文が先頭になる。
   番号の太さを落としたぶん、こちらを大きくして釣り合いを取る。 */
.shu-hero-lead {
	max-width: 34em;
	margin: 0 auto 32px;
	color: var(--shu-text);
	font-size: 19px;
	line-height: 1.75;
}

/* 3つの入口。モックの .L-edi .three の骨格に、.L-split .choice の
   枠線・角丸・淡い影を与えて「押せるカード」にしている（案S-2） */
.shu-entries {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	text-align: left;
	border-top: 1px solid var(--shu-line);
	padding-top: 28px;
}

.shu-entry {
	display: block;
	background: var(--shu-surface);
	border: 1px solid var(--shu-line);
	border-radius: 16px;
	padding: 22px 22px 20px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
	transition: box-shadow .15s, border-color .15s, transform .15s;
}

.shu-entry:hover,
.shu-entry:focus-visible {
	border-color: var(--shu-accent);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .08);
	transform: translateY(-2px);
}

/* 番号はモックの3ステップ（.L-guide .step::before = --disp / 900 / 30px）に寄せる。
   静かな扉の 12px では入口として弱かった */
/* 900 は数字の面積が勝ちすぎて、見出しより番号が先に目に入っていた。
   太さを落として、大きさだけで存在感を持たせる。 */
.shu-entry-n {
	display: block;
	font-family: var(--shu-disp);
	color: var(--shu-accent);
	font-weight: 400;
	font-size: 44px;
	line-height: .95;
	letter-spacing: .04em;
	margin-bottom: 12px;
}

.shu-entry h3 {
	font-family: var(--shu-serif);
	font-weight: 700;
	font-size: 23px;
	line-height: 1.45;
	margin: 0 0 10px;
	color: var(--shu-accent-deep);
}

.shu-entry p {
	font-size: 15px;
	color: var(--shu-soft);
	line-height: 1.85;
	margin: 0;
}

/* 押せることを示す合図。説明の文字は置かず、矢印だけを右下に出す */
.shu-entry-go {
	display: block;
	margin-top: 14px;
	text-align: right;
	font-size: 16px;
	color: var(--shu-accent);
	line-height: 1;
}

.shu-entry-go::after {
	content: "→";
}

/* ------------------------------------------------------------ 検索 */

.shu-search {
	padding: 34px 28px 30px;
	text-align: center;
	border-top: 1px solid var(--shu-line);
}

/* 検索がこのページの入口なので、この見出しを主役の大きさにする */
/* ページの題。下の問いかけより大きくする */
.shu-search-h {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 38px;
	letter-spacing: .06em;
	line-height: 1.4;
	margin: 0 0 10px;
	color: var(--shu-text);
}

/* 題に続く問いかけ。検索窓への呼び水なので、題より一段小さく */
.shu-search-q {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 19px;
	line-height: 1.6;
	margin: 0 0 22px;
	color: var(--shu-accent);
}

.shu-search-box {
	max-width: 540px;
	margin: 0 auto 18px;
	display: flex;
	background: var(--shu-surface);
	border-radius: 40px;
	padding: 7px 8px 7px 24px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.shu-search-box input {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	font-size: 16px;
	font-family: var(--shu-body);
	background: none;
	color: var(--shu-text);
}

.shu-search-box button {
	background: var(--shu-accent);
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 12px 26px;
	font-weight: 700;
	cursor: pointer;
	flex-shrink: 0;
}

.shu-search-pop {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	justify-content: center;
}

/* カテゴリごとに違う色で塗った丸いピルは、この領域には賑やかすぎた。
   線で囲んだ角の小さいチップにして、色は1色に寄せる。
   （--shu-pill の値は残したまま、ここでは使わない） */
/* 丸いピルはやめ、角の小さいタグにしてある（形はこのまま）。
   面はカテゴリごとの色で塗り、文字は白抜き。 */
.shu-search-pop a {
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: var(--shu-pill, var(--shu-accent));
	border: 1px solid transparent;
	/* 指で押せる高さ（44px以上）を確保する */
	padding: 12px 16px;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	border-radius: 4px;
	letter-spacing: .02em;
	transition: filter .2s;
}

.shu-search-pop a:hover,
.shu-search-pop a:focus-visible {
	filter: brightness(.88);
}

/* --------------------------------------------------- カテゴリ別の記事一覧 */

.shu-arts {
	padding: 30px 26px 34px;
	border-top: 1px solid var(--shu-line);
}

.shu-arts-h {
	font-family: var(--shu-disp);
	font-weight: 900;
	font-size: 20px;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--shu-text);
}

.shu-arts-h::before {
	content: "";
	width: 6px;
	height: 21px;
	border-radius: 3px;
	background: var(--shu-accent);
	flex-shrink: 0;
}

.shu-arts-sub {
	font-size: 14px;
	color: var(--shu-soft);
	margin-bottom: 18px;
	padding-left: 17px;
}

.shu-grp {
	margin-bottom: 24px;
}

.shu-grp-h {
	font-family: var(--shu-disp);
	font-weight: 900;
	font-size: 16px;
	margin-bottom: 6px;
	color: var(--shu-text);
	display: flex;
	align-items: center;
	gap: 11px;
}

.shu-grp-h::before {
	content: "";
	width: 24px;
	height: 2px;
	flex-shrink: 0;
	background: var(--shu-grp-c, var(--shu-accent));
}

.shu-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

/* 角丸の箱＋色付きピル＋日付という組み合わせはどのサイトでも見る形になるため、
   角丸と影はやめて細い罫の囲みにする。中身は明朝＋色の点（案A）。
   要素自体が a なのでカード全体が押せる。押せることが見えるように、
   ホバーとフォーカスで罫と地色を変える。 */
.shu-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--shu-line);
	border-radius: 3px;
	background: var(--shu-surface);
	padding: 18px 18px 16px;
	transition: border-color .15s, background-color .15s;
}

.shu-card:hover,
.shu-card:focus-visible {
	border-color: var(--shu-accent);
	background: var(--shu-tint-7);
}

.shu-card:hover .shu-card-t,
.shu-card:focus-visible .shu-card-t {
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
}

.shu-card:focus-visible {
	outline: 2px solid var(--shu-accent);
	outline-offset: 2px;
}

.shu-card .shu-im {
	aspect-ratio: 16 / 9;
}

.shu-card-b {
	padding: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}

/* 押せることの合図。文字は置かず、右下に矢印だけ出す。
   行の高さが揃うので、内容が短いカードでも下端に揃うよう margin-top:auto で押し下げる */
.shu-card-b::after {
	content: "→";
	display: block;
	margin-top: auto;
	padding-top: 14px;
	text-align: right;
	font-size: 15px;
	color: var(--shu-accent);
	line-height: 1;
}

/* カテゴリはカード内で埋もれやすいので、文字自体をカテゴリの色にする。
   ただし素の色（例 生前整理 #B08A3E）は白地で 3.21:1 しかなく読めないため、
   color-mix で暗くしたものを使う。未対応ブラウザには先の宣言（accent-deep）が残る。
   目印は点から縦罫に変えた（本文の小見出しと同じ語彙にするため）。 */
.shu-cat {
	display: inline-block;
	position: relative;
	font-size: 13px;
	font-weight: 700;
	color: color-mix(in srgb, var(--shu-pill, var(--shu-accent)) 72%, #14170f);
	letter-spacing: .06em;
	padding: 1px 0 1px 13px;
	margin-bottom: 9px;
}

.shu-cat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	bottom: 1px;
	width: 4px;
	border-radius: 1px;
	background: var(--shu-pill, var(--shu-accent));
}

.shu-card-t {
	font-family: var(--shu-serif);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.6;
	margin-bottom: 8px;
	color: var(--shu-text);
}

.shu-card-d {
	font-size: 12.5px;
	letter-spacing: .06em;
	color: var(--shu-soft);
}

/* カテゴリ色の上に白文字を置くと、明るい色（生前整理 #B08A3E で 3.21:1、
   保険・お金 #7E8A4C で 3.73:1）が WCAG AA の 4.5:1 に届かない。
   色味は保ったまま、面だけを 25% 暗くして文字を読めるようにする。

   色はテンプレートから --shu-pill で受け取る。
   inline の background 一括指定にすると background-image が消えるため、
   テンプレート側では色だけを渡し、面の作りはここで持つ。 */
.shu-search-pop a {
	/* 白抜き文字を載せるので、薄いカテゴリ色は黒を重ねて沈める。
	   これを外すとコントラストが 3.2:1 まで落ちて文字が読めなくなる。 */
	background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3));
}

/* ------------------------------------------------------ 一覧（細罫リスト） */

.shu-lbody {
	padding: 8px 28px 38px;
}

.shu-phead {
	padding: 22px 0 4px;
}

.shu-crumb {
	font-size: 13.5px;
	color: var(--shu-soft);
}

.shu-crumb b {
	color: var(--shu-accent);
	font-weight: 700;
}

.shu-phead h1 {
	font-family: var(--shu-disp);
	font-weight: 900;
	font-size: 28px;
	margin: 6px 0;
	color: var(--shu-text);
}

.shu-cnt {
	font-size: 15px;
	color: var(--shu-soft);
}

.shu-cnt b {
	color: var(--shu-text);
}

.shu-ftabs {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	border-bottom: 1px solid var(--shu-line);
	margin: 10px 0 8px;
}

.shu-ftabs a {
	flex-shrink: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--shu-soft);
	padding: 13px 12px;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
}

.shu-ftabs a.is-on {
	color: var(--shu-text);
	border-bottom-color: var(--shu-accent);
}

.shu-list {
	padding-top: 6px;
}

.shu-list-row {
	display: flex;
	/* サムネイルを入れたので、文字の基線ではなく高さの中央でそろえる */
	align-items: center;
	gap: 18px;
	padding: 14px 2px;
	border-top: 1px solid var(--shu-line);
	transition: background .15s;
}

.shu-list-row:first-child {
	border-top: none;
}

.shu-list-row:hover {
	background: var(--shu-tint-7);
}

/* 一覧のサムネイル。画像が無い記事は枠ごと出さない（空の箱を置かない） */
.shu-list-im {
	flex-shrink: 0;
	width: 112px;
	height: 63px;
	border-radius: 4px;
	background-color: #EFEDE7;
	background-size: cover;
	background-position: center;
}

@media (max-width: 575.98px) {
	.shu-list-im {
		width: 84px;
		height: 47px;
	}
}

/* アイキャッチの有無で表示を変える。
   画像がある記事と無い記事が混ざると、サムネイルの幅のぶんだけ
   文字の開始位置がズレて一覧がガタつく。
   「同じ一覧の中に画像のある行が1つでもあるとき」だけ、画像の無い行にも
   同じ幅の場所を空けて、文字の頭をそろえる。
   全記事に画像が無いときは場所を空けない（余白だけが残るのを避ける）。 */
.shu-list:has(.shu-list-im) .shu-list-row:not(:has(.shu-list-im))::before {
	content: "";
	flex-shrink: 0;
	width: 112px;
	height: 63px;
}

@media (max-width: 575.98px) {
	.shu-list:has(.shu-list-im) .shu-list-row:not(:has(.shu-list-im))::before {
		width: 84px;
		height: 47px;
	}
}

/* 関連記事も同じ考え方でそろえる */
.shu-rlist:has(.shu-im) .shu-rl:not(:has(.shu-im))::before {
	content: "";
	flex-shrink: 0;
	width: 120px;
	height: 78px;
	border-radius: 10px;
}

/* カードは行で高さがそろうため、画像の無いカードは下に余白が出る。
   矢印を下端に置いてあるので、余白は矢印の上に集まり不自然にならない。
   画像の無いカードだけ、上の詰まりを少し緩める。 */
.shu-card:not(:has(.shu-im)) .shu-card-b {
	padding-top: 17px;
}

.shu-list-cat {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--shu-accent);
	letter-spacing: .04em;
	width: 96px;
	flex-shrink: 0;
	letter-spacing: .02em;
}

.shu-list-t {
	font-family: var(--shu-serif);
	font-size: 20px;
	line-height: 1.55;
	flex: 1;
}

.shu-list-d {
	font-size: 13.5px;
	color: var(--shu-soft);
	flex-shrink: 0;
}

.shu-empty {
	padding: 40px 2px;
	font-size: 16px;
	color: var(--shu-soft);
}

.shu-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 28px;
}

.shu-pager .page-numbers {
	font-size: 13px;
	font-weight: 700;
	color: var(--shu-soft);
	border: 1px solid var(--shu-line);
	border-radius: 8px;
	padding: 8px 14px;
	background: var(--shu-surface);
}

.shu-pager .page-numbers.current {
	background: var(--shu-accent);
	border-color: var(--shu-accent);
	color: #fff;
}

/* ------------------------------------------------------------ 記事本文 */

.shu-wrap {
	max-width: 940px;
	margin: 0 auto;
	padding: 38px 44px 64px;
}

.shu-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13px;
	letter-spacing: .12em;
	color: var(--shu-accent);
	font-weight: 700;
	margin-bottom: 16px;
}

.shu-eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--shu-accent);
}

.shu-wrap h1 {
	font-family: var(--shu-serif);
	font-weight: 700;
	font-size: 32px;
	line-height: 1.55;
	margin-bottom: 16px;
	color: var(--shu-text);
}

.shu-meta {
	font-size: 13px;
	color: var(--shu-soft);
	padding-bottom: 18px;
	border-bottom: 1px solid var(--shu-line);
	margin-bottom: 24px;
}

.shu-byline {
	display: flex;
	align-items: center;
	gap: 13px;
	margin: 0 0 26px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--shu-line);
}

.shu-byline img {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	flex-shrink: 0;
}

.shu-byline b {
	font-family: var(--shu-serif);
	font-size: 15px;
}

.shu-byline span {
	display: block;
	font-size: 13px;
	color: var(--shu-soft);
}

.shu-thumb {
	aspect-ratio: 40 / 19;
	border-radius: 12px;
	margin-bottom: 26px;
}

/* リードは本文（17px）と差が1pxしか無く、区別が付いていなかった。
   幅は本文と同じく元のままにする（改行の位置を変えない）。 */
.shu-lead {
	font-size: 20px;
	line-height: 1.75;
	color: #39423B;
	margin-bottom: 32px;
}

/* --- 目次（カード） --- */

.shu-toc {
	/* 地の色を入れないと、白のページに白のカードで輪郭が出ない。
	   モックの toc も薄い地色（#F5F7F3）の上に影を落としている。 */
	background: #F4F5F2;
	border: none;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(32, 38, 33, .10);
	padding: 22px 24px;
	margin-bottom: 30px;
}

.shu-toc .shu-toc-h {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 15px;
	color: var(--shu-accent-2-deep);
	margin-bottom: 12px;
}

.shu-toc ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.shu-toc li {
	border: none;
	padding: 0;
	margin-bottom: 9px;
}

.shu-toc a {
	display: block;
	font-size: 15px;
	padding: 5px 0;
}

/* --- 本文（ブロックエディタの出力をこの器に流す） --- */

/* .shu-scope a { color: inherit } で本文のリンクが黒に潰れていた。
   本文の中だけ色と下線を戻す。 */
.shu-body a {
	color: var(--shu-accent);
	/* 参考情報の長い URL が本文の幅からはみ出さないよう、URL の途中でも折り返す。
	   anywhere にすると表の中のリンクの最小幅まで縮み、日本語の文節の途中で切れる（独立レビューで実測）ので break-word */
	overflow-wrap: break-word;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.shu-body a:hover,
.shu-body a:focus-visible {
	color: var(--shu-accent-deep);
}


/* 見出しは下線タブ（モックの hd-tab）。罫の左端にだけ太い線を重ねる。
   小番号は付けない指定になったので counter は使わない。 */

.shu-body h2 {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 26px;
	line-height: 1.5;
	margin: 56px 0 20px;
	padding-bottom: 14px;
	/* 全幅の罫は薄くして、左のタブを際立たせる */
	border-bottom: 1px solid #EDEBE4;
	position: relative;
	scroll-margin-top: 20px;
	color: var(--shu-text);
}

.shu-body h2::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	/* 3px だと全幅の罫に埋もれて、ただの下線に見えていた */
	width: 76px;
	height: 5px;
	border-radius: 3px;
	background: var(--shu-accent);
}

.shu-body h3 {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 20px;
	color: var(--shu-accent-deep);
	margin: 30px 0 12px;
	padding-left: 13px;
	/* 大見出しのタブは緑。小見出しは差し色にして、階層を色でも分ける */
	border-left: 3px solid var(--shu-accent-2);
}

/* 幅を38em に絞ったところ、改行の位置が変わって読みづらくなったので
   元の幅に戻した（2026-09-16 指示）。行送りの 1.75 はそのまま。 */
.shu-body p {
	font-size: 17px;
	margin-bottom: 22px;
	color: #30382F;
	line-height: 1.75;
}

/* モックに指定が無かったため、トークンに合わせて足したもの（本文の箇条書き・表） */
.shu-body ul,
.shu-body ol {
	font-size: 17px;
	line-height: 1.75;
	color: #30382F;
	margin: 0 0 22px;
	padding-left: 1.4em;
}

.shu-body li {
	margin-bottom: 7px;
}

.shu-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
	font-size: 15.5px;
}

.shu-body th,
.shu-body td {
	border: 1px solid var(--shu-line);
	padding: 11px 13px;
	text-align: left;
	vertical-align: top;
}

.shu-body th {
	background: var(--shu-tint-7);
	font-family: var(--shu-disp);
	font-weight: 700;
	color: var(--shu-accent-deep);
	white-space: nowrap;
}

.shu-body figure {
	margin: 26px 0;
}

/* 幅を指定して縮めた図は中央に置く。左寄せ・右寄せ（回り込み）は対象外 */
.shu-body figure.is-resized:not(.alignleft):not(.alignright):not(.alignfull) {
	margin-left: auto;
	margin-right: auto;
	width: fit-content;
	max-width: 100%;
}

.shu-body figure img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.shu-body figcaption {
	font-size: 12px;
	color: var(--shu-soft);
	margin-top: 8px;
}

/* ------------------------------------------------ 本文の囲み枠（まとめ） */

/* 記事末の「この記事のまとめ」などに使う囲み。
   使い方: グループブロックの「追加CSSクラス」に shu-summary と入れる。
   引用（左に太い罫）と見分けがつくよう、こちらは全周の枠＋見出しの短い罫にしている。 */
.shu-body .shu-summary {
	background: var(--shu-tint-6);
	border: 1px solid var(--shu-line);
	border-radius: 12px;
	padding: 24px 26px;
	margin: 32px 0;
	break-inside: avoid;
}

/* 枠の内側は、上下の端に余計な余白を残さない */
.shu-body .shu-summary > :first-child {
	margin-top: 0;
}

.shu-body .shu-summary > :last-child {
	margin-bottom: 0;
}

/* 枠の中の見出しは、本文の小見出し（左に差し色の罫）とは別の扱いにする */
.shu-body .shu-summary h2,
.shu-body .shu-summary h3,
.shu-body .shu-summary h4 {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 18px;
	color: var(--shu-accent-deep);
	margin: 0 0 14px;
	padding: 0;
	border: none;
	display: flex;
	align-items: center;
	gap: 9px;
	line-height: 1.5;
}

.shu-body .shu-summary h2::before,
.shu-body .shu-summary h3::before,
.shu-body .shu-summary h4::before {
	content: "";
	flex-shrink: 0;
	width: 20px;
	height: 2px;
	background: var(--shu-accent);
}

/* 枠の中の箇条書きは、行間を少し詰めて読みやすくする */
.shu-body .shu-summary ul,
.shu-body .shu-summary ol {
	margin-bottom: 0;
	padding-left: 1.3em;
}

.shu-body .shu-summary li {
	margin-bottom: 9px;
}

.shu-body .shu-summary li:last-child {
	margin-bottom: 0;
}

.shu-body blockquote {
	background: var(--shu-tint-6);
	border: 1px solid var(--shu-line);
	border-left: 4px solid var(--shu-accent);
	border-radius: 10px;
	padding: 18px 21px;
	font-size: 16px;
	color: #4A514A;
	margin: 24px 0;
}

/* 表がはみ出すときだけ、表の内側で横スクロールさせる */
.shu-tablewrap {
	overflow-x: auto;
}

/* --- よくあるご質問 --- */

.shu-faq {
	margin: 20px 0 0;
}

.shu-faq dt {
	font-family: var(--shu-serif);
	font-size: 17.5px;
	padding: 15px 0 8px;
	border-top: 1px solid var(--shu-line);
	font-weight: 700;
}

.shu-faq dd {
	font-size: 15.5px;
	color: var(--shu-soft);
	padding: 0 0 15px;
	margin: 0;
}

/* --- 末尾導線（電話バナー） --- */
/* 以前は「次の一歩」の栞リボンに ToDoリストへの導線を置いていたが、
   旧設計のため丸ごと外した（2026-09-16 指示）。 */

.shu-fz {
	margin-top: 42px;
}

.shu-fzb {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	padding: 22px 26px;
	border-radius: 14px;
	background: var(--shu-accent-deep);
	color: #fff;
}

.shu-fzb-l {
	font-size: 13px;
	opacity: .85;
}

.shu-fzb-tel {
	font-family: var(--shu-disp);
	font-weight: 900;
	font-size: 26px;
	line-height: 1.25;
	color: #fff;
	text-decoration: none;
}

/* .shu-scope a { color: inherit }（詳細度 0,1,1）に負けて白のままだったので、
   要素セレクタを足して詳細度を上げる */
.shu-fzb a.shu-fzb-btn {
	background: #fff;
	/* このページで唯一の行動の導線なので、差し色を当てる */
	color: var(--shu-accent-2-deep);
	font-weight: 700;
	padding: 13px 26px;
	border-radius: 30px;
	text-decoration: none;
	white-space: nowrap;
	min-height: 48px;
	display: inline-flex;
	align-items: center;
}

@media (max-width: 575.98px) {
	.shu-fzb {
		flex-direction: column;
		align-items: stretch;
		text-align: center;
	}

	.shu-fzb-btn {
		justify-content: center;
	}
}

/* --- 関連記事（リスト） --- */

.shu-related {
	margin-top: 44px;
}

.shu-related h2 {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 20px;
	margin-bottom: 15px;
	border: none;
	padding: 0;
	display: block;
	color: var(--shu-text);
}

.shu-related h2::before {
	content: none;
}

.shu-rlist {
	display: flex;
	flex-direction: column;
}

.shu-rl {
	display: flex;
	gap: 15px;
	align-items: center;
	padding: 14px 0;
	border-top: 1px solid var(--shu-line);
}

.shu-rl .shu-im {
	width: 120px;
	height: 78px;
	border-radius: 10px;
	flex-shrink: 0;
}

.shu-rl-t {
	font-family: var(--shu-disp);
	font-weight: 700;
	font-size: 17px;
}

.shu-rcat {
	display: inline-block;
	position: relative;
	font-size: 13px;
	font-weight: 700;
	color: color-mix(in srgb, var(--shu-pill, var(--shu-accent)) 72%, #14170f);
	letter-spacing: .06em;
	padding: 1px 0 1px 12px;
	margin-bottom: 7px;
}

.shu-rcat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	bottom: 1px;
	width: 4px;
	border-radius: 1px;
	background: var(--shu-pill, var(--shu-accent));
}

.shu-back {
	margin-top: 34px;
	font-size: 15px;
	font-weight: 700;
	color: var(--shu-accent);
}

/* 3列のまま幅が詰まる帯。見出しを20pxのままにすると
   「火葬場・斎場を／探す」のように末行が2文字だけ残るため、一段落とす */
@media (min-width: 761px) and (max-width: 991px) {

	.shu-entry {
		padding: 18px 18px 16px;
	}

	.shu-entry-n {
		font-size: 36px;
		margin-bottom: 8px;
	}

	.shu-entry h3 {
		font-size: 19px;
	}

	.shu-entry p {
		font-size: 14.5px;
	}
}

/* ------------------------------------------------------------ 狭い画面 */

@media (max-width: 760px) {

	.shu-entries,
	.shu-grid {
		grid-template-columns: 1fr;
	}

	/* スマホでは主役が縦に伸びて記事に届くまでが遠くなるため、余白を詰める。
	   1440px 実測でヒーロー高さ 409px、375px 実測で 928px だったことへの対処 */
	.shu-hero {
		padding: 30px 22px;
	}

	.shu-search-h {
		font-size: 28px;
	}

	.shu-search-q {
		font-size: 16px;
	}

	.shu-hero h1,
	.shu-hero h2 {
		font-size: 22px;
		max-width: none;
	}

	.shu-hero-rule {
		margin: 18px auto;
	}

	.shu-hero-lead {
		margin-bottom: 22px;
		font-size: 14.5px;
	}

	.shu-entries {
		gap: 12px;
		padding-top: 20px;
	}

	.shu-entry {
		padding: 18px 18px;
	}

	.shu-entry-n {
		font-size: 40px;
		margin-bottom: 8px;
	}

	/* custom.css が 576px 以下で h3 に font-size:1.2rem !important を当てているため、
	   !important でないとこの指定が負けて 19.2px になる。
	   （同ファイルは全ての見出しに line-height:1.5 !important も当てている） */
	.shu-entry h3 {
		font-size: 21px !important;
	}

	.shu-body h3 {
		font-size: 19px !important;
		padding-left: 11px;
	}

	.shu-body .shu-summary {
		padding: 18px 18px;
		margin: 24px 0;
	}

	.shu-body .shu-summary h2,
	.shu-body .shu-summary h3,
	.shu-body .shu-summary h4 {
		font-size: 17px !important;
		padding-left: 0;
	}

	.shu-search {
		padding: 24px 20px 22px;
	}

	.shu-arts {
		padding: 24px 18px 28px;
	}

	.shu-lbody {
		padding: 8px 18px 30px;
	}

	.shu-wrap {
		padding: 30px 22px 50px;
	}

	.shu-list-cat {
		width: auto;
	}

	.shu-list-row {
		flex-wrap: wrap;
		gap: 6px 14px;
	}

	.shu-list-t {
		flex: 1 1 100%;
		font-size: 18px;
	}

	.shu-rl .shu-im {
		width: 92px;
		height: 62px;
	}

	/* 単独で置かれるリンクは、指で押せる高さを確保する */
	.shu-back a,
	.shu-crumb a {
		display: inline-block;
		padding: 12px 2px;
	}

	.shu-tabs a,
	.shu-ftabs a {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.shu-body h2 {
		font-size: 22px !important;
	}

	.shu-wrap h1 {
		font-size: 26px;
	}

	.shu-lead {
		font-size: 17px;
	}
}

/* --- 記事一覧（狭い幅） --- */
/* サムネイルを足したら1行に収まらず、題名と日付が画像の下へ回り込んでいた。
   左に画像、右にカテゴリ・題名・日付を縦に積む。
   画像が無い記事では左の列が 0 幅になるので、同じ指定でそのまま使える。 */

@media (max-width: 575.98px) {
	.shu-list-row {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"im cat"
			"im t"
			"im d";
		column-gap: 12px;
		row-gap: 3px;
		align-items: start;
		align-content: center;
		padding: 14px 2px;
	}

	.shu-list-im { grid-area: im; align-self: start; }

	.shu-list-cat {
		grid-area: cat;
		width: auto;
	}

	.shu-list-t { grid-area: t; }
	.shu-list-d { grid-area: d; }

	/* 目次の項目が34px ほどで、指で押すには小さかった */
	.shu-toc a {
		padding: 11px 0;
	}
}
