/* section-form  */

.section-form {
    padding: 12vw 0;
    position: relative;
}

@media screen and (min-width: 1500px) {
    .section-form {
        padding: 200px 0;
    }
}

.section-form h2 {
    font-size: 36px;
    font-weight: 600;
    color: var(--red-color);
    text-align: center;
    margin-bottom: 0;
}

.sf-title {
    overflow: hidden;
    position: relative;
}

.sf-title:after {
    content: '';
    display: block;
    width: 65%;
    height: 2px;
    margin: 40px auto 50px;
    background-color: var(--red-color);
}

.section-form .inner {
    position: relative;
    z-index: 1;
}

.section-form-form {
    justify-content: center;
}

.section-form-form .form-input {
    margin: 0 10px;
}

.section-form-form .form-input:first-child {
    margin-left: 0px;
}

.section-form-form .form-input:last-child {
    margin-right: 0px;
}

.section-form-bg {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-form-bg picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-form-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-result {
    display: none;
    text-align: center;
}

.sf-form.active .form-result {
    display: block;
}

.sf-form.active .section-form-form {
    display: none;
}

.form-input .action {
    padding: 20px 40px;
}

@media (max-width: 960px) {
    .section-form {
        padding: 70px 0;
    }
    .section-form h2 {
        font-size: 30px;
    }
    .sf-title:after {
        width: 100%;
        max-width: 500px;
    }
    .section-form-form {
        display: block;
        max-width: 500px;
        margin: 0 auto;
    }
    .section-form-form .form-input {
        margin: 0 0 20px;
    }
    .section-form-form .form-input:last-child {
        margin: 0;
    }
    .form-input input,
    .form-input .action {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
}