/* 動きは「読みやすさを邪魔しない」範囲に絞る。0.6〜0.8秒、移動量は小さく。 */
:root{--ease:cubic-bezier(.2,.7,.2,1)}

/* ヘッダー：スクロールで影が出る */
.nav{transition:box-shadow .3s var(--ease)}
.nav.is-scrolled{box-shadow:0 6px 20px rgba(61,0,32,.07)}

/* スクロールで下から静かに現れる */
.mo [data-rv]{opacity:0;transform:translateY(20px);transition:opacity .75s var(--ease),transform .75s var(--ease);transition-delay:var(--d,0ms)}
.mo [data-rv].in{opacity:1;transform:none}

/* ファーストビュー：文言が順に現れる */
@keyframes mo-up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.mo .mh-copy>*,.mo .d-hero-copy>*{animation:mo-up .8s var(--ease) both}
.mo .mh-copy>:nth-child(1),.mo .d-hero-copy>:nth-child(1){animation-delay:.05s}
.mo .mh-copy>:nth-child(2),.mo .d-hero-copy>:nth-child(2){animation-delay:.15s}
.mo .mh-copy>:nth-child(3),.mo .d-hero-copy>:nth-child(3){animation-delay:.25s}
.mo .mh-copy>:nth-child(4),.mo .d-hero-copy>:nth-child(4){animation-delay:.35s}
.mo .mh-copy>:nth-child(5),.mo .d-hero-copy>:nth-child(5){animation-delay:.45s}
.mo .mh-copy>:nth-child(n+6),.mo .d-hero-copy>:nth-child(n+6){animation-delay:.55s}
@keyframes mo-frame{from{opacity:0;transform:scale(.98)}to{opacity:1;transform:none}}
.mo .mh-frame{animation:mo-frame 1s var(--ease) .1s both}

/* ボタン：わずかに浮く。矢印は少し進む */
.btn,.cp-btn{transition:background .2s,color .2s,border-color .2s,transform .25s var(--ease),box-shadow .25s var(--ease)}
.btn:hover,.cp-btn:hover{transform:translateY(-2px)}
.btn-rose:hover,.cp-btn--solid:hover{box-shadow:0 8px 20px rgba(228,0,101,.22)}
.btn .arrow,.cp-btn .arrow{transition:transform .25s var(--ease)}
.btn:hover .arrow,.cp-btn:hover .arrow{transform:translateX(3px)}
.btn:active,.cp-btn:active{transform:none}
.btn:focus-visible,.cp-btn:focus-visible,a:focus-visible{outline:2px solid #E40065;outline-offset:3px}

/* カード：持ち上がる */
.pc,.biz-card,.cta-card,.cp-card,a.media-card,.md-card{transition:transform .3s var(--ease),box-shadow .3s var(--ease)}
.pc:hover,.biz-card:hover,.cta-card:hover{transform:translateY(-3px)}

/* サービス画像：近づくと少しだけ明るく */
.svc-viz{transition:box-shadow .4s var(--ease)}
.svc:hover .svc-viz{box-shadow:0 14px 36px rgba(61,0,32,.10)}
.svc-viz--photo img{transition:transform 1.2s var(--ease)}
.svc:hover .svc-viz--photo img{transform:scale(1.03)}

/* ハナレシピの画面：写真が順に並ぶ */
@keyframes mo-pop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
.mo .svc-viz--pc:not(.in) .pcm-grid figure,.mo [data-rv]:not(.in) .pcm-grid figure{opacity:0}
.mo [data-rv].in .pcm-grid figure{animation:mo-pop .6s var(--ease) both}
.mo [data-rv].in .pcm-grid figure:nth-child(1){animation-delay:.25s}
.mo [data-rv].in .pcm-grid figure:nth-child(2){animation-delay:.33s}
.mo [data-rv].in .pcm-grid figure:nth-child(3){animation-delay:.41s}
.mo [data-rv].in .pcm-grid figure:nth-child(4){animation-delay:.49s}
.mo [data-rv].in .pcm-grid figure:nth-child(5){animation-delay:.57s}
.mo [data-rv].in .pcm-grid figure:nth-child(6){animation-delay:.65s}

/* HanAssistの吹き出し：順に現れ、その後ゆっくり浮く */
@keyframes mo-bub{from{opacity:0;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
@keyframes mo-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
.mo [data-rv]:not(.in) .fl{opacity:0}
.mo [data-rv].in .fl{animation:mo-bub .6s var(--ease) both,mo-float 6s ease-in-out infinite}
.mo [data-rv].in .fl-1{animation-delay:.3s,1s}
.mo [data-rv].in .fl-2{animation-delay:.45s,1.8s}
.mo [data-rv].in .fl-3{animation-delay:.6s,2.6s}
.mo [data-rv].in .fl-4{animation-delay:.75s,3.4s}

@media (prefers-reduced-motion:reduce){
  .mo [data-rv]{opacity:1;transform:none}
  .mo .mh-copy>*,.mo .d-hero-copy>*,.mo .mh-frame,.mo .fl,.mo .pcm-grid figure{animation:none!important;opacity:1!important}
}
