/* ---------- ベーススタイル ---------- */
body {
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  background-color: #f0f8ff;
  color: #333;
}

a {
  color: #005bac;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* ---------- ナビゲーションバー ---------- */
.navbar {
  position: sticky;
  top: 0;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 960px;
  margin: 0 auto;
}

.logo {
  height: 40px;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-weight: bold;
  color: #003366;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #003366;
  margin: 3px 0;
  transition: 0.3s;
}

/* ---------- ヒーローエリア ---------- */
.hero {
  position: relative;
  text-align: center;
  color: white;
}

.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 10px;
}

.hero-text h1 {
  font-size: 3rem;
  margin: 0;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin: 0.5rem 0;
}

.hero-text p {
  font-size: 1.2rem;
}

/* ---------- セクション ---------- */
section {
  padding: 2rem 0;
}

h2 {
  font-size: 2rem;
  color: #003366;
  border-left: 6px solid #005bac;
  padding-left: 0.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  color: #005bac;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* ---------- キャスト ---------- */
.cast-grid {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cast-member {
  text-align: center;
  width: 200px;
}

.cast-member img {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cast-member p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.cast-member strong {
  display: block;
  margin-bottom: 0.3rem;
  color: #003366;
}

/* ---------- 公演概要 ---------- */
.info-block {
  margin-bottom: 2rem;
}

/* ---------- ハイライトボックス ---------- */
.highlight-box {
  background-color: #005bac;
  color: white;
  padding: 1rem;
  font-weight: bold;
  text-align: center;
  border-left: 8px solid #003f7f;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* ---------- ガイドライン ---------- */
.guide h3 {
  margin-top: 2rem;
}

.guide p {
  margin-bottom: 1rem;
}

/* ---------- フッター ---------- */
footer {
  background-color: #f26da9;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

/* ---------- レスポンシブ対応 ---------- */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text h2 {
    font-size: 1.2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
    padding: 2rem 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .cast-grid {
    flex-direction: column;
    align-items: center;
  }

  .cast-member {
    width: 80%;
    max-width: 250px;
  }

  h2 {
    font-size: 1.6rem;
  }

  section {
    margin: 1rem auto;
    padding: 1.5rem;
  }
}