/* 見本8「ひまわり畑 ＋ 透ける背景 ＋ 大きなひまわり」：見本4の作りに、見本7の背景を重ね、トップにロゴ風の大きなひまわり */
/* トップの小さなひまわり畑と、写真の下の言葉の帯は出さない（林さん指示）。フッターの上のひまわり畑は見本4と同じく出す */
.fx4-field.hero,.fx4-marquee{display:none!important}
/* 波と黄色い区間は、見本4と同じ濃さに戻す（背景が透けて薄く見えていたため） */
.sec.alt{background:linear-gradient(180deg,rgba(252,231,168,.94) 0%,rgba(251,240,214,.92) 100%)}
.fx4-wave path{fill:rgba(252,231,168,.96)}
.fx4-wave svg.back path{fill:rgba(245,183,48,.8)}
/* フッターは軽く（少し明るいオリーブで、畑がうっすら透ける） */
.site-foot{background:rgba(95,110,58,.78)}
.fx4-field.foot{background:linear-gradient(180deg,rgba(255,248,231,0),rgba(252,231,168,.85))}
.fx4-marquee{background:rgba(245,183,48,.92)}
/* トップの大きなひまわり（花びらだけゆっくり回り、中央の「井」は止まったまま） */
.hero-box{isolation:isolate}
.fx8-sun{position:absolute;right:-30px;bottom:-24px;width:min(40vw,400px);z-index:2;pointer-events:none;filter:drop-shadow(0 16px 30px rgba(59,42,26,.35))}
.fx8-sun img{width:100%;height:auto;display:block;transform-origin:50% 60%;animation:fx8-sway 7s ease-in-out infinite alternate}
.fx8-sun svg{width:100%;height:auto;display:block;overflow:visible}
.fx8-sun .pet{transform-origin:50% 50%;animation:fx8-spin 150s linear infinite}
@keyframes fx8-spin{to{transform:rotate(360deg)}}
.fx8-mini svg{width:100%;height:100%;overflow:visible}
@keyframes fx8-sway{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
.hero-box .vcopy,.hero-box .en-note{z-index:3}
@media (max-width:600px){.fx8-sun{width:60vw;right:-16vw;bottom:auto;top:-12vw}}
/* 見出しのそばの小さなひまわりも同じ顔に（見本3と同じ位置） */
.fx8-mini{display:inline-block;width:34px;height:34px;vertical-align:-7px;margin-right:10px;transform:scale(0) rotate(-60deg);opacity:0;transition:transform 1s cubic-bezier(.2,1.4,.4,1),opacity .4s}
.fx-r.in .fx8-mini,.fx8-mini.in{transform:none;opacity:1}
.fx8-mini img{width:100%;height:100%;display:block}
/* ── 押した所でひまわりが「ぽんっ」と咲く（ページが変わらないボタン用） ── */
.fx8-pop{position:fixed;z-index:96;width:64px;height:64px;margin:-32px 0 0 -32px;pointer-events:none;animation:fx8-pop .55s cubic-bezier(.2,1.2,.4,1) forwards}
.fx8-pop svg,.fx8-pop img{width:100%;height:100%;display:block;overflow:visible}
@keyframes fx8-pop{0%{transform:scale(0) rotate(-40deg);opacity:0}45%{transform:scale(1.05) rotate(0);opacity:1}100%{transform:scale(1.25) rotate(10deg) translateY(-14px);opacity:0}}
/* ── ページが変わるときは、ひまわり色の円がめくれる（見本3と同じ） ── */
.fx8-wipe{position:fixed;z-index:95;left:0;top:0;width:100vmax;height:100vmax;margin:-50vmax 0 0 -50vmax;border-radius:50%;background:var(--accent,#F5B730);transform:scale(0);pointer-events:none;will-change:transform,opacity}
.fx8-wipe.go{animation:fx8-wipe-in .42s cubic-bezier(.4,0,.6,1) forwards}
.fx8-wipe.out{animation:fx8-wipe-out .5s ease-out forwards}
@keyframes fx8-wipe-in{to{transform:scale(1.5)}}
@keyframes fx8-wipe-out{from{transform:scale(1.5);opacity:1}to{transform:scale(1.5);opacity:0}}
.fx8-wipe .f{position:absolute;left:50%;top:50%;width:140px;height:140px;margin:-70px 0 0 -70px;transform:scale(.66)}
.fx8-wipe .f svg,.fx8-wipe .f img{width:100%;height:100%;display:block;overflow:visible;animation:fx8-spin 6s linear infinite}
/* ── トップの帯：事業所の空きが順番に入れ替わる ── */
.pillbar .st span:nth-child(2){transition:opacity .35s}
.pillbar .st.fx8-fade span:nth-child(2){opacity:0}
.pillbar .dot.ok{background:#7BC67E}.pillbar .dot.few{background:#F5B730}.pillbar .dot.full{background:#C9A27A}
/* 事業所ページの上の写真：少し小さめに、右下に */
.fhero .container{isolation:isolate}
.fhero .fx8-sun.small{right:calc(20px - 30px);bottom:-20px;width:min(30vw,300px)}
@media (max-width:600px){.fhero .fx8-sun.small{width:48vw;right:-8vw;bottom:auto;top:-8vw}}

/* 見本10・11：ヘッダーのロゴを元のロゴ画像に */
.logo.has-img{gap:0;padding:2px 0}
.logo .fx8-logo{display:block;height:66px;width:auto;max-width:min(60vw,280px);object-fit:contain}
@media (max-width:600px){.logo .fx8-logo{height:50px}}

/* 飾りのひまわりが画面の右にはみ出しても、ページが横に動かないようにする（スマートフォンで、下の「電話・見学を予約・LINE」の帯の右が切れていた。2026-11-28） */
html,body{overflow-x:clip}
@supports not (overflow-x:clip){body{overflow-x:hidden}}
