.contact-form {
    display: none;
    width: calc((100% - 500px) / 2);
    position: relative;
    z-index: 1005;
}

.contact-form.fixed {
    display: block;
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);   
}
@media (max-width: 1199px) {
    .contact-form.fixed {
        display: none;
    }
}

.form {
    width: 100%;
    max-width: 470px;
    padding: 45px 0;
    font-size: 16px;
    line-height: 22px;
    margin: 0 auto;
}
.form .btn-contact:hover{
    background-color: rgba(217, 12, 33, 0.7);
}
.form .center {
    text-align: center;
}

.form .title {
    font-weight: 700;
    font-size: 21px;
    line-height: 32px;
    margin-bottom: 10px;
}

.form .tel {
    font-family: "Bebas", sans-serif;
    font-size: 21px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    letter-spacing: 0;
}

.form .tel .num {
    display: inline-block;
    font-size: 37px;
    margin-left: 4px;
}

.form .time {
    font-size: 14px;
    line-height: 1;
    font-feature-settings: "palt";
    margin-top: 6px;
}
.form .time .hour {
    font-size: 16px;
}

.form-contact {
    display: flex;
    flex-direction: column;
    margin: 15px auto 0;
    justify-content: center;
    width: 335px;
    max-width: 90%;
}

.form label {
    position: relative;
    margin-bottom: 6px;
    letter-spacing: 0.14em;
}

.form small {
    color: #D90C21;
    padding-left: 3px;
}

.form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
}

.form textarea {
    resize: none;
    height: 119px;
    border: 1px solid #000;
    font-size: inherit;
    font-family: inherit;
    font-weight: 400;
    letter-spacing: 0.14em;
    padding: 15px;
    color: #000;
    box-sizing: border-box; 
}

.form input {
    display: block;
    height: 45px;
    border: 1px solid #000;
    font-size: inherit;
    font-family: inherit;
    font-weight: 400;
    letter-spacing: 0.14em;
    padding: 5px 15px; 
    box-sizing: border-box;
    color: #000;
}
.form input::placeholder {
    color: #B5B5B6;
}

.form .bottom {
    width: 100%;
    display: flex;
    justify-content: center;
}

.form .bottom a {
    color: #000;
    font-feature-settings: "palt";
    text-decoration: underline;
}

.form .bottom p {
    width: 335px;
    color: #000;
    line-height: 1.57;
    font-size: 14px;
    letter-spacing: 0.14em;
    padding: 4px 0 0 4px;
    font-feature-settings: "palt";
}

.form .agree {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 18px;
}

.form .agree small {
    font-weight: 700;
}

.form .agree input[type="checkbox"] {
    width: 16px;
    height: 16px;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #000;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    padding: 0;
    margin: 2px 10px 0 -6px;
}

.form .agree input[type="checkbox"]::after {
    content: "✓";
    color: #000;
    font-size: 16px;
    position: absolute;
    top: -1px;
    left: 2px;
    display: none;
    font-weight: 700;
}

.form .agree input[type="checkbox"]:checked::after {
    display: block;
}

.form .btn-contact {
    height: 50px;
    font-size: inherit;
    font-weight: 400;
    letter-spacing: 0.14em;
    font-family: inherit;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox label {
    display: flex;
    position: relative;
    cursor: pointer;
    align-items: center;
    margin-bottom: 0;
    line-height: 1.2;
}

.custom-checkbox label:before {
    content: '';
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid #000;
    width: 15px;
    height: 15px;
    margin-right: 8px;
}

.custom-checkbox input:checked label:before {
    background-color: #000;
}

.custom-checkbox input:checked + label:after {
    content: '';
    display: block;
    position: absolute;
    top: 3px;
    left: 6px;
    width: 4px;
    height: 10px;
    border-style: solid;
    border-color: #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@media screen and (max-width: 500px) {
    .custom-checkbox input:checked + label:after {
        top: 1.5px;
        left: 5.5px;
    }
}