@charset "utf-8";
/* CSS Document */

/* ------------------------ パソコン ------------------------ */
@media only screen and (min-width: 768px) {

	html, body {
		height: 100%;
	}

}

/* Three.js キャンバスは背景のメインビジュアルの上に重�EめE*/
#opening-animation-canvas {
	position: fixed;
	inset: 0;
	width: 100vw;
	height: 100vh;
	display: block;
	pointer-events: none; /* 背景の操作を邪魔しなぁE*/
	z-index: 200;
}

#opening-logo {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 350px;
	max-width: 80vw;
	height: auto;
	transform: translate(-50%, -50%);
	display: block;
	pointer-events: none;
	z-index: 210;
	opacity: 1;
	transition: opacity 0.6s ease;
}
#opening-logo.is-hidden {
	opacity: 0;
}

/* ------------------------ スマ�Eトフォン ------------------------ */
@media only screen and (max-width: 768px) {

#opening-logo {
	width: 350px;
	max-width: 50vw;
}

}

#smoke-container {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	overflow: hidden;
	z-index: 212;
	display: flex;
	justify-content: center;
	align-items: flex-end;
	opacity: 0;
	transition: opacity 120ms ease-out;
}
#smoke-container picture {
	width: 100%;
	height: auto;
}
#smoke-container.is-visible {
	opacity: 1;
}
#smoke-container .smoke-image {
	width: 100%;
	height: auto;
	transform: translateY(100%);
	opacity: 0;
}
#smoke-container .smoke-image.is-animating {
	animation: smokeSweep 2s linear forwards;
}



@keyframes smokeSweep {
	0% {
		transform: translateY(100%);
		opacity: 1;
	}
	10% {
		opacity: 1;
	}
	70% {
		opacity: 1;
	}
	95% {
		opacity: 0;
	}
	100% {
		transform: translateY(-120%);
		opacity: 0;
	}
}


html.is-initial-loading {
	background: #fff;
}
html.is-initial-loading body {
	background: #fff;
	overflow: hidden;
}
html.is-initial-loading .hero {
	visibility: hidden;
}
#initial-loading-overlay {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	z-index: 2147483647;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}
#initial-loading-overlay img {
	width: 100px;
	height: 100px;
	animation: initialLoadingSpin 1.2s linear infinite;
	transform-origin: 50% 50%;
}
#initial-loading-overlay.is-hidden {
	opacity: 0;
	visibility: hidden;
}
@keyframes initialLoadingSpin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s ease, visibility 0s linear 0.6s;
    z-index: 180;
}

body.loading {
    background: #fff;
}

body.loading::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.6s ease, visibility 0s linear 0s;
}

body.opening-loaded::before {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body.loading::before {
        transition: opacity 0.2s linear, visibility 0s linear 0s;
    }
}

