/* Public campaign: luminous paper, sakura and dimensional glass. */
.program-page {
  position: relative;
  isolation: isolate;
  background: #fffafb;
}
.program-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 95% 3%, #ffe1ef 0, transparent 13%),
    radial-gradient(ellipse at 0 28%, #ffe6f3 0, transparent 15%),
    radial-gradient(ellipse at 98% 48%, #f7e8ff 0, transparent 17%),
    radial-gradient(ellipse at 0 80%, #ffe6f1 0, transparent 15%);
}
[data-scene] {
  --scene-shift: 0px;
  --scene-progress: 0;
  position: relative;
  isolation: isolate;
}
.japan-backdrop {
  position: absolute;
  inset: -110px calc((100% - 100vw) / 2) -110px;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.section-art {
  position: absolute;
  inset: -80px -100px;
  z-index: -1;
  pointer-events: none;
  overflow: clip;
}
.scene-glow {
  --scene-shift: 0px;
  position: absolute;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    #f9a9d269,
    #ffc9e43b 37%,
    #ffebf514 60%,
    transparent 72%
  );
  transform: translate3d(0, var(--scene-shift), 0);
}
.hero-glow {
  width: min(90vw, 1100px);
  height: 1000px;
  left: 38%;
  top: -90px;
}
.light-ribbon {
  --scene-shift: 0px;
  width: 1000px;
  height: 450px;
  position: absolute;
  border: 1px solid #f6b7d370;
  border-radius: 50%;
  box-shadow:
    inset 0 1px 4px #fff,
    inset 0 -14px 32px #f9b5d23d,
    0 1px 0 #fff,
    0 18px 36px #d85b9220;
  background: linear-gradient(180deg, #fff0 44%, #fff9 86%, #fff);
  transform: rotate(-30deg) translateY(var(--scene-shift));
}
.ribbon-one {
  left: 42%;
  top: 135px;
  width: 1050px;
  height: 650px;
}
.ribbon-two {
  left: 38%;
  top: 450px;
  width: 1250px;
  height: 350px;
  opacity: 0.6;
  transform: rotate(-25deg) translateY(calc(var(--scene-shift) * -1));
}
.scene-kanji {
  position: absolute;
  left: max(20px, calc(50% - 735px));
  top: 225px;
  writing-mode: vertical-rl;
  font-size: 104px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.22em;
  color: #eebbd1;
  opacity: 0.16;
  text-shadow: 1px 1px #fff;
}
.sakura-object {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 15px 16px #c7538b18);
  animation: sakura-turn 13s ease-in-out infinite alternate;
  animation-play-state: paused;
  pointer-events: none;
  user-select: none;
}
.scene-active .sakura-object {
  animation-play-state: running;
}
.sakura-hero-one {
  width: 210px;
  height: 210px;
  top: 115px;
  right: max(-35px, calc((100vw - 1400px) / 2));
  rotate: 24deg;
}
.sakura-hero-two {
  width: 130px;
  height: 130px;
  bottom: 130px;
  left: max(-28px, calc((100vw - 1330px) / 2));
  rotate: -23deg;
  filter: drop-shadow(0 18px 16px #bd387a30);
  animation-delay: -7s;
}
.page-petals {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  overflow: hidden;
  /* This always-animated layer has a viewport-sized paint boundary. */
  contain: strict;
}
.petal-field i {
  --petal-x: 12%;
  --petal-turn: 35deg;
  position: absolute;
  top: -30px;
  left: var(--petal-x);
  width: 9px;
  height: 13px;
  border-radius: 90% 15% 80% 25%;
  background: linear-gradient(145deg, #fff0f5, #ed9fbd);
  box-shadow:
    inset 1px 1px #fff9,
    1px 3px 5px #d9719b18;
  opacity: 0;
  animation: sakura-fall 25s linear infinite;
}
.petal-field i:nth-child(2) {
  --petal-x: 29%;
  --petal-turn: 100deg;
  animation-delay: -7s;
  animation-duration: 29s;
  width: 7px;
  height: 11px;
}
.petal-field i:nth-child(3) {
  --petal-x: 46%;
  --petal-turn: -35deg;
  animation-delay: -16s;
  animation-duration: 32s;
}
.petal-field i:nth-child(4) {
  --petal-x: 64%;
  --petal-turn: 75deg;
  animation-delay: -5s;
  animation-duration: 26s;
  width: 8px;
  height: 12px;
}
.petal-field i:nth-child(5) {
  --petal-x: 79%;
  --petal-turn: 120deg;
  animation-delay: -19s;
  animation-duration: 34s;
}
.petal-field i:nth-child(6) {
  --petal-x: 92%;
  --petal-turn: 20deg;
  animation-delay: -11s;
  animation-duration: 27s;
  width: 7px;
  height: 10px;
}
.petal-field i:nth-child(7) {
  --petal-x: 3%;
  --petal-turn: 145deg;
  animation-delay: -14s;
  animation-duration: 30s;
}
.petal-field i:nth-child(8) {
  --petal-x: 38%;
  --petal-turn: -75deg;
  animation-delay: -23s;
  animation-duration: 36s;
  width: 6px;
  height: 9px;
}
.petal-field i:nth-child(9) {
  --petal-x: 56%;
  --petal-turn: 55deg;
  animation-delay: -10s;
  animation-duration: 28s;
}
.petal-field i:nth-child(10) {
  --petal-x: 86%;
  --petal-turn: -15deg;
  animation-delay: -3s;
  animation-duration: 31s;
  width: 8px;
  height: 11px;
}
.petal-field i:nth-child(11) {
  --petal-x: 20%;
  --petal-turn: 95deg;
  animation-delay: -20s;
  animation-duration: 33s;
  width: 5px;
  height: 8px;
}
.petal-field i:nth-child(12) {
  --petal-x: 71%;
  --petal-turn: 165deg;
  animation-delay: -15s;
  animation-duration: 25s;
  width: 6px;
  height: 10px;
}
.format-art {
  inset: 0;
}
.format-art .scene-glow {
  left: -160px;
  top: 260px;
  background: radial-gradient(
    ellipse,
    #ffc3df80,
    #ffd9ec55 37%,
    transparent 70%
  );
}
.format-art .light-ribbon {
  left: -260px;
  top: 420px;
  width: 1150px;
  height: 550px;
  opacity: 0.6;
  transform: rotate(24deg) translateY(var(--scene-shift));
}
.format-art > span {
  position: absolute;
  right: 40px;
  top: 100px;
  font-size: clamp(70px, 11vw, 160px);
  font-weight: 800;
  color: #f5d8e6;
  opacity: 0.44;
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}
.format-art .sakura-object {
  right: max(20px, calc((100vw - 1280px) / 2));
  top: 240px;
  width: 115px;
  height: 115px;
  rotate: 28deg;
  opacity: 0.8;
}
.earnings-art {
  inset: -100px -220px;
}
.earnings-art .scene-glow {
  right: -180px;
  top: -70px;
}
.earnings-art .light-ribbon {
  right: -250px;
  bottom: 65px;
  width: 1000px;
  height: 270px;
  rotate: 18deg;
  opacity: 0.55;
}
.earnings-art .sakura-object {
  width: 100px;
  height: 100px;
  right: 120px;
  top: 50px;
  rotate: 18deg;
}
.app-art {
  inset: -100px -200px;
}
.app-art .scene-glow {
  right: -90px;
  top: -70px;
  background: radial-gradient(
    ellipse,
    #f4bbd76b,
    #ead9f85e 40%,
    transparent 70%
  );
}
.app-art .light-ribbon {
  right: -230px;
  bottom: 45px;
  width: 900px;
  height: 400px;
}
.app-art > span {
  position: absolute;
  top: 10px;
  right: 70px;
  font-size: 120px;
  font-weight: 800;
  letter-spacing: 0.13em;
  color: #ecc1d7;
  opacity: 0.25;
}
.app-art .sakura-object {
  right: 170px;
  bottom: 80px;
  width: 140px;
  height: 140px;
  rotate: -20deg;
}
.finale-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.finale-art > span {
  position: absolute;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(80px, 12vw, 140px);
  font-weight: 800;
  color: #f8bfd9;
  opacity: 0.25;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.finale-art .sakura-object {
  right: -35px;
  top: 80px;
  width: 220px;
  height: 220px;
  rotate: 25deg;
  opacity: 0.9;
}
.finale-art .light-ribbon {
  width: 1200px;
  height: 330px;
  right: -450px;
  bottom: -160px;
  opacity: 0.65;
}
.scene-motion-static .sakura-object {
  animation: none;
}
.motion-paused *,
.motion-paused *::before,
.motion-paused *::after,
.page-hidden *,
.page-hidden *::before,
.page-hidden *::after {
  animation-play-state: paused !important;
}
@keyframes sakura-turn {
  from {
    transform: translate3d(0, -6px, 0) rotate(-5deg);
  }
  to {
    transform: translate3d(9px, 12px, 0) rotate(8deg);
  }
}
@keyframes sakura-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -20px, 0) rotate(var(--petal-turn));
  }
  10% {
    opacity: 0.58;
  }
  35% {
    transform: translate3d(42px, 35vh, 0)
      rotate(calc(var(--petal-turn) + 130deg));
  }
  65% {
    transform: translate3d(-12px, 68vh, 0)
      rotate(calc(var(--petal-turn) + 230deg));
    opacity: 0.45;
  }
  95% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    transform: translate3d(65px, 110vh, 0)
      rotate(calc(var(--petal-turn) + 350deg));
  }
}
@media (max-width: 1100px) {
  .sakura-hero-one {
    right: -65px;
    width: 160px;
    height: 160px;
  }
  .sakura-hero-two {
    left: -60px;
    opacity: 0.7;
  }
  .scene-kanji {
    left: -40px;
    opacity: 0.12;
  }
  .format-art > span {
    right: -20px;
    opacity: 0.3;
  }
}
@media (max-width: 700px) {
  .japan-backdrop {
    inset-block: -110px -50px;
  }
  .hero-glow {
    width: 650px;
    height: 750px;
    top: 230px;
    left: -90px;
  }
  .ribbon-one {
    width: 650px;
    height: 370px;
    top: 460px;
    left: -100px;
  }
  .ribbon-two {
    width: 850px;
    height: 200px;
    left: -160px;
    top: 660px;
  }
  .scene-kanji {
    top: 145px;
    left: auto;
    right: -10px;
    font-size: 76px;
    opacity: 0.17;
  }
  .sakura-hero-one {
    width: 115px;
    height: 115px;
    top: 90px;
    right: -40px;
    opacity: 0.65;
  }
  .sakura-hero-two {
    width: 100px;
    height: 100px;
    bottom: 80px;
    left: -44px;
    opacity: 0.8;
  }
  .petal-field i:nth-child(n + 9) {
    display: none;
  }
  .format-art > span {
    top: 60px;
    right: -25px;
    opacity: 0.22;
    font-size: 78px;
  }
  .format-art .scene-glow {
    width: 650px;
    height: 650px;
    left: -180px;
    top: 350px;
  }
  .format-art .light-ribbon {
    top: 440px;
    width: 700px;
    height: 370px;
    left: -200px;
  }
  .format-art .sakura-object {
    width: 90px;
    height: 90px;
    top: 140px;
    right: -45px;
    opacity: 0.6;
  }
  .earnings-art {
    inset: -90px -70px;
  }
  .earnings-art .sakura-object {
    top: 30px;
    right: -30px;
    opacity: 0.5;
  }
  .app-art {
    inset: 0 -90px;
  }
  .app-art > span {
    top: 260px;
    right: 90px;
    font-size: 75px;
  }
  .app-art .sakura-object {
    right: 20px;
    bottom: 20px;
    width: 100px;
    height: 100px;
  }
  .app-art .scene-glow {
    width: 650px;
    height: 650px;
    top: 180px;
    right: -150px;
  }
  .finale-art .sakura-object {
    width: 150px;
    height: 150px;
    top: 40px;
    right: -60px;
    opacity: 0.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .petal-field {
    display: none;
  }
  .sakura-object,
  .light-ribbon {
    animation: none !important;
  }
}
