@font-face {
    font-family: 'SBAggroL';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroL.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'SBAggroM';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroM.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'SBAggroB';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}
*{
    letter-spacing: -0.04em;
}
html, body{
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    -webkit-text-size-adjust : none;  /* 크롬, 사파리, 오페라 신버전 */
    -ms-text-size-adjust : none;  /* IE */
    -moz-text-size-adjust : none;  /* 파이어폭스 */
    -o-text-size-adjust : none;  /* 오페라 구버전 */
    color: #303139;
}
::-webkit-scrollbar{
    display: none;
}
h1{
    font-size: 24px;
    font-weight: bold;
    color: #1F2026;
    margin-bottom: 24px;
    text-align: center;
}
h2{
    font-size: 20px;
    font-weight: bold;
    color: #1F2026;
}
b{
    font-weight: bold;
}
body{
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    background: #F6F6F8;
}
main{
    width: calc(100% - 40px);
    min-height: calc(100vh - 102px);
    background: #fff;
    padding: 16px 20px;
    position: relative;
}
section{
    margin-bottom: 40px;
}
a:link,
a:visited,
a:active,
a:hover{
    text-decoration: none;
    color: #303139;
}
.none{
    color: #AFB0BF !important;
}
.inquiry{
    color: #6F7182;
}
.focus{
    color: #165FFF !important;
}

/* top */
.btn_top{
    width: 100%;
    max-width: 700px;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    display: flex;
    justify-content: flex-end;
}
.btn_top > a{
    font-size: 11px;
    font-weight: bold;
    color: #303139;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,15%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

/* kakao */
.btn_kakao {
    width: 100%;
    max-width: 700px;
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    display: flex;
    justify-content: flex-end;
}

.btn_kakao > a {
    font-size: 11px;
    font-weight: bold;
    color: #303139;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,15%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.btn_kakao img {
    border-radius: 50%;
    width:50px;
}

/* header */
header{
    background: #fff;
    border-bottom: 1px solid #EDEDF2;
    height: 70px;
    overflow: hidden;
}
header > div{
    font-size: 18px;
    font-weight: 500;
    width: calc(100% - 32px);
    display: flex;
    height: 100%;
    justify-content: flex-start;
    align-items: center;
    padding: 0 16px;
    position: relative;
}
header > div > div{
    margin-left: 5px;
}
header > div img{
    cursor: pointer;
}
header .header_inner2 a{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50% ,-50%);
}

