@font-face {
  font-family: "Stardos Stencil";
  font-weight: 700;
  font-display: swap;
  src: url("fonts/title.woff2?v=575d8513") format("woff2");
}

@font-face {
  font-family: "Shippori Mincho";
  font-weight: 500;
  font-display: swap;
  src: url("fonts/catch.woff2?v=13e76f22") format("woff2");
}

:root {
  --paper: #fff;
  --ink: #000;
  --quiet: #767676;
  --hold: #f1f1f1;
  --bar: 56px;
  --gap: 3px;
  --edge: 3px;
  --inset: 16px;
  --row: clamp(120px, 8px + 24vw, 400px);
  --move: cubic-bezier(0.3, 0, 0.1, 1);
  --slide-gap: 32px;
  --font-system: system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
  --font: var(--font-system);
  --display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
}

:root:lang(ja) {
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", Meiryo, sans-serif;
}

:root:lang(ko),
:root:lang(zh-Hans),
:root:lang(zh-Hant),
:root:lang(th),
:root:lang(vi),
:root:lang(hi),
:root:lang(ru) {
  --display: Georgia, "Songti SC", "AppleMyungjo", "Noto Serif", "Times New Roman", serif;
}

@media (min-width: 600px) {
  :root {
    --gap: 6px;
    --edge: clamp(16px, 3vw, 48px);
    --inset: var(--edge);
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.875rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

img {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
}

.grid a,
.slide,
.hero-photo,
.pin,
.stage {
  -webkit-touch-callout: none;
  user-select: none;
}

.b {
  font-weight: 400;
  color: var(--quiet);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  height: calc(var(--bar) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) max(var(--inset), env(safe-area-inset-right)) 0 max(var(--inset), env(safe-area-inset-left));
  background: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
  view-transition-name: bar;
}

.left {
  display: flex;
  align-items: center;
  gap: 28px;
  min-width: 0;
}

.brand {
  flex: none;
  margin: 0;
  font: inherit;
}

.brand a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
}

.logo {
  font-family: "Stardos Stencil", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
}

.kana {
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.2em;
}

.caption {
  margin: 0;
  display: flex;
  gap: 10px;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.14s ease-out;
}

.caption.on {
  opacity: 1;
}

.caption .b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 899px) {
  .caption {
    display: none;
  }
}

.tabs {
  grid-column: 2;
  display: flex;
  gap: 4px;
}

.tabs a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #949494;
  transition: color 0.14s ease-out;
}

.tabs svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.2;
  stroke-linejoin: miter;
}

.tabs a:hover,
.tabs a[aria-current="page"] {
  color: var(--ink);
}

.lang {
  justify-self: end;
  margin-right: -8px;
}

#lang-button {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 44px;
  padding: 0 8px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.75rem;
  color: var(--ink);
  cursor: pointer;
}

.chev {
  width: 12px;
  height: 12px;
  color: var(--quiet);
}

#lang-menu {
  position: fixed;
  inset: auto;
  top: calc(46px + env(safe-area-inset-top));
  right: calc(max(var(--inset), env(safe-area-inset-right)) - 8px);
  max-height: calc(100dvh - 64px);
  margin: 0;
  padding: 8px;
  border: 0;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.05), 0 6px 24px rgba(0, 0, 0, 0.12);
  opacity: 1;
  transition: opacity 0.14s ease-out;
}

#lang-menu:popover-open {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(8, auto);
  column-gap: 4px;
}

@starting-style {
  #lang-menu:popover-open {
    opacity: 0;
  }
}

#lang-menu button {
  height: 36px;
  padding: 0 14px;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  text-align: start;
  white-space: nowrap;
  color: var(--quiet);
  cursor: pointer;
  transition: color 0.14s ease-out;
}

#lang-menu button:hover,
#lang-menu button[aria-current="true"] {
  color: var(--ink);
}

