/* ============================
   Antigravity Tour 2026
   Design Tokens & Reset (Light Theme)
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&family=Outfit:wght@400;700;900&display=swap');

:root {
  /* Colors - Light Theme (Festival Vibe) */
  --c-bg:        #ffffff;
  --c-bg-alt:    #f4f4f5; /* Off white for alternating sections */
  --c-bg-accent: #fff7ed; /* Very light orange for highlight sections */
  --c-surface:   #ffffff;
  --c-border:    #e4e4e7;
  --c-text:      #0f172a; /* Slate 900 (Deep Navy base for text) */
  --c-text-sub:  #475569; /* Slate 600 */
  
  --c-primary:   #1e3a8a; /* Deep Navy Blue */
  --c-primary-h: #1e40af; /* Slightly lighter navy for hover */
  --c-accent:    #ea580c; /* Deeper Orange for better contrast (Festival Vibe) */
  --c-accent-h:  #c2410c; /* Darker orange for hover */
  
  --c-confirmed: #16a34a; /* Green 600 */
  --c-pending:   #d97706; /* Amber 600 */
  --c-tbd:       #64748b; /* Slate 500 */
  --c-cohost:    #0284c7; /* Sky 600 */
  --c-warn:      #dc2626; /* Red 600 */

  /* Typography - Anti-Slop (High contrast weights 400 vs 900) */
  --ff-base: "Outfit", "Noto Sans JP", sans-serif;
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;

  /* Spacing */
  --sp-xs:  0.25rem;
  --sp-sm:  0.5rem;
  --sp-md:  1rem;
  --sp-lg:  1.5rem;
  --sp-xl:  2.5rem;
  --sp-2xl: 4rem;
  --sp-3xl: 6rem;

  /* Layout */
  --max-w: 1000px;
  --radius: 16px;
  --radius-sm: 8px;
  --header-h: 64px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

.br-sp {
  display: none;
}

@media (max-width: 599px) {
  .br-pc {
    display: none;
  }
  .br-sp {
    display: inline;
  }
  .u-hidden-sm {
    display: none !important;
  }
}

body {
  font-family: var(--ff-base);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-bg);
  /* Subtle noisy background pattern for slightly organic feel */
  background-image: radial-gradient(var(--c-border) 1px, transparent 1px);
  background-size: 20px 20px;
}

a { color: var(--c-accent); text-decoration: none; font-weight: 700; transition: color 0.2s; }
a:hover { color: var(--c-accent-h); }

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ============================
   Header / Navigation
   ============================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--sp-sm) var(--sp-md); /* mobile default (more breathing room) */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 600px) {
  .nav {
    padding: var(--sp-sm) var(--sp-lg);
  }
}

.nav__logo {
  font-size: 1.05rem; /* mobile default */
  line-height: 1.2;
  font-weight: 900;
  color: var(--c-primary);
  letter-spacing: -0.02em;
}

@media (min-width: 600px) {
  .nav__logo {
    font-size: var(--fs-lg);
  }
}

.nav__donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .nav__donate-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1.2rem;
  }
}
.nav__logo:hover { color: var(--c-accent); }

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-sm);
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-surface);
  border-bottom: 2px solid var(--c-primary);
  padding: var(--sp-md) 0;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.nav__menu.is-open { display: block; }

.nav__menu li a {
  display: block;
  padding: var(--sp-sm) var(--sp-lg);
  color: var(--c-text);
  font-size: var(--fs-base);
  font-weight: 700;
}
.nav__menu li a:hover { color: var(--c-accent); background: var(--c-bg-alt); }

@media (min-width: 768px) {
  .nav__toggle { display: none; }

  .nav__menu {
    display: flex !important;
    position: static;
    background: transparent;
    border: none;
    padding: 0;
    gap: var(--sp-md);
    box-shadow: none;
  }
  .nav__menu li a {
    padding: var(--sp-xs) var(--sp-sm);
    color: var(--c-text-sub);
  }
  .nav__menu li a:hover { color: var(--c-primary); background: transparent; }
}

/* ============================
   Hero
   ============================ */

.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, var(--c-bg) 0%, var(--c-bg-alt) 100%);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--c-accent) 0%, transparent 60%);
  opacity: 0.1;
  z-index: 0;
  border-radius: 50%;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-xl);
  position: relative;
  z-index: 1;
}

.hero__text {
  max-width: 800px;
}

.hero__label {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 900;
  color: var(--c-accent);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  background: var(--c-bg-accent);
  padding: 0.5rem 1rem;
  border-radius: 99px;
}

.hero__title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: var(--sp-lg);
  color: var(--c-primary);
  letter-spacing: -0.03em;
}

.hero__sub {
  font-size: var(--fs-lg);
  color: var(--c-text-sub);
  margin-bottom: var(--sp-lg);
  font-weight: 700;
}

