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

/* 메인 컨테이너 */
.main_api6 .main_container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 86px;
}

.main_api6 .main_container .top_cont .title {
    font-size: 48px;
    font-weight: bold;
    color: #0c0c0c;
    line-height: 65px;
}

.main_api6 .main_container .top_cont .subtitle {
    font-size: 20px;
    font-weight: 400;
    color: #0c0c0c;
    margin-top: 25px;
}

.main_api6 .main_container .bottom_cont {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main_api6 .main_container .bottom_cont .more_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 21px;
}

.main_api6 .main_container .bottom_cont .more_btn h5 {
    font-weight: 600;
    color: #5d5d5d;
    font-size: 24px;
}

.main_api6 .main_container .bottom_cont .more_btn span {
    border-radius: 50%;
    background-color: #03c75a;
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_api6 .main_container .bottom_cont .more_btn:nth-child(2) span {
    background-color: var(--main-point-btn-bg-color-hover);
}

.main_api6 .map_box {
    border-radius: 25px;
    overflow: hidden;
}

.main_api6 .map_box iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 1400 / 500;
}


/* 서브 컨테이너 */
.main_api6 .sub_container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 80px;
}

/* 실 프로젝트에서는 width:25%로 해주세요.
.main_api6 .sub_container .bottom_box {
    width: 25%;
}
*/ 

.main_api6 .sub_container .bottom_box:nth-child(2) {
        margin-left: 95px;
}

.main_api6 .sub_container .bottom_box:nth-child(3) {
        margin-left: 90px;
}

.main_api6 .sub_container .bottom_box:nth-child(4) {
        margin-left: 70px;
}


.main_api6 .sub_container .bottom_box .bottom_box_in {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 39px;
}

.main_api6 .sub_container .bottom_box .bottom_box_in .img_box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    box-shadow: -2.30px 1.93px 32px 0px rgba(0, 0, 0, 0.15);
    background-color: #fbfbfb;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main_api6 .sub_container .bottom_box .bottom_box_in .text_box {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main_api6 .sub_container .bottom_box .bottom_box_in .text_box .text {
    font-size: 25px;
    font-weight: bold;
    color: #0c0c0c;
}

.main_api6 .sub_container .bottom_box .bottom_box_in .text_box .subtext {
    font-size: 18px;
    font-weight: 400;
    color: #0c0c0c;
}



@media (max-width:991px){

    .main_api6 .main_container {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .main_api6 .main_container .top_cont .title {
        font-size: 31px;
        line-height: 40px;
    }

    .main_api6 .main_container .top_cont .subtitle {
        font-size: 15px;
        margin-top: 20px;
    }

    .main_api6 .main_container .bottom_cont {
        gap: 30px;
        margin-top: 37px;
    }

    .main_api6 .main_container .bottom_cont .more_btn {
        gap: 10px;
    }

    .main_api6 .main_container .bottom_cont .more_btn h5 {
        font-size: 15px;
    }

    .main_api6 .main_container .bottom_cont .more_btn span {
        width: 35px;
        height: 35px;
    }

    .main_api6 .main_container .bottom_cont .more_btn span > img {
        width: 40%;
    }

    /* 맵 박스 */
    .main_api6 .map_box {
        border-radius: 10px;
    }
    
    .main_api6 .map_box iframe {
        aspect-ratio: 660 / 450;
    }

    /* 서브 컨테이너 */
    .main_api6 .sub_container {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        margin-top: 35px;
        gap: 15px;
    }

    .main_api6 .sub_container .bottom_box {
        width: 100%;
    }

    .main_api6 .sub_container .bottom_box:nth-child(2) {
        margin-left: 0;
    }

    .main_api6 .sub_container .bottom_box:nth-child(3) {
        margin-left: 0;
    }
    .main_api6 .sub_container .bottom_box:nth-child(4) {
        margin-left: 0;
    }

    .main_api6 .sub_container .bottom_box .bottom_box_in {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 30px;
    }

    .main_api6 .sub_container .bottom_box .bottom_box_in .img_box {
        width: 76px;
        height: 76px;
        border-radius: 12px;
        box-shadow: -1.53px 1.29px 19px rgba(140, 140, 140, 0.15);
        mix-blend-mode: multiply;
    }

    .main_api6 .sub_container .bottom_box:nth-child(1) .bottom_box_in .img_box > img {
        height: 35px;
        margin-top: -4px;
    }
    .main_api6 .sub_container .bottom_box:nth-child(2) .bottom_box_in .img_box > img {
        height: 31px;
    }
    .main_api6 .sub_container .bottom_box:nth-child(3) .bottom_box_in .img_box > img {
        height: 34px;
    }
    .main_api6 .sub_container .bottom_box:nth-child(4) .bottom_box_in .img_box > img {
        height: 41px;
    }


    .main_api6 .sub_container .bottom_box .bottom_box_in .text_box {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .main_api6 .sub_container .bottom_box .bottom_box_in .text_box .text {
        font-size: 18px;
    }

    .main_api6 .sub_container .bottom_box .bottom_box_in .text_box .subtext {
        font-size: 16px;
        font-weight: 400;
        color: #5d5d5d;
    }

}

/* 카카오맵 마커 펄스 애니메이션 */
.main_api6 .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_api6 .custom-infowindow {
    position: relative;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.main_api6 .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_api6 .custom-infowindow .infowindow-inner {
    position: relative;
    padding: 15px 40px 15px 15px;
}

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

.main_api6 .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_api6 .custom-infowindow .infowindow-close:hover {
    color: #ccc;
}
