.bg-dark h2.blog-item-title {
    color: #fff !important;
    letter-spacing: 7px;
}

.blog-item-body img {
    clear: both !important;
    /*
    padding-bottom: 20px;
    padding-top: 20px;
*/
    /*    box-shadow: 0px 0px 26px -8px #939393;*/
    margin: 20px 0 10px;
}

table {
    margin-bottom: 50px;
}

th {
    width: 275px;
    background: #D9EEB1;
    font-weight: normal;
}

.wp-block-table td,
.wp-block-table th {
    border: 1px solid !important;
    padding: 1em !important;
}


/* コンテナ全体のスタイル */
.wpcf7 form {
    max-width: 100%;
}

/* ラベルのスタイル */
.wpcf7 label {
    display: block;
    margin-bottom: 0.5em;
    line-height: 3
}


.wpcf7-form-control {
    width: 100%;
    box-sizing: border-box;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea {
    padding: 10px;
    font-size: 16px;
    line-height: 1.5;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.wpcf7-form-control.wpcf7-submit {
    background-color: #62CD21;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.wpcf7-form-control.wpcf7-submit:hover {
    background-color: #005177;
}





/* テキスト入力フィールド、メール入力フィールド、テキストエリアのスタイル */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;
    /* パディングやボーダーの幅を含めて計算 */
    padding: 0.5em;
    margin-bottom: 1em;
}

.wpcf7-form p {
    margin-bottom: 0;
}



/* 送信ボタンのスタイル */
.wpcf7 input[type="submit"] {
    width: 41%;
    padding: 0.75em;
    background-color: #82D700;
    /* お好みで背景色を変更 */
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-align: center;
    display: inline-block;
}

.wpcf7 input[type="submit"]:hover {
    background-color: #005177;
    /* ホバーカラー */
}

.wp-block-image {
    width: 48%;
    float: left;
    margin-right: 4%
}

.wp-block-image:nth-child(2n) {
    width: 48%;
    float: left;
    margin-right: 0;
}

.photo-1mai .wp-block-image {
    width: 100%;
    margin-right: 4%
}

.photo-1mai .wp-block-image:nth-child(2n) {
    width: 100%;
    float: none;
    margin-right: 0;
}


#footer-navi ul {
    margin-right: auto;
    margin-left: auto;
    padding: 0;
}

#footer-navi ul li {
    font-size: 18px;
    display: inline;
    line-height: 18px;
    border-left: 1px solid #fff;
    padding-top: 2px;
    padding-left: 12px;
    margin-left: 5px;
    display: -moz-inline-box;
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

#footer-navi ul li:first-child {
    border-left: none;
}

.conatact-check p.koumoku {
    margin-bottom: 15px;
}


@media (max-width: 768px) {
    #footer-navi ul li {
        display: block;
        margin-bottom: 23px;
        border-left: none;
        margin-left: 0px;
    }
}



@media (max-width: 997px) {


    .wp-block-image {
        width: 100%;
        float: none;
        margin-right: 0
    }

    .wp-block-image:nth-child(2n) {
        width: 100%;
        float: left;
        margin-right: 0;
    }

    h1 {
        font-size: 5.3vw !important;
    }

    h2 {
        font-size: 5.3vw !important;
    }

    .has-large-font-size {
        font-size: 5.3vw !important;
    }

    .page-section {
        padding: 40px 0 !important;
    }

    .wp-block-table table {
        display: block;
        border-collapse: collapse;
    }

    .wp-block-table tbody {
        display: block;
    }

    .wp-block-table tr {
        display: block;
    }

    .wp-block-table th,
    .wp-block-table td {
        display: block;
        width: 100%;
        text-align: left;
        border: 1px solid !important;
        padding: 1em !important;
        border-bottom: none !important;
        /* Prevent border doubling */
    }

    .wp-block-table tr:last-child td {
        border-bottom: 1px solid !important;
        /* Add border to the last row's td */
    }

    .wpcf7 input[type="submit"] {
        width: 64%;
    }


}