.hero__image-wrap {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  border: 4px solid var(--c-surface);
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .hero { padding: 10rem 0 6rem; }
  .hero__title { font-size: var(--fs-3xl); }
  .hero__image {
    aspect-ratio: 16/9;
    object-fit: cover;
  }
}

/* ============================
   Sections
   ============================ */

.section {
  padding: var(--sp-2xl) 0;
  position: relative;
}

.section--dark {
  background: var(--c-bg-alt);
}

.section--accent {
  background: var(--c-primary);
  color: #fff;
}
.section--accent .section__sub {
  color: rgba(255, 255, 255, 0.8);
}
.section--accent h2 {
  color: #fff;
}

.section__title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  text-align: center;
  margin-bottom: var(--sp-sm);
  color: var(--c-primary);
  letter-spacing: -0.02em;
}

.section__sub {
  text-align: center;
  color: var(--c-text-sub);
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2xl);
  font-weight: 700;
}

/* ============================
   Buttons
   ============================ */

.btn {
  display: inline-block;
  padding: 0.8rem 1.75rem;
  border-radius: 99px; /* Pill shaped for friendlier vibe */
  font-size: var(--fs-base);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn:active { transform: scale(0.96); }

.btn--primary {
  background: var(--c-accent);
  color: #fff;
}
.btn--primary:hover {
  background: var(--c-accent-h);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(249, 115, 22, 0.2);
}

.btn--day1 {
  background: #3b82f6;
  color: #fff;
}
.btn--day1:hover {
  background: #2563eb;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(59, 130, 246, 0.2);
}

.btn--day2 {
  background: #ef4444;
  color: #fff;
}
.btn--day2:hover {
  background: #dc2626;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(239, 68, 68, 0.2);
}

.btn--accent {
  background: var(--c-primary);
  color: #fff;
}
.btn--accent:hover {
  background: var(--c-primary-h);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 12px rgba(30, 58, 138, 0.2);
}

.btn--large {
  padding: 1.25rem 3rem;
  font-size: var(--fs-lg);
}

.btn--disabled {
  background: var(--c-border);
  color: var(--c-text-sub);
  cursor: not-allowed;
  box-shadow: none;
}
.btn--disabled:hover { transform: none; box-shadow: none; }

.btn--sold-out {
  background: #94a3b8;
  color: #fff;
  cursor: not-allowed;
  box-shadow: none;
  pointer-events: none;
}
.btn--sold-out:hover { transform: none; box-shadow: none; background: #94a3b8; }

/* ============================
   残席確認パネル
   ============================ */
.section--availability {
  padding: 2.5rem 0 0.5rem;
}
.availability-panel {
  max-width: 720px;
  margin: 0 auto;
}
.availability-panel__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.25rem;
  background: #0f172a;
  color: #fff;
  border: 1.5px solid #334155;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.availability-panel__toggle:hover {
  background: #1e293b;
  border-color: #64748b;
}
.availability-panel__toggle[aria-expanded="true"] {
  border-radius: 6px 6px 0 0;
  border-bottom-color: transparent;
}
.availability-panel__toggle-icon { font-size: 1.2rem; }
.availability-panel__toggle-label { flex: 1; text-align: left; }
.availability-panel__toggle-chevron {
  font-size: 0.75rem;
  transition: transform 0.2s;
}
.availability-panel__toggle[aria-expanded="true"] .availability-panel__toggle-chevron {
  transform: rotate(180deg);
}
.availability-panel__body {
  border: 1.5px solid #334155;
  border-top: none;
  border-radius: 0 0 6px 6px;
  background: #fff;
  padding: 0.5rem 0 0.75rem;
}
.availability-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.availability-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #e2e8f0;
  cursor: pointer;
  transition: background 0.12s;
}
.availability-row:last-child { border-bottom: none; }
.availability-row:hover,
.availability-row:focus-visible {
  background: #f1f5f9;
  outline: none;
}
.availability-row--status {
  cursor: default;
  color: #64748b;
  justify-content: center;
  grid-template-columns: 1fr;
  text-align: center;
}
.availability-row__label {
  font-weight: 600;
  color: #0f172a;
  letter-spacing: 0.01em;
}
.availability-row__count {
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  border: 1.5px solid currentColor;
  min-width: 68px;
  text-align: center;
}
.availability-row__count--ok { color: #1d4ed8; }
.availability-row__count--low {
  color: #c2410c;
  background: #fff7ed;
  animation: availability-pulse 1.8s ease-in-out infinite;
}
.availability-row__count--full {
  color: #b91c1c;
  background: #fef2f2;
}
.availability-row__count--unknown {
  color: #94a3b8;
  border-style: dashed;
}
.availability-row__arrow {
  color: #64748b;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.15s;
}
.availability-row:hover .availability-row__arrow {
  color: #0f172a;
  transform: translateX(3px);
}
.availability-panel__updated {
  margin: 0.75rem 1.25rem 0;
  font-size: 0.8rem;
  color: #64748b;
  text-align: right;
  font-family: "JetBrains Mono", "Courier New", monospace;
}
.availability-panel__note {
  margin: 0.25rem 1.25rem 0;
  font-size: 0.8rem;
  color: #94a3b8;
}
@keyframes availability-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}
@media (max-width: 480px) {
  .availability-row { padding: 0.65rem 0.9rem; gap: 0.5rem; }
  .availability-row__label { font-size: 0.88rem; }
  .availability-row__count { font-size: 0.85rem; min-width: 60px; padding: 0.2rem 0.5rem; }
  .availability-panel__toggle { font-size: 0.92rem; padding: 0.85rem 1rem; }
}

