/*
Theme Name: EOL Child
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 7.1
Description: IT更新情報サイトの子テーマ（統合版 2.3・E-08）。親テーマは config/site.yaml の theme.parent（Twenty Twenty-Five。判断待ち9、統合版 追記8で決定）。親テーマを変えるときは、この Template も一緒に変える。
Text Domain: eol-child
*/

/*
 * 見た目（S9-06。統合版 追記21 の「デザインの決定」と 7章の50〜54。53・54 は初期値）。考え方は「記録の台帳」：飾りを足さず、表と数字を
 * 読みやすくする。色・文字・幅の値は theme.json（文字と地の明るさの比はテストで確かめる。tests/test_child_theme.py）。
 * 状態の色は、必ず文字のラベルと一緒に出す（色だけに頼らない）。外部の CSS・フォント・JavaScript は読み込まない。ダークモードは作らない（51）
 * としていたが、S29-04（追記60）で、読み手の端末の設定に従う暗い表示を入れた（下の S29-04 の説明）
 *
 * 作り込み（Issue #241）：決定の色・文字・幅・部品の値は変えず、親テーマの既定のまま残っていた余白・ヘッダー・フッター・一覧・
 * 検索・見つからないページの見た目を、同じ決まりでそろえる。
 *
 * デザインの作り直しの土台（S12-01。見本の README の 7.）：色・文字・幅の値を theme.json で変えた。線は2つに分ける：表の行の区切り
 * （装飾。--eol-border）と、意味のある枠の線（検索欄・カード・図・表の外枠。--eol-line。地と 3:1 以上）。フォーカスの輪は
 * --eol-focus。文字と地・線と地の比は、theme.json の値から全部の組み合わせを計算して確かめる（tests/test_child_theme.py）
 *
 * エンジニア向けの見た目（S29-04。統合版 7章の208。キャンバスの見本 Main.dc.html・Product.dc.html の、見た目だけ）：
 * ヘッダーとフッターは端末風の黒い帯（--eol-term-*。明るい表示でも暗い表示でも同じ）、サイト名の前の「$」と四角いカーソル、
 * 節の見出しの前の「##」は CSS の飾り（読み上げから外す）。版・日付・表の数字・状態の札・パンくずは等幅の文字（--eol-mono。
 * 端末に入っている書体の並び。日本語は日本語の書体に落ちる）。色はキャンバスの明るい表示の値。読み手の端末が暗い表示を選んで
 * いるとき（prefers-color-scheme: dark）は、キャンバスの暗い表示の値（theme.json の custom.eol-dark）。暗い表示を作らない決まり
 * （7章の51）は、S29-04 で改めた。切り替えのボタンは入れない（JavaScript と HTML が要る。7.1 の19）。ページの HTML・テンプレート・
 * ブロックは変えない（この2つのファイルは型の指紋に入らない。pipeline/blocks/machine_pages.py の template_hash）
 */

:root {
	--eol-bg: var(--wp--custom--eol--bg); /* ページの地 */
	--eol-surface: var(--wp--custom--eol--surface); /* 面（表・カード・枠の中） */
	--eol-head: var(--wp--custom--eol--head); /* 表の見出しの行・偶数の行・押したときの地 */
	--eol-text: var(--wp--custom--eol--text);
	--eol-sub: var(--wp--custom--eol--sub);
	--eol-border: var(--wp--custom--eol--border); /* 表の行の区切り（装飾。情報を持たない） */
	--eol-line: var(--wp--custom--eol--line); /* 意味のある枠の線（地と 3:1 以上） */
	--eol-focus: var(--wp--custom--eol--focus); /* フォーカスの輪 */
	--eol-link: var(--wp--custom--eol--link);
	--eol-accent: var(--wp--custom--eol--accent); /* 印の緑（「##」・並びの目印・要点の札） */
	--eol-note-text: var(--wp--custom--eol--note-text);
	--eol-note-bg: var(--wp--custom--eol--note-bg);
	--eol-note-line: var(--wp--custom--eol--note-line);
	--eol-status-supported-text: var(--wp--custom--eol--status-supported-text);
	--eol-status-supported-bg: var(--wp--custom--eol--status-supported-bg);
	--eol-status-supported-border: var(--wp--custom--eol--status-supported-border);
	--eol-status-soon-text: var(--wp--custom--eol--status-soon-text);
	--eol-status-soon-bg: var(--wp--custom--eol--status-soon-bg);
	--eol-status-soon-border: var(--wp--custom--eol--status-soon-border);
	--eol-status-ended-text: var(--wp--custom--eol--status-ended-text);
	--eol-status-ended-bg: var(--wp--custom--eol--status-ended-bg);
	--eol-status-ended-border: var(--wp--custom--eol--status-ended-border);
	--eol-status-kev-text: var(--wp--custom--eol--status-kev-text);
	--eol-status-kev-bg: var(--wp--custom--eol--status-kev-bg);
	--eol-status-kev-border: var(--wp--custom--eol--status-kev-border);
	/* 製品ハブの図の段階の線（線の色は HTML の stroke。明るい表示はその色のまま、暗い表示だけ下の図の決まりで明るくする） */
	--eol-chart-normal: var(--wp--custom--eol--chart-normal);
	--eol-chart-support: var(--wp--custom--eol--chart-support);
	--eol-chart-extended: var(--wp--custom--eol--chart-extended);
	/* 端末風の黒い帯（ヘッダー・フッター・確認コマンドの枠）。明るい表示でも暗い表示でも同じ */
	--eol-term-bg: var(--wp--custom--eol--term-bg);
	--eol-term-surface: var(--wp--custom--eol--term-surface);
	--eol-term-border: var(--wp--custom--eol--term-border);
	--eol-term-text: var(--wp--custom--eol--term-text);
	--eol-term-sub: var(--wp--custom--eol--term-sub);
	--eol-term-accent: var(--wp--custom--eol--term-accent);
	--eol-term-line: var(--wp--custom--eol--term-line); /* 黒い帯の中の入力欄の枠（帯の地と 3:1 以上） */
	--eol-term-button-bg: var(--wp--custom--eol--term-button-bg);
	--eol-term-button-border: var(--wp--custom--eol--term-button-border);
	--eol-term-button-text: var(--wp--custom--eol--term-button-text);
	--eol-mono: var(--wp--preset--font-family--fira-code); /* 等幅の文字（端末に入っている書体の並び。theme.json） */
	/* 次の値は、デザインの決定（theme.json）の外で、作り込み（Issue #241）と S29-04 で足した値 */
	--eol-radius: 6px; /* 札・入力欄・ボタンの角の丸み */
	--eol-radius-box: 8px; /* 表・カード・図・枠の角の丸み */
	--eol-gap: 2.5rem; /* ヘッダーと題の間・本文とフッターの間 */
	color-scheme: light dark;
}

