/*
 * コラム記事(投稿タイプ column)の読みやすいデザイン(Nagome Fixes 1.2.0、2026-10-26)
 * note の運用で決めた読みやすさの方針(結論を先に・1段落を短く・強弱・要点は色で見せる)をサイトの記事にも当てる。
 * 本文のHTMLはそのまま(p / h2 / h3 / ul / ol / table)で、見た目はこのファイルと column.js だけで決める。
 * すべて body.single-column .post_content の中に閉じている(取材記事・固定ページには効かない)。
 */
body.single-column .post_content {
	--ngc-ink: #2b1d14;
	--ngc-text: #333;
	--ngc-red: #b3261e;
	--ngc-cream: #fffcf4;
	--ngc-beige: #f6efe2;
	--ngc-line: #e6dccb;
	--ngc-mark: #ffe58a;
	font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, "Meiryo", sans-serif;
	color: var(--ngc-text);
	font-size: 16px;
	line-height: 1.95;
	letter-spacing: .02em;
}
body.single-column .post_content p {
	margin: 0 0 1.5em;
	font-size: 16px;
	line-height: 1.95;
}
body.single-column .post_content a {
	color: #9a4a12;
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: bold;
}
/* 強調: 太字+黄色のマーカー(サムネと同じ色) */
body.single-column .post_content strong {
	font-weight: bold;
	color: var(--ngc-ink);
	background: linear-gradient(transparent 62%, var(--ngc-mark) 62%);
}

/* 冒頭の結論(本文の最初の段落) */
body.single-column .post_content .ngc-lead {
	position: relative;
	margin: 8px 0 28px;
	padding: 34px 24px 20px;
	background: var(--ngc-cream);
	border: 2px solid var(--ngc-red);
	border-radius: 12px;
}
body.single-column .post_content .ngc-lead::before {
	content: "この記事の結論";
	position: absolute;
	top: -14px;
	left: 18px;
	background: var(--ngc-red);
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 1;
	padding: 7px 14px;
	border-radius: 999px;
	letter-spacing: .06em;
}
body.single-column .post_content .ngc-lead p:last-child { margin-bottom: 0; }
body.single-column .post_content .ngc-lead > p:first-child strong {
	display: block;
	font-size: 18px;
	line-height: 1.75;
	margin-bottom: 10px;
	background: none;
	color: var(--ngc-red);
}

/* 目次(column.js が h2 から作る) */
body.single-column .post_content .ngc-toc {
	margin: 0 0 40px;
	padding: 18px 22px 14px;
	background: var(--ngc-beige);
	border-radius: 12px;
}
body.single-column .post_content .ngc-toc-title {
	font-weight: bold;
	color: var(--ngc-ink);
	font-size: 15px;
	margin: 0 0 8px;
	letter-spacing: .08em;
}
body.single-column .post_content .ngc-toc ol {
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: ngc-toc;
}
body.single-column .post_content .ngc-toc li {
	counter-increment: ngc-toc;
	position: relative;
	padding: 7px 0 7px 34px;
	border-top: 1px dashed var(--ngc-line);
	font-size: 15px;
	line-height: 1.6;
	margin: 0;
}
body.single-column .post_content .ngc-toc li:first-child { border-top: 0; }
body.single-column .post_content .ngc-toc li::before {
	content: counter(ngc-toc);
	position: absolute;
	left: 0;
	top: 8px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--ngc-red);
	color: #fff;
	font-size: 13px;
	font-weight: bold;
	line-height: 24px;
	text-align: center;
}
body.single-column .post_content .ngc-toc a {
	color: var(--ngc-ink);
	text-decoration: none;
	font-weight: bold;
}

/* 見出し */
body.single-column .post_content h2 {
	position: relative;
	margin: 64px 0 24px;
	padding: 16px 18px 16px 22px;
	background: var(--ngc-ink);
	color: #fff;
	font-size: 21px;
	line-height: 1.5;
	font-weight: bold;
	border-radius: 8px;
	border: 0;
	scroll-margin-top: 90px;
}
body.single-column .post_content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 12px;
	bottom: 12px;
	width: 6px;
	background: var(--ngc-mark);
	border-radius: 0 4px 4px 0;
}
body.single-column .post_content h3 {
	margin: 40px 0 16px;
	padding: 0 0 10px 18px;
	position: relative;
	font-size: 18px;
	line-height: 1.6;
	font-weight: bold;
	color: var(--ngc-ink);
	border-bottom: 2px solid var(--ngc-line);
	background: none;
}
body.single-column .post_content h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: .45em;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ngc-red);
}
/* 見出しの直後の1文(結論)を目立たせる: column.js が .ngc-point を付ける */
body.single-column .post_content p.ngc-point {
	padding: 14px 18px;
	background: var(--ngc-cream);
	border-left: 4px solid var(--ngc-red);
	border-radius: 0 8px 8px 0;
}