/* ============================
   Badges
   ============================ */

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: var(--fs-xs);
  font-weight: 900;
  white-space: nowrap;
}

.badge--confirmed {
  background: #dcfce7;
  color: var(--c-confirmed);
}

.badge--pending {
  background: #fef3c7;
  color: var(--c-pending);
}

.badge--tbd {
  background: #f1f5f9;
  color: var(--c-tbd);
}

.badge--cohost {
  background: #e0f2fe;
  color: var(--c-cohost);
  padding: 0.3rem 0.8rem;
  font-size: 0.95rem;
  font-weight: 900;
}

/* ============================
   About
   ============================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-xl);
}

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

.about-card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-xl) var(--sp-lg);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.about-card__icon {
  margin-bottom: var(--sp-md);
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--c-bg-accent);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-card__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-sm);
  font-weight: 900;
  color: var(--c-primary);
}

.about-card p {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.8;
  font-weight: 400;
}

.about-bring {
  background: var(--c-bg-accent);
  border-radius: var(--radius);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-bring h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-md);
  color: var(--c-accent);
  font-weight: 900;
}

.about-bring ul {
  list-style: none;
  font-size: var(--fs-base);
  font-weight: 700;
  color: var(--c-primary);
}

.about-bring li {
  margin-bottom: var(--sp-sm);
  display: flex;
  align-items: center;
}
.about-bring li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 10px;
}

/* ============================
   Schedule Tabs (Grid) -> UX Update
   ============================ */

.schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
}

@media (min-width: 600px) {
  .schedule-grid { grid-template-columns: repeat(3, 1fr); gap: var(--sp-md); }
}

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

.schedule-tab {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  background: var(--c-surface);
  border: 2px solid var(--c-border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-family: inherit;
  color: inherit;
  width: 100%;
  position: relative;
}

@media (min-width: 600px) {
  .schedule-tab {
    flex-direction: column;
    justify-content: center;
    padding: var(--sp-md);
    text-align: center;
    gap: var(--sp-xs);
  }
}

.schedule-tab:hover {
  border-color: var(--c-primary);
  background: var(--c-bg-alt);
}

/* Active Tab State */
.schedule-tab.is-active {
  border-color: var(--c-accent);
  background: var(--c-bg-accent);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.1);
}

@media (min-width: 600px) {
  .schedule-tab.is-active {
    transform: translateY(-2px);
  }
}

/* Active Indicator Arrow */
.schedule-tab.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent var(--c-accent);
  z-index: 10;
}

@media (min-width: 600px) {
  .schedule-tab.is-active::after {
    top: auto;
    bottom: -11px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-color: var(--c-accent) transparent transparent transparent;
  }
}

.schedule-tab__date {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  font-weight: 700;
  width: 65px;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .schedule-tab__date {
    font-size: var(--fs-xs);
    width: auto;
  }
}

.schedule-tab__city {
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--c-primary);
  flex-grow: 1;
}

@media (min-width: 600px) {
  .schedule-tab__city {
    flex-grow: 0;
  }
}

/* ============================
   Venue Details (Tab Content)
   ============================ */

.venue-container {
  position: relative;
  min-height: 400px;
}

.venue {
  display: none; /* hidden by default */
  /* minmax(0,...) prevents grid column from growing past 1fr when a child has wide min-content */
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  animation: fadeIn 0.3s ease forwards;
}

/* Show active venue */
.venue.is-active {
  display: grid;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
  .venue {
    grid-template-columns: 350px minmax(0, 1fr);
  }
}

.venue__image-wrap {
  position: relative;
  min-height: 250px;
  background: var(--c-bg-alt);
}

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

.venue__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 250px;
  background: var(--c-primary);
  color: #fff;
  font-size: var(--fs-2xl);
  font-weight: 900;
}

.venue__image-placeholder small {
  font-size: var(--fs-sm);
  font-weight: 400;
  margin-top: var(--sp-xs);
  opacity: 0.8;
}

.venue__info {
  padding: var(--sp-xl);
}

.venue__header {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-sm);
  border-bottom: 2px solid var(--c-bg-alt);
}

.venue__city {
  font-size: var(--fs-2xl);
  font-weight: 900;
  color: var(--c-primary);
}

