@charset "utf-8";

:root {
	--color-dock: #C48000;
	--color-women: #D93E54;
	--color-premium: #854586;
}

.price-chart-tbl-outer {
	overflow-x: auto;
	margin-right: -30px;
	margin-left: -30px;
	-ms-overflow-style: none;
	scrollbar-width: none; 
	line-height: 1.5;
	
	/* & > * {
		margin-top: 40px;
	} */
	& > *:first-child {
		margin-top: 0;
	}
}

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

.tbl-outer {
	--color: var(--color-txt);
	margin-left: 30px;
	min-width: 1200px;
	max-width: 100%;
	box-sizing: border-box;
	
	& > *:first-child {
		margin-top: 0;
	}
}

.thead-tbl-outer {
	border-top: 5px solid var(--color);
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	background-color: var(--color-bg);
	z-index: 10;
	
	& .price-chart-tbl tbody {
		border-top: none;
	}
}

.tbl__ttl {
	padding: 1em 0;
	font-weight: bold;
	text-align: left;
	color: var(--color);
	margin-top: 20px !important;
}

.tbl__ttl a {
	display: inline-flex;
	align-items: center;
	border: none;
	transition: 0.2s cubic-bezier(0.17, 0.84, 0.44, 1);
	transition-property: color;
}

.tbl__ttl a:hover {
	color: var(--color-link) !important;
}

.tbl__ttl a .icon {
	stroke-width: 1.3;
	transition: 0.2s ease-in;
	transition-property: opacity, color, stroke-width;
}

.tbl__ttl .lbl {
	transform: scaleX(0.92);
	transform-origin: left center;
	width: 110%;
	font-size: 130%;
	/* font-family: var(--serif); */
}



.price-chart-tbl {
	width: 100%;
	min-width: 1200px;
	max-width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 1.3rem;
	position: relative;
}

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

.price-chart-tbl tbody {
	border-top: 1px solid rgba(0,0,0,0.3);
	border-bottom: 1px solid rgba(0,0,0,0.3);
}

.price-chart-tbl tr {
	width: 100%;
}

.price-chart-tbl tr + tr {
	border-top: 1px solid rgba(0,0,0,0.1);
}

.price-chart-tbl tr.-bd {
	border-color: rgba(0,0,0,0.3);
}

.price-chart-tbl .thead {

}

.price-chart-tbl .thead th {
	padding: 20px 10px 10px 15px;
	box-sizing: border-box;
	vertical-align: bottom;
}

.price-chart-tbl .thead th + th {
	position: relative;
}

.price-chart-tbl .thead th + th::before {
	position: absolute;
	content: '';
	width: 1px;
	height: calc(100% - 20px);
	background-color: rgba(0,0,0,0.1);
	top: 0;
	left: 0;
	bottom: 0;
	margin: auto;
}

.price-chart-tbl .thead .name::before {
	content: none;
}

