body{
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 20px;
    border: 0;
    margin: 0;
    padding: 0;
    background-color: #E6E6E6;
    box-sizing: border-box;
}

ul{list-style: none;margin: 0;padding: 0;}
div{border: none;margin: 0;padding: 0;}
a{text-decoration: none;}

#container{
    max-width: 540px;
    width: 100%;
    margin: 30px auto 0;
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0.24) 5px 4px 9px;
}

.top{margin-bottom: 30px;}
.top_name{font-size: 1.25em; font-weight: 600;}
.text_s{font-size: 0.8em;}

ul{background-color: rgb(230, 230, 230, 0.4);}
li{width: calc(100% - 60px); margin: 0 auto; padding: 30px 0 0;}
ul>li:last-child{padding: 30px 0;}

li>label{display: flex; justify-content: space-between; align-items: center;}

input[type="checkbox"]{display: none;}

.day_text{position: relative;}

.check_design{
    position: absolute;
    top: 6px;
    margin-right: 5px;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 3px;
    border: 1px solid #999999;
}

.day_text, .price{
    font-size: 0.9em; line-height: 34px;
}

.fri{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #1D2696;}
.sat{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #009245;}
.sun{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #ED1C24;}

.월{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #3b3b3b;}
.화{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #3b3b3b;}
.수{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #3b3b3b;}
.목{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #3b3b3b;}
.금{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #1D2696;}
.토{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #009245;}
.일{margin-left: 32px; font-size: 1.25em; font-weight: 600; color: #ED1C24;}

.price_btn{
    display: inline-block;
    width: 110px;
    line-height: 32px;
    margin-left: 10px;
    text-align: center;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #009944;
    color: #009944;
}

input[type="checkbox"]:checked + label .check_design{
    border: 1px solid #009944;
    background-color: none;
    background-image: url("../img/check_background.jpg");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

input[type="checkbox"]:checked + label .price_btn{
    background-color: #009944;
    color: #fff;
}

.account_data{
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.account_logo{
    width: 140px;
    height: 40px;
    background-image: url("../img/HANA_bank_logo.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}

.account_text{width: 190px; font-size: 1.1em; line-height: 0.8em; margin: 0 15px;}
.account_text_s{font-size: 0.8em;}

.account_text input{
    max-width: 215px;
    padding: 0;
    margin: 0;
    font-size: 1.4rem;
    line-height: 1em;
    font-weight: 500;
    border: none;
    outline: none;
}

#account_btn{
    width: 90px;
    line-height: 32px;
    border-radius: 5px;
    background-color: #009944;
    color: #fff;
    text-align: center;
    font-size: 0.7em;
    font-weight: 600;
    border: none;
}

.tel_number{
    padding: 30px 0;
    border-top: 1px dotted #009944;
}

.tel_number h2{
    margin: 0;
    font-size: 1.1em;
    text-align: center;
}

.tel_data{
    margin-top: 15px;
    line-height: 46px;
    text-align: center;
}

.tel_data .dash_line{
    display: inline-block;
    margin: 0 5px 5px;
    width: 20px;
    height: 1px;
    background-color: #999999;
}

.tel_data>input[type="tel"]{
    width: calc(30% - 20px);
    max-width: 130px;
    min-width: 70px;
    line-height: 42px;
    border-radius: 5px;
    border: 1px solid #009944;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
}

.user_data{display: flex; justify-content: center;}

.total_price{
    font-size: 0.9em;
    font-weight: 500;
}

#total_price_num{
    display: inline-block;
    text-align: right;
    margin: 0 10px 0 20px;
    padding: 5px 2px;
    width: 130px;
    height: 30px;
    line-height: 46px;
    font-size: 2rem; font-weight: 600; color: #ED1C24;
    border: none;
    outline: none;
    border-bottom: 1px solid #B3B3B3;
}

.user_data>input[type="text"]{
    margin-left: 15px;
    width: 150px;
    border-radius: 5px;
    border: 1px solid #999999;
    text-align: center;
    font-size: 0.9em;
}

.user_notice{
    padding: 15px 10px;
    font-size: 0.7em;
    border-top: 1px dotted #009944;
    border-bottom: 1px dotted #009944;
}

.under_line{font-weight: 700; text-decoration: underline;}
.text_red{color: #ED1C24;}

.etc{display: flex; margin-bottom: 15px; justify-content: center; align-items: center;}
.etc>a{
    display: inline-block;
    margin-right: 7px;
    padding: 12px 0;
    width: calc(50% - 10px);
    height: 40px;
    line-height: 1em;
    border-radius: 5px;
    border: 1px solid #009944;
    text-decoration: none;
    color: #191919;
    text-align: center;
}
.etc>a .text_green{color: #009944;}
.etc>a .tel_text_s{font-size: 0.7em;}

.etc>input[type="submit"]{
    margin-left: 7px;
    width: calc(50% - 10px);
    line-height: 65px;
    border-radius: 5px;
    border: none;
    background: linear-gradient(30deg,#90C31F,#009944);
    color: #fff;
    font-weight: 600;
    font-size: 1em;
}

#container>button{
    margin: 0 auto;
    display: block;
    width: 200px;
    line-height: 50px;
    text-align: center;
    font-size: 0.8em;
    font-weight: 600;
    border-radius: 5px;
    border: none;
    background-color: #C1272D;
    color: #fff;
}

.error_message {
    display: none;
    position: fixed;
    top: 0;
    margin: 8rem auto;
    left: 0;
    right: 0;
    width: max-content;
    background: rgb(255, 157, 157);
    box-shadow: rgba(0, 0, 0 , 0.8) 0 0 3px;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    text-align: center;
}

@media (max-width:600px){
    
    body{
        background-color: #fff;
    } 

    #container{
        width: calc(100% - 30px);
        margin: 30px auto 0;
        padding: 15px;
        box-shadow: none;
    }

    li{width: calc(100% - 20px); padding: 20px 0 0;}
    ul>li:last-child{padding: 20px 0;}

    .price_btn{
        width: 70px;
        margin-left: 5px;
    }

    .account_data{
        flex-wrap: wrap;
        margin: 20px 0;
        height: auto;
    }
    .account_logo{
        width: calc(100% - 230px);
        margin-right: 10px;
    }
    .account_text{
        margin: 0;
    }
    #account_btn{
        width: 70%;
        line-height: 40px;
        font-size: 0.9em;
        font-weight: 600;
        margin-top: 15px;
    }

    .tel_number{
        padding: 15px 0 20px;
    }
    .tel_data>input[type="tel"]{
        line-height: 42px;
        border-radius: 5px;
        border: 1px solid #009944;
        text-align: center;
        font-size: 1.1em;
        font-weight: 500;
    }

    .tel_data .dash_line{
        margin: 0 3px 5px;
        width: 15px;
    }

    .user_data{align-items: flex-end;}
    #total_price_num{
        margin: 0 10px 0 0;
        padding: 11px 2px 5px;
    }
    .user_data>input[type="text"]{
        margin-left: 10px;
        line-height: 40px;
    }

    .etc{flex-wrap: wrap;}
    .etc>a{
        margin: 0 auto 10px;
        width: 80%;
    }
    .etc>input[type="submit"]{
        margin: 0 auto 5px;
        width: 80%;
    }
}

@media(max-width:359px){
    .check_design{width: 16px; height: 16px; top: 9px;}
    .월, .화, .수, .목, .금, .토, .일{margin-left: 26px;} 
    .price_btn{width: 60px; margin-left: 0px;}
    
    .account_logo{width: 100px;}
    .account_text{width: 170px; font-size: 1em;}
    .account_text input{width: 170px; font-size: 1.25rem;}

    .tel_number{padding: 15px 0;}

    .user_data{flex-wrap: wrap;}
    .user_data>input[type="text"]{margin-left: 0; margin-top: 15px;}

    .tel_data .dash_line{margin: 0 0 5px; width: 10px;}
}