/* Price page: a restrained, highly scannable fee guide in the existing two-column shell. */
body.cave-price-page {
	--price-black: #0b0d0f;
	--price-ink: #202428;
	--price-muted: #626a6f;
	--price-line: #d7dde0;
	--price-soft: #f4f6f7;
	--price-cyan: #007fc0;
}

#body.cave-price-page #main_col {
	gap: 50px;
}

body.cave-price-page #left_col {
	min-width: 0;
}

body.cave-price-page .cave-subpage-hero__description,
body.cave-price-page #left_col * {
	box-shadow: none !important;
	text-shadow: none !important;
}

body.cave-price-page .post_content {
	color: var(--price-ink);
	font-size: 16px;
	line-height: 1.9;
}

body.cave-price-page .post_content p,
body.cave-price-page .post_content ul,
body.cave-price-page .post_content ol,
body.cave-price-page .post_content dl {
	margin-top: 0;
}

.cave-price,
.cave-price * {
	box-sizing: border-box;
}

.cave-price {
	width: 100%;
}

.cave-price-kicker {
	margin-bottom: 13px !important;
	color: var(--price-cyan);
	font-family: "Murecho", "Noto Sans JP", sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.17em;
}

.cave-price-opening {
	padding: 16px 0 30px;
}

body.cave-price-page .post_content .cave-price .cave-price-opening h2 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
	font-size: clamp(34px, 4.2vw, 52px);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0.025em;
}

body.cave-price-page .cave-price-section-nav {
	margin: 38px 0 0;
}

body.cave-price-page .cave-price-section-nav .course_categories {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0;
}

body.cave-price-page .cave-price-section-nav .course_categories li a:focus-visible {
	outline: 3px solid var(--price-cyan);
	outline-offset: 3px;
}

body.cave-price-page .cave-price-related-links {
	margin: 48px 0 0;
}

body.cave-price-page .cave-price-related-links .course_categories {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

body.cave-price-page .cave-price-related-links .course_categories li a:focus-visible {
	outline: 3px solid var(--price-cyan);
	outline-offset: 3px;
}

#cave-price-membership-title,
#cave-price-master-membership-title,
#cave-price-other-fees-title,
#cave-price-joining-guide-title {
	scroll-margin-top: 110px;
}

.cave-price-opening__lead {
	max-width: none;
	margin-bottom: 34px !important;
	color: var(--price-muted);
	font-size: 17px;
	line-height: 2;
}

.cave-price-index {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	border-top: 2px solid var(--price-black);
	border-bottom: 1px solid var(--price-line);
}

.cave-price-index a {
	position: relative;
	display: flex;
	min-height: 62px;
	padding: 14px 30px 14px 15px;
	align-items: center;
	border-right: 1px solid var(--price-line);
	color: var(--price-ink) !important;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.55;
	text-decoration: none !important;
}

.cave-price-index a:last-child {
	border-right: 0;
}

.cave-price-index a::after {
	position: absolute;
	right: 14px;
	color: var(--price-cyan);
	font-size: 15px;
	content: "↓";
}

.cave-price-index a:hover,
.cave-price-index a:focus-visible {
	background: var(--price-soft);
}

.cave-price-index a:focus-visible,
.cave-price-join-link:focus-visible,
.cave-price-guide-grid a:focus-visible {
	outline: 3px solid rgba(0, 127, 192, 0.3);
	outline-offset: 3px;
}

.cave-price-section {
	scroll-margin-top: 110px;
	padding: 0;
}

.cave-price-section:last-child {
	padding-bottom: 68px;
}

.cave-price-section__header {
	max-width: 640px;
	margin-bottom: 34px;
}

