.trc-latest-articles,
.trc-latest-articles *,
.trc-articles-page,
.trc-articles-page * {
	box-sizing: border-box;
}

.trc-latest-articles {
	width: 100%;
	margin: 0 auto;
	padding: 24px 0 8px;
}

.trc-latest-articles__header,
.trc-articles-page__header {
	margin-bottom: 28px;
	text-align: center;
}

.trc-latest-articles__eyebrow {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.4;
	color: #6b7280;
}

.trc-latest-articles__title,
.trc-articles-page__title {
	margin: 0;
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.02em;
	color: #111827;
}

.trc-articles-page__lead {
	max-width: 760px;
	margin: 14px auto 0;
	color: #64748b;
	font-size: 15px;
	line-height: 1.9;
}

.trc-latest-articles__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	align-items: stretch;
}

.trc-latest-articles__card {
	display: flex;
	min-width: 0;
	min-height: 100%;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.trc-latest-articles__card:hover {
	transform: translateY(-3px);
	border-color: #cbd5e1;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.1);
}

.trc-latest-articles__card-body {
	flex: 1;
	padding: 28px 28px 20px;
}

.trc-latest-articles__category {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin-bottom: 18px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f3f4f6;
	color: #374151;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.trc-latest-articles__category:hover {
	background: #e5e7eb;
	color: #111827;
}

.trc-latest-articles__card-title {
	margin: 0 0 18px;
	font-size: 21px;
	font-weight: 800;
	line-height: 1.55;
	letter-spacing: 0.01em;
}

.trc-latest-articles__card-title a {
	color: #111827;
	text-decoration: none;
}

.trc-latest-articles__card-title a:hover {
	color: #1d4ed8;
}

.trc-latest-articles__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: #64748b;
	font-size: 14px;
	line-height: 1.85;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.trc-latest-articles__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 28px 20px;
	border-top: 1px solid #f0f1f3;
	color: #94a3b8;
	font-size: 12px;
	line-height: 1.5;
}

.trc-latest-articles__read {
	color: #1d4ed8;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.trc-latest-articles__read:hover {
	text-decoration: underline;
}

.trc-latest-articles__more {
	margin-top: 40px;
	text-align: center;
}

.trc-latest-articles__more-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 290px;
	min-height: 68px;
	padding: 16px 30px;
	border: 1px solid #111827;
	border-radius: 999px;
	background: #111827;
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.trc-latest-articles__more-link:hover {
	transform: translateY(-2px);
	background: #fff;
	color: #111827;
}

/* 記事一覧ページ */
.trc-articles-archive-page .entry-header {
	display: none !important;
}

.trc-articles-archive-page .entry-content {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.trc-articles-page {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	width: calc(100vw - 48px);
	max-width: 1672px;
	margin: 54px 0 80px;
}

.trc-articles-page__header {
	margin-bottom: 40px;
	padding: 42px 48px;
	background: #fff;
	border: 1px solid #e5eaf2;
	border-radius: 24px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.trc-articles-page__empty {
	padding: 36px;
	text-align: center;
	background: #fff;
	border: 1px solid #e5eaf2;
	border-radius: 18px;
}

.trc-articles-pagination {
	margin-top: 48px;
}

.trc-articles-pagination ul {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.trc-articles-pagination a,
.trc-articles-pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	height: 46px;
	padding: 0 15px;
	border: 1px solid #dbe4f0;
	border-radius: 999px;
	background: #fff;
	color: #2563eb;
	font-weight: 700;
	text-decoration: none;
}

.trc-articles-pagination .current {
	border-color: #2563eb;
	background: #2563eb;
	color: #fff;
}

@media (max-width: 1100px) {
	.trc-latest-articles__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.trc-articles-page {
		width: calc(100vw - 40px);
	}

	.trc-articles-page__header {
		padding: 34px 28px;
	}
}

@media (max-width: 640px) {
	.trc-latest-articles__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.trc-latest-articles__card-body {
		padding: 22px 20px 16px;
	}

	.trc-latest-articles__meta {
		padding: 16px 20px 18px;
	}

	.trc-latest-articles__more-link {
		min-width: 220px;
		min-height: 54px;
		font-size: 15px;
	}

	.trc-articles-page {
		width: calc(100vw - 32px);
		margin-top: 36px;
		margin-bottom: 60px;
	}

	.trc-articles-page__header {
		margin-bottom: 24px;
		padding: 28px 22px;
	}

	.trc-articles-page__lead {
		font-size: 14px;
	}
}