.venue__details {
  margin-bottom: var(--sp-xl);
}

.venue__details > div {
  display: flex;
  flex-direction: column;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--c-border);
  font-size: var(--fs-base);
}

@media (min-width: 600px) {
  .venue__details > div {
    flex-direction: row;
    gap: var(--sp-md);
  }
}

.venue__details dt {
  flex-shrink: 0;
  width: 6rem;
  color: var(--c-text-sub);
  font-weight: 700;
}

.venue__details dd {
  color: var(--c-text);
  font-weight: 700;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Venue Access Guide */
.venue-guide {
  margin-top: var(--sp-md);
  margin-bottom: var(--sp-lg);
  border: 1px solid var(--c-primary);
  border-radius: var(--radius-sm);
  background-color: var(--c-bg);
  overflow: hidden;
}
.venue-guide summary {
  padding: 1rem;
  background-color: var(--c-bg-alt);
  color: var(--c-primary);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.venue-guide summary::-webkit-details-marker {
  display: none;
}
.venue-guide summary::after {
  content: "▼";
  font-size: 0.8rem;
  transition: transform 0.2s;
}
.venue-guide[open] summary::after {
  transform: rotate(180deg);
}
.venue-guide__content {
  padding: 1rem;
  border-top: 1px dashed var(--c-border);
  line-height: 1.6;
}
.venue-guide__content p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.venue-guide__content p:last-child {
  margin-bottom: 0;
}
.venue-guide__content a {
  color: var(--c-primary);
  text-decoration: underline;
}

.venue__actions {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
  flex-wrap: wrap;
}

@media (min-width: 600px) {
  .venue__actions { flex-direction: row; align-items: center; }
}

.venue__price-highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-text);
  width: 100%;
  margin-bottom: var(--sp-xs);
}

.venue__price-highlight .badge {
  font-size: 0.85rem;
  font-weight: 900;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.venue__note {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  margin-bottom: var(--sp-xs);
  font-weight: 700;
}

.venue__note--warn {
  color: var(--c-warn);
}

/* Secondary Party */
.venue__party {
  margin-top: var(--sp-xl);
  padding: var(--sp-lg);
  background: var(--c-bg-accent);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(249, 115, 22, 0.2);
  display: flex;
  flex-direction: column;
}

.venue__party-title {
  font-size: var(--fs-xl);
  font-weight: 900;
  margin-bottom: var(--sp-sm);
  color: var(--c-accent);
  display: flex;
  align-items: center;
}

.venue__btn-group-pro {
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
  margin: 0 auto var(--sp-lg);
  max-width: 600px;
}

@media (min-width: 600px) {
  .venue__btn-group-pro {
    flex-direction: row;
    align-items: flex-start;
  }
}

.venue__day-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  min-width: 0;
}

.venue__day-col .btn {
  width: 100%;
  margin-bottom: 0;
  white-space: nowrap;
}

.venue__day-badge {
  font-size: 0.85rem;
  font-weight: 900;
  text-align: center;
  color: var(--c-accent);
  margin-bottom: -4px;
}

.btn--party-link {
  background-color: #fffbeb;
  color: #d97706;
  border: 2px solid #fcd34d;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.1);
  font-size: 0.95rem; /* slightly smaller to fit securely below Day1 */
  padding: 0.6rem;
}

.btn--party-link:hover {
  background-color: #fef3c7;
  color: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(245, 158, 11, 0.2);
}

/* ============================
   Donation
   ============================ */

.donation {
  text-align: center;
}

.donation__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-md);
}

.donation__text {
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.9);
  line-height: 1.8;
  margin: var(--sp-xl) auto;
  max-width: 700px;
  font-weight: 700;
}

/* ============================
   Thanks Page Upsell Funnel
   ============================ */

.upsell-notice {
  background: #fffbeb;
  border: 2px dashed #f59e0b;
  border-radius: var(--radius);
  padding: var(--sp-xl) var(--sp-lg);
  margin: var(--sp-xl) auto;
  max-width: 650px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.15);
}

.upsell-notice__title {
  color: #d97706;
  font-size: var(--fs-xl);
  font-weight: 900;
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.05em;
}

.upsell-notice__text {
  font-size: var(--fs-base);
  color: var(--c-text);
  margin-bottom: var(--sp-lg);
  font-weight: 700;
  line-height: 1.6;
}

.upsell-notice__btn {
  font-size: 1rem;
  padding: 0.8rem 2.5rem;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* ============================
   Notes & FAQ
   ============================ */

.notes {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-lg);
}

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

.notes__block {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: var(--sp-xl);
}

.notes__block h3 {
  font-size: var(--fs-lg);
  font-weight: 900;
  margin-bottom: var(--sp-md);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.notes__block h3::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  background: var(--c-accent);
  border-radius: 4px;
}

.notes__block ul {
  list-style: none;
}

