/* お知らせ一覧・個別（下層ページ共通ルールに合わせる） */

.news-archive .news__list {
	border-top: 1px solid rgb(82 46 145 / 18%);
}

.news-archive .news__link {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 24px;
	align-items: baseline;
	padding: 22px 0;
	border-bottom: 1px solid rgb(82 46 145 / 18%);
	transition: color 0.25s ease;
}

.news-archive .news__date {
	color: var(--color-primary);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.news-archive .news__title {
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.7;
}

.news-archive .news__link:hover .news__title,
.news-archive .news__link:focus-visible .news__title {
	color: var(--color-primary);
}

.news-empty {
	color: var(--color-text-muted);
}

.navigation.pagination {
	margin-top: 48px;
}

.navigation.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	align-items: center;
	justify-content: center;
}

.navigation.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border: 1px solid rgb(82 46 145 / 16%);
	background: #fff;
	color: var(--color-text);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-decoration: none;
}

.navigation.pagination .page-numbers.current,
.navigation.pagination a.page-numbers:hover,
.navigation.pagination a.page-numbers:focus-visible {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

.navigation.pagination .page-numbers.current {
	background: rgb(82 46 145 / 8%);
}

.navigation.pagination .prev,
.navigation.pagination .next {
	min-width: auto;
}

.entry__inner {
	max-width: 800px;
}

.entry__date {
	margin-bottom: 12px;
	color: var(--color-primary);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.entry__title {
	margin: 0 0 36px;
	color: var(--color-text);
	font-size: clamp(22px, 2.6vw, 28px);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.06em;
}

.entry__body {
	color: var(--color-text);
	font-size: 15px;
	line-height: 2;
	letter-spacing: 0.04em;
}

.entry__body > *:first-child {
	margin-top: 0;
}

.entry__body p {
	margin: 0 0 1.4em;
}

.entry__body p:last-child {
	margin-bottom: 0;
}

.entry__figure {
	margin: 0 0 28px;
}

.entry__body img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 1.4em 0;
}

.entry__back {
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid rgb(82 46 145 / 18%);
}

.entry__back a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--color-primary);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	transition: opacity 0.25s ease;
}

.entry__back a::before {
	content: "";
	display: block;
	box-sizing: border-box;
	width: 24px;
	height: 8px;
	background-color: currentColor;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 10' fill='none'%3E%3Cpath stroke='white' stroke-width='1' stroke-linecap='square' d='M32 8H0M0 8L8 2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 10' fill='none'%3E%3Cpath stroke='white' stroke-width='1' stroke-linecap='square' d='M32 8H0M0 8L8 2'/%3E%3C/svg%3E");
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	transform: translateX(0);
	transition: transform 0.3s ease;
}

.entry__back a:hover,
.entry__back a:focus-visible {
	opacity: 0.8;
}

.entry__back a:hover::before,
.entry__back a:focus-visible::before {
	transform: translateX(-4px);
}

@media (max-width: 767px) {
	.news-archive .news__link {
		grid-template-columns: 1fr;
		gap: 6px;
		padding-block: 18px;
	}

	.entry__title {
		margin-bottom: 28px;
		font-size: 20px;
	}

	.entry__body {
		font-size: 14px;
		line-height: 1.9;
	}

	.entry__back {
		margin-top: 40px;
	}
}