/* 暗い表示（S29-04。読み手の端末の設定に従う）：色の値だけを、theme.json の custom.eol-dark に置き換える。端末風の帯の色は同じ */
@media (prefers-color-scheme: dark) {
	:root {
		--eol-bg: var(--wp--custom--eol-dark--bg);
		--eol-surface: var(--wp--custom--eol-dark--surface);
		--eol-head: var(--wp--custom--eol-dark--head);
		--eol-text: var(--wp--custom--eol-dark--text);
		--eol-sub: var(--wp--custom--eol-dark--sub);
		--eol-border: var(--wp--custom--eol-dark--border);
		--eol-line: var(--wp--custom--eol-dark--line);
		--eol-focus: var(--wp--custom--eol-dark--focus);
		--eol-link: var(--wp--custom--eol-dark--link);
		--eol-accent: var(--wp--custom--eol-dark--accent);
		--eol-note-text: var(--wp--custom--eol-dark--note-text);
		--eol-note-bg: var(--wp--custom--eol-dark--note-bg);
		--eol-note-line: var(--wp--custom--eol-dark--note-line);
		--eol-status-supported-text: var(--wp--custom--eol-dark--status-supported-text);
		--eol-status-supported-bg: var(--wp--custom--eol-dark--status-supported-bg);
		--eol-status-supported-border: var(--wp--custom--eol-dark--status-supported-border);
		--eol-status-soon-text: var(--wp--custom--eol-dark--status-soon-text);
		--eol-status-soon-bg: var(--wp--custom--eol-dark--status-soon-bg);
		--eol-status-soon-border: var(--wp--custom--eol-dark--status-soon-border);
		--eol-status-ended-text: var(--wp--custom--eol-dark--status-ended-text);
		--eol-status-ended-bg: var(--wp--custom--eol-dark--status-ended-bg);
		--eol-status-ended-border: var(--wp--custom--eol-dark--status-ended-border);
		--eol-status-kev-text: var(--wp--custom--eol-dark--status-kev-text);
		--eol-status-kev-bg: var(--wp--custom--eol-dark--status-kev-bg);
		--eol-status-kev-border: var(--wp--custom--eol-dark--status-kev-border);
		--eol-chart-normal: var(--wp--custom--eol-dark--chart-normal);
		--eol-chart-support: var(--wp--custom--eol-dark--chart-support);
		--eol-chart-extended: var(--wp--custom--eol-dark--chart-extended);
	}
}

body {
	font-variant-numeric: tabular-nums; /* 数字は等幅の数字（表の桁がそろう） */
	-webkit-text-size-adjust: 100%;
	background-color: var(--eol-bg);
	color: var(--eol-text);
}

/* 等幅の文字（S29-04）：版・日付・残り・表の数字・状態の札・パンくず・要約の値（ページの中の目次の札は、その決まりの中）。いまの HTML の目印で
   当てられる所だけ（HTML は足さない）。表は見出しの行（th）をふつうの文字のまま、セル（td）を等幅にする。一覧の表の製品の名前の
   欄（data-label="製品"）は、名前なので、ふつうの文字に戻す */
figure.wp-block-table td,
.eol-status,
.eol-breadcrumbs,
.eol-summary-value,
.eol-summary-note,
.eol-dates,
.eol-card-value,
.eol-card-checked,
.eol-search-versions-end {
	font-family: var(--eol-mono);
}
figure.wp-block-table td[data-label="製品"] {
	font-family: inherit;
}

/* 日付・版番号の途中で改行しない（R15。題と、トップの欄・製品一覧のリンクの並びは functions.php の eol_child_no_break が囲む） */
.eol-nobr {
	white-space: nowrap;
}
/* 折り返しを許す目印（記事の脆弱性の表の EPSS の欄。#342 の案X）。中は途中で改行しない目印（eol-nobr）の並びで、
   折れるのは目印と目印の間（値と括弧の順位の間）だけ。表のセルの「改行しない」を、この中だけ外す */
.eol-wrap {
	white-space: normal;
}

/* 枠・余白を付けた部品の幅は、余白と線を含めて数える（本文の幅 760px・表と図の幅 1120px からはみ出さない） */
.wp-block-post-content > *,
.eol-front-sections > *,
figure.eol-timeline,
.eol-record-link,
.eol-conclusion {
	box-sizing: border-box;
}

/* ------------------------------------------------------------------ 余白
   親テーマの既定（main の上の余白と、その中の枠の上下の余白）が重なり、題の上が大きく空いていた。上の余白を1つにそろえる。
   余白はテンプレートのブロックのインラインの style にあり、トップのテンプレート（front-page.html）はトップの型のハッシュに入る
   （変えると型の承認が外れる）。テンプレートは変えず、ここで !important で上書きする */
main.wp-block-group {
	margin-top: 0 !important;
}
main.wp-block-group > .wp-block-group.alignfull {
	padding-top: var(--eol-gap) !important;
	padding-bottom: var(--eol-gap) !important;
}

/* ------------------------------------------------------------------ リンク・フォーカス */
a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}
a:hover {
	text-decoration-thickness: 2px;
}
:where(a, button, input, summary, figure[tabindex]):focus-visible {
	outline: 2px solid var(--eol-focus);
	outline-offset: 2px;
}

/* ------------------------------------------------------------------ ヘッダー：端末風の黒い帯（S29-04）。サイト名は等幅の太字で、
   前に緑の「$」、後ろに緑の四角いカーソル（どちらも CSS の飾り。読み上げから外す。サイト名の文字は変えない） */
