@charset "UTF-8";

.reservation_wrap{
    width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.reservation_tit_box{
    margin-top: 30px;
    text-align: center;
}
.reservation_tit_box h1{
    margin-bottom: 10px;
    font-size: 24px;
    color: #001b42;
}
.reservation_tit_box .reservation_txt_bar{
    width: 100px;
    height: 10px;
    margin: 0 auto;
    margin-bottom: 30px;
}
.reservation_tit_box h3{
    margin-bottom: 30px;
    font-size: 18px;
}

.privacy_wrap {
    height: 150px;
    overflow-y: auto;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 12px;
}

.agree_wrap{
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 10px 10px 10px 0;
}

table {
    border-collapse: collapse;
    overflow-y: auto;
    width: 100%;
    border-top: 2px solid black;
    margin-top: 30px;
}

/* 표의 셀 스타일링 */
th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}
tr td:first-child{
    width: 100px;
    height: 50px;
    background-color: #eee;
}
tr td input{
    width: 180px;
    height: 30px;
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
}
tr td:last-child{
    position: relative;
}
tr td:last-child p{
    position: absolute;
    color: red;
    top: 15px;
}
tr td:last-child .name_p{
    left: 110px;
}
tr td:last-child .phone_p{
    left: 180px;
}
tr td input[id="name"]{
    width: 110px;
}
.reservationPage_btn{
    display: flex;
    align-items: center;
    justify-content: end;
    margin: 10px 0;
}
.reservationPage_btn input,
.reservationPage_btn a{
    padding: 10px 20px;
    display: block;
    font-size: 16px;
    border-radius: 5px;
}
.reservationPage_btn input{
    margin-right: 10px;
    cursor: pointer;
    border: none;
    background-color: #001b42;
    color: #fff;
}
.reservationPage_btn a{
    border: 1px solid #ccc;
}
@media only screen and (max-width: 980px){
    .reservation_wrap{
        width: 600px;
        margin: 0 auto;
    }
    .reservationPage_btn{
        justify-content: center;
    }
}

@media only screen and (max-width: 767px){
    .reservation_tit_box .reservation_txt_bar{
        margin-bottom: 20px;
    }
    .reservation_wrap{
        width: auto;
        margin: 0 10px;
        margin-bottom: 10px;

    }
    .reservation_tit_box h1{
        margin-bottom: 0px;
        font-size: 20px;
    }
    .reservation_tit_box h3{
        margin-bottom: 20px;
        font-size: 12px;
    }
}