@charset "utf-8";

.service-item__list {
	padding: 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.service-item__item {
	width: calc(50% - 10px);
}

.service-item__img {
	margin: 0;
}

.service-item__item:first-child {
	width: 100%;
}

.service-item__item + .service-item__item {
	margin-top: 20px;
}

.service-item__img img {
	width: 100%;
	vertical-align: bottom;
}

.detail-table__des .des-table__item dt {
}

.detail-table__des .des-table__item dt:before {
	content: '●';
}

.detail-table__des .des-table__item dd {
	margin: 0;
}

.des-table__des > *:first-child {
	margin-top: 0;
}

.detail-table__item .price {
	/* text-align: right;
	margin-top: 0; */
}

.detail-table__item .price small {
	margin-right: 1em;
}

.normal-table__lbl,
.normal-table__des {
	width: 50%;
}

/* -------------------------------- */

.tbl-kenpo-other {

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

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

	.inspection-chart-tbl {
		width: 100%;
		min-width: 500px;
		table-layout: fixed;
		border-collapse: collapse;
		border-spacing: 0;
		position: relative;
		font-size: 1.3rem;
		margin-left: 30px;
	}

	.inspection-chart-tbl:after {
		position: absolute;
		content: '';
		width: 30px;
		height: 100%;
		top: 0;
		right: -30px;
	}

	.inspection-chart-tbl .thead th {
		text-align: center;
		border-top: none;
		padding: 10px;
	}

	.inspection-chart-tbl .thead th:nth-of-type(1) {
		width: 100px;
	}

	.inspection-chart-tbl .thead th:nth-of-type(2) {
		width: 200px;
	}

	.inspection-chart-tbl .thead th:nth-of-type(3),
	.inspection-chart-tbl .thead th:nth-of-type(4) {
		width: 100px;
		line-height: 1.6;
		border-left: 1px solid #ccc;
	}

	.inspection-chart-tbl th {
		width: 100px;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		box-sizing: border-box;
	}

	.inspection-chart-tbl td {
		text-align: center;
		width: 100px;
		border-top: 1px solid #ccc;
		border-bottom: 1px solid #ccc;
		border: 1px solid #ccc;
		padding: 1em;
		box-sizing: border-box;
		position: relative;
	}

	.inspection-chart-tbl td:first-of-type {
		text-align: left;
		line-height: 1.6;
		width: 220px;
	}

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

	.inspection-chart-tbl td sup {
		position: absolute;
		top: 50%;
		transform: translateY(-1em);
	}

	.inspection-chart-tbl td .icon_circle {
		stroke-width: 3;
	}

	.inspection-chart-tbl .price td {
		text-align: center;
		font-weight: bold;
	}
}

@media all and (min-width: 768px) {
	.section-header .footnote {
		text-align: left;
	}

	.normal-table__lbl {
		width: var(--wcalc6-2);
		padding-right: 0;
	}

	.normal-table__des {
		width: var(--wcalc6-4);
	}

	.detail-table {
		display: block;
	}

	.detail-table__item {
		width: 100%;
	}

	.detail-table__item + .detail-table__item {
		margin-top: 30px;
	}

	.tbl-kenpo-other {

		.inspection-chart-tbl-outer {
			margin-right: 0;
			margin-left: 0; 
		}
		
		.inspection-chart-tbl {
			margin-left: 0;
		}
		
		.inspection-chart-tbl:after {
			content: none;
		}

		.inspection-chart-tbl .thead th:nth-of-type(1) {
			width: 100px;
		}

		.inspection-chart-tbl .thead th:nth-of-type(2) {
			width: auto;
		}

		.inspection-chart-tbl .thead th:nth-of-type(3),
		.inspection-chart-tbl .thead th:nth-of-type(4) {
			width: 100px;
		}

		.inspection-chart-tbl th {
			width: 100px;
		}

		.inspection-chart-tbl td:first-of-type {
			width: auto;
		}

		.inspection-chart-tbl td {
			width: 100px;
		}
	}
}

@media all and (min-width: 1280px) {
	.detail-table__item {
		padding-top: 20px;
	}

	.service-item__item,
	.service-item__item:first-child {
		width: var(--wcalc6-2);
	}

	.service-item__item + .service-item__item {
		margin-top: 0;
	}

	.tbl-kenpo-other {

		.inspection-chart-tbl .thead th:nth-of-type(3),
		.inspection-chart-tbl .thead th:nth-of-type(4) {
			width: 150px;
		}

		.inspection-chart-tbl td {
			width: 150px;
			padding: 10px;
		}
	}
}

/* -------------------------------- */

.tbl-kenpo {

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

		+ .order-footnote {
			text-align: left;
		}
	}

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

	.inspection-chart-tbl {
		width: 100%;
		min-width: 500px;
		table-layout: fixed;
		border-spacing: 0;
		position: relative;
		margin-left: 30px;
		font-size: 1.3rem;
		line-height: 1.5;
		border-bottom: 1px solid #ccc;
	}

	.inspection-chart-tbl:after {
		position: absolute;
		content: '';
		width: 30px;
		height: 100%;
		top: 0;
		right: -30px;
	}

	.inspection-chart-tbl thead {
		display: table-header-group;
		background-color: var(--color-bg);
	}

	.inspection-chart-tbl thead th {
		text-align: center;
		line-height: 1.6;
		border-top: none;
		border-bottom: none;
		padding: 10px;
		width: 100px;
		border-bottom: 1px solid #555;

		&.new {
			position: relative;

			&:before {
				content: "NEW";
				display: block;
				width: fit-content;
				margin-inline: auto;
				margin-bottom: 3px;
				padding: 1px 5px;
				font-size: 1.0rem;
				box-sizing: border-box;
				border-radius: 5px;
				background-color: #e9546b;
				color: #fff;
			}
		}
	}

	.inspection-chart-tbl tbody {
		display: table-row-group;
	}

	.inspection-chart-tbl thead + tbody > tr:first-child > * {
		border-top: none;
	}

	.inspection-chart-tbl tfoot {
		position: sticky;
		bottom: 0;
		z-index: 1;
		display: table-footer-group;
		background-color: var(--color-bg);
	}

	.inspection-chart-tbl tbody + tfoot > tr:first-child > * {
		border-top: 1px solid #555;
	}


	.inspection-chart-tbl th {
		width: 100px;
		border-top: 1px solid #ccc;
		border-left: 1px solid #ccc;
		border-bottom: none;
		border-right: none;
		box-sizing: border-box;

		.option {
			color: #fff;
			background-color: rgba(0,0,0,.6);
			line-height: 1;
			padding: 5px;
			border-radius: 5px;
			display: inline-block;
			margin-right: .5em;
			font-size: 70%;
		}
	}

	.inspection-chart-tbl td {
		text-align: center;
		width: 100px;
		border-top: 1px solid #ccc;
		border-left: 1px solid #ccc;
		border-bottom: none;
		border-right: none;
		padding: 9px;
		box-sizing: border-box;
		position: relative;

		&.text {
			text-align: left;
			word-break: break-all;
		}
	}

	.inspection-chart-tbl th:first-child {
		border-left: none;
	}

	.inspection-chart-tbl td sup {
		position: absolute;
		top: 50%;
		transform: translateY(-1em);
	}

	.inspection-chart-tbl td .icon_circle {
		color: var(--color-txt);
		stroke-width: 3;
	}

	.inspection-chart-tbl td .icon_circle svg {
		width: 20px;
		height: 20px;
	}

	.inspection-chart-tbl .price td {
		text-align: center;
		font-weight: bold;
		font-size: 1.1em;
	}

	.inspection-chart-tbl .total-price {
		font-size: 140%;
		line-height: 60%;
	}

	.inspection-chart-tbl .em {
		background-color: #fff4ed;
		color: var(--color-main);
	}

	.option-price {
		text-align: left;
	}

	@media all and (min-width: 768px) {
		.inspection-chart-tbl-outer {
			overflow-x: inherit;
			margin-right: 0;
			margin-left: 0; 
		}
		
		.inspection-chart-tbl {
			margin-left: 0;
		}
		
		.inspection-chart-tbl:after {
			content: none;
		}

		.inspection-chart-tbl thead {
			position: sticky;
			top: var(--headerH);
			z-index: 2;
		}

		.inspection-chart-tbl th {
			width: auto;
			text-align: left;
		}

		.inspection-chart-tbl td {
			width: auto;
		}
	}
}

/* -------------------------------- */


