/* group-form */
.page-head{
    padding: 80px 0;
    margin-bottom: 0;
    max-height: inherit;
    aspect-ratio: inherit;
    background: var(--brand-color);

    .page_title{
        width: max-content;
        color: var(--color-white);
    }
}
.main{
    padding: 50px 0;
    margin: 0 0 50px 0;
    background: var(--color-white);
}
.progressbar {
    margin: 0 0 50px 0;
    font-size: 14px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;

    li {
        width: 20%;
        font-weight: 500;
        color: #e0e0e0;
        text-align: center;
        text-transform: uppercase;
        position: relative;
    }
    li:before {
        content: '';
        width: 14px;
        height: 14px;
        margin: 0 auto 5px;
        display: block;
        text-align: center;
        border-radius: 50vh;
        background-color: #e0e0e0;
        position: relative;
        z-index: 100;
    }
    li:after {
        content: '';
        width: 100%;
        height: 2px;
        background-color: #e0e0e0;
        position: absolute;
        top: 7px;
        left: -50%;
        transform: translateY(-50%);
        z-index: 99;
    }
    li:first-child:after {
        content: none;
    }
    li.active,
    li.complete{
        color: var(--brand-color);
    }
    li.active:before,
    li.complete:before {
        background-color: var(--brand-color);
    }
    li.active:after,
    li.complete:after {
        background-color: var(--brand-color);
    }

}
.group-form{

    .form-wrap{
        width: 800px;
        margin: 0px auto;
    }
    .lead{
        margin: 0 0 30px 0;
        font-weight: 500;
    }
    .note_list{
        margin: 0 0 30px 0;
        font-size: 14px;
        color: var(--color-blue);
    }
    .requiredText{
        font-size: 0.8em;
        color: var(--color-red);
        font-weight: 700;
        text-align: right;
    }
    form{
        margin: 0 0 50px 0;
    }
    .form-group{
        margin: 0 0 30px 0;
    }
    label,
    legend{
        margin: 0px 0px 12px 0;
        color: var(--text-color);
        font-weight: 600;
        line-height: 1;
        display: block;
    }
    label .required,
    legend .required{
        font-weight: 500;
        color: var(--color-red);
    }
    legend .people-required{
        color: #f90015 !important;
    }
    input[type="text"], 
    input[type="email"],
    input[type="date"],
    input[type="number"],
    textarea,
    select {
        width: 100%;
        padding: 8px 10px;
        font-size: 14.5px;
        border: solid 1px var(--color-gray-light);
        border-radius: 5px;
        background: var(--color-white);
    }
    input[type="radio"] {
        font-size: 14.5px;
        vertical-align: bottom;
        transform: scale(1.2);
        appearance: radio;
        margin: 0px 5px;
    }
    input::placeholder {
        font-size: 14px;
        color: var(--color-gray);
    }
    .error{
        font-size: 0.8em;
        color: var(--color-red);
        font-weight: 500;
    }
    .l-form-flex{
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
    }
    .tel,
    .fax{
        width: 200px;
    }
    .tel{
        margin-right: 20px;
    }
    .zip{
        width: 200px;
    }
    .pref{
        width: 200px;
        margin-right: 20px;
    }
    .address1{
        width: calc(100% - 220px);
    }
    .reservation{
        flex-wrap: wrap;
    }
    .reservationDate{
        width: 100%;
        margin-right: 0;
    }
    .reservationDate input{
        width: 240px;
    }
    .reservationTime{
        width: 100%;
    }
    .reservation-time-range{
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .reservation-time-separator{
        color: var(--color-gray-dark);
    }
    .reservation-time-selects{
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
    }
    .reservation-time-selects span{
        font-size: 14px;
        color: var(--color-gray-dark);
    }
    .reservation-time-selects select{
        width: 75px;
    }
    .preview1 label,
    .bus1 label{
        margin-top: 5px;
        font-size: 14.5px;
        font-weight: 400;
    }
    .preview1 label:not(:last-of-type),
    .bus1 label:not(:last-of-type){
        margin-bottom: 20px;
    }
    .peopleNum .l-flex, .busNum l-flex{
        margin: 0 0 10px 0;
        display: flex;
        align-items: end;
        justify-content: flex-start;
    }
    .peopleNum label, .busNum label{
        width: 320px;
        font-weight: 400;
        line-height: 1.2;
    }
    .peopleNum input, .busNum input{
        width: 100px;
        margin-right: 5px;
    }
    .peopleNum span, .busNum span{
        font-size: 14px;
        color: var(--color-gray-dark);
    }
    .preview1 .l-flex, .bus1 .l-flex{
        padding: 5px 0 0 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }
    .preview1 label, .bus1 label{
        width: 150px;
    }
    .busNum .l-flex:not(:last-of-type){
        margin-bottom: 20px;
    }
    .previewDate,
    .previewTime{
        width: 240px;
    }
    .previewDate{
        margin-right: 20px;
    }
    .btn-wrap{
        text-align: center;
    }
    .btn-form{
        display: inline-block;
        width: 250px;
        color: var(--color-white);
        text-align: center;
        line-height: 1;
        padding: 15px 20px;
        border: solid 1px var(--brand-color);
        background: var(--brand-color);
        transition: color 0.25s, background 0.25s;
        position: relative;
        text-decoration: none;
    }
    .btn-form:hover{
        color: var(--brand-color);
        background: var(--color-white);
    }
    .btn-form::after{
        font: var(--fa-font-solid);
        content: "\f054";
        font-size: 14px;
        position: absolute;
        top: 54%;
        right: 10%;
        transform: translateY(-50%);
        transition: right cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
    }
    .btn-back,
    .btn-confirm{
        margin: 0 10px;
    }
    .btn-back{
        background: var(--color-gray);
        border-color: var(--color-gray);
    }
    .btn-back:hover{
        color: var(--color-gray);
    }
    .btn-back::after{
        display: none;
    }
    .btn-wrap .l-flex{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.group-confirm{
    .form-wrap{
        width: 800px;
        margin: 0px auto;
        }
    .lead{
        margin: 0 0 30px 0;
        font-weight: 500;
    }
    .note_list{
        margin: 0 0 30px 0;
        font-size: 14px;
        color: var(--color-blue);
    }
    .requiredText{
        font-size: 0.8em;
        color: var(--color-red);
        font-weight: 700;
        text-align: right;
    }
    form{
        margin: 0 0 50px 0;
    }
    .form-group{
        margin: 0 0 30px 0;
    }
    label{
        font-size: 14px;
        font-weight: 500;
        color: var(--brand-color);
        line-height: 1;
        display: block;
        margin: 0px 0px 10px 0;
    }
    .btn-wrap{
        text-align: center;
    }
    .btn-form{
        display: inline-block;
        width: 250px;
        color: var(--color-white);
        text-align: center;
        line-height: 1;
        padding: 15px 20px;
        border: solid 1px var(--brand-color);
        background: var(--brand-color);
        transition: color 0.25s, background 0.25s;
        position: relative;
        text-decoration: none;
    }
    .btn-form:hover{
        color: var(--brand-color);
        background: var(--color-white);
    }
    .btn-form::after{
        font: var(--fa-font-solid);
        content: "\f054";
        font-size: 14px;
        position: absolute;
        top: 54%;
        right: 10%;
        transform: translateY(-50%);
        transition: right cubic-bezier(0.215, 0.61, 0.355, 1) 0.5s;
    }
    .btn-back,
    .btn-submit{
        margin: 0 10px;
    }
    .btn-back{
        background: var(--color-gray);
        border-color: var(--color-gray);
    }
    .btn-back:hover{
        color: var(--color-gray);
    }
    .btn-back::after{
        display: none;
    }
    .btn-wrap .l-flex{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
.group-result{
    .result-wrap{
        width: 100%;
        max-width: 800px;
        padding: 0 20px;
        margin: 0 auto;
    }
    .result_head{
        margin: 0 0 20px 0;
        font-size: 1.25em;
        color: var(--brand-color);
        text-align: center;
        font-weight: 700;
    }
    .result_head.error{
        color: var(--color-red);
    }
    .result_text{
        text-align: center;
    }
    .btn-wrap{
        margin-top: 30px;
        text-align: center;
    }
    .btn-form{
        display: inline-block;
        width: 250px;
        padding: 15px 20px;
        border: solid 1px var(--color-gray);
        background: var(--color-gray);
        color: var(--color-white);
        line-height: 1;
        text-align: center;
        text-decoration: none;
        transition: color 0.25s, background 0.25s;
    }
    .btn-form:hover{
        background: var(--color-white);
        color: var(--color-gray);
    }
}


@media screen and (max-width: 1024px) {
    .group-form{
        .form-wrap{
            width: 100%;
            max-width: 800px;
            padding: 0 20px;
        }
    }
    .group-confirm{
        .form-wrap{
            width: 100%;
            max-width: 800px;
            padding: 0 20px;
        }
    }
    .group-result{
        width: 100%;
    }
}

@media screen and (max-width: 800px){
    .progressbar{
        font-size: 12px;
    }
    .group-form{
        form{
            .l-form-flex{
                flex-direction: column;
            }
            .address1{
                width: 100%;
            }
            .peopleNum .l-flex{
                flex-wrap: wrap;
                margin-bottom: 30px;
            }
            .peopleNum label{
                width: 100%;
            }
            .btn-wrap .l-flex{
                flex-direction: column;
            }
            .btn-back,
            .btn-confirm,
            .btn-submit{
                margin-left: 0;
                margin-right: 0;
            }
            .btn-back{
                margin-bottom: 20px;
            }
            .result_text{
                text-align: left;
            }
        }
    }
    .group-result{
        .result_text{
            text-align: left;
        }
    }
} 
