@charset "UTF-8";

/* ==========================================================================
   motion.css — adds motion on top of the baked-image LP.
   Original images are never rewritten; everything here is an overlay layer.
   Coordinates are authored in the natural pixel space of each block image
   (width 750, height = --bh) and converted to % so they scale with the LP.
   ========================================================================== */

:root {
  --mo-ease: cubic-bezier(.16, .84, .24, 1);
}

/* --------------------------------------------------------------------------
   Scroll-trigger marker
   An invisible anchor placed at the depth of a block's actual first
   visual event, not the top of the (often much taller) section.
   motion.js watches this instead of the whole section, so playback
   starts once the content itself is nearing view — not the instant the
   section's top edge appears.
   -------------------------------------------------------------------------- */
.mo-trigger {
  position: absolute;
  left: 0;
  top: calc(var(--y) / var(--bh) * 100%);
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Scroll gate
   A block only plays once it enters the viewport. Until its <img> has
   decoded, the whole overlay layer stays hidden so masks can never appear
   on their own over a not-yet-loaded image.
   -------------------------------------------------------------------------- */
[data-anim]:not(.is-on) * {
  animation-play-state: paused !important;
}

.mo-layer {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0;
}

.block.is-ready .mo-layer {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Overlay primitives
   --x/--y/--w/--h are natural pixels of the block image; --bh is its height.
   -------------------------------------------------------------------------- */
.mo-mask,
.mo-slice,
.mo-fx {
  position: absolute;
  left: calc(var(--x) / 750 * 100%);
  top: calc(var(--y) / var(--bh) * 100%);
  width: calc(var(--w) / 750 * 100%);
  height: calc(var(--h) / var(--bh) * 100%);
}

.mo-slice {
  overflow: hidden;
  opacity: 0;
  will-change: transform, opacity;
}

.mo-slice > img {
  position: absolute;
  display: block;
  max-width: none;
  width: calc(750 / var(--w) * 100%);
  height: auto;
  left: calc(var(--x) / var(--w) * -100%);
  top: calc(var(--y) / var(--h) * -100%);
}

/* --------------------------------------------------------------------------
   Shared keyframes
   Every landing uses the same curve, and the ones that carry a claim
   overshoot slightly before settling.
   -------------------------------------------------------------------------- */
@keyframes moFadeUp {
  0%   { opacity: 0; transform: translateY(14px); }
  70%  { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

@keyframes moRise {
  0%   { opacity: 0; transform: translateY(42px) scale(.56); filter: blur(10px); }
  58%  { opacity: 1; filter: blur(0); }
  78%  { transform: translateY(-3px) scale(1.015); }
  100% { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes moPop {
  0%   { opacity: 0; transform: scale(.68) rotate(-6deg); }
  62%  { opacity: 1; }
  80%  { transform: scale(1.07) rotate(1.5deg); }
  100% { opacity: 1; transform: none; }
}

@keyframes moSoftIn {
  0%   { opacity: 0; transform: translateY(10px) scale(.94); }
  100% { opacity: 1; transform: none; }
}

/* ==========================================================================
   CTA buttons — blocks 01 / 04 / 08 / 11 / 12
   All five are the same component, so they all get the same treatment.
   The gloss is masked by the button artwork itself, so the highlight can
   never spill outside the pill.
   ========================================================================== */
/* The button always sits above the overlay layers. */
.block--has-cta .cta-btn { z-index: 3; }

.cta-btn__inner {
  display: block;
  position: relative;
  will-change: transform, opacity;
}

/* Only hide the button once the motion script has confirmed it is running.
   If the script never loads, the buttons stay plainly visible. */
.js-motion .cta-btn__inner { opacity: 0; }

.cta-btn__inner > img {
  display: block;
  width: 100%;
  height: auto;
}

.cta-gloss {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(104deg,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, .55) 49%,
    rgba(255, 255, 255, .12) 55%,
    rgba(255, 255, 255, 0) 62%);
  background-repeat: no-repeat;
  background-size: 240% 100%;
  background-position: 170% 0;
  -webkit-mask-image: var(--btn);
  mask-image: var(--btn);
  /* Paths are relative to this stylesheet. */
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

#block-01 .cta-gloss { --btn: url(../img/block01/A_block01_cta_btn.webp); }

#block-04 .cta-gloss,
#block-08 .cta-gloss,
#block-11 .cta-gloss { --btn: url(../img/cta_btn/cta_btn.webp); }

#block-12 .cta-gloss { --btn: url(../img/block12/block12_cta_btn.webp); }

@keyframes ctaRise {
  0%   { opacity: 0; transform: translateY(26px) scale(.94); }
  60%  { opacity: 1; }
  80%  { transform: translateY(-3px) scale(1.012); }
  100% { opacity: 1; transform: none; }
}

@keyframes ctaBreath {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.022); }
}

@keyframes ctaGloss {
  0%   { background-position: 170% 0; }
  22%  { background-position: -70% 0; }
  100% { background-position: -70% 0; }
}

.is-on .cta-btn__inner {
  animation: ctaRise .64s var(--mo-ease) both;
}

.is-on .cta-btn__inner > img {
  animation: ctaBreath 3.2s 1.05s ease-in-out infinite;
}

.is-on .cta-gloss {
  animation: ctaGloss 4.8s 1.05s ease-in-out infinite;
}

/* ==========================================================================
   Block 02 — each check is written into its box, top to bottom.
   The box itself is static; only the stroke is drawn.
   ========================================================================== */
#block-02 .mo-mask { background: #ffffff; }

#block-02 .mo-checks { position: absolute; inset: 0; }

#block-02 .mo-checks svg { display: block; width: 100%; height: 100%; }

#block-02 .chk-box {
  fill: none;
  stroke: #c8c8c8;
  stroke-width: 2;
}

/* The check is the original artwork, uncovered along its own stroke, so the
   brush taper is kept exactly. */
#block-02 .chk-reveal {
  fill: none;
  stroke: #ffffff;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 69;
  stroke-dashoffset: 69;
}

@keyframes chkDraw { to { stroke-dashoffset: 0; } }

.is-on .chk-1 { animation: chkDraw .42s .30s cubic-bezier(.4, 0, .25, 1) both; }
.is-on .chk-2 { animation: chkDraw .42s .54s cubic-bezier(.4, 0, .25, 1) both; }
.is-on .chk-3 { animation: chkDraw .42s .78s cubic-bezier(.4, 0, .25, 1) both; }

/* ==========================================================================
   Block 05 — 臨床データ : 走査
   A line travels across each chart from 摂取前 to 12週. Both charts are a
   pair, so they run at the same time. When the line reaches 12週, the
   significance mark and the conclusion callout arrive.
   ========================================================================== */
#block-05 .mo-mask { background: #fefefe; }

#block-05 .mo-scan {
  background-image: linear-gradient(90deg,
    rgba(28, 70, 140, 0) 0%,
    rgba(28, 70, 140, .22) 48%,
    rgba(28, 70, 140, .30) 52%,
    rgba(28, 70, 140, 0) 100%);
  background-repeat: no-repeat;
  background-size: 13% 100%;
  background-position: -13% 0;
}

@keyframes b05Scan {
  0%   { background-position: -13% 0; opacity: 0; }
  10%  { opacity: 1; }
  82%  { background-position: 113% 0; opacity: 1; }
  100% { background-position: 113% 0; opacity: 0; }
}

.is-on .mo-scan   { animation: b05Scan 1.55s .1s cubic-bezier(.3, .0, .2, 1) both; }
.is-on .mo-star   { animation: moPop .5s 1.28s var(--mo-ease) both; }
.is-on .mo-callout{ animation: moFadeUp .62s 1.46s var(--mo-ease) both; }

/* ==========================================================================
   Block 06 — カルビー安心プロセス : 描線
   One line travels round each badge. The back badge is drawn as an open
   arc so the line never crosses the badge in front of it. When each line
   closes, a point lands at its tip.
   ========================================================================== */
#block-06 .mo-ring {
  position: absolute;
  inset: 0;
}

