/* News / Works: 一覧・詳細ページ用スタイル */

.archive_section,
.single_section {
	max-width: 1024px;
	margin: 0 auto;
	padding: 80px 2% 120px;
}

/* NEWS */
.news_list {
	list-style: none;
	max-width: 800px;
	margin: 60px auto 0;
}

.news_item {
	border-bottom: 1px solid #E1E3E5;
}

.news_link {
	display: flex;
	align-items: center;
	gap: 32px;
	padding: 24px 8px;
	color: #333;
	transition: opacity 0.3s ease;
}

.news_link:hover {
	opacity: 0.6;
}

.news_date {
	font-family: "ff-din-paneuropean", "noto sans jp", sans-serif;
	font-size: 1.6rem;
	color: var(--submain-color);
	white-space: nowrap;
}

.news_title {
	font-size: 1.8rem;
	font-weight: 500;
}

/* WORKS */
.works_list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-top: 60px;
}

.works_link {
	display: block;
	color: #333;
	transition: opacity 0.3s ease;
}

.works_link:hover {
	opacity: 0.7;
}

.works_thumb {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background-color: var(--sub-color);
}

.works_thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.works_title {
	display: block;
	margin-top: 16px;
	font-size: 1.8rem;
	font-weight: 500;
}

/* SINGLE */
.single_date {
	text-align: center;
	color: var(--submain-color);
	font-size: 1.6rem;
	margin-bottom: 40px;
}

.single_thumb {
	margin: 40px 0;
}

.single_body {
	font-size: 1.6rem;
	line-height: 1.9;
	max-width: 800px;
	margin: 0 auto;
}

.archive_pagination {
	margin-top: 60px;
	text-align: center;
}

.archive_pagination .page-numbers {
	display: inline-block;
	margin: 0 8px;
	color: #333;
	font-size: 1.6rem;
}

.archive_pagination .page-numbers.current {
	font-weight: 700;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.works_list {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}

	.news_link {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

@media (max-width: 480px) {
	.works_list {
		grid-template-columns: 1fr;
	}
}
