@charset "utf-8";

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

.p-news-list__items {
	margin-top: clamp(70px, 7.813vw, 150px);
}

.p-news-list__item a {
	display: grid;
	grid-template-columns: 260px 1fr 34px;
	align-items: center;
	padding: 1.45em 0;
	border-bottom: 2px dashed #c9c9c9;
	font-size: clamp(16px, 1.042vw, 20px);
	font-weight: 400;
	line-height: 1.6;
}

.p-news-list__item:first-child a {
	border-top: 2px dashed #c9c9c9;
}

.p-news-list__item time {
	color: #c40018;
	white-space: nowrap;
}

.p-news-list__title {
	min-width: 0;
}

.p-news-list__icon {
	width: 14px;
	height: 24px;
	margin-left: auto;
	background-image: url("../img/news/icon_right.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

/* =========================================================
  Pagination
========================================================= */
.c-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 2.604vw, 50px);
	margin-top: clamp(65px, 6.25vw, 120px);
	font-size: clamp(16px, 1.042vw, 20px);
	font-weight: 400;
}

.c-pagination__number,
.c-pagination__dots,
.c-pagination__arrow {
	display: inline-grid;
	place-items: center;
}

.c-pagination__number,
.c-pagination__arrow {
	width: 52px;
	height: 52px;
}

.c-pagination__number.is-current {
	border: 1px solid #c40018;
	color: #c40018;
}

.c-pagination__arrow {
	border: 1px solid #999;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 18px auto;
}

.c-pagination__arrow--prev {
	background-image: url("../img/news/icon_left_gray.svg");
}

.c-pagination__arrow--next {
	background-image: url("../img/news/icon_right_gray.svg");
}

.c-pagination__arrow.is-disabled {
	pointer-events: none;
}

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

	.p-news-list .c-section-heading {
		justify-content: flex-start;
	}

	.p-news-list__items {
		margin-top: 48px;
	}

	.p-news-list__item a {
		grid-template-columns: 1fr 20px;
		gap: 8px 16px;
		padding: 18px 0;
		font-size: 15px;
	}

	.p-news-list__item time {
		grid-column: 1 / 2;
	}

	.p-news-list__title {
		grid-column: 1 / 2;
	}

	.p-news-list__icon {
		grid-column: 2 / 3;
		grid-row: 1 / 3;
		width: 10px;
		height: 18px;
	}

	.c-pagination {
		gap: 12px;
		margin-top: 52px;
		font-size: 14px;
	}

	.c-pagination__number,
	.c-pagination__arrow {
		width: 42px;
		height: 42px;
	}

	.c-pagination__arrow {
		background-size: 14px auto;
	}
}


/* =========================================================
  English NEWS page only
========================================================= */

.is-en .p-news-list .c-section-heading__ja::after {
	display: none;
}

/* =========================================================
  News List Heading
========================================================= */

.p-news-list {
	margin-top: clamp(-80px, -4vw, -40px);
}

.p-news-list__heading {
	position: relative;
	margin-bottom: clamp(34px, 3.5vw, 56px);
	padding-left: 24px;
	color: #333;
	font-size: clamp(22px, 2.2vw, 36px);
	font-weight: 400;
	line-height: 1.4;
}

.p-news-list__heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 6px;
	height: 1.2em;
	background: linear-gradient(to bottom, #9b001d, #f20012);
}

.p-news-list__items {
	margin-top: clamp(36px, 4vw, 56px);
}

@media (max-width: 767px) {
	.p-news-list {
		margin-top: -20px;
	}

	.p-news-list__heading {
		margin-bottom: 28px;
		font-size: 22px;
	}
}

/* NEWSページのみ 右側の赤い縦線を消す */
.p-news-list .c-section-heading__ja::after {
	display: none;
}

/* =========================================================
  Custom Override
  News List Color / Arrow
========================================================= */

.p-news-list__item time {
	color: #f20012;
}

.p-news-list__item .c-arrow {
	justify-self: end;
	align-self: center;
	color: #f20012;
}


