/* ===============================
   Global variables
   =============================== */

:root {
  --bg: #f7f7f7;
  --fg: #000;
  --band: #000;
  --side: min(70ch, 33vw);
  --gap: clamp(10px, 2vw, 20px);
  --band-in-ms: 280ms;
  --band-out-ms: 620ms;
  /* 通常時 */
  --logo-w-normal: clamp(100px, 7.83vw, 160px);
  /* 1440px幅のとき ≒112.88px */

  /* MV時 */
  --logo-scale-overmv: calc(486.99 / 112.88);
  /* 通常112.88pxをスケールして650pxにする倍率 ≒ 4.3125 */

  /* ロゴの縦シフト */
  --logo-shift-overmv: 0vh;
}
@media (max-width: 960px) {
  :root {
    /* 通常時 */
    --logo-w-normal: 75.25px;
    /* MV時（スマホ基準：160pxにしたい） */
    --logo-scale-overmv: calc(160 / 75.25); /* ≒ 2.12625 */
  }
}

html,
body {
  height: 100%;
  font-size: 16px;
  font-weight: 500;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'futura-pt', sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
}
p {
  margin: 0;
}

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

button,
[type='button'],
[type='submit'],
[type='reset'] {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit; /* family/size/weight を継承 */
  color: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-decoration: none;
  cursor: pointer; /* デフォで pointer */
  border-radius: 0; /* iOS の角丸解除 */
  box-shadow: none;
}

/* Page corners */
.page-corners {
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  color: #fff;
  mix-blend-mode: difference;
}
body.over-list .page-corners,
body.over-list #brand-label span,
body.over-list .navigation {
  color: #fff;
  mix-blend-mode: difference;
}
body.over-list.menu-open .page-corners,
body.over-list.menu-open .navigation {
  color: #fff;
}
#brand-label,
#issue-label,
#clock {
  color: inherit;
  font-size: clamp(12px, 0.83vw, 14px);
  letter-spacing: 0.04em;
}
#brand-label {
  display: flex;
  flex-direction: column;
  top: 20px;
  left: 20px;
  position: fixed;
}

#issue-label {
  bottom: 20px;
  left: 20px;
  position: fixed;
}
#clock {
  bottom: 20px;
  right: 20px;
  position: fixed;
  font-family: 'futura-pt', sans-serif;
  font-variant-numeric: tabular-nums lining-nums; /* 等幅 + ライニング */
  font-feature-settings: 'tnum' 1, 'lnum' 1; /* 互換指定 */
  /* 視覚の揺れをさらに抑える */
  font-kerning: none;
}

#clock i {
  margin-left: 10px;
}

/* MV */
.mv {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 5;
}
.mv img,
.mv video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 1;
}
.mv .active {
  opacity: 1;
  z-index: 1;
}
.mv .video-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}
.video-background iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  border: 0;
  pointer-events: none;
}
.video-background.yt-hidden {
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .video-background {
    transition: none;
  }
}
@media (max-width: 769px) {
  #logo {
    width: 80vw;
  }
}

/* Sound on/off */
/*#bars {
  width: 50px;
  height: 50px;
  position: fixed;
  bottom: 50px;
  cursor: pointer;
  z-index: 1000;
  left: 50%;
  transform: translateX(-50%);
}
.bar {
  background: #aaa;
  bottom: 1px;
  height: 3px;
  width: 1px;
  position: absolute;
  animation: soundOff 0ms -800ms linear infinite alternate;
  left: var(--x, 0px);
}*/
#bars.playing .bar {
  animation-name: soundOn;
}
@keyframes soundOff {
  0% {
    opacity: 0.35;
    height: 3px;
  }
  100% {
    opacity: 1;
    height: 20px;
  }
}

/* ===== Scroll Cue under #bars ===== */
/*scroll btn*/
.scrolldown {
  position: fixed;
  left: 50%;
  bottom: 0px;
  height: 50px;
  z-index: 1000;
  mix-blend-mode: difference;
}
.scrolldown a {
  display: block;
  width: 50px;
  height: 50px;
}