body.cave-price-page .post_content .cave-price-section__header h2 {
	margin-bottom: 15px;
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Noto Serif JP", serif;
	font-size: clamp(28px, 3.2vw, 39px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.02em;
}

.cave-price-section__header > p:last-child {
	margin-bottom: 0;
	color: var(--price-muted);
}

body.cave-price-page .post_content .cave-price h2.cave-price-plan-heading,
body.cave-price-page .post_content .cave-price h3.cave-price-plan-heading {
	display: grid;
	box-sizing: border-box;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: clamp(30px, 4vw, 48px);
	align-items: start;
	width: 100%;
	margin: 48px 0 30px !important;
	padding: 25px 4px 27px !important;
	border: 0;
	border-top: 1px solid #c9d1d4;
	border-bottom: 1px solid #c9d1d4;
	background: #fff;
	color: #16191b;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	line-height: 1;
	text-align: left;
}

body.cave-price-page .post_content .cave-price h2.cave-price-plan-heading::before,
body.cave-price-page .post_content .cave-price h2.cave-price-plan-heading::after,
body.cave-price-page .post_content .cave-price h3.cave-price-plan-heading::before,
body.cave-price-page .post_content .cave-price h3.cave-price-plan-heading::after {
	display: none !important;
	content: none !important;
}

.cave-price-plan-heading .cave-gym-section-heading__label {
	display: flex;
	min-height: 76px;
	margin: 0;
	padding: 0 24px 0 5px;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	border-right: 1px solid #c9d1d4;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
}

.cave-price-plan-heading .cave-gym-section-heading__number {
	display: block;
	color: #16191b;
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.045em;
}

.cave-price-plan-heading .cave-gym-section-heading__kicker {
	display: block;
	color: #087da8;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	white-space: nowrap;
}

.cave-price-plan-heading .cave-gym-section-heading__content {
	display: block;
	align-self: center;
	min-width: 0;
}

.cave-price-plan-heading .cave-gym-section-heading__title {
	display: block;
	color: #16191b;
	font-size: clamp(22px, 2vw, 27px);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.035em;
}

.cave-price-plan-heading .cave-gym-section-heading__description {
	display: block;
	margin-top: 7px;
	color: #667178;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0.02em;
}

body.cave-price-page .post_content .cave-price h2.cave-price-plan-heading + *,
body.cave-price-page .post_content .cave-price h3.cave-price-plan-heading + * {
	margin-top: 0 !important;
}

.cave-price-table-wrap {
	width: 100%;
	border-top: 3px solid var(--price-black);
}

body.cave-price-page .post_content table.cave-price-table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	background: #fff;
	table-layout: fixed;
}

body.cave-price-page .post_content .cave-price-table th,
body.cave-price-page .post_content .cave-price-table td {
	padding: 13px 17px;
	border: 0;
	border-right: 1px solid var(--price-line);
	border-bottom: 1px solid var(--price-line);
	background: #fff;
	color: var(--price-ink);
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
	vertical-align: middle;
}

body.cave-price-page .post_content .cave-price-table tr > :first-child {
	width: 60%;
	border-left: 1px solid var(--price-line);
}

body.cave-price-page .post_content .cave-price-table tbody td {
	text-align: right;
}

body.cave-price-page .post_content .cave-price-table tbody th {
	background: #eef7fb;
	font-size: 15px;
	font-weight: 400;
}

body.cave-price-page .post_content .cave-price-table td {
	white-space: nowrap;
}

.cave-price-table td strong,
.cave-price-other-fees dd strong {
	font-family: "Murecho", "Noto Sans JP", sans-serif;
	font-size: 19px;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.cave-price-table td span,
.cave-price-other-fees dd span {
	color: var(--price-muted);
	font-size: 13px;
}

.cave-price-other-fees {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 0 !important;
	border-top: 3px solid var(--price-black);
	border-left: 1px solid var(--price-line);
}

.cave-price-other-fees > div {
	min-width: 0;
	padding: 24px 21px 25px;
	border-right: 1px solid var(--price-line);
	border-bottom: 1px solid var(--price-line);
}

.cave-price-other-fees dt {
	margin-bottom: 19px;
	color: var(--price-muted);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
}

.cave-price-other-fees dd {
	margin: 0;
	color: var(--price-ink);
	line-height: 1.5;
}

.cave-price-campaign {
	margin-inline: -32px;
	padding-inline: 32px;
	border-top-color: var(--price-black);
	background: var(--price-soft);
}

.cave-price-benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-bottom: 34px !important;
	padding: 0;
	border-top: 3px solid var(--price-black);
	border-left: 1px solid var(--price-line);
	list-style: none;
}

