.hero {
    margin-top: 0;
    width: 100%;
    height: 520px;
    background: url("/images/5.png") top center / contain no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    color: #fff;
    padding: 0 20px;
}

.hero-text h1 {
    margin: 0 0 18px;
    font-size: 56px;
    font-weight: 800;
}

.hero-text p {
    margin: 0 0 34px;
    font-size: 24px;
    font-weight: 500;
}

.hero-buttons,
.map-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.main {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto 60px;
}

.card {
    background: #fff;
    border-radius: 18px;
    padding: 42px;
    margin-bottom: 34px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.section-title {
    border-bottom: 1px solid #ddd;
    padding-bottom: 22px;
    margin-bottom: 24px;
}

.section-title h2,
.card h2 {
    margin: 0;
    font-size: 28px;
    color: #173b72;
}

.strong-text {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 22px;
}

.intro-image {
    margin-top: 28px;
    border-radius: 14px;
    overflow: hidden;
    background: #eee;
}

.intro-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.gallery-card {
    overflow: hidden;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 4fr 6fr;
    gap: 34px;
    align-items: center;
}

.gallery-info h2 {
    margin: 0 0 24px;
    font-size: 28px;
    color: #173b72;
}



.gallery-slider {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: #ddd;
    height: 260px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    width: max-content;
    height: 100%;
    animation: galleryRolling 35s linear infinite;
}

.gallery-slider:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-item {
    flex: 0 0 320px;
    height: 260px;
    overflow: hidden;
    border-radius: 14px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    transition: .3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@keyframes galleryRolling {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.two-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
}

.info-card {
    text-align: center;
}

.info-card h2 {
    margin-bottom: 22px;
}

.info-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 22px;
}

.map-card {
    text-align: center;
}

.map-card p {
    margin: 16px 0 26px;
    font-size: 17px;
    color: #555;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .main {
        margin: 16px auto 50px;
    }

    .hero {
        height: auto;
        aspect-ratio: 1920 / 520;
        background: url("/images/5.png") top center / contain no-repeat;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-text p {
        font-size: 19px;
    }

    .card {
        padding: 28px 22px;
    }

    .two-card-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-buttons,
    .map-buttons {
        flex-direction: column;
        align-items: center;
    }

    .gallery-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gallery-info {
        text-align: center;
    }

    .gallery-slider {
        height: 220px;
    }

    .gallery-item {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .hero {
        width: 100%;
        height: 450px;
        aspect-ratio: auto;
        background: url("/images/7.png") top center / cover no-repeat;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 32px;
    }

    .hero-text p {
        font-size: 17px;
    }

    .section-title h2,
    .card h2 {
        font-size: 20px;
        line-height: 1.4;
        word-break: keep-all;

    }

    .strong-text {
        font-size: 20px;
    }

    .intro-image img,
    .info-card img {
        height: 210px;
    }
}

/* 모바일 오시는 길 아이콘 */
.mobile-map-icons {
    display: none;
    gap: 18px;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.mobile-map-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-map-icons img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .pc-location-btn {
        display: none;
    }

    .mobile-map-icons {
        display: flex;
        flex-direction: row;
    }

    .map-buttons {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .mobile-map-icons img {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 480px) {
    .intro-card .section-title h2 {
        font-size: 19px !important;
        letter-spacing: -1px;
        line-height: 1.4;
        word-break: keep-all;
    }

    .intro-card {
        padding-left: 16px;
        padding-right: 16px;
    }
}