/* 共通設定 */
body {
    font-family: "Century Gothic", "Questrial", sans-serif;
    margin: 0;

}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    z-index: 20000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.center-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    width: max-content;
}

.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.animate-text span {
    opacity: 0;
    animation: typing 0.05s forwards;
    transition: opacity 0.4s ease;
}

@keyframes typing {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
    }
}

@keyframes fadeToGreen {
    0% {
        color: inherit;
    }

    100% {
        color: #24923A;
    }
}

.iw {
    display: inline-block;
    position: relative;
    z-index: 10;
}

#logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 2.5s cubic-bezier(0.33, 0, 0.33, 1);
}


/* スマホ版 */
@media screen and (max-width: 767px) {
    h3 {
        text-align: left;
        font-size: 1.4rem;
        font-weight: 400;
        letter-spacing: 0.04em;
        margin: 0;
        line-height: 1.8;
        white-space: nowrap;
    }

    #logo {
        width: 15rem;
    }

    @keyframes moveI {
        0% {
            transform: translate(0, 0) scale(1);
            opacity: 1;
        }

        100% {
            transform: translate(0, 25px) scale(1.15);
            opacity: 0;
        }
    }

    @keyframes moveW {
        0% {
            transform: translate(0, 0) scale(1);
            color: #24923A;
            opacity: 1;
        }

        100% {
            transform: translate(0, -25px) scale(1.15);
            color: #24923A;
            opacity: 0;
        }
    }
}


/* タブレット版 */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    h3 {
        text-align: left;
        font-size: 3rem;
        font-weight: 400;
        letter-spacing: 0.04em;
        margin: 0;
        line-height: 1.8;
        white-space: nowrap;
    }

    #logo {
        width: 32rem;
    }

    @keyframes moveI {
        0% {
            transform: translate(0, 0) scale(1);
            opacity: 1;
        }

        100% {
            transform: translate(0, 53px) scale(1.15);
            opacity: 0;
        }
    }

    @keyframes moveW {
        0% {
            transform: translate(0, 0) scale(1);
            color: #24923A;
            opacity: 1;
        }

        100% {
            transform: translate(0, -53px) scale(1.15);
            color: #24923A;
            opacity: 0;
        }
    }
}

/* ＰＣ版 */
@media screen and (min-width: 1024px) {
    h3 {
        text-align: left;
        font-size: 2rem;
        font-weight: 400;
        letter-spacing: 0.04em;
        margin: 0;
        line-height: 1.8;
        white-space: nowrap;
    }

    #logo {
        width: 26rem;
    }

    @keyframes moveI {
        0% {
            transform: translate(0, 0) scale(1);
            opacity: 1;
        }

        100% {
            transform: translate(0, 36px) scale(1.15);
            opacity: 0;
        }
    }

    @keyframes moveW {
        0% {
            transform: translate(0, 0) scale(1);
            color: #24923A;
            opacity: 1;
        }

        100% {
            transform: translate(0, -36px) scale(1.15);
            color: #24923A;
            opacity: 0;
        }
    }
}