/* First view + Concept rings. Concept type stays in teaser.css. */

.corner-mark {
  --logo-w: min(16vw, 120px);
  --logo-h: calc(var(--logo-w) * 656.54 / 560.34);
  position: fixed;
  top: 28px;
  left: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.corner-logo {
  width: var(--logo-w);
  height: auto;
  display: block;
}

.corner-tag {
  position: relative;
  width: calc(var(--logo-h) * 74.92 / 559.55);
  height: var(--logo-h);
  flex: none;
  transform: scale(0.85);
  transform-origin: left bottom;
}

.corner-tag img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--logo-h);
  height: auto;
  transform: translate(-50%, -50%) rotate(90deg);
}

body.is-settled .corner-mark {
  opacity: 1;
}

body.has-opening .ticket-fab,
body.has-opening .site-menu,
body.has-opening .hero__menu {
  transition: opacity 0.45s ease;
}

body.has-opening:not(.is-logo) .site-menu,
body.has-opening:not(.is-logo) .hero__menu,
body.has-opening:not(.is-ticket) .ticket-fab {
  opacity: 0;
  pointer-events: none;
}


.lead-stage {
  position: relative;
}

.lead {
  --lead-lift: calc(10vh + 30px);
  --lead-cut: polygon(0 44vh, 100vw -48vh, 100vw 64vh, 0 156vh);
  position: relative;
  min-height: 174vh;
  overflow: visible;
}

.lead__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 14vh 6vw;
  background: #fff;
  color: #000;
  mix-blend-mode: lighten;
  clip-path: polygon(0 0, 100vw 0, 100vw 174vh, 0 174vh);
}

.lead__lift {
  position: absolute;
  width: 0;
  height: var(--lead-lift);
  visibility: hidden;
  pointer-events: none;
}

.lead.is-open .lead__veil {
  clip-path: var(--lead-cut);
}

.lead__beat,
.lead h1,
.parade {
  opacity: 0;
}

.lead.is-staff .lead__beat {
  opacity: 1;
  transition: opacity 0.45s ease;
}

.lead.is-copy h1,
.lead.is-copy .parade {
  opacity: 1;
  transition: opacity 0.55s ease;
}

.parade {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  clip-path: var(--lead-cut);
}

.parade__item {
  position: absolute;
  top: var(--y);
  display: flex;
  width: max-content;
  animation: parade var(--dur) linear infinite;
  animation-delay: var(--delay);
}

.parade__item img {
  width: var(--w);
  height: auto;
  margin-right: 115vw;
  flex: none;
}

.parade__item[data-side="top"] img { transform-origin: center bottom; }
.parade__item[data-side="bottom"] img { transform-origin: center top; }

@keyframes parade {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes parade-text {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.parade__line {
  position: absolute;
  left: 0;
  display: flex;
  width: max-content;
  animation: parade-text 190s linear infinite;
  font-family: "Helvetica Neue", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: 32vh;
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px #b5b5b5;
}

.parade__line-set {
  display: flex;
  align-items: center;
  gap: 12vw;
  padding-right: 12vw;
}

.lead__beat {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.lead__beat--above,
.lead__beat--below {
  display: none;
}

.lead__cluster {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  top: calc(100vh * 70 / 46 / 2 - var(--lead-lift));
  transform: translateY(-50%);
  pointer-events: none;
}

.lead__film {
  position: absolute;
  z-index: 3;
  right: clamp(1.25rem, 3vw, 2.5rem);
  top: 118vh;
  width: min(37.4vw, 476px);
  margin: 0;
}

.lead__film-video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
  clip-path: polygon(44% 0, 100% 0, 100% 93%, 56% 100%, 0 100%, 0 7%);
}

.lead h1 {
  position: relative;
  z-index: 1;
  margin: 0 6vw;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 500;
  font-size: calc(min(4.8vw, 4.6rem) * 1.2);
  line-height: 1.35;
  letter-spacing: 0.04em;
  text-align: center;
  color: #000;
  text-shadow: none;
  pointer-events: auto;
}

.band--concept {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  padding-top: max(
    clamp(4.5rem, 10vw, 7.5rem),
    calc(28px + min(16vw, 120px) * 656.54 / 560.34 + 1.75rem)
  );
}

.band--concept .content {
  position: relative;
  z-index: 1;
}

#concept .band__label {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: none;
  color: var(--fog);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.45);
}

@media (min-width: 900px) {
  .band--concept .content {
    width: min(44rem, calc(54vw - max(1.25rem, min(6vw, 4.5rem))));
    margin-left: clamp(6rem, 16vw, 20rem);
    margin-right: auto;
  }
}

.freq__rings {
  position: fixed;
  top: 0;
  right: -8vw;
  z-index: 0;
  width: 109.2vw;
  height: 109.2vw;
  pointer-events: none;
}

.freq__axis {
  position: absolute;
  width: 100%;
  height: 100%;
}

