:root {
  --festival-ink: #183b34;
  --festival-cream: #fffaf0;
  --festival-paper: #ffffff;
  --festival-coral: #ee6f78;
  --festival-yellow: #efc84a;
  --festival-teal: #218d8c;
  --festival-blue: #7396d8;
  --festival-violet: #a16ca5;
  --festival-orange: #e98c62;
}

.festival-page {
  overflow-x: clip;
  background: var(--festival-cream);
}

.festival-page.festival-opening-active {
  overflow: hidden;
}

#main.festival-lp {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 0 !important;
  overflow: visible;
  color: var(--festival-ink);
  background: var(--festival-cream);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  letter-spacing: 0;
}

#main.festival-lp *,
#main.festival-lp *::before,
#main.festival-lp *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

#main.festival-lp img {
  display: block;
  width: 100%;
}

.festival-opening {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #102d29;
  animation: festival-opening-fallback 0.8s 9s both;
}

.festival-enhanced .festival-opening {
  animation: none;
}

.festival-opening.is-leaving {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.04);
  transition: opacity 0.85s ease, visibility 0.85s ease, transform 1.1s ease;
}

.festival-opening.is-hidden {
  display: none;
}

.festival-opening__photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.14);
  transition: opacity 1.1s 1.15s ease, transform 3.1s 1s cubic-bezier(0.2, 0.65, 0.2, 1);
}

.festival-opening.is-running .festival-opening__photo {
  opacity: 0.66;
  transform: scale(1);
}

.festival-opening__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(226, 165, 85, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(8, 18, 16, 0.92), rgba(8, 18, 16, 0.55) 45%, rgba(8, 18, 16, 0.78)),
    linear-gradient(180deg, rgba(8, 18, 16, 0.2), rgba(8, 18, 16, 0.88));
}

.festival-opening__photo img {
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}

.festival-opening__lights,
.festival-opening__confetti,
.festival-opening__sunburst,
.festival-hero__lanterns,
.festival-hero__glow {
  display: none;
}

.festival-opening__cinema {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.festival-opening__cinema::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(255, 236, 191, 0.08) 0 1px, transparent 1.6px),
    radial-gradient(circle at 58% 74%, rgba(255, 236, 191, 0.08) 0 1px, transparent 1.6px);
  background-size: 7px 7px, 11px 11px;
  mix-blend-mode: screen;
}

.festival-opening.is-running .festival-opening__cinema::before {
  animation: festival-film-grain 1.8s steps(2, end) infinite, festival-fade-in 1.4s 0.3s ease both;
}

.festival-opening__cinema span {
  position: absolute;
  left: -8%;
  right: -8%;
  height: 34%;
  background: rgba(6, 12, 11, 0.86);
  transform: translateX(-110%) skewX(-12deg);
}

.festival-opening__cinema span:nth-child(1) { top: -2%; }
.festival-opening__cinema span:nth-child(2) { top: 33%; animation-delay: 0.16s; }
.festival-opening__cinema span:nth-child(3) { bottom: -2%; animation-delay: 0.32s; }

.festival-opening.is-running .festival-opening__cinema span {
  animation: festival-cinema-slit 2.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.festival-opening__copy {
  position: relative;
  z-index: 5;
  width: min(900px, calc(100% - 80px));
  text-align: center;
  opacity: 0;
  transform: translateY(28px);
}

.festival-opening.is-running .festival-opening__copy {
  opacity: 1;
  transform: none;
  transition: opacity 0.75s 1.25s ease, transform 0.9s 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.festival-opening__copy > p:first-child {
  margin: 0 0 24px;
  font-family: Jost, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.festival-opening__title {
  margin: 0;
  color: #fff;
  font-family: Jost, sans-serif;
  font-size: 86px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: 0;
}

.festival-opening__title span,
.festival-opening__title strong {
  display: block;
}

.festival-opening__title strong {
  color: #d5aa62;
  font-weight: 700;
}

.festival-opening__jp {
  margin: 28px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
}

.festival-opening__skip {
  position: absolute;
  z-index: 5;
  right: 34px;
  bottom: 28px;
  min-width: 76px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  background: rgba(8, 35, 30, 0.55);
  font-family: Jost, sans-serif;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.festival-opening__skip:hover,
.festival-opening__skip:focus-visible {
  color: var(--festival-ink);
  background: #fff;
}

.festival-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 820px;
  height: 100svh;
  padding: 190px 7% 88px;
  overflow: hidden;
  color: #fff;
  background: #173b35;
}

.festival-hero__media,
.festival-hero__media::after {
  position: absolute;
  inset: 0;
}

.festival-hero__media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 35, 31, 0.88) 0%, rgba(10, 35, 31, 0.48) 46%, rgba(10, 35, 31, 0.12) 75%),
    linear-gradient(0deg, rgba(10, 35, 31, 0.65), transparent 45%);
}

.festival-hero__media img {
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.82) brightness(0.82) contrast(1.08);
  animation: festival-hero-drift 16s ease-out both;
}

.festival-hero__shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7, 17, 15, 0.88) 0%, rgba(7, 17, 15, 0.58) 42%, rgba(7, 17, 15, 0.22) 72%, rgba(7, 17, 15, 0.52) 100%),
    radial-gradient(circle at 72% 28%, rgba(213, 170, 98, 0.2), transparent 34%),
    linear-gradient(180deg, transparent 44%, rgba(7, 17, 15, 0.88) 100%);
}

.festival-hero__shade::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.festival-hero__type {
  position: absolute;
  z-index: 2;
  left: 5.6%;
  top: 15%;
  margin: 0;
  color: rgba(255, 255, 255, 0.055);
  font-family: Jost, sans-serif;
  font-size: clamp(100px, 14vw, 218px);
  font-weight: 900;
  line-height: 0.82;
  pointer-events: none;
  user-select: none;
}

.festival-hero__copy {
  position: relative;
  z-index: 3;
  width: 720px;
}

.festival-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 25px;
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.festival-kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: #d5aa62;
}

.festival-hero__copy h1 {
  margin: 0;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 74px;
  font-weight: 600;
  line-height: 1.32;
}

