body {
    scroll-behavior: smooth;
}

.hero-section {
    height: calc(100vh - 80px);
}

.swiper-button-next,
.swiper-button-prev {
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.swiper-pagination-bullet-active {
    background-color: #003495;
}

.hero-swiper .swiper-pagination-bullet-active {
    background-color: #FFFFFF;
}

.hero-section.hero-section--sample {
    height: auto;
    min-height: calc(73vh - 80px);
    padding: 0.75rem 0 6.25rem;
}

.hero-section--sample .hero-overlay-layout {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
    pointer-events: none;
}

.hero-section--sample .hero-overlay-layout > * {
    pointer-events: auto;
}

.hero-overlay-actions {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
}

.hero-overlay-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.78);
    color: #1f2937;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-overlay-card-body {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
}

.hero-overlay-card-copy {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.hero-overlay-image-wrap {
    overflow: hidden;
    border-radius: 0.9rem;
    flex: 0 0 5rem;
    width: 5rem;
    min-height: 5rem;
    aspect-ratio: 1 / 1;
    background: rgba(255, 255, 255, 0.25);
}

.hero-overlay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.28);
}

.hero-overlay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.25rem 0.55rem;
    border-radius: 9999px;
    background: #003495;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hero-overlay-icon--high-school {
    background: var(--color-high-school);
}

.hero-overlay-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.hero-overlay-text {
    font-size: 0.76rem;
    line-height: 1.4;
    color: #4b5563;
}

.hero-overlay-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    font-weight: 700;
    font-size: 0.78rem;
    color: #003495;
}

.hero-overlay-link:hover {
    text-decoration: underline;
}

.hero-overlay-pagination {
    position: static;
    margin-top: 1rem;
    text-align: center;
}

.hero-overlay-pagination .swiper-pagination-bullet {
    width: 0.75rem;
    height: 0.75rem;
    background: rgba(255, 255, 255, 0.55);
    opacity: 1;
}

.hero-overlay-pagination .swiper-pagination-bullet-active {
    background: #ffffff;
}

.hero-overlay-dock {
    position: relative;
    z-index: 30;
    max-width: 1440px;
    margin: -11rem auto 0;
    padding: 0 1rem;
}

.hero-overlay-panel {
    transform: none;
}

.hero-overlay-dock + #progress {
    margin-top: -11rem;
    padding-top: 16rem;
}

@media (max-width: 767px) {
    .hero-section--sample .hero-overlay-layout {
        padding: 0 3.25rem;
    }

    .hero-section--sample h1 {
        width: 100%;
        font-size: 1.78rem !important;
        padding-left: 0.35rem;
        padding-right: 0;
    }
}

@media (max-width: 380px) {
    .hero-section.hero-section--sample {
        padding-top: 0.5rem;
    }

    .hero-section--sample h1 {
        font-size: 1.7rem !important;
        padding-left: 0.25rem;
        padding-right: 0;
    }

    .hero-overlay-dock {
        margin-top: -8.5rem;
    }

    .hero-overlay-dock + #progress {
        margin-top: -8.5rem;
        padding-top: 13.5rem;
    }
}

@media (min-width: 768px) {
    .hero-section.hero-section--sample {
        min-height: calc(86vh - 80px);
        padding: 4.5rem 0 8rem;
    }

    .hero-overlay-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .hero-overlay-card {
        gap: 0.9rem;
        padding: 1.9rem;
    }

    .hero-overlay-card-body {
        flex-direction: row;
        align-items: stretch;
        gap: 1.25rem;
    }

    .hero-overlay-card-copy {
        flex: 1 1 58%;
        gap: 0.9rem;
    }

    .hero-overlay-image-wrap {
        flex: 0 0 36%;
        width: auto;
        min-height: auto;
        aspect-ratio: auto;
    }

    .hero-overlay-icon {
        padding: 0.35rem 0.7rem;
        font-size: 0.75rem;
    }

    .hero-overlay-title {
        font-size: 1.8rem;
        line-height: 1.4;
    }

    .hero-overlay-text {
        font-size: 1rem;
        line-height: 1.8;
    }

    .hero-overlay-link {
        font-size: 1rem;
    }

    .hero-overlay-pagination {
        margin-top: 1.75rem;
    }

    .hero-overlay-dock {
        margin-top: -12rem;
    }

    .hero-overlay-dock + #progress {
        margin-top: -10rem;
        padding-top: 15.5rem;
    }
}
