@charset "utf-8";

/**
 * tableのスタイルは複数ページで使用するので page_dock_subject_table.css に記述しています。
 * 「検査項目」のみで使用するスタイルは、page_dock_subject.css に追加してください。
 */

.before-table__item {
	background-color: rgba(255,255,255,1);
	border-radius: 5px;
	padding: 30px;
}

.before-table__item + .before-table__item {
	margin-top: 20px;
}

.criteria-chart-lbl {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
}

.criteria-chart-lbl li {
	display: flex;
	align-items: center;
}

.criteria-chart-lbl li + li {
	margin-left: 20px;
}

.criteria-chart-lbl .icon-check circle {
	stroke: none;
}

.criteria-chart-lbl .icon-check polyline {
	stroke: rgba(255,255,255,1);
}

.criteria-chart-tbl-outer {
	margin-top: 0;
	margin-right: -30px;
	margin-left: -30px;
	overflow-x: auto;
	-ms-overflow-style: none;
	scrollbar-width: none;
}

.criteria-chart-tbl-outer::-webkit-scrollbar {
	display:none;
}

.criteria-chart-tbl {
	width: 100%;
	min-width: 450px;
	/* table-layout: fixed; */
	border-collapse: collapse;
	border-spacing: 0;
	font-feature-settings: "palt";
	line-height: 1.5;
}

.criteria-chart-tbl .thead {
}

.criteria-chart-tbl .thead th {
	width: 15%;
	text-align: center;
	vertical-align: bottom;
	padding: 10px .1em;
	border-top: none;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}

.criteria-chart-tbl .thead th:first-child {
	/* width: 60%; */
	border: none;
}

.criteria-chart-tbl .thead th:last-child {
	border-right: none;
}

.criteria-chart-tbl .thead th span {
	font-size: 1.2rem;
	line-height: 1.6;
	text-align: end;
	vertical-align: bottom;
}

.criteria-chart-tbl th {
	/* width: 20%; */
	height: auto;
	box-sizing: border-box;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	padding:  10px;
	font-size: 1.2rem;
}

.criteria-chart-tbl th.-vertical {
	white-space: nowrap;
	min-width: 2em;
}

.criteria-chart-tbl tbody th {
	min-width: 100px;
}

.criteria-chart-tbl td {
	/* width: 20%; */
	min-width: 65px;
	box-sizing: border-box;
	font-size: 1.2rem;
	text-align: center;
	position: relative;
	border: 1px solid #ccc;
	padding: .2em .1em;
}

.criteria-chart-tbl td:first-child {
	width: 40%;
}

.criteria-chart-tbl tr td:first-child {
	min-width: 100px;
}

.criteria-chart-tbl td:last-child {
	border-right: none;
}

/* .criteria-chart-tbl td:nth-last-child(-n+3) {
	width: 65px;
} */

/* .criteria-chart-tbl td:nth-last-child(3) {
	border-right: 4px solid #ccc;
	border-left: 2px solid #ccc;
} */

.criteria-chart-tbl td .icon-check circle {
	fill: rgba(87, 194, 174, 1);
	stroke: none;
}

.criteria-chart-tbl td .icon-check polyline {
	stroke: rgba(255,255,255,1);
}

.criteria-chart-tbl td sup {
	position: absolute;
	top: 1em;
	right: 0;
}

/* price */
.price {
	/*border-top: 3px double rgba(0,0,0,0.25);*/
	font-weight: 600;
}

.price th {
	padding: 15px 15px 15px 20px;
}

.price td {
	height: 55px;
	line-height: 1.2;
}

.price .price-txt {
	font-size: 1.4rem;
	font-weight: bold;
	line-height: inherit;
	text-align: right;
}

.price .ext {
	display: inline;
	font-size: 1.1rem;
}

/* svg */
.icon_circle {
	stroke-width: 3;
}

@media all and (min-width: 375px) {
	.criteria-chart-tbl {
		min-width: 500px;
	}

	.criteria-chart-tbl .thead {
		/*position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index: 10;*/
	}

	.criteria-chart-tbl .thead th,
	.criteria-chart-tbl .thead td {
		position: relative;
		border-bottom: none;
		position: sticky;
		top: 0;
		z-index: 10;
	}

	.criteria-chart-tbl .thead th:after {
		content: "";
		width: 100%;
		height: 1px;
		background-color: #ccc;
		position: absolute;
		bottom: 0;
		right: 0;
		left: 0;
		margin: auto;
		z-index: 15;
	}

	.criteria-chart-tbl .thead + tr th,
	.criteria-chart-tbl .thead + tr td {
		border-top: none;
	}

	.criteria-chart-tbl .thead th:before,
	.price td:before {
		content: "";
		width: 1px;
		height: 100%;
		background-color: #ccc;
		position: absolute;
		bottom: 0;
		left: -1px;
		margin: auto;
		z-index: 15;
	}

	.criteria-chart-tbl .thead th:first-child:before {
		display: none;
	}

	.price {
		
	}

	.price th,
	.price td,
	.criteria-chart-tbl .thead th {
		background-color: #fff;
	}

	.price th,
	.price td {
		height: auto;
		position: sticky;
		bottom: 0;
	}

	.price th:after,
	.price td:after {
		content: "";
		width: 100%;
		height: 1px;
		background-color: #ccc;
		position: absolute;
		top: -1px;
		right: 0;
		left: 0;
		margin: auto;
		z-index: 15;
	}

}

@media all and (min-width: 768px) {

	.criteria-chart-tbl td sup {
		right: 0.5em;
	}

	/* price */
	.price .price-txt {
		font-size: 1.3rem;
	}

}

@media all and (min-width: 1280px) {
	
	.before-table__item {
		padding: 40px;
	}

	.criteria-chart-tbl-outer {
		margin-left: 0;
		margin-right: 0;
	}

	.criteria-chart-tbl .thead th {
		/*height: 50px;*/
		height: auto;
		vertical-align: middle;
		font-feature-settings: "palt";
		padding: 20px 1em;
	}

	.criteria-chart-tbl .thead th:first-child {
		width: var(--wcalc8-2);
	}

	.criteria-chart-tbl .thead th span {
		writing-mode: horizontal-tb;
		vertical-align: middle;
	}

	.criteria-chart-tbl th {
	}

	.criteria-chart-tbl td {
		font-size: 1.3rem;
		padding: 5px 10px;
	}

	.price .price-txt {
		font-size: 1.6rem;
	}

	.price th {
		padding: 20px 15px;
	}
}

.original {
	border-top: 3px solid #ccc;
}

.-t.-vertical {
	writing-mode: vertical-rl;
	text-orientation: upright;
	width: 1em;
	box-sizing: border-box;
	position: relative;
	border-right: 1px solid #ccc;
}

.-t.-vertical .vtext {
	/* position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%); */
}