header.wp-block-template-part {
	background: var(--eol-term-bg);
	color: var(--eol-term-text);
	border-bottom: 1px solid var(--eol-term-border);
}
header.wp-block-template-part .wp-block-site-title {
	font-family: var(--eol-mono);
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0;
}
header.wp-block-template-part .wp-block-site-title a {
	color: var(--eol-term-text);
	text-decoration: none;
	/* 押せる高さ（44px）にする（S16-06。見本の README の「44px 未満のタップ先が無い」）。文字の大きさは変えず、上下に広げた分を
	   負の余白で打ち消して、ヘッダーの高さを変えない（1lh は、この行の高さ） */
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-block: calc((1lh - 44px) / 2);
}
/* 「$」とカーソル（印は読み上げから外す。content の「/」の後ろの代わりの文字を空に。読めないブラウザは1つ目で同じ見た目） */
header.wp-block-template-part .wp-block-site-title a::before,
footer.wp-block-template-part .wp-block-site-title a::before {
	content: "$";
	content: "$" / "";
	margin-right: 0.5em;
	color: var(--eol-term-accent);
}
header.wp-block-template-part .wp-block-site-title a::after {
	content: "";
	content: "" / "";
	display: inline-block;
	width: 0.5em;
	height: 1.05em;
	margin-left: 0.45em;
	background: var(--eol-term-accent);
}
header.wp-block-template-part .wp-block-navigation {
	font-size: 15px;
	font-weight: 700;
}
header.wp-block-template-part .wp-block-navigation a {
	color: var(--eol-term-text);
	text-decoration: none;
}
header.wp-block-template-part .wp-block-navigation a:hover,
header.wp-block-template-part .wp-block-navigation .current-menu-item > a {
	color: var(--eol-term-text);
	text-decoration: underline;
	text-decoration-color: var(--eol-term-accent);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.5em;
}
/* メニューはスマホでも隠さない（parts/header.html の overlayMenu は never。S12-02）。項目は押せる高さ（44px）にして、折り返す */
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
}
/* ヘッダーの検索の欄（S12-02）：サイト名とメニューの間。製品の名前の候補から選ぶと、その製品のページへ移る（assets/eol-search.js） */
.eol-header-search {
	flex: 1 1 16rem;
	max-width: 26rem;
	margin: 0;
}

/* フッター：ヘッダーと同じ端末風の黒い帯（S29-04）。サイト名（前に「$」）・必須ページのリンク */
footer.wp-block-template-part {
	margin-top: 0;
	background: var(--eol-term-bg);
	color: var(--eol-term-sub);
	border-top: 1px solid var(--eol-term-border);
	font-size: 14px;
}
footer.wp-block-template-part a {
	color: var(--eol-term-sub);
}
footer.wp-block-template-part a:hover {
	color: var(--eol-term-text);
}
footer.wp-block-template-part .wp-block-site-title {
	font-family: var(--eol-mono);
	font-size: 16px;
	font-weight: 700;
}
footer.wp-block-template-part .wp-block-site-title a {
	color: var(--eol-term-text);
	text-decoration: none;
}
footer.wp-block-template-part .wp-block-navigation {
	gap: 0.4em 1.4em;
	font-size: 14px;
}
.eol-footer-note {
	margin: 0;
	color: var(--eol-term-sub);
	font-size: 13px;
}

/* パンくず（S12-03。wp/mu-plugins/eol-breadcrumbs.php）：題の上に小さな文字で、いまの場所。区切りは「›」。リンクは押せる高さ（44px）。
   区切りは読み上げから外す（S18-02。7章の125。content の「/」の後ろの代わりの文字を空に。リストとしては今のまま読まれる。
   代わりの文字を読めないブラウザは2つ目の content を捨て、1つ目で同じ見た目になる） */
.eol-breadcrumbs {
	margin-bottom: 0.5em;
	color: var(--eol-sub);
	font-size: 13px;
}
.eol-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.5em;
	margin: 0;
	padding: 0;
	list-style: none;
}
.eol-breadcrumbs li {
	display: inline-flex;
	align-items: center;
}
.eol-breadcrumbs li + li::before {
	content: "›";
	content: "›" / "";
	margin-right: 0.5em;
}
.eol-breadcrumbs a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--eol-link);
	text-decoration: none;
}
.eol-breadcrumbs a:hover {
	text-decoration: underline;
}
.eol-breadcrumbs [aria-current] {
	color: var(--eol-text);
}

/* ------------------------------------------------------------------ 題と、記事の頭：題 → 小さな行（カテゴリー・運営・確認）→ アイキャッチ
   → 公開日・更新日 → 要点の枠 */
h1.wp-block-post-title,
h1.wp-block-heading,
h1.wp-block-query-title {
	margin-top: 0;
	margin-bottom: 0.6em;
}
.eol-byline {
	align-items: center;
	color: var(--eol-sub);
}
.eol-byline p {
	margin: 0;
}
.eol-byline a {
	color: var(--eol-sub);
}
/* カテゴリーは小さな札（面の地に罫線、印の緑の文字） */
.eol-byline .wp-block-post-terms a,
.eol-entry-meta .wp-block-post-terms a {
	display: inline-block;
	padding: 0.05em 0.6em;
	border: 1px solid var(--eol-border); /* 装飾（札は文字と地で分かる） */
	border-radius: var(--eol-radius);
	background: var(--eol-surface);
	color: var(--eol-accent);
	font-weight: 700;
	text-decoration: none;
}
.eol-eyecatch {
	margin-bottom: 1em;
}
.eol-eyecatch img {
	width: 100%;
	height: 180px; /* パソコン 180px まで（7章の54。初期値） */
	object-fit: cover;
	border-radius: var(--eol-radius);
}
/* 記事のアイキャッチは、ページの上では横4・縦1に低く切り抜く（S12-08。見本の README の 9.。7章の54）。パソコンは 180px まで、
   スマホは幅に合わせて低くなる（幅 390px の画面で約 83px。本文の欄の幅の4分の1）。要点の枠を上に寄せる。画像そのもの（横1200px 以上）と
   max-image-preview:large は変えない（見せ方だけ）。機械のページのアイキャッチは上のまま */
.single-post .eol-eyecatch img {
	height: auto;
	max-height: 180px;
	aspect-ratio: 4 / 1;
}
.eol-dates {
	color: var(--eol-sub);
	font-size: 0.9em;
}

/* ------------------------------------------------------------------ 本文 */

/* 節の見出し：前に飾りの「##」（S29-04。いまの左の縦線の代わり。固定ページ・トップの欄も同じ）。印は読み上げから外す
   （content の「/」の後ろの代わりの文字を空に。読めないブラウザは1つ目で同じ見た目） */
.wp-block-post-content h2.wp-block-heading,
.eol-front-sections h2.wp-block-heading {
	margin-top: 2.2em;
}
.wp-block-post-content h2.wp-block-heading::before,
.eol-front-sections h2.wp-block-heading::before {
	content: "##";
	content: "##" / "";
	margin-right: 0.5em;
	color: var(--eol-accent);
	font-family: var(--eol-mono);
}
/* 題のすぐ後の最初の見出しは、上を空けすぎない（固定ページ） */
.wp-block-post-content > h2.wp-block-heading:first-child {
	margin-top: 1.2em;
}
.wp-block-post-content h3.wp-block-heading {
	margin-top: 1.8em;
	padding-bottom: 0.2em;
	border-bottom: 1px solid var(--eol-border);
}
/* 並びの目印を印の緑に */
.wp-block-post-content li::marker,
.eol-front-sections li::marker {
	color: var(--eol-accent);
}
.wp-block-post-content li + li {
	margin-top: 0.2em;
}