.price-chart-tbl .thead th:last-child::after {
	position: absolute;
	content: '';
	width: 1px;
	height: calc(100% - 20px);
	background-color: rgba(0,0,0,0.1);
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.price-chart-tbl .thead .name::after {
	position: absolute;
	content: '';
	width: 1px;
	height: calc(100% - 20px);
	background-color: rgba(0,0,0,0.3);
	top: 0;
	right: -1px;
	bottom: 0;
	margin: auto;
}

.price-chart-tbl .age {
	width: 80px;
	text-align: left;
}

.price-chart-tbl .medical-item {
	text-align: center;
}

.price-chart-tbl .age + *::before {
	background-color: rgba(0,0,0,0.3) !important;
}

.price-chart-tbl .medical-item span {
	display: inline-block;
	height: max-content;
	writing-mode: vertical-rl;
	font-size: 1.3rem;
	text-align: initial;
	line-height: 1.4;
	font-feature-settings: "vkrn";
}

.other-premium .price-chart-tbl .medical-item span {
	font-size: 1.2rem;
	line-height: 1;
}

.price-chart-tbl .price {
	width: 110px;
	text-align: right;
}

.price-chart-tbl td.price {
	font-weight: 400;
}

.price-chart-tbl th,
.price-chart-tbl td {
	box-sizing: border-box;
}

.price-chart-tbl .name {
	width: 120px;
	padding: 5px 10px 5px 0;
	position: relative;
	line-height: 1.6;
	text-align: left;
	font-feature-settings: "palt";
}

.price-chart-tbl .thead th.name {
	padding-left: 0;
}

.price-chart-tbl .name::after {
	position: absolute;
	content: '';
	width: 1px;
	height: calc(100% + 2px);
	background-color: rgba(0,0,0,0.3);
	top: 0;
	right: -1px;
	bottom: 0;
	margin: auto;
}

.price-chart-tbl .first-name {
	padding-top: 15px;
}

.price-chart-tbl .first-name::before {
	height: calc(100% - 10px);
	border-radius: 2.5px 2.5px 0 0;
	top: auto;
}

.price-chart-tbl .first-name::after {
	height: calc(100% - 10px);
	top: auto;
}

.price-chart-tbl .last-name {
	padding-bottom: 15px;
}

.price-chart-tbl .last-name::before {
	height: calc(100% - 10px);
	border-radius: 0 0 2.5px 2.5px;
	bottom: auto;
}

.price-chart-tbl .last-name::after {
	height: calc(100% - 10px);
	bottom: auto;
}


.price-chart-tbl .name .cat {
	display: block;
	font-size: 1.1rem;
	margin-bottom: 0.5em;
}

.price-chart-tbl td {
	text-align: center;
	padding: 10px 10px;
	box-sizing: border-box;
	position: relative;
}

.price-chart-tbl td::before {
	position: absolute;
	content: '';
	width: 1px;
	height: calc(100% + 2px);
	background-color: rgba(0,0,0,0.1);
	top: 0;
	left: 0;
	bottom: 0;
	margin: auto;
}

.price-chart-tbl .age::before,
.price-chart-tbl .price::before {
	background-color: rgba(0,0,0,0.3) !important;
}

.price-chart-tbl td:last-child::after {
	position: absolute;
	content: '';
	width: 1px;
	height: calc(100% + 2px);
	background-color: rgba(0,0,0,0.1);
	top: 0;
	right: 0;
	bottom: 0;
	margin: auto;
}

.price-chart-tbl .price::after {
	content: none !important;
}

.price-chart-tbl .icon {
	stroke-width: 1.4;
}

.price-chart-tbl .icon circle {
	fill: currentColor;
}

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

.price-chart-tbl sub {
	position: absolute;
	right: 0.5em;
	bottom: 0.8em;
	line-height: 1;
}

.price-chart-tbl sub:last-child {
	display: block;
	margin-top: 5px;
}

/* dock */

.price-chart-tbl .name + *::before,
.price-chart-tbl .price + *::before {
	background-color: rgba(0,0,0,0.3) !important;
}

.price-chart-tbl .pt td {
	padding-top: 15px;
}

.price-chart-tbl .pb td {
	padding-bottom: 15px;
}

.price-chart-tbl .pt td::before,
.price-chart-tbl .pt td::after {
	height: calc(100% - 10px);
	top: auto;
}

.price-chart-tbl .pb td::before,
.price-chart-tbl .pb td::after {
	height: calc(100% - 10px);
	bottom: auto;
}

/* dock */

.dock {

	.tbl__ttl {
		color: var(--color-dock);
	}

	.price-chart-tbl td .icon {
		color: var(--color-dock);
	}

	th.price.discount,
	td.price.discount {
		font-weight: 600;
		background-color: rgba(196,128,0,.08);
	}

	td.price.discount {
		color: var(--color-dock);
	}
}

.basic {

	.tbl__ttl {
		color: var(--color-txt);
	}

	.price-chart-tbl td .icon {
		color: var(--color-txt);
	}
}

.women {

	.name .badge {
		color: #fff;
		background-color: var(--color-women);
		line-height: 1;
		padding: 5px;
		border-radius: 5px;
		display: inline-block;
		margin-right: .5em;
		font-size: 70%;
	}

	td.price.discount {
		background-color: rgba(217,62,84,.08);
	}

	td.price.discount {
		color: var(--color-women);
	}

	td .icon {
		color: var(--color-women) !important;
	}
}

/* premium */

.premium {

	.tbl__ttl {
		color: var(--color-premium);
	}

	.price-chart-tbl td .icon {
		color: var(--color-premium);
	}

	/* th.price.discount:after、
	td.price.discount:after {
		content: "";
		background-color: rgba(133,69,134,.1);
		width: calc(100% - 16px);
		height: calc(100% - 16px);
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		margin: auto;
		z-index: 0;
		display: block;
	} */

	th.price.discount,
	td.price.discount {
		background-color: rgba(133,69,134,.05);
	}

	td.price.discount {
		color: var(--color-premium);
	}
}

td.price.discount {
	font-weight: 600;
	font-size: 1.1em;
}


/* medical-checkup */

.price-chart-tbl td.pt {
	padding-top: 15px;
}

.price-chart-tbl td.pb {
	padding-bottom: 15px;
}

.price-chart-tbl td.pt::before,
.price-chart-tbl td.pt::after {
	height: calc(100% - 10px);
	top: auto;
}

.price-chart-tbl td.pb::before,
.price-chart-tbl td.pb::after {
	height: calc(100% - 10px);
	bottom: auto;
}

/* ie only */

.msie .price-chart-tbl .name {
	padding: 30px 20px;
}

.msie .price-chart-tbl .medical-item span {
	min-height: 9em;
	line-height: 1;
}

.msie .price-chart-tbl .thead th + th,
.msie .price-chart-tbl td {
	border-left: 1px solid rgba(0,0,0,0.1);
}

.msie .price-chart-tbl .thead th:last-child,
.msie .price-chart-tbl td:last-child {
	border-right: 1px solid rgba(0,0,0,0.1);
}

.msie .price-chart-tbl .thead th + th::before,
.msie .price-chart-tbl .thead th:last-child::after,
.msie .price-chart-tbl .name + *::before,
.msie .price-chart-tbl .price + *::before,
.msie .price-chart-tbl .name::after,
.msie .price-chart-tbl td::before,
.msie .price-chart-tbl td::after {
	content: none !important;
}

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

	.price-chart-tbl-outer {
		margin-right: -100px;
		margin-left: -100px;
	}
}

