/*
(주)파이브센스_FIVESENSES.Corp.
파이브프로_FIVEPro_웹솔루션.
본 라이브러리(소스코드 및 디자인 포함)는 (주)파이브센스의 자산이며, 저작권법 및 부정경쟁방지법에 의해 보호됩니다.
무단 사용, 외부 유출, 복제, 배포, 변형을 금지합니다.
위반 시 민·형사상 법적 책임 및 손해배상 청구 대상이 됩니다.
작성일: 2025-03-18 | 저작권자: (주)파이브센스(520-86-01244) | All Rights Reserved.
*/

/* 메인 컨테이너 */
.main_api1 .container_fix {
    overflow: visible;
    max-width: 100%;
    padding: 0;
}

.main_api1 .main_container .title {
    font-size: 64px;
    font-weight: bold;
    color: #000000;
    line-height: 38px;
}


/* 서브 컨테이너 */
.main_api1 .sub_container .list_box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 80px;
}

.main_api1 .cont_box {
    max-width: 100%;
    min-width: 410px;
    margin-left: 0;
    padding-top:3px;
}

.main_api1 .map_box {
    width:100%;
}

.main_api1 .text {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    color: var(--main-point-color);
    font-family: 'unna', serif;
}

.main_api1 .info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
    align-items: flex-start;
    margin-top: 84px;
    padding-left:2px;
}

.main_api1 .info .info_section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main_api1 .info .info_section .info_text {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    font-family: 'unna', serif;
}

.main_api1 .info .info_section .info_subtext {
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    font-family: 'ChosunSm', serif;
}

@media (max-width:991px){
    .main_api1 .sub_container .list_box {
        flex-direction: column;
        gap: 60px;
    }

    .main_api1 .cont_box {
        max-width: 100%;
        min-width: 100%;
        margin-left: 0;
        padding: 0 17px;
    }

    .main_api1 .map_box {
        width:100%;
    }

    .main_api1 .text {
        font-size: 31.5px;
        margin-bottom: 48px;
    }

    .main_api1 .info {
        display: flex;
        flex-direction: column;
        gap: 26px;
        justify-content: center;
        align-items: flex-start;
        margin-top: 0;
        padding: 0;
    }

    .main_api1 .info .info_section {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .main_api1 .info .info_section .info_text {
        font-size: 18.5px;
    }

    .main_api1 .info .info_section .info_subtext {
        font-size: 15px;

    }
}

/* 카카오맵 마커 펄스 애니메이션 */
.main_api1 .map-pulse-marker {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: rgba(36, 91, 246, 0.3);
    border: 2px solid rgba(36, 91, 246, 0.6);
    transform: translate(-50%, -50%);
    animation: pulse-animation 2s ease-out infinite;
    pointer-events: none;
}

@keyframes pulse-animation {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
}

/* 카카오맵 커스텀 말풍선 (검은색 배경) */
.main_api1 .custom-infowindow {
    position: relative;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main_api1 .custom-infowindow::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #000;
}

.main_api1 .custom-infowindow .infowindow-inner {
    position: relative;
    padding: 15px 40px 15px 15px;
}

.main_api1 .custom-infowindow .infowindow-address {
    font-size: 13px;
    color: #fff;
    line-height: 1.5;
    word-break: keep-all;
}

.main_api1 .custom-infowindow .infowindow-close {
    position: absolute;
    top: 47%;
    transform: translateY(-50%);
    right: 10px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main_api1 .custom-infowindow .infowindow-close:hover {
    color: #ccc;
}
