@charset "utf-8";
/* CSS Document */

/* =========================================
   NEWS
========================================= */

#news {
	padding: 80px 40px 120px;
}

.news__inner {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}


/* =========================================
   重要なお知らせ
========================================= */

.news__important {
	margin-bottom: 38px;
	border: 1px solid #be0011;
	background: #fffafa;
}

.news__important-link {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) 40px;
	align-items: center;
	column-gap: 30px;
	min-height: 98px;
	padding: 0 20px 0 30px;
	box-sizing: border-box;
	text-decoration: none;
	color: #333;
}

.news__important-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	white-space: nowrap;
}

.news__important-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 80px;
	height: 32px;
	padding: 0 18px;
	box-sizing: border-box;
	border-radius: 20px;
	background: #be0011;

	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.news__important-link:hover .news__text {
	color: #b8b8b8;
}

.news__important-link:hover .news__arrow {
	transform: translateX(0);
}


/* =========================================
   NEWS LIST
========================================= */

.news__list {
	width: 100%;
}

.news__item {
	position: relative;
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr) 40px;
	align-items: center;
	min-height: 60px;
	padding: 0;
	border-bottom: 1px solid #e9e9e9;
	text-decoration: none;
	color: #333;
	box-sizing: border-box;
}

div.news__item {
	grid-template-columns: 118px minmax(0, 1fr);
}

.news__date {
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0.02em;
	white-space: nowrap;
	color: #333;
}

.news__text {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	letter-spacing: 0.02em;
	color: #333;
	transition: color 0.3s ease;
}


/* =========================================
   通常リンク
========================================= */

.news__arrow {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 40px;
	transform: translateX(-10px);
	transition: transform 0.3s ease;
}

.news__arrow img {
	display: block;
	width: 39px;
	height: auto;
}

.news__item--link:hover .news__text {
	color: #b8b8b8;
}

.news__item--link:hover .news__arrow {
	transform: translateX(0);
}


/* =========================================
   PDF
========================================= */

.news__item--pdf {
	grid-template-columns: 118px auto 1fr;
}

.news__item--pdf .news__text {
	width: fit-content;
}

.news__pdf {
	display: flex;
	align-items: center;
	margin-left: 14px;
}

.news__pdf img {
	display: block;
	width: 20px;
	height: auto;
}

.news__item--pdf:hover .news__text {
	color: #b8b8b8;
}


/* =========================================
   850px以下
========================================= */

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

	#news {
		padding: 70px 40px 100px;
	}


	/* -------------------------
	   重要
	------------------------- */

	.news__important {
		margin-bottom: 30px;
	}

	.news__important-link {
		display: block;
		min-height: 0;
		padding: 20px 60px 20px 20px;
	}

	.news__important-meta {
		gap: 14px;
		margin-bottom: 8px;
	}

	.news__important-label {
		min-width: 64px;
		height: 28px;
		padding: 0 14px;
		font-size: 14px;
	}

	.news__important .news__date {
		margin-bottom: 0;
	}

	.news__important .news__arrow {
		position: absolute;
		top: 50%;
		right: 0;
		width: 32px;
		transform: translate(-10px, -50%);
	}

	.news__important .news__arrow img {
		width: 32px;
	}

	.news__important-link:hover .news__arrow {
		transform: translate(0, -50%);
	}


	/* -------------------------
	   NEWS LIST
	------------------------- */

	.news__item,
	div.news__item,
	.news__item--pdf {
		display: block;
		min-height: 0;
		padding: 20px 0;
	}

	.news__item--link {
		padding-right: 60px;
	}

	.news__date {
		display: block;
		margin-bottom: 7px;
		font-size: 14px;
	}

	.news__text {
		font-size: 15px;
		line-height: 1.7;
	}

	.news__item .news__arrow {
		position: absolute;
		top: 50%;
		right: 0;
		width: 32px;
		transform: translate(-10px, -50%);
	}

	.news__item .news__arrow img {
		width: 32px;
	}

	.news__item--link:hover .news__arrow {
		transform: translate(0, -50%);
	}

	.news__item--pdf {
		padding-right: 0;
	}

	.news__item--pdf .news__text {
		display: inline;
		width: auto;
	}

	.news__pdf {
		display: inline-flex;
		margin-left: 8px;
		vertical-align: middle;
	}

	.news__pdf img {
		width: 18px;
	}

}


/* =========================================
   SP
========================================= */

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

	#news {
		padding: 0 20px 80px;
	}

	.news__important-link {
		padding: 18px 50px 18px 16px;
	}

	.news__important-meta {
		margin-bottom: 7px;
	}

	.news__important-label {
		min-width: 58px;
		height: 26px;
		padding: 0 12px;
		font-size: 13px;
	}

	.news__item,
	div.news__item,
	.news__item--pdf {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.news__item--link {
		padding-right: 50px;
	}

	.news__date {
		font-size: 13px;
	}

	.news__text {
		font-size: 14px;
	}

}

/* =========================================
   JSON表示用補足
========================================= */

/* 重要NEWSがリンクなしの場合 */
.news__important-link--text {
	grid-template-columns: auto minmax(0, 1fr);
}

/* 重要NEWSがPDFの場合 */
.news__important-link .news__pdf {
	justify-self: end;
	margin-left: 0;
}

.news__important-link:hover .news__pdf {
	opacity: 0.6;
}

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

	.news__important-link .news__pdf {
		position: absolute;
		top: 50%;
		right: 18px;
		margin-left: 0;
		transform: translateY(-50%);
	}

}

