/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.6;
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
  padding: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  margin-bottom: 2rem;
  font-weight: 900;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-date {
  font-size: clamp(1.5rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.date-small {
  font-size: 0.6em;
}

.hero-location {
  display: inline-block;
  border: 2px solid white;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-size: clamp(1rem, 2vw, 1.25rem);
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.1);
}

/* Navigation */
.main-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #152823;
  padding: 0.5rem 0;
  z-index: 20;
  transition: all 0.3s ease;
}

.main-nav.sticky {
  position: fixed;
  top: 0;
  bottom: auto;
  background: #152823;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  list-style: none;
}

.nav-link {
  color: white;
  transition: color 0.3s;
  font-weight: 500;
}

.nav-link:hover {
  color: #efc387;
}

.nav-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: white;
  color: #152823;
  font-weight: 700;
  transition: background 0.3s;
}

.nav-social:hover {
  background: #efc387;
}

.social-icon {
  font-weight: 700;
}

/* Notice Section */
.notice-section {
  background: white;
  padding: 2rem 0;
}

.notice-text {
  text-align: center;
  color: #dc2626;
  font-size: 1.125rem;
}

/* Introduction Section */
.intro-section {
  background: linear-gradient(to bottom, #152823, #969696);
  padding: 4rem 0 1rem 0;
  margin-top: -1rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.intro-text {
  color: white;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.text-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

.text-highlight {
  color: #ef4444;
}

.hover-image {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.hover-image:hover {
  transform: scale(1.05);
}

.image-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .image-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.center-text {
  text-align: center;
  margin-top: 2rem;
}

.section-subtitle {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  color: white;
  margin-bottom: 2rem;
}

/* Ticket Section */
.ticket-section {
  background: #152823;
  padding: 2rem 0;
}

.ticket-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .ticket-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ticket-card {
  border-radius: 0.5rem;
  padding: 2rem 1.5rem;
  color: white;
  text-align: center;
}

.ticket-card-purple {
  background: #2a336e;
}

.ticket-card-brown {
  background: #8b7355;
}

.ticket-card-green {
  background: #1a3a2e;
}

.ticket-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.ticket-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.ticket-button {
  display: inline-block;
  border: 1px solid white;
  border-radius: 0.25rem;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s;
}

.ticket-button:hover {
  background: white;
  color: inherit;
}

.ticket-card-purple .ticket-button:hover {
  color: #2a336e;
}

.ticket-card-brown .ticket-button:hover {
  color: #8b7355;
}

.ticket-card-green .ticket-button:hover {
  color: #1a3a2e;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #efc387;
  color: #152823;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #d4a866;
}

/* Outline Section */
.outline-section {
  background: linear-gradient(to bottom, #969696, #272727);
  padding: 4rem 0;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: white;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subheading {
  color: white;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

.outline-table {
  max-width: 56rem;
  margin: 0 auto;
  border-top: 1px dotted #6b7280;
}

.outline-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-bottom: 1px dotted #6b7280;
  padding: 1.5rem 0;
  color: white;
}

@media (min-width: 768px) {
  .outline-row {
    grid-template-columns: 200px 1fr;
  }
}

.outline-label {
  font-weight: 700;
}

.outline-value p {
  margin-bottom: 0.5rem;
}

.small-text {
  font-size: 0.875rem;
  margin-top: 1rem;
}

.map-button {
  display: inline-block;
  background: #727272;
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  margin-top: 0.5rem;
  transition: background 0.3s;
}

.map-button:hover {
  background: #4e4e4e;
}

.cta-button-alt {
  display: inline-block;
  background: #efc387;
  color: #152823;
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  margin-top: 2rem;
  transition: background 0.3s;
}

.cta-button-alt:hover {
  background: #d4a866;
}

/* YouTube Section */
.youtube-section {
  background: #272727;
  padding: 4rem 0;
}

.youtube-wrapper {
  max-width: 48rem;
  margin: 0 auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 0.5rem;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Highlight Section */
.highlight-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
  background: linear-gradient(to bottom, #272727, #ffed86);
}


.highlight-content {
  position: relative;
  z-index: 10;
}

.section-heading-dark {
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #ffffff;
  text-align: center;
  margin-bottom: 1rem;
}

.section-subheading-dark {
  color: #ffffff;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
}

.highlight-subsection {
  margin-bottom: 4rem;
}

.subsection-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #ffffff;
  margin-bottom: 2rem;
}

.subsection-text {
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.image-caption {
  text-align: center;
  font-size: 0.875rem;
  color: #ffffff;
  margin-top: 0.5rem;
}

.image-single {
  max-width: 42rem;
  margin: 0 auto 2rem;
}

.film-info {
  color: #152823;
  margin-bottom: 0.5rem;
}

.film-credits {
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.film-credits p {
  margin-bottom: 0.25rem;
}

/* Footer */
.footer {
  background: #152823;
  color: white;
  padding: 2rem 0;
}

.copyright-text {
  font-size: 0.75rem;
  line-height: 1.6;
  opacity: 0.8;
  margin-bottom: 1rem;
}

.studio-credit {
  text-align: center;
  font-size: 10px
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 50;
  background: white;
  color: #152823;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #efc387;
}

.arrow-icon {
  width: 1.5rem;
  height: 1.5rem;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .nav-list {
    gap: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
 .hero-section {
   min-height: auto; /* 画面の高さ(100vh)をやめて自動の高さに */
   background-color: #152823;
 }

 .hero-background {
  position: relative; /* 'absolute'から'relative'に変更し、画像の高さを反映させる */
  inset: auto;
 }

 .hero-image {
   height: 100%; /* '100%'から'auto'に変更 */
   object-fit: initial; /* 'cover'をリセット */
 }

 .hero-content {
   position: relative; /* 'absolute'から変更し、画像の下に配置 */
   top: auto;
   left: auto;
   transform: none;
   width: auto;
   color: #333; /* テキスト色を白から濃い色に変更 */
   text-shadow: none; /* テキストの影を削除 */
   padding: 0.5rem 1rem; /* 上下の余白を追加 */
 }

 .hero-title {
  font-size: clamp(2rem, 3vw, 1rem);
  margin-bottom: 0rem;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
 }

 .hero-date {
  font-size: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  color: #ffffff;
 }

 .hero-location {
    border-color: #ffffff;
    color: #ffffff;
    background: none;
    backdrop-filter: none;
    font-size: clamp(0.5rem, 3vw, 3rem);
    padding: 0.75rem 1rem; /* 左右のpaddingを 2rem から 1rem に減らします */
  }

  .main-nav {
    position: relative; /* 'absolute' から変更し、コンテンツの下に配置 */
    bottom: auto; /* 'bottom: 0' をリセット */
  }
}