@media all and (min-width: 768px) {
	.price-chart-tbl-outer {
		margin-right: -50px;
		margin-left: -50px;
	}

	.price-chart-tbl::after {
		width: 50px;
		right: -50px;
	}

	.price-chart-tbl .name {
		width: 160px;
	}
}

@media all and (min-width: 1280px) {
	.price-chart-tbl-outer {
		margin: 0 auto;
		overflow: visible;
		width: 100%;
	}

	.thead-tbl-outer {
		top: calc(var(--headerH) - 1px);
	}

	.tbl-outer {
		min-width: auto;
		margin: 0;
	}

	.price-chart-tbl {
		font-size: 1.4rem;
		min-width: auto;
	}

	.price-chart-tbl::after {
		content: none;
	}
}


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


.p-def {
	font-size: 80%;
}

.p-sp {
	font-weight: bold;
	color: var(--color-accent);
}

.p-extxt {
	font-size: 80%;
}


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


.exbox {
	background-color: #fff;
	border-radius: 10px;
	padding: 20px;
	margin-bottom: 40px;
	box-sizing: border-box;
	font-size: 90%;
	border: 1px solid rgba(0,0,0,0.2);
	
	& > *:first-child {
		margin-top: 0;
	}
	
	& .ttl {
		line-height: 1.6;
	}
}

@media all and (min-width: 768px) {
	.exbox {
		padding: 40px;
	}
}

.extxt {
	background-color: var(--color-accent);
	color: var(--color-bg) !important;
	padding: 6px 8px;
	border-radius: 5px;
	line-height: 1;
}

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

.supply {
	 padding: 1em;
	 border-radius: 5px;
	 box-sizing: border-box;

	 > * {
		margin: 0;
	 }

	&.dock {
		background-color: rgba(196,128,0,.1);
	}

	&.premium {
		background-color: rgba(133,69,134,.1);
	}

}
