body{margin:0;background:#FBF8F3}
a{color:#A9592F}a:hover{color:#7E3F1E}
*{box-sizing:border-box}
/* ==== V4: HERO ==== */
.hr-wrap{max-width:1200px;margin:0 auto;padding:56px 24px 72px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:40px;align-items:center}
.hr-text{display:flex;flex-direction:column;gap:22px;min-width:0}
.hr-cta{display:flex;flex-direction:column;gap:14px}
.hr-free{margin:0;display:flex;align-items:center;gap:12px;font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:18px;line-height:1.5;color:#2E2620;letter-spacing:0.02em}
.hr-free-rule{flex:none;width:30px;height:2px;border-radius:2px;background:#C9773F}
.hr-free-mark{padding:0 2px;background:linear-gradient(transparent 58%,#F8D7BD 58%,#F8D7BD 90%,transparent 90%)}
.hr-visual{min-width:0}
.hr-stage{position:relative;width:100%;aspect-ratio:1 / 0.95}
/* hero clips sideways only: the peach patch rises behind the (transparent) header like the .pen mock.
   Browsers without overflow:clip fall back to hidden, i.e. the patch is simply cut at the hero top. */
.hr{overflow-x:hidden;overflow-x:clip;overflow-y:visible}
/* asymmetric egg anchored off the top-right (radii fitted to the .pen mock): broad bulge low on the left, round
   bottom-left, bottom sweeping up into the right edge; runs past the right edge and up behind the header */
.hr-blob{position:absolute;left:0.7%;top:-81%;width:171%;height:187%;background:#F2D9C7;border-radius:66% 34% 74% 26% / 65% 54% 46% 35%}
.hr-dot{position:absolute;left:-8%;top:3%;width:46px;height:46px;border-radius:50%;background:#F2D9C7}
.hr-photo{position:absolute;right:-8%;top:4%;width:94%;aspect-ratio:1.18 / 1;border-radius:43% 57% 57% 43% / 58% 37% 63% 42%;overflow:hidden;box-shadow:0 34px 60px -34px rgba(74,63,54,0.55)}
.hr-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:12% 50%}
.hr-phone{position:absolute;left:8%;bottom:-3%;--ps:0.6;filter:drop-shadow(0 26px 30px rgba(74,63,54,0.28))}
.hr-phone-box{display:block;width:calc(270px * var(--ps));height:calc(570px * var(--ps))}
.hr-phone-box .ft-phone-frame{transform:scale(var(--ps));transform-origin:0 0;box-shadow:0 0 0 6px rgba(255,255,255,0.7)}
.hr-chip{position:absolute;right:0;bottom:6%;display:flex;align-items:center;gap:10px;padding:10px 18px 10px 10px;border-radius:999px;background:#FFFFFF;box-shadow:0 10px 26px rgba(74,63,54,0.16);font-size:13px;font-weight:700;line-height:1.4}
.hp-scr{position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;padding:44px 14px 14px}
.hp-top{display:flex;align-items:center;justify-content:space-between}
.hp-icons{display:flex;gap:6px}.hp-icons i{width:18px;height:18px;border-radius:50%;border:1.6px solid #CBBBAA}
.hp-card{display:flex;flex-direction:column;gap:6px;padding:10px 11px;border-radius:14px;background:#F6EBDD}
.hp-card-t{display:flex;flex-direction:column;line-height:1.35}
.hp-card-t b{font-size:12px}.hp-card-t small{font-size:9px;color:#6E625A}
.hp-bar{height:4px;border-radius:999px;background:#FFFFFF}.hp-bar i{display:block;width:48%;height:100%;border-radius:999px;background:#C9773F}
.hp-annie{flex:1;display:flex;align-items:flex-end;justify-content:center;min-height:0}
.hp-annie img{height:100%;max-height:200px;width:auto}
.hp-bub{align-self:center;text-align:center;background:#FBF8F3;border:1px solid #EFE4D7}
/* below ~1260px the column reaches close to the window edge: keep the photo's right side on screen */
@media (max-width:1259.98px){.hr-photo{right:-2%}}
@media (min-width:1024px) and (max-width:1199.98px){.hr-wrap{grid-template-columns:minmax(0,1fr) minmax(0,44%)}.hr-phone{--ps:0.48;left:2%}}
@media (min-width:768px) and (max-width:1023.98px){
.hr-wrap{grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:28px;padding:48px 24px 64px}
.hr-dot{display:none}
.hr-phone{--ps:0.42;left:0}
.hr-chip{font-size:12px}
}
@media (max-width:767.98px){
.hr-wrap{grid-template-columns:minmax(0,1fr);gap:16px;padding:12px 20px 52px}
.hr-visual{order:-1;width:100%;max-width:420px;margin:0 auto}
.hr-stage{aspect-ratio:1 / 0.74}
.hr-blob{left:13.4%;top:-10.4%;width:160%;height:114%;border-radius:38% 62% 70% 30% / 55% 40% 60% 45%}
.hr-dot{width:30px;height:30px;left:2%;top:2%}
.hr-photo{width:84%;right:-1%;top:0}
.hr-phone{--ps:0.37;left:0;bottom:-2%}
.hr-chip{bottom:2%;right:0;font-size:12px;padding:8px 14px 8px 8px}
.hr-chip img{width:28px !important;height:28px !important}
.hr-text{gap:14px}
.hr-free{font-size:17px}
}
@media (max-width:359.98px){.hr-phone{--ps:0.31}.hr-chip{font-size:11px}}

/* ==== V4: SCENES ==== */
.sc-headr{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.sc-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 16px;border-radius:999px;border:1px solid #E5D8CA;background:#FFFFFF;color:#5B5047;font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:background-color 200ms ease,border-color 200ms ease}
.sc-toggle:hover{background:#FBF8F3;border-color:#D9C3AE}
.sc-toggle:focus-visible,.sc-m-btn:focus-visible{outline:2px solid #A9592F;outline-offset:2px}
.sc-ic-play{display:none}
.sc[data-sc-paused="true"] .sc-ic-play{display:block}
.sc[data-sc-paused="true"] .sc-ic-pause{display:none}
.sc-rows{display:flex;flex-direction:column;gap:18px;margin-top:36px}
.sc-row{position:relative;overflow:hidden;padding:10px 0 16px;cursor:grab;touch-action:pan-y;-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%);mask-image:linear-gradient(90deg,transparent 0,#000 6%,#000 94%,transparent 100%)}
.sc-row[data-drag]{cursor:grabbing}
.sc-row:focus-visible{outline:2px solid #A9592F;outline-offset:-4px;border-radius:16px}
.sc-track{position:relative;display:flex;gap:24px;width:max-content;will-change:transform}
.sc-card{flex:none;width:540px;box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) 34%;gap:16px;align-items:center;padding:22px 18px 22px 26px;border-radius:28px;background:#FBF8F3;border:1px solid #F1E7DB;transition:transform 300ms cubic-bezier(.2,.8,.2,1),box-shadow 300ms ease;cursor:auto}
.sc-row .sc-card{cursor:inherit}
.sc-card:hover{transform:translateY(-4px);box-shadow:0 20px 36px -22px rgba(74,63,54,0.38)}
.sc-body{display:flex;flex-direction:column;gap:12px;min-width:0}
.sc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.sc-time{padding:4px 12px;border-radius:999px;background:#FFFFFF;font-size:12px;font-weight:700;color:#A9592F}
.sc-feat{font-size:12px;font-weight:700;color:#6E625A}
.sc-q{font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:18px;line-height:1.55;color:#2E2620;cursor:text}
.sc-a{display:flex;gap:10px;align-items:flex-start}
.sc-av{flex:none;width:30px;height:30px;border-radius:50%}
.sc-a p{margin:0;padding:10px 14px;border-radius:4px 18px 18px 18px;background:#FFFFFF;font-size:13.5px;line-height:1.7;color:#3A312A;cursor:text}
.sc-ill{min-width:0;user-select:none;-webkit-user-select:none}
.sc-ill img{display:block;width:100%;height:auto;-webkit-user-drag:none;pointer-events:none}
.sc-m{display:none}
@media (min-width:768px) and (max-width:1023.98px){.sc-card{width:460px;padding:20px 16px 20px 22px}.sc-q{font-size:17px}}
@media (max-width:767.98px){
.sc-headr{align-items:flex-start}
.sc-toggle,.sc-rows{display:none}
.sc-m{display:block;margin-top:24px}
.sc-m-track{display:flex;gap:14px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:20px;padding:4px 20px 14px;scrollbar-width:none}
.sc-m-track::-webkit-scrollbar{display:none}
.sc-m-track:focus-visible{outline:2px solid #A9592F;outline-offset:-2px}
.sc-m .sc-card{width:84%;max-width:360px;scroll-snap-align:start;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start;padding:16px 18px 20px}
.sc-m .sc-card:hover{transform:none;box-shadow:none}
.sc-m .sc-ill{order:-1;display:flex;justify-content:center;height:150px}
.sc-m .sc-ill img{width:auto;height:100%}
.sc-m .sc-q{font-size:17px}
.sc-m .sc-a p{font-size:15px}
.sc-m-nav{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:6px}
.sc-m-btn{width:44px;height:44px;border-radius:50%;border:1px solid #E5D8CA;background:#FFFFFF;color:#5B5047;display:flex;align-items:center;justify-content:center;cursor:pointer}
.sc-m-count{min-width:64px;text-align:center;font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:14px;color:#3A312A;font-variant-numeric:tabular-nums;letter-spacing:0.08em}
#scenes{padding-top:72px !important;padding-bottom:64px !important}
}
@media (prefers-reduced-motion:reduce){.sc-toggle{display:none}.sc-card{transition:none}}

/* ==== V4: TRUST logo ==== */
.tr-annie{position:absolute;left:-4%;bottom:-8%;width:44%;max-width:210px;height:auto;pointer-events:none}
.tr-logo{position:absolute;right:3%;top:2%;display:flex;padding:10px 12px 8px;border-radius:18px;background:#FFFCF7;box-shadow:0 12px 26px -14px rgba(0,0,0,0.55)}
.tr-logo img{display:block;width:78px;height:auto}
@media (max-width:767.98px){.tr-annie{left:-5%;bottom:-6%;width:42%}.tr-logo{right:1%;top:0;padding:8px 10px 6px;border-radius:14px}.tr-logo img{width:58px}}

/* ==== V4: STEPS trail ==== */
.st-map{position:relative;width:100%;aspect-ratio:1100 / 200;margin-top:6px}
.st-svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.st-path{fill:none;stroke:#DDBB9C;stroke-width:7;stroke-linecap:round;stroke-dasharray:0.5 18}
.st-mask-path{fill:none;stroke:#FFFFFF;stroke-width:46;stroke-linecap:round;stroke-dasharray:830;stroke-dashoffset:0}
.st-stop{position:absolute;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;box-sizing:border-box;background:#F6E2D2;border:3px solid #D7B193;display:flex;align-items:center;justify-content:center;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:28px;color:#8A4A26;box-shadow:0 10px 20px -14px rgba(74,63,54,0.6)}
.st-annie-pos{position:absolute;inset:0;pointer-events:none}
.st-annie{position:absolute;left:66.4%;top:91%;height:72%;width:auto;transform:translate(-50%,-100%)}
.st-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:none}
.st-item{display:flex;flex-direction:column;align-items:center;text-align:center}
.st-num{display:none}
.st-txt{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:300px}
.st-label{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#A9592F;letter-spacing:0.1em}
.st-title{margin:0;font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:20px;color:#2E2620}
.st-desc{margin:0;font-size:14px;line-height:1.8;color:#5B5047}
.st-m-end{display:none}
/* entrance: trail draws, stops pop in turn, Annie walks a few steps and settles */
.st[data-st="pending"] .st-mask-path{stroke-dashoffset:830}
.st[data-st="pending"] .st-stop,.st[data-st="pending"] .st-num{opacity:0;transform:scale(0.6)}
.st[data-st="pending"] .st-txt{opacity:0;transform:translateY(10px)}
.st[data-st="pending"] .st-annie-pos{opacity:0;transform:translate(-7%,-5%)}
.st[data-st="in"] .st-mask-path{transition:stroke-dashoffset 1.6s cubic-bezier(.45,.05,.35,1)}
.st[data-st="in"] .st-stop,.st[data-st="in"] .st-num{transition:opacity 400ms ease,transform 520ms cubic-bezier(.3,1.5,.5,1)}
.st[data-st="in"] .st-txt{transition:opacity 500ms ease,transform 600ms cubic-bezier(.2,.8,.2,1)}
.st[data-st="in"] .st-s1,.st[data-st="in"] .st-i1 .st-num{transition-delay:0.1s}
.st[data-st="in"] .st-s2,.st[data-st="in"] .st-i2 .st-num{transition-delay:0.8s}
.st[data-st="in"] .st-s3,.st[data-st="in"] .st-i3 .st-num{transition-delay:1.5s}
.st[data-st="in"] .st-i1 .st-txt{transition-delay:0.2s}
.st[data-st="in"] .st-i2 .st-txt{transition-delay:0.9s}
.st[data-st="in"] .st-i3 .st-txt{transition-delay:1.6s}
.st[data-st="in"] .st-annie-pos{transition:opacity 400ms ease 1.1s,transform 1.4s cubic-bezier(.25,.6,.3,1) 1.1s}
.st[data-st="in"] .st-annie{animation:stBob 1.4s ease-in-out 1.1s 1 both}
@keyframes stBob{0%,100%{transform:translate(-50%,-100%)}20%,60%{transform:translate(-50%,-100%) translateY(-5px)}40%,80%{transform:translate(-50%,-100%)}}
@media (min-width:768px) and (max-width:1023.98px){.st-stop{width:56px;height:56px;margin:-28px 0 0 -28px;font-size:24px}.st-title{font-size:18px}}
@media (max-width:767.98px){
.st-map{display:none}
.st-list{grid-template-columns:minmax(0,1fr);gap:22px;position:relative}
.st-list::before{content:"";position:absolute;left:24px;top:26px;bottom:20px;width:8px;margin-left:-4px;background:radial-gradient(circle,#DDBB9C 3px,transparent 3.5px) center top / 8px 18px repeat-y;transition:clip-path 1.6s cubic-bezier(.45,.05,.35,1)}
.st[data-st="pending"] .st-list::before{clip-path:inset(0 0 100% 0)}
.st[data-st="in"] .st-list::before{clip-path:inset(0 0 0 0)}
.st-item{flex-direction:row;align-items:flex-start;text-align:left;gap:16px}
.st-num{position:relative;display:flex;flex:none;width:48px;height:48px;border-radius:50%;box-sizing:border-box;background:#F6E2D2;border:3px solid #D7B193;align-items:center;justify-content:center;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:21px;color:#8A4A26}
.st-txt{align-items:flex-start;max-width:none;padding-top:4px}
.st-title{font-size:18px}
.st-desc{font-size:15px}
.st-m-end{display:flex;align-items:flex-end;position:relative;height:96px;margin-top:-14px}
.st-m-trail{position:absolute;left:20px;bottom:6px;width:120px;height:8px;background:radial-gradient(circle,#DDBB9C 3px,transparent 3.5px) left center / 18px 8px repeat-x}
.st-m-end img{position:relative;margin-left:118px;height:92px;width:auto}
.st[data-st="pending"] .st-m-end img{opacity:0;transform:translateX(-36px)}
.st[data-st="in"] .st-m-end img{transition:opacity 400ms ease 1.6s,transform 1s cubic-bezier(.25,.6,.3,1) 1.6s}
#start{padding-top:72px !important;padding-bottom:72px !important}
}
@media (prefers-reduced-motion:reduce){.st *{transition:none !important;animation:none !important}}
/* ---- ILLUSTRATIONS (キャラクター・イラスト配置検証) ---- */
.il-hero-annie{position:absolute;left:-7%;bottom:-7%;width:31%;height:auto;filter:drop-shadow(0 10px 14px rgba(74,63,54,0.14))}
/* worried owner + puppy: tucked behind the stacked cards, slide out sideways as the cards unfold (wide desktop only) */
.wz-track{z-index:1}
.il-peek{position:absolute;left:50%;top:50%;z-index:0;height:auto;pointer-events:none;opacity:0;will-change:transform,opacity;display:none}
.il-peek-owner{width:124px;margin-left:-62px;margin-top:-40px}
.il-peek-puppy{width:120px;margin-left:-60px;margin-top:-78px}
@media (min-width:1280px) and (prefers-reduced-motion:no-preference){.il-peek{display:block}}
.il-wfoot{position:relative;display:flex;align-items:flex-end;justify-content:center;gap:4px;margin-top:-6px}
.il-wannie{flex:none;width:168px;height:auto;display:block}
.il-bubble{position:relative;margin:0 0 118px;padding:16px 26px;border-radius:24px;background:#A9592F;color:#FFFFFF;font-weight:700;font-size:16px;line-height:1.7;box-shadow:0 14px 28px -16px rgba(169,89,47,0.6)}
.il-bubble::before{content:"";position:absolute;left:-9px;bottom:22px;width:20px;height:20px;border-radius:4px;background:#A9592F;transform:rotate(45deg)}
.il-annie-card{position:relative}
.il-sit{position:absolute;right:26px;top:-92px;width:96px;height:auto;pointer-events:none}
/* food bowl beside the sitting Annie, resting on the same card edge */
.il-bowl{position:absolute;right:124px;top:-30px;width:64px;height:auto;pointer-events:none}
/* sweet potato to the left of 「同じ質問でも、こんなに違う」; absolute so the row (and the question pill) do not move */
.il-cmp-label{position:relative}
.il-imo{position:absolute;right:calc(100% + 8px);top:50%;width:38px;height:auto;transform:translateY(-50%);pointer-events:none}
@media (max-width:767.98px){
.il-hero-annie{left:-4%;bottom:-8%;width:30%}
.il-wfoot{gap:0;margin-top:-10px}
.il-wannie{width:112px}
.il-bubble{margin-bottom:70px;padding:12px 16px;font-size:14px;border-radius:20px;max-width:calc(100% - 112px)}
.il-bubble::before{bottom:16px;width:16px;height:16px;left:-7px}
}
@media (max-width:359.98px){
.il-wannie{width:96px}
.il-bubble{max-width:calc(100% - 96px);font-size:13px}
}
@media (max-width:667.98px){
.il-annie-card{margin-top:66px}
.il-sit{right:18px;top:-80px;width:84px}
.il-bowl{right:104px;top:-25px;width:56px}
.il-imo{width:32px;right:calc(100% + 6px)}
}
/* 668-691px: two narrow columns put the question pill right above Annie and the bowl;
   nudge the pair right/down and trim them slightly so 「…あげてもいい？」 stays readable */
@media (min-width:668px) and (max-width:691.98px){
.il-sit{right:2px;top:-75px;width:88px}
.il-bowl{right:92px;top:-17px;width:56px}
}
/* ---- FEATURES: interactive showcase ---- */
/* mobile: 01 is open with its phone; a finger hint pulses on 02 (until the visitor first taps an item) so the
   other features are discoverable. Tapping the open item still collapses it (feat = none). */
.ft-tap{display:none}
@media (max-width:767.98px){
.ft[data-feat="none"] .ft-stage{display:none}
.ft[data-feat="none"] .ft-title{color:#2E2620}
.ft[data-feat="none"] .ft-desc{color:#3A312A}
.ft[data-feat="none"] .ft-num{color:var(--ft-accent)}
.ft[data-feat="none"] .ft-ico{background:#FFFFFF}
.ft[data-feat="none"] .ft-ico img{filter:none;opacity:1}
.ft[data-feat="none"] .ft-btn{background:rgba(255,255,255,0.7);box-shadow:0 1px 0 rgba(74,63,54,0.04),inset 0 0 0 1px #EFE6DB}
.ft[data-hint="on"] .ft-item:nth-child(2) .ft-tap{display:flex;position:absolute;right:-6px;top:40px;color:#A9592F;pointer-events:none;filter:drop-shadow(0 3px 4px rgba(74,63,54,0.18))}
.ft-tap::before{content:"";position:absolute;left:3px;top:-6px;width:16px;height:16px;border-radius:50%;background:rgba(169,89,47,0.28);transform:scale(0.4);opacity:0}
.ft[data-hint="on"] .ft-tap svg{animation:ftTap 1.6s ease-in-out infinite}
.ft[data-hint="on"] .ft-tap::before{animation:ftRipple 1.6s ease-out infinite}
}
@keyframes ftTap{0%,100%{transform:translate(0,0)}35%{transform:translate(-3px,-4px)}50%{transform:translate(-3px,-4px) scale(0.92)}65%{transform:translate(0,0)}}
@keyframes ftRipple{0%,45%{transform:scale(0.4);opacity:0}52%{opacity:1}100%{transform:scale(2.2);opacity:0}}

/* Per-feature shared tint: the selected item and the phone stage read these same variables */
.ft{--ft-tint:#F7DDC8;--ft-tint-2:#FCEDE1;--ft-accent:#A9592F;--ft-speed:450ms;--ps:0.88}
.ft[data-feat="rec"]{--ft-tint:#F3E3C1;--ft-tint-2:#FAF2DE;--ft-accent:#855B12}
.ft[data-feat="food"]{--ft-tint:#F3D9CD;--ft-tint-2:#FBEBE4;--ft-accent:#A04B33}
.ft-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,440px);gap:40px;align-items:stretch}
.ft-list{list-style:none;margin:0;padding:0 0 0 26px;display:flex;flex-direction:column;justify-content:center;gap:10px}
.ft-item{position:relative}
.ft-marker{position:absolute;left:-24px;top:38px;display:flex;color:var(--ft-accent);opacity:0;transform:translateX(-8px);transition:opacity 300ms ease,transform 400ms cubic-bezier(.2,.8,.2,1),color var(--ft-speed) ease}
.ft-item[data-active="true"] .ft-marker{opacity:1;transform:none}
.ft-item[data-active="true"] .ft-marker svg{animation:ftNudge 2.2s ease-in-out infinite}
@keyframes ftNudge{0%,100%{transform:translateX(0)}50%{transform:translateX(3px)}}
.ft-btn{position:relative;width:100%;margin:0;border:0;font:inherit;color:inherit;text-align:left;cursor:pointer;background:transparent;border-radius:28px;padding:18px 20px;display:grid;grid-template-columns:52px minmax(0,1fr) 22px;column-gap:16px;align-items:start;transition:background-color var(--ft-speed) ease,box-shadow var(--ft-speed) ease}
.ft-btn:hover{background:rgba(255,255,255,0.75)}
.ft-btn:focus-visible{outline:2px solid var(--ft-accent);outline-offset:3px}
.ft-item[data-active="true"] .ft-btn{background:var(--ft-tint);box-shadow:0 18px 36px -24px rgba(74,63,54,0.45);cursor:default}
/* the "tail" that points from the selected item into the phone stage */
.ft-btn::after{content:"";position:absolute;right:-9px;top:36px;width:20px;height:20px;border-radius:4px;background:var(--ft-tint);transform:rotate(45deg) scale(0);transition:transform 350ms cubic-bezier(.2,.8,.2,1),background-color var(--ft-speed) ease}
.ft-item[data-active="true"] .ft-btn::after{transform:rotate(45deg) scale(1)}
.ft-ico{width:52px;height:52px;border-radius:50%;background:#F1EAE1;display:flex;align-items:center;justify-content:center;transition:background-color var(--ft-speed) ease}
.ft-ico img{width:34px;height:34px;object-fit:contain;filter:grayscale(0.55);opacity:0.75;transition:filter var(--ft-speed) ease,opacity var(--ft-speed) ease}
.ft-ico img.ft-ico-round{width:44px;height:44px;border-radius:50%}
.ft-item[data-active="true"] .ft-ico{background:#FFFFFF}
.ft-item[data-active="true"] .ft-ico img{filter:none;opacity:1}
.ft-txt{display:flex;flex-direction:column;gap:4px;min-width:0}
.ft-head{display:flex;align-items:baseline;gap:10px}
.ft-num{font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:15px;color:#A2958A;transition:color var(--ft-speed) ease}
.ft-title{font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:20px;line-height:1.5;color:#5B5047;transition:color var(--ft-speed) ease}
.ft-desc{font-size:14px;line-height:1.75;color:#6E625A;transition:color var(--ft-speed) ease}
.ft-item[data-active="true"] .ft-num{color:var(--ft-accent)}
.ft-item[data-active="true"] .ft-title{color:#2E2620}
.ft-item[data-active="true"] .ft-desc{color:#3A312A}
.ft-chev{margin-top:8px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#A9592F;background:#FFFFFF;box-shadow:0 2px 6px rgba(74,63,54,0.10);transition:opacity 250ms ease,transform 250ms ease}
.ft-item[data-active="true"] .ft-chev{opacity:0;transform:translateX(-4px)}
/* supporting lines: grid-rows 0fr -> 1fr gives a smooth height animation without measuring */
.ft-more{grid-column:2 / 4;display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows var(--ft-speed) cubic-bezier(.25,.8,.25,1),opacity 200ms ease}
.ft-more-in{overflow:hidden;min-height:0}
.ft-item[data-active="true"] .ft-more{grid-template-rows:1fr;opacity:1;transition:grid-template-rows var(--ft-speed) cubic-bezier(.25,.8,.25,1),opacity 300ms ease 120ms}
.ft-pts{display:flex;flex-direction:column;gap:8px;padding-top:14px}
.ft-pt{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:700;color:#3A312A;opacity:0;transform:translateY(6px);transition:opacity 250ms ease,transform 250ms ease}
.ft-item[data-active="true"] .ft-pt{opacity:1;transform:none;transition:opacity 350ms ease 180ms,transform 450ms cubic-bezier(.2,.8,.2,1) 180ms}
.ft-item[data-active="true"] .ft-pt + .ft-pt{transition-delay:260ms}
.ft-pt-ic{flex:none;width:30px;height:30px;border-radius:50%;background:#FFFFFF;color:var(--ft-accent);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1.5px var(--ft-tint-2)}
/* phone stage */
.ft-stage{position:relative;border-radius:40px;background:var(--ft-tint);transition:background-color var(--ft-speed) ease;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;padding:26px 20px 20px;overflow:hidden}
.ft-stage::before{content:"";position:absolute;width:78%;aspect-ratio:1;border-radius:50%;background:var(--ft-tint-2);top:50%;left:50%;transform:translate(-50%,-46%);transition:background-color var(--ft-speed) ease}
.ft-stage > *{position:relative}
.ft-stage-label{display:flex;align-items:center;gap:8px;font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:14px;color:#2E2620}
.ft-stage-dot{width:8px;height:8px;border-radius:50%;background:var(--ft-accent);transition:background-color var(--ft-speed) ease;box-shadow:0 0 0 4px rgba(255,255,255,0.7)}
.ft-phone{appearance:none;border:0;padding:0;margin:0;background:none;cursor:zoom-in;border-radius:42px;transition:transform 300ms cubic-bezier(.2,.8,.2,1)}
.ft-phone:hover{transform:translateY(-4px)}
.ft-phone:focus-visible{outline:3px solid var(--ft-accent);outline-offset:6px}
.ft-phone-box{display:block;width:calc(270px * var(--ps));height:calc(570px * var(--ps))}
.ft-phone-box .ft-phone-frame{transform:scale(var(--ps));transform-origin:0 0;transition:opacity 200ms ease}
.ft[data-ft-open] .ft-phone-box .ft-phone-frame{opacity:0}
.ft-hint{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#5B5047}
.ft-phone-frame{position:relative;width:270px;height:570px;box-sizing:border-box;padding:10px;border-radius:44px;background:#2E2620;box-shadow:0 30px 50px -26px rgba(74,63,54,0.55),0 0 0 6px rgba(255,255,255,0.55)}
.ft-notch{position:absolute;z-index:3;top:18px;left:50%;width:76px;height:20px;margin-left:-38px;border-radius:999px;background:#2E2620}
.ft-screen{position:relative;width:100%;height:100%;border-radius:34px;background:#FFFDFB;overflow:hidden;font-family:'Noto Sans JP',sans-serif;color:#3A312A;line-height:1.5;text-align:left}
/* modal */
.ft-overlay{position:fixed;inset:0;z-index:1000}
.ft-overlay:not([data-open]){display:none}
.ft-backdrop{position:absolute;inset:0;background:rgba(46,38,32,0.62);opacity:0;transition:opacity 420ms ease;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.ft-overlay[data-open="true"] .ft-backdrop{opacity:1}
.ft-bigphone{position:absolute;left:0;top:0;transform-origin:0 0;will-change:transform}
.ft-close{position:absolute;top:18px;right:18px;width:48px;height:48px;border:0;border-radius:50%;background:#FFFFFF;color:#2E2620;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:0;transform:scale(0.9);transition:opacity 250ms ease,transform 250ms ease;box-shadow:0 8px 20px rgba(0,0,0,0.18)}
.ft-close:focus-visible{outline:3px solid #F7DDC8;outline-offset:3px}
.ft-ov-cap{position:absolute;left:0;right:0;bottom:14px;margin:0;text-align:center;font-size:12px;font-weight:700;color:#FFFFFF;opacity:0;transition:opacity 250ms ease}
.ft-overlay[data-open="true"] .ft-close{opacity:1;transform:none;transition-delay:220ms}
.ft-overlay[data-open="true"] .ft-ov-cap{opacity:0.9;transition-delay:260ms}
/* ---- mock app screens ---- */
.fs-scr{position:absolute;inset:0;display:flex;flex-direction:column;gap:10px;padding:44px 14px 14px;opacity:0;visibility:hidden;transform:translateY(10px) scale(0.98);transition:opacity 380ms ease,transform 480ms cubic-bezier(.2,.8,.2,1),visibility 0s linear 480ms}
.fs-scr[data-active="true"]{opacity:1;visibility:visible;transform:none;transition:opacity 380ms ease 80ms,transform 480ms cubic-bezier(.2,.8,.2,1) 80ms,visibility 0s}
.fs-sb{position:absolute;top:14px;left:26px;right:24px;display:flex;justify-content:space-between;align-items:center;font-size:10px;font-weight:700;color:#2E2620}
.fs-sb-r{display:flex;gap:4px;align-items:center}
.fs-sig{width:13px;height:8px;border-radius:2px;background:linear-gradient(90deg,#2E2620 0 22%,transparent 22% 33%,#2E2620 33% 55%,transparent 55% 66%,#2E2620 66%)}
.fs-bat{width:18px;height:9px;border-radius:3px;border:1.5px solid #2E2620;box-sizing:border-box;background:linear-gradient(90deg,#2E2620 70%,transparent 70%);background-clip:content-box;padding:1px}
.fs-hd{display:flex;align-items:center;gap:8px}
.fs-back{display:flex;color:#6E625A}
.fs-av{width:28px;height:28px;border-radius:50%}
.fs-av-s{flex:none;width:20px;height:20px;border-radius:50%}
.fs-hd-t{display:flex;flex-direction:column;line-height:1.3}
.fs-hd-t b{font-size:12px}
.fs-hd-t small{font-size:9px;color:#6E625A}
.fs-prog{height:4px;border-radius:999px;background:#F3EEE7}
.fs-prog i{display:block;width:48%;height:100%;border-radius:999px;background:#C9773F}
.fs-chat{flex:1;display:flex;flex-direction:column;gap:10px;padding-top:6px}
.fs-bub{font-size:10.5px;line-height:1.6;padding:9px 11px;border-radius:14px}
.fs-me{align-self:flex-end;max-width:82%;background:#F6EBDD;border-bottom-right-radius:4px}
.fs-reply{position:relative;min-height:84px}
.fs-row{display:flex;gap:6px;align-items:flex-start}
.fs-annie{background:#FFFFFF;border:1px solid #EFE4D7;border-top-left-radius:4px;max-width:86%}
.fs-typing{position:absolute;top:0;left:0;display:flex;gap:6px;align-items:center}
.fs-dots{display:flex;gap:3px;padding:9px 11px;border-radius:14px;border-top-left-radius:4px;background:#FFFFFF;border:1px solid #EFE4D7}
.fs-dots i{width:5px;height:5px;border-radius:50%;background:#C9B6A5}
.fs-ref{align-self:flex-start;margin-left:26px;display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700;color:var(--ft-accent);background:var(--ft-tint-2);padding:4px 8px;border-radius:8px}
.fs-input{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px 9px 14px;border-radius:999px;border:1px solid #EADFD2;font-size:10px;color:#8A7E74}
.fs-input i{display:flex;width:24px;height:24px;border-radius:50%;background:#A9592F;color:#FFFFFF;align-items:center;justify-content:center}
.fs-title{display:flex;align-items:center;justify-content:space-between}
.fs-title b{font-family:'Zen Maru Gothic',sans-serif;font-size:17px;font-weight:900;color:#2E2620}
.fs-pet{display:inline-flex;align-items:center;gap:5px;font-size:10px;font-weight:700;padding:3px 9px 3px 3px;border-radius:999px;background:#F6EBDD}
.fs-pet img{width:20px;height:20px;border-radius:50%;object-fit:cover}
.fs-seg{display:flex;gap:4px;padding:3px;border-radius:12px;background:#F3EEE7;font-size:10px;font-weight:700;color:#6E625A}
.fs-seg span{flex:1;text-align:center;padding:5px 0;border-radius:9px}
.fs-seg .on{background:#FFFFFF;color:#2E2620;box-shadow:0 1px 3px rgba(74,63,54,0.12)}
.fs-card{display:flex;gap:9px;align-items:center;padding:10px 11px;border-radius:14px;background:#FFFFFF;border:1px solid #EFE4D7;font-size:10px}
.fs-card b{display:block;font-size:11px}
.fs-card small{display:block;font-size:9px;color:#6E625A}
.fs-ok{flex:none;display:flex;width:20px;height:20px;border-radius:50%;background:#5E9E5A;color:#FFFFFF;align-items:center;justify-content:center}
.fs-card-col{flex-direction:column;align-items:stretch;gap:6px}
.fs-card-top{display:flex;justify-content:space-between;align-items:baseline}
.fs-chart{width:100%;height:auto;display:block}
.fs-grid{stroke:#EFE4D7;stroke-width:1}
.fs-line{fill:none;stroke:#C9773F;stroke-width:2.5;stroke-linecap:round;stroke-dasharray:240;stroke-dashoffset:0}
.fs-dot{fill:#FFFFFF;stroke:#C9773F;stroke-width:2}
.fs-link{align-self:flex-end;display:inline-flex;align-items:center;gap:2px;font-size:9px;font-weight:700;color:#A9592F}
.fs-cta{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:6px;padding:11px;border-radius:999px;background:#3A312A;color:#FFFFFF;font-size:11px;font-weight:700}
.fs-nut{display:flex;align-items:center;gap:12px;padding:12px;border-radius:16px;background:#FFFFFF;border:1px solid #EFE4D7}
.fs-nut b{display:block;font-size:11px}
.fs-nut small{display:block;font-size:9px;color:#6E625A}
.fs-ring{flex:none;width:52px;height:52px;transform:rotate(-90deg)}
.fs-ring-bg{fill:none;stroke:#F3EEE7;stroke-width:6}
.fs-ring-fg{fill:none;stroke:#8DBF6A;stroke-width:6;stroke-linecap:round;stroke-dasharray:113.1;stroke-dashoffset:20}
.fs-bars{display:flex;flex-direction:column;gap:8px;padding:12px;border-radius:16px;background:#FFFFFF;border:1px solid #EFE4D7}
.fs-bar{display:grid;grid-template-columns:62px 1fr;align-items:center;gap:8px;font-size:9.5px;font-weight:700;color:#5B5047}
.fs-bar i{display:block;height:7px;border-radius:999px;background:#F3EEE7;overflow:hidden}
.fs-bar b{display:block;height:100%;border-radius:999px;background:#F2C94C;transform-origin:0 50%}
.fs-recipe{display:flex;gap:10px;align-items:center;padding:10px;border-radius:16px;background:#F6EBDD}
.fs-recipe img{flex:none;width:52px;height:44px;object-fit:contain}
.fs-recipe b{display:block;font-size:11px;line-height:1.45}
.fs-recipe small{display:block;font-size:9px;color:#6E625A}
/* looping demos: only the visible screen animates, and it restarts each time it is selected */
.fs-scr[data-active="true"] .fa1{animation:ftIn1 8s ease infinite both}
.fs-scr[data-active="true"] .fa2{animation:ftIn2 8s ease infinite both}
.fs-scr[data-active="true"] .fa3{animation:ftIn3 8s ease infinite both}
.fs-scr[data-active="true"] .fa4{animation:ftIn4 8s ease infinite both}
.fs-scr[data-active="true"] .ftt{animation:ftType 8s ease infinite both}
.fs-scr[data-active="true"] .fs-dots i{animation:ftDot 0.9s ease-in-out infinite}
.fs-scr[data-active="true"] .fs-dots i:nth-child(2){animation-delay:0.15s}
.fs-scr[data-active="true"] .fs-dots i:nth-child(3){animation-delay:0.3s}
.fs-scr[data-active="true"] .fs-line{animation:ftDraw 8s ease infinite both}
.fs-scr[data-active="true"] .fs-ring-fg{animation:ftRing 8s cubic-bezier(.2,.8,.2,1) infinite both}
.fs-scr[data-active="true"] .fs-bar b{animation:ftGrow 8s cubic-bezier(.2,.8,.2,1) infinite both}
.fs-scr[data-active="true"] .fs-bar:nth-child(2) b{animation-delay:0.12s}
.fs-scr[data-active="true"] .fs-bar:nth-child(3) b{animation-delay:0.24s}
.fs-scr[data-active="true"] .fs-bar:nth-child(4) b{animation-delay:0.36s}
.fs-rec .fa1,.fs-rec .fa2,.fs-rec .fa3,.fs-rec .fa4,.fs-food .fa1,.fs-food .fa2,.fs-food .fa3{will-change:opacity,transform}
@keyframes ftIn1{0%,1%{opacity:0;transform:translateY(8px)}7%,90%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
@keyframes ftIn2{0%,36%{opacity:0;transform:translateY(8px)}42%,90%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
@keyframes ftIn3{0%,50%{opacity:0;transform:translateY(8px)}56%,90%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
@keyframes ftIn4{0%,62%{opacity:0;transform:translateY(8px)}68%,90%{opacity:1;transform:none}97%,100%{opacity:0;transform:none}}
@keyframes ftType{0%,16%{opacity:0}20%,32%{opacity:1}35%,100%{opacity:0}}
@keyframes ftDot{0%,100%{transform:translateY(0);opacity:0.5}50%{transform:translateY(-2px);opacity:1}}
@keyframes ftDraw{0%,52%{stroke-dashoffset:240}72%,92%{stroke-dashoffset:0}100%{stroke-dashoffset:0}}
@keyframes ftRing{0%,8%{stroke-dashoffset:113.1}30%,92%{stroke-dashoffset:20}100%{stroke-dashoffset:113.1}}
@keyframes ftGrow{0%,36%{transform:scaleX(0)}56%,92%{transform:scaleX(1)}100%{transform:scaleX(0)}}
/* tablet */
@media (min-width:768px) and (max-width:1023.98px){
.ft{--ps:0.8}
.ft-wrap{grid-template-columns:minmax(0,1fr) minmax(0,300px);gap:28px}
.ft-list{padding-left:22px}
.ft-btn{grid-template-columns:44px minmax(0,1fr) 22px;column-gap:12px;padding:16px}
.ft-ico{width:44px;height:44px}
.ft-ico img{width:30px;height:30px}
.ft-ico img.ft-ico-round{width:38px;height:38px}
.ft-title{font-size:18px}
.ft-desc{font-size:13px}
.ft-stage{border-radius:32px}
}
/* mobile: list first, phone below */
@media (max-width:767.98px){
.ft{--ps:0.8}
.ft-wrap{grid-template-columns:minmax(0,1fr);gap:10px}
/* mobile: the phone panel slots in directly under the selected item */
.ft-list{display:contents}
.ft-item{margin-left:16px}
.ft-item:nth-child(1){order:1}.ft-item:nth-child(2){order:3}.ft-item:nth-child(3){order:5}
.ft-stage{order:2;margin:2px 0 8px}
.ft[data-feat="rec"] .ft-stage{order:4}
.ft[data-feat="food"] .ft-stage{order:6}
.ft-stage[data-arrive]{animation:ftArrive 420ms cubic-bezier(.2,.8,.2,1)}
@keyframes ftArrive{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
.ft-marker{left:-16px;top:30px}
.ft-btn{grid-template-columns:42px minmax(0,1fr) 22px;column-gap:12px;padding:14px 14px 16px;border-radius:22px}
.ft-btn::after{right:auto;top:auto;left:40px;bottom:-9px}
.ft-ico{width:42px;height:42px}
.ft-ico img{width:28px;height:28px}
.ft-ico img.ft-ico-round{width:36px;height:36px}
.ft-title{font-size:17px}
.ft-desc{font-size:13px}
.ft-pt{font-size:13px}
.ft-stage{border-radius:32px;padding:22px 12px 18px}
.ft-close{top:12px;right:12px}
}
@media (prefers-reduced-motion:reduce){
.ft *,.ft *::before,.ft *::after{animation:none !important;transition-duration:0.01ms !important;transition-delay:0s !important}
}
/* ---- WORRIES: unfolding cards ---- */
.wz-stage{width:100%;position:relative}
.wz-track{position:relative;list-style:none;margin:0;display:flex;justify-content:center;align-items:stretch;gap:10px;padding:20px 0 40px}
.wz-slot{position:relative;flex:0 0 calc((100% - 30px) / 4);max-width:262px;display:flex;--y:0px;--r:0deg;transform:translateY(var(--y)) rotate(var(--r));will-change:transform}
.wz-card{flex:1;min-width:0;background:#FBF8F3;border:1px solid #F1E7DB;border-radius:24px;padding:26px 24px;display:flex;flex-direction:column;gap:10px;box-shadow:0 1px 2px rgba(74,63,54,0.06),0 12px 26px -10px rgba(74,63,54,0.18);transition:transform 260ms cubic-bezier(.2,.7,.3,1),box-shadow 260ms ease}
.wz-s1{--y:22px;--r:-4.5deg}.wz-s2{--y:-6px;--r:-2.5deg}.wz-s3{--y:14px;--r:3.5deg}.wz-s4{--y:-10px;--r:2.5deg}
@media (hover:hover){
.wz-slot:hover{z-index:5}
.wz-slot:hover .wz-card{transform:translateY(-8px) rotate(calc(var(--rc, var(--r)) * -0.75)) scale(1.015);box-shadow:0 2px 4px rgba(74,63,54,0.06),0 22px 40px -12px rgba(74,63,54,0.30)}
}
.wz-dots{display:none}
@media (min-width:768px) and (max-width:1023.98px){
.wz-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:22px 0 26px;max-width:700px;margin:0 auto}
.wz-slot{max-width:none}
.wz-s1{--y:8px;--r:-3deg}.wz-s2{--y:-4px;--r:-2deg}.wz-s3{--y:6px;--r:2.5deg}.wz-s4{--y:-6px;--r:2deg}
}
@media (max-width:767.98px){
.wz-stage{width:calc(100% + 48px);margin:0 -24px}
.wz-track{justify-content:flex-start;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:24px;padding:18px 24px 24px;gap:14px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.wz-track::-webkit-scrollbar{display:none}
.wz-track[data-wz-state="idle"],.wz-track[data-wz-state="playing"]{overflow-x:hidden}
.wz-slot{flex:0 0 78%;max-width:340px;scroll-snap-align:start}
.wz-card{padding:22px 20px}
.wz-s1{--y:0px;--r:-1.2deg}.wz-s2{--y:0px;--r:1deg}.wz-s3{--y:0px;--r:-0.8deg}.wz-s4{--y:0px;--r:1.4deg}
.wz-dots{display:flex;justify-content:center;align-items:center;margin-top:-6px}
.wz-dot{width:36px;height:44px;padding:0;border:0;background:transparent;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:12px}
.wz-dot::before{content:"";display:block;width:8px;height:8px;border-radius:999px;background:#E3D3C2;transition:width 250ms ease,background-color 250ms ease}
.wz-dot[data-active="true"]::before{width:22px;background:#A9592F}
.wz-dot:focus-visible{outline:2px solid #A9592F;outline-offset:-4px}
.wz-count{margin-left:6px;font-size:12px;font-weight:700;color:#6E625A;font-variant-numeric:tabular-nums}
}
@media (prefers-reduced-motion:reduce){
.wz-slot{will-change:auto}
.wz-card,.wz-dot::before{transition:none}
.wz-slot:hover .wz-card{transform:none}
}

/* ==== V5: PERSONAL dashboard (6 categories) ==== */
/* Layout follows the width the card actually gets (container queries), not the viewport.
   Default = compact list (mobile-first; also what browsers without container queries get):
     each category is one button row [icon | title | bar | chevron]; tapping it reveals the description.
     Titles share one fixed-width column, so every bar starts at the same x.
   pdcol < 400px : phone-sized column → slimmer frame and card padding (more room for text).
   pdcol < 260px : very narrow (e.g. a phone at 200% zoom) → minimal padding, the
                   「6つのカテゴリで見える化」 label moves into the flow above the card, phrase-aware line breaks.
   pd < 200px    : the bar drops under the title (no room for one line).
   pdsec >= 868px: dashboard and 1-2-3 cards sit side by side → the original desktop row
                   [icon | name + description | bar], descriptions always shown; the row button is disabled and
                   flattened (display:contents). Whenever the steps stack below (timeline), the compact list is used.
                   js/app.js mirrors the threshold. */
.pd-col{container:pdcol/inline-size}
.pd-frame{padding:28px;border-radius:40px}
.pd-card{container:pd/inline-size;padding:22px;border-radius:28px;display:flex;flex-direction:column;gap:10px}
.pd-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px}
.pd-head>img{flex:none}
.pd-name{flex:1 1 auto;min-width:0}
.pd-pct{flex:none;white-space:nowrap}
.pd-scale{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px}
.pd-scale>span{min-width:0}
.pd-list{display:flex;flex-direction:column}
.pd-row{border-top:1px solid #F0E6DA;line-height:1.4;transition:background-color 200ms ease}
.pd-row-btn{display:grid;grid-template-columns:30px var(--pd-cat-w,6.4em) minmax(0,1fr) 14px;align-items:center;column-gap:10px;width:100%;min-height:44px;margin:0;padding:6px 4px 6px 2px;border:0;border-radius:12px;background:transparent;font:inherit;color:inherit;text-align:left;letter-spacing:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.pd-row-btn:disabled{color:inherit;cursor:default}
/* English category names run longer (longest: “Food & nutrition”, “Health & medical”) */
.pd-card:lang(en){--pd-cat-w:8.4em}
.pd-row-btn:focus-visible{outline:2px solid #A9592F;outline-offset:-2px}
.pd-ico{width:30px;height:26px;object-fit:contain}
.pd-cat{min-width:0;font-weight:700;font-size:13px;white-space:nowrap}
.pd-bar{display:block;min-width:0;height:7px;border-radius:999px;background:#F3EEE7}
.pd-fill{display:block}
.pd-chev{color:#B98A6A;transition:transform 220ms ease}
.pd-desc{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows 220ms ease,visibility 0s linear 220ms}
.pd-desc-in{min-height:0;overflow:hidden}
.pd-sub{margin:0;padding:0 10px 10px 42px;font-size:12px;line-height:1.6;color:#6E625A}
.pd-row[data-open="true"] .pd-desc{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows 220ms ease,visibility 0s}
.pd-row[data-open="true"] .pd-chev{transform:rotate(180deg)}
@media (hover:hover){.pd-row-btn:not(:disabled):hover{background:#FBF5EE}}
.pd-row:has(> .pd-row-btn[aria-expanded="true"]){background:#FBF1E6;border-radius:12px;border-top-color:transparent}
.pd-row:has(> .pd-row-btn[aria-expanded="true"]) + .pd-row{border-top-color:transparent}
.pd-badge{position:absolute;right:-14px;top:-14px;padding:8px 14px;border-radius:999px}
@container pdcol (max-width:399.98px){
.pd-frame{padding:18px 14px;border-radius:32px}
.pd-card{padding:16px 14px;border-radius:24px}
.pd-badge{right:12px}
}
@container pdcol (max-width:259.98px){
.pd-frame{padding:16px 8px;border-radius:24px}
.pd-card{padding:14px 12px;border-radius:18px}
.pd-frame{display:flex;flex-direction:column}
.pd-badge{order:-1;position:static;align-self:center;max-width:100%;margin:-4px 0 10px;text-align:center}
.pd-card,.pd-badge{word-break:auto-phrase}
}
@container pd (max-width:199.98px){
.pd-row-btn{grid-template-columns:28px minmax(0,1fr) 14px;grid-template-areas:"ico cat chev" "bar bar bar";row-gap:6px;padding:8px 4px}
.pd-ico{grid-area:ico;width:28px;height:24px}
.pd-cat{grid-area:cat;white-space:normal}
.pd-bar{grid-area:bar}
.pd-chev{grid-area:chev}
.pd-sub{padding-left:8px}
}
/* side-by-side layout: unchanged original row, descriptions always visible */
@container pdsec (min-width:868px){
.pd-card{gap:14px}
.pd-list{gap:14px}
.pd-row{display:grid;grid-template-columns:40px minmax(0,1fr) minmax(56px,90px);grid-template-areas:"ico cat bar" "ico sub bar";align-items:center;column-gap:12px;padding:8px 0}
.pd-row-btn{display:contents}
.pd-ico{grid-area:ico;width:40px;height:34px}
.pd-cat{grid-area:cat;align-self:end;font-size:14px;white-space:normal}
.pd-bar{grid-area:bar;height:8px}
.pd-chev{display:none}
.pd-desc{grid-area:sub;align-self:start;display:block;visibility:visible;transition:none}
.pd-desc-in{overflow:visible}
.pd-sub{padding:0;font-size:11px;line-height:1.4}
}
@media (prefers-reduced-motion:reduce){
.pd-row,.pd-chev,.pd-desc,.pd-row[data-open="true"] .pd-desc{transition:none}
}

/* ==== PERSONALIZED: section spacing + 1-2-3 explanation ==== */
/* Desktop: two columns (dashboard | three white cards), as before. When the two columns stack
   (split row narrower than 868px, i.e. 380 + 440 + 48), the cards become a compact connected timeline
   centred under the dashboard, so both read as one story. */
.pd-sec{padding:96px 24px}
.pd-wrap{container:pdsec/inline-size;max-width:1200px;margin:0 auto;display:flex;flex-direction:column;gap:64px}
.pd-split{display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.pd-steps{flex:1 1 440px;min-width:0;display:flex;flex-direction:column;gap:18px;margin:0;padding:0;list-style:none}
.pd-step{display:flex;gap:16px;align-items:flex-start;border-radius:24px;padding:22px}
.pd-step-num{flex:none;width:44px;height:44px;border-radius:50%;background:#A9592F;color:#FFFFFF;display:flex;align-items:center;justify-content:center;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:18px}
.pd-step-title{margin:0;font-family:'Zen Maru Gothic',sans-serif;font-weight:700;font-size:19px;line-height:1.8}
.pd-step-text{margin:4px 0 0;font-size:14px;color:#5B5047}
@container pdsec (max-width:867.98px){
.pd-split{row-gap:32px}
.pd-steps{flex-basis:100%;width:100%;max-width:440px;margin:0 auto;gap:0}
.pd-steps .pd-step,.pd-steps .pd-step:hover{position:relative;gap:14px;padding:0 0 20px;border-radius:0;background:none;box-shadow:none;transform:none;transition:none}
.pd-steps .pd-step:last-child{padding-bottom:0}
.pd-step-num{position:relative;z-index:1;width:32px;height:32px;font-size:15px}
.pd-step:not(:last-child)::before{content:"";position:absolute;left:15px;top:36px;bottom:4px;width:2px;border-radius:2px;background:#E9D2BF}
.pd-step-title{font-size:16px;line-height:1.5;padding-top:4px}
.pd-step-text{margin-top:2px;font-size:13px;line-height:1.75}
}
@media (max-width:767.98px){
.pd-sec{padding:64px 20px 72px}
.pd-wrap{gap:36px}
}

/* ==== V6: hover feedback (PERSONAL steps, FAQ) ==== */
/* PERSONAL 1-2-3 cards are informational: lift + tint only, no pointer cursor. Resting look is unchanged. */
.pd-step{background:#FFFFFF;box-shadow:0 0 0 1px rgba(240,220,203,0),0 14px 28px -14px rgba(74,63,54,0)}
@media (hover:hover) and (pointer:fine){
.pd-step{transition:transform 220ms cubic-bezier(.2,.7,.3,1),box-shadow 220ms ease,background-color 220ms ease}
.pd-step:hover{transform:translateY(-4px);background:#FFFCF8;box-shadow:0 0 0 1px #F0DCCB,0 14px 28px -14px rgba(74,63,54,0.28)}
}
/* FAQ: the question button is the interactive part, so the card reacts to hovering the button. */
.faq-item{border-radius:22px;background:#FFFFFF;border:1px solid #EADFD2;transition:background-color 200ms ease,border-color 200ms ease,box-shadow 200ms ease}
.faq-item[data-open="true"]{border-color:#E3B894}
.faq-sign{color:#A9592F;transition:color 200ms ease}
@media (hover:hover){
.faq-item:has(> button:hover){background:#FFF8F1;border-color:#DDBB9C;box-shadow:0 6px 16px -12px rgba(74,63,54,0.35)}
.faq-item[data-open="true"]:has(> button:hover){border-color:#D49A6E}
.faq-item > button:hover .faq-sign{color:#7E3F1E}
}
.faq-item > button:focus-visible{outline:2px solid #A9592F;outline-offset:-3px;border-radius:21px}
.faq-item:has(> button:focus-visible){border-color:#D49A6E}
@media (prefers-reduced-motion:reduce){
.pd-step,.faq-item,.faq-sign{transition:none}
.pd-step:hover{transform:none}
}

/* ==== V6: WORRIES peeking illustrations below 1280px (tablet / mobile / narrow desktop) ==== */
/* Desktop (>=1280px) keeps the JS slide-out. Below 1280px the pair sits still in the top corners of the
   card area: heads rise into the existing gap under the heading, bodies stay behind the cards (z-index 0
   under .wz-track) and fade out via a mask, so nothing shows below the card edge even mid-swipe.
   No extra height: the figures only use space that already exists. */
@media (max-width:1279.98px){
.il-peek{display:block;opacity:1;margin:0;top:auto;transform-origin:50% 75%}
}
/* narrow desktop (1024-1279): 4-card row spans the stage, so the pair rises from the top corners above the
   outer cards (left card sits lower, right card higher); the heading is centred, so the corners are free */
@media (min-width:1024px) and (max-width:1279.98px){
.il-peek-owner{width:132px;left:8px;top:-40px;transform:rotate(-10deg)}
.il-peek-puppy{width:120px;left:auto;right:8px;top:-105px;transform:rotate(4deg)}
}
/* tablet: 2x2 grid, 700px wide; the heading is narrower than the grid, so the corners have room to rise */
@media (min-width:768px) and (max-width:1023.98px){
.il-peek-owner{width:126px;left:calc(50% - 350px + 2px);top:-52px;transform:rotate(-10deg)}
.il-peek-puppy{width:116px;left:auto;right:calc(50% - 350px + 4px);top:-97px;transform:rotate(4deg)}
}
/* mobile carousel: the heading spans almost the full width, so the figures stay in the ~60px band
   between its last line and the cards; sized so the faces fit that band */
@media (max-width:767.98px){
.il-peek-owner{width:86px;left:16px;top:-30px;transform:rotate(-10deg)}
.il-peek-puppy{width:66px;left:auto;right:8px;top:-42px;transform:rotate(4deg)}
}
/* 320px: the heading wraps with a short second line, so the corners are free a little higher */
@media (max-width:359.98px){
.il-peek-owner{width:76px;left:12px;top:-40px}
.il-peek-puppy{width:64px;right:8px;top:-50px}
}

/* ==== V7: HEADER ==== */
/* Transparent over the hero (same cream as the hero, so it reads as part of it); a warm-white bar with a
   hairline appears once the page scrolls. Desktop >= 64em: logo | links | language | CTA on one line
   (needs ~960px in Japanese, ~975px in English, so 1024px plus slightly tighter spacing up to 75em leaves headroom;
   em-based so it also follows the browser's font-size setting; js/app.js mirrors it).
   Below 64em: logo | アプリ | menu button, 64px tall, links + language switch in a dropdown panel. */
.hd{position:sticky;top:0;z-index:20;background:rgba(251,248,243,0);box-shadow:0 1px 0 rgba(239,230,219,0);transition:background-color 220ms ease,box-shadow 220ms ease}
section[id]{scroll-margin-top:78px}
.hd[data-solid="true"]{background:rgba(251,248,243,0.94);box-shadow:0 1px 0 #EFE6DB;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.hd-in{position:relative;max-width:1200px;margin:0 auto;padding:16px 24px;display:flex;flex-wrap:nowrap;align-items:center;gap:20px}
.hd-logo{flex:none;display:block;line-height:0;border-radius:8px}
.hd-logo img{display:block;height:38px;width:auto}
.hd-nav{margin-left:auto;display:flex;align-items:center;gap:30px;white-space:nowrap;font-size:14px;font-weight:500}
.hd-nav a{position:relative;padding:6px 0;color:#3A312A;text-decoration:none;transition:color 200ms ease}
.hd-nav a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:#E3B894;transform:scaleX(0);transform-origin:left;transition:transform 220ms ease}
.hd-nav a:hover{color:#A9592F}
.hd-nav a:hover::after{transform:scaleX(1)}
.hd-cta,.hd-cta-s{flex:none;display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:#A9592F;color:#FFFFFF;text-decoration:none;font-weight:700;white-space:nowrap;transition:background-color 200ms ease,transform 200ms ease,box-shadow 200ms ease}
.hd-cta{min-height:44px;padding:0 22px;font-size:14px;margin-left:6px}
.hd-cta:hover,.hd-cta-s:hover{background:#934B26;color:#FFFFFF;transform:translateY(-1px);box-shadow:0 8px 16px -10px rgba(169,89,47,0.7)}
.hd a:focus-visible,.hd-burger:focus-visible{outline:2px solid #A9592F;outline-offset:3px;border-radius:8px}
.hd-cta:focus-visible,.hd-cta-s:focus-visible,.hd-burger:focus-visible{border-radius:999px}
.hd-cta-s,.hd-burger,.hd-menu{display:none}
.hd-burger{flex:none;width:44px;height:44px;padding:0;align-items:center;justify-content:center;border-radius:50%;border:1px solid #E6D9CB;background:#FFFFFF;color:#3A312A;cursor:pointer;transition:background-color 200ms ease,border-color 200ms ease}
.hd-burger:hover{background:#FBF1E8;border-color:#DDBB9C}
.hd-burger-i{position:relative;display:block;width:18px;height:14px}
.hd-burger-i i{position:absolute;left:0;width:18px;height:2px;border-radius:2px;background:currentColor;transition:transform 220ms ease,opacity 160ms ease,top 220ms ease}
.hd-burger-i i:nth-child(1){top:0}.hd-burger-i i:nth-child(2){top:6px}.hd-burger-i i:nth-child(3){top:12px}
.hd-burger[aria-expanded="true"] .hd-burger-i i:nth-child(1){top:6px;transform:rotate(45deg)}
.hd-burger[aria-expanded="true"] .hd-burger-i i:nth-child(2){opacity:0}
.hd-burger[aria-expanded="true"] .hd-burger-i i:nth-child(3){top:6px;transform:rotate(-45deg)}
@media (max-width:63.99em){
.hd-in{padding:10px 16px;gap:8px}
.hd-logo{margin-right:auto}
.hd-logo img{height:30px}
.hd-nav,.hd-cta{display:none}
.hd-cta-s{display:inline-flex;min-height:40px;padding:0 14px 0 12px;gap:6px;font-size:13px}
.hd-cta-s svg{width:14px;height:14px}
.hd-burger{display:inline-flex}
.hd-menu{display:block;position:absolute;top:calc(100% - 2px);right:12px;width:min(280px,calc(100vw - 24px));padding:8px;border-radius:20px;background:#FFFCF8;border:1px solid #EFE4D7;box-shadow:0 18px 40px -18px rgba(74,63,54,0.38);opacity:0;visibility:hidden;transform:translateY(-6px);transition:opacity 220ms ease,transform 220ms ease,visibility 0s linear 220ms}
.hd-menu[data-open="true"]{opacity:1;visibility:visible;transform:none;transition:opacity 220ms ease,transform 220ms ease,visibility 0s}
.hd-menu nav{display:flex;flex-direction:column}
.hd-menu a{display:flex;align-items:center;min-height:48px;padding:0 16px;border-radius:12px;color:#3A312A;text-decoration:none;font-size:15px;font-weight:700;transition:background-color 180ms ease,color 180ms ease}
.hd-menu a + a{margin-top:2px}
.hd-menu a:hover{background:#FBEFE4;color:#A9592F}
.hd-menu a:focus-visible{outline-offset:-2px;border-radius:12px}
}
@media (max-width:359.98px){
.hd-in{padding:10px 12px;gap:6px}
.hd-logo img{height:27px}
.hd-cta-s{padding:0 12px 0 10px}
}
@media (prefers-reduced-motion:reduce){
.hd,.hd-nav a,.hd-nav a::after,.hd-cta,.hd-cta-s,.hd-burger,.hd-burger-i i,.hd-menu,.hd-menu[data-open="true"],.hd-menu a{transition:none}
.hd-cta:hover,.hd-cta-s:hover{transform:none}
.hd-menu{transform:none}
}

/* ==== V8: FINAL CTA (closing card) + FOOTER ==== */
/* The closing CTA is one warm card that overlaps the top of the dark footer (negative margin on the card,
   matching extra top padding on the footer). Desktop/tablet: waving Annie | message + stores | understanding card.
   Mobile: one compact column, Annie peeks over the card's top-right corner, the understanding card is dropped. */
/* ==== 中間CTA(#personal直下)。SPレイアウトはモバイルmediaブロック参照 ==== */
.mcta-sec{padding:0 24px 24px;background:#FBF8F3}
.mcta{max-width:1100px;margin:0 auto;border-radius:36px;background:#A9592F;padding:32px 40px;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:28px}
.mcta-icon{width:92px;height:92px;border-radius:22px}
.mcta-body{display:flex;flex-direction:column;gap:12px}
.mcta-text{font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:22px;color:#FFFFFF}
.mcta-stores{display:flex;flex-wrap:wrap;gap:10px}
.fc{--fc-overlap:64px;position:relative;z-index:1;background:linear-gradient(#FBF8F3,#FBF8F3) top / 100% calc(100% - var(--fc-overlap)) no-repeat;padding:72px 24px 0}
.fc-card{position:relative;max-width:1100px;margin:0 auto calc(-1 * var(--fc-overlap));display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr) minmax(0,200px);align-items:center;gap:32px;padding:40px 48px;border-radius:36px;background:#F1D0B9;box-shadow:0 30px 60px -32px rgba(46,42,39,0.55)}
/* group of people + animals: left column, its cropped bottom edge sits on the card's bottom edge */
.fc-group{grid-column:1;grid-row:1;align-self:end;justify-self:start;width:calc(100% + 40px);max-width:none;height:auto;margin:0 0 -40px -32px;pointer-events:none}
/* small Annie standing at the card's bottom edge, in front of the understanding card's lower-left corner */
.fc-annie{position:absolute;z-index:1;bottom:0;right:calc(48px + 200px - 18px);width:78px;height:auto;pointer-events:none}
.fc-body{grid-column:2;grid-row:1}
.fc-stats{grid-column:3;grid-row:1}
.fc-body{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;text-align:center}
.fc-icon{width:68px;height:68px;border-radius:18px;box-shadow:0 10px 20px -10px rgba(169,89,47,0.55)}
.fc-title{margin:2px 0 0;font-family:'Zen Maru Gothic',sans-serif;font-weight:900;font-size:clamp(22px,2.5vw,32px);line-height:1.45;color:#2E2620}
.fc-lead{margin:0;font-size:15px;font-weight:700;color:#5B3A26}
.fc-title,.fc-lead,.fo-line{word-break:auto-phrase}
.fc-stores{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:4px}
.fc-note{margin:0;padding:4px 14px;border-radius:999px;background:rgba(255,255,255,0.62);font-size:12px;font-weight:700;color:#7A4A2C}
.fc-stats{justify-self:center;width:100%;max-width:196px;padding:12px;border-radius:22px;background:#FFFFFF;transform:rotate(4deg);box-shadow:0 14px 30px rgba(74,63,54,0.18);display:flex;flex-direction:column;gap:8px}

.fo{background:#2E2A27;color:#E8E0D7;padding:112px 24px 32px}
.fo-in{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) auto auto;grid-template-areas:"brand brand stores" "nav ig copy" "tm tm tm";align-items:center}
.fo-brand{grid-area:brand;padding-bottom:28px;min-width:0}
.fo-logo{display:inline-block;line-height:0;border-radius:6px}
.fo-logo img{display:block;height:34px;width:auto}
.fo-line{margin:6px 0 0;font-size:13px;color:#CFC5BA}
.fo-stores{grid-area:stores;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-bottom:28px}
.fo-nav,.fo-ig,.fo-copy{border-top:1px solid #4A4440;padding-top:20px;align-self:stretch;display:flex;align-items:center}
.fo-nav{grid-area:nav;flex-wrap:wrap;gap:8px 24px;font-size:13px}
.fo-nav a{color:#E8E0D7;text-decoration:none;transition:color 200ms ease}
.fo-nav a:hover{color:#F0A24B}
.fo-ig{grid-area:ig;gap:8px;padding-left:24px;color:#E8E0D7;text-decoration:none;font-size:13px;white-space:nowrap;transition:color 200ms ease}
.fo-ig svg{flex:none;box-sizing:content-box;padding:6px;border:1px solid #6B635C;border-radius:50%;transition:border-color 200ms ease}
.fo-ig:hover{color:#F0A24B}
.fo-ig:hover svg{border-color:#F0A24B}
.fo-copy{grid-area:copy;margin:0;padding-left:24px;font-size:13px;color:#BDB3A9;white-space:nowrap;justify-content:flex-end}
.fo-tm{grid-area:tm;margin-top:24px;font-size:11px;line-height:1.7;color:#A79D93}
.fo-tm p{margin:0}
.fo a:focus-visible{outline:2px solid #F0A24B;outline-offset:3px;border-radius:6px}
.fo-ig:focus-visible{border-radius:999px}

/* 1024-1279: narrower middle column brings the badges closer to Annie; give the middle more room */
@media (min-width:1024px) and (max-width:1279.98px){
.fc-card{grid-template-columns:minmax(0,240px) minmax(0,1fr) minmax(0,200px)}
.fc-annie{right:calc(48px + 200px - 34px)}
}
/* tablet: same three-part card, smaller visuals; footer links get their own row */
@media (max-width:1023.98px){
.fc-card{grid-template-columns:minmax(0,150px) minmax(0,1fr) minmax(0,168px);gap:20px;padding:36px 28px}
/* stats card sits at the top so the small Annie below it never covers its rows */
.fc-stats{align-self:start;margin-top:6px}
.fc-group{width:calc(100% + 36px);margin:0 0 -36px -24px}
.fc-annie{right:calc(28px + 168px - 30px);width:62px}
.fc-stores a{min-height:42px !important}
.fc-stores img{height:42px !important}
.fo-in{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"brand stores" "nav nav" "ig copy" "tm tm"}
.fo-ig{border-top:0;padding-left:0;padding-top:16px}
.fo-copy{border-top:0;padding-top:16px}
}
/* mobile: compact single column */
@media (max-width:767.98px){
/* 中間CTA: 1行目=アイコン+テキスト、2行目=バッジ横並び */
.mcta-sec{padding:0 16px 24px}
.mcta{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;justify-items:start;column-gap:14px;row-gap:14px;padding:24px 20px;border-radius:28px}
.mcta-body{display:contents}
.mcta-icon{width:64px;height:64px;border-radius:16px}
.mcta-text{font-size:18px}
.mcta-stores{grid-column:1 / -1}
.mcta-stores a{min-height:40px !important}
.mcta-stores img{height:40px !important}
.fc{--fc-overlap:40px;padding:76px 16px 0}
.fc-card{grid-template-columns:minmax(0,1fr);gap:0;padding:30px 20px 24px;border-radius:28px}
/* the group stands behind the card on its top edge, rising into the gap above; Annie stands in front of its right side */
.fc-group{position:absolute;z-index:-1;grid-column:auto;grid-row:auto;bottom:calc(100% - 24px);left:50%;right:auto;width:205px;max-width:none;margin:0;transform:translateX(-50%)}
.fc-annie{top:-62px;bottom:auto;right:12px;width:80px}
.fc-body{grid-column:1}
.fc-stats{display:none}
.fc-body{gap:10px}
.fc-icon{width:56px;height:56px;border-radius:15px}
.fc-title{font-size:22px}
.fc-lead{font-size:14px}
.fc-stores{gap:8px}
.fc-stores a{min-height:40px !important}
.fc-stores img,.fo-stores img{height:40px !important}
.fo{padding:80px 24px 28px}
.fo-in{grid-template-columns:minmax(0,1fr);grid-template-areas:"brand" "stores" "nav" "ig" "copy" "tm"}
.fo-brand{padding-bottom:18px}
.fo-stores{justify-content:flex-start;padding-bottom:24px}
.fo-stores a{min-height:40px !important}
.fo-nav{gap:10px 20px}
.fo-ig{padding-top:18px}
.fo-copy{justify-content:flex-start;padding-left:0;padding-top:10px}
.fo-tm{margin-top:18px}
}
@media (max-width:359.98px){
.fc-card{padding:30px 16px 22px}
.fc-annie{width:70px;top:-54px;right:8px}
.fc-group{width:196px}
.fc-title{font-size:19px}
.fc-lead{font-size:13px}
/* バッジ2枚が横並びのまま収まるよう縮小(40pxだと計254pxで320px幅に入らない) */
.mcta-stores a{min-height:36px !important}
.mcta-stores img{height:36px !important}
}
@media (prefers-reduced-motion:reduce){
.fo-nav a,.fo-ig,.fo-ig svg{transition:none}
}

/* ==== V9: LANGUAGE selector (header dropdown on desktop, segmented control in the mobile menu) ==== */
.hd-lang{position:relative;flex:none;margin-left:6px}
.hd-lang-btn{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 12px;border:1px solid transparent;border-radius:999px;background:transparent;color:#3A312A;font:inherit;font-size:13px;font-weight:700;line-height:1;white-space:nowrap;cursor:pointer;transition:background-color 200ms ease,border-color 200ms ease}
.hd-lang-btn:hover,.hd-lang[data-open="true"] .hd-lang-btn{background:rgba(255,255,255,0.75);border-color:#E6D9CB}
.hd-lang-btn:focus-visible{outline:2px solid #A9592F;outline-offset:2px}
.hd-lang-globe{flex:none;color:#A9592F}
.hd-lang-chev{flex:none;color:#B98A6A;transition:transform 200ms ease}
.hd-lang[data-open="true"] .hd-lang-chev{transform:rotate(180deg)}
.hd-lang-menu{position:absolute;right:0;top:calc(100% + 6px);z-index:2;min-width:168px;margin:0;padding:6px;list-style:none;border-radius:16px;background:#FFFCF8;border:1px solid #EFE4D7;box-shadow:0 18px 36px -18px rgba(74,63,54,0.4);opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity 200ms ease,transform 200ms ease,visibility 0s linear 200ms}
.hd-lang[data-open="true"] .hd-lang-menu{opacity:1;visibility:visible;transform:none;transition:opacity 200ms ease,transform 200ms ease,visibility 0s}
.hd-lang-menu a{display:flex;align-items:center;gap:8px;min-height:40px;padding:0 12px;border-radius:10px;color:#3A312A;text-decoration:none;font-size:14px;font-weight:700;transition:background-color 160ms ease,color 160ms ease}
.hd-lang-menu a:hover{background:#FBEFE4;color:#A9592F}
.hd-lang-menu a:focus-visible{outline-offset:-2px;border-radius:10px}
.hd-lang-chk{flex:none;color:#A9592F;visibility:hidden}
.hd-lang-menu a[aria-current="true"]{color:#A9592F}
.hd-lang-menu a[aria-current="true"] .hd-lang-chk{visibility:visible}
.hd-menu-lang{margin:6px 4px 2px;padding:12px 8px 6px;border-top:1px solid #EFE4D7}
.hd-menu-lang-t{display:flex;align-items:center;gap:6px;margin:0 0 8px 4px;font-size:12px;font-weight:700;color:#6E625A}
.hd-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border-radius:999px;background:#F3EAE0}
.hd-menu .hd-seg a{justify-content:center;min-height:44px;padding:0 10px;border-radius:999px;font-size:14px;color:#5B5047}
.hd-menu .hd-seg a + a{margin-top:0}
.hd-menu .hd-seg a:hover{background:rgba(255,255,255,0.6);color:#A9592F}
.hd-menu .hd-seg a[aria-current="true"]{background:#FFFFFF;color:#A9592F;box-shadow:0 2px 6px -2px rgba(74,63,54,0.25)}
.hd-menu .hd-seg a:focus-visible{outline-offset:-2px;border-radius:999px}
@media (max-width:63.99em){.hd-lang{display:none}}
@media (prefers-reduced-motion:reduce){
.hd-lang-btn,.hd-lang-chev,.hd-lang-menu,.hd-lang[data-open="true"] .hd-lang-menu,.hd-lang-menu a{transition:none}
.hd-lang-menu{transform:none}
}
/* 64em-75em: a little less spacing so the row (with the language switch) keeps headroom */
@media (min-width:64em) and (max-width:74.99em){.hd-in{gap:14px}.hd-nav{gap:22px}.hd-lang{margin-left:0}}

/* ==== V10: FEATURE phone — inner screens modelled on the real AnyMall app ==== */
/* The phone shell (.ft-phone-frame, notch, status bar) is unchanged; only what is inside .fs-scr changed.
   Markup is generated into both phones (inline + enlarged); copy lives in js/locales/*.js → appUi.
   Photos under images/app-ui/ are temporary crops of the app screenshots — replace them with the originals
   under the same file names. Timelines (seconds) are documented next to the @keyframes below. */
.fs-scr.ap{display:block;padding:0;gap:0}
.fs-scr.ap .fs-sb{z-index:6}
.ap-loop{position:absolute;inset:0}
.ap-pg{position:absolute;inset:0;display:flex;flex-direction:column;padding:36px 12px 10px;background:#FFFDFB;overflow:hidden}
.ap-circ{flex:none;display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;border:1px solid #E9D9C8;background:#FFFDFB;color:#C9773F}
.ap-tap{position:absolute;left:50%;top:50%;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;background:rgba(169,89,47,0.4);opacity:0;pointer-events:none}
/* chat */
.ap-hd{display:flex;align-items:center;gap:8px}
.ap-prog{flex:1;height:3px;margin-right:10px;border-radius:999px;background:#F4EEE8}
.ap-prog i{display:block;width:16px;height:5px;margin-top:-1px;border-radius:999px;background:#E08A50}
.ap-pill{display:inline-flex;align-items:center;gap:9px;height:24px;padding:0 9px;border-radius:999px;border:1px solid #E9D9C8;color:#C9773F}
.ap-msgs{flex:1;min-height:0;padding-top:14px;overflow:hidden}
/* scroll offsets for the continued conversation (tuned so the newest message sits in view) */
.ap-mscroll{display:flex;flex-direction:column;gap:10px;--ap1-s1:-150px;--ap1-s2:-262px}
.ap-me{display:flex;flex-direction:column;align-items:flex-end;gap:5px}
.ap-petav{flex:none;width:18px;height:18px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 1px #EFE4D7}
.ap-bub{margin:0;max-width:84%;padding:8px 11px;border-radius:14px;background:#F5ECE2;font-size:10px;line-height:1.6;color:#3A312A}
.ap-annie{display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.ap-annie-av{width:15px;height:auto}
.ap-annie-body{position:relative;align-self:stretch;min-height:34px}
.ap-think{position:absolute;left:0;right:0;top:0;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:8px;row-gap:1px;align-items:center}
.ap-think b{font-size:11px;font-weight:500;color:#3A312A}
.ap-think small{grid-column:1/-1;font-size:8px;color:#7A6E64;white-space:nowrap;overflow:hidden}
.ap-cut small{-webkit-mask-image:linear-gradient(90deg,#000 72%,transparent);mask-image:linear-gradient(90deg,#000 72%,transparent)}
.ap-paws{display:flex;gap:1px;color:#D9B89E}
.ap-paws svg{width:9px;height:9px}
.ap-say{margin:0;font-size:10px;line-height:1.7;color:#3A312A}
.ap-say b{font-weight:700}
.ap-chips{display:flex;gap:6px;margin:0 -12px 8px 0;overflow:hidden}
.ap-chips span{flex:none;padding:6px 10px;border-radius:999px;border:1px solid #E9DCCF;background:#FCF9F5;font-size:9px;color:#3A312A;white-space:nowrap}
.ap-input{position:relative;padding:9px 10px 8px;border:1.5px solid #E5D3C3;border-radius:14px;background:#FFFDFB}
.ap-in-txt{position:relative;height:29px;padding-right:32px;font-size:9.5px;line-height:1.55}
.ap-ph{display:block;font-size:9px;color:#B8ACA1;white-space:nowrap;overflow:hidden}
.ap-typed{position:absolute;top:0;left:0;right:32px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#3A312A}
.ap-send{position:absolute;top:7px;right:8px;width:26px;height:26px;border-radius:50%;background:#CD8358;color:#FFFFFF}
.ap-send > span{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.ap-in-row{display:flex;align-items:center;gap:6px;margin-top:6px}
.ap-c-sm{width:20px;height:20px;border-color:#D9A07A}
.ap-in-row .ap-petav{width:20px;height:20px;box-shadow:0 0 0 1.5px #D9A07A}
.ap-narrow{display:inline-flex;align-items:center;gap:3px;height:20px;padding:0 8px;border-radius:999px;border:1px solid #D9A07A;font-size:8.5px;color:#C9773F}
/* follow-up question sheet */
.ap-dim{position:absolute;inset:0;background:rgba(40,32,26,0.45)}
.ap-sheet{position:absolute;left:5px;right:5px;bottom:8px;padding:11px 12px 4px;border-radius:16px;background:#FBF8F4;border:1px solid #EADFD2}
.ap-sheet-hd{display:flex;align-items:center;justify-content:space-between}
/* both question pages share one grid cell, so the panel fits the taller one (English wraps) */
.ap-sheet{display:grid}
.ap-qpage{grid-area:1/1;min-width:0}
.ap-count{display:inline-flex;align-items:center;gap:5px;font-size:9.5px;color:#C9773F}
.ap-c-close{width:26px;height:26px}
.ap-q{margin:6px 0 2px;font-size:12px;font-weight:700;line-height:1.5;color:#3A312A}
.ap-opts{margin:0;padding:0;list-style:none}
.ap-opts li{position:relative;display:flex;align-items:center;gap:10px;padding:8px 4px;border-bottom:1px solid #EFE6DC;border-radius:6px;font-size:10px;color:#3A312A}
.ap-opts li.ap-free{border-bottom:0;color:#B3A79C}
.ap-num{flex:none;display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;border-radius:50%;background:#CD8358;color:#FFFFFF;font-size:8.5px;font-weight:700}
.ap-opts .ap-tap{left:30%}
/* answer */
.ap-answer{display:flex;flex-direction:column;align-items:flex-start}
.ap-tabs{align-self:stretch;display:flex;gap:4px;margin:0 0 6px;padding:0 6px;border-bottom:1px solid #EFE6DC}
.ap-tabs span{flex:1;padding:5px 0;border:1px solid #EFE6DC;border-bottom:0;border-radius:8px 8px 0 0;text-align:center;font-size:9px;font-weight:700;color:#8A7E74}
.ap-tabs .on{border-color:#CD8358;border-top-width:2px;color:#C9773F}
.ap-sum{line-height:1.7}
.ap-say u{color:#3B6EA5;text-decoration:none}
.ap-fade.ap-fade-long{max-height:196px;-webkit-mask-image:linear-gradient(#000 62%,transparent);mask-image:linear-gradient(#000 62%,transparent)}
.ap-fade{max-height:68px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 55%,transparent);mask-image:linear-gradient(#000 55%,transparent)}
.ap-caution{display:flex;gap:6px;align-items:flex-start;margin-top:4px;padding:7px 8px;border-radius:10px;border:1px solid #EADBCB;background:#FCF8F4;font-size:8px;line-height:1.55;color:#5B5047}
.ap-caution b{display:block;font-size:8.5px;color:#C9773F}
.ap-warn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;margin-top:1px;border-radius:50%;border:1px solid #C9773F;background:#E9B48D;color:#FFFFFF}
.ap-recbtn{position:relative;display:inline-flex;margin-top:8px;padding:7px 16px;border-radius:999px;background:linear-gradient(90deg,#3E3630,#5D5148);color:#FFFFFF;font-size:10.5px;font-weight:700;box-shadow:0 4px 10px -4px rgba(0,0,0,0.5)}
/* records list + document */
.ap-pgtitle{position:relative;display:flex;align-items:center;gap:10px;margin:2px 0 12px}
.ap-pgtitle b{font-size:14px;font-weight:700;color:#3A312A}
.ap-center{justify-content:center;min-height:24px}
.ap-center .ap-circ{position:absolute;left:0;top:0}
.ap-center b{font-size:12.5px}
.ap-rec{display:flex;align-items:center;gap:9px;margin-bottom:8px;padding:9px;border-radius:14px;border:1px solid #EFE4D7;background:#FCF9F5}
.ap-thumb{flex:none;display:flex;flex-direction:column;justify-content:center;gap:3px;width:36px;height:36px;padding:0 6px;border-radius:5px;background:linear-gradient(#5E5E5E,#3E3E3E)}
.ap-thumb i{display:block;height:2px;border-radius:1px;background:rgba(255,255,255,0.75)}
.ap-thumb i:nth-child(2){width:70%}
.ap-thumb-1{background:linear-gradient(#E7E7E3,#CFCFCB)}
.ap-thumb-1 i{background:rgba(40,40,40,0.55)}
.ap-rec-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ap-rec-t b{display:flex;align-items:center;gap:4px;font-size:10px;font-weight:700;color:#3A312A}
.ap-rec-t small{font-size:8px;color:#7A6E64}
.ap-ok{flex:none;display:inline-flex;align-items:center;justify-content:center;width:11px;height:11px;border-radius:50%;background:#4FA36B;color:#FFFFFF}
.ap-view{position:relative;flex:none;padding:6px 11px;border-radius:999px;background:#FFFFFF;box-shadow:0 2px 8px -2px rgba(74,63,54,0.3);font-size:9px;font-weight:700}
.ap-doc{background:#F4EDE5}
.ap-docview{position:relative;margin:6px -12px 0;padding:18px 14px 16px;background:#E2E2DF}
.ap-docnav{position:absolute;top:4px;right:10px;display:flex;gap:12px;color:#6A6A68}
/* illustrative document: no number, signature, seal or issuer */
.ap-cert{padding:9px 9px 8px;background:#F7F7F4;border:1px solid #3C3C3C;transform:rotate(-1.2deg);box-shadow:0 3px 8px rgba(0,0,0,0.18)}
.ap-cert-t{display:block;margin-bottom:7px;text-align:center;font-family:'Hiragino Mincho ProN','Yu Mincho',serif;font-size:10.5px;letter-spacing:0.16em;color:#222}
.ap-cert-grid{border:1px solid #3C3C3C;border-bottom:0}
.ap-cert-row{position:relative;display:block;height:13px;border-bottom:1px solid #5A5A5A}
.ap-cert-row i{position:absolute;top:0;bottom:0;left:28%;border-left:1px solid #5A5A5A}
.ap-cert-row-tall{height:19px}
.ap-cert-foot{display:flex;flex-direction:column;gap:4px;margin-top:8px}
.ap-cert-foot i{display:block;width:72%;height:3px;border-radius:2px;background:#CFCFCB}
.ap-cert-foot i + i{width:48%}
/* meals home */
.ap-food{padding:34px 12px 0}
.ap-fhd{display:flex;align-items:center;justify-content:space-between}
.ap-fhd b{font-size:15px;font-weight:700;color:#3A312A}
.ap-me-dot{flex:none;width:24px;height:24px;border-radius:50%;background:#EFA24B}
.ap-petchips{display:flex;gap:6px;margin:8px 0 4px}
.ap-petchips span{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 12px 0 3px;border-radius:999px;border:1.5px solid #D9A07A;font-size:10px;color:#C9773F}
.ap-petchips .on{background:#CD8358;border-color:#CD8358;color:#FFFFFF;font-weight:700}
.ap-pc-av,.ap-petchips img{flex:none;width:18px;height:18px;border-radius:50%;object-fit:cover}
.ap-pc-av-2{background:radial-gradient(circle at 50% 38%,#A4ABBB,#3B4150)}
.ap-fview{position:relative;flex:1;min-height:0;overflow:hidden}
.ap-fsec{padding:7px 0 10px;border-bottom:1px solid #ECE4DA}
.ap-fsec-hd{display:flex;justify-content:space-between;align-items:baseline}
.ap-fsec-t{display:block;margin-bottom:6px;font-size:11.5px;font-weight:700;color:#3A312A}
.ap-fsec-hd u{font-size:8.5px;color:#C9773F;text-underline-offset:2px}
.ap-wgrid{display:grid;grid-template-columns:1fr 1fr;gap:5px}
.ap-wgrid span{display:flex;align-items:center;gap:5px;height:27px;padding:0 5px;border-radius:7px;background:#F5ECE2;font-size:7.5px;line-height:1.25;color:#3A312A}
.ap-wgrid img{flex:none;width:19px;height:19px;border-radius:5px;object-fit:cover;background:#FFFFFF}
.ap-cards3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.ap-fcard,.ap-rcard{position:relative;display:flex;flex-direction:column;padding-bottom:6px;border-radius:10px;background:#FFFFFF;box-shadow:0 2px 8px -3px rgba(74,63,54,0.28);overflow:hidden}
.ap-fcard img{display:block;width:100%;aspect-ratio:1/0.86;object-fit:cover}
.ap-fcard b,.ap-rcard b{padding:4px 6px 3px;font-size:8.5px;font-weight:500;color:#3A312A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ap-fcard i,.ap-rcard i{align-self:flex-start;margin-left:6px;padding:2px 6px;border-radius:5px;background:#C9773F;color:#FFFFFF;font-size:7px;font-style:normal}
.ap-cards2{display:flex;gap:7px}
.ap-rcard{flex:none;width:104px}
.ap-rimg{position:relative;display:block}
.ap-rimg img{display:block;width:100%;aspect-ratio:1/0.8;object-fit:cover}
.ap-rimg svg{position:absolute;top:5px;right:6px}
.ap-ask{position:absolute;left:12px;right:12px;bottom:46px;z-index:2;display:flex;align-items:center;justify-content:space-between;height:28px;padding:0 3px 0 12px;border-radius:999px;border:1px solid #E9DCCF;background:rgba(253,250,246,0.96);font-size:9.5px;color:#9C9086}
.ap-ask span{display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#FFFFFF;color:#C9773F;box-shadow:0 1px 4px rgba(0,0,0,0.1)}
.ap-tabbar{position:absolute;left:0;right:0;bottom:0;z-index:2;display:flex;align-items:center;justify-content:space-around;height:42px;padding-bottom:4px;background:#FFFDFB;border-top:1px solid #F1EAE2}
.ap-tabbar span{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:7px;color:#8A7E74}
.ap-tabbar .on{color:#C9773F}
/* recipe detail */
.ap-recipe{padding:0}
.ap-skel{position:absolute;inset:0;padding:36px 12px 0;background:#F1F1F0}
.ap-skel i{display:block;height:12px;margin-bottom:10px;border-radius:5px;background:#E1E1DF}
.ap-skel i:first-child{width:46%;height:16px;margin-top:118px}
.ap-skel i:nth-child(2){height:20px}
.ap-skel i:nth-child(3),.ap-skel i:nth-child(4){width:62%}
.ap-skel i:nth-child(5){height:90px;margin-top:16px}
.ap-rd{position:absolute;inset:0;background:#FFFDFB}
.ap-rhero{position:relative;height:180px;background:#F3F3F1}
.ap-rhero > img{display:block;width:100%;height:100%;object-fit:cover}
.ap-rback{position:absolute;left:10px;top:32px}
.ap-rdot{position:absolute;right:10px;top:32px}
.ap-kcal{position:absolute;left:10px;bottom:10px;padding:3px 7px;border-radius:7px;border:1px solid #E5D6C6;background:rgba(253,248,242,0.92);font-size:8.5px;color:#3A312A}
.ap-rbtns{position:absolute;right:10px;bottom:7px;display:flex;gap:6px}
.ap-rbtns .ap-circ{width:26px;height:26px}
.ap-rview{position:absolute;left:0;right:0;top:180px;bottom:44px;overflow:hidden;-webkit-mask-image:linear-gradient(#000 70%,transparent);mask-image:linear-gradient(#000 70%,transparent)}
.ap-rbody{padding:12px;--ap3-s:-74px}
.ap-rname{display:block;margin-bottom:7px;font-size:13.5px;font-weight:700;color:#3A312A}
.ap-tags{display:flex;flex-wrap:wrap;gap:4px;margin-bottom:10px}
.ap-tags i{padding:2px 7px;border-radius:6px;background:#C9773F;color:#FFFFFF;font-size:7.5px;font-style:normal}
.ap-ing{border:1px solid #EADFD2;border-radius:12px;overflow:hidden}
.ap-ing-hd{display:flex;justify-content:space-between;padding:8px 10px;background:#F5ECE2;font-size:8.5px}
.ap-ing-row{display:flex;align-items:center;gap:8px;min-height:38px;padding:6px 10px;font-size:9.5px;color:#3A312A}
.ap-ing-row + .ap-ing-row{border-top:1px solid #EFE6DC}
.ap-ing-row img{width:26px;height:26px;border-radius:6px;object-fit:cover}
.ap-ing-row em{margin-left:auto;font-style:normal;color:#7A6E64}
.ap-ask-rd{bottom:12px}
/* thinking paws + loop */
.fs-scr[data-active="true"] .ap-paws svg{animation:apPaw 1.2s ease-in-out infinite}
.fs-scr[data-active="true"] .ap-paws svg:nth-child(2){animation-delay:0.2s}
.fs-scr[data-active="true"] .ap-paws svg:nth-child(3){animation-delay:0.4s}
@keyframes apPaw{0%,100%{opacity:0.25}50%{opacity:1}}
@keyframes apLoop{0%{opacity:0}3%{opacity:1}96%{opacity:1}100%{opacity:0}}
/* resting state = last frame of each timeline (shown as-is when animations are off / reduced motion) */
.ap2-chips{opacity:0}
.ap2-typed{opacity:0;clip-path:inset(0 0 0 0)}
.ap2-ph{opacity:1}
.ap2-tapsend{opacity:0;transform:scale(1.6)}
.ap2-me{opacity:1;transform:none}
.ap2-annie{opacity:1;transform:none}
.ap2-paw{opacity:1}
.ap2-stop{opacity:0}
.ap2-think{opacity:0;transform:none}
.ap2-answer{opacity:1;transform:none}
.ap2-caution{opacity:1;transform:none}
.ap2-recbtn{opacity:1;transform:none}
.ap2-taprec{opacity:0;transform:scale(1.6)}
.ap2-chatpg{transform:translateX(-30%);filter:brightness(0.92)}
.ap2-listpg{transform:translateX(-30%)}
.ap2-tapview{opacity:0;transform:scale(1.6)}
.ap2-docpg{transform:none}
.ap3-scroll{transform:translateY(-100px)}
.ap3-tappick{opacity:0;transform:scale(1.6)}
.ap3-pick{transform:none}
.ap3-homepg{transform:translateX(-30%)}
.ap3-detailpg{transform:none}
.ap3-skel{opacity:0}
.ap3-rd{opacity:1}
.ap3-rbody{transform:translateY(var(--ap3-s))}
.ap1-chips{opacity:0}
.ap1-typed{opacity:0;clip-path:inset(0 0 0 0)}
.ap1-ph{opacity:1}
.ap1-tapsend{opacity:0;transform:scale(1.6)}
.ap1-me{opacity:1;transform:none}
.ap1-annie{opacity:1;transform:none}
.ap1-paw{opacity:0}
.ap1-stop{opacity:1}
.ap1-think1{opacity:0;transform:none}
.ap1-think2{opacity:0;transform:none}
.ap1-say{opacity:1;transform:none}
.ap1-dim{opacity:0}
.ap1-sheet{transform:translateY(105%)}
.ap1-q1{opacity:0;transform:translateX(-14px)}
.ap1-q2{opacity:1;transform:none}
.ap1-pick2{background-color:rgba(205,131,88,0.14)}
.ap1-tappick2{opacity:0;transform:scale(1.6)}
.ap1-sum{opacity:1;transform:none}
.ap1-annie2{opacity:1;transform:none}
.ap1-think3{opacity:0;transform:none}
.ap1-think4{opacity:0;transform:none}
.ap1-ans{opacity:1;transform:none}
.ap1-mscroll{transform:translateY(var(--ap1-s2))}
.ap1-pick{background-color:rgba(205,131,88,0.14)}
.ap1-tappick{opacity:0;transform:scale(1.6)}
/* --- 01 AI consultation: 18.6s loop --- */
.fs-scr[data-active="true"] .ap1-loop{animation:apLoop 18.6s linear infinite both}
.fs-scr[data-active="true"] .ap1-chips{animation:ap1_chips 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_chips{0%{opacity:1}7.26%{opacity:1}8.6%{opacity:0}100%{opacity:0}}
.fs-scr[data-active="true"] .ap1-typed{animation:ap1_typed 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_typed{0%{opacity:0;clip-path:inset(0 100% 0 0)}1.34%{opacity:1;clip-path:inset(0 100% 0 0)}5.65%{opacity:1;clip-path:inset(0 0 0 0)}7.26%{opacity:1;clip-path:inset(0 0 0 0)}8.06%{opacity:0;clip-path:inset(0 0 0 0)}100%{opacity:0;clip-path:inset(0 0 0 0)}}
.fs-scr[data-active="true"] .ap1-ph{animation:ap1_ph 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_ph{0%{opacity:0}7.8%{opacity:0}9.14%{opacity:1}100%{opacity:1}}
.fs-scr[data-active="true"] .ap1-tapsend{animation:ap1_tapsend 18.6s ease-out infinite both}
@keyframes ap1_tapsend{0%{opacity:0;transform:scale(0.4)}5.65%{opacity:0;transform:scale(0.4)}6.08%{opacity:0.55;transform:scale(0.6)}8.06%{opacity:0;transform:scale(1.6)}100%{opacity:0;transform:scale(1.6)}}
.fs-scr[data-active="true"] .ap1-me{animation:ap1_me 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_me{0%{opacity:0;transform:translateY(10px)}7.8%{opacity:0;transform:translateY(10px)}9.95%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap1-annie{animation:ap1_annie 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_annie{0%{opacity:0;transform:translateY(6px)}10.75%{opacity:0;transform:translateY(6px)}12.37%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap1-paw{animation:ap1_paw 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_paw{0%{opacity:1}7.53%{opacity:1}8.06%{opacity:0}28.49%{opacity:0}29.57%{opacity:1}56.45%{opacity:1}57.26%{opacity:0}100%{opacity:0}}
.fs-scr[data-active="true"] .ap1-stop{animation:ap1_stop 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_stop{0%{opacity:0}7.53%{opacity:0}8.06%{opacity:1}28.49%{opacity:1}29.57%{opacity:0}56.45%{opacity:0}57.26%{opacity:1}100%{opacity:1}}
.fs-scr[data-active="true"] .ap1-think1{animation:ap1_think1 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_think1{0%{opacity:0;transform:translateY(4px)}11.02%{opacity:0;transform:translateY(4px)}12.63%{opacity:1;transform:none}18.55%{opacity:1;transform:none}19.89%{opacity:0;transform:none}100%{opacity:0;transform:none}}
.fs-scr[data-active="true"] .ap1-think2{animation:ap1_think2 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_think2{0%{opacity:0;transform:translateY(4px)}19.35%{opacity:0;transform:translateY(4px)}20.97%{opacity:1;transform:none}26.08%{opacity:1;transform:none}27.42%{opacity:0;transform:none}100%{opacity:0;transform:none}}
.fs-scr[data-active="true"] .ap1-say{animation:ap1_say 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_say{0%{opacity:0;transform:translateY(4px)}26.88%{opacity:0;transform:translateY(4px)}28.76%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap1-dim{animation:ap1_dim 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_dim{0%{opacity:0}30.11%{opacity:0}31.99%{opacity:1}55.65%{opacity:1}57.53%{opacity:0}100%{opacity:0}}
.fs-scr[data-active="true"] .ap1-sheet{animation:ap1_sheet 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_sheet{0%{transform:translateY(105%)}30.11%{transform:translateY(105%)}32.8%{transform:none}55.65%{transform:none}58.06%{transform:translateY(105%)}100%{transform:translateY(105%)}}
.fs-scr[data-active="true"] .ap1-q1{animation:ap1_q1 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_q1{0%{opacity:1;transform:none}47.04%{opacity:1;transform:none}48.92%{opacity:0;transform:translateX(-14px)}100%{opacity:0;transform:translateX(-14px)}}
.fs-scr[data-active="true"] .ap1-q2{animation:ap1_q2 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_q2{0%{opacity:0;transform:translateX(14px)}47.58%{opacity:0;transform:translateX(14px)}49.73%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap1-pick2{animation:ap1_pick2 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_pick2{0%{background-color:rgba(205,131,88,0)}53.49%{background-color:rgba(205,131,88,0)}54.3%{background-color:rgba(205,131,88,0.14)}100%{background-color:rgba(205,131,88,0.14)}}
.fs-scr[data-active="true"] .ap1-tappick2{animation:ap1_tappick2 18.6s ease-out infinite both}
@keyframes ap1_tappick2{0%{opacity:0;transform:scale(0.4)}53.23%{opacity:0;transform:scale(0.4)}53.66%{opacity:0.55;transform:scale(0.6)}55.65%{opacity:0;transform:scale(1.6)}100%{opacity:0;transform:scale(1.6)}}
.fs-scr[data-active="true"] .ap1-sum{animation:ap1_sum 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_sum{0%{opacity:0;transform:translateY(10px)}58.33%{opacity:0;transform:translateY(10px)}60.48%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap1-annie2{animation:ap1_annie2 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_annie2{0%{opacity:0;transform:translateY(6px)}61.56%{opacity:0;transform:translateY(6px)}63.17%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap1-think3{animation:ap1_think3 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_think3{0%{opacity:0;transform:translateY(4px)}61.83%{opacity:0;transform:translateY(4px)}63.44%{opacity:1;transform:none}67.74%{opacity:1;transform:none}69.09%{opacity:0;transform:none}100%{opacity:0;transform:none}}
.fs-scr[data-active="true"] .ap1-think4{animation:ap1_think4 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_think4{0%{opacity:0;transform:translateY(4px)}68.55%{opacity:0;transform:translateY(4px)}70.16%{opacity:1;transform:none}73.92%{opacity:1;transform:none}75.27%{opacity:0;transform:none}100%{opacity:0;transform:none}}
.fs-scr[data-active="true"] .ap1-ans{animation:ap1_ans 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_ans{0%{opacity:0;transform:translateY(6px)}74.73%{opacity:0;transform:translateY(6px)}77.15%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap1-mscroll{animation:ap1_mscroll 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_mscroll{0%{transform:none}57.8%{transform:none}61.02%{transform:translateY(var(--ap1-s1))}73.92%{transform:translateY(var(--ap1-s1))}77.42%{transform:translateY(var(--ap1-s2))}100%{transform:translateY(var(--ap1-s2))}}
.fs-scr[data-active="true"] .ap1-pick{animation:ap1_pick 18.6s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap1_pick{0%{background-color:rgba(205,131,88,0)}44.89%{background-color:rgba(205,131,88,0)}45.7%{background-color:rgba(205,131,88,0.14)}100%{background-color:rgba(205,131,88,0.14)}}
.fs-scr[data-active="true"] .ap1-tappick{animation:ap1_tappick 18.6s ease-out infinite both}
@keyframes ap1_tappick{0%{opacity:0;transform:scale(0.4)}44.62%{opacity:0;transform:scale(0.4)}45.05%{opacity:0.55;transform:scale(0.6)}47.04%{opacity:0;transform:scale(1.6)}100%{opacity:0;transform:scale(1.6)}}
/* --- 02 vaccination records: 13s loop --- */
.fs-scr[data-active="true"] .ap2-loop{animation:apLoop 13s linear infinite both}
.fs-scr[data-active="true"] .ap2-chips{animation:ap2_chips 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_chips{0%{opacity:1}10.38%{opacity:1}12.31%{opacity:0}100%{opacity:0}}
.fs-scr[data-active="true"] .ap2-typed{animation:ap2_typed 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_typed{0%{opacity:0;clip-path:inset(0 100% 0 0)}1.92%{opacity:1;clip-path:inset(0 100% 0 0)}8.08%{opacity:1;clip-path:inset(0 0 0 0)}10.38%{opacity:1;clip-path:inset(0 0 0 0)}11.54%{opacity:0;clip-path:inset(0 0 0 0)}100%{opacity:0;clip-path:inset(0 0 0 0)}}
.fs-scr[data-active="true"] .ap2-ph{animation:ap2_ph 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_ph{0%{opacity:0}11.15%{opacity:0}13.08%{opacity:1}100%{opacity:1}}
.fs-scr[data-active="true"] .ap2-tapsend{animation:ap2_tapsend 13s ease-out infinite both}
@keyframes ap2_tapsend{0%{opacity:0;transform:scale(0.4)}8.08%{opacity:0;transform:scale(0.4)}8.69%{opacity:0.55;transform:scale(0.6)}11.54%{opacity:0;transform:scale(1.6)}100%{opacity:0;transform:scale(1.6)}}
.fs-scr[data-active="true"] .ap2-me{animation:ap2_me 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_me{0%{opacity:0;transform:translateY(10px)}11.15%{opacity:0;transform:translateY(10px)}14.23%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap2-annie{animation:ap2_annie 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_annie{0%{opacity:0;transform:translateY(6px)}15.38%{opacity:0;transform:translateY(6px)}17.69%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap2-paw{animation:ap2_paw 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_paw{0%{opacity:1}10.77%{opacity:1}11.54%{opacity:0}40%{opacity:0}41.54%{opacity:1}100%{opacity:1}}
.fs-scr[data-active="true"] .ap2-stop{animation:ap2_stop 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_stop{0%{opacity:0}10.77%{opacity:0}11.54%{opacity:1}40%{opacity:1}41.54%{opacity:0}100%{opacity:0}}
.fs-scr[data-active="true"] .ap2-think{animation:ap2_think 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_think{0%{opacity:0;transform:translateY(4px)}15.77%{opacity:0;transform:translateY(4px)}18.08%{opacity:1;transform:none}26.15%{opacity:1;transform:none}28.08%{opacity:0;transform:none}100%{opacity:0;transform:none}}
.fs-scr[data-active="true"] .ap2-answer{animation:ap2_answer 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_answer{0%{opacity:0;transform:translateY(6px)}27.31%{opacity:0;transform:translateY(6px)}30.38%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap2-caution{animation:ap2_caution 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_caution{0%{opacity:0;transform:translateY(4px)}35%{opacity:0;transform:translateY(4px)}37.69%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap2-recbtn{animation:ap2_recbtn 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_recbtn{0%{opacity:0;transform:translateY(4px)}38.46%{opacity:0;transform:translateY(4px)}41.15%{opacity:1;transform:none}48.46%{opacity:1;transform:none}49.23%{opacity:1;transform:scale(0.95)}50.77%{opacity:1;transform:none}100%{opacity:1;transform:none}}
.fs-scr[data-active="true"] .ap2-taprec{animation:ap2_taprec 13s ease-out infinite both}
@keyframes ap2_taprec{0%{opacity:0;transform:scale(0.4)}48.46%{opacity:0;transform:scale(0.4)}49.08%{opacity:0.55;transform:scale(0.6)}51.92%{opacity:0;transform:scale(1.6)}100%{opacity:0;transform:scale(1.6)}}
.fs-scr[data-active="true"] .ap2-chatpg{animation:ap2_chatpg 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_chatpg{0%{transform:none;filter:none}52.31%{transform:none;filter:none}55.77%{transform:translateX(-30%);filter:brightness(0.92)}100%{transform:translateX(-30%);filter:brightness(0.92)}}
.fs-scr[data-active="true"] .ap2-listpg{animation:ap2_listpg 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_listpg{0%{transform:translateX(100%)}52.31%{transform:translateX(100%)}55.77%{transform:none}68.85%{transform:none}72.31%{transform:translateX(-30%)}100%{transform:translateX(-30%)}}
.fs-scr[data-active="true"] .ap2-tapview{animation:ap2_tapview 13s ease-out infinite both}
@keyframes ap2_tapview{0%{opacity:0;transform:scale(0.4)}65%{opacity:0;transform:scale(0.4)}65.62%{opacity:0.55;transform:scale(0.6)}68.46%{opacity:0;transform:scale(1.6)}100%{opacity:0;transform:scale(1.6)}}
.fs-scr[data-active="true"] .ap2-docpg{animation:ap2_docpg 13s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap2_docpg{0%{transform:translateX(100%)}68.85%{transform:translateX(100%)}72.31%{transform:none}100%{transform:none}}
/* --- 03 meals: 12s loop --- */
.fs-scr[data-active="true"] .ap3-loop{animation:apLoop 12s linear infinite both}
.fs-scr[data-active="true"] .ap3-scroll{animation:ap3_scroll 12s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap3_scroll{0%{transform:none}16.67%{transform:none}26.67%{transform:translateY(-100px)}100%{transform:translateY(-100px)}}
.fs-scr[data-active="true"] .ap3-tappick{animation:ap3_tappick 12s ease-out infinite both}
@keyframes ap3_tappick{0%{opacity:0;transform:scale(0.4)}35.42%{opacity:0;transform:scale(0.4)}36.08%{opacity:0.55;transform:scale(0.6)}39.17%{opacity:0;transform:scale(1.6)}100%{opacity:0;transform:scale(1.6)}}
.fs-scr[data-active="true"] .ap3-pick{animation:ap3_pick 12s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap3_pick{0%{transform:none}35.83%{transform:none}36.67%{transform:scale(0.97)}38.33%{transform:none}100%{transform:none}}
.fs-scr[data-active="true"] .ap3-homepg{animation:ap3_homepg 12s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap3_homepg{0%{transform:none}39.58%{transform:none}43.33%{transform:translateX(-30%)}100%{transform:translateX(-30%)}}
.fs-scr[data-active="true"] .ap3-detailpg{animation:ap3_detailpg 12s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap3_detailpg{0%{transform:translateX(100%)}39.58%{transform:translateX(100%)}43.33%{transform:none}100%{transform:none}}
.fs-scr[data-active="true"] .ap3-skel{animation:ap3_skel 12s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap3_skel{0%{opacity:1}47.08%{opacity:1}49.58%{opacity:0}100%{opacity:0}}
.fs-scr[data-active="true"] .ap3-rd{animation:ap3_rd 12s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap3_rd{0%{opacity:0}47.08%{opacity:0}50%{opacity:1}100%{opacity:1}}
.fs-scr[data-active="true"] .ap3-rbody{animation:ap3_rbody 12s cubic-bezier(.2,.8,.2,1) infinite both}
@keyframes ap3_rbody{0%{transform:none}60.83%{transform:none}72.5%{transform:translateY(var(--ap3-s))}100%{transform:translateY(var(--ap3-s))}}