.notes__block li {
  font-size: var(--fs-base);
  color: var(--c-text);
  margin-bottom: var(--sp-sm);
  line-height: 1.6;
  position: relative;
  padding-left: 1.5rem;
  font-weight: 400;
}
.notes__block li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-size: 1.2rem;
  font-weight: 900;
}

.faq {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface);
  margin-bottom: var(--sp-sm);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg);
  font-size: var(--fs-lg);
  font-weight: 900;
  cursor: pointer;
  color: var(--c-primary);
  list-style: none;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: "+";
  font-size: var(--fs-xl);
  color: var(--c-accent);
  transition: transform 0.2s;
}

.faq__item[open] .faq__question::after {
  content: "-";
}

.faq__answer {
  padding: 0 var(--sp-lg) var(--sp-lg);
}

.faq__answer p {
  font-size: var(--fs-base);
  color: var(--c-text-sub);
  line-height: 1.8;
  font-weight: 700;
}

/* ============================
   Footer
   ============================ */

.footer {
  padding: var(--sp-2xl) 0;
  text-align: center;
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-border);
}

.footer__host {
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: var(--sp-sm);
}

.footer__contact {
  font-size: var(--fs-base);
  color: var(--c-text-sub);
  margin-bottom: var(--sp-md);
  font-weight: 700;
}

.footer__copy {
  font-size: var(--fs-xs);
  color: var(--c-tbd);
  font-weight: 700;
}

/* ============================
   Co-Host Special Event Styling
   ============================ */

/* Tab: 共催イベントのタブに特別ラベル */
.schedule-tab--cohost {
  border-color: var(--c-cohost);
  background: #f0f9ff;
}

.schedule-tab--cohost:hover {
  border-color: var(--c-cohost);
  background: #e0f2fe;
}

.schedule-tab--cohost .schedule-tab__cohost-label {
  font-size: 0.65rem;
  font-weight: 900;
  color: var(--c-cohost);
  background: #e0f2fe;
  padding: 0.15rem 0.6rem 0.15rem 0.2rem;
  border-radius: 99px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 0.25rem;
}

.cohost-label-img {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  object-fit: cover;
}

.schedule-tab--cohost.is-active {
  border-color: var(--c-cohost);
  background: #e0f2fe;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.schedule-tab--cohost.is-active::after {
  border-color: var(--c-cohost) transparent transparent transparent;
}

/* Co-Host Profile Card */
.cohost-card {
  margin-top: calc(var(--sp-xl) + 20px);
  padding: var(--sp-xl);
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 2px solid var(--c-cohost);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.cohost-card--premium {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 10px 30px rgba(245, 158, 11, 0.15);
  overflow: visible; /* Allows the catch badge to pop out */
}

.cohost-card--premium::before {
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
}

.cohost-card__catch {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  padding: 0.5rem 1.8rem;
  border-radius: 99px;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.25);
  white-space: nowrap;
  letter-spacing: 0.05em;
  z-index: 10;
  max-width: calc(100% - 1rem);
  box-sizing: border-box;
}

@media (max-width: 599px) {
  .cohost-card__catch {
    font-size: 0.95rem;
    padding: 0.4rem 1.2rem;
    /* badge bottom anchors 14px into card regardless of wrap line count */
    top: 14px;
    transform: translate(-50%, -100%);
    width: 90%;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }
}

.cohost-card--premium .cohost-card__label {
  background: #fcd34d;
  color: #b45309;
}

.cohost-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--c-cohost) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.cohost-card__label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 900;
  color: #fff;
  background: var(--c-cohost);
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  margin-bottom: var(--sp-md);
  letter-spacing: 0.05em;
}

.cohost-card__inner {
  display: flex;
  gap: var(--sp-lg);
  align-items: flex-start;
}

.cohost-card__icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--c-cohost);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.2);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cohost-card--premium:hover .cohost-card__icon {
  transform: scale(1.05) rotate(-3deg);
}

.cohost-card--premium .cohost-card__icon {
  width: 90px;
  height: 90px;
  border: 3px solid #f59e0b;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.btn--sns-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0f1419;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  border-radius: 99px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn--sns-x:hover {
  background-color: #272c30;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.cohost-card__body {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.cohost-card__name,
.cohost-card__title,
.cohost-card__bio {
  /* Safari iOS treats overflow-wrap:anywhere as min-content:0, collapsing text.
     Use break-word instead — same visual result with correct Safari support. */
  overflow-wrap: break-word;
  word-break: break-word;
}

.cohost-card__name {
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: var(--sp-xs);
  line-height: 1.4;
}

.cohost-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-cohost);
  margin-bottom: var(--sp-sm);
}

.cohost-card__bio {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  line-height: 1.7;
  font-weight: 400;
}

.cohost-card__seminar {
  margin-top: var(--sp-md);
  padding: var(--sp-md);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--c-cohost);
}

