/* =====================
   Hero
===================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

/* スライドショー */
.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 12s infinite;
}

.hero__slide:nth-child(1) {
    background-image: url('../images/hero-bg-1.jpg');
    animation-delay: 0s;
}

.hero__slide:nth-child(2) {
    background-image: url('../images/hero-bg-2.jpg');
    animation-delay: 4s;
}

.hero__slide:nth-child(3) {
    background-image: url('../images/hero-bg-3.jpg');
    animation-delay: 8s;
}

@keyframes heroFade {
    0%     { opacity: 0; }
    10%    { opacity: 1; }
    33%    { opacity: 1; }
    43%    { opacity: 0; }
    100%   { opacity: 0; }
}


.hero__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    color: var(--color-white);
}

.hero__sub {
    font-size: var(--font-size-sm);
    letter-spacing: 0.2em;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.hero__title {
    font-family: var(--font-family-heading);
    font-size: var(--font-size-h1);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-lg);
}

.hero__desc {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
}

.hero__btns {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__outline-white {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}


/* =====================
   Responsive
===================== */
@media (max-width: 768px) {
    .hero {
        height: 100svh;
        min-height: 500px;
    }

    .hero__title {
        font-size: var(--font-size-h2);
    }

    .hero__desc {
        font-size: var(--font-size-sm);
    }

    .hero__btns {
        flex-direction: column;
    }
}