@charset "utf-8";

/* --------------------------------------------


form　メールフォーム


---------------------------------------------- */

.contact {
    width: 94%;
    max-width: 600px;
    margin: 120px auto 200px;
}

.contact .contact__text {
    margin: 40px 0 80px;
    font-size: 16px;
    font-size: 1.6rem;
    text-align: center;
    font-weight: normal;
}

.contact .contact__text a {
    font-weight: bold;
    text-decoration: underline;
}


.contact__white p {
    position: relative;
    font-size: 16px;
    font-size: 1.6rem;
}

.contact__white p:first-child:before {
    position: absolute;
    display: block;
    content: "";
    width: 4px;
    height: 32px;
    left: -12px;
    background-color: #FFC800;
}

.contact input,
.contact textarea {
    padding: 0 8px;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
}

.contact input.tel {
    width: auto;
}

.contact textarea {
    width: 100%;
}

.contact .important {
    font-size: 0.7em;
    vertical-align: text-top;
}

.contact input.linkBtn,
.contact__complete .linkBtn {
    font-size: 36px;
    font-size: 3.6rem;
    font-weight: bold;
    border: none;
    background-color: #fff;
    cursor: pointer;
}


.mw_wp_form_complete p {
    text-align: start;
}

.contact__white {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    margin: 40px auto;
}

.contact__white p:last-child {
    width: 400px;
}

.contact__button {
    position: relative;
    width: 120px;
    margin: 40px auto;
    text-align: center;
}

.contact__button::after {
    position: relative;
    display: block;
    content: "";
    width: 0;
    height: 4px;
    background-color: #FFC800;
    opacity: 0;
    transition: 0.3s;
}

.contact__button:has(input.linkBtn:hover)::after {
    width: 100%;
    opacity: 1;
    transition: 0.3s;
}

.contact__white p.cancel {
    margin-bottom: 12px;
}

.contact__white p.cancel:before {
    display: none;
}

.contact__complete {
    text-align: center;
}


@media only screen and (max-width:640px) {
    .contact {
        max-width: 92%;
        margin: 120px 3% 120px auto;
    }


    .contact__white p {
        margin: 20px 0;
    }

    .contact__white p:first-child:before {
        height: 44px;
    }

    .contact input.linkBtn,
    .contact__complete .linkBtn {
        font-size: 24px;
        font-size: 2.4rem;
    }

    .contact__white {
        display: block;
        margin: 60px 0;
    }

    .contact__white p:last-child {
        width: 100%;
    }

    .contact__button {
        position: relative;
        width: 120px;
        margin: auto;
        text-align: center;
    }

    .contact__button::after {
        position: relative;
        display: block;
        content: "";
        width: 0;
        height: 4px;
        background-color: #FFC800;
        opacity: 0;
        transition: 0.3s;
    }

    .contact__button:has(input.linkBtn:hover)::after {
        width: 100%;
        opacity: 1;
        transition: 0.3s;
    }

    .mwform-tel-field input[type="text"] {
        width: 170px!important;
    }
}