.contact_p {
    font-size: 1.7rem;
    margin: 40px 0 20px;
    text-align: center;
}

.en .contact_p {
    font-size: 1.7rem;
    margin: 80px 0 30px;
    text-align: center;
}

.nospamwrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 40px;
}

.nospamwrap .nospamimg {
    margin-right: 30px;
}

.nospamwrap .nospamtext p {
    font-size: 1.5rem;
    color: #E50011;
    line-height: 1.8;
}

.formwrap {
    margin: 0 auto;
    padding-bottom: 70px;
}

.attn {
    font-size: 1.5rem;
    line-height: 1.8;
}

input[type=text],
input[type=tel],
input[type=email],
select {
    padding: 5px;
}
input.searchinputtext[type=text] {
    padding: 0px;
}

/*Contact Form 7カスタマイズ*/
/*スマホContact Form 7カスタマイズ*/
@media (max-width:736px) {
    table {
        width: 100%;
    }

    .inquiry th,
    .inquiry td {
        display: inline-block !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
        padding: 5px 0px !important;
    }

    .inquiry th {
        text-align: left !important;
        white-space: nowrap;
        width: auto !important;
        margin-right: 10px;
    }

    .inquiry tr td:last-child {
        display: block !important;
        width: 100%;
    }

    .inquiry tr td input,
    .inquiry tr td textarea {
        width: 100% !important;
        -webkit-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }

    .inquiry tr td textarea {
        height: 120px !important;
    }

    /* 必須・任意のサイズ調整 */
    .inquiry .haveto,
    .inquiry .any {
        font-size: 10px;
    }

    input[type=text],
    input[type=tel],
    input[type=email],
    select,
    textarea {
        padding: 7px;
    }


    .contact_p {
        font-size: 1.7rem;
        line-height: 1.5;
    }
    
    .en .contact_p {
        font-size: 1.7rem;
        margin: 30px 0 30px;
        text-align: left;
    }

    .formwrap {
        width: 100%;
        padding-bottom: 40px;
    }

    .nospamwrap .nospamimg {
        margin-right: 10px;
        width: 134px;
    }
}

/*見出し欄*/
.inquiry th {
    text-align: right;
    padding: 10px;
    width: 30%;
    line-height: 1.2;
}

/*通常欄*/
.inquiry td {
    padding: 10px;
    line-height: 1.2;
}

.inquiry tr:first-child td {
    white-space: nowrap;
}

.vtop {
    vertical-align: top;
}

/*横の行とテーブル全体*/
.entry-content .inquiry tr,
.entry-content table {}

/*必須の調整*/
.haveto {
    color: #E50011;
    position: relative;
}

/*任意の調整*/
.any {
    color: #3070B8;
    position: relative;
}

/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item {
    display: block;
}

/*送信ボタンのデザイン変更*/
#formbtn,
#resetbtn {
    display: inline-block;
    padding: 0.5em 0;
    width: 20%;
    background: #3070B8;
    color: #fff;
    font-size: 1.3rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/*送信ボタンマウスホバー時*/
#formbtn:hover {}

.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.8em 1em !important;
    border: 2px solid #00a0d2;
    text-align: center;
}
