/*
 * 表（TablePress の表を移した core/table。className cl-table。募集職種の条件は cl-job-conditions も付く）。
 * 本番の TablePress default.css + ewebot base.css + サイトの追加 CSS（セルの余白 20px）を再現する。
 * 列幅（TablePress の HTML の <col style="width:25%">）はインスタンスの style.css の --cl-col-1 / --cl-col-2。
 */

.wp-block-table.cl-table {
	margin: 0 0 16px;
	overflow-x: visible;
}

.cl-table table {
	width: 100%;
	margin: 0;
	border: none;
	border-collapse: collapse;
	border-spacing: 0;
}

.cl-table tr {
	border: 1px solid #f9f9f9;
}

:root .cl-table :is(td, th) {
	padding: 20px;
	border: 0;
	color: #111;
	text-align: left;
	vertical-align: top;
}

.cl-table tbody > tr:nth-child(odd) > * {
	background-color: #fff;
}

.cl-table tbody > tr:nth-child(even) > * {
	background-color: #f9f9f9;
}

.cl-table tbody > tr + tr > * {
	border-top: 1px solid #ddd;
}

.cl-table tbody > tr:hover > * {
	background-color: #f3f3f3;
}

.cl-table :is(td, th):nth-child(1) {
	width: var(--cl-col-1, auto);
}

.cl-table :is(td, th):nth-child(2) {
	width: var(--cl-col-2, auto);
}
