@charset "utf-8";

/* ===== mainvisual ===== */
#mainvisual{
    height: 250px;
    text-align: center;
    background-image: url(/public/img/bg.webp);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
#mainvisual h1{
    font-size: 32px;
    color: #FFF;
    margin: 0 auto;
    z-index: 1;
    line-height: 1.3;
}
#mainvisual h1 span{
    display: block;
    font-size: 14px;
    font-weight: normal;
}

/* ===== booking form ===== */
#booking{
    padding: 50px 0 80px;
}
#booking .bookingWrap{
    width: 90%;
    max-width: 760px;
    margin: 0 auto;
    color: #373737;
}
#booking .bookingDesc{
    text-align: center;
    color: #69422C;
    line-height: 1.9;
    margin-bottom: 40px;
    font-size: 15px;
}

/* table rows */
#booking .tbl_register{
    width: 100%;
    border-collapse: collapse;
    border-top: 1px dashed #cbb89f;
}
#booking .tbl_register tr{
    border-bottom: 1px dashed #cbb89f;
}
#booking .tbl_register th{
    width: 38%;
    text-align: right;
    vertical-align: middle;
    padding: 22px 20px 22px 0;
    color: #69422C;
    font-weight: bold;
    font-size: 15px;
}
#booking .tbl_register td{
    text-align: left;
    vertical-align: middle;
    padding: 18px 0;
    font-size: 15px;
}

/* required / optional badge */
#booking .hissu::after,
#booking .nini::after{
    display: inline-block;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.3;
    vertical-align: middle;
}
#booking .hissu::after{
    content: "Required";
    background-color: #b59474;
    color: #fff;
}
#booking .nini::after{
    content: "Optional";
    border: 1px solid #69422C;
    color: #69422C;
}
body#ja #booking .hissu::after{ content: "\5FC5\9808"; }
body#ja #booking .nini::after{ content: "\4EFB\610F"; }

/* inputs */
#booking .tbl_register select,
#booking .tbl_register input[type="text"],
#booking .tbl_register input[type="email"],
#booking .tbl_register input.date-input,
#booking .tbl_register textarea{
    width: 100%;
    max-width: 380px;
    padding: 10px 12px;
    border: 1px solid #cbb89f;
    border-radius: 4px;
    font-size: 15px;
    box-sizing: border-box;
    background-color: #fff;
    color: #373737;
    font-family: inherit;
}
#booking .tbl_register textarea{
    max-width: 100%;
}
#booking .w-full{ width: 100%; }
#booking .inline{ display: inline-block; }
#booking .ml-2{ margin-left: 8px; }

/* the "-" placeholder shown before a step is revealed */
#booking .tbl_register td > div[class$="-blank"]{
    color: #a8a8a8;
}

/* couple checkbox + note */
#booking .couple-div{
    margin-top: 8px;
}
#booking .coupleComment{
    font-size: 13px;
    color: #69422C;
    margin-top: 6px;
    line-height: 1.5;
}

/* validation alerts */
#booking .alert{
    color: #c0392b;
    font-size: 13px;
    padding: 0;
    margin: 0;
}
#booking .email-input-note{
    font-size: 13px;
    color: #69422C;
    margin-top: 6px;
}

/* submit */
#booking .submit-btn{
    display: block;
    margin: 45px auto 0;
    padding: 15px 60px;
    background-color: #69422C;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: .05em;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
#booking .submit-btn:hover{
    background-color: #4e3320;
}

/* ===== responsive ===== */
@media only screen and (max-width:768px){
    #booking{
        padding: 40px 0 60px;
    }
    #booking .bookingDesc{
        text-align: left;
    }
    #booking .tbl_register,
    #booking .tbl_register tbody,
    #booking .tbl_register tr,
    #booking .tbl_register th,
    #booking .tbl_register td{
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    #booking .tbl_register th{
        text-align: center;
        padding: 16px 0 8px;
    }
    #booking .tbl_register td{
        text-align: center;
        padding: 0 0 16px;
    }
    #booking .tbl_register select,
    #booking .tbl_register input[type="text"],
    #booking .tbl_register input[type="email"],
    #booking .tbl_register input.date-input,
    #booking .tbl_register textarea{
        max-width: 100%;
        text-align: center;
    }
    #booking .submit-btn{
        width: 100%;
        box-sizing: border-box;
    }
    #booking .email-input-note{
        text-align: left;
    }
}
@media only screen and (max-width:450px){
    #mainvisual{
        height: 150px;
        margin-top: 80px;
    }
    #mainvisual h1{
        font-size: 22px;
    }
}

