/**
 * ページ送り（白丸矢印 + 番号 + 現在ページの短い下線）
 */

.theme-edance-pro-lab .p-column-archive .navigation.pagination,
.theme-edance-open-class .p-column-archive .navigation.pagination {
	color: #fff;
}

.theme-edance-pro-lab .navigation.pagination,
.theme-edance-open-class .navigation.pagination,
.p-campus-news__pagination,
.p-hub-instructor__pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin-top: 30px;
	padding: 30px 0;
	color: #111;
}

.p-hub-instructor__pager {
	color: #fff;
}

.theme-edance-pro-lab .navigation.pagination h2,
.theme-edance-open-class .navigation.pagination h2 {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	border: 0;
}

.theme-edance-pro-lab .navigation.pagination .nav-links,
.theme-edance-open-class .navigation.pagination .nav-links,
.p-campus-news__pagination > .page-numbers,
.p-hub-instructor__pager .p-pager__pages {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-campus-news__pagination li {
	display: flex;
}

.theme-edance-pro-lab .navigation.pagination a.page-numbers:not(.prev):not(.next),
.theme-edance-pro-lab .navigation.pagination span.page-numbers:not(.prev):not(.next),
.theme-edance-open-class .navigation.pagination a.page-numbers:not(.prev):not(.next),
.theme-edance-open-class .navigation.pagination span.page-numbers:not(.prev):not(.next),
.p-campus-news__pagination a.page-numbers:not(.prev):not(.next),
.p-campus-news__pagination span.page-numbers:not(.prev):not(.next),
.p-hub-instructor__pager .p-pager__pages a,
.p-hub-instructor__pager .p-pager__pages span {
	display: inline-block;
	min-width: 0;
	height: auto;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-family: var(--ff-en);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.15;
	text-align: center;
	text-decoration: none;
}

.theme-edance-pro-lab .navigation.pagination .current,
.theme-edance-open-class .navigation.pagination .current,
.p-campus-news__pagination .current,
.p-hub-instructor__pager .is-current {
	position: relative;
	background: transparent;
	color: inherit;
}

.theme-edance-pro-lab .navigation.pagination .current::after,
.theme-edance-open-class .navigation.pagination .current::after,
.p-campus-news__pagination .current::after,
.p-hub-instructor__pager .is-current::after {
	content: "";
	position: absolute;
	top: calc(100% + 4px);
	left: 50%;
	width: 18px;
	height: 5px;
	background: currentColor;
	transform: translateX(-50%);
}

.theme-edance-pro-lab .navigation.pagination a.prev.page-numbers,
.theme-edance-pro-lab .navigation.pagination a.next.page-numbers,
.theme-edance-open-class .navigation.pagination a.prev.page-numbers,
.theme-edance-open-class .navigation.pagination a.next.page-numbers,
.p-campus-news__pagination a.prev.page-numbers,
.p-campus-news__pagination a.next.page-numbers,
.p-pager__arrow {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	min-width: 50px;
	padding: 0;
	border: 0;
	position: relative;
	border-radius: 999px;
	background: #fff;
	color: #111;
	font-size: 0;
	line-height: 0;
	text-decoration: none;
}

.theme-edance-pro-lab .navigation.pagination a.prev.page-numbers,
.theme-edance-open-class .navigation.pagination a.prev.page-numbers,
.p-campus-news__pagination a.prev.page-numbers {
	margin-right: 12px;
}

.theme-edance-pro-lab .navigation.pagination a.next.page-numbers,
.theme-edance-open-class .navigation.pagination a.next.page-numbers,
.p-campus-news__pagination a.next.page-numbers {
	margin-left: 12px;
}

.theme-edance-pro-lab .navigation.pagination a.prev.page-numbers::before,
.theme-edance-pro-lab .navigation.pagination a.next.page-numbers::before,
.theme-edance-open-class .navigation.pagination a.prev.page-numbers::before,
.theme-edance-open-class .navigation.pagination a.next.page-numbers::before,
.p-campus-news__pagination a.prev.page-numbers::before,
.p-campus-news__pagination a.next.page-numbers::before,
.p-pager__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 25px;
	height: 25px;
	background-color: #111;
	transform: translate(-50%, calc(-50% + 2px));
	mask-image: url("/wp-content/themes/edance-parent/assets/img/icon/btn-arrow.svg");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-image: url("/wp-content/themes/edance-parent/assets/img/icon/btn-arrow.svg");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}

.theme-edance-pro-lab .navigation.pagination a.prev.page-numbers::before,
.theme-edance-open-class .navigation.pagination a.prev.page-numbers::before,
.p-campus-news__pagination a.prev.page-numbers::before,
.p-pager__arrow--prev::before {
	transform: translate(-50%, calc(-50% + 2px)) scaleX(-1);
}