.cave-price-benefits li {
	min-width: 0;
	padding: 23px 20px 25px;
	border-right: 1px solid var(--price-line);
	border-bottom: 1px solid var(--price-line);
	background: #fff;
}

.cave-price-benefits span {
	display: block;
	margin-bottom: 28px;
	color: var(--price-cyan);
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.12em;
}

.cave-price-benefits strong {
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.6;
}

.cave-price-example {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	margin-bottom: 34px;
	border: 1px solid var(--price-line);
	background: #fff;
}

.cave-price-example__title {
	display: flex;
	margin: 0 !important;
	padding: 24px;
	align-items: center;
	border-right: 1px solid var(--price-line);
	color: var(--price-ink);
	font-weight: 500;
	line-height: 1.7;
}

.cave-price-example ol {
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.cave-price-example li {
	display: grid;
	grid-template-columns: 130px minmax(0, 1fr);
	gap: 14px;
	padding: 17px 20px;
	align-items: baseline;
}

.cave-price-example li + li {
	border-top: 1px solid var(--price-line);
}

.cave-price-example li span {
	color: var(--price-cyan);
	font-size: 14px;
	font-weight: 500;
}

.cave-price-example li strong {
	font-size: 16px;
	font-weight: 500;
}

.cave-price-conditions {
	padding-top: 27px;
	border-top: 1px solid var(--price-line);
}

body.cave-price-page .post_content .cave-price-conditions h3 {
	margin-bottom: 15px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
}

.cave-price-conditions ul,
.cave-price-guide-grid ul {
	margin-bottom: 0 !important;
	padding-left: 1.3em;
}

.cave-price-conditions li + li,
.cave-price-guide-grid li + li {
	margin-top: 7px;
}

.cave-price-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 3px solid var(--price-black);
	border-left: 1px solid var(--price-line);
}

.cave-price-guide-grid > section {
	min-width: 0;
	padding: 29px 27px 31px;
	border-right: 1px solid var(--price-line);
	border-bottom: 1px solid var(--price-line);
}

body.cave-price-page .post_content .cave-price-guide-grid h3 {
	margin-bottom: 17px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.6;
}

.cave-price-guide-grid p {
	margin-bottom: 18px !important;
	color: var(--price-muted);
}

.cave-price-guide-grid a {
	color: var(--price-cyan) !important;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.cave-price-deadline {
	padding: 15px 17px;
	border-left: 3px solid var(--price-cyan);
	background: var(--price-soft);
}

.cave-price-deadline span,
.cave-price-deadline strong {
	display: block;
}

.cave-price-deadline span {
	margin-bottom: 3px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
}

.cave-price-deadline strong {
	color: var(--price-ink);
	font-size: 20px;
	font-weight: 500;
}

.cave-price-join-link {
	display: flex;
	width: min(100%, 360px);
	min-height: 58px;
	margin-top: 30px;
	padding: 14px 19px;
	align-items: center;
	justify-content: space-between;
	border: 1px solid var(--price-black);
	background: var(--price-black);
	color: #fff !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none !important;
}

.cave-price-join-link:hover,
.cave-price-join-link:focus-visible {
	border-color: var(--price-cyan);
	background: var(--price-cyan);
}

.cave-price-join-link span {
	font-size: 18px;
}

.cave-price-mobile-break {
	display: none;
}

@media only screen and (min-width: 701px) {
	.cave-price-plan + .cave-price-plan,
	.cave-price-section + .cave-price-section {
		padding-top: 24px;
	}
}

@media only screen and (max-width: 991px) {
	#body.cave-price-page #main_col {
		gap: 0;
	}

	.cave-price-opening {
		padding-top: 4px;
	}
}

