/* Calendar Slideshow */
.p-calendar-slideshow {
	margin: 30px auto;
	overflow: hidden;
	position: relative;
}

.p-calendar-slideshow__wrapper {
	position: relative;
	overflow: hidden;
}

.p-calendar-slideshow__track {
	display: flex;
	transition: transform 0.3s ease-out;
}

.p-calendar-slideshow__slide {
	flex: 0 0 100%;
	min-width: 100%;
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.p-calendar-slideshow__slide img {
	width: 85%;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* PC版: 画像の実際のサイズをmax-widthとして、センタリング */
@media screen and (min-width: 768px) {
	.p-calendar-slideshow__slide img {
		width: auto;
		max-width: 100%;
		margin: 0 auto;
	}
}

/* Arrow Buttons */
.p-calendar-slideshow__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.9);
	color: #333;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.p-calendar-slideshow__arrow:hover {
	background-color: rgba(255, 255, 255, 1);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.p-calendar-slideshow__arrow:active {
	transform: translateY(-50%) scale(0.95);
}

.p-calendar-slideshow__arrow--prev {
	left: 10px;
}

.p-calendar-slideshow__arrow--next {
	right: 10px;
}

.p-calendar-slideshow__arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

.p-calendar-slideshow__arrow:disabled:hover {
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Indicators */
.p-calendar-slideshow__indicators {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 15px;
}

.p-calendar-slideshow__indicator {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #d0d0d0;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.p-calendar-slideshow__indicator.active {
	background-color: #333;
}

.p-calendar-slideshow__indicator:hover {
	background-color: #666;
}

/* Responsive */
@media screen and (max-width: 767px) {
	.p-calendar-slideshow__arrow {
		width: 36px;
		height: 36px;
	}

	.p-calendar-slideshow__arrow--prev {
		left: 5px;
	}

	.p-calendar-slideshow__arrow--next {
		right: 5px;
	}
}