/* 要点の枠：面の地に罫線、左に印の緑の太い線、上に小さな札 */
.eol-conclusion {
	position: relative;
	margin-top: 1.6em;
	padding: 1.9em 1.2em 0.9em;
	background: var(--eol-surface);
	border: 1px solid var(--eol-border); /* 装飾（枠は地の色と左の線で分かる） */
	border-left: 6px solid var(--eol-accent);
	border-radius: 0 var(--eol-radius-box) var(--eol-radius-box) 0;
}
.eol-conclusion::before {
	content: "この記事の要点";
	position: absolute;
	top: 0.6em;
	left: 1.2em;
	color: var(--eol-accent);
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.05em;
}
.eol-conclusion ul {
	margin: 0.4em 0 0;
}
/* 要点の行はふつうの太さ（札「この記事の要点」だけを太字にする。S10-03。D3） */
.eol-conclusion li {
	font-weight: 400;
}

/* 注意：薄い橙の地に、左に橙の線 */
.eol-note {
	padding: 0.8em 1em;
	background: var(--eol-note-bg);
	border-left: 4px solid var(--eol-note-line);
	border-radius: 0 var(--eol-radius) var(--eol-radius) 0;
	color: var(--eol-note-text);
}

/* 用語：小さめの文字、補足の色、点線の枠 */
.eol-glossary {
	padding: 0.5em 0.8em;
	border: 1px dotted var(--eol-border); /* 装飾（用語の枠は文字の色と大きさで分かる。押す部品ではない） */
	border-radius: var(--eol-radius);
	color: var(--eol-sub);
	font-size: 0.85em;
}

/* 表：面の地に意味のある枠の線、見出しの行は薄い地と補足の色の小さな文字（S29-04）、偶数の行に薄い地、セルの中で改行しない。
   画面より広い表は横にずらせる枠に入れ、1列目を固定する（「横にずらして見られます」は assets/eol-tables.js が、広いときだけ出す）。
   表の文字は本文より一段小さくし、列の多い製品ハブの表がパソコンの幅（最大 1120px）に収まるようにする */
.is-layout-constrained > figure.wp-block-table,
.is-layout-constrained > figure.eol-timeline,
.is-layout-constrained > .eol-scroll-hint,
.is-layout-constrained > details.eol-details-table {
	max-width: min(1120px, 100%); /* 表と図は最大 1120px（theme.json の wideSize）。表を入れた折りたたみ（製品ハブの古い版。S12-05）も同じ */
}
/* 記事（投稿）の表と期限の図は、本文と同じ幅（760px）まで。左の端を見出し・本文とそろえる。表は中身の幅に縮め、
   列の少ない表（2列の「項目・値」など）の間を空けすぎない。本文の幅を超える表は、上と同じく横にずらす（S10-01。D1）。
   機械のページ（製品ハブ・一覧ページ・データのページ）の表と図は、上の最大 1120px のまま */
.single-post .is-layout-constrained > figure.wp-block-table,
.single-post .is-layout-constrained > figure.eol-timeline,
.single-post .is-layout-constrained > .eol-scroll-hint {
	max-width: min(var(--wp--style--global--content-size, 760px), 100%); /* 本文の幅（theme.json の contentSize） */
}
.single-post figure.wp-block-table table {
	min-width: 0;
}
figure.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	font-size: 15px;
	line-height: 1.6;
}
figure.wp-block-table table {
	width: auto;
	min-width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--eol-line); /* 表の外枠は意味のある枠の線。行の区切りは下の --eol-border（装飾） */
	border-radius: var(--eol-radius-box);
	overflow: hidden; /* 角の丸みの外に、セルの地を出さない */
}
figure.wp-block-table th,
figure.wp-block-table td {
	padding: 0.5em 0.75em; /* 記事の表の幅の見積もり（tests/test_article_overlaps.py）と同じ値 */
	border: 0;
	border-bottom: 1px solid var(--eol-border);
	white-space: nowrap;
	text-align: left;
	background: var(--eol-surface);
}
figure.wp-block-table tbody tr:last-child td {
	border-bottom: 0;
}
figure.wp-block-table thead th {
	background: var(--eol-head);
	color: var(--eol-sub);
	font-size: 0.85em;
	font-weight: 700;
}
figure.wp-block-table tbody tr:nth-child(even) td {
	background: var(--eol-head);
}
figure.wp-block-table th:first-child,
figure.wp-block-table td:first-child {
	position: sticky;
	left: 0;
	z-index: 1;
	box-shadow: 1px 0 0 var(--eol-border);
}
.eol-scroll-hint {
	margin-top: 0.3em;
	color: var(--eol-sub);
	font-size: 0.8em;
}
/* 横にずらす案内の「↔」も、印は読み上げから外す（S18-02。7章の125。content の「/」の後ろの代わりの文字を空に。読めないブラウザは1つ目で同じ見た目） */
.eol-scroll-hint::before {
	content: "↔ ";
	content: "↔ " / "";
}

/* 図（期限の時系列・製品ハブの図）：枠に入れる。スマホでは、製品ハブの図だけ幅を保って横にずらせる枠にする（下のスマホの欄） */
figure.eol-timeline {
	padding: 1em;
	border: 1px solid var(--eol-line);
	border-radius: var(--eol-radius-box);
	background: var(--eol-surface);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
/* 製品ハブの図の段階の線（S29-04）：線の色は HTML の stroke（pipeline/blocks/machine_pages.py の PHASES。型の指紋に入るので
   変えない）。CSS の stroke は属性より強いので、ここで theme.json の chart-* に当て直す。明るい表示の chart-* は PHASES と同じ値
   （見た目は変わらない）、暗い表示は暗い地と 3:1 以上の明るい色（tests/test_child_theme.py と tests/test_hub_tables.py） */
figure.eol-timeline line[stroke="#173a63"] {
	stroke: var(--eol-chart-normal);
}
figure.eol-timeline line[stroke="#11695c"] {
	stroke: var(--eol-chart-support);
}
figure.eol-timeline line[stroke="#8a4b00"] {
	stroke: var(--eol-chart-extended);
}
figure.eol-timeline svg {
	display: block;
	width: 100%;
	height: auto;
}
/* 図の文字（text は fill の指定が無く、既定の黒になる）は、本文の文字の色にする（暗い表示でも読める。S29-04） */
figure.eol-timeline svg text {
	fill: currentColor;
}

/* 折りたたみ（製品ハブ・一覧の「このページの測り方」と「データ源ごとの記録の日数」。S10-06）。開く所はリンクの色で示す */
.eol-details {
	margin-top: 0.8em;
}
.eol-details > summary {
	cursor: pointer;
	color: var(--eol-link);
}

/* 製品ハブの要約の枠（S12-05）：サポート中の版・次に終わる版・最新の版・CISA KEV に載った CVE を4つ並べる（スマホとタブレットは
   2つずつ）。枠は意味のある枠の線（--eol-line）、項目の間の線は装飾（--eol-border） */
.eol-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border: 1px solid var(--eol-line);
	border-radius: var(--eol-radius-box);
	background: var(--eol-surface);
}
.eol-summary-item {
	padding: 0.8em 1em;
	border-left: 1px solid var(--eol-border); /* 装飾（項目は見出しの文字で分かる） */
}
.eol-summary-item:first-child {
	border-left: 0;
}
.eol-summary p {
	margin: 0;
}
.eol-summary-label {
	color: var(--eol-sub);
	font-size: 0.85em;
	font-weight: 700;
}
.eol-summary-value {
	font-size: 1.5em;
	font-weight: 700;
	line-height: 1.35;
}
.eol-summary-note,
.eol-summary-source {
	color: var(--eol-sub);
	font-size: 0.8em;
	line-height: 1.6;
}
.eol-summary-source {
	margin-top: 0.3em !important;
	color: var(--eol-sub);
}
@media (max-width: 1023.98px) {
	.eol-summary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.eol-summary-item:nth-child(3) {
		border-left: 0;
	}
	.eol-summary-item:nth-child(n+3) {
		border-top: 1px solid var(--eol-border); /* 装飾 */
	}
}

