@charset "UTF-8";

/* ===========================================
 * お知らせ一覧（news.html）
 * ページ固有クラスは .news-○○ に統一。共通部品は l-* / c-* を再利用
 * ======================================== */

/* ===========================================
 * hero
 * ======================================== */
.news-hero {
	position: relative;
	overflow: hidden;
	background: #e4f2f4;
}

/* 右側のドット柄のアーチ装飾 */
.news-hero::before,
.news-hero::after {
	content: '';
	position: absolute;
	bottom: 0;
	border-radius: 999px 999px 0 0;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.85) 2.2px, transparent 2.8px) 0 0 /
		9px 9px;
	-webkit-mask-image: linear-gradient(to top, #000 30%, transparent);
	mask-image: linear-gradient(to top, #000 30%, transparent);
	pointer-events: none;
}

.news-hero::before {
	right: calc(6vw + 150px);
	width: 150px;
	height: 216px;

	@media (max-width: 768px) {
		display: none;
	}
}

.news-hero::after {
	right: 6vw;
	width: 132px;
	height: 180px;

	@media (max-width: 768px) {
		top: 60px;
		right: 20px;
		bottom: auto;
		width: 92px;
		height: 150px;
		-webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent);
		mask-image: linear-gradient(to bottom, #000 30%, transparent);
	}
}

.news-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 247px 1fr;
	-moz-column-gap: clamp(32px, 14.2vw, 204px);
	column-gap: clamp(32px, 14.2vw, 204px);
	min-height: 318px;

	@media (max-width: 768px) {
		grid-template-columns: 1fr;
		min-height: 0;
	}
}

/* 白いアーチ（NEWS / お知らせ）。ヘッダー直下から立ち上げる */
.news-hero__title {
	display: flex;
	flex-direction: column;
	width: 247px;
	min-height: 318px;
	padding: 96px 0 0 29px;
	border-radius: 124px 124px 0 0;
	background: #fff;

	@media (max-width: 768px) {
		width: min(62%, 240px);
		min-height: 210px;
		padding: 64px 0 0 20px;
		border-radius: 120px 120px 0 0;
	}
}

.news-hero__en {
	font-family: 'Outfit', sans-serif;
	font-size: clamp(40px, 4.4vw, 64px);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1;
	white-space: nowrap;
	color: #94cbd2;

	@media (max-width: 768px) {
		font-size: 44px;
	}
}

.news-hero__ja {
	margin-top: 18px;
	font-size: clamp(14px, 1.25vw, 18px);
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;

	@media (max-width: 768px) {
		margin-top: 12px;
		font-size: 15px;
	}
}

.news-hero__catch {
	padding-top: 108px;

	@media (max-width: 768px) {
		padding: 32px 0 56px;
	}
}

.news-hero__catch-line {
	display: block;
	width: -moz-fit-content;
	width: -webkit-fit-content;
	width: fit-content;
	padding-bottom: 8px;
	border-bottom: 1px solid #94cbd2;
	font-size: clamp(15px, 1.4vw, 20px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.06em;

	@media (max-width: 768px) {
		padding-bottom: 2px;
		border-bottom: 0;
		background: linear-gradient(transparent 82%, #fff 82%);
	}
}

.news-hero__catch-line + .news-hero__catch-line {
	margin-top: 14px;
}

/* ===========================================
 * list（お知らせ一覧）
 * ======================================== */
.news-list {
	padding: 100px 0 120px;

	@media (max-width: 768px) {
		padding: 48px 0 80px;
	}
}

.news-list__inner {
	width: min(100% - 40px, 880px);
	margin-inline: auto;
}

.news-list__items {
	border-top: 2px dotted #4a3b31;
}

.news-list__item {
	border-bottom: 2px dotted #4a3b31;
}

.news-list__link {
	position: relative;
	display: grid;
	grid-template-columns: 140px auto 1fr;
	align-items: center;
	-moz-column-gap: 20px;
	column-gap: 20px;
	padding: 26px 48px 26px 10px;
	line-height: 1.6;
	transition: background-color 0.2s ease;

	@media (any-hover: hover) {
		&:hover {
			background: #f4fafb;
		}
	}

	@media (max-width: 768px) {
		grid-template-columns: auto 1fr;
		row-gap: 6px;
		-moz-column-gap: 12px;
		column-gap: 12px;
		padding: 18px 32px 18px 4px;
	}
}

/* 右端の矢印 */
.news-list__link::after {
	content: '›';
	position: absolute;
	top: 50%;
	right: 14px;
	translate: 0 -50%;
	font-size: 22px;
	color: #94cbd2;

	@media (max-width: 768px) {
		right: 6px;
	}
}

.news-list__date {
	font-family: 'Outfit', sans-serif;
	font-size: 18px;
	letter-spacing: 0.1em;
	color: #94cbd2;

	@media (max-width: 768px) {
		font-size: 15px;
	}
}

.news-list__cat {
	justify-self: start;
	padding: 2px 14px;
	border-radius: 999px;
	background: #e4f2f4;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
	white-space: nowrap;
}

.news-list__text {
	font-size: 18px;

	@media (max-width: 768px) {
		grid-column: 1 / -1;
		font-size: 15px;
	}
}

/* ページ送り */
.news-pager {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 56px;
}

.news-pager__link {
	display: grid;
	place-items: center;
	width: 44px;
	aspect-ratio: 1;
	border: 1px solid #94cbd2;
	border-radius: 50%;
	font-family: 'Outfit', sans-serif;
	font-size: 16px;
	color: #5aa7b1;

	&[aria-current='page'] {
		background: #94cbd2;
		color: #fff;
	}
}

/* 「…」は枠なし */
.news-pager__link--dots {
	width: auto;
	border: none;
}

/* 「前へ」「次へ」は文字入りの横長ボタン */
.news-pager__link--prev,
.news-pager__link--next {
	gap: 6px;
	grid-auto-flow: column;
	width: auto;
	aspect-ratio: auto;
	height: 44px;
	padding: 0 18px 0 22px;
	border-radius: 999px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
}

.news-pager__link--prev {
	padding: 0 22px 0 18px;
}

.news-pager__link--prev::before {
	content: '‹';
	font-size: 20px;
	line-height: 1;
}

.news-pager__link--next::after {
	content: '›';
	font-size: 20px;
	line-height: 1;
}
