/* 対象：新規バリエーション（.is-shoda-table）と、スタイル適用版（.is-style-shoda-designed） */
.wp-block-table.is-shoda-table,
.wp-block-table.is-style-shoda-designed {
    /* 余白やはみ出し対策は必要に応じて */
}

/* 実テーブル要素に適用 */
.wp-block-table.is-shoda-table table,
.wp-block-table.is-style-shoda-designed table {
    width: 100%;
    border-collapse: collapse; /* 格子が綺麗に出る */
    table-layout: fixed;       /* レイアウト安定 */
}

/* 格子の枠線（全体） */
.wp-block-table.is-shoda-table th,
.wp-block-table.is-shoda-table td,
.wp-block-table.is-style-shoda-designed th,
.wp-block-table.is-style-shoda-designed td {
    border: 1px solid #c0d2de;                  /* 指定：1px solid #c0d2de */
    padding: 0.8em 1em;
    vertical-align: middle;
    word-break: break-word;
}

/* === ヘッダー行：背景・文字色・罫線を完全指定 === */
.wp-block-table.is-shoda-table thead,
.wp-block-table.is-style-shoda-designed thead {
    border-bottom: 1px solid #c0d2de !important; /* ← デフォルト3pxを上書き */
}

.wp-block-table.is-shoda-table thead th,
.wp-block-table.is-style-shoda-designed thead th {
    background-color: #357195;
    color: #fff;
    font-weight: 700;
    border: 1px solid #c0d2de;
}


/* 2行目以降の1列目（tbodyの1列目） */
.wp-block-table.is-shoda-table tbody td:first-child,
.wp-block-table.is-style-shoda-designed tbody td:first-child {
    font-weight: 700;                            /* 指定：太字 */
    color: #357195;                              /* 指定：#357195 */
}

/* エディタ内（iframe）でも確実に適用（保険） */
.editor-styles-wrapper .wp-block-table.is-shoda-table table,
.editor-styles-wrapper .wp-block-table.is-style-shoda-designed table {
    border-collapse: collapse;
}
/* --- エディタ内でも確実に反映 --- */
.editor-styles-wrapper .wp-block-table.is-shoda-table thead,
.editor-styles-wrapper .wp-block-table.is-style-shoda-designed thead {
    border-bottom: 1px solid #c0d2de !important;
}
.editor-styles-wrapper .wp-block-table.is-shoda-table thead th,
.editor-styles-wrapper .wp-block-table.is-style-shoda-designed thead th {
    background-color: #357195;
    color: #fff;
    font-weight: 700;
    border: 1px solid #c0d2de;
}

.editor-styles-wrapper .wp-block-table.is-shoda-table tbody td:first-child,
.editor-styles-wrapper .wp-block-table.is-style-shoda-designed tbody td:first-child {
    font-weight: 700;
    color: #357195;
}
.editor-styles-wrapper .wp-block-table.is-shoda-table th,
.editor-styles-wrapper .wp-block-table.is-style-shoda-designed th,
.editor-styles-wrapper .wp-block-table.is-shoda-table td,
.editor-styles-wrapper .wp-block-table.is-style-shoda-designed td {
    border: 1px solid #c0d2de;
    padding: 0.8em 1em;
}
