/* =========================================================
  News Detail
========================================================= */
.p-news-detail-article {
	position: relative;
	z-index: 1;
	padding-bottom: clamp(100px, 10.417vw, 200px);
}

.p-news-detail-article__header time {
	display: block;
	color: #c40018;
	font-size: clamp(18px, 1.302vw, 25px);
	font-weight: 400;
	line-height: 1.5;
}

.p-news-detail-article__header h1 {
	position: relative;
	margin-top: 1.1em;
	padding-bottom: 0.7em;
	font-size: clamp(24px, 1.823vw, 35px);
	font-weight: 400;
	line-height: 1.5;
}

.p-news-detail-article__header h1::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 1.8em;
	height: 2px;
	background-color: #c40018;
}

.p-news-detail-article__content {
	margin-top: clamp(45px, 4.167vw, 80px);
	font-size: clamp(17px, 1.302vw, 25px);
	font-weight: 400;
	line-height: 1.8;
}

.p-news-detail-article__content figure {
	margin-bottom: clamp(45px, 4.167vw, 80px);
}

.p-news-detail-article__content figure img {
	width: 100%;
}

.p-news-detail-article__content p + p {
	margin-top: 1.6em;
}

.p-news-detail-article__content h2 {
	position: relative;
	margin-top: clamp(60px, 6.25vw, 120px);
	margin-bottom: 1.3em;
	padding-left: 0.65em;
	font-size: clamp(22px, 1.563vw, 30px);
	font-weight: 400;
	line-height: 1.5;
}

.p-news-detail-article__content h2::before {
	content: "";
	position: absolute;
	top: 0.18em;
	left: 0;
	width: 0.18em;
	height: 1.15em;
	background: linear-gradient(to bottom, #9b001d 0%, #f20012 100%);
}
.p-news-detail-article__content h3 {
	margin-top: 1em;
	font-size: 1em;
}
.p-news-detail-article__button {
	margin-top: clamp(80px, 8.333vw, 160px);
	text-align: center;
}

.p-news-detail-article__button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 265px;
	min-height: 60px;
	border: 1px solid #707070;
	font-size: clamp(16px, 1.042vw, 20px);
	font-weight: 700;
}

.p-news-detail-article__button a::after {
	content: ">";
	margin-left: 1.2em;
}

/* =========================================================
  News Detail - SP
========================================================= */
@media (max-width: 767px) {
	.p-news-detail-article {
		padding-bottom: 90px;
	}

	.p-news-detail-article__content {
		margin-top: 36px;
		font-size: 15px;
	}

	.p-news-detail-article__content figure {
		margin-bottom: 36px;
	}

	.p-news-detail-article__button {
		margin-top: 64px;
	}

	.p-news-detail-article__button a {
		width: 220px;
		min-height: 52px;
	}
}

/* =========================================================
  Download Box
========================================================= */

.c-download-box {
	max-width: 750px;
	margin-bottom: 1em;
}

.c-download-box a {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 30px;
	background: #f7f7f7;
	transition: opacity .3s;
}

.c-download-box a:hover {
	opacity: .8;
}

.c-download-box__icon {
	flex-shrink: 0;
	width: 45px;
	aspect-ratio: 1 / 1;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.c-download-box--pdf .c-download-box__icon {
	background-image: url("../img/news/icon_pdf.svg");
}

.c-download-box--word .c-download-box__icon {
	background-image: url("../img/news/icon_word.svg");
}

.c-download-box--excel .c-download-box__icon {
	background-image: url("../img/news/icon_excel.svg");
}

.c-download-box__body {
	flex: 1;
	min-width: 0;
}

.c-download-box__body p {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
	word-break: break-word;
}

.c-download-box__download {
	flex-shrink: 0;
	width: 25px;
	aspect-ratio: 1 / 1;
	background: url("../img/news/icon_download.svg") no-repeat center / contain;
}

@media (max-width: 767px) {

	.c-download-box {
		max-width: none;
	}

	.c-download-box a {
		gap: 16px;
		padding: 20px 16px;
	}

	.c-download-box__icon {
		width: 38px;
	}

	.c-download-box__body p {
		font-size: clamp(15px, 4vw, 20px);
	}

	.c-download-box__download {
		width: 22px;
	}
}

/* =========================================================
  External Link
========================================================= */

.p-news-detail-external-link {
	margin-top: 2em;
}

.p-news-detail-external-link a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 0.45em;

	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;

	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.p-news-detail-external-link a::after {
	content: "";
	flex-shrink: 0;

	width: 1em;
	height: 1em;

	background: url("../img/news/icon_link.svg") no-repeat center / contain;
}


/* =========================================================
  Custom Override
  News Detail Button
========================================================= */

.p-news-detail-article__button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 1em;

	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
}

.p-news-detail-article__button a::after {
	content: none;
}


.p-news-detail-article__button .c-arrow {
	color: #f20012;
}
