main .hero {
	display: grid;
}

main .hero > * {
	grid-area: 1 / 1;
}

main .hero .hero-text {
	padding: 5px;
	color: var(--color-white);
	font-weight: bold;
	text-shadow:
		-3px -3px 10px var(--color-tertiary),
		3px -3px 10px var(--color-tertiary),
		-3px 3px 10px var(--color-tertiary),
		3px 3px 10px var(--color-tertiary);
	text-align: center;
    align-self: center;
    justify-self: center;
}

main #images {
	position: relative;
	width: 100%;
	padding-top: calc(100% * (9 / 16));
	display: flex;
	justify-content: center;
	align-items: center;
}

main #images .scene {
	position: absolute;
	inset: 0px;
	perspective: 500px;
}

main #images .roller {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transition: transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

main #images .roller .image {
	position: absolute;
	inset: 0px;
	backface-visibility: visible;
	background-image: var(--url);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

main #images .roller .image.back {
	transform: rotateX(180deg) translateZ(1px);
}

/* 
@keyframes spin {
	from {
		transform: rotateX(0deg);
	}
	to {
		transform: rotateX(360deg);
	}
}
 */
/* 
main #particles {
	width: 100%;
	padding-top: calc(100% * (9 / 16));
	position: relative;
	display: block;
}

main #canvas {
	width: 100%;
	height: 100%;
	position: absolute;
	inset: 0px;
	background-color: transparent;
}
 */


/* **************************************************
	▽ PC画面 ▽
************************************************** */
@media (min-width: 576px) {
	main .hero {
		margin-top: 30px;
	}

	main .hero div {
		font-size: 4.5rem;
	}

	main .hero-text span {
		display: inline;
	}
}
/* **************************************************
	△ PC画面 △
************************************************** */


/* **************************************************
	▽ スマホ画面 ▽
************************************************** */
@media(max-width: 575px) {
	main .hero {
		margin-top: 10px;
	}

	main .hero div {
		font-size: 3rem;
	}

	main .hero-text span {
		display: block;
	}
}
/* **************************************************
	△ スマホ画面 △
************************************************** */
