/* ════════════════════════════════════
   SAKANAQUARIUM2026 — v3
   ════════════════════════════════════ */

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



/* Glitch — ported from pattern-01 */
.glitch {
  position: relative;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  white-space: nowrap;
  pointer-events: none;
}
.glitch::before {
  color: #6699ff;
  animation: glitch-top 5s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 38%, 0 38%);
}
.glitch::after {
  color: #ff5577;
  animation: glitch-bot 5s infinite;
  clip-path: polygon(0 62%, 100% 62%, 100% 100%, 0 100%);
}
@keyframes glitch-top {
  0%, 82%, 100% { transform: translateX(0); opacity: 0; }
  83%            { transform: translateX(-8px) skewX(-3deg); opacity: 0.75; }
  85%            { transform: translateX(5px); opacity: 0.75; }
  87%            { transform: translateX(-3px); opacity: 0.75; }
  89%            { transform: translateX(0); opacity: 0; }
}
@keyframes glitch-bot {
  0%, 84%, 100% { transform: translateX(0); opacity: 0; }
  85%            { transform: translateX(8px) skewX(3deg); opacity: 0.7; }
  87%            { transform: translateX(-5px); opacity: 0.7; }
  89%            { transform: translateX(3px); opacity: 0.7; }
  91%            { transform: translateX(0); opacity: 0; }
}

:root {
  --bg:     #ffffff;
  --fg:     #060606;
  --muted:  rgba(6,6,6,0.68);
  --dim:    rgba(6,6,6,0.42);
  --border: rgba(6,6,6,0.1);
  --warm:   #2a2420;
  --band:   #f5f5f5;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', 'Noto Sans JP', 'Helvetica Neue', Arial,
               'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  padding-bottom: 120px;
  -webkit-font-smoothing: antialiased;
  animation: fadeIn 0.8s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 80px);
}


/* ════════════════
   NAV
   ════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(24px, 6vw, 80px);
  z-index: 200;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s;
}
.nav.visible {
  opacity: 1; pointer-events: auto;
}
.nav-logo { height: 18px; opacity: 0.78; }


/* ════════════════
   ANCHOR NAV
   ════════════════ */
.anchor-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 300;
  display: flex;
  flex-direction: row;
  justify-content: center;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
}
.anchor-btn + .anchor-btn {
  margin-left: 20px;
}
.anchor-btn {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(6,6,6,0.32);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: border-color 0.35s, background 0.35s, transform 0.25s;
}
.anchor-btn span {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--fg);
  text-align: center;
  line-height: 1.35;
  pointer-events: none;
}
.anchor-btn:hover {
  border-color: rgba(6,6,6,0.7);
  transform: scale(1.06);
}
.anchor-btn.is-active {
  background: var(--fg);
  border-color: var(--fg);
}
.anchor-btn.is-active span {
  color: var(--bg);
}

/* SP: ボタンを小さく */
@media (max-width: 768px) {
  .anchor-nav {
    padding: 14px 12px calc(14px + env(safe-area-inset-bottom));
  }
  .anchor-btn + .anchor-btn {
    margin-left: 12px;
  }
  .anchor-btn {
    width: 56px; height: 56px;
  }
  .anchor-btn span {
    font-size: 0.5rem;
  }
}


/* ════════════════
   HERO
   ════════════════ */
.hero {
  display: flex;
  flex-direction: column;
  height: 100svh;
  min-height: 640px;
}

