/* タブには出さない。/news/#media を知っているときだけ見せる。 */
.news_video_block {
	display: none;
	margin-top: 32px;
	margin-bottom: 48px;
}

#media:target,
.news_page.is-media .news_video_block {
	display: block;
}

.news_page:has(#media:target) .news_block__contents,
.news_page:has(#media:target) .pagination,
.news_page.is-media .news_block__contents,
.news_page.is-media .pagination {
	display: none;
}

.news_video_block__header {
	margin-bottom: 32px;
}

.news_video_block__title {
	color: #363635;
	font-family: "IBM Plex Sans JP", sans-serif;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

.news_video_block__subtitle {
	margin-top: 8px;
	color: #0c73a7;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.news_video_block__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 24px;
	list-style: none;
}

.news_video_block__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.3s;
}

.news_video_block__link:hover {
	opacity: 0.8;
}

.news_video_block__thumb {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	aspect-ratio: 16 / 9;
	background-color: #dfddd7;
}

.news_video_block__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news_video_block__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.65);
	transform: translate(-50%, -50%);
}

.news_video_block__play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 16px solid #fff;
	transform: translate(-50%, -50%);
}

.news_video_block__body {
	margin-top: 16px;
}

.news_video_block__item-title {
	color: #363635;
	font-family: "IBM Plex Sans JP", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
	letter-spacing: 0.01em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

.news_video_block__date {
	display: block;
	margin-top: 8px;
	color: #0c73a7;
	font-family: "IBM Plex Sans JP", sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: 0.01em;
}

@media screen and (max-width: 1024px) {
	.news_video_block__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 768px) {
	.news_video_block {
		margin-top: 40px;
		margin-bottom: 32px;
		padding-top: 32px;
	}

	.news_video_block__title {
		font-size: 20px;
	}

	.news_video_block__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.news_video_block__play {
		width: 48px;
		height: 48px;
	}
}
