* {
	box-sizing: border-box;
}

:root {
	--bg: hsl(0, 0%, 10%);
	--min-size: 200px;
}

/* カルーセル部分だけ */
.boxes-wrapper {
	display: grid;
	place-items: center;
	width: 100%;
	height: 780px;
	overflow: hidden;
	position: relative;
	background: var(--bg);
	transform: unset !important;
}
.pin-spacer {
	height: unset !important;
	padding: 0 !important;
	all: initial !important;
}
.drag-proxy {
	visibility: hidden;
	position: absolute;
}

.controls {
	position: absolute;
	top: calc(50% + clamp(var(--min-size), 20vmin, 20vmin));
	left: 50%;
	transform: translate(-50%, -50%) scale(1.5);
	display: flex;
	justify-content: space-between;
	min-width: var(--min-size);
	height: 44px;
	width: 20vmin;
	z-index: 300;
}

.boxes-wrapper button {
	height: 2rem;
	width: 2rem;
	border-radius: 50%;
	position: absolute;
	top: 0%;
	outline: transparent;
	cursor: pointer;
	background: none;
	appearance: none;
	border: 0;
	transition: transform 0.1s;
	transform: translate(0, calc(var(--y, 0)));
}

.boxes-wrapper button::before {
	border: 2px solid hsl(0, 0%, 90%);
	background: linear-gradient(hsla(0, 0%, 80%, 0.65), hsl(0, 0%, 0%)) hsl(0, 0%, 0%);
	content: '';
	box-sizing: border-box;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: 80%;
	width: 80%;
	border-radius: 50%;
}

.boxes-wrapper button:active::before {
	background: linear-gradient(hsl(0, 0%, 0%), hsla(0, 0%, 80%, 0.65)) hsl(0, 0%, 0%);
}

.boxes-wrapper button:nth-of-type(1) {
	right: 100%;
}

.boxes-wrapper button:nth-of-type(2) {
	left: 100%;
}

.boxes-wrapper button span {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

.boxes-wrapper button:hover {
	--y: -5%;
}

.boxes-wrapper button svg {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(0deg) translate(2%, 0);
	height: 30%;
	fill: hsl(0, 0%, 90%);
}

.boxes-wrapper button:nth-of-type(1) svg {
	transform: translate(-50%, -50%) rotate(180deg) translate(2%, 0);
}

.boxes-wrapper .scroll-icon {
	height: 30px;
	position: fixed;
	top: 1rem;
	right: 1rem;
	color: hsl(0, 0%, 90%);
	animation: action 4s infinite;
}

@keyframes action {
	0%,
	25%,
	50%,
	100% {
		transform: translate(0, 0);
	}
	12.5%,
	37.5% {
		transform: translate(0, 25%);
	}
}

.boxes-wrapper .boxes {
	height: 100%;
	width: 100%;
	overflow: visible; /* 右スワイプで隠れないように変更 */
	position: absolute;
	transform-style: preserve-3d;
	perspective: 750px;
	touch-action: none;
}

.boxes-wrapper .box {
	transform-style: preserve-3d;
	position: absolute;
	top: 50%;
	left: 50%;
	height: 20vmin;
	width: 20vmin;
	min-height: var(--min-size);
	min-width: var(--min-size);
	display: none;
}

.boxes-wrapper .box::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100%;
	width: 100%;
	background-image: var(--src);
	background-size: cover;
	transform: translate(-50%, -50%) rotate(180deg) translate(0, -100%) translate(0, -0.5vmin);
	opacity: 0.75;
}

.boxes-wrapper .box::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	height: 100%;
	width: 100%;
	background: linear-gradient(var(--bg) 50%, transparent);
	transform: translate(-50%, -50%) rotate(180deg) translate(0, -100%) translate(0, -0.5vmin) scale(1.01);
	z-index: 2;
}

.boxes-wrapper .box:nth-of-type(odd) {
	/* background: hsl(90, 80%, 70%); */
}

.boxes-wrapper .box:nth-of-type(even) {
	/* background: hsl(90, 80%, 40%); */
}

.boxes-wrapper .box span {
	display: none; /* ここで番号非表示 */
}

@supports (-webkit-box-reflect: below) {
	.boxes-wrapper .box {
		-webkit-box-reflect: below -5vmin linear-gradient(transparent 0 0%, #fff 250%);
	}

	.boxes-wrapper .box::after,
	.boxes-wrapper .box::before {
		display: none;
	}
}

.album-carousel {
	margin-top: 12%;
}

.album-carousel .cont_titile {
	margin-bottom: -10rem;
	color: #fff;
	position: relative;
	z-index: 1;
}