/* 上部: 写真 */
.hero-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 120%;
  object-fit: cover; object-position: center 45%;
  display: block;
  filter: brightness(0.48) saturate(0.72);
  will-change: transform;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(6,6,6,0.05) 0%,
    rgba(6,6,6,0.0)  40%,
    rgba(6,6,6,0.55) 100%
  );
}
.hero-head {
  position: absolute;
  bottom: 130px; left: clamp(24px, 5vw, 72px);
  z-index: 2;
}
.hero-logo-link {
  position: fixed;
  top: clamp(24px, 5vw, 48px);
  left: clamp(24px, 5vw, 72px);
  z-index: 200;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
.hero-logo-link.is-visible {
  opacity: 0.78;
  pointer-events: auto;
}
.hero-logo {
  display: block;
  height: 32px;
}
@keyframes logoFadeIn {
  to { opacity: 0.78; }
}
.hero-title {
  display: block;
  line-height: 0;
}
.hero-title img {
  display: block;
  width: min(80vw, 1180px);
  height: auto;
  margin: 0 auto;
  opacity: 0;
  animation: heroReveal 0.9s ease forwards;
  animation-delay: var(--d, 0s);
}

.hero-brand {
  display: block;
  width: min(48vw, 560px);
  height: auto;
  margin: 0 auto 80px;
  opacity: 0;
  animation: heroReveal 0.9s ease forwards;
  animation-delay: var(--d, 0s);
}
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy {
  display: block;
  width: min(72vw, 1080px);
  height: auto;
  margin: 0 auto 32px;
  opacity: 0;
  animation: heroReveal 0.9s ease forwards;
  animation-delay: var(--d, 0s);
}

/* Simple hero (no image) */
.hero--simple {
  justify-content: center;
  align-items: center;
  background: var(--bg);
}
.hero--simple .hero-head {
  position: static;
  text-align: center;
}

/* 下部: 情報帯 */
.hero-band {
  flex-shrink: 0;
  display: block;
  border-top: 1px solid var(--border);
  background: var(--band);
}

.band-right {
  padding: clamp(16px, 2.5vh, 28px) clamp(24px, 4vw, 56px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.band-dates {
  list-style: none;
  width: 100%;
  columns: 2;
  column-gap: 24px;
}
.band-dates li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(6,6,6,0.06);
  break-inside: avoid;
  white-space: nowrap;
  overflow: hidden;
}
.bd-day {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  min-width: 52px;
}
.bd-day em { font-style: normal; font-size: 0.62rem; color: var(--muted); margin-left: 3px; }
.bd-venue {
  font-size: 0.7rem;
  color: rgba(6,6,6,0.78);
  font-family: 'Noto Sans JP', 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.bd-area {
  font-size: 0.62rem;
  color: var(--dim);
  flex-shrink: 0;
}
.bd-time {
  display: none;
  font-size: 0.62rem;
  color: var(--dim);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}


/* ════════════════
   SECTION BASE
   ════════════════ */
.section { padding: 112px 0; border-bottom: 1px solid var(--border); }
.section-label {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.48em;
  color: var(--dim);
  margin-bottom: 60px;
}


/* ════════════════
   TICKETS
   ════════════════ */
.ticket-table { border-top: 1px solid var(--border); margin-bottom: 52px; }
.ticket-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--border); gap: 24px;
}
.ticket-row--top { padding: 28px 0; align-items: flex-start; }
.ticket-row--top .tk-name { font-size: 1rem; font-weight: 500; }
.ticket-row--top .tk-price { font-size: 1.3rem; }
.ticket-divider {
  font-size: 0.68rem; letter-spacing: 0.45em;
  color: rgba(6,6,6,0.38); padding: 18px 0 6px;
}
.tk-featured-info { display: flex; flex-direction: column; gap: 6px; }
.tk-detail {
  font-size: 0.75rem; color: var(--muted);
  font-family: 'Noto Sans JP', 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  letter-spacing: 0.04em;
}
.tk-name {
  font-size: 0.95rem; letter-spacing: 0.04em;
  display: flex; align-items: center; gap: 12px;
  font-family: 'Noto Sans JP', 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
}
.tk-badge {
  font-size: 0.68rem; letter-spacing: 0.1em; color: var(--muted);
  border: 1px solid rgba(6,6,6,0.2); padding: 2px 8px; font-weight: 400;
}
.tk-price {
  font-size: 1rem; font-weight: 400; letter-spacing: 0.04em;
  color: var(--fg); white-space: nowrap;
}
.ticket-note {
  font-size: 0.73rem; letter-spacing: 0.18em;
  color: var(--dim); margin-bottom: 32px;
}
#ticket {
  min-height: 50vh;
}
.coming-soon {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--dim);
  margin-top: 48px;
}
.btn-ticket {
  display: inline-flex; align-items: center;
  padding: 15px 48px;
  border: 1px solid rgba(6,6,6,0.36);
  color: var(--fg); text-decoration: none;
  font-size: 0.76rem; letter-spacing: 0.44em;
  cursor: pointer; transition: background 0.3s, border-color 0.3s;
}
.btn-ticket:hover { background: rgba(6,6,6,0.06); border-color: rgba(6,6,6,0.75); }


/* ════════════════
   FULL IMAGE
   ════════════════ */
.full-img { width: 100%; aspect-ratio: 16 / 7; overflow: hidden; }
.full-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: brightness(0.55) saturate(0.72);
  transition: transform 1.2s ease;
}
.full-img.is-visible img { transform: scale(1.03); }


/* ════════════════
   DATE / CITY LIST
   ════════════════ */
