:root {
  --bg-primary: #0b0b0b;
  --bg-secondary: #111111;
  --text-primary: #f2f0ea;
  --text-secondary: #a8a49a;
  --gold: #b89a5a;
  --gold-muted: #806d45;
  --line: rgba(184, 154, 90, 0.28);
  --panel: #ffffff;
  --panel-border: rgba(184, 154, 90, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  color-scheme: dark;
  background: var(--bg-primary);
  overflow-x: hidden;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 60px 48px 72px;
}

.introduction {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.brand,
.section-label p,
.session-meta,
.notice-brand,
.page-footer p {
  text-transform: uppercase;
}

.brand {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-indent: 0.32em;
}

.section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 31px;
}

.section-label span {
  width: 40px;
  height: 1px;
  background: var(--line);
}

.section-label p {
  margin: 0;
  color: var(--gold-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  line-height: 1;
  text-indent: 0.24em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin: 28px 0 27px;
  color: var(--text-primary);
  font-size: clamp(40px, 4.2vw, 46px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.introduction-copy {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.95;
}

.introduction-copy p {
  margin-bottom: 13px;
}

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

.session-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 27px;
  color: var(--gold-muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.meta-divider {
  color: var(--line);
  font-size: 14px;
}

.reservation {
  width: 100%;
  min-height: 240px;
  margin: 0 auto;
}

.timerex-panel {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: 10px;
  background: var(--panel);
}

#timerex_calendar[hidden],
.notice[hidden] {
  display: none;
}

.notice {
  width: min(100%, 620px);
  margin: 0 auto;
  padding: 52px 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  background: var(--bg-secondary);
}

.notice-brand {
  margin-bottom: 30px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-indent: 0.32em;
}

.notice h2 {
  margin-bottom: 14px;
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
}

.notice > p:last-child {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.9;
}

.page-footer {
  padding: 54px 0 0;
  text-align: center;
}

.page-footer p {
  margin: 0;
  color: var(--gold-muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  .introduction,
  .reservation,
  .page-footer {
    animation: page-reveal 360ms ease-out both;
  }

  .reservation {
    animation-delay: 60ms;
  }

  .page-footer {
    animation-delay: 100ms;
  }
}

@keyframes page-reveal {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .page-shell {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 520px) {
  .page-shell {
    padding: 32px 20px 48px;
  }

  .introduction {
    margin-bottom: 36px;
  }

  .brand {
    font-size: 13px;
  }

  .section-label {
    gap: 12px;
    margin-top: 24px;
  }

  .section-label span {
    width: 34px;
  }

  h1 {
    margin: 23px 0 21px;
    font-size: clamp(30px, 8.6vw, 34px);
    letter-spacing: 0.03em;
  }

  .introduction-copy {
    font-size: 15px;
    line-height: 1.9;
  }

  .introduction-copy p {
    margin-bottom: 10px;
  }

  .desktop-break {
    display: none;
  }

  .session-meta {
    gap: 9px;
    margin-top: 21px;
    font-size: 10px;
    letter-spacing: 0.12em;
  }

  .timerex-panel {
    border-radius: 8px;
  }

  .notice {
    padding: 42px 20px;
    border-radius: 8px;
  }

  .notice-brand {
    margin-bottom: 24px;
  }

  .notice h2 {
    font-size: 20px;
  }

  .notice > p:last-child {
    font-size: 14px;
  }

  .page-footer {
    padding-top: 42px;
  }
}

@media (max-width: 360px) {
  .session-meta {
    flex-direction: column;
    gap: 4px;
  }

  .meta-divider {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
