@charset "UTF-8";
/*========= LoadingのためのCSS ===============*/
/* Loading背景画面設定　*/
#splash {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #fff;
  text-align: center;
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#splash #splash_logo {
  position: relative;
  animation: fadeInScale 0.8s ease-out forwards;
}

#splash #splash_logo img {
  width: 120px;
}

@media screen and (max-width: 768px) {
  #splash #splash_logo {
    width: 80%;
  }
}

/* ロゴのフェードイン + スケールアニメーション */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* スピナー */
#splash .splash-spinner {
  margin-top: 40px;
  width: 40px;
  height: 40px;
  position: relative;
}

#splash .splash-spinner .dot {
  width: 8px;
  height: 8px;
  background: #28c3d5;
  border-radius: 50%;
  position: absolute;
  animation: spinnerDot 1.2s infinite ease-in-out both;
}

#splash .splash-spinner .dot:nth-child(1) {
  top: 0;
  left: 16px;
  animation-delay: -0.4s;
}

#splash .splash-spinner .dot:nth-child(2) {
  top: 16px;
  left: 32px;
  animation-delay: -0.3s;
}

#splash .splash-spinner .dot:nth-child(3) {
  top: 32px;
  left: 16px;
  animation-delay: -0.2s;
}

#splash .splash-spinner .dot:nth-child(4) {
  top: 16px;
  left: 0;
  animation-delay: -0.1s;
}

@keyframes spinnerDot {
  0%, 80%, 100% {
    transform: scale(0.4);
    opacity: 0.3;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ライン装飾 */
#splash .splash-line {
  margin-top: 30px;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #28c3d5, transparent);
  animation: lineExpand 1.5s ease-in-out infinite;
}

@keyframes lineExpand {
  0% {
    width: 0;
    opacity: 0;
  }
  50% {
    width: 60px;
    opacity: 1;
  }
  100% {
    width: 0;
    opacity: 0;
  }
}