#block-06 .mo-ring svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

#block-06 .mo-ring path,
#block-06 .mo-ring circle.ring {
  fill: none;
  stroke: #d2a44f;
  stroke-width: 2.4;
  stroke-linecap: round;
}

#block-06 .ring-back { stroke-dasharray: 479; stroke-dashoffset: 479; }
#block-06 .ring-front { stroke-dasharray: 591; stroke-dashoffset: 591; }

#block-06 .ring-tip {
  fill: #d2a44f;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: 50% 50%;
}

@keyframes ringDraw { to { stroke-dashoffset: 0; } }

@keyframes ringTip {
  0%   { opacity: 0; transform: scale(.4); }
  55%  { opacity: 1; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

.is-on .ring-back  { animation: ringDraw 1.0s .15s var(--mo-ease) both; }
.is-on .ring-front { animation: ringDraw 1.1s .33s var(--mo-ease) both; }
.is-on .tip-back   { animation: ringTip .42s 1.08s var(--mo-ease) both; }
.is-on .tip-front  { animation: ringTip .42s 1.36s var(--mo-ease) both; }

/* ==========================================================================
   Block 10 — 価格訴求 : 迫り上がり
   The card interior is masked with its own background gradient, then put
   back one element at a time, ending on the price.
   ========================================================================== */
#block-10 .mo-mask {
  background-image: linear-gradient(to bottom,
    #fff8fa 0%,
    #fff3f7 18%,
    #fff3f7 84%,
    #fffafc 100%);
}

.is-on .b10-a { animation: moFadeUp .52s .10s var(--mo-ease) both; }
.is-on .b10-b { animation: moFadeUp .52s .24s var(--mo-ease) both; }
.is-on .b10-c { animation: moPop    .54s .42s var(--mo-ease) both; }
.is-on .b10-d { animation: moRise   .86s .58s var(--mo-ease) both; }
.is-on .b10-e { animation: moFadeUp .52s .80s var(--mo-ease) both; }
.is-on .b10-f { animation: moSoftIn .60s .92s var(--mo-ease) both; }

/* ==========================================================================
   Block 12 — オファー : 反射
   Both medals are a pair, so the metal catches the light at the same
   moment on each.
   ========================================================================== */
.mo-patch > img,
.mo-pack > img { display: block; width: 100%; height: auto; }

/* The pack is lifted out of the artwork and rises back into place. */
.mo-pack { opacity: 0; will-change: transform, opacity; }

@keyframes fvPackRise {
  0%   { opacity: 0; transform: translateY(13%) scale(.986); }
  42%  { opacity: 1; }
  78%  { transform: translateY(-1.2%) scale(1.004); }
  100% { opacity: 1; transform: none; }
}

.is-on .mo-pack { animation: fvPackRise 1.02s .18s var(--mo-ease) both; }

#block-12 .mo-shine {
  mix-blend-mode: screen;
  background-image: linear-gradient(108deg,
    rgba(255, 255, 255, 0) 38%,
    rgba(255, 255, 255, .80) 49%,
    rgba(255, 255, 255, .20) 56%,
    rgba(255, 255, 255, 0) 64%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: 190% 0;
}

#block-12 .mo-shine--circle { clip-path: circle(50% at 50% 50%); }
#block-12 .mo-shine--pill   { clip-path: inset(0 round 26% / 34%); }

@keyframes b12Shine {
  0%   { background-position: 190% 0; }
  40%  { background-position: -90% 0; }
  100% { background-position: -90% 0; }
}

.is-on .mo-shine { animation: b12Shine 3.4s .25s ease-in-out both; }

/* The medals catch the light first, then the price changes below them. */
#block-12.is-on .pr-a { animation: moFadeUp .52s 1.00s var(--mo-ease) both; }
#block-12.is-on .pr-b { animation: moFadeUp .52s 1.16s var(--mo-ease) both; }
#block-12.is-on .pr-c { animation: moPop    .54s 1.36s var(--mo-ease) both; }
#block-12.is-on .pr-d { animation: moRise   .86s 1.54s var(--mo-ease) both; }


/* ==========================================================================
   Blocks 04 / 08 / 11 — the same price change as block 10, on the product
   card that repeats above it. The card interior is a flat #fefcfb, so the
   mask sits on it invisibly.
   ========================================================================== */
#block-04 .mo-mask,
#block-08 .mo-mask,
#block-11 .mo-mask { background: #fefcfb; }

.is-on .pr-a { animation: moFadeUp .52s .14s var(--mo-ease) both; }
.is-on .pr-b { animation: moFadeUp .52s .30s var(--mo-ease) both; }
.is-on .pr-c { animation: moPop    .54s .50s var(--mo-ease) both; }
.is-on .pr-d { animation: moRise   .86s .68s var(--mo-ease) both; }

/* ==========================================================================
   Block 02 — each check is written into its box, top to bottom.
   The box itself is static; only the stroke is drawn.
   ========================================================================== */
#block-02 .mo-mask { background: #ffffff; }

#block-02 .mo-checks { position: absolute; inset: 0; }

#block-02 .mo-checks svg { display: block; width: 100%; height: 100%; }

#block-02 .chk-box {
  fill: none;
  stroke: #c8c8c8;
  stroke-width: 2;
}

/* The check is the original artwork, uncovered along its own stroke, so the
   brush taper is kept exactly. */
#block-02 .chk-reveal {
  fill: none;
  stroke: #ffffff;
  stroke-width: 17;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 69;
  stroke-dashoffset: 69;
}