/* ページの中の目次（S12-05）：節へのリンクを、押しやすい大きさ（高さ 44px）の札にして並べる。等幅の文字で、前に飾りの「#」（S29-04） */
.eol-toc ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0;
	padding: 0;
	list-style: none;
}
.eol-toc a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.9em;
	border: 1px solid var(--eol-line);
	border-radius: var(--eol-radius);
	background: var(--eol-surface);
	color: var(--eol-text);
	font-family: var(--eol-mono);
	font-size: 0.8em;
	text-decoration: none;
}
.eol-toc a:hover {
	color: var(--eol-link);
	text-decoration: underline;
}
/* 目次の札の前の「#」は飾り。印は読み上げから外す（content の「/」の後ろの代わりの文字を空に。読めないブラウザは1つ目で同じ見た目） */
.eol-toc a::before {
	content: "#";
	content: "#" / "";
	color: var(--eol-sub);
}

/* 古い版の折りたたみ（S12-05）：開く所を押しやすい大きさにする */
.single-eol_hub .eol-details > summary {
	display: flex;
	align-items: center;
	min-height: 44px;
}

/* 記事の表の、製品名・期限の種類の欄だけ、セルの中で折り返す（#342 の案A。統合版 7章の93）。この欄は記事の HTML に目印を
   付けず（案A は CSS だけ）、列の数と並びで選ぶ（pipeline/blocks/article.py の表の見出し。tests/test_article_overlaps.py
   が、この並びと食い違わないことを確かめる）。脆弱性の表の EPSS の欄は、記事の HTML の目印（.eol-wrap。#342 の案X）で折る：
   - 7列の表＝週刊まとめの「期限が変わった版」（2列目が製品、4列目が期限の種類）
   - 5列の表＝週刊まとめの「重大な脆弱性」（2列目が製品）
   :has() を読めないブラウザでは、今までどおり折り返さず、横にずらして見る */
.single-post figure.wp-block-table table:has(th:nth-child(7):last-child) td:nth-child(2),
.single-post figure.wp-block-table table:has(th:nth-child(7):last-child) td:nth-child(4),
.single-post figure.wp-block-table table:has(th:nth-child(5):last-child) td:nth-child(2) {
	white-space: normal;
}

/* 一覧の表で、値を確かめた記録が無い製品の行の断り（S15-06。wp/mu-plugins/eol-machine-pages.php の
   eol_checked_mark_missing が、表示のときに製品の欄に足す）。製品名の下に、一段小さい文字で折り返して出す */
.eol-checked-missing {
	display: block;
	white-space: normal;
	font-size: 0.85em;
	color: var(--eol-sub);
}

/* 状態の札（機械のページの「状態」。S9-07 が目印を付ける）。札の文字が状態を表す（色だけに頼らない）。文字の色・地・枠は
   キャンバスの値（S29-04）。枠の線は飾り（札は文字と地の比 4.5:1 以上の文字で読める）。大きさと余白・枠の太さは、記事の表の幅の
   見積もり（tests/test_article_overlaps.py）と同じ値のまま。枠の色は、状態ごとの決まりで当て直す */
.eol-status {
	display: inline-block;
	padding: 0.05em 0.6em;
	border-radius: 999px;
	font-size: 0.85em;
	font-weight: 700;
	white-space: nowrap;
	border: 1px solid currentColor;
}
.eol-status--supported {
	color: var(--eol-status-supported-text);
	background: var(--eol-status-supported-bg);
	border-color: var(--eol-status-supported-border);
}
.eol-status--soon {
	color: var(--eol-status-soon-text);
	background: var(--eol-status-soon-bg);
	border-color: var(--eol-status-soon-border);
}
.eol-status--ended {
	color: var(--eol-status-ended-text);
	background: var(--eol-status-ended-bg);
	border-color: var(--eol-status-ended-border);
}
.eol-status--kev {
	color: var(--eol-status-kev-text);
	background: var(--eol-status-kev-bg);
	border-color: var(--eol-status-kev-border);
}

/* 作り方と確認：記事の最後の2つの節（「この記事の作り方と確認」「更新履歴」）を、枠の地の1つの箱にまとめ、文字を一段小さくする。
   記事の本文の HTML は見た目のために変えない（S9-06）ので、記事の中での位置で選ぶ（どの記事も、この2つの節で終わる。article.py の METHOD）。
   箱の中の要素ごとに、同じ左右の余白・地・左右の罫線を付け、上下の余白を詰めて1つの箱に見せる */
.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2),
.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2) ~ * {
	margin-top: 0;
	margin-bottom: 0;
	padding: 0.5em 1.4em;
	background: var(--eol-surface);
	border-left: 1px solid var(--eol-border); /* 装飾（箱は面の地の色で分かる） */
	border-right: 1px solid var(--eol-border);
	font-size: 0.9em;
}
.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2) ~ ul {
	padding-left: 2.6em;
}
.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2) {
	margin-top: 3em;
	padding-top: 1.1em;
	border-top: 1px solid var(--eol-border);
	border-radius: var(--eol-radius-box) var(--eol-radius-box) 0 0;
	font-size: 1.1em;
}
.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2) ~ h2.wp-block-heading {
	padding-top: 1em;
	font-size: 1em;
}
.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2) ~ :last-child {
	padding-bottom: 1.1em;
	border-bottom: 1px solid var(--eol-border);
	border-radius: 0 0 var(--eol-radius-box) var(--eol-radius-box);
}

