.table>tbody>tr>td {
    /* 1行内に複数段サイズの場合、その対象をrow方向のセンターにする */
    vertical-align: middle;
    /* 英単語でもなんでも折り返す。width設定を優先させたいため */
    overflow-wrap: anywhere;
}

/* テーブル内各td幅固定用 */
/* .css_fixed_width { */
    /* fixedwidth */
    /* --fwidth:initial; */
    /* width:var(--fwidth); */
    /* max-width:var(--fwidth); */
    /* min-width:var(--fwidth); */
    /* overflow-wrap: anywhere; */
/* } */

table tr th {
    /* table内タイトルをcenterへ.estimateapp_detailなどではtableが2つあるのでそういう設定していないものはデフォルト真ん中とする */
    text-align: center;
}

/* tableの色順は記述順序に注意。hover(特殊)時を最後に記述する事============================== */
/* table-striped.thのカラーodd */
.table-striped>tbody>tr:nth-child(odd)>th {
    background-color:#00008b;
    color:white;
}
/* table-striped.thのカラーeven */
.table-striped>tbody>tr:nth-child(even)>th {
    background-color:#00008b;
}
/* table-striped.tdのカラーodd */
.table-striped>tbody>tr:nth-child(odd)>td {
    background-color:#fffff9;
    /* border-color: rgb(46, 46, 46); */
}
/* table-striped.tdのカラーeven */
.table-striped>tbody>tr:nth-child(even)>td {
    background-color: #f2f2f2;
    /* border-color: rgb(46, 46, 46); */
}

/* bootstrap .table-hoverのホバー色変更 */
/* .table-hover tbody tr:hover th, */
.table-hover tbody tr:hover td {
    background-color: #FFFACD;
}
/* tableの色順は記述順序に注意。hover(特殊)時を最後に記述する事============================== */

/* meisai行用 */
.custom_table-striped-2span tbody tr:nth-of-type(4n+1),
.custom_table-striped-2span tbody tr:nth-of-type(4n+2) {
    /* 1行内2段サイズの場合 stripeを1つめ、2つめ、,,,4n+1,4n+2つめにつける。つまり4n+1&4n+2(n=0,1,2,3,)行目につける */
    background-color: #e8e9ec;
}
.custom_table-striped-2span tbody tr:nth-of-type(4n+3),
.custom_table-striped-2span tbody tr:nth-of-type(4n+4) {
    /* 1行内2段サイズの場合 stripeを3つめ、4つめ、,,,4n+3,4n+4つめにつける。つまり4n+3&4n+4(n=0,1,2,3,)行目につける */
    background-color: white;
}

.custom_meisai_title thead>tr:nth-child(odd)>th {
    /* meisaiタイトルを黒背景白文字にする */
    color: white;
    background: #00008b;
    /* scroll時top部分がボーダー分隙間が空いて要素が隙間から見えてしまう */
    border-top: none;
}

.css_meisai_table thead th {
    /* scroll時ヘッダー固定 */
    position: sticky;
    top: 0;
    z-index: 1;
}

.css_th_invisible_area {
    /* visibility: hidden;これだとtableのborderが残る*/
    display: none;
    border-style: none;
}

/* checkboxありテーブル用bgn */
.table-withcheckbox>tbody>tr>th {
    background-color:#00008b;
    color:white;
}
.table-withcheckbox>tbody>tr>td {
    background-color:#fffff9;
}
/* checkboxありテーブル用end */
