.form-box .wpcf7-form {
    line-height: inherit;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 0 30px;
}

.wpcf7-form br,
.wpcf7-form p:empty {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.wpcf7-form p,
.wpcf7-form a,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form label {
    font-size: 16px;
    line-height: 20px;
}

.wpcf7 a {
    text-decoration: underline !important;
    color: #fff;
}

.wpcf7 a:hover {
    text-decoration: none !important;
}

.wpcf7-form p {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 40px;
    max-width: 100%;
    width: auto;
    position: relative;
    color: #fff;
}

.wpcf7-form input:not([type="checkbox"]) {
    width: 100%;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
    outline: 0;
    border: 2px solid #e3e3e3;
    border-radius: 20px;
    padding: 6px 10px;
}

.wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-list-item-label {
    color: #fff;
}

.wpcf7-textarea {
    width: 100%;
    height: 80px;
    min-height: 80px;
    outline: 0;
    border: 2px solid #e3e3e3;
    border-radius: 20px;
    padding: 6px 10px;
}

.wpcf7-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 200px;
    padding: 5px 10px;
    margin: 20px auto 0;
    border-radius: 20px;
    background-color: #685EFD;
    border: 2px solid #685EFD;
    transition: background .3s ease, border .3s ease, color .3s ease, filter .3s ease;
    color: #fff;
}

.wpcf7-submit[disabled] {
    filter: grayscale(100);
}

.wpcf7-submit:not([disabled]):hover,
.wpcf7-submit:not([disabled]):focus-visible,
.wpcf7-submit:not([disabled]):focus-within {
    background-color: transparent;
    border-color: #fff;
}

.wpcf7-spinner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    margin: 0;
    bottom: 0;
}

/* notify */
.wpcf7 form .wpcf7-response-output {
    margin: 0;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    padding: 10px 20px;
    border: 2px solid #00a0d2;
    background-color: #00a0d2;
    color: #fff;
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    background-color: #dc3232;
    border-color: #dc3232;
}

.wpcf7 form.invalid .wpcf7-response-output{
    background-color: #ffb900;
    border-color: #ffb900;
}

.wpcf7 form.sent .wpcf7-response-output {
    background-color: #46b450;
    border-color: #46b450;
}

.wpcf7-not-valid-tip{
    font-size: 12px;
    position: absolute;
}

/* notify */

@media (max-width:768px) {
    .wpcf7-form p {
        margin: 0 0;
    }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    height: auto;
}

.select2-container--default .select2-selection--single {
    border-radius: 20px;
}

.select2-container--default .select2-selection--single {
    border: 2px solid #e3e3e3;
}

.wpcf7-form input.wpcf7-not-valid,
.wpcf7-select.wpcf7-not-valid + span .select2-selection--single{
    border-color: #dc3232;
}