#lang-menu button:not(:lang(ja)) {
  font-family: var(--font-system);
}

@media (max-width: 599px) {
  :root {
    --bar: 92px;
  }

  .bar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 48px 44px;
  }

  .tabs {
    grid-area: 2 / 1 / 3 / 3;
    justify-self: center;
  }

  .lang {
    grid-area: 1 / 2;
  }
}

.season {
  --sh: clamp(240px, 48svh, 680px);
  --half: 140px;
  --side-gap: clamp(40px, 6vw, 96px);
  padding: clamp(20px, 5svh, 56px) 0 clamp(64px, 11svh, 120px);
}

.season-body {
  position: relative;
}

.season-stage {
  position: relative;
  height: var(--sh);
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}

.season-stage.dragging {
  cursor: grabbing;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  background: var(--hold);
  transition: transform var(--slide-dur, 0.7s) var(--slide-ease, var(--move));
}

.season-stage.dragging .slide,
.slide.jump {
  transition: none;
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.slide img.ready {
  opacity: 1;
}

.slide:focus-visible {
  outline-offset: -6px;
  outline-color: #fff;
}

.season-side {
  position: absolute;
  top: calc(var(--sh) / 2);
  width: 200px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: opacity 0.2s ease-out;
}

.season.swap .season-side {
  opacity: 0;
}

.season-left {
  right: calc(50% + var(--half) + var(--side-gap));
  text-align: right;
}

.season-right {
  left: calc(50% + var(--half) + var(--side-gap));
}

.season-place {
  margin: 0;
  font-weight: 500;
}

.season-place.b {
  font-size: 0.8125rem;
  font-weight: 400;
}

.season.stack .season-side {
  position: static;
  width: auto;
  padding: 0 var(--inset);
  transform: none;
  text-align: center;
}

.season.stack .season-left {
  margin-top: 24px;
}

.season.stack .season-right {
  margin-top: 4px;
}

.season-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(20px, 4svh, 44px);
}

.season.stack .season-nav {
  margin-top: 14px;
}

.season-nav button {
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--quiet);
  cursor: pointer;
  transition: color 0.14s ease-out;
}

.season-nav button:hover {
  color: var(--ink);
}

.season-count {
  min-width: 52px;
  margin: 0;
  font-size: 0.75rem;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 699px) {
  .season {
    --sh: 58vw;
  }
}

.hero {
  position: relative;
  height: 82svh;
  min-height: 480px;
  overflow: hidden;
  background: var(--hold);
}

.hero-photo {
  position: absolute;
  inset: 0;
  display: block;
  cursor: zoom-in;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.54);
}

.hero-photo:focus-visible {
  outline-color: #fff;
  outline-offset: -8px;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--focus, 50%);
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.hero-photo img.ready {
  opacity: 1;
}

.hero-text {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  padding: 24px;
  color: #fff;
  text-align: center;
  pointer-events: none;
}

.hero-sub {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  white-space: pre-line;
}

.hero-catch {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.5rem + 1.6vw, 3.75rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  white-space: pre-line;
  text-wrap: balance;
}

.hero-about {
  max-width: 36em;
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2.1;
  text-wrap: balance;
}

@media (max-width: 599px) {
  .hero {
    height: 66svh;
  }

  .hero-text {
    gap: 16px;
  }

  .hero-about {
    font-size: 0.8125rem;
    line-height: 1.9;
  }
}

.grid {
  list-style: none;
  margin: clamp(72px, 14svh, 160px) 0 0;
  padding: 0 max(var(--edge), env(safe-area-inset-right)) calc(var(--edge) + env(safe-area-inset-bottom)) max(var(--edge), env(safe-area-inset-left));
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.grid::after {
  content: "";
  flex-grow: 1000000;
}

.grid li {
  flex-grow: calc(var(--ar) * 100);
  flex-basis: calc(var(--ar) * var(--row));
  max-width: 100%;
}

.grid a {
  display: block;
  position: relative;
  padding-bottom: calc(100% / var(--ar));
  background: var(--hold);
  cursor: zoom-in;
}

.grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease-out;
}

