
.hero {
	position: fixed;
	pointer-events: none;
}

.hero > .hero-image {
	width: 100vw;
	height: 400px;

	/* cube sentering */
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero > .hero-image > .cube {
	/* cube size */
	--size: 150px;
	/* cube font */
	font-family: "Zen Maru Gothic";
	font-weight: 900;
	font-size: 60px;
	color: #555;
	/* cube animation */
	animation:
		rotation 5s linear infinite,
		float 4s ease-in-out infinite;
}

@keyframes rotation {
	0% { transform: rotateX(-20deg) rotateY(0); }
	100% { transform: rotateX(-20deg)  rotateY(-360deg); }
}

@keyframes float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 -20px; }
}

.hero-image > .cube-shadow {
	position: absolute;
	transform: translateY(12:0px);
	width: 100px;
	height: 50px;
	border-radius: 50%;
	background: #000;
	filter: blur(10px);
}

.hero > .hero-title {
	text-align: center;
	color: #ddd;
}

.hero .hero-title .suptitle {
	font-size: 1.4em;
}

.hero .hero-title .title {
	font-size: 4em;
}

.hero .hero-title .bar {
	border: .15em solid #444;
	width: 4em;
	position: relative;
	margin: 0 auto;
	margin-bottom: 1em;
}

.hero .hero-title .v {
	margin: 4rem auto 0;
	width: 3em; height: 3em;
	animation: v-float 3s ease-in-out infinite;
}

.hero .v:before {
	content: ""; display: block;
	width: 100%; height: 100%;
	color: #444;
	border-bottom: solid .4em;
	border-right: solid .4em;
	border-radius: .2em;
	transform: rotate(45deg);
}

@keyframes v-float {
	0%, 100% { translate: 0 0; }
	50% { translate: 0 20px; }
}

/* opening animation setting */
.loading .hero .hero-image { opacity: 0; }
.opening .hero .hero-image { transition: opacity 3s .5s ease-in-out; }

.loading .hero .suptitle { opacity: 0; }
.opening .hero .suptitle { transition: opacity .5s 2s ease-in-out; }

.loading .hero .title { opacity: 0; }
.opening .hero .title { transition: opacity .5s 2.3s ease-in-out; }

.loading .hero .bar { opacity: 0; }
.opening .hero .bar { transition: opacity .5s 2.6s ease-in-out; }

.loading .hero .subtitle { opacity: 0; }
.opening .hero .subtitle { transition: opacity .5s 2.9s ease-in-out; }

.loading .hero .v { opacity: 0; }
.opening .hero .v { transition: opacity .5s 4s ease-in-out; }



