/*
Theme Name: なぜトピ
Theme URI: https://nazetopi.com/
Author: トピバコ編集部
Author URI: https://topibako.com/
Description: ニュースを、やさしく解きほぐす。前提から順に、表・時系列・比較図でほどくニュース解説サイト「なぜトピ」のテーマ。記事は最終更新日の新しい順に並び、続報で更新された記事には「続報あり」バッジが付く。
Version: 1.4.17
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nazetopi
*/

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@700;900&display=swap');

/* ============================================================
 * 変数と土台
 * v1.1.0: 試作（スペース版）のデザイン言語に寄せた配色・部品
 * - 基調は紙色 #fbfbf8 ＋ 墨 #191c1f ＋ 罫 #ddd9cd
 * - 緑 #00913f がリンク・公式発表などのアクセント
 * - オレンジ #e46a16 はロゴと「続報」専用に残す
 * ============================================================ */
:root {
	--bg: #fbfbf8;
	--surface: #ffffff;
	--surface-2: #f1f0ea;
	--ink: #191c1f;
	--ink-2: #4c5257;
	--faint: #7d838a;
	--line: #ddd9cd;
	--line-strong: #191c1f;
	--accent: #e46a16;
	--accent-dark: #b95a0b;
	--accent-soft: #fdf0e3;
	--green: #00913f;
	--green-ink: #00702f;
	--green-soft: #e3f3e8;
	--blue: #274b9f;
	--blue-soft: #e6ebf8;
	--warn: #b3261e;
	--warn-soft: #fbeae8;
	--amber: #8a6100;
	--amber-soft: #faf0d7;
	--radius: 14px;
	--font-disp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
	font-size: 17px;
	line-height: 1.85;
	word-break: break-word;
	overflow-wrap: anywhere;
}

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

a {
	color: var(--green-ink);
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.nt-wrap {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 18px;
}

/* ============================================================
 * ヘッダー
 * ============================================================ */
.nt-header {
	background: var(--surface);
	border-bottom: 3px solid var(--line-strong);
}

.nt-header-inner {
	max-width: 780px;
	margin: 0 auto;
	padding: 16px 18px 14px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.nt-brand {
	display: flex;
	align-items: center;
	gap: 11px;
	color: var(--ink);
}

.nt-brand:hover {
	text-decoration: none;
}

.nt-logo-mark {
	flex: none;
	display: block;
}

.nt-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
}

.nt-brand-name {
	font-family: var(--font-disp);
	font-size: 27px;
	font-weight: 900;
	letter-spacing: 0.02em;
}

.nt-brand-name .nt-brand-accent {
	color: var(--accent);
}

.nt-brand-domain {
	font-size: 11.5px;
	color: var(--faint);
	letter-spacing: 0.06em;
}

.nt-header-tagline {
	margin-left: auto;
	font-size: 13.5px;
	color: var(--ink-2);
	font-weight: 700;
	text-align: right;
}

/* ============================================================
 * ヒーロー（トップ）
 * ============================================================ */
.nt-dateline {
	border-bottom: 1px solid var(--line);
	background: var(--surface-2);
	font-size: 13.5px;
	color: var(--ink-2);
}

.nt-dateline-inner {
	max-width: 780px;
	margin: 0 auto;
	padding: 9px 18px;
}

.nt-dateline strong {
	color: var(--ink);
	font-weight: 700;
}

.nt-hero {
	padding: 40px 0 8px;
	text-align: left;
}

.nt-hero-kicker {
	color: var(--accent-dark);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.08em;
	margin: 0 0 10px;
}

.nt-hero-title {
	font-family: var(--font-disp);
	font-size: 40px;
	line-height: 1.35;
	font-weight: 900;
	margin: 0 0 18px;
	letter-spacing: 0.01em;
}

.nt-hero-title .nt-hl {
	background: linear-gradient(transparent 62%, #fbe7d3 62%);
}

.nt-hero-lead {
	font-size: 17.5px;
	color: var(--ink-2);
	margin: 0 0 22px;
}

.nt-hero-box {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px 22px;
}

.nt-hero-box p {
	margin: 0 0 14px;
}

.nt-button {
	display: inline-block;
	border: 1.5px solid #a9d8b6;
	background: var(--green-soft);
	color: var(--green-ink);
	font-weight: 700;
	border-radius: 999px;
	padding: 9px 22px;
	font-size: 15.5px;
}

.nt-button:hover {
	text-decoration: none;
	background: #d5edda;
}

/* ============================================================
 * ジャンルバー
 * ============================================================ */
/* バー形式（トピバコ本家の cat-nav と同じ考え方）：
   帯の中にテキストリンクを横並び、ジャンル色のドット付き。
   現在のジャンルは下線（3px）で示す。上部にスティッキー。 */
.nt-genrebar {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}

.nt-genrebar-inner {
	display: flex;
	gap: 2px;
	max-width: 780px;
	margin: 0 auto;
	padding: 0 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

.nt-genrebar-inner::-webkit-scrollbar {
	display: none;
}

.nt-genrebar a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: var(--ink-2);
	white-space: nowrap;
	border-bottom: 3px solid transparent;
}

.nt-genrebar a:hover {
	text-decoration: none;
	color: var(--ink);
}

.nt-genrebar a.is-active {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

.nt-genre-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	margin-right: 7px;
	flex: none;
}

.nt-genrebar .nt-count {
	color: var(--faint);
	font-size: 12px;
	font-weight: 700;
	margin-left: 5px;
}

/* ============================================================
 * セクション見出し
 * ============================================================ */
.nt-section {
	padding: 34px 0 6px;
}

.nt-section-title {
	font-family: var(--font-disp);
	font-size: 27px;
	font-weight: 900;
	margin: 0 0 6px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--line-strong);
}

.nt-section-title .nt-section-sub {
	font-size: 14px;
	font-weight: 600;
	color: var(--ink-2);
	margin-left: 10px;
}

.nt-section-note {
	font-size: 14.5px;
	color: var(--ink-2);
	margin: 10px 0 18px;
}

.nt-section-note strong {
	color: var(--ink);
}

/* ============================================================
 * 記事カード
 * ============================================================ */
.nt-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 18px 20px;
	margin: 0 0 26px;
}

.nt-card.is-updated {
	border: 2px solid #d95f0e;
}

