#logo_loader {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    background: var(--color-theme);
}
#logo_loader .f_logo {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 200px;
    height: 500px;
    text-align: center;
    color: #fff;
    font-size: 30px;
}


#logo_loader .f_logo img {
    width: 100%;
    height: auto;
}
/*ロゴマークを隠します。*/
#logo_loader .f_logo:before {
    content: "";
    display: block;
    width: 100%;
    height: 170%;
    background: var(--color-theme);
    position: absolute;
    top: 0;
    left: 100%;
    animation: loadLogo 1.2s;
}
@media only screen and ( max-width : 768px ) {
    #logo_loader .f_logo {
    
    width: 150px;
    height: 200px;
    
}
    #logo_loader .f_logo {
    
    width: 150px;
    height: 200px;
    
}
}
/*
@keyframesでアニメーションさせます*/
@keyframes loadLogo {
  0% {
    left: 0;
  }
  50% {
    left: 0;
  }
  100% {
    left: 100%;
  }
}

/*プロパティにキーフレームを適用する*/
#logo_loader .f_logo:before {
    animation: loadLogo 1.2s;
}
/*ロゴのアニメーションが終わったら、こいつらにどいてもらわないと、WEBサイトのコンテンツが表示されません。なので、こっちは時間差で別のanimationを入れる必要があります。*/
#logo_loader.open {
    animation-name: slideOut;
    animation-fill-mode: forwards;
    animation-duration: 1.5s;
    animation-delay: 1.5s;
}

@keyframes slideOut {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(100%);
  }
}