.popup-module {
	position: fixed;
	z-index: 99999;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.45);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.popup-module.is-hidden {
	display: none;
}

.popup-module__frame {
	position: relative;
	width: 500px;
	max-width: 100%;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
	border-radius: 12px;
	overflow: hidden;
}

.popup-module__slides {
	position: relative;
	width: 500px;
	height: 625px;
	max-width: 100%;
	overflow: hidden;
	background: #f5f5f5;
}

.popup-module__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.popup-module__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: translateX(0);
	z-index: 1;
}

.popup-module__link,
.popup-module__image {
	display: block;
	width: 100%;
	height: 100%;
}

.popup-module__image {
	object-fit: cover;
	background: #fff;
}

.popup-module__close {
	position: absolute;
	z-index: 3;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 26px;
	line-height: 30px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.popup-module__close i {
	font-size: 20px;
}

.popup-module__indicator {
	position: absolute;
	z-index: 2;
	top: 14px;
	left: 14px;
	min-width: 44px;
	padding: 5px 9px;
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.62);
	color: #fff;
	font-size: 13px;
	line-height: 1;
	text-align: center;
}

.popup-module__arrow {
	position: absolute;
	z-index: 2;
	top: 312.5px;
	transform: translateY(-50%);
	width: 38px;
	height: 48px;
	border: 0;
	background: rgba(0, 0, 0, 0.20);
	color: #fff;
	font-size: 42px;
	line-height: 42px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.popup-module__arrow i {
	font-size: 20px;
}

.popup-module__arrow--prev {
	left: 0;
}

.popup-module__arrow--next {
	right: 0;
}

.popup-module__pagination {
	position: absolute;
	z-index: 2;
	left: 0;
	bottom: 54px;
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.popup-module__pagination-button {
	width: 14px;
	height: 14px;
	padding: 0;
	border: 1px solid #fff;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	font-size: 0;
	line-height: 0;
	cursor: pointer;
}

.popup-module__pagination-button.is-active {
	background: #fff;
}

.popup-module__today {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	height: 42px;
	border: 0;
	border-top: 1px solid #e5e5e5;
	background: #fff;
	color: #333;
	font-size: 14px;
	cursor: pointer;
	text-align: left;
	padding: 0 16px;
}

.popup-module__today i {
	font-size: 16px;
}

@media (max-width: 540px) {
	.popup-module__slides {
		height: calc((100vw - 40px) * 1.25);
	}

	.popup-module__arrow {
		top: calc(((100vw - 40px) * 1.25) / 2);
	}
}