.nt-card-thumb {
	display: block;
	border-radius: 10px;
	overflow: hidden;
	margin: 0 0 14px;
}

.nt-card-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
}

.nt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 9px;
}

.nt-chip {
	display: inline-block;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	padding: 3px 12px;
	line-height: 1.5;
}

.nt-chip-genre {
	background: var(--surface-2);
	color: var(--ink);
}

.nt-chip-event {
	background: var(--warn-soft);
	color: var(--warn);
}

.nt-chip-followup {
	background: var(--accent);
	color: #fff;
}

.nt-chip-now {
	background: var(--amber-soft);
	color: var(--amber);
}

.nt-keywords {
	font-size: 13.5px;
	color: var(--faint);
	margin: 0 0 4px;
}

.nt-updated-line {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--accent-dark);
	margin: 0 0 4px;
}

.nt-card-title {
	font-family: var(--font-disp);
	font-size: 25px;
	line-height: 1.45;
	font-weight: 900;
	margin: 4px 0 10px;
}

.nt-card-title a {
	color: var(--ink);
}

.nt-card-title a:hover {
	color: var(--green-ink);
	text-decoration: none;
}

.nt-card-summary {
	font-size: 15.5px;
	color: var(--ink-2);
	margin: 0;
}

.nt-card-point {
	border-top: 1px dashed var(--line);
	margin-top: 14px;
	padding-top: 12px;
	font-size: 15px;
}

.nt-card-point .nt-point-label {
	font-weight: 800;
	margin-right: 6px;
	white-space: nowrap;
}

.nt-point-conclusion .nt-point-label {
	color: var(--blue);
}

.nt-point-followup .nt-point-label {
	color: var(--accent-dark);
}

/* ============================================================
 * 読み方（3ステップ）
 * ============================================================ */
.nt-steps {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.nt-step {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
}

.nt-step-num {
	font-family: var(--font-disp);
	font-size: 30px;
	font-weight: 900;
	color: var(--green-ink);
	line-height: 1;
	margin: 0 0 6px;
}

.nt-step h3 {
	font-family: var(--font-disp);
	font-size: 18.5px;
	font-weight: 900;
	margin: 0 0 6px;
}

.nt-step p {
	margin: 0;
	font-size: 15px;
	color: var(--ink-2);
}

/* ============================================================
 * 続報を追っている言葉
 * ============================================================ */
.nt-watch-list {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.nt-watch {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 18px 20px;
}

.nt-watch h3 {
	font-family: var(--font-disp);
	font-size: 19px;
	font-weight: 900;
	margin: 0 0 8px;
}

.nt-watch-body {
	font-size: 15px;
	color: var(--ink-2);
}

.nt-watch-body p {
	margin: 0 0 8px;
}

.nt-watch-status {
	display: inline-block;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	padding: 3px 13px;
	margin-top: 4px;
}

.nt-watch-status-orange { background: var(--accent); color: #fff; }
.nt-watch-status-green  { background: var(--green-soft); color: var(--green-ink); }
.nt-watch-status-blue   { background: var(--blue-soft); color: var(--blue); }
.nt-watch-status-gray   { background: var(--surface-2); color: var(--ink-2); }

.nt-watch-arrow {
	color: var(--faint);
	font-weight: 700;
	margin-left: 8px;
}

/* ============================================================
 * 記事ページ
 * ============================================================ */
.nt-backlink {
	display: inline-block;
	font-size: 14.5px;
	font-weight: 700;
	color: var(--ink-2);
	margin: 22px 0 14px;
}

.nt-single-dates {
	font-size: 13.5px;
	color: var(--faint);
	margin: 0 0 14px;
}

.nt-single-dates .nt-modified {
	color: var(--accent-dark);
	font-weight: 700;
}

.nt-single-title {
	font-family: var(--font-disp);
	font-size: 31px;
	line-height: 1.45;
	font-weight: 900;
	margin: 6px 0 12px;
}

/* タイトルの「──」以降（副題）を小さく見せる */
.nt-title-sub {
	font-size: 0.7em;
	font-weight: 700;
	color: var(--ink-2);
}

.nt-single-thumb {
	margin: 0 0 8px;
}

.nt-single-thumb img {
	display: block;
	width: 100%;
	border-radius: 10px;
}

.nt-thumb-caption {
	font-size: 13px;
	color: var(--faint);
	margin: 6px 0 18px;
}

.nt-entry {
	font-size: 17.5px;
	line-height: 1.95;
}

.nt-entry p {
	margin: 0 0 1.15em;
}

.nt-entry h2 {
	font-family: var(--font-disp);
	font-size: 23px;
	line-height: 1.5;
	font-weight: 900;
	border-bottom: 2px solid var(--line-strong);
	padding-bottom: 8px;
	margin: 1.7em 0 0.9em;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	column-gap: 12px;
}

.nt-entry h3 {
	font-family: var(--font-disp);
	font-size: 19.5px;
	font-weight: 900;
	border-bottom: 2px solid var(--line);
	padding-bottom: 6px;
	margin: 1.5em 0 0.8em;
}

.nt-entry ul,
.nt-entry ol {
	margin: 0 0 1.15em;
	padding-left: 1.4em;
}

.nt-entry li {
	margin-bottom: 0.35em;
}

.nt-entry strong {
	font-weight: 800;
}

.nt-entry a {
	text-decoration: underline;
}

.nt-entry img {
	border-radius: 10px;
}

.nt-entry figure {
	margin: 0 0 1.15em;
}

.nt-entry figcaption {
	font-size: 13px;
	color: var(--faint);
	margin-top: 6px;
}

/* --- 30秒結論 --- */
.nt-conclusion {
	border: 2px solid var(--line-strong);
	background: var(--surface);
	border-radius: var(--radius);
	padding: 20px 22px 10px;
	margin: 0 0 1.4em;
}

.nt-conclusion-title {
	display: block;
	background: none;
	color: var(--blue);
	font-family: var(--font-disp);
	font-size: 15px;
	font-weight: 900;
	border-radius: 0;
	padding: 0;
	margin: 0 0 10px !important;
	letter-spacing: 0.06em;
}

.nt-conclusion p {
	margin-bottom: 0.8em;
}

/* --- 時系列 ---
   節目の種類で丸の色が変わる（試作の見せ方）:
   li.turn = 転機（赤） / li.official = 公式発表（緑）
   li.now = いま（黄） / li.future = これから（破線・薄く） */
.nt-timeline {
	position: relative;
	list-style: none;
	margin: 0 0 1.4em 8px !important;
	padding: 0 0 0 30px !important;
	border-left: none;
}

.nt-timeline::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--line);
}

.nt-timeline li {
	position: relative;
	margin: 0;
	padding: 0 0 26px;
}

.nt-timeline li::before {
	content: "";
	position: absolute;
	left: -29px;
	top: 9px;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--surface);
	border: 3px solid var(--faint);
}

