/* =========================================
   AI Anison EXP - Blue Sky & Soft Corporate
   ========================================= */

:root {
  /* Sky Aesthetic - Soft and Airy */
  --bg-color: #f0f7fb;       /* Very soft blue-white, less glaring than pure white */
  --surface-color: rgba(255, 255, 255, 0.7); /* Frosted glass cards */
  --text-primary: #1e3a5f;   /* Deeper blue text instead of black to soften contrast */
  --text-secondary: #5a7b9c; 
  --border-color: rgba(255, 255, 255, 0.4);
  
  /* Accents */
  --accent-sf: #0284c7;       /* Deep Sky Blue for Tech */
  --accent-fantasy: #eab308;  /* Sunlight Gold */
  
  --font-heading: 'Outfit', 'Cinzel', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  
  --header-height: 70px;
}

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

body {
  background-color: var(--bg-color);
  /* Gentle sky gradient */
  background-image: linear-gradient(135deg, #e0f2fe 0%, #f8fafc 50%, #eef2ff 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* --- Header / Nav --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.header-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.nav a:hover {
  color: var(--accent-sf);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 5%;
  overflow: hidden;
  text-align: center;
}

.hero-bg-elements {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  pointer-events: none;
}

/* Cloud-like soft blurs */
.blur-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
}

.blur-circle.sf-blue {
  background: #bae6fd; /* Soft light blue */
  width: 600px; height: 600px;
  top: -150px; right: -150px;
}

.blur-circle.fantasy-gold {
  background: #fdf6e3; /* Very soft warm white/gold */
  width: 500px; height: 500px;
  bottom: 0; left: -150px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--accent-sf);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-sf) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  padding: 16px 32px;
  border-radius: 50px;
  box-shadow: 0 10px 40px rgba(2, 132, 199, 0.08);
  margin-bottom: 40px;
  border: 1px solid rgba(255, 255, 255, 1);
}

.date-icon {
  color: var(--accent-fantasy);
  font-size: 1.2rem;
}

.date-text {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
  color: var(--text-primary);
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Live Status Badge --- */
.live-status {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  min-height: 32px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* 配信中 */
.live-badge.is-live {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  animation: pulse-border 2s ease-in-out infinite;
}

.live-badge.is-live .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ef4444;
  animation: pulse-dot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

/* 配信前 */
.live-badge.pre-live {
  background: rgba(234, 179, 8, 0.1);
  color: #a16207;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.live-badge.pre-live .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #eab308;
  flex-shrink: 0;
}

/* アーカイブ */
.live-badge.archived {
  background: rgba(2, 132, 199, 0.08);
  color: var(--accent-sf);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.live-badge.archived .badge-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-sf);
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1); }
}

/* --- Live Button --- */
.live-button {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 40px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;

  /* デフォルト: 配信前スタイル */
  background: rgba(255, 255, 255, 0.85);
  color: var(--text-primary);
  border: 1.5px solid rgba(2, 132, 199, 0.25);
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.08);
}

.live-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.15);
}

/* ライブ中は赤く強調 */
.live-button.is-live {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.35);
}

.live-button.is-live:hover {
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.5);
  transform: translateY(-3px);
}

/* アーカイブ時は青 */
.live-button.archived {
  background: linear-gradient(135deg, var(--accent-sf) 0%, #0369a1 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 30px rgba(2, 132, 199, 0.3);
}

.live-button.archived:hover {
  box-shadow: 0 12px 40px rgba(2, 132, 199, 0.45);
  transform: translateY(-3px);
}

/* --- Catchcopy --- */
.hero-catchcopy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  opacity: 0.85;
}

/* --- Layout Wrappers --- */
.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 80px 0;
  border-top: 1px solid rgba(0,0,0,0.03);
  position: relative;
}

.alternate-bg {
  /* Soft translucent section background */
  background: rgba(239, 246, 255, 0.5);
  margin: 0 -50vw;
  padding: 80px 50vw; 
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.section-title span {
  color: var(--text-secondary);
  font-weight: 300;
}

.section-desc {
  color: var(--text-secondary);
  margin-top: 12px;
}

/* --- YouTube Container --- */
.youtube-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.1);
  background: #000;
  aspect-ratio: 16 / 9;
}

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

.youtube-caption {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 16px;
}

