@charset "utf-8";

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

.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("/assets/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("/assets/img/news/icon_left_gray.svg");
}

.c-pagination__arrow--next {
	background-image: url("/assets/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;
	}
}

/* =========================================================
  Custom Override
  News List Design
========================================================= */

.p-news-list__item a {
	border-bottom: 1px solid var(--color-border);
}

.p-news-list__item:first-child a {
	border-top: 1px solid var(--color-border);
}

.p-news-list__icon {
	background-image: none;
}

.p-news-list__icon.c-arrow {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: auto;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: rotate(45deg);
}

@media (max-width: 767px) {
	.p-news-list__icon.c-arrow {
		width: 6px;
		height: 6px;
	}
}

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

.p-news-list__item time,
.p-news-list__item .c-arrow {
	color: var(--color-primary);
}

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

/* =========================================================
  Custom Override
  News List EN Layout - PC only
========================================================= */

@media (min-width: 768px) {

	.is-en .p-news-list__item a {
		grid-template-columns: 260px minmax(0, 1fr) 34px;
		column-gap: 28px;
	}

	.is-en .p-news-list__title {
		min-width: 0;
		line-height: 1.5;
	}

}