.reservation.container--900 {
    padding: 48px 40px;
}

.form-ttl-wrap {
    text-align: center;
    margin: 48px auto 33px auto;
}

.form-subttl {
    font-size: 16px;
    line-height: 16px;
    font-weight: 600;
    color: #CC545D;
}

.form-ttl {
    font-size: 32px;
    line-height: 41.6px;
    font-weight: 600;
    margin: 10px auto 33px;
    padding-bottom: 24px;
    position: relative;
}
.form-ttl::before {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background-color: #FFCC21;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.title.input-group__input {
    display: flex;
    align-items: center;
}


.wpcf7-form-control.wpcf7-checkbox {
    display: flex;
}

.wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 3px;
}

input[type=checkbox] {
    opacity: 0;
    width: 17px;
    height: 17px;
    position: relative;
    z-index: 2;
 }   

 .wpcf7-list-item-label {
    position: relative;
 }

input[type=checkbox] + .wpcf7-list-item-label::before {
    content: '';
    z-index: 1;
    display: inline-block;
    width: 17px;
    height: 17px;
    border: 1px solid #B4B4B4;
    transition: opacity .2s ease-in-out;
    opacity: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
}

input[type=checkbox] + .wpcf7-list-item-label::after {
    content: '';
    z-index: 1;
    display: inline-block;
    width: 17px;
    height: 17px;
    background-image: url("../../../public/assets/images/common/check.svg");
    background-size: cover;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    transition: opacity .2s ease-in-out;
}

input[type=checkbox]:checked + .wpcf7-list-item-label::before {
    opacity: 0;
}

input[type=checkbox]:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}


textarea.input-group__input {
    height: 140px;
    padding-top: 15px;
}

.select.input-group__content {
    width: 260px;
    position: relative;
    flex: none;
}

.select.input-group__content + .select.input-group__content {
    margin-left: 10px;
}

.check .input-group__content {
    padding-top: 12px;
}


.select.input-group__content::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 5px;
    background-image: url("../../../public/assets/images/event/sankaku.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.check .select.input-group__content::after {
    display: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 16px;
}

.input-group__heading label {
    display: inline-block;
    margin-left: 12px;
    text-align: center;
}

.checkbox label:before {
    display: none;
}

.input-group__content.check-box {
    padding-top: 13px;
}

.check .input-group__content {
    background-color: #fff;
    border: none;
}

.contact-form-buttons p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.wpcf7-spinner {
    display: none!important;
}

.buttons-wrap {
    position: relative;
}

.buttons-wrap:hover::after {
    right: 15px;
}

.buttons-wrap:after {
    content: "";
    display: inline;
    width: 12px;
    height: 12px;
    background-image: url("../../../public/assets/images/event/arrow.svg");
    background-size: contain;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 20px;
    margin: auto;
    transition: right .2s ease-in-out;
}

.buttons-wrap.back::after {
    right: auto;
    left: 20px;
    transform: rotate(180deg);
    transition: left .2s ease-in-out;
}

.buttons-wrap.back:hover::after {
    left: 15px;
}

.reservation .contact-form-buttons .button {
    opacity: 0.5;
}

.thanks .form-title {
    color: #585051;
    border-bottom: none;
    font-size: 24px;
    line-height: 33px;
    padding-bottom: 32px;
}

@media (max-width: 767px) {

    .reservation.container--900 {
        width: calc(100% - 48px);
        margin: 0 autoe;
        padding: 24px 16px;
    }
    
    .form-ttl-wrap {
        text-align: center;
        margin: 24px auto;
    }
    
    .form-subttl {
    }    
    .form-ttl {
        font-size: 24px;
        line-height: 33.6px;
        margin: 8px auto 24px;
        padding-bottom: 20px;
    }
    .form-ttl::before {
        width: 48px;
    }

    .title.input-group__input span{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    textarea.input-group__input {
        padding-top: 10px;
    }
    
    .select.input-group__content {
        width: 100%;
    }

    .select.input-group__content + .select.input-group__content {
        margin-left: 0;
        margin-top: 5px;
    }

    .wpcf7-form-control.wpcf7-checkbox {
        display: block;
    }

    .wpcf7-list-item {
        margin-left: 0;
    }
    
    .check .input-group__content {
    }
    
    
    .select.input-group__content::after {
    }
    
    .check .select.input-group__content::after {
    }

    select {
        font-size: 16px;
    }
    
    select option[value] {
        font-size: 16px;
    }
    
    .input-group__heading label {
        margin-left: 0;
    }
    
    .checkbox label:before {
    }
    
    .check .input-group__content {
    }
    
    .contact-form-buttons p {
        flex-direction: column;
        gap: 20px;
    }

    .contact-form-buttons p br {
        display: none;
    }
    
    .contact-form-buttons input {
        margin-left: 0px;
    }
    
    .thanks .form-title {
        font-size: 22px;
        line-height: 30.8px;
        padding-bottom: 24px;
    }

    .footer__nav {
        height: 415px;
    }
    .global-nav {
        height: 459px;
    }
}