@charset "utf-8";

/* Contact
----------------------------------------------------------------------------------------------------*/
.contact {
    background: linear-gradient(#FFF, #a8ffd3 90%);
    padding-bottom: 35px;
    width: 100%;
}

.contents_box {
    width: 75%;
}

.caution {
    margin: 35px 0;
    font-size: 1.75rem;
    line-height: 1.5;
}

.emphasis {
    font-weight: bold;
}

.emphasis a {
    color: #dc143c;
    transition: all 0.5s ease-in-out;
}

.emphasis a:hover {
    color: #FFF;
}


dl.contact_form {
    display: flex;
    align-items: center;
    padding: 20px;
    width: 100%;
    border-top: 1px dotted #412E20;
}

.contact_form dt {
    width: 200px;
    font-size: 2rem;
}

.contact_form dd {
    width: 700px;
}
.contact_form dd span {
    display: block;
}

.contact_form dd input,
.contact_form dd textarea {
    display: block;
    padding: 10px;
    width: 100%;
    font-size: 1.75rem;
    border: 1px solid #412E20;
    border-radius: 10px;
    background-color: #FFF;
}

.submit {
    padding: 20px;
    text-align: center;
    border-top: 1px dotted #412E20;
}

.submit input {
    padding: 10px;
    width: 250px;
    color: #412E20;
    font-size: 2rem;
    font-weight: bold;
    background-color: #FFF;
    border: 3px solid #412E20;
    border-radius: 10px;
    transition: all 0.5s ease-in-out;
}

.submit input:hover {
    cursor: pointer;
    background-color: #a8ffd3;
}

.screen-reader-response {
    margin-bottom: 25px;
}

.wpcf7-not-valid-tip {
    margin-top: 5px;
}

span.wpcf7-not-valid-tip,
div.wpcf7-response-output {
    color: #dc143c;
    font-size: 1.75rem;
    font-weight: bold;
}

div.wpcf7-response-output {
    padding: 10px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    background-color: #FFF;
    border: 2px solid #412E20 !important;
    border-radius: 10px;
}

/* -------------------- for SP (480px) -------------------- */
@media screen and (max-width: 480px) {
    .contents_box {
        width: 95%;
    }

    dl.contact_form {
        flex-direction: column;
        align-items: stretch;
        padding: 10px;
    }
    .contact_form dt {
        padding-bottom: 10px;
    }

    .contact_form dd {
        margin-left: 10px;
        width: calc(100% - 10px);
    }

    .wpcf7-spinner {
        display: block;
    }

    .submit input {
        max-width: 100%;
    }
}

/* -------------------- for Tablet (481px) and (1023px) -------------------- */
@media screen and (min-width: 481px) and (max-width: 1023px) {
    .contents_box {
        width: 100%;
    }

    .contact_form dd {
        width: calc(100% - 200px);
    }
}