.city-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}
.city {
  width: 100%;
  text-align: center;
}
.city-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.city-name {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.venue-main + .venue-sub {
  margin-top: 10px;
}
.venue-main {
  display: block;
  width: auto;
  height: clamp(28px, 5vw, 48px);
}
.venue-main[alt="GLION ARENA KOBE"] {
  height: calc(clamp(28px, 5vw, 48px) * 0.9);
}
.venue-sub {
  display: none;
}
.city-en {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--fg);
}
.city-jp {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  color: var(--fg);
  font-family: 'Noto Sans JP', 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
}
.city-shows {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 16px;
}
.city-shows li {
  padding: 1px 0;
}
.cs-date {
  font-family: din-2014, 'Inter', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--fg);
}
.cs-num {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-variant-numeric: tabular-nums;
}
.cs-date em {
  font-family: din-2014, 'Inter', sans-serif;
  font-style: normal;
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--fg);
  margin-left: 8px;
  display: inline-block;
  width: 4em;
  text-align: left;
}
.cs-time {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg);
}
.city-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  margin-top: 8px;
}
.ci-label {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: var(--dim);
}
.ci-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ci-company {
  font-size: 0.85rem;
  color: var(--muted);
  font-family: 'Noto Sans JP', 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
}
.ci-url {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: 0.77rem;
  color: rgba(6,6,6,0.52);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.25s;
}
.ci-url:hover { color: var(--fg); }
.ci-tel {
  font-family: din-2014, 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .city-list {
    flex-direction: column;
    gap: 0;
  }
  .city {
    padding: 48px 0;
    border-bottom: none;
  }
  .city-head { gap: 14px; }
  .venue-main { height: clamp(24px, 7vw, 40px); }
  .city-shows li {
    padding: 1px 0;
  }
  .cs-num { font-size: 1.5rem; }
  .cs-date em { font-size: 0.7rem; }
  .cs-time { font-size: 0.85rem; letter-spacing: 0.1em; }
  .city-info {
    padding-top: 16px;
  }
}


/* ════════════════
   FOOTER
   ════════════════ */
.footer {
  padding: 64px 0;
  display: flex; justify-content: center;
  border-top: 1px solid var(--border);
}
.footer-logo { height: 24px; opacity: 0.4; }


/* ════════════════
   WOVN LANGUAGE SWITCHER
   ════════════════ */
.wovn-languages {
  position: fixed;
  top: clamp(24px, 5vw, 48px);
  right: clamp(24px, 5vw, 72px);
  z-index: 200;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  cursor: pointer;
}
.wovn-languages .langIcon {
  white-space: nowrap;
}


/* ════════════════
   FILM GRAIN OVERLAY
   ════════════════ */
.grain {
  display: none;
}
.grain::after {
  content: '';
  position: absolute;
  inset: -200%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
  animation: grain-shift 0.5s steps(3) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  33%  { transform: translate(-40px, 20px); }
  66%  { transform: translate(30px, -30px); }
  100% { transform: translate(0, 0); }
}


/* ════════════════
   KEN BURNS HERO
   ════════════════ */
.hero-media img {
  animation: kenburns 22s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.08) translate(-1.5%, -1%); }
}


/* ════════════════
   SECTION TRANSITIONS (clip-path reveal)
   ════════════════ */
.section {
  clip-path: inset(0 0 0 0);
}
.section .wrap {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.section.is-in-view .wrap {
  opacity: 1;
  transform: translateY(0);
}
.full-img {
  clip-path: inset(8% 4% 8% 4%);
  transition: clip-path 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.full-img.is-in-view {
  clip-path: inset(0 0 0 0);
}


/* ════════════════
   PARALLAX SECTIONS
   ════════════════ */
.js-parallax {
  will-change: transform;
}


/* ════════════════
   TICKET ROW HOVER
   ════════════════ */
.ticket-row {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.ticket-row::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--warm);
  transition: width 0.35s ease;
}
@media (hover: hover) {
  .ticket-row:hover {
    padding-left: 20px;
    background: rgba(6,6,6,0.03);
  }
  .ticket-row:hover::before {
    width: 3px;
  }
  .ticket-row:hover .tk-price {
    color: var(--warm);
    transition: color 0.3s;
  }
}


/* ════════════════
   REVEAL
   ════════════════ */
.js-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.js-reveal.is-visible { opacity: 1; transform: translateY(0); }


/* ════════════════
   RESPONSIVE
   ════════════════ */
@media (max-width: 768px) {
  body { padding-bottom: 84px; }
  .hero { height: auto; min-height: 100svh; }
  .hero-visual { min-height: 60svh; flex: none; height: 60svh; }
  .hero-head { bottom: 24px; }
  .hero-title img { width: 92vw; }
  .hero-copy { width: 86vw; margin-bottom: 20px; }
  .hero-brand { width: 58vw; margin-bottom: 32px; }
  .band-right { padding: 20px clamp(24px, 5vw, 72px); }
  .band-dates { columns: 1; }
  .section { padding: 80px 0; }
  .full-img { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
  .band-dates { columns: 1; }
  .bd-area { display: none; }
  .bd-time { display: block; }
}


/* ════════════════
   WOVN対策（必ず末尾に配置 — 他のfont-size指定を上書きするため）
   ════════════════ */
.hero-title,
.hero-head,
.hero--simple,
.anchor-nav,
.anchor-btn,
.city-head,
.city-name,
.city-shows li,
.city-info,
.ci-body,
.cs-date,
.ticket-row,
.tk-featured-info,
.footer {
  font-size: 0 !important;
}
