/* ================================================
   newsTxt — 投稿本文リッチテキスト
   ================================================ */

.newsTxt {
	margin-bottom: 40px;
}

/* 見出し共通 */
.newsTxt h1,
.newsTxt h2,
.newsTxt h3,
.newsTxt h4 {
	font-weight: 700;
	line-height: 1.5;
	margin-top: 48px;
	margin-bottom: 16px;
	color: #512d21;
}

.newsTxt h1:first-child,
.newsTxt h2:first-child,
.newsTxt h3:first-child,
.newsTxt h4:first-child {
	margin-top: 0;
}

/* H1 */
.newsTxt h1 {
	font-size: 2.8rem;
	border-bottom: 2px solid #512d21;
	padding-bottom: 8px;
}

/* H2 */
.newsTxt h2 {
	font-size: 2.4rem;
	border-left: 4px solid #512d21;
	padding-left: 12px;
}

/* H3 */
.newsTxt h3 {
	font-size: 2rem;
	padding-left: 12px;
	border-left: 2px solid #c0a090;
}

/* H4 */
.newsTxt h4 {
	font-size: 1.8rem;
}

/* 段落 */
.newsTxt p {
	margin-bottom: 24px;
	line-height: 2;
}

/* リスト */
.newsTxt ul,
.newsTxt ol {
	margin-bottom: 24px;
	padding-left: 2em;
}

.newsTxt ul li {
	list-style-type: disc;
	margin-bottom: 8px;
}

.newsTxt ol li {
	list-style-type: decimal;
	margin-bottom: 8px;
}

/* テーブル */
.newsTxt table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 32px;
	font-size: 1.5rem;
}

.newsTxt table th,
.newsTxt table td {
	padding: 12px 16px;
	border: 1px solid #d4c0b8;
	vertical-align: top;
	line-height: 1.7;
	text-align: left;
}

.newsTxt table th {
	background: #fff7f2;
	font-weight: 700;
	white-space: nowrap;
	width: 30%;
}

/* 画像 */
.newsTxt img {
	max-width: 100%;
	height: auto;
	display: block;
	margin-bottom: 16px;
}

.newsTxt figure {
	margin-bottom: 24px;
}

.newsTxt figcaption {
	font-size: 1.3rem;
	color: #888;
	margin-top: 4px;
}

/* ページネーション（アーカイブ） */
.pagination {
	margin-top: 40px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid #d4c0b8;
	border-radius: 4px;
	color: #512d21;
	text-decoration: none;
	font-size: 1.4rem;
	transition: background 0.2s, color 0.2s;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: #512d21;
	color: #fff;
	border-color: #512d21;
}

.pagination .page-numbers.dots {
	border: none;
	background: transparent;
}

@media screen and (max-width: 834px) {
	.newsTxt h1 { font-size: 2.2rem; }
	.newsTxt h2 { font-size: 2rem; }
	.newsTxt h3 { font-size: 1.8rem; }
	.newsTxt h4 { font-size: 1.6rem; }

	.newsTxt table th {
		white-space: normal;
		width: auto;
	}

	.newsTxt table th,
	.newsTxt table td {
		display: block;
		width: 100%;
	}

	.newsTxt table th {
		border-bottom: none;
		background: #fff7f2;
	}
}
