@charset "UTF-8";

@font-face {
  font-family: "Onryou";
  src: url("../fonts/onryou-ascii.woff") format("woff"),
       url("../fonts/onryou-ascii.ttf")  format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0;
}

@font-face {
  font-family: "Onryou";
  src: url("../fonts/onryou-kana.woff") format("woff"),
       url("../fonts/onryou-kana.ttf")  format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  unicode-range: U+3000-303F, U+3040-309F, U+30A0-30FF, U+FF01-FF60, U+FF61-FF9F;
}

:root {
  --bg: #060002;
  --fg: #ffffff;

  --num: clamp(1.25rem, min(9vw, 12vh), 4.125rem);
  --label: calc(var(--num) * 0.466);
  --gap: calc(var(--num) * 0.38);

  --label-top: calc(var(--num) * 0.62);

  --foot-gap: 4.5vh;

  --foot-h: calc(var(--num) * 1.94 + var(--foot-gap));
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Onryou", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow: hidden;
}

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

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

.u-visually-hidden {
  font-family: sans-serif;
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 48%,
              rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .55) 100%);
}

.stage__bg {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.stage__bg img {
  width: auto;
  height: 76vh;
  max-width: none;
  transform: translateY(.9%);
  animation: breathe 9s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: .82; }
  50%      { opacity: 1; }
}

.stage__main {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 4vw;
}

.cd {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: var(--gap);

  padding-bottom: calc(var(--label-top) + var(--label));
}

.cd__unit {
  position: relative;
}

.cd__num,
.cd__sep {
  font-size: var(--num);
  line-height: 1;
  letter-spacing: .04em;
  text-shadow: 0 0 calc(var(--num) * .18) rgba(0, 0, 0, .85);

  font-variant-numeric: tabular-nums;
}

.cd__sep {
  opacity: .9;
  transform: translateY(-.04em);
}

.cd__label {
  position: absolute;
  top: calc(100% + var(--label-top));
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--label);
  line-height: 1;
  letter-spacing: .06em;
  white-space: nowrap;
  text-shadow: 0 0 calc(var(--num) * .14) rgba(0, 0, 0, .85);
}

.cd[hidden] { display: none; }

.soon {
  margin: 0;
  font-size: calc(var(--num) * .78);
  line-height: 1;
  letter-spacing: .1em;
  white-space: nowrap;
  text-shadow: 0 0 calc(var(--num) * .2) rgba(0, 0, 0, .85);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: .55; }
  50%      { opacity: 1; }
}

.soon[hidden] { display: none; }

.stage--alt {
  padding-bottom: var(--foot-h);
}

.movie {
  position: relative;

  width: min(88vw, calc((100vh - var(--foot-h) - 6vh) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 0 calc(var(--num) * .7) rgba(0, 0, 0, .9);
}

.movie iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.stage--alt::after { content: none; }

.flyer {
  display: block;
  width: auto;
  height: auto;
  max-width: 88vw;
  max-height: calc(100vh - var(--foot-h) - 6vh);
}

.stage__foot {
  position: absolute;
  left: 50%;
  bottom: calc(var(--foot-gap) + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 1;
}

.foot__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--num) * .45);
  transition: opacity .3s ease;
}

.foot__link:hover,
.foot__link:focus-visible { opacity: .6; }

.foot__logo {
  width: calc(var(--num) * .9);
  height: auto;
}

.foot__text {
  font-size: calc(var(--num) * .458);
  line-height: 1;
  letter-spacing: .03em;
  white-space: nowrap;
}

@media (orientation: portrait) {
  .stage__bg img {
    width: 118vw;
    height: auto;
  }
}

@media (max-height: 460px) {
  :root { --foot-gap: 3vh; }
  .stage__bg img { height: 84vh; }
}

@media (prefers-reduced-motion: reduce) {
  .stage__bg img,
  .soon {
    animation: none;
  }
  .stage__bg img { opacity: .95; }
}