.nt-timeline li.turn::before {
	border-color: var(--warn);
	background: var(--warn-soft);
}

.nt-timeline li.official::before {
	border-color: var(--green);
}

.nt-timeline li.now::before {
	border-color: var(--amber);
	background: var(--amber-soft);
}

.nt-timeline li.future {
	opacity: 0.78;
}

.nt-timeline li.future::before {
	border-style: dashed;
}

.nt-timeline .nt-date {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
	font-weight: 700;
	color: var(--faint);
	font-size: 13px;
	margin-bottom: 3px;
}

.nt-timeline li p {
	margin: 0;
	font-size: 15.5px;
	color: var(--ink-2);
}

.nt-timeline li p strong {
	color: var(--ink);
}

/* 時系列の日付横に付ける小さなタグ */
.nt-tag {
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.06em;
	padding: 2px 8px;
	border-radius: 5px;
	background: var(--surface-2);
	color: var(--ink-2);
}

.nt-tag.turn { background: var(--warn-soft); color: var(--warn); }
.nt-tag.official { background: var(--green-soft); color: var(--green-ink); }
.nt-tag.now { background: var(--amber-soft); color: var(--amber); }

/* --- 割合バー ---
   使い方: <div class="nt-bar" style="--w:44%">…</div>
   または内側に <span class="nt-bar-fill" style="width:44%"></span> を置く */
.nt-bars {
	margin: 0 0 1.4em;
	display: grid;
	gap: 14px;
}

.nt-bar {
	position: relative;
	padding-bottom: 21px;
	font-size: 14px;
	line-height: 1.5;
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 0 10px;
}

.nt-bar::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 16px;
	border-radius: 6px;
	background: var(--surface-2);
}

.nt-bar::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 16px;
	width: var(--w, 0%);
	max-width: 100%;
	border-radius: 6px;
	background: var(--blue);
}

.nt-bar.is-gray::after {
	background: var(--faint);
}

