@charset "UTF-8";

/* ========================================
   新着情報
======================================== */
.news {
	padding-block: 90px;
}

.news__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: center;
	gap: 60px;
}

.news__heading {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 24px;
}

.news__title {
	flex-shrink: 0;
	font-family: var(--font-heading);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.news__title::before {
	content: "";
	display: inline-block;
	width: 9px;
	height: 16px;
	margin-right: 8px;
	border-radius: 0 90% 0 90%;
	background: #8fbd66;
	transform: rotate(-25deg);
}

.news__heading-line {
	flex: 1;
	height: 1px;
	background: #dddddd;
}

.news__more {
	flex-shrink: 0;
	color: var(--color-blue);
	font-size: 14px;
}

.news__more span {
	margin-left: 6px;
}

.news__link {
	display: grid;
	grid-template-columns: 90px 94px minmax(0, 1fr) 14px;
	align-items: center;
	gap: 18px;

	min-height: 80px;
	padding-block: 18px;
	border-bottom: 1px solid #dddddd;
	font-size: 14px;
}

.news__date {
	white-space: nowrap;
}

.news__category {
	padding: 3px 10px;
	border-radius: 30px;
	color: var(--color-blue);
	background: #e7f2ff;
	text-align: center;
	font-size: 13px;
}

.news__text {
	transition: color 0.2s ease;
}

.news__link:hover .news__text {
	color: var(--color-blue);
}

.news__arrow {
	color: var(--color-blue);
	font-size: 28px;
	line-height: 1;
}

.news__image {
	width: 100%;
	aspect-ratio: 0.95;
	border-radius: 18px;
	object-fit: cover;
}

/* ========================================
   レスポンシブ
======================================== */
@media (max-width: 1023px) {
	.news__inner {
		grid-template-columns: minmax(0, 1fr) 240px;
		gap: 30px;
	}

	.news__link {
		grid-template-columns: 90px 94px minmax(0, 1fr) 14px;
		gap: 10px;
	}
}

@media (max-width: 767px) {
	.news {
		padding-block: 60px;
	}

	.news__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.news__heading {
		gap: 16px;
		margin-bottom: 12px;
	}

	.news__title {
		font-size: 23px;
	}

	.news__more {
		font-size: 12px;
	}

	.news__link {
		grid-template-columns: 90px minmax(0, 1fr) 14px;
		gap: 10px 12px;
		padding-block: 18px;
	}

	.news__category {
		justify-self: start;
		min-width: 88px;
	}

	.news__text {
		grid-column: 1 / 3;
	}

	.news__arrow {
		grid-column: 3;
		grid-row: 1 / 3;
	}

	.news__image {
		aspect-ratio: 16 / 9;
	}
}