/* トップページのメインビジュアル: 写真を重ねて置き、表示中の 1 枚だけを見せる（切り替えは hero-slider.js）。
   layout.css はプレビューから再生成されるので、スライド用の指定はこのファイルに分けている。 */
.hero-slides{position:relative;aspect-ratio:3/2;max-height:690px}
.hero-figure .hero-slides img{position:absolute;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;object-fit:contain;mix-blend-mode:lighten;opacity:0;transition:opacity 1.8s ease-in-out}
.hero-figure .hero-slides img.is-active{opacity:1}
.hero-figure figcaption span{transition:opacity .6s ease}
.hero-figure figcaption.is-changing span{opacity:0}
@media (width>=1800px){.hero-slides{max-height:760px}}
@media (width<=1150px){.hero-slides{max-height:570px}}
/* 縦並びになる幅では、写真を重ねているぶん枠の幅が決まらないので、横いっぱいに広げる */
@media (width<=700px){.hero-figure{align-self:stretch}.hero-slides{max-width:540px;margin:auto}}
@media (prefers-reduced-motion:reduce){.hero-figure .hero-slides img,.hero-figure figcaption span{transition:none}}
