@charset "UTF-8";
:root {
    --payBlack: #222528;
    --primaryColor: #2089FD;
    --bgcolor: #fff;
    --border-color: #EEF2F9;
}

body.on {
    touch-action: none;
    overflow: hidden !important;
    -webkit-user-select: none;
}

html.on {
    touch-action: none;
    overflow: hidden !important;
    overscroll-behavior: none;
    -webkit-user-select: none;
}
body {
    user-select: none;
}

#wrap {
    word-break: keep-all;
    overflow-wrap: anywhere;
    color: var(--payBlack, #222528);
    max-width: 540px;
    width: 100%;
    margin: 0 auto;
    font-family: Pretendard;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.container:not(.login_wrap, .main_wrap) {
    padding: 80px 16px 102px;
}
.container.mypage_wrap {
    padding-bottom: 122px;
}
form {
    width: 100%;
}

@media (max-width:375px) {
    .container:not(.login_wrap, .main_wrap) {
        padding: calc(100vw * (80/375)) calc(100vw * (16/375)) calc(100vw * (102/375));
    }
    .container.mypage_wrap {
        padding-bottom: calc(100vw * (122/375));
    }
}



/* header */
header {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 60px;
    padding: 0 9px;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 540px;
    background: var(--bgcolor);
    z-index: 50;
}
header .back_link {
    display: flex;
    width: 46px;
    height: 46px;
}
header .name {
    color: var(--payBlack, #222528);
    font-size: 20px;
    font-weight: 400;
}

@media (max-width:375px) {
    header {
        gap: calc(100vw * (4/375));
        height: calc(100vw * (60/375));
        padding: 0 calc(100vw * (9/375));
    }
    header .back_link {
        width: calc(100vw * (46/375));
        height: calc(100vw * (46/375));
    }
    header .name {
        font-size: calc(100vw * (20/375));
    }
}
/* END - header */



/* com_button */
.com_btn {
    display: flex;
    width: 100%;
    height: 62px;
    font-size: 21px;
    font-weight: 600;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: var(--buttonBg, #F5F7FA);
    cursor: pointer;
}

.com_btn.unable {
    color: #E4E9EF;
    cursor: default;
}
.com_btn.commit {
    color: #fff;
    background: var(--primaryColor, #2089FD);
    cursor: pointer;
}

@media (max-width:375px) {
    .com_btn {
        height: calc(100vw * (62/375));
        font-size: calc(100vw * (24/375));
        border-radius: calc(100vw * (16/375));
    }
}
/* END - com_button */



/* input */
.input_box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.inp_txt {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--lineColor, #E6EBF2);
    background: var(--payWhite, #FFF);
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.01);
    overflow: hidden;
    padding: 15px 12px;
    position: relative;
    display: flex;
    height: 76px;
}
.input_box:not(.login_inp) .inp_txt {
    height: 90px;
    padding: 20px 12px;
}
.inp_txt.disabled {
    background: var(--buttonBg, #F5F7FA);
}
.inp_txt input {
    width: 100%;
    color: var(--payBlack, #222528);
    font-size: 21px;
    font-weight: 600;
    margin-top: auto;
    cursor: pointer;
    background: inherit;
}
.inp_txt input[type=password] {
    width: calc(100% - 36px);
}
.inp_txt .placeholder {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--placeholderColor, #AEAEBB);
    font-size: 21px;
    font-weight: 400;
    transition:0.3s;
}
.inp_txt.on .placeholder{
    color: var(--payBlack, #222528);
    font-size: 14px;
    font-weight: 400;
    top: 11px;
    transform: unset;
    transition:0.3s;
}
.inp_txt.disabled.on .placeholder {
    transition:0s;
}
.inp_txt.select_inp .placeholder {
    color: var(--payBlack, #222528);
    font-size: 14px;
    font-weight: 400;
    top: 11px;
    transform: unset;
    transition:0s;
}
.inp_txt.select_inp .select_val {
    width: 100%;
    color: var(--payBlack, #222528);
    font-size: 21px;
    font-weight: 600;
    margin-top: auto;
    cursor: pointer;
    position: relative;
}
.inp_txt.select_inp .select_val:after {
    content:"";
    width: 20px;
    height: 20px;
    background-image: url('../image/sub/select_icon.png');
    background-size: 100% 100%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}
.inp_txt .pass_icon {
    width: 26px;
    height: 26px;
    background-image: url('../image/login/password.png');
    background-size: 100% 100%;
    position: absolute;
    right: 12px;
    bottom: 15px;
    cursor: pointer;
    display: none;
}
.inp_txt .pass_icon.on {
    display: block;
}
.inp_txt .pass_icon.change {
    background-image: url('../image/login/password_on.png');
}
.inp_txt .account_icon {
    width: 24px;
    height: 24px;
    background-image: url(../image/sub/account_icon.png);
    background-size: 100% 100%;
    position: absolute;
    right: 12px;
    bottom: 20px;
    cursor: pointer;
    display: none;
}
.inp_txt .account_icon.on {
    display: block;
}


@media (max-width:375px) {
    .input_box {
        gap: calc(100vw * (12/375));
    }
    .input_box:not(.login_inp) .inp_txt {
        height: calc(100vw * (90/375));
        padding: calc(100vw * (20/375)) calc(100vw * (12/375));
    }
    .inp_txt {
        border-radius: calc(100vw * (16/375));
        border-width: calc(100vw * (1/375));
        box-shadow: 0 calc(100vw * (10/375)) calc(100vw * (20/375)) 0 rgba(0, 0, 0, 0.01);
        padding: calc(100vw * (15/375)) calc(100vw * (12/375));
        height: calc(100vw * (76/375));
    }
    .inp_txt input {
        font-size: calc(100vw * (21/375));
    }
    .inp_txt input[type=password] {
        width: calc(100% - (100vw * (36/375)));
    }
    .inp_txt .placeholder {
        left: calc(100vw * (12/375));
        font-size: calc(100vw * (21/375));
    }
    .inp_txt.on .placeholder{
        font-size: calc(100vw * (14/375));
        top: calc(100vw * (11/375));
    }
    .inp_txt.select_inp .placeholder {
        font-size: calc(100vw * (14/375));
        top: calc(100vw * (11/375));
    }
    .inp_txt.select_inp .select_val {
        font-size: calc(100vw * (21/375));
    }
    .inp_txt.select_inp .select_val:after {
        width: calc(100vw * (20/375));
        height: calc(100vw * (20/375));
    }
    .inp_txt .pass_icon {
        width: calc(100vw * (26/375));
        height: calc(100vw * (26/375));
        right: calc(100vw * (12/375));
        bottom: calc(100vw * (15/375));
    }
    .inp_txt .account_icon {
        width: calc(100vw * (24/375));
        height: calc(100vw * (24/375));
        right: calc(100vw * (12/375));
        bottom: calc(100vw * (20/375));
    }
}
/* END - input */



/* user info */
.user_info {
    width: 100%;
}
.user_info dl {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
}
.user_info dl:last-child {
    border-bottom: 0;
}
.user_info dl dt {
    color: var(--payBlack, #222528);
    font-size: 16px;
    font-weight: 400;
    max-width: 60px;
}
.user_info dl dd {
    color: var(--payBlack, #222528);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 190px;
}

@media (max-width:375px) {
    .user_info dl {
        border-width: calc(100vw * (1/375));
        padding: calc(100vw * (16/375)) 0;
    }
    .user_info dl dt {
        font-size: calc(100vw * (16/375));
        max-width: calc(100vw * (60/375));
    }
    .user_info dl dd {
        font-size: calc(100vw * (16/375));
        gap: calc(100vw * (6/375));
        max-width: calc(100vw * (190/375));
    }
}
/* END - user info */




/* select pop */
.select_pop {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}
.select_pop .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.select_pop .content {
    width: 95%;
    max-width: 508px;
    max-height: 540px;
    border-radius: 16px;
    background: var(--payWhite, #FFF);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 20px;
}
.select_pop .content .pop_close {
    width: 26px;
    height: 26px;
    background-image: url('../image/sub/pop_close.png');
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
    z-index: 10;
}
.select_pop .content .pop_tit {
    color: var(--payBlack, #222528);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 13px;
}
.select_pop .content .select_box {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    overflow-y: auto;
    max-height: 470px;
}
.select_pop .content .select_box .select_items {
    width: calc((100% - 7px) / 2);
    border-radius: 16px;
    border: 1px solid var(--lineColor, #E6EBF2);
    background: var(--payWhite, #FFF);
    padding: 20px 12px;
    text-align: center;
    cursor: pointer;
}
.select_pop .content .select_box .select_items input {
    display: none;
}
.select_pop .content .select_box .select_items span {
    color: var(--payBlack, #222528);
    font-size: 16px;
    font-weight: 400;
}
.select_pop .content .select_box .select_items.on {
    background: var(--buttonBg, #F5F7FA);
}
.select_pop .content .select_box .select_items.on span {
    color: var(--primaryColor, #2089FD);
}


@media (max-width:375px) {
    .select_pop .content {
        max-width: calc(100% - (100vw * (32/375)));
        max-height: calc(100vw * (340/375));
        border-radius: calc(100vw * (16/375));
        padding: calc(100vw * (20/375));
    }
    .select_pop .content .pop_close {
        width: calc(100vw * (26/375));
        height: calc(100vw * (26/375));
        right: calc(100vw * (20/375));
        top: calc(100vw * (20/375));
    }
    .select_pop .content .pop_tit {
        font-size: calc(100vw * (18/375));
        margin-bottom: calc(100vw * (13/375));
    }
    .select_pop .content .select_box {
        gap: calc(100vw * (7/375));
        max-height: calc(100vw * (270/375));
    }
    .select_pop .content .select_box .select_items {
        width: calc((100% - (100vw * (7/375))) / 2);
        border-radius: calc(100vw * (16/375));
        border-width: calc(100vw * (1/375));
        padding: calc(100vw * (20/375)) calc(100vw * (12/375));
    }
    .select_pop .content .select_box .select_items span {
        font-size: calc(100vw * (16/375));
    }
}
/* END - select pop */


.com_tit {
    color: var(--payBlack, #222528);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    width: 100%;
}

@media (max-width:375px) {
    .com_tit {
        font-size: calc(100vw * (18/375));
        margin-bottom: calc(100vw * (16/375));
    }
}


.btn_flex {
    position: fixed;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 100%;
    max-width: 540px;
    padding: 0 16px;
}

@media (max-width:375px) {
    .btn_flex {
        bottom: calc(100vw * (20/375));
        padding: 0 calc(100vw * (16/375));
    }
}




/* com_pop */
.com_pop {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}
.com_pop .bg {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.com_pop .contents {
    width: 95%;
    max-width: 508px;
    max-height: 230px;
    border-radius: 16px;
    background: var(--payWhite, #FFF);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.com_pop .contents .pop_con {
    padding: 40px 16px;
}
.com_pop .contents .title {
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    line-height: 150%;
}
.com_pop .contents .sub_tit {
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 12px;
}
.com_pop .contents .pop_btn {
    width: 100%;
    border-top: 1px solid #EEF2F9;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 18px 16px;
    cursor: pointer;
}

@media (max-width:375px) {
    .com_pop .contents {
        max-width: calc(100% - (100vw * (32/375)));
        border-radius: calc(100vw * (16/375));
        max-height: calc(100vw * (230/375));
    }
    .com_pop .contents .pop_con {
        padding: calc(100% - (100vw * (40/375))) calc(100% - (100vw * (16/375)));
    }
    .com_pop .contents .title {
        font-size: calc(100% - (100vw * (22/375)));
    }
    .com_pop .contents .sub_tit {
        font-size: calc(100% - (100vw * (16/375)));
        margin-top: calc(100% - (100vw * (12/375)));
    }
    .com_pop .contents .pop_btn {
        border-width: calc(100% - (100vw * (1/375)));
        font-size: calc(100% - (100vw * (16/375)));
        padding: calc(100% - (100vw * (18/375))) calc(100% - (100vw * (16/375)));
    }
}
/* END - com_pop */