.cohost-card__seminar-label {
  font-size: var(--fs-xs);
  font-weight: 900;
  color: var(--c-cohost);
  margin-bottom: var(--sp-xs);
}

.cohost-card__seminar-title {
  font-size: var(--fs-base);
  font-weight: 900;
  color: var(--c-primary);
}

.cohost-card__seminar-desc {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  margin-top: var(--sp-xs);
}

/* Mobile: stack icon above text */
@media (max-width: 599px) {
  .cohost-card__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cohost-card__body {
    width: 100%;
    max-width: 100%;
  }
  .cohost-card__seminar-title,
  .cohost-card__seminar-desc {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}

/* ============================
   Donation Cards (Crowdfunding Style)
   ============================ */

.donation-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-md);
  margin-top: var(--sp-lg);
}

@media (min-width: 600px) {
  .donation-cards { grid-template-columns: repeat(2, 1fr); }
}

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

.donation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Center the whole group vertically */
  text-align: center;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: var(--sp-lg) var(--sp-md); /* Reduced from xl to tightly group the entire card on mobile */
  text-decoration: none;
  color: var(--c-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  gap: 4px; /* Default ultra-tight gap for strong grouping */
}

.donation-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.donation-card__icon {
  margin-bottom: 0;
}

span.donation-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

img.donation-card__icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: -16px; /* Pull transparent image padding down slightly */
}

.donation-card:hover img.donation-card__icon {
  transform: scale(1.1) translateY(-5px);
}

.donation-card__title {
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: 1.35rem; /* Larger */
  color: var(--c-primary);
  margin-bottom: 0;
  line-height: 1.1; 
}

.donation-card__price {
  font-family: var(--ff-heading);
  font-weight: 900;
  font-size: 1.75rem; /* Larger */
  color: var(--c-accent);
  margin-bottom: 0;
  line-height: 1; 
}

.donation-card__desc {
  font-size: 1.05rem; /* Larger */
  color: var(--c-text-sub);
  margin-bottom: 0;
  line-height: 1.3;
}

.donation-card__btn {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem; /* Larger */
  padding: 0.75rem 2rem; 
  border-radius: 8px;
  transition: background 0.2s ease;
  margin-top: 4px; 
  width: 100%;
  max-width: 240px;
}

@media (min-width: 600px) {
  .donation-card {
    gap: 8px; /* Slightly looser on PC */
    padding: var(--sp-xl) var(--sp-md); /* Relaxed padding on PC */
  }
  .donation-card__btn {
    margin-top: 8px;
  }
}

/* ==========================================================================
   Spinoff Global Accordion
   ========================================================================== */
.spinoff-global-accordion {
  margin: var(--sp-lg) auto 0;
  max-width: 800px;
  background: linear-gradient(135deg, #fef9c3 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: var(--radius-md);
  overflow: visible;
  transition: all 0.3s ease;
  position: relative;
  animation: spinoff-pulse 2.4s ease-in-out infinite;
}

.spinoff-global-accordion::before {
  content: "NEW";
  position: absolute;
  top: -12px;
  left: 20px;
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
  z-index: 2;
}

@keyframes spinoff-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(245, 158, 11, 0); }
}

.spinoff-global-accordion details summary {
  padding: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none; /* Hide default arrow */
  position: relative;
  user-select: none;
}

.spinoff-global-accordion details summary::-webkit-details-marker {
  display: none;
}

.spinoff-icon {
  font-size: 1.2rem;
}

.spinoff-title {
  flex: 1;
  font-size: clamp(0.95rem, 2.8vw, 1.1rem);
  color: var(--c-text);
  line-height: 1.5;
  font-weight: 800;
}

.spinoff-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--c-accent);
  transition: transform 0.3s ease;
}

.spinoff-global-accordion details[open] summary .spinoff-toggle {
  transform: rotate(45deg); /* Turns '+' into 'x' */
}

.spinoff-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  border-top: 1px solid var(--c-border);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--c-text-muted);
}

.spinoff-content p {
  margin-bottom: 0.75rem;
}

.spinoff-list {
  background-color: var(--c-bg);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  list-style: none;
}

.spinoff-list li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
  color: var(--c-text);
}

