/* ===================================================================
   AOKI REFORM — loading.css
   ローディングアニメーション
   =================================================================== */

.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FAF6F1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.loading-screen.fade-out {
  opacity: 0;
  transform: scale(1.1);
  pointer-events: none;
}

.loading-logo {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: 36px;
  color: #6B4C3B;
  letter-spacing: 0.08em;
  opacity: 0;
  transition: opacity 0.6s ease;
  margin-bottom: 12px;
}
.loading-logo.show { opacity: 1; }

.loading-catchcopy {
  font-family: 'Klee One', cursive;
  font-size: 18px;
  color: #6B6156;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #6B6156;
  width: 0;
  transition: none;
  margin-bottom: 28px;
}
.loading-catchcopy.typing {
  animation: typing 0.8s steps(12) forwards, blink-caret 0.5s step-end 3;
}
@keyframes typing {
  from { width: 0; }
  to { width: 13em; }
}
@keyframes blink-caret {
  50% { border-color: transparent; }
}

.loading-progress-bar {
  width: 200px;
  height: 2px;
  background: #D4CCC2;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loading-progress-bar .bar-fill {
  width: 0;
  height: 100%;
  background: #6B4C3B;
  border-radius: 2px;
  transition: none;
}
.loading-progress-bar .bar-fill.animate {
  animation: progress-fill 1.2s linear forwards;
}
@keyframes progress-fill {
  from { width: 0; }
  to { width: 100%; }
}
