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

.loader-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 200;
  transition: opacity 0.5s ease;
}
.loader-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.loader-logo-mark {
  width: 48px; height: 48px;
  background: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}
.loader-logo-text {
  font-family: var(--font-h);
  font-size: 22px;
  font-weight: 800;
  color: white;
  letter-spacing: 0.04em;
}

.loader-subtitle {
  font-family: var(--font-h);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.loader-spinner {
  display: flex;
  gap: 6px;
}
.loader-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: loaderBounce 1.2s ease-in-out infinite;
}
.loader-dot:nth-child(2) { animation-delay: 0.15s; }
.loader-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes loaderBounce {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1); }
}