/* 製品の記録のページ（製品ハブ）へのリンク：枠つき */
.eol-record-link {
	margin-top: 1.2em;
	padding: 0.9em 1.2em;
	border: 1px solid var(--eol-line);
	border-left: 6px solid var(--eol-accent);
	border-radius: 0 var(--eol-radius-box) var(--eol-radius-box) 0;
	background: var(--eol-surface);
}
.eol-record-link p {
	margin: 0;
	font-weight: 700;
}
.eol-record-link a {
	text-decoration: none;
}
.eol-record-link a:hover {
	text-decoration: underline;
}
/* リンクの後ろの「→」は飾り。印は読み上げから外す（S18-02。7章の125。content の「/」の後ろの代わりの文字を空に。読めないブラウザは1つ目で同じ見た目） */
.eol-record-link a::after {
	content: " →";
	content: " →" / "";
}

/* 記事の目次（S12-08。見本の README の 9.。wp/mu-plugins/eol-articles.php が表示のときに見出しから作る）。目次は2か所にあり、
   同時には1つだけ見せる：要点の枠のすぐ後（開いて閉じられる。スマホ・タブレット）と、右の欄（パソコン。幅 1200px 以上で、
   右の欄に目次があるとき。本文の欄 760px＋すきま 48px＋右の欄 280px と左右の余白が入る幅。それより狭い幅で右の欄を出すと、
   本文の欄が 760px より細くなり、記事の表の収まり（7章の93）が変わる）。:has() を読めないブラウザでは、右の欄を出さず、要点の枠の後の目次だけになる。
   問い（記事の型の4つの問い）には Q1〜Q4 の番号、ほかの節には「・」を付ける。項目は押せる高さ（44px） */
.eol-article-grid {
	display: grid;
	grid-template-columns: minmax(0, var(--wp--style--global--content-size, 760px));
	justify-content: center;
	column-gap: 48px;
}
.eol-article-grid.eol-article-grid > * {
	margin-block: 0; /* 本文の欄と右の欄の上をそろえる（ブロックの間の余白を打ち消す。WordPress の決まりより強く） */
}
.eol-article-side {
	display: none;
}
@media (min-width: 1200px) {
	.eol-article-grid:has(.eol-article-toc--side) {
		grid-template-columns: minmax(0, var(--wp--style--global--content-size, 760px)) 280px;
	}
	.eol-article-grid:has(.eol-article-toc--side) .eol-article-side {
		display: block;
	}
	.eol-article-grid:has(.eol-article-toc--side) .eol-article-toc--inline {
		display: none;
	}
}
.eol-article-toc {
	box-sizing: border-box;
	border: 1px solid var(--eol-line);
	border-radius: var(--eol-radius-box);
	background: var(--eol-surface);
}
.eol-article-toc--inline {
	margin-top: 1.2em;
}
.eol-article-toc--side {
	position: sticky;
	top: 1rem;
}
.eol-article-toc > summary,
.eol-article-toc__title {
	display: flex;
	align-items: center;
	min-height: 44px;
	margin: 0;
	padding: 0 1em;
	font-weight: 700;
}
.eol-article-toc--inline > summary {
	cursor: pointer;
}
/* 本文の中の目次は最初は閉じておく（S18-01。7章の122）。見出しが flex なのでブラウザの開閉の三角が出ないので、開け閉めの印を
   右に出す。印は読み上げから外す（content の「/」の後ろの代わりの文字を空にする。開いているかは details の開閉として伝わる）。
   代わりの文字を読めないブラウザは2つ目の content を捨て、1つ目で同じ見た目になる（7章の123） */
.eol-article-toc--inline > summary::-webkit-details-marker {
	display: none;
}
.eol-article-toc--inline > summary::after {
	content: "＋";
	content: "＋" / "";
	margin-left: auto;
	padding-left: 1em;
	color: var(--eol-accent);
	font-weight: 700;
}
.eol-article-toc--inline[open] > summary::after {
	content: "－";
	content: "－" / "";
}
.eol-article-toc ol {
	margin: 0;
	padding: 0 0.6em 0.6em;
	list-style: none;
}
.eol-article-toc li + li {
	margin-top: 0;
}
.eol-article-toc a,
.eol-article-toc a:hover {
	display: flex;
	gap: 0.6em;
	align-items: flex-start;
	box-sizing: border-box;
	min-height: 44px;
	padding: 0.6em 0.5em;
	border-radius: var(--eol-radius);
	color: var(--eol-text);
	font-size: 0.9em;
	font-weight: 400;
	line-height: 1.55;
	text-decoration: none;
}
.eol-article-toc a:hover {
	background: var(--eol-head);
	color: var(--eol-link);
}
/* 目次の印（S18-01。7章の123）：「Q1」は「問い1」と読ませ、「・」は読み上げない（content の「/」の後ろが読み上げの代わりの文字）。
   代わりの文字を読めないブラウザは2つ目の content を捨て、1つ目で同じ見た目になる。問いの番号は目次を作るところ
   （wp/mu-plugins/eol-articles.php）が data-q に入れる（counter() は、代わりの文字の中ではどの項目にも最後の番号が読まれるため） */
.eol-article-toc__q a::before {
	content: "Q" attr(data-q);
	content: "Q" attr(data-q) / "問い" attr(data-q);
	flex: none;
	min-width: 2em;
	color: var(--eol-accent);
	font-family: var(--eol-mono);
	font-weight: 700;
}
.eol-article-toc__other a::before {
	content: "・";
	content: "・" / "";
	flex: none;
	min-width: 2em;
	color: var(--eol-sub);
	text-align: center;
}

/* コード（確認コマンド）：端末風の黒い枠（S29-04。明るい表示でも暗い表示でも同じ）。横にずらせる */
pre.wp-block-code {
	overflow-x: auto;
	padding: 0.9em 1.1em;
	background: var(--eol-term-bg);
	color: var(--eol-term-text);
	border: 1px solid var(--eol-term-border); /* 装飾（コードの箱は黒い地で分かる） */
	border-radius: var(--eol-radius-box);
	font-family: var(--eol-mono);
	font-size: 0.9em;
}
pre.wp-block-code code {
	color: inherit;
	background: transparent;
}