@keyframes chkDraw { to { stroke-dashoffset: 0; } }

.is-on .chk-1 { animation: chkDraw .42s .30s cubic-bezier(.4, 0, .25, 1) both; }
.is-on .chk-2 { animation: chkDraw .42s .54s cubic-bezier(.4, 0, .25, 1) both; }
.is-on .chk-3 { animation: chkDraw .42s .78s cubic-bezier(.4, 0, .25, 1) both; }

/* ==========================================================================
   Block 05 — the plots are drawn in along the time axis, left to right,
   with the scan line riding the drawing edge.
   ========================================================================== */
#block-05 .mo-reveal {
  opacity: 1;
  clip-path: inset(0 100% 0 0);
}

@keyframes b05Draw { to { clip-path: inset(0 0 0 0); } }

.is-on .mo-reveal { animation: b05Draw 1.5s .1s cubic-bezier(.3, 0, .2, 1) both; }

/* ==========================================================================
   Block 07 — the ring fills to 81%, then the figure arrives.
   The white arc underneath erases the baked ring along exactly the same
   path, so only the drawn arc is ever visible.
   ========================================================================== */
#block-07 .mo-dcore {
  background: #ffffff;
  border-radius: 50%;
}

#block-07 .mo-dnum { border-radius: 50%; }

