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

/* 메인 컨테이너 */
.main_api7 {position: relative;}

.main_api7 .main_container {
    position: absolute;
    left: 7.6%;
    bottom: 100px;
    width: 300px;
    height: 300px;
    padding: 35px 25px 30px;
    background-color: #006640;
    z-index: 10;
}

.main_api7 .main_container .top_cont {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.main_api7 .main_container .top_cont .title {
    font-size: 32px;
    font-weight: bold;
    color: white;
    line-height: 42px;
}

.main_api7 .main_container .top_cont .subtitle {
    font-size: 18px;
    font-weight: 400;
    color: white;
}

/* 서브 컨테이너 */
.main_api7 .sub_container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    margin-top: 72px;
}

.main_api7 .sub_box {
    width: 60.6%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

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

.main_api7 .sub_container .bottom_box .bottom_box_in .img_box {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100px;
    max-height: 100px;
}

.main_api7 .sub_container .bottom_box .bottom_box_in .text_box {
    display: flex;
    align-items: center;
}

.main_api7 .sub_container .bottom_box .bottom_box_in .text_box > span {
    width: 127px;
}

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

.main_api7 .sub_container .bottom_box .bottom_box_in .text_box .subtext {
    flex: 1;
    font-size: 18px;
    font-weight: 400;
    color: #5d5d5d;
}

/* 주소 탭만 정렬 변경 */
.main_api7 .sub_container .bottom_box:first-child .bottom_box_in {
    align-items: flex-start;
}
.main_api7 .sub_container .bottom_box:first-child .bottom_box_in .img_box {
    margin-top: 3px;
}
.main_api7 .sub_container .bottom_box:first-child .bottom_box_in .text_box {
    align-items: flex-start;
}

.main_api7 .root_daum_roughmap_landing {
    width: 100%;
    height: 500px;
}

.main_api7 .root_daum_roughmap_landing .wrap_map {
    height: 100% !important;
}

.main_api7 .cont {display: none;}

@media (max-width:991px){
    .main_api7 .main_container {
        position: absolute;
        bottom: 46%;
        left: 15px;
        width: 150px;
        height: 150px;
        padding: 20px 15px 15px 15px;
    }

    .main_api7 .main_container .top_cont {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .main_api7 .main_container .top_cont .title {
        font-size: 15px;
        font-weight: bold;
        color: white;
        line-height: 1.3;
    }

    .main_api7 .main_container .top_cont .subtitle {
        font-size: 11px;
        font-weight: 500;
        color: white;
    }

    /* 서브 컨테이너 */
    .main_api7 .sub_container {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        margin-top: 112px;
        gap: 26px;
        padding: 0 20px;
    }

    .main_api7 .sub_box {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

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

    .main_api7 .sub_container .bottom_box .bottom_box_in {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 11px;
    }

    .main_api7 .sub_container .bottom_box .bottom_box_in .img_box {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 3px;
    }

    .main_api7 .sub_container .bottom_box:nth-child(1) .bottom_box_in .img_box img {
        width: 17px;
    }

    .main_api7 .sub_container .bottom_box:nth-child(2) .bottom_box_in .img_box img {
        width: 20px;
    }

    .main_api7 .sub_container .bottom_box:nth-child(4) .bottom_box_in .img_box img {
        width: 20px;
    }



    .main_api7 .sub_container .bottom_box .bottom_box_in .text_box {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;

    }

    .main_api7 .sub_container .bottom_box .bottom_box_in .text_box > span {
        width: auto;
    }

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

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

    .main_api7 .root_daum_roughmap_landing {
        height: auto;
        aspect-ratio: 660/480;
    }
}

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

@keyframes pulse-animation-api7 {
    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_api7 .custom-infowindow {
    position: relative;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

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

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