/* 土曜ワイド劇場 オープニングアニメーション スタイル */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #000;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

h1 {
  margin-bottom: 20px;
  font-size: 24px;
}

.animation-container {
  position: relative;
  width: 100%;
  height: 450px;
  margin: 0 auto;
  background-color: #000;
  overflow: hidden;
  border-radius: 4px;
}

svg {
  width: 100%;
  height: 100%;
}

.controls {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  padding: 8px 16px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #555;
}

.title-overlay {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  z-index: 10;
  white-space: nowrap;
}

/* SVG フィルター用スタイル */
.blur-effect {
  filter: blur(8px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .animation-container {
    height: 350px;
  }
  
  .title-overlay {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .animation-container {
    height: 250px;
  }
  
  .title-overlay {
    font-size: 18px;
  }
}