.festival-hero__copy h1 strong {
  position: relative;
  display: inline-block;
  color: #d5aa62;
  font-weight: 600;
}

.festival-hero__copy h1 strong::after {
  content: "";
  position: absolute;
  left: 4%;
  right: -4%;
  bottom: 5px;
  height: 7px;
  background: rgba(127, 48, 48, 0.92);
  transform: rotate(-2deg);
  z-index: -1;
}

.festival-hero__copy > p:last-child {
  margin: 30px 0 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
}

.festival-hero__note {
  position: absolute;
  z-index: 3;
  right: 7%;
  bottom: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-left: 2px solid #d5aa62;
  background: rgba(8, 24, 21, 0.78);
  backdrop-filter: blur(8px);
}

.festival-hero__note span {
  color: #d5aa62;
  font-family: Jost, sans-serif;
  font-size: 34px;
  font-weight: 700;
}

.festival-hero__note p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.festival-hero__glow {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.festival-hero__glow i {
  position: absolute;
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.72;
  background: radial-gradient(circle, rgba(255, 229, 155, 0.46), rgba(238, 140, 98, 0.18) 44%, transparent 70%);
  filter: blur(16px);
  mix-blend-mode: screen;
  animation: festival-glow-breathe 7s ease-in-out infinite alternate;
}

.festival-hero__glow i:nth-child(1) {
  right: 4%;
  top: 8%;
  width: 34vw;
}

.festival-hero__glow i:nth-child(2) {
  right: 19%;
  bottom: 7%;
  width: 24vw;
  background: radial-gradient(circle, rgba(255, 246, 206, 0.36), rgba(239, 200, 74, 0.2) 48%, transparent 72%);
  animation-delay: -2s;
}

.festival-hero__glow i:nth-child(3) {
  left: 42%;
  top: 34%;
  width: 18vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.26), rgba(238, 111, 120, 0.18) 48%, transparent 72%);
  animation-delay: -4s;
}

.festival-hero__lanterns {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.festival-hero__lanterns i {
  position: absolute;
  display: block;
  width: 58px;
  height: 70px;
  border: 4px solid #ffe9a7;
  border-radius: 48% 48% 42% 42%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 245, 187, 0.9), rgba(239, 200, 74, 0.74) 56%, rgba(238, 111, 120, 0.74) 100%);
  box-shadow:
    0 0 26px rgba(239, 200, 74, 0.48),
    inset 0 0 18px rgba(255, 255, 255, 0.34);
  animation: festival-lantern-sway 4.8s ease-in-out infinite alternate;
}

.festival-hero__lanterns i::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 1px;
  height: 92px;
  background: rgba(255, 255, 255, 0.72);
}

.festival-hero__lanterns i::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -16px;
  width: 1px;
  height: 22px;
  background: rgba(255, 233, 167, 0.86);
  box-shadow: -7px 3px 0 -2px rgba(255, 233, 167, 0.78), 7px 3px 0 -2px rgba(255, 233, 167, 0.78);
  transform: translateX(-50%);
}

.festival-hero__lanterns i:nth-child(1) {
  right: 11%;
  top: 12%;
}

.festival-hero__lanterns i:nth-child(2) {
  right: 28%;
  top: 23%;
  width: 44px;
  height: 55px;
  animation-delay: -1.1s;
}

.festival-hero__lanterns i:nth-child(3) {
  right: 5%;
  top: 36%;
  width: 48px;
  height: 60px;
  background: radial-gradient(circle at 50% 34%, rgba(255, 245, 187, 0.9), rgba(238, 140, 98, 0.82) 60%, rgba(161, 108, 165, 0.72));
  animation-delay: -2.4s;
}

.festival-hero__lanterns i:nth-child(4) {
  left: 48%;
  top: 15%;
  width: 38px;
  height: 48px;
  animation-delay: -3.2s;
}

.festival-hero__lanterns i:nth-child(5) {
  right: 19%;
  bottom: 24%;
  width: 42px;
  height: 54px;
  animation-delay: -4.1s;
}

.festival-scroll {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-family: Jost, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transform: translateX(-50%);
}

.festival-scroll i {
  display: block;
  width: 1px;
  height: 34px;
  background: #fff;
  transform-origin: top;
  animation: festival-scroll-line 1.8s ease-in-out infinite;
}

.festival-anchor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 980px;
  margin: 0 auto;
  border-left: 1px solid rgba(24, 59, 52, 0.2);
  background: var(--festival-paper);
}

.festival-anchor a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 86px;
  border-right: 1px solid rgba(24, 59, 52, 0.2);
  color: var(--festival-ink);
  font-family: Jost, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.festival-anchor a:hover,
.festival-anchor a:focus-visible {
  color: #fff;
  background: var(--festival-ink);
}

.festival-anchor span {
  color: var(--festival-coral);
  font-size: 12px;
}

.festival-ticker {
  overflow: hidden;
  color: var(--festival-ink);
  background: var(--festival-yellow);
  white-space: nowrap;
}

.festival-ticker div {
  width: max-content;
  padding: 15px 0;
  font-family: Jost, sans-serif;
  font-size: 18px;
  font-weight: 700;
  animation: festival-ticker 23s linear infinite;
}

.festival-concept {
  position: relative;
  padding: 150px 6%;
  background: var(--festival-cream);
}

.festival-concept::before {
  content: "";
  position: absolute;
  top: 0;
  right: 9%;
  width: 1px;
  height: 104px;
  background: var(--festival-coral);
}

.festival-concept__inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(380px, 1fr);
  gap: 40px 8%;
  max-width: 1200px;
  margin: 0 auto;
}

.festival-section-head p {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.festival-section-head p span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--festival-coral);
  border-radius: 50%;
}

