/* ローディング画面 */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f0f0f 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.loading-logo-image {
  max-width: 400px;
  width: 80vw;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.5));
}

.cast-subtitle {
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  color: #cfd8dc !important;
  margin-top: 8px !important;
  opacity: 0.8;
  white-space: nowrap;
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 30%, #16213e 70%, #0f0f0f 100%);
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.logo-container {
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.logo-image {
  max-width: 500px;
  width: 100%;
  height: auto;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.earth-container {
  position: fixed;
  bottom: -250px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  z-index: 1;
  pointer-events: none;
}

.earth {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}

.earth img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  animation: earthRotate 30s linear infinite;
  box-shadow: 
      inset -40px -40px 80px rgba(0,0,0,0.6),
      inset 20px 20px 40px rgba(255,255,255,0.1),
      0 0 100px rgba(30, 144, 255, 0.3),
      0 0 200px rgba(30, 144, 255, 0.15);
}

@keyframes earthRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

.main-image-container {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 1.5s ease-out;
}

.main-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  box-shadow: 
      0 0 30px rgba(100, 255, 218, 0.6),
      0 0 60px rgba(100, 255, 218, 0.4),
      0 0 100px rgba(100, 255, 218, 0.3),
      0 10px 30px rgba(0, 0, 0, 0.3);
}

.reservation-section {
  text-align: center;
  margin: 40px 0;
  animation: slideInUp 1s ease-out 0.3s both;
}

.reservation-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.reservation-btn {
  background: linear-gradient(45deg, #7c4dff, #64ffda);
  color: white;
  padding: 18px 35px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.reservation-btn .mobile-break {
  font-size: 0.7rem;
  font-weight: 400;
}

.reservation-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.reservation-btn:hover::before {
  left: 100%;
}

.reservation-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 25px rgba(124, 77, 255, 0.3);
}

.notice-text {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin: 30px 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #cfd8dc;
  backdrop-filter: blur(5px);
  text-align: left;
}

.notice-text p {
  margin-bottom: 10px;
}

.notice-text p:last-child {
  margin-bottom: 0;
}

.notice-text strong {
  color: #ff4081;
}

.section {
  margin-bottom: 60px;
  animation: fadeInUp 1s ease-out;
}

.section.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.main-copy {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.1), rgba(124, 77, 255, 0.1));
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
}

.main-copy p {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #e0f2f1;
  font-weight: 300;
  margin-bottom: 20px;
}

.main-copy p:first-child {
  color: #64ffda;
  font-weight: 700;
  font-size: 2rem;
}

.main-copy p:last-child {
  margin-bottom: 0;
}

.small-note {
  font-size: 0.6rem;
  opacity: 0.7;
}

.mobile-break {
  display: inline;
}

.mobile-multiline {
  font-size: 1.8rem;
  line-height: 1.6;
  color: #e0f2f1;
  font-weight: 300;
  margin-bottom: 20px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  color: #ffffff;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, #64ffda, #7c4dff);
}

.sub-copy {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #cfd8dc;
  text-align: left;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  backdrop-filter: blur(5px);
}

/* キャスト欄 - シンプル縦1列テキスト版 */
.cast-simple {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.cast-column {
  text-align: center;
}

.cast-column p {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 25px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', sans-serif;
}

.cast-column p:last-child {
  margin-bottom: 0;
}

/* 従来のキャスト表示用スタイル（画像用・コメントアウト時に使用） */
.cast-item {
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cast-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
  transition: left 0.5s ease;
}

.cast-item:hover::before {
  left: 100%;
}

.cast-item:hover {
  transform: translateY(-5px);
  border-color: rgba(100, 255, 218, 0.5);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.cast-item a {
  text-decoration: none;
  color: inherit;
}

.cast-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid rgba(100, 255, 218, 0.3);
}

.cast-item p {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.info-image {
  text-align: center;
  margin: 30px 0;
}

.info-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.credits {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  margin-top: 30px;
}

.credits div {
  color: #90a4ae;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.credits div:last-child {
  margin-bottom: 0;
}

/* フッターロゴの背景エリア内での横並び表示 */
.footer-logo-row-inside {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  text-align: center;
  padding: 40px 20px 60px;
  background: linear-gradient(45deg, #0a0a0a, #1a1a2e, #16213e, #1a1a2e, #0a0a0a);
  background-size: 400% 400%;
  animation: gradientShift 8s ease-in-out infinite, fadeInUp 1s ease-out;
  position: relative;
  overflow: hidden;
}

.footer-logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
      radial-gradient(circle at 20% 50%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 80% 50%, rgba(124, 77, 255, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 20%, rgba(255, 64, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.footer-logo::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.5), transparent);
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.footer-logo.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
  filter: brightness(2.2) contrast(1.4) saturate(1.5) drop-shadow(0 0 20px rgba(100, 255, 218, 0.3));
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.footer-logo a:hover img {
  transform: scale(1.05);
}

.footer-logo-2 {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.footer-logo-2.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.footer-logo-2 img {
  max-width: 150px;
  height: auto;
  filter: brightness(1.2);
}

/* アニメーション */
@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* レスポンシブ - ローディング画面 */
@media (max-width: 768px) {
  .loading-logo-image {
      max-width: 300px;
  }
}

@media (max-width: 480px) {
  .loading-logo-image {
      max-width: 250px;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cast-column p {
      font-size: 1.3rem;
      margin-bottom: 15px;
  }
  
  .main-copy p {
      font-size: 1.4rem;
  }
  
  .main-copy p:first-child {
      font-size: 1.6rem;
  }
  
  h2 {
      font-size: 2rem;
  }
  
  .sub-copy,
  .notice-text,
  .credits {
      padding: 25px 20px;
      font-size: 1rem;
  }
  
  .logo-image {
      max-width: 400px;
  }
  
  .cast-item {
      padding: 15px;
  }
  
  .cast-item img {
      width: 80px;
      height: 80px;
  }
  
  .earth-container {
      width: 400px;
      height: 400px;
      bottom: -200px;
  }
  
  .footer-logo-row-inside {
      gap: 20px;
      margin-bottom: 30px;
  }
  
  .footer-logo-row-inside .footer-logo-2 img {
      max-width: 120px;
  }
}

@media (max-width: 480px) {
  .cast-column p {
      font-size: 1.1rem;
      margin-bottom: 12px;
  }
  
  .reservation-buttons {
      flex-direction: column;
      align-items: center;
  }
  
  .reservation-btn {
      width: 250px;
  }
  
  .main-copy {
      padding: 40px 20px;
  }
  
  .sub-copy {
      font-size: 0.9rem;
      padding: 30px 20px;
  }
  
  .earth-container {
      width: 350px;
      height: 350px;
      bottom: -175px;
  }
  
  .mobile-break {
      display: block;
  }
  
  .mobile-multiline {
      font-size: 1.4rem;
      line-height: 1.5;
  }
  
  .footer-logo-row-inside {
      gap: 20px;
      margin-bottom: 20px;
  }
  
  .footer-logo-row-inside .footer-logo-2 img {
      max-width: 80px;
  }
  
  .footer-logo img {
      max-width: 150px;
  }
  
  .logo-container {
      padding: 15px;
  }
  
  .logo-image {
      max-width: 100%;
      width: 95vw;
  }
}