@charset "UTF-8";
#contact{
    background-color: #e4e3e1;
    padding: 7% 0;
    box-sizing: border-box;
    font-size: 16px;
}
form p {
    font-size: 13px;
}
.confirm #contact{
    padding: 4% 0;
}
#contact .tbl{
    width: 700px;
    margin: 0px auto;
    padding: 3%;
    background-color: #fff;
}
#contact .contact_txt, .sub_ttl{
    font-size: 2rem;
    font-weight: bold;
    color: #0c3373;
    text-align: center;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #cfcfcf;
}
input, select, textarea {
    margin-bottom: 5px;
    padding: 8px 3pt;
}
#contact input,textarea {
    background-color: #f3f3f3;
    border: none;
}
#contact table th .must {
    float: right;
}
.must {
    background: #0c3373;
    color: #fff;
    font-size: 12px;
    font-weight: normal;
    display: inline-block;
    width: 35px;
    height: 17px;
    text-align: center;
    line-height: 1.4em;
    margin-right: 5px;
}
th {
    text-align: left;
    vertical-align: top;
    width: 40%;
}
.confirm #contact table th{
    width: 29%;
}
.confirm #contact table th,.confirm #contact table td {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    vertical-align: top;
}
.confirm #contact table td {
    width: 50%;
}
table {
    margin-left: 35px;
    width: 100%;
    display: block;
}
.confirm table {
    margin: 0 auto;
    width: 65%;
}
input[type="text"],input#email1, input[type="email"] {
    width: 100%;
}
.pc_dp_n{
    display: none;
}
#contact .submit{
    margin: 25px auto;
    display: block;
    background-color: #0c3373;
    width: 30%;
    color: #fff;
    border: none;
    font-size: 1.3rem;
    text-align: center;
}
#contact .submit input {
    text-decoration: none;
    border: 0px;
    background: #ffF0;
    color: #fff;
    font-size: 1.2rem;
    width: 100%;
}
.must3 {
    margin-top: 20px;
}
.must3 p {
    margin-top: 10px;
}
.must3 a {
    margin-top: 5px;
    display: inline-block;
}
.submit a {
    color: #fff;
    padding: 3%;
    text-decoration: none;
    display: block;
}
.submit a {
    color: #fff;
    padding: 3%;
    text-decoration: none;
    display: block;
}
.confirm #contact,
.thanks #contact {
    height: 91vh;
    min-height: 800px;
}
p.fix {
    margin-bottom: 20px;
}
#contact img{
    display: contents;
}
@media only screen and (max-width: 839px){
    .pc_dp_n{
        display: block;
    }
    table {
        margin: 0 auto;
        width: 100%;
    }
    #contact{
        width: 100%;
        padding: 9% 0;
    }
    #contact .tbl {
        width: 90%;
        box-sizing: border-box;
    }
    textarea {
        font-size:16px;
        margin: 3px 0;
        padding: 8px 3pt;
        width: 100%;
    }
    .contact_txt{
        margin-top: 20px;
        font-size: 1.8rem;
    }
    #contact table, #contact tbody, #contact table tr, #contact table th, #contact table td{
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .confirm #contact table {
        width: 94%;
        margin: 0 auto;
    }
    textarea {
        height: 180px;
    }
    tr {
        margin-top: 10px;
    }
    .thanks .tbl .fix{
        text-align: left;
        width: 80%;
        margin: 0 auto 20px;
    }
    .confirm #contact {
        padding: 12% 0;
    }
    input[type="text"],input[type="email"], input#email1 {
        display: block;
        font-size:16px;
        width: 100%;
    }
    #contact input{
        font-size:16px;
    }
    _::-webkit-full-page-media, _:future, :root input {
        width: 400px;
        max-width: 82vw;
    }
    #contact .submit{
        width: 80%;
    }
    .confirm #contact table th{
        background-color: #efefef;
    }
    .confirm #contact table th,.confirm #contact table td {
        border-bottom: none;
        width: 100%;
    }
    .confirm #contact,
    .thanks #contact {
        height: auto;
        min-height: auto;
    }
}