@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

/* ========================================
   Loading Screen
   ======================================== */
body.is-loading {
  overflow: hidden;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(34, 34, 34, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader--done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__logo {
  width: clamp(200px, 50vw, 400px);
}

.loader__logo-img {
  width: 100%;
  height: auto;
  clip-path: inset(0 100% 0 0);
  animation: logoReveal 1.4s steps(7, end) forwards,
             logoPulse 1.5s ease-in-out 1.6s infinite;
}

/* 7 steps: each letter revealed left→right */
@keyframes logoReveal {
  0%       { clip-path: inset(0 100% 0 0); filter: brightness(0.3); }   /* nothing */
  14.28%   { clip-path: inset(0 85% 0 0);  filter: brightness(0.6); }   /* R */
  28.57%   { clip-path: inset(0 70% 0 0);  filter: brightness(0.7); }   /* RE */
  42.85%   { clip-path: inset(0 55% 0 0);  filter: brightness(0.8); }   /* RE: */
  57.14%   { clip-path: inset(0 42% 0 0);  filter: brightness(0.85); }  /* RE:L */
  71.42%   { clip-path: inset(0 30% 0 0);  filter: brightness(0.9); }   /* RE:LI */
  85.71%   { clip-path: inset(0 15% 0 0);  filter: brightness(0.95); }  /* RE:LIV */
  100%     { clip-path: inset(0 0% 0 0);   filter: brightness(1); }     /* RE:LIVE */
}

@keyframes logoPulse {
  0%, 100% {
    filter: brightness(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.1));
  }
  50% {
    filter: brightness(1.15) drop-shadow(0 0 20px rgba(255, 255, 255, 0.25));
  }
}

/* ========================================
   RE:LIVE HALL - CSS Variables
   Figma Design Tokens
   ======================================== */

:root {
  /* Section Colors */
  --color-hero: #DA1E4C;
  --color-news: #9ED03A;
  --color-schedule: #EA9C0F;
  --color-artist: #888888;
  --color-archive: #E6D333;
  --color-company: #01B5DA;

  /* Base Colors */
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-dark: #222222;
  --color-text: #1a1a1a;
  --color-text-light: #333333;
  --color-text-muted: #888888;
  --color-border: #EEEEEE;
  --color-bg: #FFFFFF;
  --color-bg-dark: #222222;

  /* Typography */
  --font-primary: 'Noto Serif JP', serif;
  --font-icon: 'Material Icons';

  /* Font Sizes */
  --fs-xs: 12px;
  --fs-sm: 15px;
  --fs-md: 16px;
  --fs-base: 18px;
  --fs-lg: 20px;
  --fs-xl: 22px;
  --fs-2xl: 24px;
  --fs-3xl: 26px;
  --fs-hero-sub: 120px;
  --fs-hero: 144px;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-base: 1.4;
  --lh-relaxed: 2.4em;

  /* Letter Spacing */
  --ls-tight: 1.1px;
  --ls-base: 1.3px;
  --ls-md: 2.6px;
  --ls-wide: 5.6px;
  --ls-wider: 8px;

  /* Layout */
  --width-full: 1440px;
  --width-content: 1280px;
  --width-inner: 1180px;
  --padding-side: 80px;
  --padding-inner: 50px;
  --section-gap: 150px;
  --header-height: 140px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px -10px rgba(0, 0, 0, 0.2);
  --transition: 0.3s ease;
}

/* Material Icons class */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 18px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  vertical-align: middle;
}

/* ========================================
   Scroll Fade-In
   ======================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  line-height: var(--lh-relaxed);
  letter-spacing: var(--ls-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition);
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

/* ========================================
   Container
   ======================================== */
.container {
  width: 100%;
  max-width: var(--width-content);
  margin: 0 auto;
  padding: 0 var(--padding-inner);
}

.container--wide {
  max-width: var(--width-full);
  padding: 0 var(--padding-side);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  padding: 0 var(--padding-side);
}

