.p-front-hero { position: relative; min-height: var(--hero-height-pc, 620px); overflow: hidden; background: #293241; color: #fff; }
.p-front-hero__slides { position: absolute; inset: 0; }
.p-front-hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s ease; }
.p-front-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.p-front-hero__slide::after { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--hero-overlay, .35)); pointer-events: none; }
.p-front-hero__image { position: absolute; inset: 0; }
.p-front-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-front-hero__photo { width: 100%; height: 100%; object-fit: cover; }
.p-front-hero__inner { position: relative; z-index: 1; padding-block: 90px; }
.p-front-hero__title { max-width: 820px; font-size: clamp(2rem, 5vw, 4.5rem); line-height: 1.2; }
.p-front-hero__text { max-width: 720px; margin-top: 24px; font-size: 1.125rem; }
.p-front-hero__button { margin-top: 32px; }
.p-front-hero--align-center .p-front-hero__inner { text-align: center; }
.p-front-hero--align-right .p-front-hero__inner { text-align: right; }
.p-front-hero--align-center :is(.p-front-hero__title, .p-front-hero__text) { margin-inline: auto; }
.p-front-hero--align-right :is(.p-front-hero__title, .p-front-hero__text) { margin-left: auto; }
.p-front-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-block: 48px; }
.p-front-boxes__item { position: relative; display: grid; align-items: end; min-height: 240px; overflow: hidden; background: #293241; color: #fff; }
.p-front-boxes__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent, rgba(0,0,0,.65)); }
.p-front-boxes__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-front-boxes__item span { position: relative; z-index: 1; padding: 20px; font-weight: 700; }
.p-front-hero__controls { position: absolute; inset-inline: 0; bottom: 24px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.p-front-hero__controls button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; font: inherit; cursor: pointer; }
.p-front-hero__controls button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.p-front-hero__dots { display: flex; align-items: center; gap: 8px; }
.p-front-hero__dots button { width: 14px; height: 14px; }
.p-front-hero__dots button[aria-current="true"] { background: #fff; }
.p-front-hero__controls button[hidden] { display: none; }
@media (max-width: 768px) {
    .p-front-hero { min-height: var(--hero-height-sp, 540px); }
    .p-front-boxes { grid-template-columns: 1fr; }
    .p-front-boxes__item { min-height: 190px; }
    .p-front-hero__inner { padding-block: 75px; }
    .p-front-hero__controls { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .p-front-hero__slide { transition: none; } }
.p-front-hero .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-width: 768px) {
    .p-front-hero__title, .p-front-hero__text { overflow-wrap: anywhere; }
    .p-front-hero__title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
    .p-front-hero__inner { min-width: 0; padding-block: 60px 90px; }
    .p-front-hero__controls { flex-wrap: wrap; }
}