.spinoff-list li::before {
  content: "•";
  color: var(--c-accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.spinoff-list li:last-child {
  margin-bottom: 0;
}

.spinoff-actions {
  text-align: center;
  margin-top: 1.5rem;
}
.donation-card:hover .donation-card__btn {
  background: var(--c-primary-h);
}

.donation-bank-note {
  text-align: center;
  font-size: var(--fs-sm);
  color: #ffffff;
  margin-top: var(--sp-lg);
}
.donation-bank-note a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.donation-bank-note a:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* ============================
   Thanks Page
   ============================ */

.thanks-page {
  padding-top: calc(var(--header-h) + var(--sp-md));
  min-height: 80vh;
}

.thanks-hero {
  text-align: center;
  padding: var(--sp-md) 0;
}

.thanks-hero__check {
  margin-bottom: var(--sp-sm);
}

.thanks-hero__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: var(--sp-sm);
}

.thanks-hero__message {
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  color: var(--c-text);
  margin-bottom: var(--sp-sm);
  line-height: 1.6;
}

.thanks-hero__sub {
  font-size: clamp(0.8rem, 3vw, 0.875rem);
  color: var(--c-text-sub);
  line-height: 1.6;
}

.thanks-hero__action {
  margin-top: var(--sp-md);
  padding-top: var(--sp-md);
  border-top: 1px dashed var(--c-border);
  animation: fadeIn 0.6s ease-out 0.3s both; /* Slight delay to naturally follow reading order */
}

.thanks-hero__action-text {
  font-size: clamp(0.85rem, 3.5vw, 1rem);
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: var(--sp-sm);
  line-height: 1.6;
}

.btn--with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.2);
  padding-left: 2rem;
  padding-right: 1.5rem;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(5px); }
  60% { transform: translateY(3px); }
}

.icon-bounce {
  animation: bounceDown 2s infinite;
}

.thanks-donation {
  text-align: center;
  padding: var(--sp-xl) 0;
  border-top: 1px solid var(--c-border);
  margin-top: var(--sp-lg);
  scroll-margin-top: calc(var(--header-h) + var(--sp-sm));
}

.thanks-donation__title {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 5vw, 1.75rem);
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: var(--sp-sm);
}

.thanks-donation__text {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: var(--c-text-sub);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--sp-md);
}

.donation__text {
  font-size: clamp(0.9rem, 3vw, 1rem);
  color: #ffffff;
  line-height: 1.8;
  margin-bottom: var(--sp-md);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--sp-md);
}

.thanks-back {
  text-align: center;
  padding: var(--sp-xl) 0;
}

/* ============================
   Legal Page
   ============================ */

.legal-page {
  padding-top: calc(var(--header-h) + var(--sp-xl));
  padding-bottom: var(--sp-xl);
}

.legal-section {
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--c-border);
}

.legal-section:last-child {
  border-bottom: none;
}

.legal-section__title {
  font-family: var(--ff-heading);
  font-size: var(--fs-xl);
  font-weight: 900;
  color: var(--c-primary);
  margin-bottom: var(--sp-xs);
}

.legal-section__date {
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  margin-bottom: var(--sp-lg);
}

.legal-table {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-table > div {
  display: flex;
  flex-direction: column;
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid var(--c-border);
}

@media (min-width: 600px) {
  .legal-table > div {
    flex-direction: row;
  }
}

.legal-table dt {
  font-weight: 700;
  color: var(--c-text);
  min-width: 200px;
  flex-shrink: 0;
  margin-bottom: var(--sp-xs);
}

@media (min-width: 600px) {
  .legal-table dt {
    margin-bottom: 0;
  }
}

.legal-table dd {
  color: var(--c-text-sub);
  line-height: 1.7;
}

.legal-table dd ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.legal-table dd li {
  margin-bottom: 0.25rem;
}

.legal-content h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-lg);
  font-weight: 900;
  color: var(--c-text);
  margin-top: var(--sp-lg);
  margin-bottom: var(--sp-sm);
}

.legal-content p {
  color: var(--c-text-sub);
  line-height: 1.7;
  margin-bottom: var(--sp-sm);
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--c-text-sub);
  margin-bottom: var(--sp-sm);
}

.legal-content li {
  margin-bottom: 0.25rem;
  line-height: 1.7;
}

.legal-content a {
  color: var(--c-primary);
  text-decoration: underline;
}

/* ============================
   Footer Legal Links
   ============================ */

.footer__legal {
  font-size: var(--fs-xs);
  color: var(--c-text-sub);
  margin-bottom: var(--sp-xs);
}

.footer__legal a {
  color: var(--c-text-sub);
  text-decoration: underline;
  transition: color 0.2s ease;
}

.footer__legal a:hover {
  color: var(--c-text);
}

/* Fix Rocket icon overlap requested by user */
@media (max-width: 599px) {
  img.donation-card__icon[src*="rocket"] {
    margin-bottom: -10px !important;
  }
}
img.donation-card__icon[src*="rocket"] {
  margin-bottom: -10px;
}

.badge--urgent {
  background-color: #ef4444;
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 900;
  display: inline-block;
  margin-left: 0.5rem;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
  animation: pulse-urgent 2s infinite;
}

@keyframes pulse-urgent {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.venue__details > div.venue__details-divider {
  border-bottom: none;
  background: var(--c-bg-accent);
  padding: 0.25rem 0.5rem;
  margin-top: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--c-accent);
  font-weight: 900;
  font-size: var(--fs-base);
  justify-content: center;
  align-items: center;
}
@media (min-width: 600px) {
  .venue__details > div.venue__details-divider {
    padding: 0.25rem 1rem;
    justify-content: flex-start;
  }
}