.header__inner {
  width: 100%;
  max-width: var(--width-full);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  width: 160px;
  height: auto;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav__link {
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  letter-spacing: var(--ls-md);
  white-space: nowrap;
  transition: opacity var(--transition);
}

.nav__link:hover,
.nav__link--active {
  opacity: 0.7;
}

.nav__divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.nav__sns {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav__sns-link {
  display: flex;
  align-items: center;
  opacity: 0.8;
  transition: opacity var(--transition);
}

.nav__sns-link:hover {
  opacity: 1;
}

.nav__lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav__lang-btn {
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}

.nav__lang-btn:hover {
  color: var(--color-white);
}

.nav__lang-btn--active {
  color: var(--color-white);
  font-weight: var(--fw-bold);
}

.nav__lang-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: var(--fs-xs);
}

/* Mobile Toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav__toggle-bar {
  width: 28px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
}

/* ========================================
   Hero
   ======================================== */
.hero {
  position: relative;
  width: 100%;
  height: 900px;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide--active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__content {
  position: relative;
  text-align: center;
  color: var(--color-white);
  padding: 0 var(--padding-side);
}

.hero__title-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero__accent-line {
  width: 5px;
  height: 150px;
  background-color: var(--color-hero);
  flex-shrink: 0;
}

.hero__text {
  text-align: left;
}

.hero__title {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: var(--fw-regular);
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero__subtitle {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   Section Common
   ======================================== */
.section {
  padding: 80px 0;
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__title-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.section__title-line {
  width: 5px;
  height: 40px;
  flex-shrink: 0;
}

.section__title-line--news { background-color: var(--color-news); }
.section__title-line--schedule { background-color: var(--color-schedule); }
.section__title-line--artist { background-color: var(--color-artist); }
.section__title-line--archive { background-color: var(--color-archive); }
.section__title-line--company { background-color: var(--color-company); }

.section__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: var(--fw-regular);
  letter-spacing: 0.1em;
  line-height: 1;
}

.section--dark .section__title {
  color: var(--color-artist);
}

.section__subtitle {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* VIEW MORE Button */
.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 30px;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  letter-spacing: var(--ls-md);
  color: var(--color-text);
  background: transparent;
  border: 1px solid var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-more:hover {
  opacity: 1;
  background-color: var(--color-text);
  color: var(--color-white);
}

.btn-more--news { border-color: var(--color-news); color: var(--color-news); }
.btn-more--news:hover { background-color: var(--color-news); color: var(--color-white); }
.btn-more--schedule { border-color: var(--color-schedule); color: var(--color-schedule); }
.btn-more--schedule:hover { background-color: var(--color-schedule); color: var(--color-white); }
.btn-more--artist { border-color: var(--color-artist); color: var(--color-artist); }
.btn-more--artist:hover { background-color: var(--color-artist); color: var(--color-white); }
.btn-more--archive { border-color: var(--color-archive); color: var(--color-archive); }
.btn-more--archive:hover { background-color: var(--color-archive); color: var(--color-white); }
.btn-more--company { border-color: var(--color-company); color: var(--color-company); }
.btn-more--company:hover { background-color: var(--color-company); color: var(--color-white); }

.section__footer {
  text-align: center;
  margin-top: 40px;
}

/* ========================================
   News List
   ======================================== */
.news-list {
  max-width: var(--width-inner);
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item__date {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-muted);
  white-space: nowrap;
  min-width: 120px;
}

.news-item__tag {
  display: inline-block;
  padding: 2px 12px;
  min-width: 6em;
  text-align: center;
  font-size: var(--fs-xs);
  border-radius: 2px;
  white-space: nowrap;
  background: #e9d8fd;
  color: #553c9a;
}

.news-item__tag--notice { background: #e9d8fd; color: #553c9a; }
.news-item__tag--media  { background: #bee3f8; color: #2a69ac; }
.news-item__tag--event  { background: #c6f6d5; color: #276749; }

.news-item__title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  flex: 1;
}

.news-item__title a:hover {
  opacity: 0.7;
}

/* News Accordion */
.news-accordion {
  border-bottom: 1px solid var(--color-border);
}

.news-accordion > .news-item {
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-bottom: none;
}

.news-accordion > .news-item::-webkit-details-marker { display: none; }

.news-item__arrow {
  font-size: 20px;
  color: var(--color-text-muted);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.news-accordion[open] > .news-item .news-item__arrow {
  transform: rotate(180deg);
}

.news-accordion__body {
  padding: 0 0 20px 140px;
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--color-text-light);
}

/* ========================================
   Schedule Cards
   ======================================== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--width-inner);
  margin: 0 auto;
}

.schedule-card {
  background: var(--color-bg);
}

.schedule-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.schedule-card:hover .schedule-card__image {
  filter: grayscale(0%);
}

.schedule-card.is-inview .schedule-card__image {
  filter: grayscale(0%);
}

.schedule-card__body {
  padding: 16px 0;
}

.schedule-card__team {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
}

.schedule-card__date {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.schedule-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  color: var(--color-text);
}

.schedule-card__link .material-icons {
  font-size: var(--fs-lg);
}

/* ========================================
   Artist Slider
   ======================================== */
.artist-slider {
  position: relative;
  overflow: hidden;
  max-width: var(--width-content);
  margin: 0 auto;
}

.artist-slider__track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.artist-card {
  flex-shrink: 0;
  width: 300px;
}

.artist-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.artist-card__name {
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  margin-top: 12px;
  color: var(--color-white);
}

.artist-slider__nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 30px;
}

.artist-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.artist-slider__btn:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* ========================================
   Archive Cards
   ======================================== */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--width-inner);
  margin: 0 auto;
}

.archive-card {
  cursor: pointer;
}

.archive-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform var(--transition), filter 0.5s ease;
}

.archive-card:hover .archive-card__image {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.archive-card.is-inview .archive-card__image {
  filter: grayscale(0%);
}

.archive-card__image-wrapper {
  overflow: hidden;
}

.archive-card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-top: 12px;
  margin-bottom: 4px;
}

.archive-card__desc {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
}

/* ========================================
   Company Section (HOME) - Grid Overlap
   ======================================== */
.company-preview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto;
  min-height: 500px;
}

.company-preview__image {
  grid-column: 5 / 13;
  grid-row: 1;
  overflow: hidden;
}

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

.company-preview__body {
  grid-column: 1 / 8;
  grid-row: 1;
  align-self: center;
  z-index: 1;
  padding: 50px 60px;
  background: rgba(255, 255, 255, 0.9);
}

.company-preview__heading {
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

.company-preview__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text-light);
  margin-bottom: 30px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-white);
  padding: 80px var(--padding-inner) 120px;
}