/* 箇条書き */
body.single-column .post_content ul,
body.single-column .post_content ol:not(.ngc-toc-list) {
	margin: 0 0 1.8em;
	padding: 16px 20px;
	background: #fff;
	border: 1px solid var(--ngc-line);
	border-radius: 10px;
	list-style: none;
}
body.single-column .post_content ul > li,
body.single-column .post_content ol:not(.ngc-toc-list) > li {
	position: relative;
	margin: 0;
	padding: 10px 0 10px 30px;
	border-top: 1px dashed var(--ngc-line);
	line-height: 1.85;
	font-size: 16px;
}
body.single-column .post_content ul > li:first-child,
body.single-column .post_content ol:not(.ngc-toc-list) > li:first-child { border-top: 0; }
body.single-column .post_content ul > li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 1.15em;
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--ngc-red);
}
body.single-column .post_content ol:not(.ngc-toc-list) { counter-reset: ngc-ol; }
body.single-column .post_content ol:not(.ngc-toc-list) > li { counter-increment: ngc-ol; padding-left: 38px; }
body.single-column .post_content ol:not(.ngc-toc-list) > li::before {
	content: counter(ngc-ol);
	position: absolute;
	left: 0;
	top: 12px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--ngc-ink);
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	line-height: 26px;
	text-align: center;
}
/* 箇条書きの先頭の太字はラベルとして1行目に */
body.single-column .post_content li > strong:first-child {
	background: none;
	color: var(--ngc-red);
}

/* 表(PC) */
body.single-column .post_content .ngc-table-wrap {
	margin: 0 0 1.6em;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border-radius: 10px;
	border: 1px solid var(--ngc-line);
}
body.single-column .post_content table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	font-size: 14.5px;
	line-height: 1.7;
	background: #fff;
}
body.single-column .post_content table th {
	background: var(--ngc-ink);
	color: #fff;
	font-weight: bold;
	padding: 10px 12px;
	text-align: left;
	border: 0;
	white-space: nowrap;
}
body.single-column .post_content table td {
	padding: 12px;
	border: 0;
	border-top: 1px solid var(--ngc-line);
	vertical-align: top;
	line-height: 1.65;
}
body.single-column .post_content table tbody tr:nth-child(even) td { background: #fdf9f1; }
body.single-column .post_content table td:first-child { font-weight: bold; color: var(--ngc-ink); min-width: 7em; }
body.single-column .post_content table td strong { background: none; }

/* よくある質問: column.js が .ngc-faq を付ける */
body.single-column .post_content .ngc-faq h3 {
	border: 0;
	padding: 14px 16px 14px 56px;
	margin: 18px 0 0;
	background: var(--ngc-beige);
	border-radius: 10px 10px 0 0;
	font-size: 17px;
}
body.single-column .post_content .ngc-faq h3::before {
	content: "Q";
	top: 12px;
	left: 14px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	color: #fff;
	font-weight: bold;
	font-size: 16px;
	background: var(--ngc-red);
}
body.single-column .post_content .ngc-faq h3 + p {
	position: relative;
	margin: 0 0 8px;
	padding: 14px 16px 16px 56px;
	border: 2px solid var(--ngc-beige);
	border-top: 0;
	border-radius: 0 0 10px 10px;
}
body.single-column .post_content .ngc-faq h3 + p::before {
	content: "A";
	position: absolute;
	left: 14px;
	top: 14px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	text-align: center;
	border-radius: 50%;
	border: 2px solid var(--ngc-ink);
	color: var(--ngc-ink);
	font-weight: bold;
	font-size: 15px;
	box-sizing: border-box;
}

/* 出典・運営者(記事末) */
body.single-column .post_content p.ngc-meta {
	font-size: 13px;
	line-height: 1.8;
	color: #666;
	padding: 14px 16px;
	background: #f7f5f1;
	border-radius: 8px;
	margin-top: 40px;
}
body.single-column .post_content p.ngc-meta + p.ngc-meta { margin-top: -28px; border-top: 1px dashed #ddd; border-radius: 0 0 8px 8px; }
body.single-column .post_content p.ngc-meta a { font-weight: normal; word-break: break-all; }
body.single-column .post_content p.ngc-meta strong { background: none; }

/* 取材写真(column.js 7.) */
body.single-column .post_content .ngc-fig {
	margin: 4px auto 28px;
	max-width: 340px;
	text-align: center;
}
body.single-column .post_content .ngc-fig img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(43, 29, 20, .12);
}
body.single-column .post_content .ngc-fig figcaption {
	margin-top: 8px;
	font-size: 13px;
	line-height: 1.6;
	color: #777;
}
body.single-column .post_content .ngc-row-img {
	display: block;
	width: 128px;
	margin: 0 0 8px;
}
body.single-column .post_content .ngc-row-img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 336 / 216;
	object-fit: cover;
	border-radius: 6px;
}
body.single-column .post_content .ngc-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 6px 0 30px;
}
body.single-column .post_content .ngc-gallery-2 { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
body.single-column .post_content .ngc-gallery-1 { grid-template-columns: 1fr; max-width: 600px; }
body.single-column .post_content .ngc-gallery a {
	display: block;
	text-decoration: none;
	color: var(--ngc-ink);
}
body.single-column .post_content .ngc-gallery img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 336 / 216;
	object-fit: cover;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(43, 29, 20, .1);
}
body.single-column .post_content .ngc-gallery-1 img { aspect-ratio: auto; max-width: 340px; margin: 0 auto; }
body.single-column .post_content .ngc-gallery-1 span { text-align: center; }
body.single-column .post_content .ngc-gallery-col.ngc-gallery-1 img { aspect-ratio: 1200 / 772; max-width: 100%; }
body.single-column .post_content .ngc-gallery-title {
	grid-column: 1 / -1;
	margin: 0 0 -2px;
	font-size: 14px;
	font-weight: bold;
	color: var(--ngc-red);
	letter-spacing: .06em;
}
body.single-column .post_content .ngc-gallery-col img { aspect-ratio: 1200 / 772; }
body.single-column .post_content .ngc-gallery span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	line-height: 1.5;
	font-weight: bold;
}

