.eng_ttl02 {
    margin-top: 0;
}

main {
    width: 80%;
    margin: auto;
    margin-bottom: 100px;
}

.contact_ttlbg {
    background-image: url(../images/contact_ttlbg.jpg);
}

h3 {
    text-align: center;
    font-size: 31px;
    letter-spacing: 10px;
    margin-bottom: 50px;
}

.form_Fbox {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

form {
    width: 60%;
    margin: auto;
}

label {
    width: 35%;
    
}

.input {
    display: block;
    width: 80%;
    border: solid 1px #46494D;
    border-radius: 5px;

}

.text {
    height: 200px;
}

.contact_textBox {
    width: auto;
    height: 150px;
    border: solid 1px #46494D;
    border-radius: 5px;
    overflow-y: scroll;
    font-weight: 300;
    font-size: 13px;
    padding: 10px;
    box-sizing: border-box;
}

.conform_Fbox {
    display: flex;
    margin-top: 10px;
}


.conform_text {
    display: block;
    margin-left: 10px;
    font-weight: 300;
}

.conform_wrap {
    width: 80%;
}

.submit_box {
    text-align: center;
}

.submit {
    font-family: "Zen Old Mincho", serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 3px;
    color: white;
    background-color: #46494D;
    border-radius: 50px;
    width: 378px;
    height:66px;
}




@media screen and (max-width: 960px) {
    form {
    width: 100%;
    margin: auto;
    }
    .contact_ttlbg {
        background-image: url(../images/contact_ttlbg_sp.jpg);
    }
}

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


    h3 {
        font-size: 20px;
        letter-spacing: 6px;
        margin-bottom: 35px;
    }

    form {
        width: auto;
        margin: auto;
    }

    .form_Fbox {
        display: block;
        justify-content: space-between;
        margin-bottom: 15px;
    }
    .input {
        display: block;
        width: 100%;
        height: 26px;
        border: solid 1px #46494D;
        border-radius: 5px;
        margin-top: 7px;
    }

    .conform_wrap {
        width: auto;
    }

    .contact_textBox {
        width: auto;
        height: 150px;
        border: solid 1px #46494D;
        border-radius: 5px;
        overflow-y: scroll;
        font-weight: 300;
        font-size: 13px;
        padding: 10px;
        box-sizing: border-box;
    }

    .submit_box {
        text-align: center;
        margin-top: 30px;
    }

    .submit {
        font-family: "Zen Old Mincho", serif;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 3px;
        color: white;
        background-color: #46494D;
        border-radius: 50px;
        width: 100%;
        height: 50px;
    }
}