.nt-bars.is-society .nt-bar::after { background: #44576b; }
.nt-bars.is-sports .nt-bar::after { background: #2f5d23; }
.nt-bars.is-entertainment .nt-bar::after { background: #6d2b7a; }
.nt-bars.is-technology .nt-bar::after { background: #175d73; }
.nt-bars.is-life .nt-bar::after { background: var(--green); }

.nt-bar .nt-bar-fill {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 16px;
	border-radius: 6px;
	background: var(--blue);
	z-index: 1;
}

.nt-bar-label {
	font-weight: 700;
}

.nt-bar-value {
	color: var(--ink);
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

/* --- 比較表 --- */
.nt-compare {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 1.4em;
	font-size: 15px;
	line-height: 1.6;
	display: block;
	overflow-x: auto;
}

.nt-compare caption {
	caption-side: top;
	text-align: left;
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 16.5px;
	padding: 0 0 8px;
}

.nt-compare th,
.nt-compare td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.nt-compare th {
	background: var(--surface-2);
	font-weight: 800;
	white-space: nowrap;
}

.nt-compare td.diff {
	background: var(--amber-soft);
}

/* 記事本文の表は、クラスなしでも試作の表として描く */
.nt-entry table:not(.nt-info) {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	margin: 14px 0 1.4em;
	display: block;
	overflow-x: auto;
}

.nt-entry table:not(.nt-info) th,
.nt-entry table:not(.nt-info) td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.nt-entry table:not(.nt-info) th {
	background: var(--surface-2);
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 13.5px;
}

@media (max-width: 640px) {

	.nt-entry table:not(.nt-info) th,
	.nt-entry table:not(.nt-info) td {
		padding: 8px 9px;
		font-size: 13px;
	}
}

/* --- 3つの数字（大きな数字の並び） ---
   使い方: <div class="nt-stats"><div class="nt-stat">
   <p class="nt-stat-num">14<small>本塁打</small></p><p>説明</p></div>… */
.nt-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 6px 0 1.4em;
}

.nt-stat {
	border-top: 2px solid var(--line-strong);
	padding-top: 10px;
}

.nt-stats .nt-stat-num {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 40px;
	color: var(--ink);
	line-height: 1.2;
	font-variant-numeric: tabular-nums;
	margin: 0 !important;
}

.nt-stats .nt-stat-num small {
	font-size: 18px;
	font-weight: 700;
	margin-left: 4px;
}

.nt-stat p {
	font-size: 13.5px;
	color: var(--ink-2);
	margin: 4px 0 0 !important;
}

/* --- 誤解をほどく（×カード） ---
   使い方: <div class="nt-fact"><span class="nt-mark">×</span>
   <div><p class="nt-fact-wrong">誤解</p><p class="nt-fact-right">実際</p></div></div> */
.nt-fact {
	display: flex;
	gap: 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
	margin: 0 0 12px;
}

.nt-fact .nt-mark {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 17px;
	background: var(--warn-soft);
	color: var(--warn);
}

.nt-fact-wrong {
	font-weight: 700;
	font-size: 15.5px;
	margin: 0 0 3px !important;
}

.nt-fact-right {
	font-size: 14.5px;
	color: var(--ink-2);
	margin: 0 !important;
}

.nt-fact-right strong {
	color: var(--green-ink);
}

/* --- いまここ（黒いボックス） --- */
.nt-now {
	background: var(--ink);
	color: var(--bg);
	border-radius: var(--radius);
	padding: 20px 22px 10px;
	margin: 0 0 1.4em;
}

.nt-now .nt-now-label {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 13px;
	letter-spacing: 0.1em;
	opacity: 0.75;
	margin: 0 0 8px !important;
}

.nt-now p {
	margin-bottom: 0.8em;
}

/* --- 続報ボックス --- */
.nt-followup {
	border: 2px solid #d95f0e;
	background: var(--surface);
	border-radius: var(--radius);
	overflow: hidden;
	padding: 0 0 8px;
	margin: 0 0 1.4em;
}

.nt-followup-title {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	background: var(--accent-soft);
	color: var(--ink);
	font-family: var(--font-disp);
	font-size: 18px;
	font-weight: 900;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
	padding: 16px 22px;
	margin: 0 0 12px !important;
}

.nt-followup-badge {
	background: #e46a16;
	color: #fff;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
	font-weight: 900;
	font-size: 13px;
	padding: 4px 12px;
	border-radius: 999px;
	letter-spacing: .08em;
	white-space: nowrap;
}

.nt-followup p {
	padding-left: 22px;
	padding-right: 22px;
	margin-bottom: 0.8em;
}

.nt-followup p.nt-followup-title {
	padding: 16px 22px;
}

.nt-followup .nt-bars {
	padding-left: 22px;
	padding-right: 22px;
}

/* 続報ボックス内の図解部品も、本文と同じ左右余白にそろえる（v1.4.11） */
.nt-followup .nt-vote,
.nt-followup .nt-waffle,
.nt-followup .nt-people,
.nt-followup .nt-stairs,
.nt-followup .nt-cal,
.nt-followup .nt-circles,
.nt-followup .nt-route,
.nt-followup .nt-ba {
	margin-left: 22px;
	margin-right: 22px;
}

/* --- 出典 --- */
.nt-sources {
	background: transparent;
	border-top: 1px solid var(--line);
	border-radius: 0;
	padding: 14px 2px 0;
	margin: 2em 0 1.4em;
	font-size: 13.5px;
	line-height: 1.7;
	color: var(--ink-2);
}

.nt-sources-title {
	font-weight: 800;
	font-size: 14.5px;
	margin: 0 0 6px !important;
	color: var(--ink);
}

.nt-sources p {
	margin-bottom: 0.7em;
}

.nt-sources a {
	word-break: break-all;
}

/* 出典リスト（試作 .sources と同じ形）：
   媒体名・タイトルを1行目に、URLを2行目に。ドットのマーカー付き。
   リンク色は記事のジャンル色（body のカテゴリクラスで切替）。 */
.nt-sources-list {
	list-style: none;
	margin: 0 0 1.6em;
	padding: 0;
	display: grid;
	gap: 7px;
	font-size: 13px;
	line-height: 1.65;
	color: var(--ink-2);
}

.nt-sources-list li {
	padding-left: 14px;
	position: relative;
}

.nt-sources-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--faint);
}

.nt-sources-list a {
	color: var(--blue);
	text-decoration: underline;
	text-underline-offset: 3px;
	word-break: break-all;
}

body.category-society .nt-sources-list a {
	color: #44576b;
}

body.category-sports .nt-sources-list a {
	color: #2f5d23;
}

body.category-entertainment .nt-sources-list a {
	color: #6d2b7a;
}

body.category-technology .nt-sources-list a {
	color: #175d73;
}

body.category-life .nt-sources-list a {
	color: var(--green-ink);
}

/* --- 注記 --- */
.nt-note {
	background: var(--amber-soft);
	border-left: 4px solid var(--amber);
	border-radius: 0 10px 10px 0;
	padding: 12px 16px;
	font-size: 14.5px;
	margin: 0 0 1.4em;
}

.nt-note p {
	margin: 0 0 0.5em;
}

.nt-note p:last-child {
	margin-bottom: 0;
}

/* --- 記事フッター --- */
.nt-single-nav {
	display: grid;
	gap: 12px;
	margin: 30px 0 10px;
}

.nt-nav-box {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 20px;
	color: var(--ink);
}

.nt-nav-box:hover {
	text-decoration: none;
	border-color: var(--line-strong);
}

.nt-nav-box .nt-nav-label {
	display: block;
	font-size: 13px;
	font-weight: 700;
	color: var(--faint);
	margin-bottom: 4px;
}

.nt-nav-box .nt-nav-title {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 17px;
}

/* ============================================================
 * 誤解をほどく（試作 .facts / .fact / .mark の値をそのまま移植）
 * ============================================================ */
.nt-myths {
	display: grid;
	gap: 12px;
	margin: 0 0 1.4em;
}

.nt-myth {
	display: flex;
	gap: 14px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 16px 18px;
}

.nt-myth-mark {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 17px;
	background: #fbeae8;
	color: var(--warn);
}

.nt-myth-wrong {
	font-weight: 700;
	font-size: 15px;
	margin: 0 !important;
}

.nt-myth-wrong s {
	text-decoration-thickness: 2px;
	text-decoration-color: rgba(179, 38, 30, .6);
}

.nt-myth-right {
	font-size: 14px;
	color: var(--ink-2);
	margin: 3px 0 0 !important;
}

.nt-myths.is-business .nt-myth-right b { color: var(--blue); }
.nt-myths.is-society .nt-myth-right b { color: #44576b; }
.nt-myths.is-sports .nt-myth-right b { color: #2f5d23; }
.nt-myths.is-entertainment .nt-myth-right b { color: #6d2b7a; }
.nt-myths.is-technology .nt-myth-right b { color: #175d73; }
.nt-myths.is-life .nt-myth-right b { color: var(--green-ink); }

/* ============================================================
 * 前提カード内の見出し・リード、対比ボックス、日付ライン、
 * 局面ボタン、いまここ（黒ボックス）、続報バナー
 * （試作 .module h3 / .vs-* / .a-dateline / .phases / .nowbox /
 *   .followup-banner の値をそのまま移植）
 * ============================================================ */
.nt-panel > h3 {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 18px;
	margin: 0 0 6px !important;
}

.nt-panel-lead {
	font-size: 14.5px;
	color: var(--ink-2);
	margin-top: 8px;
}

.nt-panel-lead b,
.nt-panel-lead strong {
	color: var(--ink);
}

.nt-vs-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 14px;
}

.nt-vs-box {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 16px;
}

.nt-vs-lab {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	color: var(--faint);
	margin: 0 0 8px !important;
}

.nt-vs-box ul {
	display: grid;
	gap: 7px;
	font-size: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nt-vs-box li {
	padding-left: 16px;
	position: relative;
}

.nt-vs-box li::before {
	content: "・";
	position: absolute;
	left: 0;
	color: var(--faint);
}

.nt-trio-box h4 {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 15px;
	margin: 0 0 8px;
}

.nt-trio-box ul {
	display: grid;
	gap: 8px;
	font-size: 13.5px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nt-trio-box li {
	padding-left: 14px;
	position: relative;
}

.nt-trio-box li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	opacity: .55;
}

.nt-dateline {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin: 16px 0 4px;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink-2);
}

.nt-dateline b {
	color: var(--ink);
}

.nt-phases {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 16px 0 1.4em;
}

.nt-phase-btn {
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink);
	border-radius: 999px;
	padding: 10px 16px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.nt-phase-btn:hover {
	border-color: var(--line-strong);
}

.nt-phase-n {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 12px;
	background: var(--surface-2);
	border-radius: 50%;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
}

.nt-nowbox {
	border-radius: 14px;
	padding: 20px 22px;
	margin: 8px 0 1.4em;
	background: var(--ink);
	color: var(--bg);
}

.nt-now-lab {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 13px;
	letter-spacing: .1em;
	opacity: .75;
	margin: 0 0 8px !important;
}

.nt-nowbox p {
	font-size: 15.5px;
}

.nt-now-next {
	margin-top: 12px;
	border-top: 1px solid rgba(140, 140, 140, .4);
	padding-top: 12px;
	display: grid;
	gap: 6px;
	font-size: 14px;
}

.nt-followup-banner {
	margin: 16px 0 1.4em;
	border: 2px solid #d95f0e;
	border-radius: 14px;
	background: #fdf0e3;
	padding: 16px 20px;
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	align-items: center;
}

.nt-followup-banner p {
	font-size: 14.5px;
	flex: 1;
	min-width: 220px;
	margin: 0 !important;
}

.nt-followup-banner .nt-followup-badge {
	margin-right: 0;
	vertical-align: baseline;
}

.nt-entry table caption {
	text-align: left;
	font-weight: 700;
	font-size: 14.5px;
	padding-bottom: 8px;
	caption-side: top;
}

.nt-entry tr.diff td,
.nt-entry tr.diff th {
	background: #faf0d7;
}

.nt-timeline li {
	scroll-margin-top: 24px;
}

.nt-timeline li.nt-flash {
	background: #fdf0e3;
	border-radius: 10px;
}

@media (max-width: 640px) {

	.nt-vs-grid {
		grid-template-columns: 1fr;
	}
}

/* ============================================================
 * 固定ページ
 * ============================================================ */
.nt-page-title {
	font-family: var(--font-disp);
	font-size: 29px;
	font-weight: 900;
	margin: 26px 0 16px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--line-strong);
}

/* ============================================================
 * ページネーション
 * ============================================================ */
.nt-pagination {
	margin: 26px 0 8px;
	text-align: center;
}

.nt-pagination .page-numbers {
	display: inline-block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 9px;
	padding: 6px 14px;
	margin: 0 3px;
	font-weight: 700;
	color: var(--ink);
}

.nt-pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

/* ============================================================
 * フッター
 * ============================================================ */
.nt-footer {
	border-top: 2px solid var(--line-strong);
	margin-top: 48px;
	padding: 26px 0 40px;
}

.nt-footer-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

a.nt-footer-brand {
	color: inherit;
}

a.nt-footer-brand:hover {
	text-decoration: none;
	opacity: .75;
}

.nt-footer-name {
	font-family: var(--font-disp);
	font-size: 21px;
	font-weight: 900;
}

.nt-footer-name .nt-brand-accent {
	color: var(--accent);
}

.nt-footer-tagline {
	font-size: 14px;
	color: var(--ink-2);
}

.nt-footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 20px;
	list-style: none;
	margin: 18px 0;
	padding: 0;
}

.nt-footer-nav a {
	color: var(--ink);
	font-weight: 700;
	font-size: 15px;
}

.nt-footer-note {
	font-size: 13px;
	color: var(--faint);
	margin: 0;
}


/* --- 見出しの小さな補足 --- */
.nt-entry h2 .nt-sub {
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: var(--ink-2);
	letter-spacing: 0;
}

/* --- 時系列の絞り込みボタン（JSが差し込む） --- */
.nt-tl-filters {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0 0 18px;
}

.nt-tl-filters button {
	font: inherit;
	font-size: 13.5px;
	font-weight: 700;
	padding: 6px 16px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--ink-2);
	cursor: pointer;
}

.nt-tl-filters button.is-active {
	background: var(--blue);
	border-color: var(--blue);
	color: #fff;
}

/* --- 言葉のメモ（用語カード） --- */
.nt-glossary {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 1.4em;
}

.nt-gloss {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
}

.nt-gloss-term {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 15.5px;
	margin: 0 0 5px !important;
}

.nt-gloss p {
	font-size: 13.5px;
	color: var(--ink-2);
	margin: 0 !important;
}


/* --- 図解パネル（枠で囲う） --- */
.nt-panel {
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 22px;
	margin: 0 0 1.4em;
}

.nt-panel-title {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 18px;
	line-height: 1.5;
	margin: 0 0 6px !important;
}

.nt-panel .nt-bars {
	margin-bottom: 0.6em;
}

.nt-panel-note {
	font-size: 12.5px;
	color: var(--faint);
}

/* --- 事実／見方／分からないこと の3区分 --- */
.nt-trio {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
}

.nt-trio-box {
	border-radius: 10px;
	padding: 16px;
	border: 1px solid transparent;
}

.nt-trio-box.is-fact { background: var(--surface-2); }
.nt-trio-box.is-view { background: var(--green-soft); }
.nt-trio-box.is-unknown { background: #fbeae8; }

.nt-trio-title {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 16px;
	margin: 0 0 8px !important;
}

.nt-trio-box ul {
	margin: 0 0 0.6em;
}


/* --- パネル内の小さなラベル --- */
.nt-panel-lab {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--faint);
	letter-spacing: 0.06em;
	margin: 0 0 12px !important;
}

/* --- 固定ページ（コンセプト／運営者情報など） --- */
.nt-doc-meta {
	display: flex;
	gap: 4px 16px;
	flex-wrap: wrap;
	padding: 10px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink-2);
	margin: 14px 0 6px;
}

.nt-doc-meta b { color: var(--ink); }

.nt-doc h2 {
	font-size: 18px;
	border-bottom: 2px solid var(--line-strong);
	padding-bottom: 7px;
}

.nt-doc h2 .doc-num {
	color: var(--green-ink);
	margin-right: 8px;
}

.nt-doc table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14.5px;
	margin: 0 0 1.4em;
}

