/* ── タイトル画面 ─────────────────────────── */
#title-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

#title-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ロゴだけ中央に配置。ボタンはabsoluteで画面下部に固定 */
#title-content {
  position: static;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#title-logo {
  width: 900px;
  height: 420px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.8));
}

#title-logo-text {
  font-size: 80px;
  font-weight: bold;
  color: #ffd700;
  letter-spacing: 12px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.8), 0 0 40px rgba(255,215,0,0.4);
}

#title-start-btn {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 6px;
  padding: 20px 80px;
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
  border: 3px solid #ffd700;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  animation: titleBtnPulse 2s ease-in-out infinite;
  white-space: nowrap;
}

#title-start-btn:hover {
  background: rgba(255, 215, 0, 0.3);
}

#title-start-btn:active {
  opacity: 0.8;
}

@keyframes titleBtnPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