/* スマホ */
@media (max-width: 767px) {
	body.single-column .post_content .ngc-gallery-3 { grid-template-columns: repeat(2, 1fr); }
	body.single-column .post_content .ngc-gallery-3 a:first-child { grid-column: 1 / -1; }
	body.single-column .post_content .ngc-gallery-3 a:first-child img { aspect-ratio: 16 / 9; }
	body.single-column .post_content table tr.ngc-has-img { padding-top: 14px; }
	body.single-column .post_content table td .ngc-row-img { width: 100%; margin: 0 0 6px; }
	body.single-column .post_content table td .ngc-row-img img { aspect-ratio: 16 / 9; border-radius: 8px; }
	body.single-column .post_content,
	body.single-column .post_content p,
	body.single-column .post_content ul > li,
	body.single-column .post_content ol:not(.ngc-toc-list) > li { font-size: 16px; line-height: 1.9; }
	body.single-column .post_content .ngc-lead { padding: 30px 16px 16px; }
	body.single-column .post_content .ngc-lead > p:first-child strong { font-size: 17px; }
	body.single-column .post_content h2 { font-size: 19px; margin-top: 52px; padding: 14px 14px 14px 18px; }
	body.single-column .post_content h3 { font-size: 17px; }
	body.single-column .post_content ul,
	body.single-column .post_content ol:not(.ngc-toc-list) { padding: 8px 14px; }

	/* 表は縦のカードにする(列見出しは column.js が data-label に入れる) */
	body.single-column .post_content .ngc-table-wrap { border: 0; overflow: visible; }
	body.single-column .post_content table,
	body.single-column .post_content table tbody,
	body.single-column .post_content table tr,
	body.single-column .post_content table td { display: block; width: 100%; box-sizing: border-box; }
	body.single-column .post_content table { background: none; }
	body.single-column .post_content table thead { display: none; }
	body.single-column .post_content table tr {
		margin: 0 0 14px;
		padding: 4px 16px 10px;
		border: 1px solid var(--ngc-line);
		border-radius: 12px;
		background: #fff;
	}
	body.single-column .post_content table tbody tr:nth-child(even) td { background: none; }
	body.single-column .post_content table td {
		border: 0;
		padding: 6px 0;
		font-size: 15px;
		line-height: 1.75;
	}
	body.single-column .post_content table td[data-label]::before {
		content: attr(data-label);
		display: block;
		font-size: 12px;
		font-weight: bold;
		color: var(--ngc-red);
		letter-spacing: .04em;
	}
	body.single-column .post_content table td:first-child {
		font-size: 17px;
		padding: 10px 0;
		border-bottom: 2px solid var(--ngc-beige);
		margin-bottom: 4px;
	}
	body.single-column .post_content table td:first-child::before { display: none; }
}
