@charset "UTF-8";

/* ローディング画面のスタイル */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* ローディングアニメーション */
.loaderlogo {
    width: auto;
    display: flex;
    align-items: baseline;
    gap: 0.15em;
    font-size: 36px;
    letter-spacing: 1em;
}
/* .loaderlogo {
    animation: leAboundTop ease infinite forwards;
} */

.leAboundTop span { 
    opacity: 0;
    animation-name: leAboundTop ease infinite forwards;
 }

.loaderlogo span:nth-child(1) {
    animation-delay: 0s;
}
.loaderlogo span:nth-child(2) {
    animation-delay: 0.05s;
}
.loaderlogo span:nth-child(3) {
    animation-delay: 0.1s;
}
.loaderlogo span:nth-child(4) {
    animation-delay: 0.15s;
}
.loaderlogo span:nth-child(5) {
    animation-delay: 0.2s;
}
.loaderlogo span:nth-child(6) {
    animation-delay: 0.25s;
}
.loaderlogo span:nth-child(7) {
    animation-delay: 0.3s;
}
.loaderlogo span:nth-child(8) {
    animation-delay: 0.35s;
}

.loaderlogo img {
    width: 1em;
    height: 100%;
}

@keyframes leAboundTop {
    0% {
        opacity: 0;
        gap: 0.8em;
    }
    50% {
        opacity: 1;
        transform: translateY(-0.5em);
        animation-timing-function: ease-in;
    }
}
/* .loader {
    width: 50px;
    height: 50px;
    border: 5px solid #cccccc;
    border-top: 5px solid #333333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
} */

/* @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} */

/* 非表示時のスタイル */
.hidden {
    opacity: 0;
    pointer-events: none;
}

/* フェードインアニメーション */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション 下から上へ縮小する*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleY(0);
    background-color: var(--color_primary);/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;

}

@keyframes PageAnime{
	0% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
	50% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:top;
	}
	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/

#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}