#block-07 .mo-donut { position: absolute; inset: 0; }

#block-07 .mo-donut svg { display: block; width: 100%; height: 100%; }

#block-07 .donut-erase,
#block-07 .donut-arc {
  fill: none;
  stroke-width: 62;
}

#block-07 .donut-erase { stroke: #ffffff; }
#block-07 .donut-arc   { stroke: #feb1d9; }

@keyframes donutFill { to { stroke-dashoffset: 0; } }

.is-on .donut-arc { animation: donutFill 1.5s .15s cubic-bezier(.35, 0, .25, 1) both; }
.is-on .mo-dnum   { animation: moRise .78s 1.62s var(--mo-ease) both; }

/* ==========================================================================
   Reduced motion — show the finished state, which is the original artwork.
   Hiding the overlay layer restores every block to the untouched image.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .mo-layer { display: none; }

  .cta-btn__inner {
    opacity: 1;
    animation: none !important;
  }

  .cta-btn__inner > img { animation: none !important; }
  .cta-gloss { display: none; }
}

/* The CTA button breathes slightly larger than its box; keep it from creating a horizontal scrollbar on narrow screens. */
.lp { overflow-x: clip; }

/* ==========================================================================
   Design A — overlays specific to this artwork.
   Several blocks are tall, so a block can carry extra triggers
   (data-on="x"); each one adds .on-x when its own marker is reached.
   ========================================================================== */
.mo-fx { pointer-events: none; }

/* ---- sparkles (additive, nothing underneath is hidden) ------------------ */
.a-spk { opacity: 0; }
.a-spk svg { display: block; width: 100%; height: 100%; fill: #fff;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.95)) drop-shadow(0 0 9px rgba(232,90,150,.55)); }
@keyframes aTwinkle {
  0%   { opacity: 0; transform: scale(.2) rotate(0deg); }
  38%  { opacity: 1; transform: scale(1.1) rotate(40deg); }
  70%  { opacity: 1; transform: scale(.7) rotate(70deg); }
  100% { opacity: 0; transform: scale(.2) rotate(100deg); }
}
.is-on .a-spk1 { animation: aTwinkle 1.5s 1.0s var(--mo-ease) both; }
.is-on .a-spk2 { animation: aTwinkle 1.5s 1.35s var(--mo-ease) both; }
.is-on .a-spk3 { animation: aTwinkle 1.5s 1.7s var(--mo-ease) both; }
.is-on .a-spk4 { animation: aTwinkle 1.5s 0.7s var(--mo-ease) both; }
.on-on .a-spk5 { animation: aTwinkle 1.4s .55s var(--mo-ease) both; }
.on-on .a-spk6 { animation: aTwinkle 1.4s .85s var(--mo-ease) both; }
.on-on .a-spk7 { animation: aTwinkle 1.4s 1.1s var(--mo-ease) both; }

/* ---- a light passes over a product pack (clipped to the pack) ----------- */
.a01-pack, .a03-pack { overflow: hidden; border-radius: 1.6% / 1.2%; }
.a01-pack::after, .a03-pack::after {
  content: ""; position: absolute; top: -10%; left: 0; width: 38%; height: 120%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.62), rgba(255,255,255,0));
  transform: translateX(-130%) skewX(-18deg); opacity: 0;
}
@keyframes aSheen {
  0%   { transform: translateX(-130%) skewX(-18deg); opacity: 0; }
  14%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { transform: translateX(340%) skewX(-18deg); opacity: 0; }
}
.is-on .a01-pack::after { animation: aSheen 1.4s .8s ease-in-out both; }
.is-on .a03-pack::after { animation: aSheen 1.4s .5s ease-in-out both; }

