@charset "UTF-8";

/*ローディング画面*/

#loading-bg {
  position: fixed; /* ローディング画面をスクロールを不可にする */
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* mobile viewport bug fix */
  min-height: -webkit-fill-available;
  background: #000;
  z-index: 9999999;
  text-align: center;

}

.loding-flex{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.img-wrap {
  overflow: hidden;
  position: relative;
  animation: flash 1s forwards;
  opacity: 0;
}


@keyframes flash {
    0%, 25%, 50%, 75%, 100%{
      opacity: 1;
     }
    12.5%, 37.5%, 62.5%, 87.5% {
     opacity: 0;
      }
    }


@media screen and (max-width: 601px) {
  #loading-bg{
    min-height: 100dvh;
  }
  .img-wrap img{
    width: 80%;
    height: auto;
  }

}
