/**
 * お知らせ（一覧・記事）
 */

.pitmil-news {
	padding:
		calc(var(--pitmil-bar-height) + clamp(20px, 5vw, 40px))
		0
		calc(clamp(40px, 8vw, 80px) + env(safe-area-inset-bottom, 0px));
	color: #4a3d38;
}

.pitmil-news__header {
	text-align: center;
	margin-bottom: clamp(32px, 6vw, 56px);
}

.pitmil-news__eyebrow {
	margin: 0 0 8px;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.28em;
	color: #ff8f6b;
}

.pitmil-news__title {
	margin: 0 0 12px;
	font-size: clamp(1.75rem, 6vw, 2.5rem);
	font-weight: 800;
	line-height: 1.3;
}

.pitmil-news__lead {
	margin: 0 auto;
	max-width: 36em;
	font-size: clamp(0.95rem, 3.6vw, 1.05rem);
	line-height: 1.85;
	color: rgba(74, 61, 56, 0.78);
}

.pitmil-news__list {
	margin: 0;
	padding: 0;
	list-style: none;
	max-width: 800px;
	margin-inline: auto;
}

.pitmil-news__item {
	border-bottom: 1px solid rgba(255, 158, 184, 0.35);
}

.pitmil-news__link {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 12px 16px;
	align-items: center;
	padding: 18px 8px;
	color: inherit;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.pitmil-news__link:hover,
.pitmil-news__link:focus-visible {
	background: rgba(255, 238, 246, 0.7);
	color: #d45f82;
}

.pitmil-news__date {
	font-size: 0.875rem;
	font-weight: 700;
	color: #ff9eb8;
	white-space: nowrap;
}

.pitmil-news__item-title {
	font-size: clamp(0.95rem, 3.6vw, 1.05rem);
	font-weight: 600;
	line-height: 1.6;
}

.pitmil-news__arrow {
	color: #ff9eb8;
	font-weight: 700;
}

.pitmil-news__empty {
	text-align: center;
	color: rgba(74, 61, 56, 0.7);
}

.pitmil-news__pagination {
	margin-top: 32px;
	text-align: center;
}

.pitmil-news__pagination .nav-links {
	display: inline-flex;
	gap: 8px;
	flex-wrap: wrap;
	justify-content: center;
}

.pitmil-news__pagination a,
.pitmil-news__pagination span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0 12px;
	border-radius: 999px;
	background: #fff;
	border: 1px solid rgba(255, 158, 184, 0.4);
	text-decoration: none;
	color: #4a3d38;
	font-weight: 600;
}

.pitmil-news__pagination .current {
	background: linear-gradient(135deg, #ff9eb8, #ffc9a8);
	border-color: transparent;
	color: #fff;
}

.pitmil-news__back {
	margin-top: 40px;
	text-align: center;
}

/* 記事ページ */
.pitmil-news-article {
	max-width: 760px;
	margin-inline: auto;
	padding: clamp(24px, 5vw, 40px);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 14px 44px rgba(255, 140, 160, 0.12);
}

.pitmil-news-article__header {
	text-align: center;
	margin-bottom: 28px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 158, 184, 0.3);
}

.pitmil-news-article__title {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 5.5vw, 2rem);
	line-height: 1.4;
	font-weight: 800;
}

.pitmil-news-article__date {
	font-size: 0.9rem;
	font-weight: 700;
	color: #ff9eb8;
}

.pitmil-news-article__body {
	font-size: clamp(0.95rem, 3.6vw, 1.05rem);
	line-height: 1.9;
	color: rgba(74, 61, 56, 0.9);
}

.pitmil-news-article__body p {
	margin: 0 0 1.2em;
}

.pitmil-news-article__body a {
	color: #d45f82;
}

.pitmil-news-article__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 32px;
}

@media (max-width: 600px) {
	.pitmil-news__link {
		grid-template-columns: 1fr auto;
	}

	.pitmil-news__date {
		grid-column: 1 / -1;
	}
}