.history-opening {
  position: relative;
  display: flow-root;
  margin-bottom: clamp(64px, 9vw, 126px);
}
/* Only the opening painting lingers; the rest of the page keeps its normal flow. */
.history-opening::after {
  content: "";
  display: block;
  height: clamp(240px, 60vh, 560px);
  height: clamp(240px, 60svh, 560px);
}
.kakemono[data-scroll-stage] .history[data-history-art="5"] .history-opening > .history-art {
  position: sticky;
  top: var(--opening-top, 86px);
  margin-bottom: 0;
}
@media (max-width: 790px) {
  .history-opening::after {
    height: clamp(220px, 44vh, 420px);
    height: clamp(220px, 44svh, 420px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .history-opening::after { height: 0; }
  .kakemono[data-scroll-stage] .history[data-history-art="5"] .history-opening > .history-art { position: relative; top: auto; }
}
.history[data-history-art="5"] .history-art > #history-art-image[data-crow-source] {
  opacity: 0;
}
.history-art > .history-crow-flight-art { display: none; }
.history[data-history-art="5"] .history-art > .history-crow-flight-art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  mix-blend-mode: multiply;
}