.festival-section-head h2 {
  margin: 0;
  color: var(--festival-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.55;
}

.festival-concept__copy {
  padding-top: 52px;
}

.festival-concept__copy p {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 2.15;
}

.festival-concept__lead {
  color: var(--festival-teal);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 25px !important;
  font-weight: 600;
  line-height: 1.8 !important;
}

.festival-concept__photo {
  grid-column: 1 / -1;
  position: relative;
  width: 86%;
  margin: 50px auto 0;
}

.festival-concept__photo::before,
.festival-concept__photo::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.festival-concept__photo::before {
  top: -22px;
  right: -26px;
  width: 100px;
  height: 100px;
  border-top: 6px solid var(--festival-yellow);
  border-right: 6px solid var(--festival-yellow);
}

.festival-concept__photo::after {
  left: -22px;
  bottom: -22px;
  width: 34%;
  height: 42%;
  border-left: 6px solid var(--festival-coral);
  border-bottom: 6px solid var(--festival-coral);
}

.festival-concept__photo img {
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
  object-position: center 45%;
}

.festival-concept__photo figcaption {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 14px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(15, 48, 42, 0.82);
  font-family: Jost, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.festival-story {
  position: relative;
  color: #fff;
  background: var(--festival-ink);
}

.festival-story__inner {
  display: grid;
  grid-template-columns: minmax(0, 53%) minmax(420px, 47%);
}

.festival-story__visual {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  background: #0e2a25;
}

.festival-story__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 22px solid var(--festival-ink);
  pointer-events: none;
}

.festival-story__visual::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 22px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(7, 20, 18, 0.42) 100%);
}

.festival-story__visual figure {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.festival-story__visual figure.is-active {
  opacity: 1;
  transform: scale(1);
}

.festival-story__visual img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.festival-story__visual figure:nth-child(2) img { object-position: center 42%; }
.festival-story__visual figure:nth-child(3) img { object-position: center 48%; }

.festival-story__counter {
  position: absolute;
  z-index: 3;
  left: 46px;
  bottom: 42px;
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: #fff;
  font-family: Jost, sans-serif;
  font-weight: 700;
}

.festival-story__counter span {
  font-size: 50px;
}

.festival-story__counter small {
  font-size: 14px;
}

.festival-story__chapters {
  position: relative;
  padding: 0 10%;
}

.festival-section-head--story {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86vh;
}

.festival-section-head--story p span {
  color: var(--festival-ink);
  background: var(--festival-yellow);
}

.festival-section-head--story h2 {
  color: #fff;
  font-size: 42px;
}

.festival-chapter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 0;
  opacity: 0.42;
  transition: opacity 0.45s ease;
}

.festival-chapter.is-active {
  opacity: 1;
}

.festival-chapter figure {
  display: none;
}

.festival-chapter > span {
  margin-bottom: 24px;
  color: var(--festival-yellow);
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.festival-chapter h3 {
  margin: 0 0 30px;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.55;
}

.festival-chapter p {
  max-width: 490px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 2.1;
}

.festival-story__progress {
  position: absolute;
  z-index: 5;
  top: 7%;
  right: 22px;
  width: 3px;
  height: 86%;
  background: rgba(255, 255, 255, 0.2);
}

.festival-story__progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--festival-yellow);
  transform: scaleY(0);
  transform-origin: top;
}

.festival-sound {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 730px;
  color: var(--festival-ink);
  background: var(--festival-paper);
}

.festival-sound__media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.festival-sound__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 28px solid #fff;
  border-right-width: 0;
  pointer-events: none;
}

.festival-sound__media img {
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.festival-sound__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 12%;
}

