@charset "UTF-8";
/* ローダーのコンテナ */
#loader-wrapper {
  position: fixed; /* 画面全体に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* 半透明の白背景 */
  display: flex; /* Flexboxで中央揃え */
  flex-direction: column; /* 縦並び */
  justify-content: center; /* 垂直方向の中央 */
  align-items: center; /* 水平方向の中央 */
  z-index: 9999; /* 他のコンテンツより手前に表示 */
  transition: opacity 0.5s ease-out; /* フェードアウト用 */
}

.loader_logo {
  width: 40%;
  max-width: 400px;
}

/* ローダーのアニメーション */
.loader {
  margin: 20px auto;
  border: 8px solid #f3f3f3; /* ライトグレー */
  border-top: 8px solid #3498db; /* 青色 */
  border-radius: 50%; /* 円形 */
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite; /* 1秒で1周、無限に回転 */
  margin-bottom: 10px; /* Loading...テキストとの間隔 */
}

#loading-text, #elapsed-time-display {
  text-align: center;
  color: #fff;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* ローダー非表示時のスタイル */
#loader-wrapper.hidden {
  opacity: 0; /* 透明にしてフェードアウト */
  pointer-events: none; /* クリックイベントを無効化 (下層コンテンツにアクセス可能に) */
}

/* ページコンテンツの初期状態（最初は非表示） */
#content {
  display: none;
  /* JavaScriptでdisplay: block; に切り替える */
}