.freq__axis--a { left: 0.15%; top: -0.09%; }
.freq__axis--b { left: -0.18%; top: 0.12%; }
.freq__axis--c { left: 0.1%; top: 0.16%; }
.freq__axis--d { left: -0.12%; top: -0.14%; }

.freq__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 78%;
  height: 78%;
  box-sizing: border-box;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--ring);
  mix-blend-mode: overlay;
  transform: translate(-50%, -50%);
}

.freq__ring--a { --ring: #ff4018; width: 72%; height: 72%; left: 47%; top: 46%; }
.freq__ring--b { --ring: #ffe230; width: 80%; height: 80%; left: 54%; top: 49%; }
.freq__ring--c { --ring: #2ee696; width: 88%; height: 88%; left: 50%; top: 55%; }
.freq__ring--d { --ring: #2ad8e0; width: 96%; height: 96%; left: 45%; top: 51%; }

@media (max-width: 768px) {
  .freq__rings {
    right: -38vw;
    width: 180vw;
    height: 180vw;
  }
}

@media (min-width: 900px) {
  .freq__rings {
    right: -22vw;
    width: 128vw;
    height: 128vw;
  }
}

.hero__logo {
  display: block;
  width: min(78%, 220px);
  height: auto;
  filter: brightness(0);
}

.hero.is-compact .hero__logo {
  width: auto;
  height: 1.7rem;
  filter: none;
}

.splash {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: #fff;
}

@media (max-width: 768px) {
  .splash {
    display: none;
  }

  body.has-opening .corner-mark,
  body.has-opening .lead__beat,
  body.has-opening .lead h1,
  body.has-opening .lead .parade {
    opacity: 1;
  }

  body.has-opening .lead__veil {
    clip-path: var(--lead-cut);
  }

  body.has-opening:not(.is-logo) .site-menu,
  body.has-opening:not(.is-logo) .hero__menu,
  body.has-opening:not(.is-ticket) .ticket-fab {
    opacity: 1;
    pointer-events: auto;
  }

  .lead__beat--sheet {
    display: none;
  }

  .lead__cluster {
    --staff-pitch: 7.7vh;
    --staff-pad: 6vh;
    --staff-gap-above: 12vh;
    --staff-gap-below: 8vh;
    top: calc((100svh - 4rem) * 0.66);
  }

  .lead__beat--above,
  .lead__beat--below {
    display: block;
    position: absolute;
    left: 0;
    right: auto;
    width: 100%;
    height: calc(var(--staff-pad) * 2 + var(--staff-pitch) * 2);
  }

  .lead__beat--above {
    top: auto;
    bottom: calc(100% + var(--staff-gap-above) - var(--staff-pad));
  }

  .lead__beat--below {
    bottom: auto;
    top: calc(100% + var(--staff-gap-below) - var(--staff-pad));
  }

  .parade__line {
    font-size: 15vh;
  }

  .parade__item img {
    margin-right: 280vw;
  }

  .lead {
    z-index: auto;
  }

  .lead__film {
    position: relative;
    right: auto;
    top: auto;
    z-index: 3;
    width: 100%;
    margin: 0;
  }

  .lead__film-video {
    width: 100%;
    max-height: none;
  }
}

#hash {
  display: contents;
}

.splash__mark {
  position: relative;
  width: min(72vw, 520px);
  aspect-ratio: 560.34 / 656.54;
}

.splash__letter {
  position: fixed;
  inset: 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: min(72vw, 520px) auto;
  mask-size: min(72vw, 520px) auto;
  background-color: #111;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: brightness(0.72);
  animation: cool 0.95s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--from-center) * 60ms);
}

.splash__letter--u {
  animation-name: cool-u;
}

.splash__hash {
  --tag-y: calc(min(72vw, 520px) * 0.586 + 18px + min(48vw, 340px) * 0.067);
  position: fixed;
  inset: 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center calc(50% + var(--tag-y));
  mask-position: center calc(50% + var(--tag-y));
  -webkit-mask-size: min(48vw, 340px) auto;
  mask-size: min(48vw, 340px) auto;
  background-color: #111;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: brightness(0.72);
  animation: tag-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  animation-delay: calc(var(--from-center) * 60ms);
}

.splash__hash--u {
  animation-name: tag-u;
}

.splash.is-out {
  pointer-events: none;
}

.splash.is-out .splash__letter {
  animation: zoom 0.28s cubic-bezier(0.7, 0, 0.84, 0.2) forwards;
}

.splash.is-out .splash__hash {
  animation: zoom-tag 0.1s cubic-bezier(0.2, 0, 0.9, 0.1) forwards;
}

.splash.is-gone {
  visibility: hidden;
}

@keyframes cool {
  0% {
    -webkit-mask-position: calc(50% + var(--out) * 44vw) calc(50% + var(--rise));
    mask-position: calc(50% + var(--out) * 44vw) calc(50% + var(--rise));
  }
  100% {
    -webkit-mask-position: center;
    mask-position: center;
  }
}

@keyframes cool-u {
  0% {
    -webkit-mask-position: calc(50% + min(72vw, 520px) * 0.012) calc(50% + 8vh - min(72vw, 520px) * 0.032);
    mask-position: calc(50% + min(72vw, 520px) * 0.012) calc(50% + 8vh - min(72vw, 520px) * 0.032);
    opacity: 0;
  }
  100% {
    -webkit-mask-position: center;
    mask-position: center;
    opacity: 1;
  }
}

@keyframes tag-in {
  0% {
    -webkit-mask-position: calc(50% + var(--out) * 44vw) calc(50% + var(--tag-y));
    mask-position: calc(50% + var(--out) * 44vw) calc(50% + var(--tag-y));
  }
  100% {
    -webkit-mask-position: center calc(50% + var(--tag-y));
    mask-position: center calc(50% + var(--tag-y));
  }
}

@keyframes tag-u {
  0% {
    -webkit-mask-position: 0 calc(50% + var(--tag-y) + 34vh);
    mask-position: 0 calc(50% + var(--tag-y) + 34vh);
    opacity: 0;
  }
  100% {
    -webkit-mask-position: center calc(50% + var(--tag-y));
    mask-position: center calc(50% + var(--tag-y));
    opacity: 1;
  }
}

@keyframes zoom {
  0% {
    -webkit-mask-size: min(72vw, 520px) auto;
    mask-size: min(72vw, 520px) auto;
  }
  100% {
    -webkit-mask-size: calc(min(72vw, 520px) * 12) auto;
    mask-size: calc(min(72vw, 520px) * 12) auto;
  }
}

@keyframes zoom-tag {
  0% {
    -webkit-mask-position: center calc(50% + var(--tag-y));
    mask-position: center calc(50% + var(--tag-y));
  }
  100% {
    -webkit-mask-position: calc(50% + var(--out) * var(--from-center) * 18vw) calc(50% + var(--tag-y) + 82vh);
    mask-position: calc(50% + var(--out) * var(--from-center) * 18vw) calc(50% + var(--tag-y) + 82vh);
  }
}

body.has-opening .hero {
  min-height: 0;
  height: 0;
  padding: 0;
}

@media (max-width: 768px) {
  body.has-opening:not(:has(.hero.is-compact)) .hero__strip {
    position: absolute;
    width: 0;
    height: 0;
    margin: 0;
    overflow: visible;
    background: transparent;
  }

  body.has-opening:not(:has(.hero.is-compact)) .hero__brand,
  body.has-opening:not(:has(.hero.is-compact)) .hero__tagline,
  body.has-opening:not(:has(.hero.is-compact)) .hero__instagram,
  body.has-opening:not(:has(.hero.is-compact)) .hero__compact {
    display: none;
  }

  body.has-opening .site-menu {
    position: fixed;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    right: 0.75rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  body.has-opening:has(.hero.is-compact) .site-menu {
    display: none;
  }

  body.has-opening .drawer__close {
    display: none;
  }

  body.has-opening .hero.is-compact .hero__menu {
    position: fixed;
    top: calc(0.75rem + env(safe-area-inset-top, 0px));
    right: 0.75rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
    pointer-events: auto;
  }

  body.has-opening .hero.is-compact .hero__strip {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }

  body.has-opening .hero.is-compact .hero__compact-info {
    display: none;
  }
}

body.has-opening .site-menu {
  color: #000;
  filter: none;
}

body.has-opening:has(.page-bg--after-hero) .site-menu,
html.is-drawer-open body.has-opening .site-menu {
  color: #fff;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55));
}

@media (min-width: 769px) {
  body.has-opening {
    --hero-sidebar-w: 0px;
  }

  body.has-opening main,
  body.has-opening .site-footer {
    margin-left: 0;
  }

  body.has-opening .hero__strip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .splash__letter,
  .splash__letter--u,
  .splash__hash,
  .splash__hash--u,
  .splash.is-out .splash__letter,
  .splash.is-out .splash__hash {
    animation: none;
  }

  .splash {
    background: transparent;
  }

  .lead.is-open .lead__veil,
  .lead.is-open .parade {
    animation: none;
    clip-path: var(--lead-cut);
  }

  .parade__item,
  .parade__line,
  .freq__axis,
  .freq__ring {
    animation: none;
  }

  .freq__axis { left: 0; top: 0; }
  .freq__ring { transform: translate(-50%, -50%); }
}

html.is-hidden .freq__axis,
html.is-hidden .freq__ring {
  animation-play-state: paused;
}

body.is-idle .parade__item,
body.is-idle .parade__line,
body.is-idle .lead.is-open .lead__veil,
body.is-idle .lead.is-open .parade,
body.is-idle .splash__letter,
body.is-idle .splash__hash,
body.is-idle .splash.is-out .splash__letter,
body.is-idle .splash.is-out .splash__hash {
  animation-play-state: paused;
}
