/* Five-image hero. First frame stays visible without JavaScript. */
.strength-lead.hero-slideshow {
 --hero-curve-progress:0;
 padding:0;
 border-radius:0 0 50% 50% / 0 0 calc(var(--curve) * var(--hero-curve-progress)) calc(var(--curve) * var(--hero-curve-progress));
}
.hero-slideshow .hero-stage { min-height:0; height:100vh; height:100svh; isolation:isolate; display:block; }
.hero-slides { position:absolute; inset:0; z-index:-2; }
.hero-slide { position:absolute; inset:0; opacity:0; transition:opacity 1500ms ease; overflow:hidden; }
.hero-slide.is-active { opacity:1; }
.hero-slide img { width:100%; height:100%; object-fit:cover; object-position:var(--focus,50% 50%); transform:scale(1.045); transition:transform 7500ms linear; }
.hero-slide.is-active img { transform:scale(1); }
.hero-slideshow.is-paused .hero-slide img { transition:none; }
.hero-shade { position:absolute; inset:0; z-index:-1; pointer-events:none; background:radial-gradient(ellipse 60% 45% at 50% 50%,rgba(15,20,24,.55),rgba(15,20,24,0) 100%),linear-gradient(180deg,rgba(15,20,24,.55),rgba(15,20,24,.2) 35%,rgba(15,20,24,.25) 60%,rgba(15,20,24,.6)); }  /* 真ん中の文字が写真に埋もれないよう中央を少し暗く */
/* 文字は中央に据え、文章全体の透明度だけを変える。 */
.hero-caption { position:absolute; inset:0; margin:0; padding:0 24px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; pointer-events:none; }
.hero-caption small { display:block; font:12px/1.5 monospace; letter-spacing:.3em; margin-bottom:22px; color:#fff; opacity:.85; text-shadow:0 1px 10px #0009; }
.hero-caption [data-hero-caption] { font-family:"Yuji Syuku","Yomogi",serif; font-weight:400; font-size:clamp(26px,5.2vw,72px); line-height:1.45; white-space:nowrap; letter-spacing:.06em; color:#fff; filter:drop-shadow(0 3px 18px rgba(0,0,0,.55)); }
.hero-caption__copy { display:block; animation:hero-caption-fade .9s ease-out .25s both; }
@keyframes hero-caption-fade { from { opacity:0; } to { opacity:1; } }
.hero-caption.is-leaving [data-hero-caption] { opacity:0; transition:opacity .35s ease; }
@media(max-width:767px) {
 .hero-caption small { font-size:11px; margin-bottom:14px; }
}
@media(prefers-reduced-motion:reduce) {
 .hero-slide,.hero-slide img { transition:none; }
 .hero-slide img { transform:none; }
 .hero-caption__copy { animation:none; }
 .hero-caption.is-leaving [data-hero-caption] { transition:none; }
}