.footer__inner {
  max-width: var(--width-content);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.footer__brand {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
}

.footer__address,
.footer__tel {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.footer__email {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.footer__email a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer__email a:hover {
  color: var(--color-white);
}

.footer__sns {
  display: flex;
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 12px;
}

.footer__sns a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__sns svg,
.footer__sns img {
  width: 20px;
  height: 20px;
}

.footer__privacy {
  font-size: var(--fs-xs);
  text-decoration: underline;
  color: var(--color-text-muted);
}

.footer__right {
  text-align: right;
}

.footer__office {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__copyright {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* ========================================
   Floating Button
   ======================================== */
.floating-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: var(--color-dark);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  transition: transform var(--transition);
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.05);
  opacity: 1;
}

.floating-btn__text {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-tight);
  margin-bottom: 2px;
}

.floating-btn .material-icons {
  font-size: var(--fs-lg);
}

/* ========================================
   Page Header (Sub pages)
   ======================================== */
.page-header {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.15);
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.page-header.is-loaded::before {
  transform: scale(1);
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

.page-header .container {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.4s, transform 0.6s ease 0.4s;
}

.page-header.is-loaded .container {
  opacity: 1;
  transform: translateY(0);
}

.page-header__title-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.page-header__title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: var(--fw-regular);
  letter-spacing: 0.1em;
  color: var(--color-white);
}

.page-header__subtitle {
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-wide);
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   News Page
   ======================================== */
.news-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.news-filter__btn {
  padding: 6px 20px;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.news-filter__btn--active,
.news-filter__btn:hover {
  background-color: var(--color-text-light);
  color: var(--color-white);
  border-color: var(--color-text-light);
}

/* ========================================
   Schedule Page
   ======================================== */
.calendar {
  max-width: var(--width-inner);
  margin: 0 auto 60px;
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.calendar__month {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
}

.calendar__nav {
  background: none;
  border: 1px solid var(--color-border);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.calendar__nav:hover {
  background-color: var(--color-text);
  color: var(--color-white);
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background-color: var(--color-border);
}

.calendar__day-header {
  background: var(--color-bg);
  padding: 8px;
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
}

.calendar__day-header--sunday { color: #d9534f; }
.calendar__day-header--saturday { color: #2a6fbb; }

.calendar__day {
  background: var(--color-bg);
  min-height: 100px;
  padding: 8px;
  font-size: var(--fs-xs);
}

.calendar__day-number {
  font-weight: var(--fw-bold);
  margin-bottom: 4px;
  display: block;
}

.calendar__day--sunday .calendar__day-number,
.calendar__day--holiday .calendar__day-number { color: #d9534f; }

.calendar__day--saturday .calendar__day-number { color: #2a6fbb; }

.calendar__holiday-label {
  display: block;
  font-size: 10px;
  color: #d9534f;
  margin-bottom: 2px;
  line-height: 1.3;
}

.calendar__event {
  font-size: 10px;
  padding: 2px 4px;
  background-color: #1a2744;
  color: var(--color-white);
  border-radius: 2px;
  margin-bottom: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.calendar__day--has-event { cursor: pointer; }

/* Calendar Event Popup */
.calendar-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  align-items: flex-end;
  justify-content: center;
}

.calendar-popup--active {
  display: flex;
}

.calendar-popup__card {
  width: 100%;
  background: var(--color-bg);
  border-top: 3px solid var(--color-schedule);
  padding: 24px 20px 32px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 16px 16px 0 0;
  max-height: 80vh;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.calendar-popup__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.calendar-popup__date {
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
}

.calendar-popup__close {
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 4px;
  line-height: 1;
}

.calendar-popup__body { font-size: var(--fs-sm); }

.calendar-popup__item {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.calendar-popup__item:last-child { border-bottom: none; }

.calendar-popup__image {
  width: 100%;
  height: 160px !important;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
  display: block !important;
  flex-shrink: 0;
}

.calendar-popup__team {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: 10px;
}

.calendar-popup__info-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
}

.calendar-popup__info-label {
  color: var(--color-text-muted);
  min-width: 70px;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
}

.calendar-popup__info-value {
  font-weight: var(--fw-medium);
}

.calendar-popup__ticket {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  padding: 8px 20px;
  background: var(--color-schedule);
  color: var(--color-white);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  border-radius: 2px;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: opacity var(--transition);
}

.calendar-popup__ticket:hover { opacity: 0.8; }

/* Desktop popup: centered modal with backdrop */
@media (min-width: 768px) {
  .calendar-popup {
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
  }

  .calendar-popup__card {
    width: 400px;
    border-radius: 8px;
    border-top: 3px solid var(--color-schedule);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    max-height: 85vh;
  }
}

.schedule-filter {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.schedule-filter__btn {
  padding: 6px 20px;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.schedule-filter__btn--active,
.schedule-filter__btn:hover {
  background-color: var(--color-schedule);
  color: var(--color-white);
  border-color: var(--color-schedule);
}

/* ========================================
   Artist Page
   ======================================== */
.artist-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: var(--width-inner);
  margin: 0 auto;
}

.artist-grid-card {
  position: relative;
}

.artist-grid-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.artist-grid-card__label {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background-color: var(--color-hero);
  letter-spacing: 1px;
}

.artist-grid-card__name {
  font-size: var(--fs-sm);
  margin-top: 10px;
  text-align: center;
}

/* ========================================
   Artist Detail Popup
   ======================================== */
.artist-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
}

.artist-popup--active {
  display: block;
}

.artist-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.artist-popup__container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 860px;
  max-height: 85vh;
  background: var(--color-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.artist-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.artist-popup__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.artist-popup__scroll {
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
}

/* Team Section */
.artist-popup__team {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.artist-popup__team-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
}

.artist-popup__team-label {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background-color: var(--color-hero);
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.artist-popup__team-label:empty {
  display: none;
}

.artist-popup__team-label--upcoming {
  background-color: var(--color-schedule);
}

.artist-popup__team-name {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.artist-popup__team-meta {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.artist-popup__team-bio {
  font-size: var(--fs-sm);
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 16px;
  white-space: pre-line;
}

.artist-popup__team-sns {
  display: flex;
  gap: 10px;
}

.artist-popup__sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition);
}

.artist-popup__sns-link svg {
  display: block;
}

.artist-popup__sns-link:hover {
  background: var(--color-hero);
  border-color: var(--color-hero);
  color: var(--color-white);
}

/* Members Section */
.artist-popup__members {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
}

.artist-popup__members-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  color: var(--color-text-muted);
}

.artist-popup__members:empty,
.artist-popup__members[data-empty="true"] {
  display: none;
}

.artist-popup__members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.artist-popup__member {
  text-align: center;
}

.artist-popup__member-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
  background: #f0f0f0;
}

.artist-popup__member-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0, #cbd5e0);
  color: #a0aec0;
  border-radius: 8px;
  aspect-ratio: 1;
  margin-bottom: 10px;
}

.artist-popup__member-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 2px;
}

.artist-popup__member-position {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.artist-popup__member-birth {
  font-size: 11px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.artist-popup__member-bio {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 6px;
}

.artist-popup__member-sns {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.artist-popup__member-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: all var(--transition);
}

.artist-popup__member-sns a svg {
  display: block;
  width: 12px;
  height: 12px;
}

.artist-popup__member-sns a:hover {
  background: var(--color-hero);
  border-color: var(--color-hero);
  color: var(--color-white);
}

/* ========================================
   Access Page
   ======================================== */
.access-map {
  width: 100%;
  height: 400px;
  margin-bottom: 40px;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.access-info {
  max-width: var(--width-inner);
  margin: 0 auto;
}

.access-info__table {
  width: 100%;
  border-collapse: collapse;
}

.access-info__table th,
.access-info__table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
  text-align: left;
}

.access-info__table th {
  font-weight: var(--fw-bold);
  width: 120px;
  color: var(--color-text-light);
}

/* ========================================
   Company Page
   ======================================== */
/* ========================================
   Company Overview (会社概要)
   ======================================== */
.company-overview-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
  margin-top: 30px;
}

.company-overview-image {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.company-overview-image__img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.company-overview {
  border-top: 2px solid var(--color-company);
}

.company-overview__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--color-border);
  padding: 18px 0;
  align-items: baseline;
}

.company-overview__label {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  padding-right: 24px;
}

.company-overview__value {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text);
}

/* ========================================
   Company Section
   ======================================== */
.company-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.company-section__title {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  letter-spacing: var(--ls-wider);
  margin-bottom: 30px;
}

.company-section__text {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-text-light);
  max-width: 820px;
}
.company-section__text--center {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.company-section__text blockquote {
  border-left: 3px solid var(--color-company);
  padding-left: 20px;
  margin: 20px 0;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  padding: 30px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.feature-card__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}

.feature-card__text {
  font-size: var(--fs-sm);
  color: var(--color-text-light);
  line-height: 1.8;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.service-step {
  padding: 24px;
  border: 1px solid var(--color-border);
  text-align: center;
}

.service-step__number {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--color-company);
  margin-bottom: 8px;
}

.service-step__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.service-step__desc {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
}

/* Facility */
.facility-section {
  margin-top: 30px;
}

.facility-section__title {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  border-bottom: 2px solid var(--color-text);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.facility-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.facility-table th,
.facility-table td {
  padding: 10px 16px;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--fs-sm);
  text-align: left;
}

.facility-table th {
  font-weight: var(--fw-bold);
  background: var(--color-border);
  width: 200px;
  white-space: nowrap;
}

/* Equipment */
/* Equipment Accordion */
.equipment-accordion {
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
  overflow: hidden;
}

.equipment-accordion__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  cursor: pointer;
  user-select: none;
  list-style: none;
  background: var(--color-bg);
  color: var(--color-text);
  border-left: 4px solid var(--color-company);
}

.equipment-accordion__summary::-webkit-details-marker {
  display: none;
}

.equipment-accordion__summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
  color: var(--color-company);
}

.equipment-accordion[open] > .equipment-accordion__summary::after {
  content: '−';
}

.equipment-accordion__body {
  padding: 20px;
}

.equipment-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: var(--fs-xs);
}

.equipment-table th,
.equipment-table td {
  padding: 8px 12px;
  border: 1px solid var(--color-border);
  text-align: left;
}

.equipment-table th {
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: var(--fw-medium);
}

.equipment-table tr:nth-child(even) {
  background: #f9f9f9;
}

/* Company Access Map */
.company-access {
  display: flex;
  gap: 80px;
  margin-top: 60px;
  padding-top: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border);
  align-items: center;
  justify-content: center;
}

.company-access__map {
  flex: 0 0 460px;
  min-width: 0;
}

.company-access__map-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  display: block;
}

.company-access__stations {
  flex: 0 0 340px;
}

.company-access__title {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-align: center;
}

.company-access__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.company-access__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.5;
}

.company-access__line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 50px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}

