*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --head-h: 72px;
  --tint: 34, 64, 143;
  --navy: #1d3576;
  --side-open: 400px;
}
html, body { height: 100%; overflow: hidden; background: #000; color: #fff; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  overscroll-behavior: none;
  touch-action: none;
}
img { display: block; max-width: 100%; }

.slides {
  height: 100svh;
  transition: transform .8s cubic-bezier(.77, 0, .175, 1);
  will-change: transform;
}
.slide {
  position: relative;
  height: 100svh;
  overflow: hidden;
}
html.native-scroll, html.native-scroll body { height: auto; overflow: visible; }
html.native-scroll body { touch-action: auto; overscroll-behavior: auto; }
html.native-scroll .slides { height: auto; transform: none !important; transition: none; will-change: auto; }
html.native-scroll body.menu-open { overflow: hidden; }
.slide-art { background: var(--bg-color, #2a4f9c); }
.art-fill {
  position: absolute; inset: -60px;
  background: center / cover no-repeat;
  filter: blur(32px) brightness(.9);
}
.slide-link { position: absolute; inset: 0; z-index: 1; }
.art { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.art img { width: 100%; height: 100%; max-width: none; }

.banner {
  position: absolute; left: 0; top: 0;
  container-type: inline-size;
  transition: opacity .2s;
  z-index: 2;
}
.banner:hover { opacity: .85; }
.banner img { width: 100%; height: 100%; object-fit: contain; }
.banner[data-anim="float"]:not(.is-ended) picture { display: block; width: 100%; height: 100%; animation: bannerFloat 2.4s ease-in-out infinite; }
@keyframes bannerFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5%); }
}
.banner .shine { position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--mask) center / contain no-repeat; mask: var(--mask) center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 48%, rgba(255,240,200,.9) 50%, rgba(255,255,255,.75) 52%, transparent 65%) 150% 0 / 250% 100% no-repeat;
  animation: bannerShine 3s ease-in-out infinite; }
@keyframes bannerShine { 0%, 55% { background-position: 150% 0; } 85%, 100% { background-position: -150% 0; } }
.banner.is-ended .shine { display: none; }
@media (prefers-reduced-motion: reduce) { .banner[data-anim] picture, .banner .shine { animation: none; } }
.banner .ended, .banner.is-ended picture { display: none; }
.banner.is-ended .ended { display: block; }
.banner.is-ended { cursor: default; }
[hidden] { display: none !important; }
body.preload :is(.head, .side, .side *) { transition: none !important; }

.hint {
  position: absolute; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .2em;
  z-index: 1;
}
.hint-txt { display: flex; }
.hint-txt span { display: block; animation: hint-hop 2.4s cubic-bezier(.3, 1.6, .5, 1) infinite; animation-delay: calc(var(--i) * .08s); }
@keyframes hint-hop { 0%, 30%, 100% { transform: none; } 12% { transform: translateY(-4px); } }
.hint-pill {
  position: relative; overflow: hidden;
  width: 1px; height: 36px;
  background: color-mix(in srgb, currentColor 25%, transparent);
}
.hint-pill::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 100%;
  background: currentColor;
  animation: hint-line 1.8s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes hint-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

