/* ===== リセット ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== 共通 ===== */
body {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  height: 100vh;
  overflow: hidden;
  background: #000;
  color: #fff;
}

/* ===== 背景 ===== */
.bg {
  position: fixed;
  inset: 0;
  background: center / cover no-repeat;
  filter: brightness(0.75);
  z-index: -1;
}

/* ===== Loading ===== */
#loading {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.loading-box {
  text-align: center;
  letter-spacing: 0.3em;
}

.dots {
  margin-top: 0.5rem;
  animation: blink 1.5s infinite;
}

.fade-out {
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* ===== Progress Bar ===== */
.progress {
  width: 220px;
  height: 6px;
  margin-top: 1.2rem;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: #fff;
  transition: width 0.2s linear;
}

.progress-text {
  margin-top: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  opacity: 0.7;
}


/* ===== Home ===== */
.container {
  height: 100%;
  position: relative;
}

.hidden {
  opacity: 0;
}

.fade-in {
  opacity: 1;
  transition: opacity 1.5s ease;
}

/* ===== 時計エリア ===== */
.clock-wrap {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
}

/* 時計本体 */
.clock {
  display: flex;  
  align-items: flex-end;
  font-weight: 300; /* 極細 */
  text-shadow: 3px 4px 6px rgba(0,0,0,0.8);
}

.time-main {
  font-size: 3.6rem;
  letter-spacing: 0.08em;
}

.time-sec {
  font-size: 1.4rem;
  margin-left: 0.4rem;
  margin-bottom: 0.4rem;
  opacity: 0.8;
}

/* 日付 */
.date {
  margin-top: 0.4rem;
  font-size: 1.1rem;
  letter-spacing: 0.25em;
  opacity: 0.85;
  text-shadow: 2px 3px 5px rgba(0,0,0,0.8);
}

/* ===== アニメーション ===== */
@keyframes blink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