.festival-sound__copy > p:first-child {
  margin: 0 0 24px;
  color: var(--festival-coral);
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.festival-sound__copy h2 {
  margin: 0 0 32px;
  color: var(--festival-ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.55;
}

.festival-sound__copy > p:last-child {
  margin: 0;
  font-size: 15px;
  line-height: 2.1;
}

.festival-orbit {
  position: relative;
  padding: 150px 5% 170px;
  overflow: hidden;
  background: #f0f8f5;
}

.festival-orbit::before,
.festival-orbit::after {
  content: "";
  position: absolute;
  width: 34%;
  height: 4px;
  background: var(--festival-coral);
  transform: rotate(-8deg);
}

.festival-orbit::before { top: 100px; left: -8%; }
.festival-orbit::after { right: -7%; bottom: 94px; background: var(--festival-yellow); transform: rotate(7deg); }

.festival-section-head--center {
  position: relative;
  z-index: 3;
  text-align: center;
}

.festival-section-head--center p {
  justify-content: center;
}

.festival-section-head--center h2 {
  font-size: 44px;
}

.festival-orbit__stage {
  position: relative;
  width: 920px;
  height: 920px;
  margin: 64px auto 0;
}

.festival-orbit__stage::before,
.festival-orbit__stage::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(24, 59, 52, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.festival-orbit__stage::before { inset: 8%; }
.festival-orbit__stage::after { inset: 20%; border-color: rgba(238, 111, 120, 0.32); }

.festival-orbit__center {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 350px;
  height: 350px;
  overflow: hidden;
  border: 12px solid #fff;
  border-radius: 50%;
  box-shadow: 0 20px 55px rgba(23, 59, 52, 0.2);
  transform: translate(-50%, -50%);
}

.festival-orbit__center::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(16, 49, 43, 0.42);
}

.festival-orbit__center img {
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.festival-orbit__center div {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 100%;
  color: #fff;
  text-align: center;
  transform: translate(-50%, -50%);
}

.festival-orbit__center span,
.festival-orbit__center strong {
  display: block;
  font-family: Jost, sans-serif;
  font-weight: 700;
}

.festival-orbit__center span { font-size: 13px; }
.festival-orbit__center strong { margin-top: 8px; color: var(--festival-yellow); font-size: 29px; }

.festival-orbit__ring {
  position: absolute;
  inset: 0;
  animation: festival-orbit-turn 64s linear infinite;
}

.festival-orbit__ring figure {
  position: absolute;
  width: 230px;
  margin: 0;
}

.festival-orbit__ring figure:nth-child(1) { left: 50%; top: 0; transform: translate(-50%, 0); }
.festival-orbit__ring figure:nth-child(2) { right: 1%; top: 22%; }
.festival-orbit__ring figure:nth-child(3) { right: 4%; bottom: 16%; }
.festival-orbit__ring figure:nth-child(4) { left: 50%; bottom: 0; transform: translate(-50%, 0); }
.festival-orbit__ring figure:nth-child(5) { left: 2%; bottom: 17%; }
.festival-orbit__ring figure:nth-child(6) { left: 0; top: 22%; }

.festival-orbit__ring figure > div {
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: 0 14px 35px rgba(23, 59, 52, 0.18);
  animation: festival-orbit-counter 64s linear infinite;
}

.festival-orbit__ring img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.festival-orbit__ring figcaption {
  display: table;
  margin: 8px auto 0;
  padding: 5px 9px;
  color: #fff;
  background: var(--festival-ink);
  font-family: Jost, sans-serif;
  font-size: 10px;
  font-weight: 700;
  animation: festival-orbit-counter 64s linear infinite;
}

.festival-finale {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 780px;
  padding: 130px 7%;
  overflow: hidden;
  color: #fff;
  background: #173a34 url("/theme/common/img/hfg/festival-hq/finale-group.jpg") center 50% / cover no-repeat;
}

.festival-finale::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 38, 33, 0.74);
}

.festival-finale__inner {
  position: relative;
  z-index: 3;
  max-width: 820px;
  text-align: center;
}

.festival-finale__inner > p:first-child {
  margin: 0 0 30px;
  color: var(--festival-yellow);
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.festival-finale h2 {
  margin: 0;
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.55;
}

.festival-finale__inner > p:nth-of-type(2) {
  max-width: 670px;
  margin: 34px auto 0;
  font-size: 16px;
  line-height: 2.05;
}

.festival-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 640px;
  margin: 48px auto 0;
}

.festival-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 24px;
  border: 1px solid #fff;
  color: var(--festival-ink);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.festival-actions a:last-child {
  color: #fff;
  background: transparent;
}

.festival-actions a:hover,
.festival-actions a:focus-visible {
  color: #fff;
  background: var(--festival-coral);
  border-color: var(--festival-coral);
}

.festival-actions span {
  font-size: 18px;
}

.festival-enhanced [data-festival-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s ease, transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}

.festival-enhanced [data-festival-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes festival-film-grain {
  0%, 100% { transform: translate3d(0, 0, 0); }
  20% { transform: translate3d(-1.5%, 1%, 0); }
  40% { transform: translate3d(1%, -1.5%, 0); }
  60% { transform: translate3d(1.5%, 1%, 0); }
  80% { transform: translate3d(-1%, -1%, 0); }
}

@keyframes festival-fade-in {
  from { opacity: 0; }
  to { opacity: 0.42; }
}

@keyframes festival-cinema-slit {
  0% { transform: translateX(-110%) skewX(-12deg); }
  42% { transform: translateX(0) skewX(-12deg); }
  58% { transform: translateX(0) skewX(-12deg); }
  100% { transform: translateX(110%) skewX(-12deg); }
}

@keyframes festival-light-rise {
  0% { opacity: 0; transform: translateY(40px) scale(0.45); }
  42% { opacity: 0.8; }
  100% { opacity: 0.48; transform: translateY(-28px) scale(1); }
}

@keyframes festival-opening-fallback {
  to { opacity: 0; visibility: hidden; }
}

@keyframes festival-burst-pop {
  0% { opacity: 0; transform: scale(0.18) rotate(-16deg); }
  45% { opacity: 0.9; }
  100% { opacity: 0.48; transform: scale(1) rotate(13deg); }
}

@keyframes festival-burst-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.12) rotate(0deg); }
  55% { opacity: 0.92; }
  100% { opacity: 0.32; transform: translate(-50%, -50%) scale(1.14) rotate(18deg); }
}

