﻿



.wrap {
    margin: 120px auto 0 auto;
}

.wrap>div{
    max-width: 730px;
}

.prepay_step h2 {
    margin: 60px 0 15px 0;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}
.prepay_step h3 {
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    text-align: center;
    color: #6D6D6D;
}
.prepay_step h4{
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
}




.prepay_step .choice2{
    margin-top: 60px;
}


/* 버튼 2개 선택 */
.choice2{
    width: 100%;
}
.choice2>label{
    margin: auto;
}
/* span css */
.open_obj input[type="radio"] + span {
    display: inline-block;
    height: 94px;
    line-height: 94px;
    border-radius: 20px;
    background: #F5F5F5;
    color: #444444;
    text-align: center;
    cursor: pointer;
    margin: auto;
}
.open_obj input[type="radio"]:checked + span {
    background:var(--normal-red);
    color: #fff;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.25);
}
.choice2 .open_obj input[type="radio"] + span { 
    width: 49% !important;
    font-size: 18px;
    font-weight: 800;
}
.choice2 .open_obj {
    margin-right: 1%;
}
.choice2 .open_obj:last-child, .choice3 .open_obj:last-child {
    margin-right: 0; /* 마지막 .open_obj에는 오른쪽 간격을 주지 않음 */
}
.btn100{
    background: #474747;
    height: 90px;
}




/* 배송 */
.add_wrap{
    background: #F5F5F5;
    border-radius: 10px;
    padding: 45px 0 30px;
    margin-top: 12px;
}
.add_wrap>div{
    max-width: 620px;
}
/* 배송 시 요청사항 */
.add_wrap>div{
    margin: 0 auto 12px auto;
}


.find_num{
    display: flex;
}
.find_num>div{
    width: 69%;
    margin-right: 1%;
}
.find_num button{
    width: 190px;
    height: 68px;
    margin-top: 0;
}
/* 인증번호 시간 */
.chk_time>span {
    position: absolute;
    top: 34%;
    right: 20px;
    color: var(--normal-red);
    font-size: 16px;
}





/* 카드 세부 */
.card h4{
    display: flex;
    font-size: 16px;
}
.card h4 span{
    color: var(--strong-red);
    margin: 0 3px;
}

.card>div:not(:last-child){
    display: flex;
    width: 100%;
}
/* 카드번호 */
.card_number>div{
    width: 24%;
}
/* 카드 유효기간 */
.card_date>div{
    width: 49%;
}
.number p, .pay p, .card p {
    padding: 0 5px;
    line-height: 68px;
}



/* 충전금액 */
.charge_money>p{
    color: var(--strong-red);
    font-weight: 500;
    line-height: 20px;
}



/* 약관 배경 */
.option_wrap{
    background: #F5F5F5;
    border-radius: 10px;
    padding: 5px 20px;
    margin-top: 12px;
}
.prepay_step .m1{
    background: #fff;
}


/* 확인 정보 */
.prepay_info h5{
    color: var(--normal-red);
    margin-bottom: 8px;
}
.prepay_info p{
    color: #888;
    line-height: 20px;
}
.prepay_info p:last-child{
    margin-left: 138px;
}




/* 반응형 */

@media (max-width:768px) {

    .prepay_step {
        width: 94%;
        margin: auto;
        max-width: 620px;
    }
    .prepay_step h4{
        font-size: 15px;
        margin-bottom: 12px;
    }
    .add_wrap {
        padding: 20px 0;
        margin-top: 12px;
    }
    .add_wrap > div {
        margin: 0 4% 12px 4%;
        width: 92%;
    }
    .account, .card{
        margin-bottom: 0 !important;
    }
    .choice2 .open_obj input[type="radio"] + span { 
    font-size: 16px;
}

    .prepay_info{
        font-size: 15px;
    }
    .prepay_info h5{
        margin-top: 12px;
        margin-bottom: 5px;
    }
    .prepay_info p:last-child{
        margin-left: 128px;
    }

}

@media(max-width:580px){

    .wrap {
        margin-top: 90px;
    }
    .prepay_step h2{
        font-size: 22px;
        margin-bottom: 10px;
    }
    .prepay_step h3{
        font-size: 15px;
    }

    .prepay_step h4{
        font-size: 14px;
    }
    .prepay_step .choice2 {
        margin-top: 30px;
    }

    .open_obj input[type="radio"] + span {
        display: inline-block;
        height: 77px;
        line-height: 77px;
        border-radius: 10px;
    }
    .choice2 .open_obj input[type="radio"] + span { 
    font-size: 15px;
}

    .find_num>div {
        margin-right: 8px;
    }

    .prepay_step button {
        height: 62px;
    }
    .prepay_step .rec_btn, .prepay_step .chk_time>span{
        font-size: 14px;
    }
    .prepay_step .card .chk_box{
        margin-bottom: 40px;
    }
    .number p, .pay p, .card p{
        line-height: 62px;
    }

    .option_wrap {
        padding: 1px 16px;
    }

    /* 충전금액 */
    .charge_money>p{
        font-size: 13px;
        line-height: 20px;
    }
    

    .prepay_info{
        font-size: 13px;
    }
    .prepay_info p{
        line-height: 17px;
    }
    .prepay_info p:last-child{
        margin-left: 110px;
    }



}

@media(max-width:480px) {

    .prepay_step h2{
        font-size: 20px;
        font-weight: 800;
    }    
    .open_obj input[type="radio"] + span {
        height: 66px;
        line-height: 66px;
        border-radius: 10px;
    }
    .choice2 .open_obj input[type="radio"] + span { 
        font-size: 14px;
    }
    .find_num button {
        width: 160px;
        font-size: 12px;
    }
    .prepay_step .rec_btn, .prepay_step .chk_time>span{
        font-size: 13px;
    }

    .number p, .pay p, .card p {
        padding: 0 2px;
    }

    .wrap .prepay_step .m_gnb {
        margin-top: 20px;
    }
        /* 충전금액 */
    .charge_money>p{
        font-size: 12px;
        line-height: 22px;
    }

}


@media(max-width:360px) {

    .open_obj input[type="radio"] + span {
        height: 60px;
        line-height: 60px;
    }
    .choice2 .open_obj input[type="radio"] + span { 
        font-size: 12px;
        font-weight: 600;
    }

    .prepay_step h4{
        font-size: 12px;
    }
    .find_num button {
        height: 56px;
    }

    .prepay_info{
        font-size: 12px;
    }
    .prepay_info p{
        line-height: 16px;
    }
    .prepay_info p:last-child{
        margin-left: 100px;
    }


}