@charset "UTF-8";
/*
 * postlist.css : 記事一覧 /all/（home.php）専用。このページでしか読み込まない。
 *
 *   小さなサムネを添えた目録。PCは2列、SPは1列。
 *   箱を持たせない（枠・地色・角丸・影なし）。区切りは行の下の細い罫1本だけで、
 *   これは項目の境目を示す構造線。題は明朝、カテゴリーと日付は小さなゴシック。
 *   すべて .tn-plist-page 配下にスコープし、content.css の .page-title / .pagination には触れない。
 */

/* --- 見出し --- */
.tn-plist-page .tn-plist-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 22px;
	margin: 0 0 18px;
}
.tn-plist-page .tn-plist-head__ttl {
	margin: 0;
	font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: clamp(1.5rem, 1.2rem + 1.1vw, 1.95rem);
	font-weight: 700;
	color: #1a1a1a;
	letter-spacing: 0.1em;
	line-height: 1.3;
}
.tn-plist-page .tn-plist-head__count {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.8rem;
	color: #7a7168;
	letter-spacing: 0.04em;
	font-feature-settings: "palt" 1, "tnum" 1;
}

/* --- カテゴリーへの入口（上下の罫は「見出しまわり」と「一覧」の境目） --- */
.tn-plist-page .tn-plist-cats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	padding: 14px 0;
	border-top: 1px solid #e7e2da;
	border-bottom: 1px solid #e7e2da;
}
.tn-plist-page .tn-plist-cats__label {
	margin: 0;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.76rem;
	font-weight: 700;
	color: #7a7168;
	letter-spacing: 0.1em;
}
.tn-plist-page .tn-plist-cats__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tn-plist-page .tn-plist-cats__item { margin: 0; }
.tn-plist-page .tn-plist-cats__link {
	display: block;
	padding: 6px 14px;
	background: #fff;
	border: 1px solid #d8d0c2;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	color: #3a332d;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.tn-plist-page .tn-plist-cats__link:hover {
	color: #b8242b;
	border-color: #b8242b;
}

/* --- 目録 --- */
.tn-plist-page .tn-plist {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}
.tn-plist-page .tn-plist__item {
	margin: 0;
	min-width: 0;
	border-bottom: 1px solid #e7e2da;
}
.tn-plist-page .tn-plist__link {
	display: grid;
	grid-template-columns: clamp(112px, 14vw, 160px) minmax(0, 1fr);
	align-items: start;
	gap: 18px;
	padding: 16px 0;
	color: inherit;
	text-decoration: none;
}
.tn-plist-page .tn-plist__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #efe9e1;
}
.tn-plist-page .tn-plist__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.tn-plist-page .tn-plist__link:hover .tn-plist__thumb img { transform: scale(1.04); }
.tn-plist-page .tn-plist__noimg {
	display: block;
	width: 100%;
	height: 100%;
}
.tn-plist-page .tn-plist__body {
	display: block;
	min-width: 0;
}
.tn-plist-page .tn-plist__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 12px;
	font-family: "Noto Sans JP", sans-serif;
	line-height: 1.4;
}
.tn-plist-page .tn-plist__cat {
	font-size: 0.68rem;
	font-weight: 700;
	color: #8a2b20;
	letter-spacing: 0.1em;
}
.tn-plist-page .tn-plist__date {
	font-size: 0.7rem;
	color: #9a8f7c;
	letter-spacing: 0.04em;
	font-feature-settings: "tnum" 1;
}
.tn-plist-page .tn-plist__title {
	margin: 6px 0 0;
	font-family: "Shippori Mincho", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
	font-size: 0.98rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1.6;
	letter-spacing: 0.01em;
	transition: color 0.2s ease;
}
.tn-plist-page .tn-plist__link:hover .tn-plist__title { color: #b8242b; }

/* --- ページ送り（形は content.css のまま。数字の幅だけそろえる） --- */
.tn-plist-page .pagination { margin-top: 30px; }
.tn-plist-page .pagination .page-numbers { font-feature-settings: "tnum" 1; }

@media screen and (min-width: 769px) {
	.tn-plist-page .tn-plist {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 44px;
	}
}

@media screen and (max-width: 768px) {
	.tn-plist-page .tn-plist-head { margin-bottom: 14px; }
	.tn-plist-page .tn-plist-cats { padding: 12px 0; }
	.tn-plist-page .tn-plist-cats__label { flex: 0 0 100%; }
	.tn-plist-page .tn-plist-cats__link { padding: 7px 12px; }
	.tn-plist-page .tn-plist__link {
		gap: 14px;
		padding: 14px 0;
	}
	.tn-plist-page .tn-plist__title {
		margin-top: 5px;
		font-size: 0.92rem;
		line-height: 1.55;
	}
}