/* ---- Block 01: the ring round the glass disc draws itself --------------- */
#block-01 .a01-ringsvg svg { display: block; width: 100%; height: 100%; }
.a01-ring {
  fill: none; stroke: rgba(255,255,255,.95); stroke-width: 3;
  stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0;
  transform-origin: 191px 792px; transform: rotate(-90deg);
}
@keyframes a01Ring {
  0%   { stroke-dashoffset: 1; opacity: 1; }
  68%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.is-on .a01-ring { animation: a01Ring 2.1s .3s cubic-bezier(.4,0,.2,1) both; }

/* ---- Block 02 ------------------------------------------------------------ */
@keyframes aDrop {
  0%   { opacity: 0; transform: translateY(-22px); }
  55%  { opacity: 1; transform: translateY(5px); }
  78%  { transform: translateY(-2px); }
  100% { opacity: 1; transform: none; }
}
.on-frame .a02-chev { animation: aDrop .9s .05s var(--mo-ease) both; }
.on-chev2 .a02-chev2 { animation: aDrop .9s .05s var(--mo-ease) both; }

.a02-frame svg { display: block; width: 100%; height: 100%; }
.a02-cover-g { fill: #f5f5f5; }
.a02-cover-w { fill: #fff; }
.a02-frame-line {
  fill: none; stroke: #5c5a5b; stroke-width: 2;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
@keyframes aLine { to { stroke-dashoffset: 0; } }
.on-frame .a02-frame-line { animation: aLine 1.25s .55s cubic-bezier(.45,0,.25,1) both; }

@keyframes aFly {
  0%   { opacity: 0; transform: translateX(-28px); }
  60%  { opacity: 1; transform: translateX(6px); }
  100% { opacity: 1; transform: none; }
}
.on-diag .a02-arrow { animation: aFly .8s .15s var(--mo-ease) both; }

/* ---- Block 02-Plus: the data is drawn in along the age axis ------------- */
#block-02-plus .mo-rv { opacity: 1; clip-path: inset(0 100% 0 0); }
@keyframes aRvDraw { to { clip-path: inset(0 0 0 0); } }
.is-on .rv-1  { animation: aRvDraw 1.6s .15s cubic-bezier(.3,0,.2,1) both; }
.on-d2 .rv-2  { animation: aRvDraw 1.6s .15s cubic-bezier(.3,0,.2,1) both; }
#block-02-plus .mo-rvscan {
  background-image: linear-gradient(90deg, rgba(214,40,100,0) 0%, rgba(214,40,100,.20) 48%, rgba(214,40,100,.30) 52%, rgba(214,40,100,0) 100%);
  background-repeat: no-repeat; background-size: 13% 100%; background-position: -13% 0; opacity: 0;
}
.is-on .rvscan-1 { animation: b05Scan 1.65s .15s cubic-bezier(.3,0,.2,1) both; }
.on-d2 .rvscan-2 { animation: b05Scan 1.65s .15s cubic-bezier(.3,0,.2,1) both; }

/* the two medals catch the light, one then the other */
.a-medal { border-radius: 50%; overflow: hidden; }
.a-medal::after {
  content: ""; position: absolute; top: -10%; left: 0; width: 42%; height: 120%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.78), rgba(255,255,255,0));
  transform: translateX(-130%) skewX(-20deg); opacity: 0;
}
.is-on .a-medal1::after { animation: aSheen 1.1s .25s ease-in-out both; }
.on-d2 .a-medal2::after { animation: aSheen 1.1s .25s ease-in-out both; }

/* ---- Block 03: a highlight runs along the two underlines ---------------- */
.a03-shine {
  background-image: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.95), rgba(255,255,255,0));
  background-repeat: no-repeat; background-size: 26% 100%; background-position: -26% 0; opacity: 0;
}
@keyframes aRun {
  0%   { background-position: -26% 0; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { background-position: 126% 0; opacity: 0; }
}
.on-on .a03-shine1 { animation: aRun 1.2s .15s ease-in-out both; }
.on-on .a03-shine2 { animation: aRun 1.2s .45s ease-in-out both; }

/* ---- Block 05: the second chart has its own trigger --------------------- */
#block-05 .mo-reveal2 { opacity: 1; clip-path: inset(0 100% 0 0); }
#block-05 .mo-scan2 {
  background-image: linear-gradient(90deg, rgba(28,70,140,0) 0%, rgba(28,70,140,.22) 48%, rgba(28,70,140,.30) 52%, rgba(28,70,140,0) 100%);
  background-repeat: no-repeat; background-size: 13% 100%; background-position: -13% 0; opacity: 0;
}
.on-g2 .mo-scan2    { animation: b05Scan 1.55s .1s cubic-bezier(.3,0,.2,1) both; }
.on-g2 .mo-reveal2  { animation: b05Draw 1.5s .1s cubic-bezier(.3,0,.2,1) both; }
.on-g2 .mo-star2    { animation: moPop .5s 1.28s var(--mo-ease) both; }
.on-g2 .mo-callout2 { animation: moFadeUp .62s 1.46s var(--mo-ease) both; }