/* db */
.btn_db_box{
    display: none;
}
.db_box{
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    margin-left: 520px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.db_box .tit{
    font-size: 12px;
    color: #165FFF;
    background: #E8EDFE;
    padding: 13px 16px;
}
.db_box .tit > div{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: 20px;
}
.db_box .tit dt{
    font-size: 16px;
    font-weight: bold;
    color: #1F2026;
    margin-top: 2px;
}
.db_box .tit > img{
    position: absolute;
    top: 26px;
    right: 0;
}
.db_box h1{
    display: none;
}
.db_box .input_wrap{
    padding: 16px;
}
.db_box .input_wrap ul li{
    font-size: 12px;
    color: #6F7182;
    margin-bottom: 8px;
    position: relative;
}
.db_box .input_wrap ul li > div{
    padding-bottom: 4px;
}
.db_box .black{
    color:black;
}
.input_wrap ul li:nth-child(4) div span{
    font-size: 11px;
    color: #AFB0BF;
}
.input_wrap ul li:last-child {
    display: flex;
    align-items: center;
}
.input_wrap ul li div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.input_wrap ul li .terms1{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #AFB0BF;
    text-decoration: underline;
}
.input_wrap ul li textarea{
    font-family: 'Noto Sans KR', 'sans-serif';
    font-size: 13px;
    height: 48px;
    border: 1px solid #EFF0F2;
    border-radius: 5px;
    padding: 8px 12px;
    width: calc(100% - 24px);
    color: #1F2026;
}
.input_wrap textarea::placeholder{
    color: #AFB0BF;
}
.input_wrap textarea:focus{
    outline: none;
    border: 1px solid #165FFF;
}  

/* fliter */
.single-choice_wrap{
    position: relative;
    user-select: none;
}
.single-choice_wrap .single_option{
    font-family: 'Noto Sans KR', 'sans-serif';
    font-size: 14px;
    color: #4D4E59;
    border-radius: 8px;
    border: 1px solid #DDDEE4;
    background: #fff;
    position: relative;
    cursor: pointer;
    padding: 0 32px 0 16px;
    height: 46px;
    background: url(../images/arr_down.svg) no-repeat calc(100% - 20px) center/auto;
}
.single-choice_wrap.active .single_option{
    background: url(../images/arr_up.svg) no-repeat calc(100% - 20px) center/auto;
}
.single-choice_wrap .single_option li{
    font-size: 14px;
    line-height: 46px;
    color: #165FFF;
}
.single-choice_wrap .single_option li p{
    color: #4D4E59;
}
.single-choice_wrap .single_select_ul{
    position: absolute;
    background: #fff;
    border-radius: 10px;
    display: none;
    padding: 12px 16px;
    margin-top: 6px;
    box-shadow: 0 2px 10px rgba(0, 28, 134, 10%);
    overflow-y: auto;
    border: 1px solid #DDDEE4;
    z-index: 1;
    width: calc(100% - 34px);
    max-height: 450px;
}    
.single_select_ul::-webkit-scrollbar{
    width: 4px;
    display: block;
}
.single_select_ul::-webkit-scrollbar-thumb{
    border-radius: 10px;
    background: #C5C5C5;
    margin-right: 3px;
}
.single-choice_wrap .single_select_ul li{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    position: relative;
    margin-bottom: 24px;
}
.single-choice_wrap .single_select_ul li:last-child{
    margin: 0;
}
.single-choice_wrap .single_select_ul li > dt{
    font-weight: bold;
    width: 100%;
    color: #303139;
    margin: 2px 0 8px;
}
.single-choice_wrap .single_select_ul li > div{
    width: calc(20% - 35px);
    border-radius: 10px;
    color: #303139;
    padding: 6px 12px;
    cursor: pointer;
    border: 1px solid #F5F5F7;
    margin: 0 2.5px 5px;
}
.single-choice_wrap .single_select_ul li > div:hover{
    background: #F6F6F8;
}
.single-choice_wrap .single_select_ul li > div.choice{
    color: #165FFF;
    background: #E9EDFE;
    border: 1px solid #E9EDFE;
}
.single-choice_wrap .single_select_ul li > div.all{
    font-size: 12px;
    position: absolute;
    right: 0;
    top: 0;
    color: #4D4E59;
    border: 1px solid #4D4E59;
    border-radius: 60px;
    padding: 4px 9px;
    width: auto;
    background: #fff;
}
.single-choice_wrap .single_select_ul li > div > div{
    font-size: 13px;
}
.single-choice_wrap .single_select_ul li > div span{
    font-size: 11px;
    color: #AFB0BF;
}
.single-choice_wrap .single_select_ul li > div span.stock{
    color: #001C8A;
}
.single-choice_wrap .single_select_ul li > div span.inquiry{
    color: #6F7182;
}
.single-choice_wrap.active .single_select_ul{
    display: block;
}
.single-choice_wrap.active .single_option{
    border: 1px solid #165FFF;
}

/* modal */
.modal{
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,50%);
    top: 0;
    left: 0;
    display: none;
    z-index: 11;
}
.modal .modal_inner{
    font-size: 14px;
    font-weight: 500;
    width: 75vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    word-break: keep-all;
}
.modal .modal_close{
    cursor: pointer;
}
.terms_modal .modal_inner{
    max-width: 486px;
    max-height: 656px;
    height: 70vh;
    padding: 32px 44px;
}
.terms_modal .modal_inner dt{
    font-size: 16px;
    font-weight: bold;
    letter-spacing: -0.05em;
}
.terms_modal .modal_inner ul{
    font-size: 14px;
    font-weight: 500;
    overflow-y: auto;
    height: calc(100% - 64px);
}
.terms_modal .modal_inner ul::-webkit-scrollbar{
    width: 6px;
    display: block;
}
.terms_modal .modal_inner ul::-webkit-scrollbar-thumb{
    height: 30px;
    border-radius: 10px;
    background: #C5C5C5;
}
.terms_modal .modal_inner ul li{
    margin-bottom: 20px;
}
.terms_modal .modal_inner ul li dd{
    color: #3D3F46;
    padding-bottom: 8px;
    letter-spacing: -0.05em;
}
.terms_modal .modal_inner ul li p{
    color: #7D7F83;
    letter-spacing: -0.05em;
    line-height: 1.6;
}
.terms_modal .modal_inner > div{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.page_modal .modal_inner{
    max-width: 234px;
    width: calc(100% - 32px);
}
.page_modal .modal_inner .modal_btn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}
.page_modal .modal_inner .modal_btn > div{
    width: calc(50% - 5px);
    height: 42px;
    background: #E9EAEA;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}
.page_modal .modal_inner .modal_btn > div a{
    background: #165FFF;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page_modal_alert .modal_inner{
    max-width: 234px;
    width: calc(100% - 32px);
}
.page_modal_alert .modal_inner .modal_btn{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}
.page_modal_alert .modal_inner .modal_btn > div{
    width: 100%;
    height: 42px;
    background: #E9EAEA;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}
.page_modal_alert .modal_inner .modal_btn > div a{
    background: #165FFF;
    color: #fff;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* input */
input[type="text"],
input[type="number"]{
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    width: calc(100% - 24px);
    padding: 0 12px;
    height: 32px;
    border: 1px solid #EFF0F2;
    border-radius: 5px;
    color: #1F2026;
}
input[type="text"]::placeholder,
input[type="number"]::placeholder{
    color: #AFB0BF;
}
input[type="text"]:focus,
input[type="number"]:focus{
    outline: none;
    border: 1px solid #165FFF;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.btnInquiry{
    font-size:16px;
    font-family: 'Noto Sans KR', sans-serif;
    width: 100%;
    background: #165FFF;
    border-radius: 8px;
    height: 46px;
    border: none;
    color: #fff;
    margin-top: 16px;
    cursor: pointer;
}
.btnDbBoxInquiry{
    font-family: 'Noto Sans KR', sans-serif;
    width: 100%;
    background: #165FFF;
    border-radius: 8px;
    height: 38px;
    border: none;
    color: #fff;
    margin-top: 16px;
    cursor: pointer;
}
input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    height: 0 !important;
}
input[type="checkbox"] + label{
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    background: #E9EAEA;
    margin: 0;
}
input[type="checkbox"]:checked + label{
    background: url(../images/icon_chk.svg) no-repeat center/auto #165FFF;
    border: none;
}
input[type="checkbox"] + label + label{
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
    color: #303139;
    width: auto !important;
    padding-left: 6px;
}
input[type="checkbox"]:checked + label + label{
    color: #303139;
}

/* footer */
footer{
    background: #fff;
    padding: 16px 20px;
    border-top: 1px solid #EDEDF2;
    color: #AFB0BF;
}
footer .footer_inner{
    padding-bottom: 48px;
}
footer .footer_inner ul{
    font-size: 13px;
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 8px;
}
footer .footer_inner ul li{
    margin-right: 3px;
}
footer .footer_inner > div{
    font-size: 12px;
    font-weight: 300;
}

/* below 1350 */
@media screen and (max-width: 1350px){

    .db_box.view{
        display: block !important;
    }
    .db_box{
        display: none;
        position: initial;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 0;
        max-width: 700px;
        width: calc(100% - 32px);
        border-radius: 0;
        padding: 32px 16px 104px;
    }
    .db_box .tit{
        display: none;
    }
    .db_box h1{
        display: block;
        text-align: left;
    }
    .db_box .input_wrap{
        padding: 0;
    }
    .db_box .input_wrap ul li{
        margin-bottom: 16px;
    }
    .db_box .input_wrap ul li > div{
        padding-bottom: 8px;
    }
    .db_box .input_wrap ul li textarea{
        font-size: 15px;
        height: 56px;
    }
    .db_box .input_wrap input{
        font-size: 15px;
        height: 46px;
    }
    .input_wrap ul li:last-child{
        margin: 20px 0 16px;
    }
    .btn_db_box{
        position: fixed;
        bottom: 15px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 628px;
        width: calc(100% - 72px);
        height: 58px;
        padding: 0 16px;
        background: #303239;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(47, 72, 126, 30%);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 5;
    }
    .btn_db_box > .txt{
        font-size: 12px;
        font-weight: normal;
        color: #AFB0BF;
    }
    .btn_db_box > .txt p{
        font-size: 16px;
        color: #fff;
    }
    .btn_db_box > .link{
        font-size: 13px;
        color: #8DA4FA;
        display: flex;
        align-items: center;
    }
    .btn_top{
        bottom: 90px;
    }
    .btn_top > a{
        width: 40px;
        height: 40px;
    }
    .btn_kakao{
        bottom: 145px;
    }
    .btn_kakao > a{
        width: 40px;
        height: 40px;
    }
    .btn_kakao img{
        width: 42px;
    }
    input[type="checkbox"] + label{
        width: 20px;
        height: 20px;
        margin: 0;
    }
    input[type="checkbox"] + label + label{
        font-size: 14px;
    }


}

/* below 540 */
@media screen and (max-width: 540px){

    h1{
        font-size: 22px;
        text-align: left;
    }
    h2{
        font-size: 16px;
    }
    main{
        width: calc(100% - 32px);
        min-height: calc(100vh - 74px);
        padding: 16px;
    }
    .btn_db_box{
        max-width: 636px;
        width: calc(100% - 64px);
    }
    header{
        height: 44px;
    }
    header > div{
        font-size: 13px;
    }
    header > div a img{
        width: 83px;
    }
    section{
        margin-bottom: 24px;
    }
    .modal .modal_inner{
        padding: 16px;
    }
    .terms_modal .modal_inner > div{
        margin-bottom: 16px;
    }
    .terms_modal .modal_inner ul {
        height: calc(100% - 44px);
    }
    .single-choice_wrap .single_select_ul{
        padding: 14px 16px;
        max-height: 310px;
    }
    .single-choice_wrap .single_select_ul li{
        margin-bottom: 26px;
    }
    .single-choice_wrap .single_select_ul li > dt{
        margin-bottom: 13px;
    }
    .single-choice_wrap .single_select_ul li > div{
        width: calc(33.33% - 31px);
    }
    .single-choice_wrap .single_select_ul li > div > div{
        font-size: 12px;
    }
    .single-choice_wrap .single_select_ul li > div:hover{
        background: auto;
    }
    footer{
        padding: 16px;
    }

}