/* 線の描写 */
.scrolldown::after {
  content: '';
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background: #fff;
  animation: pathmove 1.5s ease-in-out infinite;
  opacity: 0;
  mix-blend-mode: difference;
}

@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }

  30% {
    height: 30px;
    opacity: 1;
  }

  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/** 3-column layout ******************************/
.layout {
  display: grid;
  grid-template-columns: minmax(0, var(--side)) minmax(0, 1fr) minmax(
      0,
      var(--side)
    );
  min-height: 100dvh;
  align-items: stretch;
  padding: var(--gap);
}

/* Lists */
.col {
  display: flex;
}
.list {
  list-style: none;
  margin: 0;
  padding: 0;
  align-self: center;
  inline-size: 100%;
}
.list li {
  position: relative;
  display: flex;
  margin: 0;
  line-height: 1;
  cursor: pointer;
  outline: none;
  font-size: clamp(16px, 1.11vw, 18px);
  color: var(--fg);
  transition: color 0.24s ease, transform 0.12s ease;
}
.list li.cover {
  pointer-events: none; /* hover/focusイベントを無効化 */
  color: transparent;
}
.list li .num {
  display: block;
  padding: 5px 5px 5px 0px;
}
.list li .text {
  display: inline-block;
  margin-inline-start: 1vw;
  font-weight: 500;
  padding: 5px 0 5px 5px;
}
.col-right li {
  display: block;
  text-align: right;
}
/* bands */
.list li .text::before,
.list li .num::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--band);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--band-out-ms) ease;
  z-index: -1;
  padding: 5px 0;
}
#rightList.list li .text::before {
  transform-origin: right center;
}
.list li.band-in .text::before,
.list li.band-in .num::before {
  transform: scaleX(1);
  transition-duration: var(--band-in-ms);
}
.list li.band-in .text,
.list li.band-in .num {
  transition: color 0.2s ease var(--band-in-ms);
  color: #fff;
}
.list li > * {
  position: relative;
  z-index: 1;
}
.list li .text:active,
.list li .num:active {
  transform: translateY(1px);
}

/* 発火中の行（.is-active）を hover と同じ見た目に */
.list li.is-active .text::before,
.list li.is-active .num::before {
  transform: scaleX(1);
  transition-duration: var(--band-in-ms);
}

.list li.is-active .text,
.list li.is-active .num {
  color: #fff;
  transition: color 0.2s ease var(--band-in-ms);
}

/* Stage */
.stage {
  /*position: relative;*/
  transition: opacity 1s ease;
}
.viewport {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.photo {
  display: block;
  user-select: none;
  width: auto; /* ← 幅は自動 */
  height: auto; /* ← 高さも自動（比率維持） */
  max-width: clamp(220px, 62.5vw, 1600px); /* 横の上限だけ指定 */
  max-height: 64.67vh; /* 縦の上限だけ指定 */
  object-fit: contain; /* 念のため。imgでも副作用なし */
}

.list li.cover .text::before,
.list li.cover .num::before {
  background: none;
}

#brand-label-sp {
  display: none;
}

/* Responsive */
@media (max-width: 960px) {
  #brand-label,
  #issue-label span {
    display: none;
  }
  body.menu-open #brand-label-sp {
    display: block;
    font-size: 13px;
    width: 80vw;
    margin: 20px auto 0 auto;
    line-height: 1.6;
  }
  body.menu-open #issue-label span {
    display: inline-block;
    margin-left: 10px;
  }
  #issue-label {
    font-size: max(16px, 0.83vw);
    left: 15px;
  }
  #issue-label {
    top: 25px;
    bottom: auto;
    line-height: 1;
  }
  #bars {
    width: 31px;
    height: 29px;
    left: 15px;
    margin: 0;
    top: auto;
    bottom: 30px;
    transform: none;
    mix-blend-mode: difference;
  }
  body.menu-open #bars,
  body.menu-open #clock {
    display: none;
  }
  #clock {
    bottom: 15px;
    right: 15px;
    font-size: max(12px, 0.83vw);
  }
  .scrolldown {
    left: 30px;
  }

  .layout {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto 70dvh auto;
  }

  .stage {
    position: fixed;
    inset: 0;
    top: 0svh;
    height: min(70dvh, 78vh);
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
  }
  body.over-list .stage {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.35s ease, visibility 0s;
    height: auto;
  }

  .list li {
    margin: 0;
    justify-content: space-between;
  }
  .list li .num {
    padding: 12px 12px 12px 5px;
  }

  .list li .text {
    text-align: right;
    padding: 12px 5px 12px 12px;
  }
  .list li .text::before {
    transform-origin: right center;
  }
  .photo {
    width: 100vw;
    max-width: none;
    max-height: 80vh;
  }
  .stage:first-of-type img {
    max-height: 36.3vh;
  }
}

