@charset 'UTF-8';
/* ========================================
   Loading
======================================== */

.loading {
	position: fixed;
	inset: 0;
	z-index: 99999999;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	background: #747476;
	opacity: 1;
	visibility: visible;
	transition:
		opacity 0.6s ease,
		visibility 0.6s ease;
}

.loading.is-loaded {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

.loading__inner {
	display: flex;
	align-items: center;
	justify-content: center;
}

.loading__logo {
	display: block;
	width: min(200px, 50vw);
	height: auto;
	opacity: 0;
	transform: scale(0.96);
	animation: loadingLogo 1.2s ease forwards;
}

/* Prevent scrolling while loading */
body.is-loading {
	overflow: hidden;
}

/* Logo animation */
@keyframes loadingLogo {
	0% {
		opacity: 0;
		transform: scale(0.96);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.loading {
		transition-duration: 0.01ms;
	}

	.loading__logo {
		animation: none;
		opacity: 1;
		transform: none;
	}
}

/* SP */
@media screen and (max-width: 768px) {
	.loading__logo {
		width: min(160px, 45vw);
	}
}
@media screen and (max-width: 768px){

}