.nt-doc th,
.nt-doc td {
	border: 1px solid var(--line);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.nt-doc table.nt-info th {
	background: var(--surface-2);
	font-family: var(--font-disp);
	font-weight: 900;
	width: 34%;
	white-space: nowrap;
}

.nt-points {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 14px;
	margin: 0 0 1.4em;
}

.nt-point {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px 18px;
}

.nt-point-tag {
	font-size: 12px;
	font-weight: 800;
	color: var(--green-ink);
	letter-spacing: 0.08em;
	margin: 0 0 6px !important;
}

.nt-point-title {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 16px;
	margin: 0 0 6px !important;
}

.nt-point p {
	font-size: 13.5px;
	color: var(--ink-2);
	margin: 0 !important;
}

.nt-def {
	display: flex;
	gap: 14px;
	padding: 10px 0;
	border-bottom: 1px solid var(--line);
}

.nt-def-term {
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 15px;
	min-width: 110px;
	margin: 0 !important;
}

.nt-def p {
	margin: 0 !important;
}

/* ============================================================
 * スマホ調整
 * - カードは1画面に「画像＋タイトル＋30秒結論の行」まで見える高さに
 * ============================================================ */
@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	.nt-header-tagline {
		display: none;
	}

	.nt-hero {
		padding-top: 28px;
	}

	.nt-hero-title {
		font-size: 31px;
	}

	.nt-card {
		padding: 14px 14px 16px;
	}

	.nt-card-thumb img {
		aspect-ratio: 16 / 7;
	}

	.nt-card-title {
		font-size: 21.5px;
	}

	.nt-single-title {
		font-size: 25px;
	}

	.nt-entry {
		font-size: 16.5px;
	}

	.nt-entry h2 {
		font-size: 20px;
	}

	.nt-section-title {
		font-size: 23px;
	}

	.nt-stats {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.nt-glossary {
		grid-template-columns: 1fr;
	}

	.nt-points {
		grid-template-columns: 1fr;
	}

	.nt-trio {
		grid-template-columns: 1fr;
	}

	.nt-def {
		flex-direction: column;
		gap: 2px;
	}
}

/* ============================================================
 * 2カラムレイアウト＋サイドバー（v1.4.0）
 * 狭い画面では1カラム（サイドバーは本文の下）、
 * 1024px以上では本文＋右サイドバーの2カラム。
 * ============================================================ */
.nt-layout {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 18px;
}

.nt-layout .nt-wrap {
	max-width: none;
	margin: 0;
	padding: 0;
}

.nt-main {
	min-width: 0;
}

.nt-wide {
	max-width: 780px;
	margin: 0 auto;
	padding: 0 18px;
}

.nt-sidebar {
	margin-top: 44px;
	display: grid;
	gap: 30px;
	align-content: start;
}

.nt-side-title {
	font-family: var(--font-disp);
	font-size: 16px;
	font-weight: 900;
	border-bottom: 2px solid var(--line-strong);
	padding-bottom: 6px;
	margin-bottom: 14px;
}

.search-form {
	display: flex;
	gap: 8px;
}

.search-form label {
	flex: 1;
	min-width: 0;
}

.search-field {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	background: var(--surface);
	color: var(--ink);
}

.search-submit {
	background: var(--ink);
	color: var(--bg);
	border: 0;
	border-radius: 8px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	white-space: nowrap;
}

.nt-side-watch-list {
	display: grid;
	gap: 10px;
}

.nt-side-watch {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px 14px;
	background: var(--surface);
}

.nt-side-watch-title {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 6px;
}

.nt-side-watch-link {
	font-size: 13px;
	display: inline-block;
	margin-top: 6px;
}

.nt-side-recent {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.nt-side-recent-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--ink);
}