.company-access__line--yamanote  { background: #9acd32; }
.company-access__line--chuo      { background: #f15a22; }
.company-access__line--oedo      { background: #b6007a; }
.company-access__line--fukutoshin { background: #9c5e31; }
.company-access__line--seibu     { background: #009cd2; }

@media (max-width: 767px) {
  .company-access {
    flex-direction: column;
    gap: 14px;
  }
  .company-access__map {
    flex: none;
  }
  .company-access__stations {
    flex: none;
    width: 100%;
  }
  .company-access__title {
    margin-top: 24px;
  }
}

/* Board Members */
.board-layout {
  display: flex;
  gap: 48px;
  margin-top: 30px;
  align-items: center;
}

.board-layout__message {
  flex: 1;
}

.board-layout__message blockquote {
  font-size: var(--fs-md);
  line-height: 2;
  font-style: italic;
}

.board-layout__signer {
  margin-top: 24px;
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
}

.board-layout__members {
  flex-shrink: 0;
  text-align: center;
}

.board-card {
  text-align: center;
}

.board-card--main .board-card__photo {
  width: 180px;
  height: 230px;
}

.board-card__photo {
  width: 100px;
  height: 130px;
  margin: 0 auto 8px;
  overflow: hidden;
  border-radius: 8px;
}

.board-card__photo--placeholder {
  background: var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-card__photo--placeholder .material-icons {
  font-size: 48px;
  color: var(--color-text-muted);
}

.board-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.board-card__position {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  margin-bottom: 2px;
  letter-spacing: 0.05em;
}

.board-card__name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  letter-spacing: 0.05em;
}

.board-card--main .board-card__name {
  font-size: var(--fs-base);
}

.board-sub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 767px) {
  .board-layout {
    flex-direction: column;
  }
  .board-layout__members {
    width: 100%;
  }
  .board-card--main {
    margin: 0 auto;
  }
  .board-sub-grid {
    max-width: 100%;
    margin: 20px auto 0;
    gap: 8px;
  }
  .board-sub-grid .board-card__photo {
    width: 80px;
    height: 105px;
  }
  .board-sub-grid .board-card__position {
    font-size: 9px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .board-sub-grid .board-card__name {
    font-size: 10px;
    letter-spacing: 0;
    white-space: nowrap;
  }
  .board-sub-grid .board-card__photo--placeholder .material-icons {
    font-size: 36px;
  }
}

/* ========================================
   Contact Page
   ======================================== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--color-hero);
  font-size: var(--fs-xs);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-text-light);
}

.form-group textarea {
  min-height: 200px;
  resize: vertical;
}

.form-submit {
  text-align: center;
}

.btn-submit {
  display: inline-block;
  padding: 14px 60px;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  background-color: var(--color-company);
  border: none;
  cursor: pointer;
  letter-spacing: var(--ls-md);
  transition: all var(--transition);
}

.btn-submit:hover {
  background-color: #019bb8;
}

/* Result Modal */
.result-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.result-modal--hidden {
  opacity: 0;
  pointer-events: none;
}
.result-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
.result-modal__card {
  position: relative;
  background: var(--color-white);
  border-radius: 12px;
  padding: 8px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.result-modal__card::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 4px solid var(--color-company);
  border-radius: 8px;
  pointer-events: none;
}
.result-modal__inner {
  padding: 40px 32px 28px;
}
.result-modal__icon {
  margin-bottom: 16px;
}
.result-modal__icon .material-icons {
  font-size: 56px;
}
.result-modal__icon--success .material-icons {
  color: #28a745;
}
.result-modal__icon--error .material-icons {
  color: #dc3545;
}
.result-modal__title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: 12px;
}
.result-modal__text {
  font-size: var(--fs-xs);
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 28px;
}
.result-modal__btn {
  display: inline-block;
  padding: 12px 48px;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  background: var(--color-text);
  color: var(--color-white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}
.result-modal__btn:hover {
  background: var(--color-text-light);
}

.contact-info {
  max-width: 600px;
  margin: 40px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--color-border);
}

.contact-info__item {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: var(--fs-sm);
}

.contact-info__label {
  font-weight: var(--fw-bold);
  min-width: 80px;
}

/* ========================================
   Pagination
   ======================================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: var(--fs-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

.pagination__link--active,
.pagination__link:hover {
  background-color: var(--color-text);
  color: var(--color-white);
  border-color: var(--color-text);
}
.pagination__dots {
  display: flex;
  align-items: center;
  padding: 0 4px;
  color: var(--color-text-muted);
}

/* ========================================
   Video Grid
   ======================================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 64px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.video-grid__item {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

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

@media (max-width: 767px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   Modal
   ======================================== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal--active {
  display: flex;
}

.modal__content {
  max-width: 90vw;
  max-height: 90vh;
}

.modal__content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  font-size: var(--fs-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Responsive - Tablet (768px)
   ======================================== */
@media (max-width: 1024px) {
  :root {
    --padding-side: 40px;
    --padding-inner: 30px;
  }

  .schedule-grid,
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artist-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-preview {
    grid-template-columns: repeat(12, 1fr);
    min-height: 400px;
  }

  .company-preview__image {
    grid-column: 5 / 13;
  }

  .company-preview__body {
    grid-column: 1 / 8;
    padding: 40px 40px 40px 0;
  }
}

/* ========================================
   Responsive - Mobile (767px)
   ======================================== */
@media (max-width: 767px) {
  :root {
    --padding-side: 20px;
    --padding-inner: 20px;
    --header-height: 70px;
  }

  /* Header Mobile */
  .header {
    padding: 0 var(--padding-side);
  }

  .header__logo img {
    width: 120px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 20px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__divider {
    display: none;
  }

  .nav__sns {
    padding: 20px 0 4px;
    gap: 20px;
  }

  .nav__lang {
    padding: 12px 0 8px;
    gap: 8px;
  }

  .nav__lang-btn {
    font-size: var(--fs-sm);
  }

  .nav__toggle--active .nav__toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .nav__toggle--active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle--active .nav__toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* Hero Mobile */
  .hero {
    height: 500px;
  }

  .hero__title {
    font-size: 36px;
  }

  .hero__accent-line {
    height: 80px;
  }

  /* Sections Mobile */
  .section {
    padding: 50px 0;
  }

  .news-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }

  .news-item__date {
    font-size: var(--fs-sm);
    min-width: auto;
  }

  .news-item__tag {
    min-width: auto;
    padding: 2px 8px;
  }

  .news-item__title {
    flex: 1 1 calc(100% - 40px);
  }

  .news-item__arrow {
    margin-left: auto;
  }

  .news-filter,
  .schedule-filter {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .news-filter__btn,
  .schedule-filter__btn {
    padding: 6px 10px;
    font-size: var(--fs-xs);
  }

  .news-accordion__body {
    padding: 0 0 16px 0;
  }

  /* Calendar Mobile */
  .calendar {
    overflow: hidden;
  }

  .calendar__grid {
    table-layout: fixed;
    width: 100%;
  }

  .calendar__day {
    min-height: 50px;
    position: relative;
    text-align: center;
    padding: 4px 2px;
    word-break: break-all;
  }

  .calendar__event {
    font-size: 6px;
    padding: 1px 1px;
    background-color: #1a2744;
    color: var(--color-white);
    border-radius: 1px;
    margin-bottom: 1px;
    overflow: hidden;
    white-space: normal;
    word-break: break-all;
    line-height: 1.3;
  }

  .calendar__event-time {
    display: none;
  }

  .calendar__day-number {
    display: block;
    text-align: center;
  }

  .calendar__day--has-event {
    cursor: pointer;
  }

  .calendar__day--has-event .calendar__day-number {
    font-weight: var(--fw-bold);
    color: var(--color-schedule);
  }

  .schedule-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .artist-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .artist-card {
    width: 250px;
  }

  /* Artist Slider - Center Mode */
  .artist-slider {
    overflow: visible;
  }

  .artist-slider__track {
    gap: 12px;
    scroll-snap-type: x mandatory;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 calc(50vw - 140px); /* center a 280px card */
  }

  .artist-slider__track::-webkit-scrollbar {
    display: none;
  }

  .artist-card {
    width: 280px;
    scroll-snap-align: center;
    opacity: 0.5;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .artist-card.is-center {
    opacity: 1;
    transform: scale(1);
  }

  .artist-slider__nav {
    display: none;
  }

  /* Company Overview Mobile */
  .company-overview-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .company-overview-image {
    position: static;
    order: -1;
  }

  .company-overview-image__img {
    height: 240px;
  }

  .company-overview__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }

  .company-section__title {
    font-size: var(--fs-lg);
  }

  .feature-card {
    padding: 24px;
  }

  .facility-table th,
  .facility-table td {
    display: block;
    width: 100%;
  }

  .facility-table th {
    border-bottom: none;
  }

  .board-layout__message blockquote br {
    display: none;
  }

  .board-layout__message blockquote strong {
    display: block;
    text-align: center;
    margin-top: 16px;
  }

  .board-layout__signer {
    text-align: center;
  }

  .company-overview__label {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
  }

  /* Company Mobile */
  .company-preview {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .company-preview__image {
    order: 1;
    height: 250px;
  }

  .company-preview__body {
    order: 2;
    padding: 30px 0 0;
    text-align: center;
  }

  .features,
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Footer Mobile */
  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .footer__right {
    text-align: left;
  }

  /* Floating Button */
  .floating-btn {
    width: 70px;
    height: 70px;
    bottom: 20px;
    right: 20px;
  }

  .floating-btn__text {
    font-size: 9px;
  }

  /* Artist Popup Mobile */
  .artist-popup__container {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border-radius: 0;
    top: 0;
    left: 0;
    transform: none;
  }

  .artist-popup__scroll {
    max-height: 100vh;
    padding: 20px;
    padding-top: 56px;
  }

  .artist-popup__team {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .artist-popup__team-image img {
    aspect-ratio: 4 / 3;
  }

  .artist-popup__members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