/* Video overlay + spacer */
/* ===== Spacer：従来どおり ===== */
.video-spacer {
  block-size: 100vh;
}

/* ===== Video Section：固定配置・フェードのみ ===== */
.video-section {
  position: fixed;
  inset: 0 0 auto 0;
  inline-size: 100%;
  block-size: 100vh;
  overflow: hidden;
  z-index: 0;
  /* 背景クリック可を維持したい場合は none でもOK。
     下の .vh-ui に pointer-events:auto を与えているのでUIは操作できます。 */
  pointer-events: none;
  opacity: 0;
  transform: none;
  clip-path: none;
  transition: opacity 0.9s ease;
  will-change: opacity;
  background: #000;
}
.video-section.is-visible {
  opacity: 1;
}

/* over-video が付いたときだけ有効化 */
body.over-video .video-section {
  pointer-events: auto;
  z-index: 6;
}

/* ===== 内部：動画スタック（クロスフェード） ===== */
.video-section .vh-stack {
  position: absolute;
  inset: 0;
}

.video-section .vh-slide {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  will-change: opacity;
  overflow: hidden;
}
.video-section .vh-slide.is-active {
  opacity: 1;
  z-index: 1;
}
.video-section .vh-slide iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 16:9 を前提に画面を必ず覆う */
  width: 100vw;
  height: 56.25vw; /* 100 * 9 / 16 */
  min-width: 177.78vh; /* 100 * 16 / 9 */
  min-height: 100vh;
  border: 0;
  pointer-events: none; /* 背景はクリック不能（UIは .vh-ui が受け持ち） */
}
/* ===== クリック可能なUIオーバーレイ ===== */
.video-section .vh-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2;
  mix-blend-mode: difference;
  background: transparent; /* 念のため */
}
.video-section .vh-ui {
  pointer-events: auto;
} /* ここでクリック可能化 */
.video-section .vh-caption {
  margin: 0;
  padding: 0 1rem 1.7rem 1rem;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  letter-spacing: 0.02em;
  mix-blend-mode: difference;
  letter-spacing: 0.04em;
  line-height: 1;
}

/* 中央ブロック（テキストの下にポップアップアイコン） */
.video-section .vh-center {
  position: absolute;
  inset: 0;
  margin: auto;
  height: 100vh;
  top: 97svh;
  width: max-content;
}

/* Vimeo ポップアップボタン */
.vh-popup {
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.12s ease;
  padding: 0;
  margin-bottom: 12px;
}
.vh-popup:hover {
  opacity: 0.9;
}
.fullscreen {
  max-width: 50px;
}

/* 左右インセットナビ（フルサイズの上・左右端） */
.vh-inset-nav {
  position: absolute;
  top: 50svh;
  translate: 0 -50%;
  border: none;
  padding: 1rem;
  font-size: 0.6rem;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}
.vh-inset-nav:hover {
  opacity: 0.95;
}
.vh-inset-nav.prev {
  left: 12px;
}
.vh-inset-nav.next {
  right: 12px;
}

/* ==== FS overlay ==== */
.vh-fs-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
}
.vh-fs-overlay iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.vh-fs-overlay .vh-fs-exit {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: transparent;
  cursor: zoom-out; /* クリックで戻る */
}

.vh-fs-frame {
  height: 100vh;
}

@media (max-width: 768px) {
  .vh-inset-nav {
    font-size: 1.1rem;
    padding: 0.45rem 0.7rem;
    border-radius: 10px;
  }
}

