@charset "utf-8";



.from_soto {
    max-width: 1000px;
    background-color: #fff;
    width: 90%;
    margin: 60px auto 0;
    font-family: source-han-sans-japanese, sans-serif;
    font-weight: 300;
    font-style: normal;
    letter-spacing: 0.1em;
    font-size: 14px;
    line-height: 1.5;
    overflow-y: scroll;
}

.from_naka {
    padding: 60px;
    margin: 0 auto;
}

.from_naka span{color:red;}


form#mail_form {
    margin: 0px auto;
    padding: 0px 0;

}

form#mail_form dl {
    margin: 0 auto;
}

form#mail_form dl dt {
    margin-left: 6px;
    margin-bottom: 6px;
    padding: 0;
    text-align: left;
}

form#mail_form dl dd {
    width: 100%;
    padding: 0;
    margin-bottom: 30px
}

form#mail_form dl dt:first-child,
form#mail_form dl dt:first-child + dd {
    border: none;
}

form#mail_form dl dt span {
    display: ;
    font-size: 85%;
    color: red;
}


form#mail_form p#form_submit {
    width: 280px;
    margin: 0 auto;
}

form#mail_form input#form_submit_button {
    width: 100%;
    vertical-align: middle;
    padding: 10px 0 30px;
    text-decoration: none;
    background: #1b307a;
    color: #fff;
    border: solid 1px #1b307a;
    border-radius: 50px;
    transition: .4s;
}

form#mail_form input#form_submit_button:hover {
    background: #fff;
    color: #0081F8;
}



/* -- for JavaScript ここから -------------------------------------------------------------------------------- */




/* -- for JavaScript ここまで -------------------------------------------------------------------------------- */


form#mail_form input {
    height: 2em;
    padding: 2px 2%;
    border: 1px solid #cccccc;
    border-radius: 3px;
}

form#mail_form textarea {
    width: 94.5%;
    max-width: 100%;
    height: 200px;
    padding: 2px 2%;
    resize: vertical;
    border: 1px solid #cccccc;
    border-radius: 3px;
    -webkit-appearance: none;
}

form#mail_form input:focus,
form#mail_form textarea:focus {
    box-shadow: 0px 0px 5px #55ccff;
    border: 1px solid #55ccff;
    background: #ffffff;
}


form#mail_form input#name_1,
form#mail_form input#name_2 {
    width: 45%;
    max-width: 100%;
    -webkit-appearance: none;
}

form#mail_form input#read_1,
form#mail_form input#read_2 {
    width: 45%;
    max-width: 100%;
    -webkit-appearance: none;
}

form#mail_form input#mail_address,
form#mail_form input#mail_address_confirm {
    width: 94.5%;
    max-width: 100%;
    -webkit-appearance: none;
}

form#mail_form input#tel {
    width: 94.5%;
    max-width: 100%;
    -webkit-appearance: none;
}

form#mail_form input#work {
    width: 94.5%;
    max-width: 100%;
    -webkit-appearance: none;
}


form#mail_form ul li {
    list-style-type: none;
    margin-bottom: 0.5em;
}

form#mail_form ul li label:hover {
    cursor: pointer;
}

form#mail_form ul li input {
    height: auto;
    margin-right: 0.5em;
}






/* --responsive----------------------------------------------------------------------------------------------------------------- */


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

    .from_soto {
        background-color: #fff;
        width: 90%;
        margin: 60px auto 0;
    }

    .from_naka {
        padding: 30px;
        margin: 0 auto;
    }

    form#mail_form input#name_1,
    form#mail_form input#name_2 {
        width: 44%;
        max-width: 100%;
        -webkit-appearance: none;
    }

    form#mail_form input#read_1,
    form#mail_form input#read_2 {
        width: 44%;
        max-width: 100%;
        -webkit-appearance: none;
    }

}

