@charset "UTF-8";

/* ==========================================================================
   お知らせ詳細 — スタイル
   ========================================================================== */


/* ---------- アイキャッチ画像 ---------- */

.news-single__hero {
	padding: 40px 0 0;
	background-color: var(--color-bg-alt);
}

.news-single__hero-image {
	overflow: hidden;
	border-radius: var(--radius-lg);
	aspect-ratio: 2 / 1;
	background-color: var(--color-primary-light);
}

.news-single__hero-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}


/* ---------- コンテンツエリア ---------- */

.news-single__content {
	padding-top: 48px;
	padding-bottom: 80px;
}


/* ---------- 記事ヘッダー ---------- */

.news-single__header {
	margin-bottom: 48px;
}

.news-single__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 20px;
}

.news-single__cat {
	display: inline-block;
	padding: 4px 14px;
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--color-text-on-dark);
	background-color: var(--color-primary);
	border-radius: var(--radius);
	letter-spacing: 0.03em;
}

.news-single__date {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-family: var(--font-number);
	font-size: 0.875rem;
	color: var(--color-steel);
	letter-spacing: 0.03em;
}

.news-single__date-icon {
	color: var(--color-steel-light);
}

.news-single__title {
	font-family: var(--font-heading);
	font-size: 1.875rem;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.news-single__title-bar {
	width: 48px;
	height: 3px;
	background-color: var(--color-accent);
	margin-top: 20px;
	border-radius: 2px;
}


/* ---------- 記事本文 ---------- */

.news-single__body {
	font-size: 0.9375rem;
	line-height: 2;
	margin-bottom: 48px;
}

.news-single__body h2 {
	font-size: 1.375rem;
	font-weight: 700;
	margin-top: 56px;
	margin-bottom: 20px;
	padding-left: 16px;
	border-left: 4px solid var(--color-accent);
	line-height: 1.5;
}

.news-single__body h3 {
	font-size: 1.125rem;
	font-weight: 700;
	margin-top: 40px;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--color-border);
}

.news-single__body h4 {
	font-size: 1rem;
	font-weight: 700;
	margin-top: 32px;
	margin-bottom: 8px;
}

.news-single__body p {
	margin-bottom: 20px;
}

.news-single__body img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-lg);
	margin: 24px 0;
}

.news-single__body ul,
.news-single__body ol {
	margin-bottom: 20px;
	padding-left: 1.5em;
}

.news-single__body ul {
	list-style: disc;
}

.news-single__body ol {
	list-style: decimal;
}

.news-single__body li {
	margin-bottom: 6px;
	line-height: 1.8;
}

.news-single__body a {
	color: var(--color-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.news-single__body a:hover {
	color: var(--color-accent);
}

.news-single__body blockquote {
	margin: 24px 0;
	padding: 24px 28px;
	background-color: var(--color-bg-alt);
	border-left: 4px solid var(--color-steel-light);
	border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
	font-style: normal;
}

.news-single__body blockquote p:last-child {
	margin-bottom: 0;
}

.news-single__body table {
	width: 100%;
	border-collapse: collapse;
	margin: 24px 0;
}

.news-single__body th,
.news-single__body td {
	padding: 12px 16px;
	border: 1px solid var(--color-border);
	font-size: 0.875rem;
}

.news-single__body th {
	background-color: var(--color-bg-alt);
	font-weight: 700;
}


/* ---------- 共有リンク ---------- */

.news-single__share {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
	margin-bottom: 40px;
}

.news-single__share-label {
	font-family: var(--font-english);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--color-steel);
}

.news-single__share-links {
	display: flex;
	align-items: center;
	gap: 8px;
}

.news-single__share-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: var(--radius);
	color: var(--color-text-on-dark);
	transition: opacity var(--transition), transform var(--transition);
}

.news-single__share-btn:hover {
	opacity: 0.85;
	transform: translateY(-2px);
	color: var(--color-text-on-dark);
}

.news-single__share-btn--x {
	background-color: #000000;
}

.news-single__share-btn--fb {
	background-color: #1877F2;
}

.news-single__share-btn--line {
	background-color: #06C755;
}


/* ---------- 前後ナビゲーション ---------- */

.news-single__nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 56px;
}

.news-single__nav-item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px;
	background-color: var(--color-bg-alt);
	border-radius: var(--radius-lg);
	color: var(--color-text);
	transition: background-color var(--transition), box-shadow var(--transition);
}