@keyframes festival-hero-drift {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes festival-confetti-fall {
  0% { opacity: 0; transform: translateY(-30px) rotate(0deg); }
  10% { opacity: 0.95; }
  100% { opacity: 0; transform: translateY(76vh) rotate(260deg); }
}

@keyframes festival-glow-breathe {
  from { transform: translate3d(-1%, -8px, 0) scale(0.94); opacity: 0.44; }
  to { transform: translate3d(1%, 12px, 0) scale(1.08); opacity: 0.72; }
}

@keyframes festival-lantern-sway {
  from { transform: rotate(-3deg) translateY(-8px); filter: brightness(0.98); }
  to { transform: rotate(4deg) translateY(9px); filter: brightness(1.18); }
}

@keyframes festival-scroll-line {
  0%, 100% { transform: scaleY(0.25); opacity: 0.45; }
  50% { transform: scaleY(1); opacity: 1; }
}

@keyframes festival-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes festival-orbit-turn {
  to { transform: rotate(360deg); }
}

@keyframes festival-orbit-counter {
  to { rotate: -360deg; }
}

@media (max-width: 1100px) {
  .festival-hero {
    padding-left: 5%;
    padding-right: 5%;
  }

  .festival-hero__copy h1 {
    font-size: 62px;
  }

  .festival-hero__note {
    right: 5%;
  }

  .festival-section-head h2 {
    font-size: 40px;
  }

  .festival-story__inner {
    grid-template-columns: minmax(0, 52%) minmax(390px, 48%);
  }

  .festival-orbit__stage {
    width: 820px;
    height: 820px;
  }

  .festival-orbit__ring figure {
    width: 205px;
  }
}

@media (max-width: 767px) {
  .festival-opening__copy {
    width: calc(100% - 42px);
  }

  .festival-opening__copy > p:first-child {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .festival-opening__title {
    font-size: 47px;
    line-height: 0.92;
  }

  .festival-opening__cinema span {
    left: -18%;
    right: -18%;
  }

  .festival-opening__jp {
    margin-top: 20px;
    font-size: 14px;
  }

  .festival-opening__sunburst i:nth-child(1) {
    width: 88vw;
  }

  .festival-opening__sunburst i:nth-child(2) {
    width: 76vw;
  }

  .festival-opening__skip {
    right: 18px;
    bottom: 18px;
  }

  .festival-hero {
    align-items: flex-end;
    min-height: 700px;
    height: 100svh;
    padding: 130px 24px 94px;
  }

  .festival-hero__media::after {
    background:
      linear-gradient(180deg, rgba(10, 35, 31, 0.18) 15%, rgba(10, 35, 31, 0.68) 58%, rgba(10, 35, 31, 0.92) 100%);
  }

  .festival-hero__media img {
    object-position: 57% center;
  }

  .festival-hero__shade {
    background:
      linear-gradient(180deg, rgba(7, 17, 15, 0.18) 8%, rgba(7, 17, 15, 0.48) 48%, rgba(7, 17, 15, 0.94) 100%),
      radial-gradient(circle at 72% 23%, rgba(213, 170, 98, 0.18), transparent 34%);
  }

  .festival-hero__type {
    left: 20px;
    top: 20%;
    font-size: 64px;
    line-height: 0.84;
  }

  .festival-hero__copy {
    width: 100%;
  }

  .festival-kicker {
    margin-bottom: 18px;
    font-size: 10px;
  }

  .festival-hero__copy h1 {
    font-size: 37px;
    line-height: 1.4;
    white-space: nowrap;
  }

  .festival-hero__lanterns i {
    width: 38px;
    height: 48px;
  }

  .festival-hero__lanterns i:nth-child(2),
  .festival-hero__lanterns i:nth-child(4),
  .festival-hero__lanterns i:nth-child(5) {
    display: none;
  }

  .festival-hero__copy h1 strong::after {
    bottom: 3px;
    height: 5px;
  }

  .festival-hero__copy > p:last-child {
    margin-top: 20px;
    font-size: 15px;
  }

  .festival-hero__note {
    display: none;
  }

  .festival-hero__glow i:nth-child(1) {
    right: -24%;
    top: 14%;
    width: 76vw;
  }

  .festival-hero__glow i:nth-child(2) {
    right: 8%;
    bottom: 4%;
    width: 54vw;
  }

  .festival-hero__glow i:nth-child(3) {
    display: none;
  }

  .festival-anchor {
    width: 100%;
  }

  .festival-anchor a {
    flex-direction: column;
    gap: 4px;
    min-height: 70px;
    font-size: 10px;
  }

  .festival-anchor span {
    font-size: 9px;
  }

  .festival-ticker div {
    padding: 11px 0;
    font-size: 13px;
  }

  .festival-concept {
    padding: 96px 22px 110px;
  }

  .festival-concept::before {
    right: 28px;
    height: 68px;
  }

  .festival-concept__inner {
    display: block;
  }

  .festival-section-head p {
    margin-bottom: 18px;
    font-size: 11px;
  }

  .festival-section-head p span {
    width: 30px;
    height: 30px;
  }

  .festival-section-head h2,
  .festival-section-head--story h2,
  .festival-section-head--center h2 {
    font-size: 30px;
    line-height: 1.6;
  }

  .festival-concept__copy {
    padding-top: 42px;
  }

  .festival-concept__copy p {
    font-size: 14px;
    line-height: 2;
  }

  .festival-concept__lead {
    font-size: 20px !important;
  }

  .festival-concept__photo {
    width: calc(100% - 12px);
    margin-top: 44px;
  }

  .festival-concept__photo img {
    aspect-ratio: 4 / 5;
    object-position: 46% center;
  }

  .festival-concept__photo::before {
    top: -12px;
    right: -12px;
    width: 66px;
    height: 66px;
    border-width: 4px;
  }

  .festival-concept__photo::after {
    left: -12px;
    bottom: -12px;
    border-width: 4px;
  }

  .festival-concept__photo figcaption {
    right: 8px;
    bottom: 8px;
    font-size: 8px;
  }

  .festival-story__inner {
    display: block;
  }

  .festival-story__visual,
  .festival-story__progress {
    display: none;
  }

  .festival-story__chapters {
    padding: 0;
  }

  .festival-section-head--story {
    min-height: 0;
    padding: 96px 22px 62px;
  }

  .festival-chapter {
    min-height: 0;
    padding: 0 22px 96px;
    opacity: 1;
  }

  .festival-chapter figure {
    position: relative;
    display: block;
    width: calc(100% + 44px);
    margin: 0 -22px 34px;
    overflow: hidden;
  }

  .festival-chapter figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 66%, rgba(7, 20, 18, 0.18) 100%);
  }

  .festival-chapter figure img {
    aspect-ratio: 4 / 4.7;
    object-fit: cover;
  }

  .festival-chapter:nth-of-type(2) figure img { object-position: center 42%; }
  .festival-chapter:nth-of-type(3) figure img { object-position: center 48%; }

  .festival-chapter > span {
    margin-bottom: 16px;
    font-size: 11px;
  }

  .festival-chapter h3 {
    margin-bottom: 20px;
    font-size: 28px;
  }

  .festival-chapter p {
    font-size: 14px;
    line-height: 2;
  }

  .festival-sound {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .festival-sound__media {
    min-height: 0;
  }

  .festival-sound__media::after {
    border: 12px solid #fff;
  }

  .festival-sound__media img {
    aspect-ratio: 4 / 4.6;
    object-position: center;
  }

  .festival-sound__copy {
    padding: 66px 22px 82px;
  }

  .festival-sound__copy h2 {
    margin-bottom: 24px;
    font-size: 29px;
  }

  .festival-sound__copy > p:last-child {
    font-size: 14px;
    line-height: 2;
  }

  .festival-orbit {
    padding: 96px 0 110px;
  }

  .festival-section-head--center {
    padding: 0 22px;
  }

  .festival-orbit__stage {
    display: flex;
    align-items: stretch;
    gap: 14px;
    width: 100%;
    height: auto;
    margin-top: 50px;
    padding: 0 22px 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .festival-orbit__stage::-webkit-scrollbar {
    display: none;
  }

  .festival-orbit__stage::before,
  .festival-orbit__stage::after {
    display: none;
  }

  .festival-orbit__center {
    position: relative;
    left: auto;
    top: auto;
    flex: 0 0 82vw;
    width: 82vw;
    height: auto;
    aspect-ratio: 4 / 5;
    border-width: 8px;
    border-radius: 0;
    scroll-snap-align: center;
    transform: none;
  }

  .festival-orbit__ring {
    display: contents;
    animation: none;
  }

  .festival-orbit__ring figure,
  .festival-orbit__ring figure:nth-child(n) {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    flex: 0 0 78vw;
    width: 78vw;
    padding-bottom: 30px;
    scroll-snap-align: center;
    transform: none;
    animation: none;
  }

  .festival-orbit__ring figure > div,
  .festival-orbit__ring figcaption {
    animation: none;
  }

  .festival-orbit__ring figure > div {
    border-width: 8px;
  }

  .festival-orbit__ring img {
    aspect-ratio: 4 / 5;
  }

  .festival-orbit__ring figcaption {
    margin-top: 10px;
  }

  .festival-finale {
    min-height: 690px;
    padding: 100px 22px;
    background-position: 55% center;
  }

  .festival-finale h2 {
    font-size: 32px;
  }

  .festival-finale__inner > p:nth-of-type(2) {
    margin-top: 26px;
    font-size: 14px;
    line-height: 2;
  }

  .festival-actions {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .festival-actions a {
    min-height: 62px;
  }
}

@media (max-width: 360px) {
  .festival-hero__copy h1 {
    font-size: 33px;
  }
}

@media (max-width: 340px) {
  .festival-hero__copy h1 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .festival-opening,
  .festival-opening *,
  .festival-hero__media img,
  .festival-hero__shade,
  .festival-hero__type,
  .festival-hero__glow i,
  .festival-scroll i,
  .festival-ticker div,
  .festival-orbit__ring,
  .festival-orbit__ring figure > div,
  .festival-orbit__ring figcaption,
  .festival-enhanced [data-festival-reveal] {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* Generated night-festival illustration and motion layer */
.festival-night-scene {
  --scene-back-x: 0px;
  --scene-back-y: 0px;
  --scene-mid-x: 0px;
  --scene-mid-y: 0px;
  --scene-front-x: 0px;
  --scene-front-y: 0px;
  --scene-back-scroll: 0px;
  --scene-mid-scroll: 0px;
  --scene-front-scroll: 0px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #30283b;
  isolation: isolate;
}

.festival-night-scene__picture {
  position: absolute;
  inset: -2.5%;
  display: block;
  width: 105%;
  height: 105%;
  transform-origin: 50% 49%;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.festival-night-scene__picture--back {
  z-index: 0;
  transform: translate3d(
    var(--scene-back-x),
    calc(var(--scene-back-y) + var(--scene-back-scroll)),
    0
  );
}

.festival-night-scene__picture--mid {
  z-index: 1;
  transform: translate3d(
    var(--scene-mid-x),
    calc(var(--scene-mid-y) + var(--scene-mid-scroll)),
    0
  );
  -webkit-mask-image: radial-gradient(ellipse 54% 48% at 50% 49%, #000 0 54%, rgba(0, 0, 0, 0.82) 66%, transparent 80%);
  mask-image: radial-gradient(ellipse 54% 48% at 50% 49%, #000 0 54%, rgba(0, 0, 0, 0.82) 66%, transparent 80%);
}

.festival-night-scene__picture--front {
  z-index: 2;
  transform: translate3d(
    var(--scene-front-x),
    calc(var(--scene-front-y) + var(--scene-front-scroll)),
    0
  );
  -webkit-mask-image: linear-gradient(to top, #000 0 22%, rgba(0, 0, 0, 0.94) 34%, rgba(0, 0, 0, 0.32) 49%, transparent 62%);
  mask-image: linear-gradient(to top, #000 0 22%, rgba(0, 0, 0, 0.94) 34%, rgba(0, 0, 0, 0.32) 49%, transparent 62%);
}

.festival-night-scene__picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.festival-night-scene__wash {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 49%, transparent 0 34%, rgba(32, 20, 39, 0.01) 62%, rgba(20, 15, 34, 0.09) 100%),
    linear-gradient(180deg, rgba(47, 27, 50, 0.02), transparent 45%, rgba(13, 16, 31, 0.04));
}

.festival-night-scene__ribbons {
  position: absolute;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  opacity: 0.34;
  filter: drop-shadow(0 0 4px rgba(255, 231, 151, 0.4));
  mix-blend-mode: screen;
}

.festival-night-scene__ribbons path {
  fill: none;
  stroke: #f2c94c;
  stroke-width: 0.23;
  stroke-linecap: round;
  stroke-dasharray: 0.5 2.8;
  animation: festival-night-ribbon-flow 5.8s linear infinite;
}

.festival-night-scene__ribbons path:nth-child(3n + 1) {
  stroke: #ec737e;
  animation-delay: -1.7s;
}

.festival-night-scene__ribbons path:nth-child(3n + 2) {
  stroke: #7dc8c3;
  animation-delay: -3.4s;
}

.festival-night-scene__glows,
.festival-night-scene__fireflies {
  position: absolute;
  z-index: 5;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.festival-night-scene__glows i {
  position: absolute;
  display: block;
  width: 16vw;
  max-width: 260px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 154, 0.28), rgba(233, 166, 74, 0.07) 44%, transparent 70%);
  filter: blur(12px);
  mix-blend-mode: screen;
  animation: festival-night-glow 4.8s ease-in-out infinite alternate;
}

.festival-night-scene__glows i:nth-child(1) {
  left: 42%;
  top: 35%;
}

.festival-night-scene__glows i:nth-child(2) {
  left: 13%;
  top: 19%;
  width: 13vw;
  animation-delay: -1.4s;
}

.festival-night-scene__glows i:nth-child(3) {
  right: 13%;
  top: 20%;
  width: 14vw;
  background: radial-gradient(circle, rgba(187, 141, 255, 0.24), rgba(112, 75, 211, 0.07) 48%, transparent 72%);
  animation-delay: -2.8s;
}

.festival-night-scene__glows i:nth-child(4) {
  right: 7%;
  bottom: 7%;
  width: 18vw;
  background: radial-gradient(circle, rgba(100, 211, 238, 0.22), rgba(63, 147, 189, 0.06) 48%, transparent 72%);
  animation-delay: -3.6s;
}

.festival-night-scene__fireflies {
  z-index: 6;
}

.festival-night-scene__fireflies i {
  position: absolute;
  display: block;
  width: var(--firefly-size, 3px);
  height: var(--firefly-size, 3px);
  border-radius: 50%;
  opacity: 0;
  background: #fff1a7;
  box-shadow: 0 0 6px 2px rgba(255, 213, 100, 0.62);
  animation: festival-night-firefly var(--firefly-time, 5s) var(--firefly-delay, 0s) ease-in-out infinite;
}

.festival-opening__photo.festival-night-scene {
  opacity: 1;
  transform: none;
  transition: none;
}

.festival-opening.is-running .festival-opening__photo.festival-night-scene {
  opacity: 1;
  transform: none;
}

.festival-night-scene--opening .festival-night-scene__picture--back {
  inset: -5%;
  width: 110%;
  height: 110%;
  clip-path: circle(0 at 50% 49%);
  filter: brightness(0.82) saturate(1);
  transform: scale(1.24);
  transform-origin: 50% 49%;
  transition: none;
}

.festival-opening.is-running .festival-night-scene--opening .festival-night-scene__picture--back {
  animation: festival-night-opening-reveal 4.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.festival-night-scene--opening .festival-night-scene__picture--mid,
.festival-night-scene--opening .festival-night-scene__picture--front {
  display: none;
}

.festival-opening.is-running .festival-night-scene--opening .festival-night-scene__picture--mid {
  animation: none;
}

.festival-opening.is-running .festival-night-scene--opening .festival-night-scene__picture--front {
  animation: none;
}

.festival-opening__photo::after,
.festival-hero__media::after {
  display: none;
}

.festival-opening__iris {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background:
    radial-gradient(circle at 50% 49%, rgba(255, 211, 117, 0.3), transparent 5%, rgba(22, 16, 38, 0.74) 20%, #130f25 60%);
}

.festival-opening.is-running .festival-opening__iris {
  animation: festival-night-iris 2.6s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.festival-opening__copy {
  position: absolute;
  z-index: 7;
  left: 6.5%;
  top: 18%;
  width: min(560px, 44vw);
  text-align: left;
  text-shadow: 0 2px 20px rgba(2, 8, 22, 0.74);
}

.festival-opening.is-running .festival-opening__copy {
  transition-delay: 1.75s;
}

.festival-opening__copy > p:first-child {
  color: rgba(255, 255, 255, 0.82);
}

.festival-opening__title {
  font-size: clamp(58px, 6.5vw, 104px);
  line-height: 0.84;
}

.festival-opening__title strong {
  color: #f1ca79;
}

.festival-opening__jp {
  max-width: 500px;
  color: #fff;
}

.festival-opening__skip {
  z-index: 8;
  border-color: rgba(255, 235, 184, 0.64);
  background: rgba(3, 12, 28, 0.68);
  backdrop-filter: blur(8px);
}

.festival-hero__media.festival-night-scene {
  z-index: 0;
}

.festival-night-scene--hero .festival-night-scene__picture img {
  filter: brightness(1.06) saturate(1.06) contrast(1.01);
  animation: festival-night-camera 22s ease-in-out infinite alternate;
  will-change: transform;
}

.festival-hero__shade {
  background:
    linear-gradient(90deg, rgba(9, 10, 24, 0.5) 0%, rgba(9, 10, 24, 0.25) 27%, rgba(9, 10, 24, 0.02) 53%, transparent 100%),
    linear-gradient(180deg, transparent 42%, rgba(7, 10, 24, 0.38) 100%);
}

.festival-hero__shade::after {
  opacity: 0.08;
}

.festival-hero__copy {
  max-width: 630px;
  text-shadow: 0 3px 24px rgba(1, 7, 20, 0.88);
}

.festival-hero__copy h1 {
  font-size: clamp(54px, 5.4vw, 78px);
}

.festival-hero__note {
  border-left-color: #f1ca79;
  background: rgba(3, 13, 30, 0.64);
}

@keyframes festival-night-opening-reveal {
  0% {
    clip-path: circle(0 at 50% 49%);
    filter: brightness(0.72) saturate(0.94);
    transform: scale(1.25);
  }
  28% {
    clip-path: circle(18% at 50% 49%);
    filter: brightness(0.94) saturate(1);
  }
  66% {
    clip-path: circle(92% at 50% 49%);
    filter: brightness(1.04) saturate(1.03);
  }
  100% {
    clip-path: circle(145% at 50% 49%);
    filter: brightness(1.06) saturate(1.04);
    transform: scale(1.02);
  }
}

@keyframes festival-night-opening-mid {
  0% {
    opacity: 0;
    transform: translate3d(0, 8px, 0) scale(1.04);
  }
  34% { opacity: 0.42; }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.005);
  }
}

@keyframes festival-night-opening-front {
  0% {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(1.06);
  }
  38% { opacity: 0.3; }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1.01);
  }
}

@keyframes festival-night-iris {
  0% { opacity: 1; transform: scale(1); }
  48% { opacity: 0.62; }
  100% { opacity: 0; transform: scale(1.08); }
}

@keyframes festival-night-camera {
  0% { transform: scale(1.035) translate3d(-0.7%, -0.4%, 0); }
  50% { transform: scale(1.065) translate3d(0.4%, 0.5%, 0); }
  100% { transform: scale(1.045) translate3d(0.8%, -0.2%, 0); }
}

@keyframes festival-night-ribbon-flow {
  from { stroke-dashoffset: 0; opacity: 0.18; }
  45% { opacity: 0.8; }
  to { stroke-dashoffset: -16; opacity: 0.18; }
}

@keyframes festival-night-glow {
  from { opacity: 0.34; transform: scale(0.88); }
  to { opacity: 0.78; transform: scale(1.13); }
}

@keyframes festival-night-firefly {
  0%, 100% { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.6); }
  24% { opacity: 0.9; }
  62% { opacity: 0.45; transform: translate3d(16px, -18px, 0) scale(1.05); }
  82% { opacity: 0.82; }
}

/* Instagram reel: keep the real ribbon-pulls moment inside the report flow. */
.festival-instagram {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 150px) 5vw;
  color: #17332d;
  background:
    linear-gradient(112deg, rgba(239, 198, 116, 0.17), transparent 34%),
    linear-gradient(180deg, #f8f4ec 0%, #efe8dc 100%);
}

.festival-instagram::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(90vw, 1320px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 139, 64, 0.7), transparent);
  content: "";
  transform: translateX(-50%);
}

.festival-instagram::after {
  position: absolute;
  right: -11vw;
  bottom: -19vw;
  width: 44vw;
  height: 44vw;
  border: 1px solid rgba(181, 137, 66, 0.2);
  border-radius: 50%;
  box-shadow:
    0 0 0 7vw rgba(181, 137, 66, 0.055),
    0 0 0 14vw rgba(181, 137, 66, 0.035);
  content: "";
  pointer-events: none;
}

.festival-instagram__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 430px);
  gap: clamp(54px, 8vw, 128px);
  align-items: center;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.festival-instagram__copy {
  max-width: 650px;
}

.festival-instagram__eyebrow {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 28px;
  color: #a37631;
  font: 700 12px/1.4 "Montserrat", sans-serif;
  letter-spacing: 0.12em;
}

.festival-instagram__eyebrow::before {
  width: 42px;
  height: 1px;
  background: currentColor;
  content: "";
}

.festival-instagram__copy h2 {
  margin: 0;
  color: #17332d;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 600;
  line-height: 1.42;
}

.festival-instagram__lead {
  max-width: 610px;
  margin: 38px 0 0;
  color: #455a54;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.05;
}

.festival-instagram__account {
  margin: 32px 0 0;
  color: #a37631;
  font: 700 12px/1.4 "Montserrat", sans-serif;
  letter-spacing: 0.08em;
}

.festival-instagram__embed {
  position: relative;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(184, 139, 64, 0.55);
  background: #fff;
  box-shadow: 0 28px 70px rgba(39, 35, 27, 0.18);
}

.festival-instagram__embed iframe {
  display: block;
  width: 100%;
  height: 748px;
  border: 0;
  background: #fff;
}

.festival-instagram__label {
  position: absolute;
  top: 42px;
  left: -52px;
  z-index: 2;
  display: grid;
  gap: 3px;
  min-width: 184px;
  padding: 13px 18px;
  color: #f7ead0;
  background: rgba(18, 47, 40, 0.95);
  box-shadow: 0 10px 28px rgba(26, 45, 39, 0.2);
  pointer-events: none;
}

.festival-instagram__label span,
.festival-instagram__label small {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0.08em;
}

.festival-instagram__label span {
  font-size: 12px;
  font-weight: 800;
}

.festival-instagram__label small {
  color: rgba(247, 234, 208, 0.68);
  font-size: 8px;
  font-weight: 600;
}

@media (max-width: 767px) {
  .festival-night-scene__picture {
    inset: -1.5%;
    width: 103%;
    height: 103%;
  }

  .festival-night-scene__picture img {
    object-position: center;
  }

  .festival-night-scene__ribbons {
    opacity: 0.26;
  }

  .festival-night-scene__glows i {
    width: 34vw;
  }

  .festival-night-scene__glows i:nth-child(1) {
    left: 33%;
    top: 37%;
  }

  .festival-night-scene__glows i:nth-child(2) {
    left: 2%;
    top: 26%;
    width: 28vw;
  }

  .festival-night-scene__glows i:nth-child(3) {
    right: 1%;
    top: 27%;
    width: 30vw;
  }

  .festival-night-scene__glows i:nth-child(4) {
    right: -2%;
    bottom: 14%;
    width: 36vw;
  }

  .festival-opening__copy {
    left: 21px;
    right: 21px;
    top: 10%;
    width: auto;
    text-align: center;
  }

  .festival-opening__title {
    font-size: clamp(43px, 15vw, 64px);
  }

  .festival-opening__jp {
    margin-left: auto;
    margin-right: auto;
    font-size: 13px;
  }

  .festival-hero__shade {
    background:
      linear-gradient(180deg, rgba(9, 10, 24, 0.02) 8%, transparent 42%, rgba(7, 10, 24, 0.66) 78%, rgba(7, 10, 24, 0.84) 100%);
  }

  .festival-hero__copy {
    max-width: none;
  }

  .festival-hero__copy h1 {
    font-size: clamp(34px, 10vw, 43px);
  }

  .festival-hero__note {
    background: rgba(3, 13, 30, 0.72);
  }

  .festival-instagram {
    padding: 76px 20px 90px;
  }

  .festival-instagram::after {
    right: -48vw;
    bottom: -26vw;
    width: 95vw;
    height: 95vw;
  }

  .festival-instagram__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 50px;
  }

  .festival-instagram__copy h2 {
    font-size: clamp(32px, 9.5vw, 42px);
    line-height: 1.5;
  }

  .festival-instagram__lead {
    margin-top: 26px;
    font-size: 14px;
    line-height: 1.95;
  }

  .festival-instagram__account {
    margin-top: 24px;
  }

  .festival-instagram__embed {
    width: min(100%, 430px);
    margin: 0 auto;
    padding: 7px;
  }

  .festival-instagram__embed iframe {
    height: 660px;
  }

  .festival-instagram__label {
    top: -25px;
    left: 14px;
    min-width: 166px;
    padding: 10px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .festival-night-scene__picture,
  .festival-night-scene__picture img,
  .festival-night-scene__ribbons path,
  .festival-night-scene__glows i,
  .festival-night-scene__fireflies i,
  .festival-opening__iris {
    animation: none !important;
    transition: none !important;
  }

  .festival-night-scene--opening .festival-night-scene__picture {
    clip-path: none;
    filter: brightness(0.9);
    transform: none;
  }

  .festival-opening__iris {
    display: none;
  }
}
