.map_search .search_aside {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 390px;
    height: 100vh;
    background-color:#fff;
    z-index: 10005;
    border-right:1px solid #dcdcdc;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow: auto;
}

.map_search .head {
    position: relative;
    height: 56px;
    padding-inline:20px;
}

.map_search .head>.icon {
    display: block;
    width: 56px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.map_search .head>.icon:after {
    display: block;
    content:'';
    position: absolute;
    width: 24px;
    height: 24px;
    background:url(/asset/images/ico_arrow_back.svg) no-repeat center;
    top: 50%;
    margin-top: -12px;
    left:20px;
}

.map_search .body {
    padding-bottom:20px;
    position: relative;
}

.map_search .body .h1 {
    font-size:28px;
    font-weight:bold;
    line-height: 1.35;
    padding-inline:20px;
    padding-bottom: 24px;
    margin-bottom: 0;
}

.map_search .area_container {
    padding: 0 20px 20px;
} 
.map_search .study_container {
    padding: 20px;
}

.map_search .search_container {
    padding-inline:20px;
    padding-bottom: 20px;
}

.map_search .search_container .search_wrap{
    width: 100%;
    height: 46px;
    border:1px solid #000;
    border-radius: 6px;
    position: relative;
    overflow:hidden;
}

.map_search .search_container .search_wrap>button {
    display: block;
    width: 46px;
    height: 100%;
    background:url(/asset/images/ico_search.svg) no-repeat left 10px top 50%/24px;
    position: absolute;
    top: 0;
    left: 0;
}

.map_search .search_container .search_wrap>input {
    width: 100%;
    height: 100%;
    padding-block:10px;
    padding-inline:46px 10px;
    overflow:hidden;
    border:none;
    outline:0 none;
}

.map_search .area_selected {
    margin-bottom:20px;
    display: flex;
    align-items: center;
    border-left:2px solid #6743FF;
}

.map_search .area_selected>.item {
    width: 100%;
    font-size:14px;
    font-weight:regular;
    line-height: 1.57;
    color:#787878;
    text-align: center;
}

.map_search .area_selected>.icon {
    display: block;
    width: 12px;
    height: 12px;
    background:url(/asset/images/ico_arrow_bk.svg) no-repeat center;
    margin-inline:8px;
    flex-shrink:0;
    transform: scaleX(-1);
}

.map_search .area_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-width: 1px 0 0 1px;
    border-style: solid;
    border-color: #e7e7e7;
}

.map_search .area_list>li {
    height: 46px;
    text-align: center;
    font-size: 14px;
    line-height: 46px;
    border-width: 0 1px 1px 0;
    border-style: solid;
    border-color: #e7e7e7;
    box-sizing:border-boxl;
    cursor: pointer;
    transition:0.2s;
}

.map_search .area_list>li:hover {
    background:#6743FF;
    color:#fff;
}

.map_search .body .h2 {
    font-size:22px;
    font-weight:bold;
    line-height: 1.36;
    margin-bottom: 24px;
}

.map_search .study_wrap {
    display: flex;
    gap:12px;
}

.map_search .study_wrap>li {
    width: 25%;
}

.map_search .study_wrap>li>a {
    display: block;
    font-size:12px;
    font-weight:medium;
    line-height: 1.16;
    text-align: center;
    color:inherit;
}

.map_search .study_wrap>li>a:before {
    display: block;
    content:'';
    width: 42px;
    height: 42px;
    background-repeat:no-repeat;
    background-position: center;
    background-size:100%;
    margin:0 auto 8px;
}

.map_search .study_wrap>li>.ico_apart:before {
    background-image:url(/asset/images/ico_apart.svg);
}
.map_search .study_wrap>li>.ico_cscenter:before {
    background-image:url(/asset/images/ico_community_service_center.svg);
}
.map_search .study_wrap>li>.ico_doffice:before {
    background-image:url(/asset/images/ico_district_office.svg);
}
.map_search .study_wrap>li>.logo_mg_symbol:before {
    background-image:url(/asset/images/logo_mg_symbol.svg);
}
.map_search .study_wrap>li>.ico_pcomparison:before {
    background-image:url(/asset/images/ico_price_comparison.svg);
}

.map_search .foot {
    background-color: #f1f1f1;
    padding:20px;
    font-size:12px;
    line-height: 1.16;
    color:#787878;
    text-align: center;
}