.news-single__nav-item:hover {
	background-color: var(--color-primary-light);
	box-shadow: 0 4px 16px rgba(28, 53, 87, 0.08);
	color: var(--color-text);
}

.news-single__nav-item--next {
	justify-content: flex-end;
	text-align: right;
}

.news-single__nav-item--empty {
	background-color: transparent;
}

.news-single__nav-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	color: var(--color-steel);
	transition: color var(--transition);
}

.news-single__nav-item:hover .news-single__nav-arrow {
	color: var(--color-primary);
}

.news-single__nav-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.news-single__nav-label {
	font-family: var(--font-english);
	font-size: 0.625rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-steel);
}

.news-single__nav-title {
	font-size: 0.8125rem;
	font-weight: 500;
	line-height: 1.5;
	color: var(--color-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.news-single__nav-item:hover .news-single__nav-title {
	color: var(--color-primary);
}


/* ---------- 関連記事 ---------- */

.news-single__related {
	margin-bottom: 56px;
}

.news-single__related-heading {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-border);
}

.news-single__related-en {
	font-family: var(--font-english);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.15em;
	color: var(--color-accent);
}

.news-single__related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.news-single__related-card {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background-color: var(--color-bg);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: box-shadow var(--transition-slow), transform var(--transition-slow);
	color: var(--color-text);
}

.news-single__related-card:hover {
	box-shadow: 0 8px 24px rgba(28, 53, 87, 0.12);
	transform: translateY(-4px);
	color: var(--color-text);
}

.news-single__related-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.news-single__related-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-single__related-card:hover .news-single__related-image img {
	transform: scale(1.06);
}

.news-single__related-date {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 10px;
	background-color: var(--color-primary);
	color: var(--color-text-on-dark);
	font-family: var(--font-number);
	line-height: 1;
}

.news-single__related-date span:first-child {
	font-size: 0.5625rem;
	opacity: 0.8;
	margin-bottom: 1px;
}

.news-single__related-date span:last-child {
	font-size: 0.9375rem;
	font-weight: 700;
}

.news-single__related-body {
	padding: 16px 20px 20px;
}

.news-single__related-cat {
	display: inline-block;
	padding: 2px 8px;
	font-size: 0.625rem;
	font-weight: 700;
	color: var(--color-primary);
	background-color: var(--color-primary-light);
	border-radius: var(--radius);
	margin-bottom: 8px;
}

.news-single__related-title {
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.6;
	transition: color var(--transition);
}

.news-single__related-card:hover .news-single__related-title {
	color: var(--color-primary);
}


/* ---------- 一覧へ戻る ---------- */

.news-single__back {
	text-align: center;
}


/* ==========================================================================
   レスポンシブ
   ========================================================================== */

@media screen and (max-width: 768px) {

	/* アイキャッチ */
	.news-single__hero {
		padding: 24px 0 0;
	}

	.news-single__hero-image {
		aspect-ratio: 16 / 9;
		border-radius: var(--radius);
	}

	/* コンテンツ */
	.news-single__content {
		padding-top: 32px;
		padding-bottom: 56px;
	}

	/* ヘッダー */
	.news-single__header {
		margin-bottom: 36px;
	}

	.news-single__title {
		font-size: 1.375rem;
	}

	.news-single__title-bar {
		width: 36px;
		margin-top: 16px;
	}

	/* 本文 */
	.news-single__body {
		margin-bottom: 36px;
	}

	.news-single__body h2 {
		font-size: 1.125rem;
		margin-top: 40px;
		padding-left: 12px;
	}

	.news-single__body h3 {
		font-size: 1rem;
		margin-top: 32px;
	}

	/* 共有 */
	.news-single__share-btn {
		width: 40px;
		height: 40px;
	}

	/* 前後ナビ */
	.news-single__nav {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 40px;
	}

	.news-single__nav-item--next {
		justify-content: flex-start;
		text-align: left;
		flex-direction: row-reverse;
	}

	/* 関連記事 */
	.news-single__related {
		margin-bottom: 40px;
	}

	.news-single__related-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.news-single__related-card {
		flex-direction: row;
	}

	.news-single__related-image {
		width: 120px;
		aspect-ratio: auto;
		min-height: 90px;
		flex-shrink: 0;
	}

	.news-single__related-body {
		padding: 12px 14px;
	}

	.news-single__related-title {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}
}
