@charset "UTF-8";

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

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

/* 右側のドット柄のアーチ装飾 */
.news-detail-hero::before,
.news-detail-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-detail-hero::before {
	right: calc(6vw + 150px);
	width: 150px;
	height: 216px;

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

.news-detail-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-detail-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-detail-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-detail-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-detail-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-detail-hero__catch {
	padding-top: 108px;

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

.news-detail-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-detail-hero__catch-line + .news-detail-hero__catch-line {
	margin-top: 14px;
}

/* ===========================================
 * article（記事本文）
 * ======================================== */
.news-detail-article {
	padding: 100px 0 120px;

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

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

.news-detail-article__head {
	padding-bottom: 24px;
	border-bottom: 2px dotted #4a3b31;
}

.news-detail-article__meta {
	display: flex;
	align-items: center;
	gap: 16px;
}

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

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

.news-detail-article__cat {
	padding: 2px 14px;
	border-radius: 999px;
	background: #e4f2f4;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.news-detail-article__title {
	margin-top: 12px;
	font-size: clamp(22px, 2.08vw, 30px);
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.04em;

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

/* 本文：CMSから流し込む想定で、要素セレクタでまとめて整える */
.news-detail-article__body {
	margin-top: 48px;
	font-size: 16px;
	line-height: 2;

	@media (max-width: 768px) {
		margin-top: 32px;
		font-size: 15px;
		line-height: 1.9;
	}

	& > * + * {
		margin-top: 1.6em;
	}

	& h2 {
		margin-top: 2.6em;
		padding: 10px 0 10px 18px;
		border-left: 4px solid #94cbd2;
		font-size: clamp(18px, 1.53vw, 22px);
		font-weight: 700;
		line-height: 1.6;
	}

	& h3 {
		margin-top: 2.2em;
		font-size: 18px;
		font-weight: 700;
		line-height: 1.6;
	}

	& figure img {
		width: 100%;
		height: auto;
		border-radius: 20px;
	}

	& figcaption {
		margin-top: 8px;
		font-size: 13px;
		text-align: center;
	}

	& ul {
		padding: 20px 28px;
		border-radius: 20px;
		background: #faf8f0;
	}

	& ul li {
		position: relative;
		padding-left: 18px;
	}

	& ul li::before {
		content: '';
		position: absolute;
		top: 0.85em;
		left: 2px;
		width: 7px;
		aspect-ratio: 1;
		border-radius: 50%;
		background: #94cbd2;
	}

	& a {
		color: #5aa7b1;
		text-decoration: underline;
	}
}

/* 前後の記事・一覧へ */
.news-detail-pager {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	margin-top: 80px;
	padding-top: 32px;
	border-top: 2px dotted #4a3b31;

	@media (max-width: 768px) {
		grid-template-columns: 1fr 1fr;
		margin-top: 56px;
	}
}

.news-detail-pager__link {
	font-size: 15px;
	font-weight: 700;
	color: #5aa7b1;
}

.news-detail-pager__link--prev::before {
	content: '‹';
	margin-right: 0.5em;
}

.news-detail-pager__link--next {
	justify-self: end;
}

.news-detail-pager__link--next::after {
	content: '›';
	margin-left: 0.5em;
}

.news-detail-pager .c-btn {
	width: 240px;
	margin: 0;

	@media (max-width: 768px) {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
	}
}
