.entry-title--post-type--page,
h2:where(:not(.wp-block-post-title)) {
    padding: .5em 0;
    border-top: 2px solid #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/*見出し欄*/
.inquiry th {
    text-align: left;
    font-size: 14px;
    color: #444;
    padding-right: 5px;
    width: 30%;
    background: #f7f7f7;
    border: solid 1px #d7d7d7;
}

/*通常欄*/
.inquiry td {
    font-size: 13px;
    border: solid 1px #d7d7d7;
}

/*横の行とテーブル全体*/
.entry-content .inquiry tr,
.entry-content table {
    border: solid 1px #d7d7d7;
}

/*必須の調整*/
.haveto {
    font-size: 7px;
    padding: 5px;
    background: #ff9393;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
}

/*任意の調整*/
.any {
    font-size: 7px;
    padding: 5px;
    background: #93c9ff;
    color: #fff;
    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    bottom: 1px;
}

/*ラジオボタンを縦並び指定*/
.verticallist .wpcf7-list-item {
    display: flex;
}

/* プルダウンメニュー */
.mobile {
    display: none:
}

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    margin-top: 10px;
}


/*送信ボタンのデザイン変更*/
#formbtn {
    display: block;
    padding: 15px;
    width: 350px;
    background: #ffaa56;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    border-radius: 2px;
    margin: 25px auto 0;
}

/*送信ボタンマウスホバー時*/
#formbtn:hover {
    background: #fff;
    color: #ffaa56;
    border: 2px solid #ffaa56;
}



/*スマホContact Form 7カスタマイズ*/
@media(max-width:500px) {

    .inquiry th,
    .inquiry td {
        display: block !important;
        width: 100% !important;
        border-top: none !important;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }

    .inquiry tr:first-child th {
        border-top: none
    }

    /* 必須・任意のサイズ調整 */
    .inquiry .haveto,
    .inquiry .any {
        font-size: 10px;
    }

    #formbtn {
        width: 180px;
        font-size: 13px;
        margin: 15px auto 0;
    }

    wpcf7-form init p {
        font-size: 13px;
    }

    .haveto {
        padding: 3px;
    }


    table {
        padding: 7px 14px 0px 14px;
    }


    .inquiry td {
        border: none;
        padding: 0 14px;
    }

    .inquiry th {
        padding: 6px 14px 0 14px;
    }


    .inquiry tr:first-child th {
        border-top: 0px solid #f5f5f5
    }


    input[type=date],
    input[type=email],
    input[type=number],
    input[type=password],
    input[type=tel],
    input[type=text],
    input[type=url],
    select,
    textarea {
        font-size: 12px;
        border: 1px solid rgba(0, 0, 0, .3);
    }


    :where(:not(.wp-block-table))>table :is(th, td) {
        border: none;
    }

    :where(:not(.wp-block-table))>table {
        border: none;
    }

    th {
        border: none;
    }

    tr p {
        margin: 5px;
        text-align: left;
    }

    p {
        font-size: 12px;
        margin-bottom: 0px;
    }

    #text {
        font-size: 10px;
        max-width: 280px;
    }

    .PC {
        display: none;
    }

    .mobile {
        display: contents;
    }

    opsiton {
        font-size: 14px;
    }

}


@media(min-width:500px) {
    .mobile {
        display: none;
    }

}