.reel { position: absolute; inset: 0; overflow: hidden; background: #fff; }
.reel :is(.cap, .stage) img { opacity: 0; transition: opacity 1s ease-in-out; }
.reel :is(.cap, .stage) img.on { opacity: 1; }
.reel .cap { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--head-h) + env(safe-area-inset-top)); overflow: hidden; }
.reel .cap img { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(24px); }
.reel .stage {
  --dot: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='3' cy='3' r='2.2'/%3E%3C/svg%3E");
  position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--head-h) + env(safe-area-inset-top)); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 48%, #000 66%), var(--dot), linear-gradient(90deg, transparent 34%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 48%, #000 66%), var(--dot), linear-gradient(90deg, transparent 34%, #000 60%);
  -webkit-mask-size: 100% 100%, 3px 3px, 100% 100%;
          mask-size: 100% 100%, 3px 3px, 100% 100%;
  -webkit-mask-repeat: no-repeat, repeat, no-repeat;
          mask-repeat: no-repeat, repeat, no-repeat;
  -webkit-mask-composite: source-over, source-in;
          mask-composite: add, intersect;
}
.reel .stage img { position: absolute; max-width: none; }
.reel .stage img.on { animation: drift 5.5s linear both; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1); } }
.reel .confetti { position: absolute; left: 0; right: 0; bottom: 0; top: calc(var(--head-h) + env(safe-area-inset-top)); width: 100%; height: calc(100% - var(--head-h) - env(safe-area-inset-top)); pointer-events: none; z-index: 1; }
.reel-logo {
  --menu: calc(var(--side-open) * .75);
  position: absolute; left: 50%; top: calc(50% + (var(--head-h) + env(safe-area-inset-top)) / 2);
  aspect-ratio: 1505 / 1020;
  width: min((100vw - var(--menu)) * .48, (100svh - var(--head-h)) * .6 * 1505 / 1020, 820px);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.reel-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (min-aspect-ratio: 4001/3000) and (max-width: 1100px) {
  body.at-top .side:not(:hover):not(:has(:focus-visible)) { width: 64px; }
  body.at-top .side:not(:hover):not(:has(:focus-visible)) .ttl { opacity: 0; transform: translateX(-8px); }
  .reel-logo { --menu: 64px; }
}

body.at-top .head { background-color: rgba(var(--tint), .25); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
@media (max-aspect-ratio: 4/3) {
  .reel .stage {
    -webkit-mask-image: linear-gradient(180deg, #000 38%, transparent 54%), var(--dot), linear-gradient(180deg, #000 30%, transparent 70%);
            mask-image: linear-gradient(180deg, #000 38%, transparent 54%), var(--dot), linear-gradient(180deg, #000 30%, transparent 70%);
  }
  .reel-logo {
    left: 50%; top: auto; bottom: calc(17.6% + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: min(91.2vw, 620px, (100svh - var(--head-h)) * .352 * 1505 / 1020);
  }
  #top .hint { color: var(--navy); }
}
@media (min-aspect-ratio: 4001/3000) {
  #top .hint { display: none; }
}

.head {
  position: fixed; left: 0; right: 0; top: 0;
  display: flex; align-items: center; gap: 32px;
  height: calc(var(--head-h) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) clamp(16px, 3vw, 40px) 0;
  background-color: rgba(0, 0, 0, .08);
  -webkit-backdrop-filter: blur(14px) brightness(.82) saturate(1.2);
  backdrop-filter: blur(14px) brightness(.82) saturate(1.2);
  border-bottom: 1px solid rgba(255,255,255,.12);
  transition: background-color .8s;
  z-index: 30;
}
.head-logo { position: relative; display: block; height: 46px; flex-shrink: 0; perspective: 160px; }
.head-logo img { height: 100%; width: auto; }
.head-logo .head-ten { position: absolute; left: 0; top: 0; max-width: none; opacity: 0; pointer-events: none; }
.head-logo .head-slice { position: absolute; pointer-events: none; backface-visibility: hidden; }
.head-logo .loader-cat.head-cat { position: absolute; left: 0; top: 0; fill: #fff; opacity: 0; pointer-events: none; }

.side {
  position: fixed; left: 0; top: calc(var(--head-h) + env(safe-area-inset-top)); bottom: 0;
  width: 64px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding-left: 20px;
  background: linear-gradient(90deg, rgba(var(--tint), 0), rgba(var(--tint), 0));
  transition: width .35s cubic-bezier(.4, 0, .2, 1), background .35s;
  z-index: 25;
  overflow: hidden;
}
.side:hover, .side:has(:focus-visible), body.at-top .side {
  width: var(--side-open);
  background: rgb(var(--tint));
}
body:not(.at-top) :is(.side:hover, .side:has(:focus-visible)) {
  width: 320px;
  background: rgba(var(--tint), .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.side ol { list-style: none; }
.side button {
  display: flex; align-items: baseline; gap: 12px;
  padding: 7px 0; line-height: 22px;
  border: 0; background: none;
  color: rgba(255,255,255,.6);
  font: inherit; font-size: 15px; letter-spacing: .11em;
  white-space: nowrap;
  cursor: pointer;
}
@font-face { font-family: "Playfair Num"; src: url("../../fonts/playfair-num.woff2") format("woff2"); font-weight: 700; font-display: swap; }
.side .num {
  flex-shrink: 0; width: 24px; text-align: center;
  font-family: "Playfair Num", Georgia, serif; font-weight: 700;
  font-variant-numeric: lining-nums;
  font-size: 13px; letter-spacing: .04em;
  text-shadow: 0 0 4px rgba(0,0,0,.35);
}
.side .ttl { opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .25s; }
.side li button { position: relative; isolation: isolate; }
.side li button::before {
  content: ""; position: absolute; z-index: -1; left: -20px; right: -14px; top: 3px; bottom: 3px;
  background: #fff; opacity: .15;
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .4s cubic-bezier(.3, 0, .2, 1), opacity .2s;
}
.side li button:is(:hover, :focus-visible)::before { transform: none; }
.side li button[aria-current="true"]::before { transform: none; opacity: 1; }
.side li button[aria-current="true"] { color: rgb(var(--tint)); font-weight: 700; text-shadow: none; }
.side li button[aria-current="true"] .num { text-shadow: none; }
body.at-top .side li button::before { background: var(--navy); opacity: .1; }
body.at-top .side li button[aria-current="true"]::before { opacity: 1; }
.side:hover .ttl, .side:has(:focus-visible) .ttl, body.at-top .side .ttl { opacity: 1; transform: none; }
.side:hover .ttl { transition-delay: calc(var(--i) * 25ms); }
.side button:hover:not([aria-current="true"]) { color: #fff; }
body.at-top :is(.side, .side:hover, .side:has(:focus-visible)) { background: none; }
body.at-top .side button { color: rgba(29, 53, 118, .8); }
body.at-top .side .num { text-shadow: none; }
body.at-top .side button:hover { color: var(--navy); }
body.at-top .side button[aria-current="true"] { color: #fff; }
.side .side-arrow {
  display: block; position: relative; height: 0; padding: 0;
  color: rgba(255,255,255,.7); transition: color .25s, opacity .35s, visibility .35s;
}
.side .side-arrow::before {
  content: ""; position: absolute; left: 6px; width: 8px; height: 8px; background: none; box-shadow: none; transition: none;
  border: solid currentColor; border-width: 0 2px 2px 0;
  animation: arrowDown 1.4s cubic-bezier(.5, 0, .5, 1) infinite;
}
.side .side-arrow::after { content: ""; position: absolute; left: -8px; width: 30px; height: 30px; }
.side .side-arrow.down::before { top: 12px; }
.side .side-arrow.down::after { top: 4px; }
.side .side-arrow.up::before { bottom: 12px; border-width: 2px 0 0 2px; animation-name: arrowUp; }
.side .side-arrow.up::after { bottom: 4px; }
.side .side-arrow:hover { color: #fff; }
body.at-top .side .side-arrow { color: var(--navy); }
body.at-top .side .side-arrow.up, body.at-last .side .side-arrow.down { opacity: 0; visibility: hidden; }
@keyframes arrowDown { 0%, 100% { transform: translateY(-1px) rotate(45deg); } 50% { transform: translateY(2px) rotate(45deg); } }
@keyframes arrowUp { 0%, 100% { transform: translateY(1px) rotate(45deg); } 50% { transform: translateY(-2px) rotate(45deg); } }
body.nav-light .side:not(:hover):not(:has(:focus-visible)) button { color: rgba(var(--tint), .75); }
body.nav-light .side:not(:hover):not(:has(:focus-visible)) .num { text-shadow: none; }
body.nav-light .side:not(:hover):not(:has(:focus-visible)) li button::before { background: rgb(var(--tint)); }
body.nav-light .side:not(:hover):not(:has(:focus-visible)) li button[aria-current="true"] { color: #fff; }
body.nav-light .side:not(:hover):not(:has(:focus-visible)) .side-arrow { color: rgb(var(--tint)); }

.head-links {
  display: flex; align-items: center; gap: 12px;
  margin-left: auto;
  font-size: 12px; letter-spacing: .05em;
  white-space: nowrap;
}
.head-links a { color: rgba(255,255,255,.85); text-decoration: none; }
.head-links a:hover { color: #fff; text-decoration: underline; }
.head-links .x { font-size: 16px; font-weight: 700; }
.head-links .sep { width: 1px; height: 12px; background: rgba(255,255,255,.4); }
.head-links .copy { font-size: 12px; color: rgba(255,255,255,.85); }

.menu-btn, .menu { display: none; }

@media (max-aspect-ratio: 4/3) {
  :root { --head-h: 56px; }
  .head { gap: 12px; padding-left: 16px; padding-right: 6px; }
  .head-logo { height: 30px; }
  .head-links { display: none; }
  .side { display: none; }

  .menu-btn {
    margin-left: auto;
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px;
    padding: 0 11px;
    border: 0; background: none;
    cursor: pointer;
  }
  .menu-btn span {
    display: block; height: 1px; background: #fff;
    transition: transform .3s, opacity .3s;
  }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .menu {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    padding: calc(var(--head-h) + env(safe-area-inset-top) + 40px) 32px calc(24px + env(safe-area-inset-bottom));
    background-color: rgba(var(--tint), .45);
    -webkit-backdrop-filter: blur(10px) saturate(1.15);
    backdrop-filter: blur(10px) saturate(1.15);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform .5s cubic-bezier(.4, 0, .2, 1), visibility .5s, background-color .8s;
    z-index: 20;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
  body.menu-open .menu { transform: none; visibility: visible; }
  .menu-nav { flex-shrink: 0; list-style: none; }
  .menu-nav button {
    display: flex; align-items: center; gap: 12px;
    width: 100%;
    padding: 20px 0;
    border: 0; border-bottom: 1px solid rgba(255,255,255,.25);
    background: none;
    color: rgba(255,255,255,.6);
    font: inherit; font-size: 16px; letter-spacing: .1em;
    text-align: left;
    cursor: pointer;
  }
  .menu-nav button::before {
    content: "";
    width: 16px; height: 1px;
    background: currentColor;
    transition: width .3s;
  }
  .menu-nav button[aria-current="true"] { color: #fff; border-bottom-color: #fff; }
  .menu-nav button[aria-current="true"]::before { width: 32px; }
  .menu-foot {
    margin-top: auto; padding-top: 32px;
    text-align: center;
    font-size: 11px; letter-spacing: .05em;
    color: rgba(255,255,255,.55);
  }
  .menu-links { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 12px; font-size: 13px; letter-spacing: .08em; }
  .menu-links a { color: rgba(255,255,255,.85); text-decoration: none; }
  .menu-links .x { font-size: 17px; font-weight: 700; }
  .menu-links .sep { width: 1px; height: 12px; background: rgba(255,255,255,.4); }
}

@media (prefers-reduced-motion: reduce) {
  .slides { transition-duration: .01s; }
  .hint-txt span { animation: none; }
  .hint-pill::before { animation: none; }
  .side .side-arrow::before { animation: none; transform: rotate(45deg); }
  .reel .stage img.on { animation: none; }
}

.loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: #fff; color: var(--navy);
  transition: opacity .5s, visibility .5s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader.instant { transition: none; }
.loader-txt { display: flex; font-size: 11px; letter-spacing: .3em; }
.loader-txt span { display: block; animation: hint-hop 2.4s cubic-bezier(.3, 1.6, .5, 1) infinite; animation-delay: calc(var(--i) * .08s); }
.loader-run { position: relative; display: flex; flex-direction: column; align-items: center; width: 150px; }
.loader-cat { display: block; width: 76px; overflow: visible; fill: #0d0c12; }
.loader-cat .f { visibility: hidden; animation: cat-f 0.8s infinite step-end; animation-delay: calc(var(--k) * 0.1s - 0.8s); }
@keyframes cat-f { 0% { visibility: visible; } 13.10% { visibility: hidden; } 100% { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .loader * { animation: none !important; }
  .loader-cat .f:first-child { visibility: visible; }
}