/* 記事の下の製品のタグ：小さな札 */
.eol-post-tags {
	margin-top: 1.5em;
	font-size: 0.85em;
}
.eol-post-tags a {
	display: inline-block;
	margin: 0 0.4em 0.4em 0;
	padding: 0.1em 0.7em;
	border: 1px solid var(--eol-line);
	border-radius: 999px;
	color: var(--eol-sub);
	text-decoration: none;
}
/* タグの前の「#」は飾り。印は読み上げから外す（S18-02。7章の125。content の「/」の後ろの代わりの文字を空に。読めないブラウザは1つ目で同じ見た目） */
.eol-post-tags a::before {
	content: "# ";
	content: "# " / "";
}
.eol-post-tags a:hover {
	border-color: var(--eol-link);
	color: var(--eol-link);
}

/* ------------------------------------------------------------------ リンクの並び（トップの欄・関連記事）
   トップの欄と製品一覧は、WordPress の公開の状態から表示のときに作る（wp/mu-plugins/eol-front.php）。HTML は変えず、ここで見た目だけを付ける */

/* トップの「期限が近い版」「期限が変わった版」「新しい記事」：罫線で区切った行（製品のカードは、下の .eol-cards。S12-07） */
.eol-front-sections h2.wp-block-heading + .wp-block-list {
	padding: 0;
	border-top: 1px solid var(--eol-border);
	list-style: none;
}
.eol-front-sections h2.wp-block-heading + .wp-block-list li {
	margin: 0;
	padding: 0.55em 0.2em;
	border-bottom: 1px solid var(--eol-border);
}

/* ------------------------------------------------------------------ 一覧（カテゴリー・タグ・検索の結果）：記事ごとに1行（題・公開日・カテゴリー）。
   本文は並べない（templates/archive.html・index.html・search.html） */
.eol-archive-description {
	color: var(--eol-sub);
}
.eol-entries {
	margin-top: 1.5em;
	padding: 0;
	border-top: 1px solid var(--eol-border);
}
.eol-entries > li {
	margin: 0;
	padding: 1em 0.2em;
	border-bottom: 1px solid var(--eol-border);
}
.eol-entries .wp-block-post-title {
	margin: 0 0 0.3em;
	font-size: 19px;
	line-height: 1.5;
}
.eol-entries .wp-block-post-title a {
	color: var(--eol-text);
	text-decoration: none;
}
.eol-entries .wp-block-post-title a:hover {
	color: var(--eol-link);
	text-decoration: underline;
}
.eol-entry-meta {
	align-items: center;
	color: var(--eol-sub);
	font-size: 14px;
}
.eol-entry-meta > * {
	margin: 0;
}
.wp-block-query-pagination {
	margin-top: 1.5em;
	font-weight: 700;
}
.wp-block-query-no-results {
	color: var(--eol-sub);
}

/* トップと製品一覧のカード（S12-07。wp/mu-plugins/eol-front.php）：製品の名前と、製品ハブのメタの値（項目の見出しと値）と、
   このサイトが値を確かめた日。カードの枠は意味のある枠の線（--eol-line）。スマホでは1列、広い画面では2列 */
.eol-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.8em;
	margin: 1em 0 0;
	padding: 0;
	list-style: none;
}
.eol-card {
	margin: 0;
	padding: 0.8em 1em;
	border: 1px solid var(--eol-line);
	border-radius: var(--eol-radius-box);
	background: var(--eol-surface);
}
.eol-card-name {
	font-size: 1.15em;
	font-weight: 700;
}
.eol-card-values {
	margin: 0.4em 0 0;
}
.eol-card-item {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.6em;
	padding: 0.2em 0;
}
.eol-card-item dt {
	color: var(--eol-sub);
	font-size: 0.85em;
	font-weight: 700;
}
.eol-card-item dd {
	margin: 0;
}
.eol-card-value {
	font-weight: 700;
}
.eol-card-note,
.eol-card-checked {
	display: block;
	color: var(--eol-sub);
	font-size: 0.85em;
}
.eol-card-checked {
	margin: 0.4em 0 0;
}
/* 名前で絞り込む欄（assets/eol-cards.js）が隠した並び：上の display: grid がブラウザ既定の [hidden] より強いので、ここで隠す */
.eol-cards[hidden],
.eol-card[hidden] {
	display: none;
}
.eol-cards-filter {
	margin: 1em 0 0;
}
.eol-cards-filter input {
	min-height: 44px;
	padding: 0 0.6em;
	border: 1px solid var(--eol-line);
	border-radius: var(--eol-radius);
	background: var(--eol-surface);
	color: var(--eol-text);
	font-size: 1em;
}
@media (max-width: 600px) {
	.eol-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* 検索の結果（S12-06。wp/mu-plugins/eol-search.php）：版番号がちょうど一致する版の枠（意味のある枠の線 --eol-line）と、行ごとの
   種類（製品のページ・記事・一覧・データのページ）。状態の札は製品ハブの表と同じ（.eol-status） */
.eol-search-versions {
	margin: 1.5em 0 0;
	padding: 0.8em 1em;
	border: 1px solid var(--eol-line);
	border-radius: var(--eol-radius-box);
	background: var(--eol-surface);
}
.eol-search-versions-title {
	margin: 0 0 0.4em;
	font-size: 1em;
}
.eol-search-versions-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.eol-search-versions-list > li {
	padding: 0.35em 0;
}
.eol-search-versions-list a {
	font-weight: 700;
}
.eol-search-versions-end,
.eol-search-versions-note {
	color: var(--eol-sub);
	font-size: 0.85em;
}
.eol-search-versions-note {
	margin: 0.4em 0 0;
}
.eol-search-kind {
	font-weight: 700;
}

/* 検索の入力欄：角を小さく、緑のボタン（S29-04。キャンバスの「検索」） */
.wp-block-search__inside-wrapper {
	gap: 0.5em;
}
.wp-block-search__input {
	padding: 0.5em 0.8em;
	border: 1px solid var(--eol-line); /* 入力欄の境界は、地と 3:1 以上（WCAG 2.1 の 1.4.11。行の区切りの色では薄すぎる） */
	border-radius: var(--eol-radius);
	background: var(--eol-surface);
	color: var(--eol-text);
	font-size: 16px;
}
/* 例の文字（placeholder）は、ブラウザの既定の色にせず、補足の文字の色（面の地と 4.5:1 以上。S29-04） */
.wp-block-search__input::placeholder {
	color: var(--eol-sub);
	opacity: 1;
}
/* 入力欄とボタンは押せる高さ（44px。ヘッダー・検索の結果・見つからないページの検索の欄。S12-02） */
.wp-block-search__input,
.wp-block-search__button {
	min-height: 44px;
}
.wp-block-search__button {
	margin: 0;
	padding: 0.5em 1.2em;
	border: 1px solid var(--eol-term-button-border);
	border-radius: var(--eol-radius);
	background: var(--eol-term-button-bg);
	color: var(--eol-term-button-text);
	font-size: 16px;
	font-weight: 700;
}
/* ヘッダー（黒い帯）の中の検索の欄：帯の面の地と明るい文字。枠は帯の地と 3:1 以上の線（--eol-term-line） */
header.wp-block-template-part .wp-block-search__input {
	background: var(--eol-term-surface);
	color: var(--eol-term-text);
	border-color: var(--eol-term-line);
}
header.wp-block-template-part .wp-block-search__input::placeholder {
	color: var(--eol-term-sub);
	opacity: 1;
}

/* 見つからないページ：案内の行き先 */
.eol-notfound-links {
	padding: 0;
	list-style: none;
}
.eol-notfound-links li {
	margin: 0;
	padding: 0.4em 0;
}
/* リンクの後ろの「→」は飾り。印は読み上げから外す（S18-02。7章の125。content の「/」の後ろの代わりの文字を空に。読めないブラウザは1つ目で同じ見た目） */
.eol-notfound-links a::after {
	content: " →";
	content: " →" / "";
}

/* ------------------------------------------------------------------ スマホ：本文 16px、題 24px、節の見出し 20px、アイキャッチは 120px まで */
@media (max-width: 600px) {
	body {
		font-size: 16px;
	}
	:root {
		--eol-gap: 1.6rem;
	}
	h1,
	h1.wp-block-post-title {
		font-size: 24px !important;
	}
	.wp-block-post-content h2.wp-block-heading,
	.eol-front-sections h2.wp-block-heading {
		font-size: 20px;
	}
	.eol-eyecatch img {
		height: 120px;
	}
	header.wp-block-template-part .wp-block-site-title {
		font-size: 18px;
	}
	/* ヘッダーの検索の欄は1行を使う（サイト名の下。メニューはその下で折り返す。S12-02） */
	.eol-header-search {
		flex-basis: 100%;
		max-width: none;
	}
	figure.wp-block-table {
		font-size: 14px;
	}
	figure.eol-timeline {
		padding: 0.6em;
	}
	/* 製品ハブの図（版が並ぶ横長の図）は、文字が読める大きさを保ち、枠の中で横にずらす（600px ちょうどの画面。600px 未満では
	   出さない。下の欄） */
	.single-eol_hub figure.eol-timeline svg {
		min-width: 600px;
	}
	.eol-entries .wp-block-post-title {
		font-size: 17px;
	}
	.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2),
	.single-post .wp-block-post-content > h2.wp-block-heading:nth-last-of-type(2) ~ * {
		padding-left: 1em;
		padding-right: 1em;
	}
}