/* ============================
   Utility
   ============================ */

@media (min-width: 768px) {
  .hide-pc {
    display: none !important;
  }
}

@media (min-width: 600px) {
  .schedule-tab--cohost .schedule-tab__cohost-label {
    margin-left: 0;
  }
}

/* ============================
   Bring list (card style)
   ============================ */
.bring-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}
.bring-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-align: left;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.bring-item::before { content: none !important; }
.bring-item__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
}
.bring-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.bring-item__label {
  font-weight: 900;
  color: var(--c-primary);
  font-size: var(--fs-base);
  line-height: 1.4;
}
.bring-item__note {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text-sub);
  line-height: 1.4;
}
.bring-item__note--strong {
  color: var(--c-accent);
}
.bring-item--accent {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid var(--c-accent);
  border-left-width: 4px;
}
.bring-item--accent .bring-item__label {
  color: var(--c-accent);
}
.hygiene-note {
  margin-top: 1rem;
  padding: 1.05rem 1.1rem;
  border: 2px solid #dc2626;
  border-left-width: 8px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef2f2 100%);
  color: var(--c-text);
  text-align: left;
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.14);
}
.hygiene-note__header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.7rem;
}
.hygiene-note__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}
.hygiene-note__title {
  margin: 0;
  color: #991b1b;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.35;
}
.hygiene-checklist {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  padding: 0;
  width: 100%;
}
.about-bring .hygiene-checklist li {
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.62rem 0.7rem;
  border-radius: 8px;
  background: #fff;
  color: #7f1d1d;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(127, 29, 29, 0.08);
}
.about-bring .hygiene-checklist li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
  line-height: 1;
  flex: 0 0 auto;
}
.hygiene-note p {
  margin: 0;
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.65;
}
.hygiene-note p + p {
  margin-top: 0.45rem;
}

/* ============================
   Timeline (1日の流れ) — stacked cards
   ============================ */
.timetable-box {
  max-width: 600px;
  margin: 0 auto;
}
.timetable-alert {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border: 2px solid var(--c-warn);
  border-left-width: 8px;
  border-radius: 12px;
  background: #fff7ed;
  color: var(--c-primary);
  text-align: left;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.12);
}
.timetable-alert__eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.45rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--c-warn);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.3;
}
.timetable-alert__lead {
  margin: 0;
  color: var(--c-warn);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.45;
}
.timetable-alert__body {
  margin: 0.35rem 0 0;
  color: var(--c-text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.65;
}
.timetable-alert__body strong {
  color: var(--c-warn);
  font-weight: 900;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.timeline__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-left: 4px solid var(--c-accent);
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.timeline__time {
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--c-accent);
  flex-shrink: 0;
  min-width: 4rem;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.timeline__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}
.timeline__label {
  font-weight: 900;
  color: var(--c-primary);
  font-size: 1.05rem;
  line-height: 1.4;
}
.timeline__note {
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--c-text-sub);
  line-height: 1.4;
}
.timeline__item--main {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: var(--c-accent);
  border-left-width: 6px;
}
.timeline__item--main .timeline__time {
  color: var(--c-accent);
  font-size: 1.15rem;
}
.timeline__item--last {
  border-left-color: var(--c-primary);
}
.timeline__item--last .timeline__time {
  color: var(--c-primary);
}
.timetable__note {
  margin-top: 0.75rem;
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--c-text-sub);
  font-weight: 700;
}
@media (max-width: 767px) {
  .timetable-alert {
    padding: 0.9rem;
    border-left-width: 6px;
  }
  .timetable-alert__lead {
    font-size: 1.1rem;
  }
  .timetable-alert__body {
    font-size: 0.95rem;
  }
  .timeline__item {
    padding: 0.8rem 0.9rem;
    gap: 0.75rem;
  }
  .timeline__time {
    font-size: 0.95rem;
    min-width: 3.5rem;
  }
  .timeline__label { font-size: 0.98rem; }
}

/* ============================
   Mobile fixes (<=767px)
   ============================ */
@media (max-width: 767px) {
  /* Hero title: lock to 3 lines, never auto-wrap */
  .hero__title {
    white-space: nowrap;
    font-size: clamp(1.5rem, 6.8vw, 2rem);
  }
  /* Section title: force single line */
  .section__title {
    white-space: nowrap;
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
  }
  /* 持ち物: left-align, checkmark on first line, text wraps naturally */
  .about-bring {
    align-items: stretch;
    text-align: left;
  }
  .about-bring h3 {
    text-align: center;
  }
  .about-bring ul {
    padding-left: 0;
  }
  .about-bring li {
    align-items: flex-start;
    line-height: 1.55;
  }
  .about-bring li::before {
    flex-shrink: 0;
    margin-top: 0.25em;
  }
}