@media only screen and (max-width: 700px) {
	.cave-price-opening {
		padding-bottom: 28px;
	}

	body.cave-price-page .post_content .cave-price .cave-price-opening h2 {
		font-size: clamp(24px, 7vw, 34px);
		white-space: nowrap;
	}

	body.cave-price-page .cave-price-section-nav {
		margin-top: 28px;
	}

	body.cave-price-page .cave-price-section-nav .course_categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	body.cave-price-page .cave-price-section-nav .course_categories li a {
		min-height: 58px;
		padding: 9px 6px;
		font-size: 12px;
		line-height: 1.4;
	}

	body.cave-price-page .cave-price-related-links {
		margin-top: 36px;
	}

	body.cave-price-page .cave-price-related-links .course_categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
	}

	body.cave-price-page .cave-price-related-links .course_categories li a {
		min-height: 58px;
		padding: 10px 6px;
		font-size: 12px;
	}

	#cave-price-membership-title,
	#cave-price-master-membership-title,
	#cave-price-other-fees-title,
	#cave-price-joining-guide-title {
		scroll-margin-top: 84px;
	}

	.cave-price-opening__lead {
		font-size: 16px;
		line-height: 1.9;
	}

	.cave-price-index {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cave-price-index a:nth-child(2) {
		border-right: 0;
	}

	.cave-price-index a:nth-child(-n + 2) {
		border-bottom: 1px solid var(--price-line);
	}

	.cave-price-section {
		padding: 0;
	}

	.cave-price-section:last-child {
		padding-bottom: 52px;
	}

	body.cave-price-page .post_content .cave-price h2.cave-price-plan-heading,
	body.cave-price-page .post_content .cave-price h3.cave-price-plan-heading {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 18px;
		margin: 36px 0 24px !important;
		padding: 19px 0 21px !important;
	}

	.cave-price-plan-heading .cave-gym-section-heading__label {
		min-height: 68px;
		padding: 0 15px 0 2px;
	}

	.cave-price-plan-heading .cave-gym-section-heading__number {
		font-size: 34px;
	}

	.cave-price-plan-heading .cave-gym-section-heading__kicker {
		font-size: 10px;
		letter-spacing: 0.1em;
	}

	.cave-price-plan-heading .cave-gym-section-heading__title {
		font-size: 20px;
	}

	.cave-price-plan-heading .cave-gym-section-heading__description {
		margin-top: 5px;
		font-size: 12px;
	}

	body.cave-price-page .post_content table.cave-price-table,
	body.cave-price-page .post_content .cave-price-table tbody,
	body.cave-price-page .post_content .cave-price-table tr {
		display: block;
		width: 100%;
	}

	body.cave-price-page .post_content .cave-price-table th,
	body.cave-price-page .post_content .cave-price-table td {
		display: block;
		width: 100%;
		padding: 15px;
		font-size: 15px;
	}

	body.cave-price-page .post_content .cave-price-table tr > :first-child {
		width: 100%;
		border-bottom: 0;
	}

	body.cave-price-page .post_content .cave-price-table tbody td {
		border-left: 1px solid var(--price-line);
		text-align: left;
	}

	.cave-price-table td strong,
	.cave-price-other-fees dd strong {
		font-size: 19px;
	}

	.cave-price-other-fees,
	.cave-price-benefits,
	.cave-price-guide-grid {
		grid-template-columns: 1fr;
	}

	.cave-price-other-fees > div {
		text-align: center;
	}

	.cave-price-benefits li {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 10px;
		padding: 18px;
		align-items: center;
	}

	.cave-price-benefits span {
		margin-bottom: 0;
	}

	.cave-price-campaign {
		margin-inline: -20px;
		padding-inline: 20px;
	}

	.cave-price-example {
		grid-template-columns: 1fr;
	}

	.cave-price-example__title {
		padding: 17px 19px;
		border-right: 0;
		border-bottom: 1px solid var(--price-line);
	}

	.cave-price-example li {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.cave-price-mobile-break {
		display: initial;
	}

	.cave-price-desktop-break {
		display: none;
	}
}

@media only screen and (max-width: 420px) {
	body.cave-price-page .post_content .cave-price-table th,
	body.cave-price-page .post_content .cave-price-table td {
		padding-inline: 12px;
		font-size: 14px;
	}

	body.cave-price-page .post_content .cave-price-table tr > :first-child {
		width: 100%;
	}

	.cave-price-table td strong {
		font-size: 18px;
	}

	.cave-price-table td span {
		display: inline;
	}

	.cave-price-guide-grid > section {
		padding: 25px 21px 27px;
	}
}