/* 背景側の減光（従来どおり） */
.list-section {
  position: relative;
  z-index: 1;
  transition: opacity 0.8s ease;
}

body.over-video .list-section {
  opacity: 0.35;
}
body.over-video .stage {
  opacity: 0;
}

/* アクセシビリティ */
@media (prefers-reduced-motion: reduce) {
  .video-section {
    transition: none;
    opacity: 1;
  }
  .video-section .vh-slide {
    transition: none;
  }
}

/*counter*/
.vh-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vh-counter {
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.04em;
  mix-blend-mode: difference;
}
/* list は通常フローのまま。MVより下に始まるように */
.list-section {
  position: relative;
  z-index: 1;
}

@media (max-width: 960px) {
  .list-section {
    margin: 0;
    margin-top: -20svh;
  }
  .vh-inset-nav {
    font-size: 1rem;
    padding: 0 0.65rem 0.45rem 0.65rem;
  }
  .video-section .vh-caption {
    margin-bottom: 26svh;
  }
  .vh-inset-nav.prev {
    left: 0px;
  }
  .vh-inset-nav.next {
    right: 0px;
  }
}

/******************************************************/
/***Sound on off*****************/

/***********************************************/
/* ===== Base ===== */
.eq {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 45px;
  width: 48px;
  height: 45px;
  margin: 0 auto;
  z-index: 1000;
  mix-blend-mode: difference;
  cursor: pointer;
}
.eq .mid {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 10px;
  background: #fff;
  transform: translate(-50%, -50%);
}
/* バーは height のみでアニメ。位相+ジッターでズラす */
.eq .bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  background: #fff;
  transform-origin: center;
  will-change: height, opacity;

  /* デフォルト=OFF */
  --dur-off: 520ms;
  --dur-on: 520ms;
  --phase: 0; /* 0..3（後で個別に割当） */
  --jitter: 0ms; /* 個別の微小遅延 */
  --dur-jit: 0ms; /* 個別の微小duration差 */

  animation-name: soundOffA; /* 個別でA/B/C/Dに変える */
  animation-duration: calc(var(--dur-off) + var(--dur-jit));
  /* 4フェーズで山をずらす（= 最大同時到達は各時刻4本）＋ 微小ジッターも足す */
  animation-delay: calc(
    -1 * (var(--phase) * (var(--dur-off) / 4)) + var(--jitter)
  );
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(0.33, 1, 0.68, 1);
}

/* 再生中（ON）：アニメ名はそのまま、duration/phase/ジッターを引き継いで上限だけ変える */
#bars.playing .bar {
  animation-name: soundOnA; /* 実際は個別でA/B/C/Dに上書きされる */
  animation-duration: calc(var(--dur-on) + var(--dur-jit));
  animation-delay: calc(
    -1 * (var(--phase) * (var(--dur-on) / 4)) + var(--jitter)
  );
}

/* ===== OFF（上限20px）用：山の位置を変えた4種 ===== */
@keyframes soundOffA {
  0% {
    opacity: 0.35;
    height: 3px;
  }
  55% {
    height: 20px;
  }
  100% {
    opacity: 1;
    height: 6px;
  }
}
@keyframes soundOffB {
  0% {
    opacity: 0.35;
    height: 4px;
  }
  40% {
    height: 20px;
  }
  100% {
    opacity: 1;
    height: 8px;
  }
}
@keyframes soundOffC {
  0% {
    opacity: 0.35;
    height: 5px;
  }
  70% {
    height: 20px;
  }
  100% {
    opacity: 1;
    height: 7px;
  }
}
@keyframes soundOffD {
  0% {
    opacity: 0.35;
    height: 6px;
  }
  30% {
    height: 20px;
  }
  100% {
    opacity: 1;
    height: 5px;
  }
}