/* --- Timetable --- */
.timetable-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.timetable-list::before {
  content: '';
  position: absolute;
  top: 0; left: 80px; bottom: 0;
  width: 2px;
  background: rgba(2, 132, 199, 0.15); /* Soft blue timeline */
  z-index: 0;
}

.time-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.time-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent-sf);
  width: 80px;
  padding-top: 16px;
  text-align: right;
}

.time-content {
  flex-grow: 1;
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.08);
}

.time-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.time-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --- Cards (Lineup / Petit Events) --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--surface-color);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card:hover {
  box-shadow: 0 15px 35px rgba(2, 132, 199, 0.06);
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.4);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.creator-icon {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface-color);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.card-category {
  font-size: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-fantasy);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex-grow: 1;
}

.card-footer {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px dashed rgba(2, 132, 199, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-meta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-sf);
}

/* --- Footer --- */
.footer {
  text-align: center;
  padding: 60px 5%;
  background: rgba(248, 250, 252, 0.8);
  border-top: 1px solid var(--border-color);
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-title { font-size: 3rem; }
  .nav { display: none; }
  .timetable-list::before { left: 16px; }
  .time-row { flex-direction: column; gap: 8px; }
  .time-label { text-align: left; padding: 0 0 0 40px; position: relative; }
  .time-label::before {
    content: ''; position: absolute; left: 10px; top: 6px; width: 12px; height: 12px;
    background: var(--surface-color); border: 2px solid var(--accent-sf); border-radius: 50%;
  }
}



/* --- Header site name --- */
.header-site-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

/* --- Lang Switch --- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(2, 132, 199, 0.2);
  border-radius: 50px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
}

.lang-switch:hover {
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.1);
}

.lang-option {
  transition: color 0.2s ease;
  color: var(--text-secondary);
  opacity: 0.45;
}

.lang-option.active {
  color: var(--accent-sf);
  opacity: 1;
}

.lang-divider {
  opacity: 0.25;
  font-weight: 300;
}

/* --- Countdown --- */
.countdown-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.countdown {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(2, 132, 199, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 60px;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.06);
}

.countdown-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}

.countdown-label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-sf);
  opacity: 0.4;
  margin-bottom: 16px;
  flex-shrink: 0;
}

/* --- Hero Logo --- */
.hero-logo {
  width: min(520px, 90vw);
  height: auto;
  object-fit: contain;
  margin-bottom: 28px;
  filter: drop-shadow(0 8px 40px rgba(2, 132, 199, 0.2));
  border-radius: 20px;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 92vw;
    border-radius: 14px;
  }
  .countdown { gap: 4px; }
  .countdown-unit { min-width: 52px; padding: 8px 10px; }
  .countdown-num { font-size: 1.6rem; }
}

/* --- Creator Card --- */
.card-view-hint {
  font-size: 0.8rem;
  color: var(--accent-sf);
  font-family: var(--font-heading);
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.2s ease;
  margin-top: auto;
}
.creator-card { cursor: pointer; }
.creator-card:hover .card-view-hint { opacity: 1; }

/* --- Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 50, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.modal-box {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(2, 132, 199, 0.15);
  max-width: 580px;
  width: 100%;
  overflow: hidden;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.07);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}
.modal-close:hover { background: rgba(0,0,0,0.14); }
.modal-art-wrap {
  width: 100%;
  background: #0a0a12;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-art {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.modal-info {
  padding: 24px 28px 28px;
}
.modal-creator-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-fantasy);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.modal-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.modal-song {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.modal-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--accent-sf) 0%, #0369a1 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.3);
  transition: all 0.25s ease;
}
.modal-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.45);
}
@media (max-width: 768px) {
  .creator-icon { width: 80px; height: 80px; }
  .modal-box { border-radius: 16px; }
  .modal-info { padding: 18px 18px 22px; }
  .modal-name { font-size: 1.4rem; }
}

/* ===== Creator Card 再設計 ===== */

.creator-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px;
}

