/* ======================
   News一覧コンポーネント
   Pattern C: ニュースサイト風
   ====================== */

.c-newsList {
	margin-top: 3em;
	padding: 2em 0;
}

.c-newsList__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5em;
	padding-bottom: 0.8em;
	border-bottom: 2px solid #1a1a2e;
}

.c-newsList__heading {
	font-size: 1.3em;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: #1a1a2e;
	margin: 0;
}

.c-newsList__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.c-newsList__item {
	border-bottom: 1px solid #e5e5e5;
}

.c-newsList__link {
	display: flex;
	gap: 1.2em;
	padding: 1.2em 0;
	text-decoration: none;
	color: inherit;
	transition: opacity 0.2s;
}

.c-newsList__link:hover {
	opacity: 0.75;
}

.c-newsList__thumb {
	flex-shrink: 0;
	width: 150px;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.c-newsList__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s;
}

.c-newsList__item:hover .c-newsList__img {
	transform: scale(1.05);
}

.c-newsList__noimg {
	width: 100%;
	height: 100%;
	background: #e8e8e8;
}

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

.c-newsList__date {
	font-size: 0.75em;
	color: #999;
	font-family: "Helvetica Neue", Arial, sans-serif;
	letter-spacing: 0.03em;
}

.c-newsList__title {
	font-size: 1em;
	font-weight: 700;
	line-height: 1.5;
	margin: 0.2em 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.c-newsList__excerpt {
	font-size: 0.82em;
	color: #777;
	line-height: 1.6;
	margin: 0.3em 0 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 599px) {
	.c-newsList__thumb {
		width: 110px;
	}

	.c-newsList__title {
		font-size: 0.9em;
	}

	.c-newsList__excerpt {
		-webkit-line-clamp: 1;
	}
}