.nt-side-recent-thumb img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.nt-side-recent-text {
	min-width: 0;
}

.nt-side-recent-title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
}

.nt-side-recent-date {
	display: block;
	font-size: 12px;
	color: var(--faint);
	margin-top: 2px;
}

@media (min-width: 1024px) {
	.nt-header-inner {
		max-width: 1120px;
	}

	.nt-genrebar {
		max-width: 1120px;
	}

	.nt-dateline-inner {
		max-width: 1120px;
	}

	.nt-wide {
		max-width: 1120px;
	}

	.nt-hero-lead {
		max-width: 840px;
		margin-left: auto;
		margin-right: auto;
	}

	.nt-layout {
		max-width: 1120px;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 44px;
		align-items: start;
	}

	.nt-sidebar {
		margin-top: 0;
		position: sticky;
		top: 24px;
	}

	.nt-footer .nt-wrap {
		max-width: 1120px;
	}
}

/* 人気記事ランキング（v1.4.1） */
.nt-rank-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.nt-rank-item {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	color: var(--ink);
}

.nt-rank-num {
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--surface-2);
	color: var(--ink);
	font-family: var(--font-disp);
	font-weight: 900;
	font-size: 13px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 2px;
}

.nt-rank-item.is-top .nt-rank-num {
	background: #e46a16;
	color: #fff;
}

.nt-rank-thumb img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

/* サムネイルの受け側がタイトルに押されて縮まないようにする（v1.4.12） */
.nt-rank-thumb,
.nt-side-recent-thumb {
	flex: 0 0 auto;
}

.nt-rank-title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	line-height: 1.5;
	min-width: 0;
}

/* 細いヒーロー（v1.4.2） */
.nt-hero {
	padding: 24px 0 2px;
}

.nt-hero-title {
	font-size: 27px;
	margin: 0 0 8px;
}

.nt-hero-line {
	font-size: 14.5px;
	color: var(--ink-2);
	margin: 0;
}

.nt-hero-line a {
	color: var(--accent-dark);
	font-weight: 700;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.nt-hero {
		padding-top: 18px;
	}

	.nt-hero-title {
		font-size: 23px;
	}
}

/* 本家トピバコへのバナー（v1.4.4） */
.nt-side-banner {
	display: block;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	padding: 16px 18px;
	color: var(--ink);
}