.map_search .foot_menu {
    display: flex;
    justify-content: center;
    margin-bottom: 6px;
}

.map_search .foot_menu>li:not(:last-child):after {
    display: inline-block;
    content:'';
    width: 1px;
    height: 10px;
    background-color: #c6c6c6;
    margin-inline:12px;
}

.map_search .foot_menu a {
    color:inherit;
}

.map_search .app_download {
    color: #6743FF!important;
    font-weight:bold;
}

.map_search .foot address {
    margin-bottom: 0;
}

.map_search .map_container {
    position:fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width:calc(100% - 390px);
    height: 100vh;
    background:silver;
    z-index: 10000;
}

.map_search .filter_container {
    position: absolute;
    top: 118px;
    left: 20px;
    z-index: 10001;
}

.map_search .filter_wrap {
    display: flex;
    flex-direction:column;
    gap:8px;
}

.map_search .filter_wrap>button{
    padding:6px 10px;
    background:#fff;
    border-radius:8px;
    border:1px solid #F5F5F5;
    font-size:14px;
    line-height: 1.57;
    text-align: center;
    transition:0.2s;
}

.map_search .filter_wrap>button:hover{
    background:#ebebeb;
}

.map_search .filter_wrap>button.on {
    background:#000;
    color:#fff;
}

.map_search .map_marker {
    width: 70px;
    text-align: center;
    position: relative;
    margin-bottom: 16px;
}

.map_search .map_marker .top, 
.map_search .map_marker .bt {
    display: block;
    padding:2px 4px;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.map_search .map_marker .top {
    font-size:12px;
    line-height: 1.6;
    background:#fff;
    border-radius:8px 8px 0 0;
    border:1px solid #111;
    border-bottom:none;
}

.map_search .map_marker .bt {
    font-size:10px;
    line-height: 1.8;
    background:#111;
    color:#fff;
    border-radius:0 0 8px 8px;
}

.map_search .map_marker:after {
    display: block;
    content:'';
    border: 8px solid transparent;
    border-top-color: #111;
    position: absolute;
    left: 50%;
    margin-left: -8px;
    bottom: -16px;
}

/* 검색결과 */
/* .map_search_result .head,
.map_search_result .h1,
.map_search_result .search_container {
    position:sticky;
    background: #fff;
    z-index: 1;
}

.map_search_result .head {
    top: 0;
}

.map_search_result .h1 {
    top: 56px;
}

.map_search_result .search_container {
    top: 118px;
    border-bottom: 1px solid #ddd;
} */

.map_search .store_list>li{
    padding: 20px;
    color: #787878;
    font-size: 14px;
    line-height: 1.57;
    border-bottom:1px solid #ddd;
    padding-left: 46px;
    position: relative;
    cursor: pointer;
    transition:0.2s;
}

.map_search .store_list>li:hover {
    background-color: rgba(102, 67, 255, 0.05);
}


.map_search .store_list>li:before {
    display: block;
    content:'';
    width: 20px;
    height: 20px;
    position: absolute;
    top: 24px;
    left: 20px;
    background:url(/asset/images/ico_map_marker_p.svg) no-repeat center/100%;
}

.map_search .store_list>li .name {
    font-size:16px;
    font-weight: bold;
    line-height: 1.5;
    color: #1e1e1e;
    margin-bottom: 4px;
}

/* 페이지네이션 */
.map_search .pagination_container {
    /* position: absolute;
    left: 0;
    bottom: 0;
    width: 100%; */
    padding:8px 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.map_search .pagination {
    padding: 0;
}

.map_search .pagination .page-link{
    border-color:transparent;
}

.map_search .search_result .store_list::-webkit-scrollbar {
    width: 10px;
}
.map_search .search_result .store_list::-webkit-scrollbar-thumb {
    background-color: #dddddd;
    border-radius: 10px;
}
.map_search .search_result .store_list::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 10px;
}

.map_search .search_aside:has(.search_result){
    overflow: hidden;
}

.map_search .search_result {
    height: 100vh;
}

.map_search .search_result .store_list{
    height: calc(100% - 110px);
    overflow-y: auto;
}

.map_search .search_result .pagination_container {
    position: sticky;
    bottom: 0;
}

@media screen and (max-width:400px){
    .map_search .search_aside {
        width: 100%;
    }

    .map_search .map_container {
        display: none;
    }
}