/* ナイトミュージアム */
body.is-night .ft {
  display: none;
}
.night {
  position: relative;
  min-height: calc(100svh - 64px);
  background: radial-gradient(ellipse at 50% 20%, #1a2147 0%, #070913 65%);
  color: #f1ecdf;
  overflow: hidden;
}
.n-intro {
  min-height: calc(100svh - 64px);
  display: grid;
  place-content: center;
  text-align: center;
  padding: 30px 16px;
  gap: 4px;
}
.n-intro img {
  margin: 0 auto;
  filter: drop-shadow(0 0 30px rgba(255, 220, 140, 0.5));
  animation: bob 2.6s ease-in-out infinite;
}
.n-intro h1 {
  font-size: clamp(34px, 6vw, 60px);
  margin: 10px 0 0;
  background: linear-gradient(100deg, #fff1c7, #e6b64c 45%, #fff6dc 60%, #d79f2e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.n-intro .en {
  font-size: 24px;
  color: #b9c8ff;
  margin: 0 0 10px;
}
.n-intro p {
  max-width: 560px;
  margin: 0 auto 14px;
}
.n-hall {
  position: relative;
  height: calc(100svh - 64px);
  min-height: 520px;
  perspective: 1400px;
  user-select: none;
}
.n-moon {
  position: absolute;
  right: 8%;
  top: 6%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffbe8, #e9dfb6 60%, #c9bd8a);
  box-shadow: 0 0 60px 20px rgba(255, 245, 210, 0.25);
  opacity: 0.8;
}
.n-floor {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26%;
  background: linear-gradient(180deg, rgba(40, 32, 20, 0.2), rgba(60, 45, 25, 0.55)), repeating-linear-gradient(90deg, #2a2116 0 80px, #241c12 80px 160px);
  transform-origin: bottom;
  transform: perspective(600px) rotateX(55deg);
  opacity: 0.8;
}
.n-stage {
  position: absolute;
  inset: 0 0 18% 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}
.n-frame-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.n-art {
  grid-area: 1 / 1;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.n-art .frame {
  padding: 12px;
}
.n-art .frame-in img {
  max-width: none;
}
.n-plaque {
  background: linear-gradient(180deg, #fbf7ee, #efe6d2);
  color: #2a2318;
  border-radius: 3px;
  padding: 6px 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}
.n-plaque b {
  display: block;
  font-family: var(--mincho);
  font-size: 15px;
}
.n-plaque .en {
  display: block;
  font-size: 15px;
  font-style: italic;
  color: #5a4a2a;
}
.n-plaque small {
  display: block;
  color: #7a6a4a;
}
.n-plaque a {
  font-weight: 800;
  color: #1b2a52;
}
.n-talk {
  position: absolute;
  left: 50%;
  bottom: 84px;
  translate: -50% 0;
  width: min(640px, 92vw);
  z-index: 5;
}
.n-bubble {
  background: rgba(14, 18, 42, 0.92);
  border: 1.5px solid #6c7ad6;
  border-radius: 18px;
  padding: 10px 16px;
  box-shadow: 0 0 40px rgba(120, 140, 255, 0.35);
}
.n-who {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #b9c8ff;
  font-weight: 800;
}
.n-bubble p {
  margin: 2px 0;
}
.n-bubble .ja {
  font-size: 16px;
  min-height: 1.6em;
}
.n-bubble .en {
  font-family: var(--en);
  font-size: 18px;
  color: #d8d0ba;
}
.n-owl {
  position: absolute;
  left: 3%;
  bottom: 70px;
  width: clamp(70px, 10vw, 120px);
  height: auto;
  z-index: 6;
  filter: drop-shadow(0 0 24px rgba(255, 210, 120, 0.6));
  animation: bob 2.8s ease-in-out infinite;
}
.n-nav {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 7;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.n-nav button {
  border: 1.5px solid rgba(230, 192, 105, 0.7);
  background: rgba(14, 18, 42, 0.85);
  color: #ffe3a1;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 16px;
}
.n-nav .n-prev,
.n-nav .n-next {
  width: 56px;
  height: 56px;
  padding: 0;
  font-size: 22px;
}
.n-count {
  font-family: var(--en);
  font-size: 18px;
  color: #cfc7b0;
  min-width: 70px;
  text-align: center;
}
/* 懐中電灯：まわりを暗く */
.n-dark {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: radial-gradient(circle 300px at var(--x, 50%) var(--y, 40%), transparent 0%, transparent 45%, rgba(2, 3, 10, 0.4) 75%, rgba(2, 3, 10, 0.72) 100%);
  transition: opacity 0.6s;
}
.n-dark.off {
  opacity: 0;
}
@media (max-width: 760px) {
  .n-talk {
    bottom: 80px;
  }
  .n-bubble .ja {
    font-size: 14px;
  }
  .n-bubble .en {
    font-size: 15px;
  }
  .n-owl {
    display: none;
  }
  .n-moon {
    width: 56px;
    height: 56px;
  }
}

body.is-night .owl-guide,
body.is-night .to-top {
  display: none;
}