.nt-side-banner:hover {
	border-color: var(--accent);
	text-decoration: none;
}

.nt-side-banner-lab {
	display: block;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.08em;
	color: var(--faint);
	margin-bottom: 8px;
}

.nt-side-banner-logo {
	display: block;
	width: 100%;
	max-width: 240px;
	height: auto;
	margin-bottom: 10px;
}

.nt-side-banner-text {
	display: block;
	font-size: 13px;
	color: var(--ink-2);
	line-height: 1.6;
}

/* 人気記事ランキングの期間切り替え */
.nt-rank-toggle{display:flex;gap:6px;margin:0 0 12px}
.nt-rank-tab{border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:999px;padding:5px 14px;font-size:12.5px;font-weight:700;cursor:pointer;min-height:32px}
.nt-rank-tab.is-active{background:var(--ink);border-color:var(--ink);color:var(--bg)}
.nt-rank-list[hidden]{display:none}

/* SNS共有ボタン（v1.4.8） */
.nt-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:18px 0}
.nt-share-label{font-size:12px;font-weight:900;letter-spacing:.08em;color:var(--faint);margin-right:2px}
.nt-share-btn{display:inline-flex;align-items:center;min-height:36px;padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--ink);font-size:13px;font-weight:700;line-height:1;text-decoration:none;cursor:pointer;font-family:inherit}
.nt-share-btn:hover{text-decoration:none}
.nt-share-btn.is-x:hover{border-color:#000;color:#000}
.nt-share-btn.is-threads:hover{border-color:#000;color:#000}
.nt-share-btn.is-facebook:hover{border-color:#1877f2;color:#1877f2}
.nt-share-btn.is-hatena:hover{border-color:#00a4de;color:#00a4de}
.nt-share-btn.is-line:hover{border-color:#06c755;color:#06c755}
.nt-share-btn.is-copy:hover{border-color:var(--accent);color:var(--accent-dark)}
.nt-share-btn.is-copy.is-done{background:var(--green-soft);border-color:transparent;color:var(--green-ink)}

/* ============================================================
 * 図解バリエーション（v1.4.10で追加）
 * 図解カタログSpaceの型を、記事本文で使える部品として追加した。
 * 既存部品のルールには一切触れていない（追加のみ）。
 * いずれも .nt-panel の中身として置く想定。
 * 色が付く部品は .nt-bars と同じ付け方：色の指定クラスは
 * コンテナ側に .is-<genre> を付け、既定は青（ビジネス）。
 * ジャンル色は society #44576b / sports #2f5d23 /
 * entertainment #6d2b7a / technology #175d73 / life 緑。
 * ============================================================ */

/* --- 100マスの図（ワッフル） ---
   使い方: <div class="nt-waffle is-sports"><i></i>…（全部で100個）</div>
   色を付けるマスには class="is-on" を付ける。
   割合の数値は必ず文字でも併記する（.nt-panel-note 等） */
.nt-waffle {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 4px;
	max-width: 300px;
	margin: 4px 0 10px;
}

.nt-waffle i {
	aspect-ratio: 1;
	border-radius: 3px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	display: block;
}

.nt-waffle i.is-on { background: var(--blue); border-color: var(--blue); }
.nt-waffle.is-society i.is-on { background: #44576b; border-color: #44576b; }
.nt-waffle.is-sports i.is-on { background: #2f5d23; border-color: #2f5d23; }
.nt-waffle.is-entertainment i.is-on { background: #6d2b7a; border-color: #6d2b7a; }
.nt-waffle.is-technology i.is-on { background: #175d73; border-color: #175d73; }
.nt-waffle.is-life i.is-on { background: var(--green); border-color: var(--green); }

/* --- 人を並べる（アイコン図） ---
   使い方: <div class="nt-people is-society"><span class="nt-person is-on"></span>…</div>
   色を付ける人には class="is-on" を付ける。
   「○人に1人」に直せる場合だけ使う */
.nt-people {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 6px;
	margin: 12px 0 12px;
}

.nt-person {
	width: 24px;
	height: 30px;
	border-radius: 12px 12px 6px 6px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	position: relative;
	flex: none;
}

.nt-person::before {
	content: "";
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--surface-2);
	border: 1px solid var(--line);
}

.nt-person.is-on { background: var(--blue); border-color: var(--blue); }
.nt-person.is-on::before { background: var(--blue); border-color: var(--blue); }
.nt-people.is-society .nt-person.is-on { background: #44576b; border-color: #44576b; }
.nt-people.is-society .nt-person.is-on::before { background: #44576b; border-color: #44576b; }
.nt-people.is-sports .nt-person.is-on { background: #2f5d23; border-color: #2f5d23; }
.nt-people.is-sports .nt-person.is-on::before { background: #2f5d23; border-color: #2f5d23; }
.nt-people.is-entertainment .nt-person.is-on { background: #6d2b7a; border-color: #6d2b7a; }
.nt-people.is-entertainment .nt-person.is-on::before { background: #6d2b7a; border-color: #6d2b7a; }
.nt-people.is-technology .nt-person.is-on { background: #175d73; border-color: #175d73; }
.nt-people.is-technology .nt-person.is-on::before { background: #175d73; border-color: #175d73; }
.nt-people.is-life .nt-person.is-on { background: var(--green); border-color: var(--green); }
.nt-people.is-life .nt-person.is-on::before { background: var(--green); border-color: var(--green); }

/* --- 階段図 ---
   使い方: <div class="nt-stairs"><div class="nt-stair" style="--h:38%">第1</div>…</div>
   段の高さは --h（％）で指定する。主役の段には class="is-key"。
   段の中には番号だけを大きく置き、金額と混同させない */
.nt-stairs {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 120px;
	margin: 6px 0 10px;
	border-bottom: 2px solid var(--line-strong);
}

.nt-stair {
	flex: 1;
	height: var(--h, 50%);
	border: 1px solid var(--line);
	border-bottom: none;
	border-radius: 6px 6px 0 0;
	background: var(--surface-2);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 6px;
	font-weight: 900;
	font-size: 12px;
	color: var(--ink-2);
	min-width: 0;
}

.nt-stair.is-key { background: var(--blue); border-color: var(--blue); color: #fff; }
.nt-stairs.is-society .nt-stair.is-key { background: #44576b; border-color: #44576b; }
.nt-stairs.is-sports .nt-stair.is-key { background: #2f5d23; border-color: #2f5d23; }
.nt-stairs.is-entertainment .nt-stair.is-key { background: #6d2b7a; border-color: #6d2b7a; }
.nt-stairs.is-technology .nt-stair.is-key { background: #175d73; border-color: #175d73; }
.nt-stairs.is-life .nt-stair.is-key { background: var(--green); border-color: var(--green); }

/* --- カレンダー配置 ---
   使い方: <div class="nt-cal"><b>月</b><b>火</b>…<span>24</span><span class="is-dead">25</span>…</div>
   終了日は .is-dead（赤）、停止期間は .is-stop（黒）、
   前後の月など薄く見せる日は .is-dim。
   曜日は実カレンダーと必ず一致させること */
.nt-cal {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 5px;
	text-align: center;
	font-size: 12.5px;
	margin: 4px 0 10px;
}

.nt-cal b {
	font-size: 11px;
	color: var(--faint);
	padding: 4px 0;
}

.nt-cal span {
	padding: 7px 2px;
	border-radius: 7px;
	background: var(--surface);
	border: 1px solid var(--line);
	font-weight: 700;
}

.nt-cal span.is-dead { background: var(--warn); color: #fff; border-color: var(--warn); }
.nt-cal span.is-stop { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.nt-cal span.is-dim { opacity: .35; }

/* --- 面積の丸 ---
   使い方: <div class="nt-circles"><div class="nt-circle"><i style="width:104px;height:104px"></i>全体<b>12,200 GB</b></div>…</div>
   大きさは style の width/height で指定し、直径ではなく面積で比を作る。
   主役の丸には class="is-key"。正確な数字は必ず文字で併記する */
.nt-circles {
	display: flex;
	align-items: flex-end;
	gap: 26px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 6px 0 10px;
}

.nt-circle {
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ink-2);
	line-height: 1.5;
}

.nt-circle i {
	display: block;
	border-radius: 50%;
	margin: 0 auto 6px;
	border: 2px solid var(--line-strong);
	background: var(--blue-soft);
}

.nt-circle.is-key i { background: var(--warn); border-color: var(--warn); }

.nt-circle b {
	display: block;
	color: var(--ink);
	font-size: 14px;
}

/* --- 動線の模式図 ---
   使い方: <div class="nt-route"><div class="nt-route-node"><i>横浜</i><span>出発点</span></div><div class="nt-route-arrow"></div>…</div>
   距離・方角は表さない（模式図）。終点など主役の丸には class="is-key" */
.nt-route {
	display: flex;
	align-items: flex-start;
	margin: 6px 0 12px;
}

.nt-route-node {
	text-align: center;
	flex: 0 0 auto;
}

.nt-route-node i {
	width: 46px;
	height: 46px;
	border-radius: 50%;
	border: 2px solid var(--line-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 900;
	font-style: normal;
	font-size: 12.5px;
	line-height: 1.25;
	margin: 0 auto 4px;
	background: var(--surface);
	padding: 2px;
}

.nt-route-node.is-key i { background: var(--warn); border-color: var(--warn); color: #fff; }

.nt-route-node span {
	font-size: 11px;
	font-weight: 700;
	color: var(--ink-2);
	line-height: 1.3;
	display: block;
	max-width: 76px;
}

.nt-route-arrow {
	flex: 1;
	height: 3px;
	background: var(--line-strong);
	position: relative;
	margin: 22px 6px 0;
	min-width: 18px;
}

.nt-route-arrow::after {
	content: "";
	position: absolute;
	right: -1px;
	top: -5px;
	border-left: 9px solid var(--line-strong);
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}

/* --- 「あと何票」ゲージ ---
   使い方: <div class="nt-vote"><div class="nt-vote-seg" style="width:49.2%">賛成 120</div><div class="nt-vote-seg is-against" style="width:50.8%">反対 124</div></div>
   続けて <p class="nt-vote-mid">総数244票・過半数は123票。賛成は<span class="nt-vote-rest">あと3票</span>で届く</p>
   「あと何票」の数え方（移動か上乗せか）は、言葉で固定してから図にする */
.nt-vote {
	height: 34px;
	border: 2px solid var(--line-strong);
	border-radius: 8px;
	display: flex;
	overflow: hidden;
	font-weight: 900;
	font-size: 13px;
	color: #fff;
	margin: 4px 0 8px;
}

.nt-vote-seg {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--blue);
	white-space: nowrap;
	overflow: hidden;
}

.nt-vote-seg.is-against { background: var(--warn); }

.nt-vote-mid {
	text-align: center;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--ink-2);
	margin: 0 0 10px !important;
}

.nt-vote-rest {
	font-size: 17px;
	font-weight: 900;
	color: var(--ink);
	margin: 0 2px;
}

/* --- Before / After 対比 ---
   使い方: <div class="nt-ba"><div class="nt-ba-box"><span class="nt-ba-lab">変更前</span><b>13段階</b><span class="nt-ba-note">刻みが粗い</span></div><div class="nt-ba-arrow">→</div><div class="nt-ba-box is-after">…</div></div>
   対比は1記事1つまで */
.nt-ba {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 10px;
	align-items: stretch;
	margin: 4px 0 10px;
}

.nt-ba-box {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 12px;
	text-align: center;
	background: var(--surface);
}

.nt-ba-box.is-after { background: var(--amber-soft); }

.nt-ba-box b {
	font-family: var(--font-disp);
	font-size: 21px;
	font-weight: 900;
	display: block;
	line-height: 1.35;
	margin: 2px 0;
}

.nt-ba-lab,
.nt-ba-note {
	font-size: 12px;
	color: var(--ink-2);
	font-weight: 700;
	display: block;
}

.nt-ba-arrow {
	align-self: center;
	font-weight: 900;
	font-size: 20px;
	color: var(--ink);
}

@media (max-width: 640px) {
	.nt-waffle { max-width: 260px; }
	.nt-stairs { height: 100px; }
	.nt-route-node i { width: 40px; height: 40px; font-size: 11.5px; }
	.nt-route-arrow { margin-top: 19px; }
	.nt-vote { font-size: 12px; }
	.nt-ba-box b { font-size: 18px; }
}