/* The CTA button breathes slightly larger than its box; keep it from creating a horizontal scrollbar on narrow screens. */
.lp { overflow-x: clip; }

/* ---- Block 01: the glass disc wobbles like jelly -------------------------
   A circular copy of the disc (with its text) sits exactly on the original.
   It only ever stretches, never shrinks (min scale 1), so it always covers
   the original and no background has to be redrawn. Plays once. */
#block-01 .a01-disc {
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle closest-side, #000 94.5%, transparent 100%);
  mask-image: radial-gradient(circle closest-side, #000 94.5%, transparent 100%);
  transform-origin: 50% 50%;
}
@keyframes a01Jelly {
  0%   { opacity: 1; transform: scale(1, 1); }
  14%  { opacity: 1; transform: scale(1.055, 1); }
  30%  { opacity: 1; transform: scale(1, 1.05); }
  46%  { opacity: 1; transform: scale(1.036, 1); }
  62%  { opacity: 1; transform: scale(1, 1.03); }
  78%  { opacity: 1; transform: scale(1.014, 1); }
  100% { opacity: 1; transform: scale(1, 1); }
}
@keyframes a01Tremble {
  0%   { transform: scale(1, 1); }
  25%  { transform: scale(1.032, 1); }
  50%  { transform: scale(1, 1.032); }
  75%  { transform: scale(1.018, 1); }
  100% { transform: scale(1, 1); }
}
/* A bigger wobble on arrival, then a gentle tremble that keeps going. */
.is-on .a01-disc { animation: a01Jelly 1.4s .6s ease-in-out both, a01Tremble 1.7s 2s ease-in-out infinite; }

/* ---- Block 01: 弾力肌 hops in, one character after another ----------------
   The three characters are lifted out of the artwork and the area under them
   is redrawn (patch). Each one drops, squashes on landing, hops once more and
   settles. The bottom edge is the pivot, so it reads as a bounce. */
#block-01 .a01-hpatch > img, #block-01 .a01-h > img { display: block; width: 100%; height: auto; }
#block-01 .a01-h { opacity: 0; transform-origin: 50% 92%; will-change: transform, opacity; }
@keyframes aBounceIn {
  0%   { opacity: 0; transform: translateY(-64px) scale(.92, 1.12); }
  26%  { opacity: 1; transform: translateY(0) scale(1.1, .88); }
  44%  { opacity: 1; transform: translateY(-24px) scale(.97, 1.06); }
  62%  { opacity: 1; transform: translateY(0) scale(1.05, .94); }
  78%  { opacity: 1; transform: translateY(-7px) scale(1, 1.02); }
  90%  { opacity: 1; transform: translateY(0) scale(1.015, .985); }
  100% { opacity: 1; transform: none; }
}
.on-head .a01-h1 { animation: aBounceIn 1.15s .15s ease-out both; }
.on-head .a01-h2 { animation: aBounceIn 1.15s .32s ease-out both; }
.on-head .a01-h3 { animation: aBounceIn 1.15s .49s ease-out both; }

/* The headline must not wait for the (lower) main trigger of this block,
   otherwise it would stay blank on short screens. */
#block-01.on-head .a01-h { animation-play-state: running !important; }
