@layer site;
@layer site{
img{max-width:none}
:root{--bg:#FFFFFF;--fg:#202020;color-scheme:light}
html,body{background:var(--bg);color:var(--fg)}
body{margin:0;overflow-x:hidden}
[hidden]{display:none !important}
picture>source{display:none}
.v{width:1440px;zoom:var(--zpc,1)}
@media (max-width:767px){.v{width:390px;zoom:var(--zsp,1)}.po{display:none !important}}
@media (min-width:768px){.so{display:none !important}}
.world-ov{position:fixed;inset:0;z-index:1000;overflow:auto;-webkit-overflow-scrolling:touch}
.world-ov[hidden]{display:none}
.world-ov{background:rgba(24,40,56,0.62)}
.world-host > div{background:transparent !important}
/* ミラクルワールドのポップアップ：画面の真ん中に。はみ出すときは全体をスクロール */
.world-ov:not([hidden]){display:flex}
.world-host{margin:auto;width:100%}
.world-host > div{min-height:0 !important;padding-top:24px !important;padding-bottom:24px !important}
.w-track{position:relative;display:flex;gap:24px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-user-select:none;user-select:none;cursor:grab}
.w-track::-webkit-scrollbar{display:none}
.w-track.is-drag{scroll-snap-type:none;cursor:grabbing}
.w-track img{-webkit-user-drag:none;pointer-events:none}
.w-cell{flex:0 0 100%;scroll-snap-align:start;scroll-snap-stop:always;min-width:0}
.w-cell > [aria-roledescription="slide"]{height:100%;box-sizing:border-box}

/* 固定ヘッダー（背景なし） */
.hdr-fix{position:fixed;z-index:100;left:0;right:0;top:0}
/* ポップアップ（スマホ）：説明エリアは全スライド同じ高さ。長い文はこの中でスクロール */
.world-ov.so .w-txt{height:265px;flex:none;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* ===== アニメーション ===== */
/* ふわっと表示：画面に入ったら、下から少し浮き上がりながらフェードイン */
.rv{transition:opacity 1s cubic-bezier(.33,0,.3,1),translate 1s cubic-bezier(.25,.5,.3,1)}
.rv:not(.in){opacity:0 !important;translate:0 18px}
/* ミラクルワールドの空と絵：ずらさず、その場で同時にフェードイン */
.rv-world.rv:not(.in){translate:none}
/* 事業紹介の雲：とてもゆっくり横に流れる */
@keyframes cloud-drift{from{translate:0 0}to{translate:var(--dx,36px) 0}}
.drift-cloud{animation:cloud-drift var(--dur,22s) ease-in-out var(--dl,0s) infinite alternate}
.drift-cloud.c2{--dur:26s;--dx:-30px;--dl:-6s}
.drift-cloud.c3{--dur:19s;--dx:24px;--dl:-11s}
.drift-cloud.c4{--dur:30s;--dx:-40px;--dl:-3s}
.drift-cloud.c5{--dur:24s;--dx:28px;--dl:-14s}
@media (max-width:767px){.drift-cloud{--dx:18px}.drift-cloud.c2,.drift-cloud.c4{--dx:-18px}}
/* ミラ君の吹き出し：見えたらポンと弾んで出る（しっぽ側が起点） */
@keyframes bub-pop{0%{opacity:0;scale:.4}55%{opacity:1;scale:1.12}75%{scale:.95}100%{opacity:1;scale:1}}
.w-bub{transform-origin:12% 100%}
.w-bub:not(.in){opacity:0;scale:.4}
.w-bub.in{animation:bub-pop .7s cubic-bezier(.3,.6,.4,1) .35s both}
/* ボタン：ホバーで少し沈んで色が深くなり、押すとさらにグッとへこむ（押しごたえ） */
.press{transition:translate .15s ease,scale .15s ease,filter .15s ease}
@media (hover:hover){
  .press:not(.hv):hover{translate:0 2px;filter:brightness(.94)}
}
.press:active{translate:0 4px;scale:.96;filter:brightness(.88);transition-duration:.06s}
.press-lg:active{scale:.985}
@media (prefers-reduced-motion: reduce){
  .rv,.rv:not(.in){opacity:1 !important;translate:none;transition:none}
  .drift-cloud{animation:none}
  .w-bub,.w-bub:not(.in),.w-bub.in{opacity:1;scale:1;animation:none}
  .press:hover,.press:active{translate:none;scale:1}
  a[aria-label="ページの先頭へ戻る"]:hover{scale:1 !important}
}
/* ヘッダー・フッターのホバー：文字リンクと黒いボタンはオレンジに、SNSアイコンは少し透ける */
.hv,.hv-bg,.sns{transition:color .2s,background-color .2s,opacity .2s}
@media (hover:hover){
  .hv:hover{color:#F78D37 !important}
  .hv-bg:hover{background-color:#F78D37 !important}
  .sns:hover{opacity:.7}
  a[aria-label="ページの先頭へ戻る"]:hover{scale:1.1}
}
/* ページトップの肉球：ホバーで少し大きく */
a[aria-label="ページの先頭へ戻る"]{transition:scale .25s cubic-bezier(.3,.7,.4,1.3)}
/* ===== TOPのFVのキャラクター ===== */
/* 登場：1人ずつ下からぴょこっと弾んで出る */
@keyframes fv-in{0%{opacity:0;translate:0 24px;scale:.8}60%{opacity:1;translate:0 -4px;scale:1.04}100%{opacity:1;translate:0 0;scale:1}}
.fv-ch{transform-origin:50% 100%}
.fv-ch:not(.in){opacity:0}
.fv-ch.in{animation:fv-in .8s cubic-bezier(.3,.6,.4,1) var(--in,0s) both}
.fv-staff{--in:.3s}.fv-vet{--in:.5s}.fv-dog{--in:.7s}.fv-cat{--in:.95s}
/* ふわふわ：足元は地面につけたまま、呼吸するように少しだけ伸び縮み（キャラごとにずらす） */
@keyframes fv-breathe{0%,100%{scale:1 1}50%{scale:1.012 1.028}}
.fv-img{transform-origin:50% 100%}
.fv-staff.in .fv-img{animation:fv-breathe 3.2s ease-in-out 1.2s infinite}
.fv-vet.in .fv-img{animation:fv-breathe 3.6s ease-in-out 1.6s infinite}
.fv-dog.in .fv-img{animation:fv-breathe 2.8s ease-in-out 2s infinite}
.fv-cat.in .fv-img{animation:fv-breathe 3.4s ease-in-out 1.8s infinite}
@media (prefers-reduced-motion: reduce){
  .fv-ch,.fv-ch:not(.in),.fv-ch.in{opacity:1;animation:none}
  .fv-ch.in .fv-img{animation:none}
}
/* 事業紹介の気球（黒ねこの飛行船）：上下にゆっくりふわふわ */
@keyframes ship-float{from{translate:0 0}to{translate:0 -12px}}
.float-ship{animation:ship-float 3.2s ease-in-out infinite alternate}
@media (max-width:767px){.float-ship{animation-name:ship-float-sp}}
@keyframes ship-float-sp{from{translate:0 0}to{translate:0 -7px}}
@media (prefers-reduced-motion: reduce){.float-ship{animation:none}}
.news-empty{grid-column:1/-1;margin:0;padding:48px 16px;text-align:center;font-size:16px;font-weight:700;color:#7A756B}
a:focus-visible,button:focus-visible{outline:3px solid #359EE1;outline-offset:3px}
.map-ph{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;width:100%;height:100%;text-decoration:none;color:#202020;text-align:center;font-size:15px;line-height:1.7;background-color:#EFE9D6;background-image:linear-gradient(rgba(255,255,255,.55) 2px,transparent 2px),linear-gradient(90deg,rgba(255,255,255,.55) 2px,transparent 2px);background-size:44px 44px}
.map-pin svg{width:44px;height:44px;display:block}
.map-embed{display:block;width:100%;height:100%;border:0}
.map-b{display:inline-flex;align-items:center;min-height:44px;padding:0 22px;border-radius:999px;background:#202020;color:#fff;font-weight:700;font-size:15px}
}