/* ===== booking confirm ===== */
#bookingConfirm{
    padding: 50px 0 80px;
}
#bookingConfirm .bookingWrap{
    width: 90%;
    max-width: 760px;
    margin: 0 auto;
    color: #373737;
}
#bookingConfirm .bookingDesc{
    text-align: left;
    color: #69422C;
    line-height: 1.9;
    margin-bottom: 40px;
    font-size: 16px;
}
#bookingConfirm .tbl_register{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #b59474;
}
#bookingConfirm .tbl_register th{
    width: 33%;
    background-color: #FEF0E5;
    color: #69422C;
    text-align: right;
    vertical-align: middle;
    padding: 22px 12px;
    border: 1px solid #b59474;
    font-weight: bold;
    font-size: 15px;
}
#bookingConfirm .tbl_register td{
    background-color: #fff;
    color: #373737;
    vertical-align: middle;
    padding: 20px 24px;
    border: 1px solid #b59474;
    font-size: 15px;
    line-height: 1.7;
}
/* required / optional badge (gold on dark label) */
#bookingConfirm .hissu::after,
#bookingConfirm .nini::after{
    display: inline-block;
    margin-left: 8px;
    padding: 3px 9px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    line-height: 1.3;
    vertical-align: middle;
}
#bookingConfirm .hissu::after{
    content: "Required";
    background-color: #b59474;
    color: #fff;
}
#bookingConfirm .nini::after{
    content: "Optional";
    border: 1px solid #69422C;
    color: #69422C;
}
body#ja #bookingConfirm .hissu::after{ content: "\5FC5\9808"; }
body#ja #bookingConfirm .nini::after{ content: "\4EFB\610F"; }

/* confirm message + buttons */
#bookingConfirm .comfirmBtnTxt{
    text-align: center;
    color: #69422C;
    font-size: 15px;
    margin: 30px 0 22px;
    line-height: 1.7;
}
#bookingConfirm #btn{
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
#bookingConfirm #btn input{
    min-width: 240px;
    padding: 16px 20px;
    border-radius: 5px;
    font-size: 17px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}
#bookingConfirm #btn .edit-btn{
    background-color: #fff;
    border: 1px solid #69422C;
    color: #69422C;
}
#bookingConfirm #btn .edit-btn:hover{
    background-color: #f3ece2;
}
#bookingConfirm #btn .submit-btn{
    background-color: #69422C;
    border: 1px solid #69422C;
    color: #fff;
}
#bookingConfirm #btn .submit-btn:hover{
    background-color: #4e3320;
}
@media only screen and (max-width:768px){
    #bookingConfirm{ padding: 40px 0 60px; }
    #bookingConfirm .tbl_register th{
        width: 40%;
        padding: 16px 8px;
        font-size: 14px;
    }
    #bookingConfirm .tbl_register td{
        padding: 16px 14px;
        font-size: 14px;
    }
    #bookingConfirm #btn{
        flex-direction: column;
        gap: 12px;
    }
    #bookingConfirm #btn input{
        width: 100%;
        min-width: 0;
    }
}

/* ===== booking thank ===== */
#bookingThank{
    padding: 60px 0 100px;
}
#bookingThank .bookingWrap{
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
}
#bookingThank .thankDesc{
    text-align: left;
    font-size: 16px;
    line-height: 1.9;
    color: #666;
}
#bookingThank .thankTxt{
    display: block;
    text-align: center;
    color: #69422C;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.7;
    margin-bottom: 0;
}
@media only screen and (max-width:450px){
    #bookingThank{
        padding: 40px 0 70px;
    }
    #bookingThank .thankTxt{
        font-size: 17px;
    }
}

/* ===== course time selection (pill boxes) ===== */
#booking .course-time-input{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
#booking .course-time-input > div{
    flex: 0 0 auto;
    position: relative;
}
#booking .course-time-input input[type="radio"]{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}
#booking .course-time-input label.radio{
    display: block;
    margin: 0;
    padding: 5px 20px;
    border: 1px solid #cbb89f;
    border-radius: 5px;
    color: #69422C;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}
#booking .course-time-input label.radio:hover{
    border-color: #69422C;
}
#booking .course-time-input input[type="radio"]:checked + label.radio{
    background-color: #69422C;
    border-color: #69422C;
    color: #fff;
}
@media only screen and (max-width:768px){
    #booking .course-time-input{
        justify-content: center;
    }
    #booking .course-time-input > div{
        width: calc((100% - 20px) / 3);
    }
}
