
/* ロード画面 /////////////////////////////////////////////////////////////////////////////////////// */
#loading {
  width: 100%;
  height: 100%;
  /* 全体秒数 */
  transition: ease-out 0.5s 5s;
  background-color: #eee;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
}

#tips{
  margin: auto auto;
  width: 500px;
  margin-top: 40vh;
  max-width: 80%;
  padding: 30px;
  border: #222 double 4px;
}

#tips h1,p{
  text-align: center;
  user-select: none;
  padding-top: 20px;
}

.loaded {
  opacity: 0;
  visibility: hidden;
}

#percent {
  position: fixed;
  bottom: 60px;
  right: 140px;
  font-size: 20px;
  color: #666;
  animation: loading-opacity 2s ease-in-out 0.7s infinite;
}

#loading-bar {
  background: #666;
  position: fixed;
  bottom: 20px;
  left: 0px;
  height: 1.2px;
  width: 100%;
  animation: loading-bar linear 5.5s;
}

.loading-logo {
  width: 80px;
  position: fixed;
  bottom: 60px;
  right: 40px;
  animation: loading-rotate 2s ease-in-out 0.7s infinite, loading-opacity 2.5s ease-in-out 0.7s infinite;
}

@keyframes loading-rotate {
  0% {
    transform: rotate(0deg);
  }

  70% {
    transform: rotate(-390deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

@keyframes loading-opacity {
  0% {
    opacity: 90%;
  }

  75% {
    opacity: 50%;
  }

  100% {
    opacity: 90%;
  }
}

@keyframes loading-bar {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}