@charset "utf-8";

/*========= LoadingのためのCSS ===============*/


/* Loading背景画面設定　*/

#splash {
    /*fixedで全面に固定*/
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    text-align: center;
    color: #fff;
    left: 0;
}


/* Loading画像中央配置　*/

#splash_text {
    position: absolute;
    top: 15%;
    left: 50%;
    z-index: 999;
    transform: translate(-50%, -50%);
    color: #0071b7;
    width: 100%;
    font-size: 1.6rem;
    font-weight: 500;
}


/*IE11対策用バーの線の高さ※対応しなければ削除してください*/

#splash_text svg {
    height: 2px;
    margin-top: 90px;
}

.progressbar-text {
    font-size: 1.6rem;
    font-weight: 500;
}


/*割れる画面のアニメーション*/

.loader_cover {
    width: 100%;
    height: 64%;
    background-color: #fff;
    transition: all .2s cubic-bezier(.04, .435, .315, .9);
    transform: scaleY(1);
}


/*上の画面*/

.loader_cover-up {
    transform-origin: center top;
    background-image: url(../images/company/logo.png);
    background-size: 576px 134px;
    background-position: bottom 90px center;
    background-repeat: no-repeat;
}

@media(max-width:768px) {
    .loader_cover-up {
        background-image: url(../images/company/logo.png);
        background-size: 288px 67px;
    }
}


/*下の画面*/

.loader_cover-down {
    position: absolute;
    bottom: 0;
    transform-origin: center bottom;
    height: 36%;
}


/*クラス名がついたらY軸方向に0*/

.coveranime {
    transform: scaleY(0);
}


/*========= レイアウトのためのCSS ===============*/

#container {
    width: 100%;
    height: 100vh;
    background: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

a {
    color: #333;
}

a:hover {
    text-decoration: none;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    z-index: 9000;
    animation-duration: 2s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
    background-image: url(../images/index/bg-loading.jpg);
}

#loading::after {
    content: "";
    width: 730px;
    height: 582px;
    background-size: 100% 100%;
    position: absolute;
    right: -68px;
    bottom: -168px;
    background-image: url(../images/index/loading-right.svg);
}

#loading::before {
    content: "";
    width: 730px;
    height: 582px;
    background-size: 100% 100%;
    position: absolute;
    left: -68px;
    top: -148px;
    background-image: url(../images/index/loading-left.svg);
}

#loading .loading-inner img {
    width: 495px;
}
@media (max-width: 768px) {
    #loading::after {
        content: "";
        width: 360px;
        height: 290px;
        background-size: 100% 100%;
        position: absolute;
        right: -34px;
        bottom: -88px;
        background-image: url(../images/index/loading-right.svg);
    }

    #loading::before {
        content: "";
        width: 360px;
        height: 290px;
        background-size: 100% 100%;
        position: absolute;
        left: -34px;
        top: -74px;
        background-image: url(../images/index/loading-left.svg);
    }

}