/* ===== ON（上限45px）用：対応する山の位置を維持 ===== */
@keyframes soundOnA {
  0% {
    opacity: 0.35;
    height: 6px;
  }
  55% {
    height: 45px;
  }
  100% {
    opacity: 1;
    height: 10px;
  }
}
@keyframes soundOnB {
  0% {
    opacity: 0.35;
    height: 7px;
  }
  40% {
    height: 45px;
  }
  100% {
    opacity: 1;
    height: 12px;
  }
}
@keyframes soundOnC {
  0% {
    opacity: 0.35;
    height: 8px;
  }
  70% {
    height: 45px;
  }
  100% {
    opacity: 1;
    height: 11px;
  }
}
@keyframes soundOnD {
  0% {
    opacity: 0.35;
    height: 9px;
  }
  30% {
    height: 45px;
  }
  100% {
    opacity: 1;
    height: 9px;
  }
}

/* ===== 位置（左右8本ずつ） ===== */
.eq .bar:nth-child(1) {
  left: 0px;
}
.eq .bar:nth-child(2) {
  left: 3px;
}
.eq .bar:nth-child(3) {
  left: 6px;
}
.eq .bar:nth-child(4) {
  left: 9px;
}
.eq .bar:nth-child(5) {
  left: 12px;
}
.eq .bar:nth-child(6) {
  left: 15px;
}
.eq .bar:nth-child(7) {
  left: 18px;
}
.eq .bar:nth-child(8) {
  left: 21px;
}

.eq .bar:nth-child(9) {
  right: 0px;
}
.eq .bar:nth-child(10) {
  right: 3px;
}
.eq .bar:nth-child(11) {
  right: 6px;
}
.eq .bar:nth-child(12) {
  right: 9px;
}
.eq .bar:nth-child(13) {
  right: 12px;
}
.eq .bar:nth-child(14) {
  right: 15px;
}
.eq .bar:nth-child(15) {
  right: 18px;
}
.eq .bar:nth-child(16) {
  right: 21px;
}

/* ===== フェーズ割当（0..3を各4本ずつ） ===== */
/* これで任意の時刻に“山”が重なるのは最大4本まで */
.eq .bar:nth-child(1),
.eq .bar:nth-child(5),
.eq .bar:nth-child(9),
.eq .bar:nth-child(13) {
  --phase: 0;
}
.eq .bar:nth-child(2),
.eq .bar:nth-child(6),
.eq .bar:nth-child(10),
.eq .bar:nth-child(14) {
  --phase: 1;
}
.eq .bar:nth-child(3),
.eq .bar:nth-child(7),
.eq .bar:nth-child(11),
.eq .bar:nth-child(15) {
  --phase: 2;
}
.eq .bar:nth-child(4),
.eq .bar:nth-child(8),
.eq .bar:nth-child(12),
.eq .bar:nth-child(16) {
  --phase: 3;
}

/* ===== キーフレーム割当を散らす（A/B/C/D をミックス） ===== */
.eq .bar:nth-child(1),
.eq .bar:nth-child(10) {
  animation-name: soundOffA;
}
.eq .bar:nth-child(2),
.eq .bar:nth-child(11) {
  animation-name: soundOffB;
}
.eq .bar:nth-child(3),
.eq .bar:nth-child(12) {
  animation-name: soundOffC;
}
.eq .bar:nth-child(4),
.eq .bar:nth-child(13) {
  animation-name: soundOffD;
}
.eq .bar:nth-child(5),
.eq .bar:nth-child(14) {
  animation-name: soundOffB;
}
.eq .bar:nth-child(6),
.eq .bar:nth-child(15) {
  animation-name: soundOffC;
}
.eq .bar:nth-child(7),
.eq .bar:nth-child(16) {
  animation-name: soundOffA;
}
.eq .bar:nth-child(8),
.eq .bar:nth-child(9) {
  animation-name: soundOffD;
}