.grid img.ready {
  opacity: 1;
}

#view-map {
  position: fixed;
  inset: calc(var(--bar) + env(safe-area-inset-top)) 0 0 0;
  visibility: hidden;
  background: var(--paper);
}

#view-map.on {
  visibility: visible;
}

#map-canvas {
  position: absolute;
  inset: 0;
}

.pin-field {
  position: absolute;
  inset: 0;
}

.pin-field > div {
  position: absolute;
}

.pin-field > div:hover,
.pin-field > div:focus-within {
  z-index: 2;
}

#view-map:not(.ready) .zoom {
  display: none;
}

.maplibregl-map {
  font-family: var(--font);
}

.maplibregl-canvas:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.maplibregl-marker:hover,
.maplibregl-marker:focus-within {
  z-index: 2;
}

.pin {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: var(--hold);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.14), 0 8px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.22s ease-out, box-shadow 0.22s ease-out;
}

.pin.up {
  transform: translateY(-4px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 14px 26px rgba(0, 0, 0, 0.22);
}

.pin:hover,
.pin:focus-visible {
  transform: scale(1.4);
}

.pin img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pin b {
  position: absolute;
  top: -9px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 18px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.zoom {
  position: absolute;
  right: max(var(--inset), env(safe-area-inset-right));
  bottom: calc(28px + env(safe-area-inset-bottom));
  display: grid;
  gap: 1px;
  background: #e6e6e6;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.zoom button {
  display: block;
  width: 40px;
  height: 40px;
  padding: 8px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.14s ease-out;
}

.zoom button:hover {
  background: #f5f5f5;
}

.zoom button:focus-visible {
  position: relative;
  outline-offset: 2px;
}

@media (hover: none), (max-width: 599px) {
  .zoom {
    display: none;
  }
}

svg {
  display: block;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.maplibregl-ctrl-bottom-left .maplibregl-ctrl {
  margin: 0;
}

.maplibregl-ctrl.maplibregl-ctrl-attrib {
  padding: 2px max(var(--inset), env(safe-area-inset-right)) calc(4px + env(safe-area-inset-bottom)) max(var(--inset), env(safe-area-inset-left));
  background: none;
  font-size: 0.625rem;
  line-height: 1.4;
  color: #696969;
}

@media (max-width: 599px) {
  .maplibregl-ctrl.maplibregl-ctrl-attrib {
    max-width: 100vw;
    overflow: hidden;
    font-size: 0.5625rem;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

.maplibregl-ctrl-attrib a {
  color: inherit;
}

dialog {
  inset: 0;
  width: auto;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

dialog::backdrop {
  background: var(--paper);
}

figure:focus {
  outline: none;
}

figure {
  --cap: 112px;
  position: relative;
  margin: 0;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  padding: calc(56px + env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
}

@media (min-width: 600px) {
  figure {
    padding-left: max(72px, env(safe-area-inset-left));
    padding-right: max(72px, env(safe-area-inset-right));
  }
}

@media (min-width: 600px) and (max-height: 32rem) {
  figure {
    padding-top: calc(8px + env(safe-area-inset-top));
  }
}

.stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
}

.slot {
  position: absolute;
  inset: 0;
  padding-bottom: var(--cap);
  display: grid;
  place-items: center;
  pointer-events: none;
  will-change: transform;
}

.slot .shot {
  pointer-events: auto;
}

.slot img:not([src]),
.slot img.failed {
  visibility: hidden;
}

.stage img {
  display: block;
  background: var(--hold);
}

.shot {
  position: relative;
  transform-origin: center;
}

.full figure {
  --cap: 0px;
  padding: 0;
}

.full figcaption,
.full .icon,
.full .sound {
  display: none;
}

.sound {
  position: absolute;
  z-index: 2;
  right: calc(var(--sound-x, 12px) - 4px);
  bottom: calc(var(--sound-y, 12px) - 4px);
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, rgba(0, 0, 0, 0.55) 17.5px, transparent 18px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.14s ease-out, transform 0.14s ease-out;
}

.sound:hover {
  background: radial-gradient(circle closest-side, rgba(0, 0, 0, 0.75) 17.5px, transparent 18px);
}

.sound:active {
  transform: scale(0.94);
}

.sound svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.2;
}

.sound .sound-on,
.sound[aria-pressed="true"] .sound-off {
  display: none;
}

.sound[aria-pressed="true"] .sound-on {
  display: block;
}

figcaption {
  position: absolute;
  left: var(--cap-x, 16px);
  top: var(--cap-y, 0);
  width: var(--cap-w, auto);
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  row-gap: 4px;
  transition: opacity 0.12s ease-out;
}

figcaption.off {
  opacity: 0;
}

.caption-row {
  justify-self: stretch;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 20px;
}

.place {
  min-width: 0;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
}

#viewer-place {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
}

#viewer-place .b {
  font-size: 0.8125rem;
  font-weight: 400;
}

#viewer-place[href] #viewer-a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: var(--quiet);
  transition: text-decoration-color 0.14s ease-out;
}

#viewer-place[href]:hover #viewer-a {
  text-decoration-color: currentColor;
}

#viewer-map {
  flex: none;
  font-size: 0.8125rem;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.credit {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--quiet);
  transition: color 0.14s ease-out;
}