/* 記事の期限の図は、画面の幅が 600px 未満のときは出さない。画面の幅に縮めると文字が読めないため。同じ内容（項目と日付）は、
   図のすぐ後ろの表で読める（図だけに情報を置かない決まりは今のまま。S10-04。D4）。製品ハブの図も出さない（S12-05）。
   境目は「600px 未満」（統合版）。600px ちょうどの画面は、上のスマホの決まり（max-width: 600px）は効くが、図は出す */
@media (max-width: 599.98px) {
	.single-post figure.eol-timeline {
		display: none;
	}
	/* 製品ハブの期限の図も、スマホでは出さない（S12-05。同じ値は期限の表で読める）。図の説明の文と、目次の「期限の図」も出さない */
	.single-eol_hub .eol-hub-chart,
	.single-eol_hub .eol-toc-wide {
		display: none;
	}
	/* 製品ハブと一覧ページの表は、スマホでは1行を1枚の札にする（S12-05。A-14。横にずらさずに読める）。列の見出しは、セルの
	   data-label からセルの前に出す。見出しの行は、読み上げのために残して見えなくする。1列目（版・製品・確認した日）は札の題 */
	.single-eol_hub figure.wp-block-table table,
	.single-eol_list figure.wp-block-table table {
		min-width: 0;
		border: 0;
	}
	/* 見えなくした見出しの行（position: absolute）の基準。ページの別の位置に出ないようにする */
	.single-eol_hub figure.wp-block-table,
	.single-eol_list figure.wp-block-table {
		position: relative;
	}
	.single-eol_hub figure.wp-block-table thead,
	.single-eol_list figure.wp-block-table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.single-eol_hub figure.wp-block-table table,
	.single-eol_hub figure.wp-block-table tbody,
	.single-eol_hub figure.wp-block-table tr,
	.single-eol_hub figure.wp-block-table td,
	.single-eol_list figure.wp-block-table table,
	.single-eol_list figure.wp-block-table tbody,
	.single-eol_list figure.wp-block-table tr,
	.single-eol_list figure.wp-block-table td {
		display: block;
		width: 100%;
	}
	.single-eol_hub figure.wp-block-table tr,
	.single-eol_list figure.wp-block-table tr {
		margin-bottom: 0.6em;
		padding: 0.6em 0.9em;
		border: 1px solid var(--eol-line);
		border-radius: var(--eol-radius);
	}
	/* 偶数の行の薄い地（パソコンではセルに付ける）は、札の全体に付ける */
	.single-eol_hub figure.wp-block-table tbody tr:nth-child(even),
	.single-eol_list figure.wp-block-table tbody tr:nth-child(even) {
		background: var(--eol-head);
	}
	.single-eol_hub figure.wp-block-table td,
	.single-eol_list figure.wp-block-table td {
		display: grid;
		grid-template-columns: 8.5em minmax(0, 1fr);
		gap: 0.5em;
		position: static;
		padding: 0.15em 0;
		border: 0;
		box-shadow: none;
		background: transparent;
		white-space: normal;
	}
	/* セルの地は札（tr）に付けるので、偶数の行のセルの地（上のパソコンの決まり）も消す。地だけを変える（詳細度の高いこの決まりに
	   display を書くと、下の1列目の決まりより強くなり、偶数の行の札の題が見出しの欄に押し込まれる） */
	.single-eol_hub figure.wp-block-table tbody tr:nth-child(even) td,
	.single-eol_list figure.wp-block-table tbody tr:nth-child(even) td {
		background: transparent;
	}
	.single-eol_hub figure.wp-block-table td::before,
	.single-eol_list figure.wp-block-table td::before {
		content: attr(data-label);
		color: var(--eol-sub);
		font-size: 0.85em;
	}
	.single-eol_hub figure.wp-block-table td:first-child,
	.single-eol_list figure.wp-block-table td:first-child {
		display: block;
		font-size: 1.1em;
		font-weight: 700;
	}
	.single-eol_hub figure.wp-block-table td:first-child::before,
	.single-eol_list figure.wp-block-table td:first-child::before {
		content: none;
	}
}