#bars.playing .bar:nth-child(1),
#bars.playing .bar:nth-child(10) {
  animation-name: soundOnA;
}
#bars.playing .bar:nth-child(2),
#bars.playing .bar:nth-child(11) {
  animation-name: soundOnB;
}
#bars.playing .bar:nth-child(3),
#bars.playing .bar:nth-child(12) {
  animation-name: soundOnC;
}
#bars.playing .bar:nth-child(4),
#bars.playing .bar:nth-child(13) {
  animation-name: soundOnD;
}
#bars.playing .bar:nth-child(5),
#bars.playing .bar:nth-child(14) {
  animation-name: soundOnB;
}
#bars.playing .bar:nth-child(6),
#bars.playing .bar:nth-child(15) {
  animation-name: soundOnC;
}
#bars.playing .bar:nth-child(7),
#bars.playing .bar:nth-child(16) {
  animation-name: soundOnA;
}
#bars.playing .bar:nth-child(8),
#bars.playing .bar:nth-child(9) {
  animation-name: soundOnD;
}

/* ===== ジッター（“なんとなくズレる”） ===== */
/* 過度に入れると位相制約が崩れるので ±10ms / ±15ms 程度にとどめる */
.eq .bar:nth-child(1) {
  --jitter: -12ms;
  --dur-jit: -8ms;
}
.eq .bar:nth-child(2) {
  --jitter: -4ms;
  --dur-jit: +6ms;
}
.eq .bar:nth-child(3) {
  --jitter: -15ms;
  --dur-jit: +4ms;
}
.eq .bar:nth-child(4) {
  --jitter: -2ms;
  --dur-jit: -5ms;
}
.eq .bar:nth-child(5) {
  --jitter: -9ms;
  --dur-jit: +8ms;
}
.eq .bar:nth-child(6) {
  --jitter: -6ms;
  --dur-jit: -6ms;
}
.eq .bar:nth-child(7) {
  --jitter: -11ms;
  --dur-jit: +5ms;
}
.eq .bar:nth-child(8) {
  --jitter: -14ms;
  --dur-jit: +3ms;
}
.eq .bar:nth-child(9) {
  --jitter: -7ms;
  --dur-jit: -7ms;
}
.eq .bar:nth-child(10) {
  --jitter: -3ms;
  --dur-jit: +7ms;
}
.eq .bar:nth-child(11) {
  --jitter: -10ms;
  --dur-jit: +2ms;
}
.eq .bar:nth-child(12) {
  --jitter: -5ms;
  --dur-jit: -4ms;
}
.eq .bar:nth-child(13) {
  --jitter: -13ms;
  --dur-jit: +9ms;
}
.eq .bar:nth-child(14) {
  --jitter: -1ms;
  --dur-jit: -3ms;
}
.eq .bar:nth-child(15) {
  --jitter: -8ms;
  --dur-jit: +6ms;
}
.eq .bar:nth-child(16) {
  --jitter: -12ms;
  --dur-jit: +4ms;
}

.yugo {
  font-family: YakuHanJP, 'Yu Gothic Pr6N L', sans-serif;
  font-weight: 300;
  display: none;
}

@media (max-width: 960px) {
  /* 文字と番号を完全不可視に（動的に再挿入されても非表示） */
  .list_cover .num,
  .list_cover .text {
    color: transparent !important;
    opacity: 0 !important;
    background: none !important;
  }

  /* 黒帯エフェクト（擬似要素）も抑止 */
  .list_cover .text::before,
  .list_cover .num::before {
    content: '' !important;
    transform: scaleX(0) !important;
    background: none !important;
  }

  /* band-in などの演出クラスが付いても効かないように */
  .list_cover.band-in .text::before,
  .list_cover.band-in .num::before {
    transform: scaleX(0) !important;
  }
}

/* saeki_edit: Mobile only — extend dwell time after Cover (a00) */
@media (max-width: 960px) {
  /* 左右リストの a00 の直下に大きめのスペースを作る */
  #leftList li[data-id='a00'],
  #rightList li[data-id='a00'] {
    padding-bottom: 20svh;
    display: block;
  }
}

/* saeki_edit: MV 背景 iframe を隠す黒マスク */
.mv::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1; /* MVの前景より下、iframeより上に配置 */
}

/* iframe を見せたい時だけ透明化 */
.mv.mv--show-iframe::before {
  opacity: 0;
}

.mv img,
.mv video {
  z-index: 2;
}
.mv .active {
  z-index: 2;
}
.mv::before {
  z-index: 1;
}
.mv .video-background {
  z-index: 0;
}
