.mainpage {
    margin: 0 auto 0 auto;
}

/* 사진 div */
.mainpage_image {
    width: 100%;
    text-align: center;
    position: relative;
    margin-top: 150px;

}

/* 사진 */
.mainpage .introduce img {
    width: 5rem;

}

/* 사진위의 내용 전체 */
.mainpage .introduce {
    width: 100%;
    position: static;
    left: 50%;
    transform: translate(-0%, -30.625rem);
    /* -490px */
    z-index: 1;
    text-align: center;
}

/* 사진 위의 내용 중 흰색 글씨만 */
.mainpage .introduce .content {
    color: #ffffff;
    font-size: 1.875rem;
    /* 30px */
}

/* 소개 메뉴 전체 */
.mainpage .introduce .content_menuall {
    display: flex;
    position: absolute;
    top: 16.875rem;
    /* 270px */
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
}

/* 소개 메뉴 각자 */
.mainpage .introduce .content_menu {
    background-color: #F5F7EA;
    width: 10rem;
    padding-top: 1.25rem;
    font-size: 1.375rem;
    height: 7.5rem;
    cursor: pointer;
    border-radius: 5px;

}

/* 소개 메뉴 margin */
.mainpage .introduce .content_menu_margin {
    margin-right: 5rem;
    /* 80px */
}


.mapall {
    width: 75rem;
    margin: 0 auto 0 auto;
}

.mapall .directions {
    font-size: 2.1875rem;
    /* 35px */
    font-weight: 400;
}

.mapall .neo_address {
    font-size: 1.25rem;
    /* 20px */
    margin-bottom: 0.625rem;
    /* 10px */
}


.customoverlay {
    position: relative;
    bottom: 5.3125rem;
    /* 85px */
    border-radius: 0.375rem;
    /* 6px */
    border: 0.0625rem solid #ccc;
    /* 1px */
    border-bottom: 0.125rem solid #ddd;
    /* 2px */
    float: left;
    margin-top: -2.5rem;
    /* -40px */
    margin-left: 0.5625rem;
    /* 9px */
}

.customoverlay:nth-of-type(n) {
    border: 0;
    box-shadow: 0px 0.0625rem 0.125rem #888;
    /* 0px 1px 2px */
}

.customoverlay a {
    display: block;
    text-decoration: none;
    color: #000;
    text-align: center;
    border-radius: 0.375rem;
    /* 6px */
    font-weight: bold;
    overflow: hidden;
    background: #538F75;
    background: #538F75 url(https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/arrow_white.png) no-repeat right 0.875rem center;
    /* 14px */
}

.customoverlay .map_neo {
    display: block;
    text-align: center;
    background: #fff;
    margin-right: 2.1875rem;
    /* 35px */
    padding: 0.625rem 0.9375rem;
    /* 10px 15px */
    font-size: 1.125rem;
    /* 18px */
    font-weight: bold;
}

.customoverlay:after {
    content: '';
    position: absolute;
    margin-left: -0.75rem;
    /* -12px */
    left: 50%;
    bottom: -0.75rem;
    /* -12px */
    width: 1.375rem;
    /* 22px */
    height: 0.75rem;
    /* 12px */
    background: url('https://t1.daumcdn.net/localimg/localimages/07/mapapidoc/vertex_white.png')
}

.counsel_call {
    display: none;
}

/* 835px */
/* 
@media screen and (max-width: 52.1875rem) {
 
    .mainpage .introduce .content_menuall {
        display: flex;
        position: absolute;
        top: 12.5rem;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        text-align: center;
    }
} */

@media screen and (max-width: 56.25rem) {
    .mainpage_image {
        margin-top: 4.5rem;

    }

    .mainpage_image img {
        height: 9.375rem;
        /* 150px */
        width: 100%;
        margin: auto;
        display: block;
    }

    .mainpage .introduce img {
        width: 60%;
    }

    .mainpage .introduce {
        width: 90%;
        left: 0;
        right: 0;
        margin: 0 auto 0 auto;
        transform: translate(0, -60%) !important;
    }

    .mainpage .introduce .content {
        font-size: 1.1rem;
        width: 100%;
    }


    .mainpage .introduce .content_menuall {
        position: static;
        margin-left: 18%;
        left: 10px;
        right: 0;
        transform: translate(-10%, 50%);
        max-width: 80%;
        margin-top: 20px;
    }

    .mainpage .introduce .content_menu {
        height: 100%;
        font-size: 1rem;
    }

    .mainpage .introduce .content_menu_margin {
        margin-right: 0.625rem;
    }

    .mainpage .tableall {
        font-size: 1.375rem;
        margin-top: 0px;
    }

    .mapall {
        width: 100%;
    }

    .mapall .directions {
        font-size: 20px;
        font-weight: 800;
        margin: 0 5% 0 5%;
    }

    .mapall .neo_address {
        font-size: 18px;
        margin: 0 5% 10px 5%;

    }

    #map {
        width: 90% !important;
        height: 350px;
        margin: 0 5% 10px 5%;
    }

    .counsel_call{
        display: flex; /* 플렉스 컨테이너로 변경 */
        justify-content: center; /* 가로 방향 가운데 정렬 */
        align-items: center; /* 세로 방향 가운데 정렬 */
        text-align: center; /* 텍스트 가운데 정렬 */
        margin-top: -20px;
        margin-bottom: 30px;
    }

    .counsel_call img{
        width: 50px;
    }

    .counsel_call_wirte{
        margin-top: 10px;
    }
}

@media screen and (max-width: 366px) {
    .mainpage .introduce .content_menu {
        font-size: 0.7rem;

    }
}

@media screen and (max-width: 328px) {
    .mainpage .introduce {
        width: 90%;
        left: 0;
        right: 0;
        margin: 0 auto 0 auto;
        transform: translate(0, -120px) !important;
    }

    .mainpage .introduce .content_menuall {
        position: static;
        margin-left: 18%;
        left: 10px;
        right: 0;
        transform: translate(-10%, 50%);
        max-width: 80%;
        margin-top: 20px;
    }

}