/* ローディング画面のスタイル */
.bl_loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, #64bcbe 0%, #f59b5f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  opacity: 1;
  visibility: visible;
}

.bl_loading.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bl_loading_inner {
  text-align: center;
  animation: fadeInUp 0.8s ease forwards;
}

.bl_loading_logo {
  width: 200px;
  margin: 0 auto 40px;
}

.bl_loading_logo img {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
}

.bl_loading_spinner {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 30px;
}

.bl_loading_spinner span {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.bl_loading_spinner span:nth-child(1) {
  animation-delay: -0.32s;
}

.bl_loading_spinner span:nth-child(2) {
  animation-delay: -0.16s;
}

.bl_loading_spinner span:nth-child(3) {
  animation-delay: -0.08s;
}

.bl_loading_spinner span:nth-child(4) {
  animation-delay: 0s;
}

.bl_loading_text {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* アニメーション定義 */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .bl_loading_logo {
    width: 150px;
    margin-bottom: 30px;
  }

  .bl_loading_spinner {
    gap: 6px;
    margin-bottom: 20px;
  }

  .bl_loading_spinner span {
    width: 10px;
    height: 10px;
  }

  .bl_loading_text {
    font-size: 16px;
  }
}
