#ryo-popup-v2,#ryo-popup-v2 *{box-sizing:border-box}
#ryo-popup-v2[hidden]{display:none!important}
#ryo-popup-v2{position:fixed;inset:0;z-index:2147483000;background:rgba(3,13,36,.76);display:grid;place-items:center;padding:12px;font-family:system-ui,-apple-system,'Noto Sans JP',sans-serif}
#ryo-popup-v2 .ryo-popup-frame{position:relative;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);isolation:isolate;border-radius:16px;box-shadow:0 10px 40px #0008}
#ryo-popup-v2 .ryo-popup-art{position:relative;width:100%;overflow:hidden;border-radius:16px}
#ryo-popup-v2 .ryo-popup-image{display:block;width:100%;max-width:none;object-fit:fill;border-radius:16px}
#ryo-popup-v2 .ryo-popup-cta{position:absolute;display:block;left:12.5%;top:83.3%;width:74.5%;height:15%;z-index:2;border-radius:999px;cursor:pointer;text-indent:-9999px;overflow:hidden;isolation:isolate;animation:ryo-v3-cta-halo 3.5s ease-in-out infinite}
/* Mobile: show the entire information artwork except its baked-in CTA footer.
   A native, accessible LINE link occupies that exact footer space. */
#ryo-popup-v2.is-mobile .ryo-popup-frame{overflow:visible}
#ryo-popup-v2.is-mobile .ryo-popup-art{border-radius:14px 14px 0 0}
#ryo-popup-v2.is-mobile .ryo-popup-cta{position:relative;left:auto;top:auto;width:100%;height:64px;display:flex;align-items:center;justify-content:center;gap:10px;text-indent:0;overflow:hidden;white-space:nowrap;padding:8px 9px;border:3px solid white;border-radius:0 0 16px 16px;background:linear-gradient(100deg,#00cf20,#00a917);color:white;font:900 clamp(15px,4.5vw,22px)/1.2 'Noto Sans JP',sans-serif;text-shadow:0 1px 2px #09571a;box-shadow:0 4px 20px #0006,0 0 0 2px #b3ff48}
#ryo-popup-v2 .ryo-popup-cta-mark,#ryo-popup-v2 .ryo-popup-cta-label,#ryo-popup-v2 .ryo-popup-cta-arrow{display:none}
#ryo-popup-v2.is-mobile .ryo-popup-cta-mark{display:grid;place-items:center;flex:0 0 43px;width:43px;height:37px;border-radius:47%;background:white;color:#00a91e;font:900 11px/1 Arial,sans-serif;text-shadow:none}
#ryo-popup-v2.is-mobile .ryo-popup-cta-label{display:block}
#ryo-popup-v2.is-mobile .ryo-popup-cta-arrow{display:block;font:900 33px/1 Arial,sans-serif}
#ryo-popup-v2.is-mobile .ryo-popup-cta::after{z-index:3}
@media(max-width:370px){#ryo-popup-v2.is-mobile .ryo-popup-cta{gap:5px}#ryo-popup-v2.is-mobile .ryo-popup-cta-mark{flex-basis:33px;width:33px;height:29px;font-size:9px}}
#ryo-popup-v2 .ryo-popup-close{position:absolute;z-index:3;top:8px;right:8px;width:54px;height:54px;border:3px solid white;background:linear-gradient(145deg,#ff9c25,#f05b00);color:white;border-radius:50%;cursor:pointer;display:grid;place-items:center;font:900 32px/1 Arial,sans-serif;box-shadow:0 3px 12px #0007;transition:transform .16s,filter .16s}
#ryo-popup-v2 .ryo-popup-close:hover{transform:scale(1.07);filter:brightness(1.06)}
#ryo-popup-v2.is-mobile .ryo-popup-close{top:6px;right:6px;width:48px;height:48px;font-size:30px}
#ryo-popup-v2 .ryo-popup-cta:focus-visible,#ryo-popup-v2 .ryo-popup-close:focus-visible{outline:3px solid #ffcf31;outline-offset:2px}
#ryo-popup-v2 .ryo-popup-cta::after{content:'';position:absolute;z-index:1;top:-30%;bottom:-30%;left:-52%;width:27%;pointer-events:none;transform:skewX(-23deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.70),transparent);animation:ryo-v3-cta-shine 3.5s ease-in-out infinite}
@keyframes ryo-v3-cta-halo{0%,100%{box-shadow:0 0 0 0 rgba(182,255,55,0)}46%{box-shadow:0 0 15px 5px rgba(182,255,55,.85)}}
@keyframes ryo-v3-cta-shine{0%,38%{left:-52%;opacity:0}43%{opacity:.9}67%{left:123%;opacity:.65}72%,100%{left:123%;opacity:0}}
/* 既存LPのカードだけに「押すと開く」案内。スライド/リンク/計測には非干渉 */
#jn-lp #jn-fv-merit-slider .ryo-popup-trigger{position:relative!important;cursor:pointer;isolation:isolate}
#jn-lp #jn-fv-merit-slider .ryo-popup-trigger::after{content:'クリックで詳細を見る';position:absolute;z-index:10;bottom:7px;left:50%;transform:translateX(-50%);pointer-events:none;white-space:nowrap;border:1px solid rgba(255,255,255,.85);border-radius:100px;background:rgba(4,18,46,.86);color:#fff;padding:5px 12px 5px 26px;font:800 12px/1.3 'Noto Sans JP',sans-serif;box-shadow:0 2px 10px #0008}
#jn-lp #jn-fv-merit-slider .ryo-popup-trigger::before{content:'☝';position:absolute;bottom:11px;left:calc(50% - 80px);z-index:11;pointer-events:none;color:#ffdc32;font:900 16px/1 sans-serif;filter:drop-shadow(0 1px 2px #0009)}
#jn-lp #jn-fv-merit-slider .ryo-popup-trigger:hover::after{background:rgba(0,70,43,.94)}
@media(max-width:600px){#jn-lp #jn-fv-merit-slider .ryo-popup-trigger::after{content:'タップで詳細を見る';font-size:12px;padding:6px 11px 6px 27px;bottom:6px}#jn-lp #jn-fv-merit-slider .ryo-popup-trigger::before{bottom:12px;left:calc(50% - 76px)}}
@media(prefers-reduced-motion:reduce){#ryo-popup-v2 .ryo-popup-cta,#ryo-popup-v2 .ryo-popup-cta::after{animation:none!important}#ryo-popup-v2 .ryo-popup-close{transition:none!important}}


/* v3.1: PCの「クリックで詳細を見る」案内だけ拡大。モバイルやポップアップ本体は変更しない。 */
@media(min-width:601px){
  #jn-lp #jn-fv-merit-slider .ryo-popup-trigger::after{font-size:17px;padding:8px 17px 8px 34px;bottom:9px;border-width:2px;box-shadow:0 3px 12px #0009}
  #jn-lp #jn-fv-merit-slider .ryo-popup-trigger::before{font-size:22px;bottom:18px;left:calc(50% - 115px)}
}

/* v3.3: single attention shimmer, runs once when FV slider enters view. */
#jn-lp #jn-fv-merit-slider.ryo-cue-once .ryo-popup-trigger::after{animation:ryo-fv-cue-gleam 1.8s ease-out 1 both}
#jn-lp #jn-fv-merit-slider.ryo-cue-once .ryo-popup-trigger::before{animation:ryo-fv-cue-hand 1.8s ease-out 1 both}
@keyframes ryo-fv-cue-gleam{0%,100%{filter:brightness(1);box-shadow:0 3px 12px #0009}28%,48%{filter:brightness(1.65);box-shadow:0 0 0 3px rgba(190,255,56,.75),0 0 22px 5px rgba(190,255,56,.8)}70%{filter:brightness(1.14)}}
@keyframes ryo-fv-cue-hand{0%,100%{filter:drop-shadow(0 1px 2px #0009)}35%,55%{filter:drop-shadow(0 0 6px #ffe527) brightness(1.4)}}
@media(prefers-reduced-motion:reduce){#jn-lp #jn-fv-merit-slider .ryo-popup-trigger::after,#jn-lp #jn-fv-merit-slider .ryo-popup-trigger::before{animation:none!important}}