.credit[href]:hover {
  color: var(--ink);
}

.music {
  justify-self: stretch;
  min-width: 0;
  margin: 6px 0 0;
}

.music-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  inline-size: fit-content;
  min-width: 0;
  max-width: 100%;
  height: 32px;
  color: var(--ink);
  font-size: 0.75rem;
  text-align: start;
}

.music-chip img {
  flex: none;
  width: 28px;
  height: 28px;
  object-fit: cover;
  background: var(--hold);
}

.music-text {
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.music-track {
  display: inline-flex;
  gap: 8px;
}

.music-track .copy {
  display: inline-flex;
  gap: 8px;
  margin-left: 40px;
}

.music-text.flow {
  mask-image: linear-gradient(to right, transparent, #000 8px, #000 calc(100% - 8px), transparent);
}

.music-text.flow .music-track {
  animation: flow var(--dur, 10s) linear 1;
}

.music-chip:hover .music-track,
.music-chip:focus-visible .music-track {
  animation-play-state: paused;
}

@keyframes flow {
  0%,
  18% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(var(--run), 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .music-text.flow .music-track {
    animation: none;
  }

  .slide,
  .pin {
    transition: none;
  }
}

.music-badge {
  flex: none;
  padding-left: 12px;
  font-size: 0.6875rem;
  color: var(--quiet);
}

.music-chip:hover .music-badge {
  color: var(--ink);
}

.icon {
  position: absolute;
  z-index: 1;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.close {
  top: calc(6px + env(safe-area-inset-top));
  right: max(8px, env(safe-area-inset-right));
}

.prev,
.next {
  top: 50%;
  margin-top: -22px;
  color: var(--quiet);
  transition: color 0.14s ease-out;
}

.prev:hover,
.next:hover {
  color: var(--ink);
}

.prev {
  left: max(12px, env(safe-area-inset-left));
}

.next {
  right: max(12px, env(safe-area-inset-right));
}

@media (max-width: 599px) {
  .prev,
  .next {
    display: none;
  }
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

::view-transition {
  pointer-events: none;
}

::view-transition-group(*) {
  animation-duration: 0.44s;
  animation-timing-function: var(--move);
}

::view-transition-old(*),
::view-transition-new(*) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.3s;
}

::view-transition-group(bar) {
  z-index: 1;
}
