@charset "UTF-8";

/* ===== News list styles (shared with top page) ===== */
.p-news {
	padding-top: 80px;
}

.p-news .c-button {
	margin: 30px auto 0;
}

/* ===== Select dropdown for category filtering ===== */
.p-news .p-select {
	position: relative;
	display: block !important;
	max-width: 380px !important;
	width: 100%;
	z-index: 0;
	margin: 0 auto 30px;
}

.p-news .p-select::after {
	display: none !important;
}

.p-news .p-select .selectArrow {
	display: none;
}

.p-news .p-select .selectArrow:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 10px solid #fff;
}

@media (min-width: 811px) {
	.p-news .p-select .selectArrow:before {
		border-left: 8.5px solid transparent;
		border-right: 8.5px solid transparent;
		border-top: 16px solid #fff;
	}
}

.p-news .p-select select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	padding: 0 20px;
	font-size: 1.6rem;
	max-width: 380px;
	width: 100%;
	height: 52px;
	border: 3px solid #f39800;
	background-color: #f39800;
	border-radius: 25px;
	letter-spacing: -0.1em;
	color: #fff;
	line-height: 1;
	cursor: pointer;
	transition: background-color .3s, color .3s;
	text-align: center;
	text-align-last: center;
}

.p-news .p-select option {
	background-color: #fff;
	color: #000;
}

.p-newsList {
	margin: 30px auto 0;
	max-width: 720px;
	width: 100%;
}

.p-newsList__item {
	border-bottom: 1px dashed #000;
}

.p-newsList__item .p-newsList__link {
	padding: 15px 10px;
}

.p-newsList__link {
	display: flex;
	align-items: center;
	flex-direction: column;
	align-items: start;
	gap: 10px 0;
	text-decoration: none;
}

.p-newsList__item .newsInfo {
	display: flex;
	align-items: center;
	gap: 0 15px;
}

.p-newsList__item .cate {
	position: relative;
	font-size: 1.5rem;
	width: 120px;
	height: 25px;
	background-color: #000;
	transition: background-color .3s;
}

.p-newsList__item .cateText {
	position: absolute;
	top: 55%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #fff;
	white-space: nowrap;
}

.p-newsList__item .date {
	white-space: nowrap;
	line-height: 1;
}

.p-newsList__item .title {
	display: -webkit-box;
	display: box;
	-webkit-box-orient: vertical;
	box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	font-feature-settings: "palt";
	font-size: 1.8rem;
	line-height: 1.6;
	letter-spacing: .06em;
	overflow: hidden;
	width: 100%;
}

.p-newsList__item .title .c-fontNM {
	font-size: inherit;
}

.p-newsList__link:hover .cate {
	background-color: #ee7d80;
}

.p-newsList__item:nth-child(1) { transition-delay: .03s; }
.p-newsList__item:nth-child(2) { transition-delay: .06s; }
.p-newsList__item:nth-child(3) { transition-delay: .09s; }
.p-newsList__item:nth-child(4) { transition-delay: .12s; }
.p-newsList__item:nth-child(5) { transition-delay: .15s; }
.p-newsList__item:nth-child(6) { transition-delay: .18s; }
.p-newsList__item:nth-child(7) { transition-delay: .21s; }
.p-newsList__item:nth-child(8) { transition-delay: .24s; }
.p-newsList__item:nth-child(9) { transition-delay: .27s; }
.p-newsList__item:nth-child(10) { transition-delay: .3s; }
.p-newsList__item:nth-child(n+11) { transition-delay: .3s; }

/* ===== Pagination ===== */
.p-news .p-pager {
	display: block;
	position: relative;
	margin: 60px auto 0;
	width: 300px;
}

@media (min-width: 501px) {
	.p-news .p-pager {
		margin: 70px auto 0;
		width: 380px;
	}
}

@media (min-width: 811px) {
	.p-news .p-pager {
		margin: 80px auto 0;
		width: 430px;
	}
}

.p-news .p-pager li {
	margin: 0 2px;
}

@media (min-width: 651px) {
	.p-news .p-pager li {
		margin: 0 4px;
	}
}

.p-news .page-numbers {
	display: flex;
	justify-content: center;
}

.p-news .page-numbers a,
.p-news .page-numbers span {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	font-size: 1.8rem;
	transition: background-color .3s, color .3s;
	line-height: 1;
	width: 30px;
	height: 30px;
	z-index: 2;
}

@media (min-width: 501px) {
	.p-news .page-numbers a,
	.p-news .page-numbers span {
		width: 35px;
		height: 35px;
		font-size: 2rem;
	}
}

.p-news .page-numbers a:not(.current):not(.prev):not(.next) {
	border: 2px solid #000;
	border-radius: 50%;
}

.p-news .page-numbers a:not(.current):not(.prev):not(.next):hover {
	color: #fff;
	background-color: #000;
}

.p-news .page-numbers .current {
	border: 2px solid #000;
	border-radius: 50%;
	color: #fff;
	background-color: #000;
}

.p-news .page-numbers .dots {
	pointer-events: none;
}

.p-news .page-numbers .prev,
.p-news .page-numbers .next {
	position: relative;
	width: 30px;
	height: 30px;
	transition: transform .3s;
}

@media (min-width: 501px) {
	.p-news .page-numbers .prev,
	.p-news .page-numbers .next {
		width: 40px;
		height: 40px;
	}
}

.p-news .page-numbers .prev::before,
.p-news .page-numbers .next::before {
	content: "";
	position: absolute;
	top: 50%;
	width: 5px;
	height: 5px;
	border: 1px solid;
	border-color: #000 #000 transparent transparent;
	transform: translateY(-50%) rotate(45deg);
}

.p-news .page-numbers .next::before {
	right: 12px;
}

.p-news .page-numbers .prev::before {
	left: 12px;
	right: auto;
	transform: translateY(-50%) rotate(-135deg);
}

@media (min-width: 501px) {
	.p-news .page-numbers .next::before {
		right: 15px;
	}

	.p-news .page-numbers .prev::before {
		left: 15px;
		right: auto;
	}
}

@media (min-width: 651px) {
	.p-newsList__link {
		flex-direction: row;
		gap: 0 30px;
		align-items: center;
	}
}
