.dim_layer{
    display: none; /* Initially hidden */
}

.dim_layer > .background{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

.dim_layer > .non-background{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.dim_layer > .content {
    position: fixed;
    bottom: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 640px;
    background-color: white;
    z-index: 1300;
    transition: transform 0.3s ease-out;
}

.dim_layer > .content.background-color-none{
    background: none;
}

.dim_layer > .content.center{
    top: 16%
}

.radius-top-left-20 {
    border-top-left-radius: 20px;
}

.radius-top-right-20{
    border-top-right-radius: 20px;
}

/* 회원가입 하단 dim */
.dim-layer-register{
    display: flex;
    gap:20px;
    flex-direction: column;
    background: url(../css/images/dim_background_register.png) lightgray 50% / cover no-repeat;
    padding : 32px 30px 16px 30px;
}

.dim-layer-register > .title{
    color: #000;
    text-align: center;
    word-break: keep-all;
    font-family: "Noto Sans";
    font-style: normal;
    font-size :  22px;
    line-height: 120%; /* 28.8px */
    letter-spacing: -0.96px;
}

.dim-layer-register > .description_wrapper{
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 0px;
    gap: 16px;
    align-self: stretch;
}

.dim-layer-register > .description_wrapper > .description{
    display: flex;
    padding: 20px 24px;
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    border-radius: 8px;
    font-size: 18px;
    border: 1px solid #FFF;
    background: rgba(254, 254, 254, 0.90);
    box-shadow: 0 0 13px 0 rgba(0, 0, 0, 0.15);
}


.dim-layer-register > .description_wrapper > .description >.subtitle {
    font-size: 16px;
}


.dim-layer-register > .button_wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
    gap: 16px;
    align-self: stretch;
}

.dim-layer-register > .button_wrapper > .agree_button{
    border-radius: 8px;
    background: #1C6EE8;
    display: flex;
    padding: 15px 0;
    justify-content: center;
    align-items: center;
    color : #FFFFFF;
    width: 100%;
    border: none;
    text-align: center;
    font-family: "Noto Sans KR";
    font-style: normal;
    line-height: 120%; /* 20.4px */
    letter-spacing: -1px;
}

.dim-layer-register > .button_wrapper > .close_button{
    color: #717171;
    cursor: pointer;
    font-family: "Apple SD Gothic Neo";
    font-style: normal;
    line-height: normal;
}

/* 간편 검색 광고 팝업 */
.search_area_ad{
    max-width: 620px;
    margin: 0 auto;
    border-radius: 5px;
    background: #FFF;
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.30);
}

.search_area_ad > .img_wrapper {
    position: relative;
}

.search_area_ad > .img_wrapper > a > img{
    width: 100%;
    height: 100%;
}

.search_area_ad > .img_wrapper > svg{
    position: absolute;
    top: 16px;
    right: 16px;
    width: 1.3889vw;
    height: auto;
    min-width: 14px;
}

.search_area_ad > .description_wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 15px 0 0 0;
}

.search_area_ad > .description_wrapper > button{
    padding: 8px 10px 12px 10px;
    border : none;
    border-radius: 8px;
    height: 44px;
    background: #1C6EE8;
    color: #FFFFFF;
    width: 90%
}

.search_area_ad > .description_wrapper > .landing_btn_wrapper{
    display: flex;
    justify-content: flex-end;
    /*height: 48px;*/
    gap:0.6944vw;
    align-items: center;
    margin: 0 auto;
    width: 90%;
    cursor: pointer;
    padding-bottom: 10px;
}

.search_area_ad > .description_wrapper > .landing_btn_wrapper > svg{
    width:9px;
    height: auto;
    margin-top: 2px;
}


.search_area_ad > .description_wrapper > .landing_btn_wrapper > .landing_btn{
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #000000;
    height: 36px;
    gap:3px;
    padding:5px 20px;
    border-radius: 20px;
}

@media screen and (max-width: 549px){
    .dim-layer-register{
        padding : 5.8288vw 5.4645vw;
        gap: 3.6430vw;
    }

    .dim-layer-register > .title{
        font-size: 4.3716vw;
    }

    .dim-layer-register > .title.business{
        font-size: 4.2716vw;
    }

    .dim-layer-register > .description_wrapper{
        gap: 2.9144vw;
    }

    .dim-layer-register > .description_wrapper > .description{
        padding: 1.8215vw 2.1858vw;
        font-size: 3.2787vw
    }

    .dim-layer-register > .description_wrapper > .description.business{
        font-size: 3.0787vw;
    }

    .dim-layer-register > .description_wrapper > .description >.subtitle {
        font-size: 3.2787vw;
    }

    .dim-layer-register > .button_wrapper{
        gap:2.1858vw;
    }

    .dim-layer-register > .button_wrapper > .agree_button{
        padding: 3.6430vw 0;
    }

    .search_area_ad > .description_wrapper > .landing_btn_wrapper > .landing_btn{
        display: flex;
        align-items: center;
        justify-content: center;
        padding:5px 8px;
        gap : 2px;
    }
    .search_area_ad > .description_wrapper > .landing_btn_wrapper{
        font-size: 3vw;
    }
    .search_area_ad > .description_wrapper > .landing_btn_wrapper > svg{
        width:7px;
        margin-left: 3px;
    }
    .search_area_ad > .description_wrapper > button{
        font-size: 4vw;
        padding: 8px 10px;
    }
}

@media screen and (max-width: 640px){
    .search_area_ad_wrapper{
        padding: 0 4.8387vw;
    }
}

@media (min-width: 550px) and (max-width: 601px){
    .dim-layer-register > .description_wrapper > .description{
        padding: 1.8215vw 2.1858vw;
        font-size: 2.9900vw
    }
}