/* 横並びを無効化 */
.creator-card .card-header {
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* アイコン小さく */
.creator-card .creator-icon {
  width: 90px;
  height: 90px;
}

/* 名前強調 */
.creator-card .card-title {
  font-size: 1.4rem;
  font-weight: 800;
}

/* ===== 強制レイアウト修正（絶対効く） ===== */

/* カード全体を縦中央に */
.creator-card {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

/* 中身全部縦並びにする */
.creator-card * {
  text-align: center !important;
}

/* header強制縦 */
.creator-card .card-header {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* アイコンサイズ矯正 */
.creator-card .creator-icon {
  width: 90px !important;
  height: 90px !important;
  margin-bottom: 10px !important;
}

/* 名前を中央＆強調 */
.creator-card .card-title {
  font-size: 1.4rem !important;
  font-weight: 800 !important;
}

/* CREATORラベルを上に */
.creator-card .card-category {
  order: -1 !important;
  margin-bottom: 6px !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.15em !important;
}

/* 説明余白 */
.creator-card .card-desc {
  margin-top: 10px !important;
}


/* --- X Broadcast Embed --- */
.x-broadcast-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.10);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.x-broadcast-container .twitter-broadcast {
  width: 100%;
  max-width: 100%;
  margin: 0 auto !important;
}

.x-broadcast-container iframe {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

.x-broadcast-link {
  text-align: center;
  margin-top: 14px;
}

.x-broadcast-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-sf) 0%, #0369a1 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.x-broadcast-link a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.34);
}

/* --- Timetable Image --- */
.timetable-image-wrap {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: #050014;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.14);
}

.timetable-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .x-broadcast-container {
    max-width: 100%;
    padding: 8px;
    border-radius: 14px;
  }
  .timetable-image-wrap {
    border-radius: 14px;
  }
}


/* --- Hero Key Visual --- */
.hero-content {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-key-visual {
  display: block;
  width: min(1100px, 100%);
  height: auto;
  margin: 0 auto 28px;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.hero-mini-logo-wrap {
  margin-bottom: 12px;
}

.hero-logo {
  width: min(420px, 74vw);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 40px rgba(2, 132, 199, 0.2));
  border-radius: 18px;
}

.timetable-image-wrap {
  max-width: 1024px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(2, 132, 199, 0.14);
}

.timetable-image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 96px 5% 72px;
  }

  .hero-key-visual {
    border-radius: 16px;
    margin-bottom: 20px;
  }

  .hero-mini-logo-wrap {
    margin-bottom: 8px;
  }

  .hero-logo {
    width: min(300px, 78vw);
    border-radius: 14px;
  }
}


/* === Correct order fix: logo3.jpg -> logo.jpg -> Archive === */
.hero {
  display: flex !important;
  position: relative !important;
  min-height: auto !important;
  padding: 100px 5% 72px !important;
}

.hero-content {
  width: min(1180px, 100%) !important;
  margin: 0 auto !important;
}

.hero-key-visual {
  display: block !important;
  width: min(1100px, 100%) !important;
  height: auto !important;
  margin: 0 auto 28px !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18) !important;
}

.hero-mini-logo-wrap {
  display: block !important;
  margin: 0 auto 12px !important;
}

.hero-mini-logo-wrap .hero-logo {
  display: block !important;
  width: min(420px, 74vw) !important;
  height: auto !important;
  margin: 0 auto 28px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 8px 40px rgba(2, 132, 199, 0.2)) !important;
  border-radius: 18px !important;
}

#archive img[src*="logo"],
#archive img[src*="keyvisual"],
#archive img[src*="mainvisual"] {
  display: none !important;
}

.timetable-image-wrap {
  max-width: 1024px !important;
  margin: 0 auto !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  box-shadow: 0 18px 48px rgba(2, 132, 199, 0.14) !important;
}

.timetable-image {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

@media (max-width: 768px) {
  .hero {
    padding: 96px 5% 64px !important;
  }

  .hero-key-visual {
    border-radius: 16px !important;
    margin-bottom: 20px !important;
  }

  .hero-mini-logo-wrap .hero-logo {
    width: min(300px, 78vw) !important;
    border-radius: 14px !important;
  }
}


/* === YouTube 16:9 Embed Fix === */
.x-broadcast-container {
  width: 100% !important;
  max-width: 1000px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #000 !important;
  border: none !important;
  box-shadow: 0 20px 40px rgba(2, 132, 199, 0.10) !important;
  display: block !important;
}

.x-broadcast-container iframe {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9 !important;
  border: none !important;
  margin: 0 !important;
}
