/* サイト共通の動き(2026-11-01 松尾さん「アニメーションがなくてチープに見える」)
   トップ・/meo/・/factloop/ で読む。動きを減らす設定の人には一切出さない */
@media (prefers-reduced-motion:no-preference){

/* 下から出てくる動きを、少し大きく・なめらかに */
.js .rv{transform:translateY(30px) scale(.98);transition:opacity .8s cubic-bezier(.2,.8,.2,1),transform .8s cubic-bezier(.2,.8,.2,1)}
.js .rv.in{transform:none}

/* 最初の画面: 上から順に出てくる */
.fv > *{animation:mIn .8s cubic-bezier(.2,.8,.2,1) both}
.fv > :nth-child(2){animation-delay:.12s}
.fv > :nth-child(3){animation-delay:.24s}
.fv > :nth-child(4){animation-delay:.36s}
.fv > :nth-child(5){animation-delay:.48s}
.fv > :nth-child(6){animation-delay:.6s}
.fv > :nth-child(n+7){animation-delay:.72s}
.fv .call{animation-name:mCall;animation-duration:.7s}
.fv .badges div{animation:mPop .55s cubic-bezier(.3,1.6,.5,1) both}
.fv .badges div:nth-child(1){animation-delay:.7s}
.fv .badges div:nth-child(2){animation-delay:.82s}
.fv .badges div:nth-child(3){animation-delay:.94s}
.team .bubble{animation:mBubble .6s cubic-bezier(.3,1.6,.5,1) 1s both}

/* イラストがふわふわ動く */
.team img,.duo img,.talk img,.owner{animation:mFloat 3.6s ease-in-out infinite}
.team img:nth-of-type(2),.duo img:nth-child(2){animation-delay:-1.8s}

/* ボタンに光が走る */
.btn-cta{position:relative;overflow:hidden;isolation:isolate}
.btn-cta::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:40%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.55),transparent);transform:skewX(-20deg);animation:mShine 4s ease-in-out infinite;pointer-events:none;z-index:1}
.btn-cta.ghost::after{background:linear-gradient(100deg,transparent,rgba(0,0,0,.08),transparent)}

/* サービスのカード: マウスを乗せると持ち上がる */
.js .lp .svc.in{transition:opacity .8s,transform .25s,box-shadow .25s}
.js .lp .svc.in:hover{transform:translate(-3px,-3px);box-shadow:9px 9px 0 #1c1917}

/* 段の図: 上の段から順に出て、最後の「売上」が弾んで光る */
.js .funnel.rv{opacity:1;transform:none}
.js .funnel > div{opacity:0}
.js .funnel.in > div{animation:mStep .6s cubic-bezier(.2,.8,.2,1) both}
.js .funnel.in > div:nth-child(2){animation-delay:.35s}
.js .funnel.in > .goal{animation:mGoal .8s cubic-bezier(.3,1.6,.5,1) .8s both,mBeat 2.6s ease-in-out 2s infinite}

/* 蛍光ペンの線を、左から引く */
.js .mark{background-size:0% 100%;background-repeat:no-repeat;transition:background-size 1.1s cubic-bezier(.2,.8,.2,1) .2s}
.js .mark.on{background-size:100% 100%}

/* /meo/ 地図の見本: 赤い札が順に緑に変わり、最後に「担当者が手直し」の判が押される */
.mapcard .st{transition:background-color .3s}
.mapcard .st.flip{animation:mPop .45s cubic-bezier(.3,1.6,.5,1)}
.js .mapcard .stamp{opacity:0}
.js .mapcard .stamp.on{opacity:1;animation:mStamp .5s cubic-bezier(.3,1.6,.5,1) both}

/* 読んだ量の細い帯(画面の一番上) */
.mprog{position:fixed;top:0;left:0;right:0;height:3px;background:var(--grad);transform-origin:0 50%;transform:scaleX(0);z-index:60;pointer-events:none}

@keyframes mIn{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}
@keyframes mCall{0%{opacity:0;transform:translateY(-14px) rotate(-8deg) scale(.8)}60%{opacity:1;transform:rotate(1deg) scale(1.06)}100%{opacity:1;transform:rotate(-1.5deg)}}
@keyframes mPop{0%{opacity:0;transform:scale(.6)}100%{opacity:1;transform:none}}
@keyframes mBubble{0%{opacity:0;transform:translateX(-50%) rotate(-2deg) scale(.4)}100%{opacity:1;transform:translateX(-50%) rotate(-2deg)}}
@keyframes mFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}
@keyframes mShine{0%,62%{left:-60%}100%{left:130%}}
@keyframes mStep{from{opacity:0;transform:translateX(-36px)}to{opacity:1;transform:none}}
@keyframes mGoal{0%{opacity:0;transform:scale(.55)}100%{opacity:1;transform:none}}
@keyframes mBeat{0%,100%{transform:none}50%{transform:scale(1.04)}}
@keyframes mStamp{0%{opacity:0;transform:rotate(-20deg) scale(2.2)}100%{opacity:1;transform:rotate(4deg)}}
}
