@charset "utf-8";


/* 基本設定 */
.content {
    opacity: 0;
    pointer-events: none;
}
body.appear .content {
    animation-name: PageAnime-content;
    animation-duration: 0.55s;
    animation-delay: 0.55s;
    animation-fill-mode: forwards;
    opacity: 0;
    pointer-events: auto;
}
.animation .content {
    opacity: 1;
    pointer-events: auto;
}
@keyframes PageAnime-content {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* End 基本設定 */

/* （背景）フェードイン・フェードアウト設定 */
body.fade .animation-bg {
    background: #D8E9C9;
    content: "";
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    animation-name: PageAnime-fade;
    animation-duration: 0.3s;
    animation-delay: 0.8s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    pointer-events: none;
}
@keyframes PageAnime-fade {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
/* End （背景）フェードイン・フェードアウト設定 */

/* （ロゴ）フェードイン・フェードアウト設定 */
.animation-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    z-index: 1000;
    opacity: 0;
    animation: logoFadeIn 1s ease-out forwards, fadeOutLogo 1s ease-in-out 2s forwards;
}
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
@keyframes fadeOutLogo {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
/* End （ロゴ）フェードイン・フェードアウト設定 */
