@charset "UTF-8";

/* #keyvis {
    background-repeat: no-repeat;
    background-image: url(../img/top/mv_img01.png);
    background-size: cover;
    height: 71vh;
    display: flex;
    align-items: center;
    background-position: center;
    margin-top: 90px;
} */

.contact-form-box {
    margin-top: 5rem;
}

.contact-form-box .main-tit {
    background: #8dd5e5;
}

.contact-form-box h2 {
    font-size: 45px;
    color: #fff;
    padding: 4rem;
}

form.wpcf7-form {
    margin-top: 3rem !important;
    width: 80%;
    margin: 0 auto;
}

form.wpcf7-form label {
    width: 100%;
    font-size: 18px;
    font-weight: 500;
}

form.wpcf7-form input {
    width: 100%;
    margin-top: 0.5rem;
}

form.wpcf7-form select {
    width: 100%;
    margin-top: 0.5rem;
}

p.form-tit {
    font-size: 25px;
    font-weight: 500;
    padding-top: 2rem;
    color: #89bae6;
    border-bottom: 1px solid #89bae6;
    padding-bottom: 1rem;
}

span.form-sub-text {
    font-size: 12px;
    color: #737373;
    line-height: normal;
}

.submit-btn {
    background: #89bee5;
    border: none;
    color: #fff;
    padding: 1rem;
    font-size: 18px;
    height: 60px !important;
}

.required::after {
    content: "必須";
    color: #ffffff;
    background: #cc0000;
    font-size: 0.8em;
    padding: 0.3em;
    border-radius: 0.5em;
    margin-left: 0.3em;
}

.any::after {
    content: "任意";
    color: #ffffff;
    background: #d1d1d1;
    font-size: 0.8em;
    padding: 0.3em;
    border-radius: 0.5em;
    margin-left: 0.3em;
}

@media only screen and (max-width: 1024px) {

    .contact-form-box {
        margin-top: 0rem;
    }

    .contact-form-box h2 {
        font-size: 20px;
        margin-bottom: 0rem;
        padding: 1rem;
    }

    form.wpcf7-form {
        margin-top: 2rem !important;
        width: 100%;
        margin: 0 auto;
    }

    form.wpcf7-form label {
        font-size: 14px;
    }

    form.wpcf7-form input {
        width: 100%;
        font-size: 16px;
        height: 34px;
    }

    form.wpcf7-form select {
        width: 100%;
        font-size: 16px;
        padding: 0.2rem;
    }

    p.form-tit {
        font-size: 20px;
        padding-bottom: 0.7rem;
    }

    span.form-sub-text {
        font-size: 10px;
    }

}

@media only screen and (max-width: 750px) {}