/*
 * CAVE subpage system
 * This file is deliberately separate from the homepage so the complete
 * subpage refresh can be rolled back with one switch in functions.php.
 */

body.cave-subpage-redesign,
body.cave-subpage-redesign #main_contents {
	background: var(--cave-white);
}

body.cave-subpage-redesign #main_contents {
	overflow: clip;
}

body.cave-subpage-redesign #header_image {
	display: none;
}

/* Compact desktop subpage navigation with the logo contained in the menu row. */
@media only screen and (min-width: 992px) {
	#body.cave-subpage-redesign #header {
		height: 90px;
		min-height: 90px;
		overflow: visible;
		border-top-width: 0 !important;
	}

	#body.cave-subpage-redesign #header .header_inner,
	#body.cave-subpage-redesign #global_menu,
	#body.cave-subpage-redesign #global_menu > ul {
		height: 90px;
		min-height: 90px;
	}

	#body.cave-subpage-redesign #header_logo {
		position: relative;
		top: 0;
		z-index: 30;
		align-self: center;
		height: 80px;
		overflow: hidden;
		transform: none;
	}

	#body.cave-subpage-redesign #global_menu > ul > li > a {
		height: 90px;
		transform: none;
	}

	#body.cave-subpage-redesign #global_menu > ul > #menu-item-117 > a {
		height: 40px;
		margin-top: 25px;
		margin-bottom: 25px;
		transform: none;
	}

	#body.cave-subpage-redesign #global_menu > ul > li > .sub-menu,
	#body.cave-subpage-redesign #global_menu > ul > #menu-item-117 > .sub-menu {
		top: 90px;
	}

	#body.cave-subpage-redesign #header_logo .cave_redesign_logo,
	#body.cave-subpage-redesign #header_logo .cave_redesign_logo a,
	#body.cave-subpage-redesign #header_logo .cave_redesign_logo img {
		height: 80px;
		max-height: 80px !important;
	}
}

@media only screen and (min-width: 1200px) {
	#body.cave-subpage-redesign #header_logo {
		align-self: center;
		flex: 0 0 78px;
		width: 78px;
		height: 80px;
		margin-right: 100px;
	}
}

/* Ten-frame monochrome sprite animation matching the LIG logo's hover cadence. */
@media only screen and (min-width: 992px) {
	body.cave-subpage-redesign #header_logo .cave_redesign_logo > a {
		display: block;
		width: 78px;
		height: 80px;
		margin-left: 0;
		overflow: hidden;
		background-image: url("assets/images/cave-logo-white-sprite.png");
		background-position: 0 0;
		background-repeat: no-repeat;
		background-size: 780px 80px;
		transform: translateZ(0);
		will-change: background-position;
	}

	body.cave-subpage-redesign #header_logo .cave_redesign_logo > a:hover,
	body.cave-subpage-redesign #header_logo .cave_redesign_logo > a:focus-visible {
		animation: cave-logo-sprite-hover 1s steps(10) infinite;
	}

	body.cave-subpage-redesign #header_logo .cave_redesign_logo > a:hover img,
	body.cave-subpage-redesign #header_logo .cave_redesign_logo > a:focus-visible img {
		visibility: hidden;
	}
}

@keyframes cave-logo-sprite-hover {
	to {
		background-position: -780px 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.cave-subpage-redesign #header_logo .cave_redesign_logo > a {
		animation: none !important;
	}

	body.cave-subpage-redesign #header_logo .cave_redesign_logo > a img {
		visibility: visible !important;
	}
}

/* Shared page title */
.cave-subpage-hero,
.cave-subpage-hero * {
	box-sizing: border-box;
}

.cave-subpage-hero {
	position: relative;
	overflow: hidden;
	padding: 102px 0 76px;
	background:
		radial-gradient(circle at 78% 25%, rgba(0, 169, 232, 0.15), transparent 30%),
		linear-gradient(115deg, #0b0d0f 0%, #0b0d0f 58%, #11181c 100%);
	color: var(--cave-white);
	isolation: isolate;
}

.cave-subpage-hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	filter: none;
	transform: none;
}

body.post-type-archive-course.cave-subpage-redesign .cave-subpage-hero__media,
body.post-type-archive-course.cave-subpage-redesign .cave-subpage-hero__inner {
	transition: opacity 0.18s ease;
}

body.post-type-archive-course.cave-subpage-redesign .cave-subpage-hero__media.is-changing,
body.post-type-archive-course.cave-subpage-redesign .cave-subpage-hero__inner.is-changing {
	opacity: 0;
}

.cave-subpage-hero__media::after {
	position: absolute;
	inset: 0;
	background: rgb(5 8 10 / var(--cave-subpage-overlay, 0.55));
	content: "";
}

@media (prefers-reduced-motion: reduce) {
	body.post-type-archive-course.cave-subpage-redesign .cave-subpage-hero__media,
	body.post-type-archive-course.cave-subpage-redesign .cave-subpage-hero__inner {
		transition: none;
	}
}

.cave-subpage-hero::before,
.cave-subpage-hero::after {
	position: absolute;
	pointer-events: none;
	content: "";
}

.cave-subpage-hero::before {
	top: 0;
	right: -7vw;
	width: 44vw;
	height: 100%;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
	transform: skewX(-15deg);
}

.cave-subpage-hero::after {
	display: none;
}

.cave-subpage-hero__inner {
	position: relative;
	z-index: 1;
}

.cave-subpage-hero h1 {
	max-width: 1020px;
	margin: 0 0 20px;
	color: var(--cave-white);
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
	font-size: clamp(32px, 3vw, 40px);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: 0;
}

.cave-subpage-hero__description {
	max-width: 900px;
	margin: 0 auto;
	color: var(--cave-white);
	font-family: "Noto Sans JP", "Murecho", sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0.01em;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.cave-subpage-hero h1::after {
	display: none;
}

/* Article titles can be much longer than page names. Keep them cinematic
 * without letting the title area dominate the whole first screen. */
body.cave-subpage-redesign.single .cave-subpage-hero {
	padding-top: 80px;
	padding-bottom: 62px;
}

body.cave-subpage-redesign.single .cave-subpage-hero h1 {
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.45;
}

.cave-subpage-hero--has-image {
	display: grid;
	align-items: center;
	min-height: 450px;
	padding-top: 82px;
	padding-bottom: 82px;
	background: var(--cave-black);
}

body.cave-subpage-redesign.single .cave-subpage-hero--has-image {
	min-height: 450px;
	padding-top: 76px;
	padding-bottom: 76px;
}

.cave-subpage-hero--has-image .cave-subpage-hero__inner {
	text-align: center;
}

.cave-subpage-hero--has-image h1 {
	margin-inline: auto;
	text-shadow: 0 3px 28px rgba(0, 0, 0, 0.55);
}

.cave-subpage-hero--has-image h1::after {
	margin-inline: auto;
}

/* Keep long article titles readable without covering the main visual. */
body.cave-subpage-redesign.single .cave-subpage-hero--has-image.cave-subpage-hero--long-title {
	display: grid;
	grid-template-rows: 450px auto;
	align-items: stretch;
	min-height: 0;
	padding: 0;
	background: #0b0d0f;
}

body.cave-subpage-redesign.single .cave-subpage-hero--long-title::before {
	display: none;
}

body.cave-subpage-redesign.single .cave-subpage-hero--long-title .cave-subpage-hero__media {
	position: relative;
	inset: auto;
	z-index: 0;
	grid-row: 1;
}

body.cave-subpage-redesign.single .cave-subpage-hero--long-title .cave-subpage-hero__inner {
	grid-row: 2;
	padding-top: 32px;
	padding-bottom: 34px;
}

body.cave-subpage-redesign.single .cave-subpage-hero--long-title h1 {
	max-width: 1080px;
	margin-bottom: 12px;
	font-size: clamp(23px, 2.2vw, 30px);
	line-height: 1.45;
}

/* Images promoted to the hero are not repeated immediately in the article. */
body.cave-subpage-has-hero-image.page .content_header,
body.cave-subpage-has-hero-image.single-course .content_header,
body.cave-subpage-has-hero-image.single-post #post_image,
body.cave-subpage-has-hero-image.single-news #post_image,
body.cave-subpage-has-hero-image.single-campaign #post_image {
	display: none;
}

/* Breadcrumb and page width */
body.cave-subpage-redesign #bread_crumb {
	width: 100%;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--cave-line);
	background: var(--cave-white);
}

body.cave-subpage-redesign #bread_crumb ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: min(calc(100% - 80px), var(--cave-shell));
	min-height: 44px;
	margin: 0 auto;
	padding: 6px 0;
	line-height: 1.7;
}

body.cave-subpage-redesign #bread_crumb li,
body.cave-subpage-redesign #bread_crumb a {
	font-size: 12px;
}

body.cave-subpage-redesign #bread_crumb li::after {
	bottom: 0;
}

body.cave-subpage-redesign #bread_crumb a {
	color: var(--cave-cyan);
}

#body.cave-subpage-redesign #main_col {
	display: flex;
	align-items: flex-start;
	gap: 50px;
	width: min(calc(100% - 80px), var(--cave-shell));
	max-width: none;
	margin: 34px auto 112px;
	padding: 0;
}

#body.post-type-archive-course.cave-subpage-redesign #main_col {
	margin-top: 34px;
}

#body.cave-subpage-redesign #main_col::before,
#body.cave-subpage-redesign #main_col::after {
	display: none;
}

body.cave-subpage-redesign #left_col {
	float: none;
	flex: 1 1 0;
	width: auto;
	min-width: 0;
}

body.cave-subpage-redesign #main_col > #article,
body.cave-subpage-redesign #main_col > #archive_wrapper {
	flex: 1 1 100%;
	min-width: 0;
}

body.cave-subpage-redesign #side_col {
	float: none;
	flex: 0 0 300px;
	width: 300px;
	padding-top: 0;
}

/* The new hero provides the page-level heading. */
body.cave-subpage-redesign #left_col > .headline_bg_l,
body.cave-subpage-redesign #article > .headline_bg_l,
body.cave-subpage-redesign #recent_news > .headline_bg_l,
body.cave-subpage-redesign #archive_headline,
body.cave-subpage-redesign #article > #post_title,
body.cave-subpage-redesign .content_header > .headline_bg_l {
	display: none;
}

body.cave-subpage-redesign .content_header {
	margin: 0 0 44px;
}

body.cave-subpage-redesign .content_header img,
body.cave-subpage-redesign #post_image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Editorial content */
body.cave-subpage-redesign #article,
body.cave-subpage-redesign #recent_news,
body.cave-subpage-redesign #archive_wrapper,
body.cave-subpage-redesign ol#staff_list,
body.cave-subpage-redesign ol#voice_list {
	box-sizing: border-box;
}

body.cave-subpage-redesign .post_content {
	color: #33383b;
	font-size: 15px;
	line-height: 2;
}

body.cave-subpage-redesign.single-news #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) {
	border: 0;
}

body.cave-subpage-redesign.single-news #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) > h3::before {
	content: none;
}

body.cave-subpage-redesign.single-news #tcd-pb-wrap .tcd-pb-widget.pb-widget-editor:has(table.cost) > p {
	border-top: 0;
}

body.cave-subpage-redesign .course_category .info .desc,
body.cave-subpage-redesign .post_content li,
body.cave-subpage-redesign .post_content dt,
body.cave-subpage-redesign .post_content dd,
body.cave-subpage-redesign .post_content td,
body.cave-subpage-redesign .post_content th,
body.cave-subpage-redesign .post_content address,
body.cave-subpage-redesign .pb-widget-tab .pb_tab_caption,
body.cave-subpage-redesign .pb-widget-tab .pb_tab_content-type2 .pb_tab_text .pb_tab_description,
body.cave-subpage-redesign table.pb_simple_table th,
body.cave-subpage-redesign table.pb_simple_table td {
	line-height: 1.8;
}

body.cave-subpage-redesign .post_content > :first-child {
	margin-top: 0;
}

body.cave-subpage-redesign .post_content > #tcd-pb-wrap:first-child > .tcd-pb-row:first-child .tcd-pb-widget:first-child > :first-child {
	margin-top: 0;
}

/* Match the original CAVE heading palette while retaining this site's H1 layout. */
body.cave-subpage-redesign .post_content h1 {
	border-left-color: #373831;
	background: #f4f4f4;
	color: #111;
}

body.cave-subpage-redesign .post_content h1::before {
	color: #fff;
}

/* Numbered lead heading shared by standard information pages. */
body.cave-subpage-redesign .post_content h1.cave-page-section-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: 0 0 38px;
	padding: 25px 4px 27px;
	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;
	font-size: inherit;
	font-weight: 400;
	line-height: 1;
	letter-spacing: normal;
	text-align: left;
}

body.cave-subpage-redesign .post_content h1.cave-page-section-heading::before,
body.cave-subpage-redesign .post_content h1.cave-page-section-heading::after {
	display: none !important;
	content: none !important;
}

.cave-page-section-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-page-section-heading .cave-gym-section-heading__number {
	display: block;
	color: #16191b;
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.045em;
}

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

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

.cave-page-section-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;
	overflow-wrap: anywhere;
}

.cave-page-section-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;
}

/* The page hero already says お問い合わせ, so avoid repeating it in copy. */
body.cave-subpage-redesign.page-id-111 .post_content > h1:first-child {
	display: none;
}

body.cave-subpage-redesign .post_content h2:not(.staff_name),
body.cave-subpage-redesign .post_content h3,
body.cave-subpage-redesign .post_content h4 {
	color: var(--cave-ink);
	font-weight: 500;
	letter-spacing: 0.035em;
}

body.cave-subpage-redesign .post_content h2:not(.staff_name) {
	position: relative;
	margin: 58px 0 26px;
	padding: 22px 12px 23px;
	border: 0;
	border-top: 1px solid #696d70;
	border-bottom: 1px solid #696d70;
	background: transparent;
	color: var(--cave-ink);
	font-family: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
	font-size: clamp(21px, 2.4vw, 28px);
	line-height: 1.5;
	letter-spacing: 0.025em;
}

body.cave-subpage-redesign .post_content h3 {
	margin: 44px 0 21px;
	padding: 0 0 13px;
	border-bottom: 1px solid var(--cave-line);
	font-size: 20px;
}

body.cave-subpage-redesign.page-id-1196 .post_content h3.style3a {
	border-top: 0;
}

body.cave-subpage-redesign .post_content h3.head_line3 {
	border-top: 2px dashed #555;
	border-bottom: 2px dashed #555;
}

body.cave-subpage-redesign .post_content h3.head_line2 {
	border-top-color: #aaa;
	border-bottom-color: #aaa;
}

body.cave-subpage-redesign .post_content h3.deco {
	border-color: #333;
}

body.cave-subpage-redesign .post_content h4 {
	margin: 34px 0 16px;
	font-size: 17px;
}

body.cave-subpage-redesign .post_content a {
	color: #007dac;
	text-decoration-color: rgba(0, 125, 172, 0.4);
	text-underline-offset: 3px;
}

body.cave-subpage-redesign .post_content img,
body.cave-subpage-redesign .post_content video {
	max-width: 100%;
	height: auto;
}

body.cave-subpage-redesign .post_content iframe {
	max-width: 100%;
}

@media only screen and (max-width: 700px) {
	body.cave-subpage-redesign.page-id-92 .post_content iframe[src*="google.com/maps/embed"] {
		display: block;
		width: 100%;
		height: clamp(300px, calc(100vw - 26px), 410px);
	}
}

body.cave-subpage-redesign .post_content blockquote {
	margin: 32px 0;
	padding: 24px 28px;
	border: 0;
	border-left: 4px solid var(--cave-cyan);
	background: rgba(255, 255, 255, 0.68);
}

body.cave-subpage-redesign .post_content table,
body.cave-subpage-redesign .staff_detail table {
	width: 100%;
	margin: 28px 0;
	border-collapse: collapse;
	background: var(--cave-white);
}

body.cave-subpage-redesign .post_content th,
body.cave-subpage-redesign .post_content td,
body.cave-subpage-redesign .staff_detail th,
body.cave-subpage-redesign .staff_detail td {
	padding: 16px 18px;
	border: 1px solid #d8dbdc;
	text-align: left;
	vertical-align: top;
}

body.cave-subpage-redesign .post_content th,
body.cave-subpage-redesign .staff_detail th {
	width: 28%;
	background: var(--cave-black);
	color: var(--cave-white);
	font-weight: 500;
}

body.cave-subpage-redesign .post_content table.cost th {
	background: #f3f3f3;
	color: #4c4948;
}

/* Class detail pages
 * Keep the existing Page Builder content and galleries intact, while giving
 * every class a consistent editorial rhythm that matches the CAVE redesign. */
body.cave-subpage-redesign.single-course .course_content {
	color: #29343a;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: 16px;
	font-kerning: normal;
	font-feature-settings: "palt";
	line-height: 2;
	letter-spacing: 0.018em;
}

body.cave-subpage-redesign.single-course .course_content p {
	color: #29343a;
	font-size: 100%;
	letter-spacing: 0.018em;
	overflow-wrap: anywhere;
}

body.cave-subpage-redesign.single-course .course_content #tcd-pb-wrap,
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row {
	overflow: visible;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row {
	margin-bottom: clamp(28px, 4vw, 48px) !important;
	background: transparent !important;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:last-child {
	margin-bottom: 0 !important;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-widget {
	margin-bottom: 0 !important;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-widget + .tcd-pb-widget {
	margin-top: 24px;
}

/* The shared image hero already carries the class name. */
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:first-child h1 {
	display: none;
}

body.cave-subpage-redesign.single-course .course_content h3.head_line3,
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:first-child .pb-widget-editor > p {
	margin: 0 !important;
	padding: clamp(20px, 3vw, 28px) clamp(20px, 3.5vw, 34px) !important;
	border: 0 !important;
	border-top: 2px dashed #59656a !important;
	border-bottom: 2px dashed #59656a !important;
	border-radius: 0 !important;
	background: linear-gradient(90deg, rgba(0, 169, 232, 0.09), rgba(0, 169, 232, 0.025) 48%, transparent 100%);
	color: var(--cave-ink);
	font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
	font-size: clamp(18px, 2vw, 22px);
	font-weight: 500;
	line-height: 1.85;
	letter-spacing: 0.025em;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:first-child .pb-widget-editor > p {
	margin-bottom: 36px !important;
}

/* Turn the old bordered editor blocks into quiet, structured information cards. */
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> h3:not(.head_line3)),
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> p.kadom) {
	position: relative;
	padding: clamp(25px, 3.4vw, 38px) !important;
	border: 1px solid rgba(20, 23, 25, 0.18) !important;
	border-top: 3px solid var(--cave-black) !important;
	border-radius: 0 !important;
	background: var(--cave-white) !important;
	box-shadow: 0 16px 42px rgba(13, 18, 21, 0.055);
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> h3:not(.head_line3))::before,
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> p.kadom)::before {
	position: absolute;
	top: -3px;
	left: 0;
	width: 76px;
	height: 3px;
	background: var(--cave-cyan);
	content: "";
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3:not(.head_line3),
body.cave-subpage-redesign.single-course .course_content :is(h3, p).kadom {
	position: relative;
	display: block !important;
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 22px !important;
	padding: 0 0 16px 22px !important;
	border: 0 !important;
	border-bottom: 1px solid #cbd3d7 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--cave-ink) !important;
	font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
	font-size: clamp(19px, 2vw, 23px) !important;
	font-weight: 500 !important;
	line-height: 1.55 !important;
	letter-spacing: 0.025em !important;
	white-space: normal !important;
	text-align: left !important;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3:not(.head_line3)::before,
body.cave-subpage-redesign.single-course .course_content :is(h3, p).kadom::before {
	position: absolute;
	top: 0.28em;
	left: 0;
	width: 5px;
	height: 1.15em;
	background: var(--cave-cyan);
	content: "";
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3:not(.head_line3)::after,
body.cave-subpage-redesign.single-course .course_content :is(h3, p).kadom::after {
	content: none;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > p,
body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ul,
body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ol {
	margin-top: 0;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > p {
	margin-bottom: 1.65em;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > p:last-child {
	margin-bottom: 0;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ul,
body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ol,
body.cave-subpage-redesign.single-course .course_content .head_line3c > ul,
body.cave-subpage-redesign.single-course .course_content .head_line3c > ol {
	box-sizing: border-box;
	margin: 20px 0 26px;
	padding: 20px 24px 20px 46px;
	border: 0;
	border-left: 3px solid var(--cave-cyan);
	background: #f4f7f8;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor li {
	margin: 0.35em 0;
	color: #29343a;
	font-size: 1em;
	letter-spacing: 0.018em;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor li::marker {
	color: #007dac;
	font-weight: 600;
}

body.cave-subpage-redesign.single-course .course_content p.kadom-blue {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 24px 0 8px;
	color: #007dac;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.08em;
}

body.cave-subpage-redesign.single-course .course_content p.kadom-blue::before {
	width: 7px;
	height: 7px;
	background: var(--cave-cyan);
	content: "";
}

body.cave-subpage-redesign.single-course .course_content .head_line3c {
	margin-top: 26px;
	padding: 22px 24px;
	border: 0;
	background: #f4f7f8;
}

body.cave-subpage-redesign.single-course .course_content .head_line3c :is(h3, p).kadom {
	font-size: 17px !important;
}

body.cave-subpage-redesign.single-course .course_content .head_line3c > ul,
body.cave-subpage-redesign.single-course .course_content .head_line3c > ol {
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
	background: transparent;
}

/* Existing single images and every slide remain in the page; only their frame changes. */
body.cave-subpage-redesign.single-course .course_content .pb-widget-image img,
body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > p > img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 3px;
	box-shadow: 0 22px 55px rgba(13, 18, 21, 0.13);
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_wrap {
	box-sizing: border-box;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider {
	overflow: hidden;
	background: transparent;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_item {
	overflow: hidden;
	background: transparent;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider .pb_slider_item img {
	display: block;
	width: 100%;
	height: auto;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider .slick-arrow {
	width: 52px;
	height: 52px;
	margin-top: -26px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: rgba(11, 13, 15, 0.82);
	box-shadow: none;
	line-height: 52px;
	opacity: 1;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider .slick-arrow:hover,
body.cave-subpage-redesign.single-course .course_content .pb_slider .slick-arrow:focus-visible {
	border-color: var(--cave-cyan);
	background: var(--cave-cyan);
}

body.cave-subpage-redesign.single-course .course_content .pb_slider .slick-arrow:focus-visible {
	outline: 3px solid rgba(0, 169, 232, 0.3);
	outline-offset: -3px;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_nav {
	width: 100%;
	margin-top: 12px;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item {
	margin-right: 8px;
	overflow: hidden;
	background: transparent;
	opacity: 0.58;
	transition: opacity 0.2s ease;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item:hover,
body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item.slick-current {
	opacity: 1;
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item::after {
	box-shadow: inset 0 0 0 1px rgba(13, 18, 21, 0.18);
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item.slick-current::after {
	box-shadow: inset 0 0 0 3px var(--cave-cyan);
}

body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

body.cave-subpage-redesign.single-course .course_content .su-youtube,
body.cave-subpage-redesign.single-course .course_content .su-u-responsive-media-yes {
	overflow: hidden;
	box-shadow: 0 18px 42px rgba(13, 18, 21, 0.12);
}

body.cave-subpage-redesign.single-course .course_content .q_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: min(100%, 330px);
	min-height: 56px;
	padding: 14px 30px;
	border: 1px solid var(--cave-black);
	border-radius: 0;
	background: var(--cave-black);
	box-shadow: none;
	color: var(--cave-white) !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.035em;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.cave-subpage-redesign.single-course .course_content .q_button:hover,
body.cave-subpage-redesign.single-course .course_content .q_button:focus-visible {
	border-color: var(--cave-cyan);
	background: var(--cave-cyan);
	color: var(--cave-white) !important;
}

body.cave-subpage-redesign.single-course .course_content .q_button:focus-visible {
	outline: 3px solid rgba(0, 169, 232, 0.28);
	outline-offset: 4px;
}

body.cave-subpage-redesign.single-course .course_content .cave-course-footer-row > .tcd-pb-row-inner > .tcd-pb-col {
	width: 100% !important;
}

body.cave-subpage-redesign.single-course .course_content .cave-course-footer-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	width: 100%;
	margin: 0 !important;
}

body.cave-subpage-redesign.single-course .course_content .cave-course-footer-actions .q_button {
	width: 100%;
	min-width: 0;
}

/* Class detail refinement: a calmer editorial layout. */
#body.cave-subpage-redesign.single-course #main_col {
	gap: 50px;
	max-width: none;
	margin-top: 52px;
}

body.cave-subpage-redesign.single-course #left_col {
	flex: 1 1 0;
	width: auto;
}

body.cave-subpage-redesign.single-course #side_col {
	display: block;
	flex-basis: 300px;
	width: 300px;
}

body.cave-subpage-redesign.single-course .course_content {
	width: min(100%, 980px);
	margin-inline: auto;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row {
	margin-bottom: clamp(36px, 5vw, 62px) !important;
}

body.cave-subpage-redesign.single-course .course_content h3.head_line3,
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:first-child .pb-widget-editor > p {
	padding: 22px 4px !important;
	background: transparent;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: clamp(17px, 1.55vw, 20px);
	font-weight: 600;
	line-height: 1.9;
	letter-spacing: 0.025em;
}

/* Numbered class introduction shared by every course detail page. */
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:first-child .pb-widget-editor > .cave-course-lead--numbered {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: clamp(30px, 4vw, 48px);
	align-items: start;
	margin: 0 !important;
	padding: 25px 4px 27px !important;
	border: 0 !important;
	border-top: 1px solid #c9d1d4 !important;
	border-bottom: 1px solid #c9d1d4 !important;
	background: var(--cave-white);
	box-shadow: none;
	text-align: left;
}

body.cave-subpage-redesign.single-course .cave-course-lead__label {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-height: 76px;
	margin-top: 0;
	padding: 0 24px 0 5px;
	border: 0;
	border-right: 1px solid #c9d1d4;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
}

body.cave-subpage-redesign.single-course .cave-course-lead__number {
	display: block;
	color: var(--cave-ink);
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.045em;
}

body.cave-subpage-redesign.single-course .cave-course-lead__kicker {
	display: block;
	color: #087da8;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

body.cave-subpage-redesign.single-course .cave-course-lead__copy,
body.cave-subpage-redesign.single-course .cave-course-lead__title,
body.cave-subpage-redesign.single-course .cave-course-lead__note {
	display: block;
}

body.cave-subpage-redesign.single-course .cave-course-lead__copy {
	align-self: center;
}

body.cave-subpage-redesign.single-course .cave-course-lead__title {
	color: var(--cave-ink);
	font-size: clamp(18px, 1.6vw, 21px);
	font-weight: 600;
	line-height: 1.85;
	letter-spacing: 0.025em;
}

body.cave-subpage-redesign.single-course .cave-course-lead__note {
	margin-top: 12px;
	color: #647178;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.8;
	letter-spacing: 0.02em;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:not(:has(> h3)):not(:has(> p.kadom)):not(:has(.q_button)):not(:has(img)) {
	max-width: 820px;
	margin-inline: auto;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> h3:not(.head_line3)) {
	padding: 34px 0 0 !important;
	border: 0 !important;
	border-top: 1px solid #bfc8cc !important;
	background: transparent !important;
	box-shadow: none;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> p.kadom) {
	padding: 30px 32px !important;
	border: 0 !important;
	border-left: 4px solid var(--cave-cyan) !important;
	background: #f2f5f6 !important;
	box-shadow: none;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> h3:not(.head_line3))::before,
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> p.kadom)::before {
	display: none;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3:not(.head_line3),
body.cave-subpage-redesign.single-course .course_content :is(h3, p).kadom {
	margin-bottom: 20px !important;
	padding: 0 0 0 19px !important;
	border-bottom: 0 !important;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: clamp(20px, 1.8vw, 24px) !important;
	font-weight: 600 !important;
	line-height: 1.55 !important;
	letter-spacing: 0.02em !important;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3:not(.head_line3)::before,
body.cave-subpage-redesign.single-course .course_content :is(h3, p).kadom::before {
	top: 0.16em;
	height: 1.25em;
}

/* Numbered content sections used across the course catalogue. */
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row .tcd-pb-widget.pb-widget-editor.cave-course-numbered-section {
	padding-top: 0 !important;
	border-top: 0 !important;
}

/* The numbered heading supplies its own rules; suppress the legacy editor rule behind it. */
body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .tcd-pb-widget.pb-widget-editor.cave-course-numbered-section:has(> h3.cave-course-section-heading) {
	padding-top: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3.cave-course-section-heading {
	display: grid !important;
	box-sizing: border-box !important;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: clamp(30px, 4vw, 48px);
	align-items: start;
	width: 100% !important;
	margin: 52px 0 28px !important;
	padding: 25px 4px 27px !important;
	border: 0 !important;
	border-top: 1px solid #c9d1d4 !important;
	border-bottom: 1px solid #c9d1d4 !important;
	background: var(--cave-white) !important;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	line-height: 1 !important;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3.cave-course-section-heading:first-child {
	margin-top: 0 !important;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3.cave-course-section-heading::before,
body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3.cave-course-section-heading::after {
	display: none !important;
	content: none !important;
}

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

body.cave-subpage-redesign.single-course .cave-course-section-heading__number {
	display: block;
	color: var(--cave-ink);
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.045em;
}

body.cave-subpage-redesign.single-course .cave-course-section-heading__kicker {
	display: block;
	color: #087da8;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

body.cave-subpage-redesign.single-course .cave-course-section-heading__title {
	display: block;
	align-self: center;
	color: var(--cave-ink);
	font-size: clamp(22px, 2vw, 27px);
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.035em;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ul,
body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ol,
body.cave-subpage-redesign.single-course .course_content .head_line3c > ul,
body.cave-subpage-redesign.single-course .course_content .head_line3c > ol {
	padding: 0 0 0 1.55em;
	border-left: 0;
	background: transparent;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-col:has(> .tcd-pb-widget + .tcd-pb-widget) {
	display: grid;
	float: none;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	width: 100% !important;
}

body.cave-subpage-redesign.single-course.postid-3736 .course_content .tcd-pb-col:has(> .tcd-pb-widget + .tcd-pb-widget) {
	gap: 36px;
}

body.cave-subpage-redesign.single-course.postid-3736 .cave-sparring-policy-heading {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: clamp(30px, 4vw, 48px);
	align-items: start;
	margin: 0;
	padding: 25px 4px 27px;
	border: 0;
	border-top: 1px solid #c9d1d4;
	border-bottom: 1px solid #c9d1d4;
	background: var(--cave-white);
}

body.cave-subpage-redesign.single-course.postid-3736 .cave-sparring-policy-heading__label {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 8px;
	min-height: 76px;
	margin: 0;
	padding: 0 24px 0 5px;
	border-right: 1px solid #c9d1d4;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 1;
}

body.cave-subpage-redesign.single-course.postid-3736 .cave-sparring-policy-heading__number {
	display: block;
	color: var(--cave-ink);
	font-size: 46px;
	font-weight: 700;
	letter-spacing: -0.045em;
}

body.cave-subpage-redesign.single-course.postid-3736 .cave-sparring-policy-heading__kicker {
	display: block;
	color: #087da8;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
}

body.cave-subpage-redesign.single-course.postid-3736 .course_content .cave-sparring-policy-heading__title {
	align-self: center;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--cave-ink);
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: clamp(22px, 2vw, 27px);
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.035em;
}

body.cave-subpage-redesign.single-course.postid-3736 .course_content .cave-sparring-policy-heading ~ .pb-widget-editor:has(> h3:not(.head_line3)) {
	border-top: 0 !important;
}

body.cave-subpage-redesign.single-course .course_content .tcd-pb-col:has(> .tcd-pb-widget + .tcd-pb-widget) > .pb-widget-editor {
	margin: 0 !important;
	padding: 32px !important;
	border: 1px solid #cfd6d9 !important;
	background: var(--cave-white) !important;
}

body.cave-subpage-redesign.single-course .course_content .pb-widget-image img,
body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > p > img {
	border-radius: 0;
	box-shadow: 0 20px 56px rgba(13, 18, 21, 0.1);
}

/* Private lesson: compare trainers first, then keep each long profile easy to identify. */
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index {
	box-sizing: border-box;
	margin: 8px 0 46px;
	padding: 28px;
	border: 1px solid #bdc7cb;
	border-top: 4px solid var(--cave-black);
	background: #f2f5f6;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
	column-gap: 28px;
	align-items: end;
	margin-bottom: 22px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__label {
	grid-column: 1 / -1;
	margin: 0 0 7px;
	color: #087da8;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.16em;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__title {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--cave-ink);
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: clamp(24px, 2.3vw, 30px);
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.035em;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__title::before,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__title::after {
	display: none;
	content: none;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__description {
	margin: 0;
	color: #526067;
	font-size: 14px;
	line-height: 1.8;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__card {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	height: 190px;
	min-height: 190px;
	overflow: hidden;
	border: 1px solid #087da8;
	background: var(--cave-white);
	box-shadow: none;
	color: var(--cave-ink);
	text-decoration: none;
	transition: background-color 0.2s ease;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__card:hover,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__card:focus-visible {
	border-color: #087da8;
	background: #f8fcfd;
	box-shadow: none;
	color: var(--cave-ink);
	transform: none;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__card:focus-visible {
	outline: 3px solid rgba(0, 169, 232, 0.28);
	outline-offset: 3px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__media,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__content,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__number,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__name,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__tags,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__action {
	display: block;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__media {
	height: 190px;
	overflow: hidden;
	background: var(--cave-black);
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__image {
	display: block;
	width: 100%;
	max-width: none;
	height: 190px;
	object-fit: cover;
	object-position: center top;
	transform: scale(1.08);
	transition: transform 0.35s ease;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__card:hover .cave-private-trainer-index__image,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__card:focus-visible .cave-private-trainer-index__image {
	transform: scale(1.12);
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__content {
	position: relative;
	box-sizing: border-box;
	padding: 17px 15px 15px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__number {
	margin-bottom: 5px;
	color: #087da8;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.1em;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__name {
	min-height: 0;
	color: var(--cave-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: 0.015em;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__tags,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__tags {
	margin-top: 9px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__tag {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 3px 7px;
	background: #e9f5f8;
	color: #17667f;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__action {
	margin-top: 12px;
	color: #087da8;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__action::after {
	margin-left: 7px;
	content: "\2193";
}

body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row.cave-private-trainer-row {
	box-sizing: border-box;
	margin-bottom: 48px !important;
	padding: 0 15px 15px;
	border: 1px solid #b8c3c8;
	background: #f2f5f6;
	box-shadow: none;
}

body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row > h3.cave-private-trainer-section-heading {
	display: grid !important;
	box-sizing: border-box !important;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	width: auto !important;
	margin: 0 -15px 15px !important;
	padding: 24px 28px !important;
	border: 0 !important;
	background: var(--cave-black) !important;
	color: var(--cave-white);
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	line-height: 1 !important;
	scroll-margin-top: 112px;
}

body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row > h3.cave-private-trainer-section-heading::before,
body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row > h3.cave-private-trainer-section-heading::after {
	display: none !important;
	content: none !important;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading .cave-course-section-heading__title {
	color: var(--cave-white);
	font-size: clamp(20px, 1.9vw, 26px);
	line-height: 1.55;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading .cave-course-section-heading__label {
	min-height: 74px;
	padding-left: 0;
	border-right-color: rgba(255, 255, 255, 0.25);
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading .cave-course-section-heading__number {
	color: var(--cave-white);
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading .cave-course-section-heading__kicker {
	color: #2cc5ef;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading__copy {
	display: block;
	align-self: center;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading__tags {
	margin-top: 9px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading__tag {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 3px 8px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: rgba(255, 255, 255, 0.84);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
}

body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row:has([data-cave-private-trainer]) .tcd-pb-row-inner,
body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row.cave-private-trainer-row .tcd-pb-row-inner {
	display: grid;
	grid-template-columns: minmax(0, 0.485fr) minmax(0, 0.515fr);
	gap: 15px;
}

body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row:has([data-cave-private-trainer]) .tcd-pb-col,
body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row.cave-private-trainer-row .tcd-pb-col {
	float: none !important;
	width: auto !important;
	margin: 0 !important;
}

body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row.cave-private-trainer-row .pb-widget-editor.cave-private-trainer-profile {
	margin: 0 !important;
	padding: 32px !important;
	border: 1px solid #cfd6d9 !important;
	background: var(--cave-white) !important;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-photo {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center top;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-lead {
	margin-bottom: 0.7em !important;
	font-size: clamp(17px, 1.55vw, 20px);
	font-weight: 600;
	line-height: 1.75;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-menu__item {
	padding: 15px 0;
	border-top: 1px solid #d6dde0;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-menu__item:first-of-type {
	padding-top: 0;
	border-top: 0;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-menu__item:last-child {
	padding-bottom: 0;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-menu__item p {
	margin: 0;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-menu__item p + p {
	margin-top: 5px;
	color: #445159;
	font-size: 14px;
	line-height: 1.85;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-menu__item strong {
	color: var(--cave-ink);
	font-size: 15px;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-note {
	margin-top: 20px !important;
	font-weight: 600;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-detail-list {
	margin: 7px 0 0;
	padding-left: 1.35em;
}

body.cave-subpage-redesign.single-course.postid-1155 .course_content .head_line3c > ul.cave-private-trainer-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-links li {
	margin: 0;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-links :is(a, button) {
	display: flex;
	box-sizing: border-box;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 44px;
	padding: 9px 11px;
	border: 1px solid #c7d1d5;
	border-radius: 0;
	background: var(--cave-white);
	color: var(--cave-ink);
	cursor: pointer;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-links :is(a, button)::after {
	margin-left: 8px;
	color: #087da8;
	content: "\2197";
}

body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-links a:hover,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-links a:focus-visible,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-links button:hover,
body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-links button:focus-visible {
	border-color: #087da8;
	background: #eaf7fb;
}

@media only screen and (max-width: 991px) {
	#body.cave-subpage-redesign.single-course #main_col {
		gap: 0;
	}

	body.cave-subpage-redesign.single-course #side_col {
		flex-basis: auto;
		width: 100%;
	}
}

@media only screen and (max-width: 700px) {
	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index {
		margin-bottom: 34px;
		padding: 20px 14px 14px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__header {
		display: block;
		margin-bottom: 17px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__title {
		font-size: 22px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__description {
		margin-top: 7px;
		font-size: 13px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__grid {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__card {
		grid-template-columns: 108px minmax(0, 1fr);
		height: 166px;
		min-height: 166px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__media,
	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__image {
		height: 166px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__content {
		padding: 15px 13px 13px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-index__name {
		min-height: 0;
		font-size: 15px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row.cave-private-trainer-row {
		margin-bottom: 34px !important;
		padding: 0 10px 10px;
		box-shadow: none;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row > h3.cave-private-trainer-section-heading {
		grid-template-columns: 68px minmax(0, 1fr);
		gap: 15px;
		margin: 0 -10px 10px !important;
		padding: 19px 16px !important;
		scroll-margin-top: 84px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading .cave-course-section-heading__label {
		min-height: 64px;
		padding: 0 12px 0 0;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading .cave-course-section-heading__number {
		font-size: 34px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading .cave-course-section-heading__title {
		font-size: 19px;
		line-height: 1.5;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading__tags {
		gap: 4px;
		margin-top: 7px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .cave-private-trainer-section-heading__tag {
		min-height: 22px;
		padding: 2px 6px;
		font-size: 11px;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row:has([data-cave-private-trainer]) .tcd-pb-row-inner,
	body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row.cave-private-trainer-row .tcd-pb-row-inner {
		grid-template-columns: 1fr;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .course_content .tcd-pb-row.cave-private-trainer-row .pb-widget-editor.cave-private-trainer-profile {
		padding: 23px 18px !important;
	}

	body.cave-subpage-redesign.single-course.postid-1155 .course_content .head_line3c > ul.cave-private-trainer-links {
		grid-template-columns: 1fr;
	}

	body.cave-subpage-redesign.single-course .course_content {
		font-size: 15px;
		line-height: 1.9;
	}

	body.cave-subpage-redesign.single-course .course_content .tcd-pb-row {
		margin-bottom: 30px !important;
	}

	body.cave-subpage-redesign.single-course .course_content h3.head_line3,
	body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:first-child .pb-widget-editor > p {
		padding: 18px 17px !important;
		font-size: 17px;
		line-height: 1.8;
	}

	body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:first-child .pb-widget-editor > .cave-course-lead--numbered {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 18px;
		padding: 19px 0 21px !important;
	}

	body.cave-subpage-redesign.single-course .cave-course-lead__label {
		min-height: 68px;
		margin-top: 0;
		padding: 0 15px 0 2px;
	}

	body.cave-subpage-redesign.single-course .cave-course-lead__number {
		font-size: 34px;
	}

	body.cave-subpage-redesign.single-course .cave-course-lead__title {
		font-size: 17px;
		line-height: 1.85;
	}

	body.cave-subpage-redesign.single-course .cave-course-lead__note {
		margin-top: 10px;
		font-size: 14px;
	}

	body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> h3:not(.head_line3)),
	body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> p.kadom) {
		padding: 23px 18px !important;
		box-shadow: 0 10px 28px rgba(13, 18, 21, 0.045);
	}

	body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3:not(.head_line3),
	body.cave-subpage-redesign.single-course .course_content :is(h3, p).kadom {
		padding: 0 0 13px 18px !important;
		font-size: 18px !important;
	}

	body.cave-subpage-redesign.single-course .course_content .tcd-pb-row .tcd-pb-widget.pb-widget-editor.cave-course-numbered-section {
		padding-top: 0 !important;
	}

	body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3.cave-course-section-heading {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 18px;
		margin-top: 38px !important;
		margin-bottom: 22px !important;
		padding: 19px 0 21px !important;
	}

	body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > h3.cave-course-section-heading:first-child {
		margin-top: 0 !important;
	}

	body.cave-subpage-redesign.single-course .cave-course-section-heading__label {
		min-height: 68px;
		padding: 0 15px 0 2px;
	}

	body.cave-subpage-redesign.single-course .cave-course-section-heading__number {
		font-size: 34px;
	}

	body.cave-subpage-redesign.single-course .cave-course-section-heading__title {
		font-size: 20px;
	}

	body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ul,
	body.cave-subpage-redesign.single-course .course_content .pb-widget-editor > ol,
	body.cave-subpage-redesign.single-course .course_content .head_line3c > ul,
	body.cave-subpage-redesign.single-course .course_content .head_line3c > ol {
		padding: 17px 15px 17px 37px;
	}

	body.cave-subpage-redesign.single-course .course_content .head_line3c {
		padding: 19px 17px;
	}

	body.cave-subpage-redesign.single-course .course_content .pb_slider_wrap {
		padding: 0;
	}

	body.cave-subpage-redesign.single-course .course_content .pb_slider .slick-arrow {
		width: 42px;
		height: 42px;
		margin-top: -21px;
		line-height: 42px;
	}

	body.cave-subpage-redesign.single-course .course_content .pb_slider_nav {
		width: calc(100% + 5px);
		margin-top: 5px;
	}

	body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item {
		margin-right: 5px;
	}

	body.cave-subpage-redesign.single-course .course_content .pb_slider_nav .pb_slider_nav_item img {
		aspect-ratio: 1;
	}

	body.cave-subpage-redesign.single-course .course_content .q_button {
		width: 100%;
		max-width: none;
		min-height: 54px;
		padding-inline: 18px;
		font-size: 14px;
	}

	body.cave-subpage-redesign.single-course .course_content .cave-course-footer-actions {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	body.cave-subpage-redesign.single-course .course_content .tcd-pb-col:has(> .tcd-pb-widget + .tcd-pb-widget) {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	body.cave-subpage-redesign.single-course.postid-3736 .course_content .tcd-pb-col:has(> .tcd-pb-widget + .tcd-pb-widget) {
		gap: 18px;
	}

	body.cave-subpage-redesign.single-course.postid-3736 .cave-sparring-policy-heading {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 18px;
		padding: 19px 0 21px;
	}

	body.cave-subpage-redesign.single-course.postid-3736 .cave-sparring-policy-heading__label {
		min-height: 68px;
		padding: 0 15px 0 2px;
	}

	body.cave-subpage-redesign.single-course.postid-3736 .cave-sparring-policy-heading__number {
		font-size: 34px;
	}

	body.cave-subpage-redesign.single-course.postid-3736 .course_content .cave-sparring-policy-heading__title {
		font-size: 20px;
	}

	body.cave-subpage-redesign.single-course .course_content .tcd-pb-col:has(> .tcd-pb-widget + .tcd-pb-widget) > .pb-widget-editor,
	body.cave-subpage-redesign.single-course .course_content .tcd-pb-row:not(:first-child) .pb-widget-editor:has(> p.kadom) {
		padding: 24px 20px !important;
	}
}

body.cave-subpage-redesign #post_meta_top,
body.cave-subpage-redesign #post_meta_bottom {
	padding: 12px 0;
	border-color: var(--cave-line);
	color: var(--cave-muted);
}

/* News and event archives */
body.cave-subpage-redesign #recent_news {
	margin: 0;
}

body.cave-subpage-redesign #recent_news ol {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body.cave-subpage-redesign #recent_news li {
	margin: 0 0 16px;
	border: 0;
}

body.cave-subpage-redesign #recent_news li a {
	display: flex;
	align-items: stretch;
	min-height: 134px;
	overflow: hidden;
	border: 1px solid var(--cave-line);
	background: var(--cave-white);
	color: var(--cave-ink);
	text-decoration: none;
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

body.cave-subpage-redesign #recent_news li a:hover {
	border-color: rgba(0, 169, 232, 0.48);
	box-shadow: 0 14px 34px rgba(11, 13, 15, 0.08);
	transform: translateY(-2px);
}

body.cave-subpage-redesign #recent_news .image {
	flex: 0 0 220px;
	width: 220px;
	margin: 0;
	overflow: hidden;
}

body.cave-subpage-redesign #recent_news .image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.cave-subpage-redesign #recent_news .info,
body.cave-subpage-redesign #recent_news .has_post_thumbnail .info {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	width: auto;
	padding: 25px 30px;
	border: 0;
	line-height: 1.8;
}

body.cave-subpage-redesign #recent_news .date {
	margin: 0 0 8px;
	color: var(--cave-cyan);
	font-family: Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

body.cave-subpage-redesign #recent_news .title {
	margin: 0;
	color: var(--cave-ink);
	font-size: 16px;
	font-weight: 500;
}

/* Keep the refreshed category switcher while the class cards use their
 * original horizontal layout. */
body.cave-subpage-redesign .course_categories {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
	margin: 0 0 54px;
	padding: 0;
	border: 0;
	list-style: none;
}

body.cave-subpage-redesign .course_categories li {
	display: block;
	width: auto;
	border: 0;
}

body.cave-subpage-redesign .course_categories li a {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	min-height: 58px;
	padding: 12px 14px;
	border: 1px solid var(--cave-black);
	background: var(--cave-black);
	color: var(--cave-white);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.25s ease, border-color 0.25s ease;
}

body.cave-subpage-redesign .course_categories li a.active,
body.cave-subpage-redesign .course_categories li a:hover {
	border-color: var(--cave-cyan);
	background: var(--cave-cyan);
}

body.cave-subpage-redesign .course_category > .course_list > li {
	border-color: #bfc3c5;
}

body.cave-subpage-redesign .course_category > .course_list .image {
	aspect-ratio: 700 / 390;
}

body.cave-subpage-redesign .course_category > .course_list .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Staff and voice archives */
body.cave-subpage-redesign ol#staff_list,
body.cave-subpage-redesign ol#voice_list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

body.cave-subpage-redesign ol#staff_list > li,
body.cave-subpage-redesign ol#voice_list > li {
	min-height: 0;
	overflow: hidden;
	border: 1px solid var(--cave-line);
	background: var(--cave-white);
}

body.cave-subpage-redesign ol#staff_list li a {
	display: block;
	min-height: 0;
	color: var(--cave-ink);
	text-decoration: none;
}

body.cave-subpage-redesign ol#staff_list .image {
	float: none;
	width: 100%;
	height: 260px;
	margin: 0;
	background: var(--cave-black);
}

body.cave-subpage-redesign ol#staff_list .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	filter: saturate(0.78) contrast(1.08);
}

body.cave-subpage-redesign ol#staff_list .info,
body.cave-subpage-redesign ol#staff_list .has_post_thumbnail .info {
	float: none;
	width: auto;
	padding: 22px 24px 25px;
	line-height: 1.8;
}

body.cave-subpage-redesign ol#staff_list .info .staff_name {
	display: block;
	margin: 0;
	color: var(--cave-ink);
	font-size: 20px;
	font-weight: 500;
}

body.cave-subpage-redesign ol#staff_list .info .staff_position,
body.cave-subpage-redesign ol#voice_list .voice_name {
	color: var(--cave-cyan);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.06em;
}

body.cave-subpage-redesign ol#staff_list .info p {
	margin: 14px 0 0;
	color: var(--cave-muted);
	font-size: 13px;
}

body.cave-subpage-redesign ol#voice_list .voice_image {
	float: none;
	width: 112px;
	height: 112px;
	margin: 25px 25px 0;
	border-radius: 50%;
}

body.cave-subpage-redesign ol#voice_list .voice_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.cave-subpage-redesign ol#voice_list .info,
body.cave-subpage-redesign ol#voice_list .has_post_thumbnail .info {
	float: none;
	width: auto;
	padding: 22px 25px 28px;
}

body.cave-subpage-redesign ol#voice_list .info .voice_button a {
	min-width: 0;
	padding: 11px 23px;
	background: var(--cave-black);
}

body.cave-subpage-redesign ol#voice_list .info .voice_button a:hover {
	background: var(--cave-cyan);
}

/* Trainer detail */
body.cave-subpage-redesign .staff_info {
	position: relative;
	display: grid;
	grid-template-columns: minmax(230px, 36%) minmax(0, 1fr);
	column-gap: 48px;
	row-gap: 30px;
	margin-bottom: 62px;
	padding: 60px 48px 32px;
	border: 1px solid #aaa;
	background: var(--cave-white);
	box-shadow: 0 20px 50px rgba(13, 18, 21, 0.045);
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-kerning: normal;
	font-feature-settings: "palt";
}

body.cave-subpage-redesign .staff_info::before {
	position: absolute;
	top: -1px;
	left: 48px;
	width: 112px;
	height: 4px;
	background: #007dac;
	content: "";
}

@media only screen and (min-width: 701px) {
	body.cave-subpage-redesign.single-staff .staff_info::after {
		position: absolute;
		top: 70px;
		right: 18px;
		z-index: 2;
		clear: none;
		height: auto;
		color: rgba(41, 52, 58, 0.12);
		font-family: Arial, Helvetica, sans-serif;
		font-size: clamp(74px, 6vw, 104px);
		font-weight: 700;
		line-height: 0.85;
		letter-spacing: -0.035em;
		content: "TRAINER";
		pointer-events: none;
		text-orientation: mixed;
		user-select: none;
		visibility: visible;
		writing-mode: vertical-rl;
		transform: rotate(180deg);
	}

	body.cave-subpage-redesign.single-staff .staff_info > * {
		position: relative;
		z-index: 1;
	}
}

body.cave-subpage-redesign .staff_info .staff_image,
body.cave-subpage-redesign .staff_info .staff_detail {
	float: none;
	width: auto;
	margin: 0;
}

body.cave-subpage-redesign .staff_info .staff_image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	border-radius: 18px;
	object-fit: cover;
	object-position: center top;
}

body.cave-subpage-redesign .staff_info .staff_name {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 28px;
	padding: 2px 0 20px;
	border: 0;
	border-bottom: 1px solid #cbdbe1;
	background: transparent;
	color: var(--cave-ink);
	font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
	font-size: clamp(28px, 2.6vw, 35px);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.03em;
}

body.cave-subpage-redesign .staff_info .staff_name::before {
	position: static;
	display: block;
	margin: 0 0 10px;
	padding: 0;
	transform: none;
	color: #007dac;
	content: "CAVE TRAINER";
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.2em;
}

body.cave-subpage-redesign.single-staff .staff_detail table {
	width: 100%;
	margin: 0;
	border-collapse: collapse;
	table-layout: fixed;
	background: transparent;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
}

body.cave-subpage-redesign.single-staff .staff_detail table th,
body.cave-subpage-redesign.single-staff .staff_detail table td {
	padding: 15px 10px;
	border: 0;
	border-bottom: 1px solid #cbdbe1;
	background: transparent;
	color: #29343a;
	font-size: 14px;
	line-height: 1.65;
	letter-spacing: 0.015em;
	vertical-align: middle;
	line-break: strict;
	overflow-wrap: anywhere;
}

body.cave-subpage-redesign.single-staff .staff_detail table th {
	padding-left: 0;
	color: #007dac;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.045em;
}

body.cave-subpage-redesign.single-staff .staff_detail table td {
	font-size: 15px;
}

body.cave-subpage-redesign.single-staff .staff_detail table a {
	font-weight: 600;
	text-underline-offset: 3px;
}

body.cave-subpage-redesign.single-staff .staff_detail table tr:first-child td[colspan] {
	position: relative;
	padding: 16px 22px 16px 26px;
	border-bottom: 0;
	border-left: 0;
	background: transparent;
	color: var(--cave-ink);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.55;
	letter-spacing: 0.025em;
}

body.cave-subpage-redesign.single-staff .staff_detail table tr:first-child td[colspan]::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 5px;
	height: 38px;
	background: #007dac;
	content: "";
	transform: translateY(-50%);
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin: 16px 0 0;
	padding: 0;
	list-style: none;
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li {
	display: block;
	margin: 0;
	padding: 0;
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li a {
	position: relative;
	display: block;
	width: 22px;
	height: 22px;
	overflow: hidden;
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li a span {
	display: none;
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li a::before {
	position: absolute;
	bottom: 0;
	left: 0;
	display: block;
	color: #8e9599;
	font-family: "design_plus";
	font-size: 21px;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li a:hover::before {
	color: var(--cave-cyan);
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li.twitter a::before {
	font-family: "tiktok_x_icon";
	content: "\e901";
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li.facebook a::before {
	content: "\e902";
}

body.cave-subpage-redesign .staff_info .staff_image > .staff_social_link li.insta a::before {
	content: "\ea92";
}

@media only screen and (min-width: 768px) {
	body.cave-subpage-redesign.single-staff .staff_detail th {
		width: 34%;
		white-space: nowrap;
	}
}

body.cave-subpage-redesign.single-staff .staff_info > .cave-staff-message {
	grid-column: 1 / -1;
	background: #f1f9fc;
}

body.cave-subpage-redesign.single-staff .cave-staff-message > h2#post_title {
	position: relative;
	margin: 0;
	padding: 124px 58px 38px;
	border: 0;
	border-top: 0;
	background: #f1f9fc;
	color: var(--cave-ink);
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0.025em;
	line-break: strict;
	overflow-wrap: anywhere;
}

body.cave-subpage-redesign.single-staff .cave-staff-message > h2#post_title::before {
	position: absolute;
	top: 42px;
	left: 0;
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	background: transparent;
	color: #007dac;
	content: "MESSAGE";
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0.22em;
	text-align: center;
}

body.cave-subpage-redesign.single-staff .cave-staff-message > h2#post_title::after {
	position: absolute;
	top: 64px;
	left: 0;
	display: block;
	box-sizing: border-box;
	width: 100%;
	padding: 0 30px;
	color: var(--cave-ink);
	content: "スタッフからのメッセージ";
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: clamp(17px, 1.5vw, 20px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.06em;
	text-align: center;
}

body.cave-subpage-redesign.single-staff .cave-staff-profile-notes {
	box-sizing: border-box;
	margin: 28px 0 0;
	padding: 22px 24px 24px;
	border: 1px solid #79bed4;
	border-radius: 14px;
	background: transparent;
	color: var(--cave-ink);
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: 14px;
	line-height: 1.75;
	letter-spacing: 0.015em;
	line-break: strict;
	overflow-wrap: anywhere;
}

body.cave-subpage-redesign.single-staff .cave-staff-profile-notes__title {
	margin: 0 0 11px;
	color: #007dac;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.035em;
}

body.cave-subpage-redesign.single-staff .cave-staff-profile-notes__list {
	margin: 0;
	padding: 0 0 0 1.35em;
	list-style: disc;
}

body.cave-subpage-redesign.single-staff .cave-staff-profile-notes__list li {
	margin: 0 0 6px;
	padding-left: 0.15em;
}

body.cave-subpage-redesign.single-staff .cave-staff-profile-notes__list li:last-child {
	margin-bottom: 0;
}

body.cave-subpage-redesign.single-staff .staff_image > .cave-staff-profile-notes {
	width: 100%;
	text-align: left;
}

body.cave-subpage-redesign.single-staff .staff_info > .cave-staff-profile-notes {
	grid-column: 1 / -1;
	width: 100%;
	margin: 0;
	padding: 22px 24px;
	background: transparent;
	font-size: 14px;
}

/* Latest post tagged with the fighter name */
.cave-fighter-latest,
.cave-fighter-latest * {
	box-sizing: border-box;
}

.cave-fighter-latest {
	position: relative;
	width: min(calc(100% - 80px), var(--cave-shell));
	margin: 0 auto 92px;
	padding: 12px;
	border: 1px solid #8d989e;
	background: var(--cave-white);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cave-fighter-latest:hover,
.cave-fighter-latest:focus-within {
	border-color: var(--cave-cyan);
	box-shadow: 0 16px 38px rgba(13, 18, 21, 0.08);
}

.cave-fighter-latest__heading {
	position: absolute;
	top: 0;
	left: 18px;
	z-index: 2;
	margin: 0;
	padding: 0 9px;
	background: var(--cave-white);
	color: #526067;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.12em;
	transform: translateY(-50%);
}

.cave-fighter-latest__card {
	display: grid;
	grid-template-columns: minmax(300px, 42%) minmax(0, 1fr);
	min-height: 300px;
	overflow: hidden;
	border: 0;
	background: var(--cave-white);
	color: var(--cave-ink);
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cave-fighter-latest__card:hover,
.cave-fighter-latest__card:focus-visible {
	border-color: var(--cave-cyan);
	box-shadow: 0 20px 48px rgba(13, 18, 21, 0.1);
	color: var(--cave-ink);
	transform: translateY(-2px);
}

.cave-fighter-latest__card:focus-visible {
	outline: 3px solid rgba(0, 169, 232, 0.28);
	outline-offset: 4px;
}

.cave-fighter-latest__media {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	overflow: hidden;
	background: var(--cave-black);
}

.cave-fighter-latest__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.cave-fighter-latest__card:hover .cave-fighter-latest__image,
.cave-fighter-latest__card:focus-visible .cave-fighter-latest__image {
	transform: scale(1.025);
}

.cave-fighter-latest__placeholder {
	color: rgba(255, 255, 255, 0.78);
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.22em;
}

.cave-fighter-latest__content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: 38px 48px 40px;
}

.cave-fighter-latest__date {
	display: block;
	margin: 0 0 13px;
	color: var(--cave-muted);
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	letter-spacing: 0.08em;
}

.cave-fighter-latest__title {
	margin: 0;
	color: #007dac;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: 0.015em;
}

.cave-fighter-latest__excerpt {
	margin: 17px 0 0;
	color: #29343a;
	font-family: "Noto Sans JP", "Yu Gothic", YuGothic, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0.015em;
}

/* On fighter profiles, the subpage script places the card below the SNS icons
 * in the right-hand column. The page-wide rules above remain as a no-script
 * fallback if the Team plugin changes its markup. */
body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest {
	width: calc(100% - 8px);
	margin: 28px auto 0;
	padding: 14px 11px 11px;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__card {
	grid-template-columns: minmax(140px, 32%) minmax(0, 1fr);
	min-height: 170px;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__card:hover,
body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__card:focus-visible {
	box-shadow: none;
	transform: none;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__media {
	min-height: 170px;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__media > img.cave-fighter-latest__image {
	width: 100%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__content {
	padding: 11px 17px 13px;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__date {
	margin-bottom: 6px;
	font-size: 12px;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 16px;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 7px;
	font-size: 13px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

/* Fighter archive action: match the class-detail "クラス一覧" button. */
body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-archive-action {
	width: calc(100% - 8px);
	margin: 18px auto 0 !important;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-archive-button {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	padding: 14px 30px;
	border: 1px solid var(--cave-black);
	border-radius: 0;
	background: var(--cave-black);
	box-shadow: none;
	color: var(--cave-white) !important;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: 0.035em;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-archive-button:hover,
body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-archive-button:focus-visible {
	border-color: var(--cave-cyan);
	background: var(--cave-cyan);
	color: var(--cave-white) !important;
}

body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-archive-button:focus-visible {
	outline: 3px solid rgba(0, 169, 232, 0.28);
	outline-offset: 4px;
}

/* Blog cards */
body.cave-subpage-redesign #post_list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
}

body.cave-subpage-redesign #post_list > li {
	display: block;
	width: auto;
	margin: 0;
	border: 1px solid var(--cave-line);
	background: var(--cave-white);
}

body.cave-subpage-redesign #post_list li .image {
	padding-top: 61%;
	background: var(--cave-black);
}

body.cave-subpage-redesign #post_list li .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

body.cave-subpage-redesign #post_list li .info {
	padding: 22px 24px 25px;
	border: 0;
}

body.cave-subpage-redesign #post_list li .title {
	height: auto;
	color: var(--cave-ink);
	font-size: 16px;
	font-weight: 500;
}

body.cave-subpage-redesign #post_list li .meta .category span {
	color: var(--cave-white);
}

body.cave-subpage-redesign #post_list li .meta .date {
	color: var(--cave-cyan);
}

/* Form controls */
body.cave-subpage-redesign input[type="text"],
body.cave-subpage-redesign input[type="email"],
body.cave-subpage-redesign input[type="tel"],
body.cave-subpage-redesign input[type="url"],
body.cave-subpage-redesign input[type="number"],
body.cave-subpage-redesign input[type="date"],
body.cave-subpage-redesign select,
body.cave-subpage-redesign textarea {
	box-sizing: border-box;
	max-width: 100%;
	padding: 13px 15px;
	border: 1px solid #cdd1d3;
	border-radius: 0;
	background: var(--cave-white);
	color: var(--cave-ink);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.cave-subpage-redesign input:focus,
body.cave-subpage-redesign select:focus,
body.cave-subpage-redesign textarea:focus {
	border-color: var(--cave-cyan);
	box-shadow: 0 0 0 3px rgba(0, 169, 232, 0.12);
	outline: none;
}

body.cave-subpage-redesign input[type="submit"],
body.cave-subpage-redesign button[type="submit"] {
	min-height: 52px;
	padding: 0 30px;
	border: 1px solid var(--cave-cyan);
	border-radius: 0;
	background: var(--cave-cyan);
	color: var(--cave-white);
	font-weight: 500;
	cursor: pointer;
}

/* Sidebar, pagination and post navigation */
body.cave-subpage-redesign .side_widget {
	margin-bottom: 32px;
}

body.cave-subpage-redesign .side_headline,
body.cave-subpage-redesign .widget .wp-block-heading {
	display: flex;
	align-items: center;
	min-height: 58px;
	margin: 0;
	padding: 15px 17px;
	border-left: 0;
	box-sizing: border-box;
	background: var(--cave-black);
	color: var(--cave-white);
	font-size: 14px;
	font-weight: 500;
}

body.cave-subpage-redesign .side_widget ul:not(.course_list) {
	margin: 0;
	padding: 0;
	border: 1px solid var(--cave-line);
	border-top: 0;
	background: var(--cave-white);
	list-style: none;
}

body.cave-subpage-redesign .side_widget ul:not(.course_list) li {
	border-bottom: 1px solid var(--cave-line);
}

body.cave-subpage-redesign .side_widget ul:not(.course_list) li:last-child {
	border-bottom: 0;
}

body.cave-subpage-redesign .side_widget ul:not(.course_list) li a {
	display: block;
	padding: 13px 15px;
	color: var(--cave-ink);
}

body.cave-subpage-redesign #archive_wrapper .page_navi {
	margin-top: 32px;
}

body.cave-subpage-redesign #post_pagination a,
body.cave-subpage-redesign #post_pagination p,
body.cave-subpage-redesign .page-numbers {
	border-color: var(--cave-line);
	background: var(--cave-white);
	color: var(--cave-ink);
}

body.cave-subpage-redesign #post_pagination p,
body.cave-subpage-redesign #post_pagination a:hover,
body.cave-subpage-redesign .page-numbers.current,
body.cave-subpage-redesign .page-numbers:hover {
	border-color: var(--cave-cyan);
	background: var(--cave-cyan);
	color: var(--cave-white);
}

body.cave-subpage-redesign.single-staff #previous_next_post2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 42px;
}

body.cave-subpage-redesign.single-staff #previous_next_post2 a {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-height: 72px;
	padding: 16px 24px;
	border: 1px solid #aaa;
	border-radius: 0;
	text-align: center;
}

body.cave-subpage-redesign.single-staff #previous_next_post2 .prev_post {
	grid-column: 1;
}

body.cave-subpage-redesign.single-staff #previous_next_post2 .next_post {
	grid-column: 2;
}

body.cave-subpage-redesign #previous_next_post a,
body.cave-subpage-redesign #previous_next_post2 a {
	border-color: var(--cave-line);
	background: var(--cave-white);
	color: var(--cave-ink);
}

body.cave-subpage-redesign #previous_next_post a:hover,
body.cave-subpage-redesign #previous_next_post2 a:hover {
	border-color: var(--cave-cyan);
	background: var(--cave-cyan);
	color: var(--cave-white);
}

@media only screen and (max-width: 991px) {
	.cave-subpage-hero {
		padding: 76px 0 60px;
	}

	body.cave-subpage-redesign #bread_crumb ul,
	body.cave-subpage-redesign #main_col,
	body.cave-subpage-redesign .cave-shell,
	.cave-fighter-latest {
		width: min(calc(100% - 48px), var(--cave-shell));
	}

	.cave-fighter-latest__card {
		grid-template-columns: minmax(260px, 42%) minmax(0, 1fr);
	}

	.cave-fighter-latest__content {
		padding: 32px 34px 34px;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest {
		width: calc(100% - 8px);
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__card {
		grid-template-columns: minmax(125px, 32%) minmax(0, 1fr);
		min-height: 165px;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__media {
		min-height: 165px;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__content {
		padding: 10px 15px 12px;
	}

	#body.cave-subpage-redesign #main_col {
		display: block;
		margin-top: 27px;
		margin-bottom: 86px;
	}

	#body.post-type-archive-course.cave-subpage-redesign #main_col {
		margin-top: 27px;
	}

	body.cave-subpage-redesign #side_col {
		width: 100%;
		margin-top: 62px;
	}

	body.cave-subpage-redesign .course_categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media only screen and (max-width: 700px) {
	body.cave-subpage-redesign .post_content h1.cave-page-section-heading {
		grid-template-columns: 78px minmax(0, 1fr);
		gap: 18px;
		margin-bottom: 24px;
		padding: 19px 0 21px;
	}

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

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

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

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

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

	.cave-subpage-hero {
		padding: 62px 0 48px;
	}

	.cave-subpage-hero::before {
		right: -28vw;
		width: 74vw;
	}

	.cave-subpage-hero h1 {
		margin-bottom: 14px;
		font-size: clamp(26px, 8vw, 32px);
		line-height: 1.34;
	}

	.cave-subpage-hero__description {
		font-size: 14px;
		line-height: 1.7;
	}

	.cave-subpage-hero h1::after {
		width: 42px;
		margin-top: 20px;
	}

	.cave-subpage-hero--has-image,
	body.cave-subpage-redesign.single .cave-subpage-hero--has-image {
		min-height: 285px;
		padding-top: 52px;
		padding-bottom: 52px;
	}

	body.cave-subpage-redesign.single .cave-subpage-hero--has-image.cave-subpage-hero--long-title {
		grid-template-rows: 285px auto;
		min-height: 0;
		padding: 0;
	}

	body.cave-subpage-redesign.single .cave-subpage-hero--long-title .cave-subpage-hero__inner {
		padding-top: 24px;
		padding-bottom: 26px;
	}

	body.cave-subpage-redesign.single .cave-subpage-hero--long-title h1 {
		margin-bottom: 10px;
		font-size: clamp(20px, 5.5vw, 23px);
		line-height: 1.45;
	}

	body.cave-subpage-redesign #bread_crumb ul,
	#body.cave-subpage-redesign #main_col,
	body.cave-subpage-redesign .cave-shell {
		width: calc(100% - 26px);
	}

	.cave-fighter-latest {
		width: calc(100% - 16px);
	}

	.cave-fighter-latest {
		margin-bottom: 70px;
	}

	.cave-fighter-latest__card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.cave-fighter-latest__media {
		height: min(56vw, 230px);
		min-height: 0;
	}

	.cave-fighter-latest__content {
		padding: 22px 21px 25px;
	}

	.cave-fighter-latest__date {
		margin-bottom: 9px;
		font-size: 12px;
	}

	.cave-fighter-latest__title {
		font-size: 20px;
		line-height: 1.55;
	}

	.cave-fighter-latest__excerpt {
		margin-top: 13px;
		font-size: 14px;
		line-height: 1.8;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest {
		width: calc(100% - 8px);
		margin: 24px auto 0;
		padding: 12px 9px 9px;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__card {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__media {
		height: min(48vw, 190px);
		min-height: 0;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__content {
		padding: 22px 21px 25px;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-latest__title {
		font-size: 16px;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-archive-action {
		margin-top: 14px !important;
	}

	body.cave-subpage-redesign.single-team .tlp-member-description-container .cave-fighter-archive-button {
		min-height: 54px;
		padding-inline: 18px;
		font-size: 14px;
	}

	#body.cave-subpage-redesign #main_col {
		margin-top: 21px;
		margin-bottom: 70px;
	}

	#body.post-type-archive-course.cave-subpage-redesign #main_col {
		margin-top: 21px;
	}

	body.cave-subpage-redesign .post_content {
		font-size: 14px;
		line-height: 1.9;
	}

	body.cave-subpage-redesign .post_content h2:not(.staff_name) {
		margin-top: 44px;
		padding: 13px 15px 14px 17px;
	}

	body.cave-subpage-redesign.single-staff .cave-staff-message > h2#post_title {
		margin: 0;
		padding: 110px 22px 24px;
		font-size: 15px;
		line-height: 1.9;
	}

	body.cave-subpage-redesign.single-staff .cave-staff-message > h2#post_title::before {
		top: 34px;
		padding: 0 12px;
		font-size: 11px;
	}

	body.cave-subpage-redesign.single-staff .cave-staff-message > h2#post_title::after {
		top: 55px;
		padding: 0 16px;
		font-size: 16px;
	}

	body.cave-subpage-redesign.single-staff .cave-staff-profile-notes {
		margin-top: 22px;
		padding: 19px 20px 21px;
		border-radius: 11px;
		font-size: 14px;
	}

	body.cave-subpage-redesign.single-staff .staff_info > .cave-staff-profile-notes {
		margin-top: 22px;
		padding: 20px;
	}

	body.cave-subpage-redesign #recent_news li a {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	body.cave-subpage-redesign #recent_news > .headline {
		display: flow-root;
	}

	body.cave-subpage-redesign #recent_news .image {
		width: 100%;
		height: 190px;
	}

	body.cave-subpage-redesign #recent_news .info,
	body.cave-subpage-redesign #recent_news .has_post_thumbnail .info {
		padding: 20px 21px 22px;
	}

	body.cave-subpage-redesign .course_categories li a {
		min-height: 52px;
		font-size: 12px;
	}

	body.cave-subpage-redesign ol#staff_list,
	body.cave-subpage-redesign ol#voice_list,
	body.cave-subpage-redesign #post_list {
		grid-template-columns: 1fr;
	}

	body.cave-subpage-redesign ol#staff_list .image {
		height: min(88vw, 390px);
	}

	body.cave-subpage-redesign .staff_info {
		display: block;
		padding: 44px 20px 22px;
		box-shadow: none;
	}

	body.cave-subpage-redesign.single-staff .staff_info::after {
		position: absolute;
		top: 45px;
		right: 12px;
		z-index: 2;
		clear: none;
		height: auto;
		color: rgba(41, 52, 58, 0.12);
		font-family: Arial, Helvetica, sans-serif;
		font-size: clamp(46px, 15vw, 68px);
		font-weight: 700;
		line-height: 0.85;
		letter-spacing: -0.035em;
		content: "TRAINER";
		pointer-events: none;
		text-orientation: mixed;
		user-select: none;
		visibility: visible;
		writing-mode: vertical-rl;
		transform: rotate(180deg);
	}

	body.cave-subpage-redesign.single-staff .staff_info > * {
		position: relative;
		z-index: 1;
	}

	body.cave-subpage-redesign.single-staff .staff_info > .cave-staff-message {
		margin-top: 22px;
	}

	body.cave-subpage-redesign .staff_info::before {
		left: 20px;
		width: 72px;
		height: 3px;
	}

	body.cave-subpage-redesign .staff_info .staff_image {
		width: 67%;
		margin-bottom: 27px;
	}

	body.cave-subpage-redesign .staff_info .staff_name {
		margin-bottom: 22px;
		font-size: 26px;
		line-height: 1.35;
	}

	body.cave-subpage-redesign.single-staff .staff_detail table th,
	body.cave-subpage-redesign.single-staff .staff_detail table td {
		min-width: 110px;
		padding: 13px 9px;
		line-height: 1.6;
	}

	body.cave-subpage-redesign.single-staff .staff_detail table th {
		font-size: 13px;
	}

	body.cave-subpage-redesign.single-staff .staff_detail table td {
		font-size: 14px;
	}

	body.cave-subpage-redesign.single-staff .staff_detail table tr:first-child td[colspan] {
		padding: 16px 18px 16px 24px;
		font-size: 16px;
	}

	body.cave-subpage-redesign.single-staff .staff_detail table tr:first-child td[colspan]::before {
		width: 5px;
		height: 34px;
	}

	body.cave-subpage-redesign .post_content table,
	body.cave-subpage-redesign .staff_detail table {
		display: block;
		overflow-x: auto;
		white-space: normal;
	}

	body.cave-subpage-redesign .post_content th,
	body.cave-subpage-redesign .post_content td,
	body.cave-subpage-redesign .staff_detail th,
	body.cave-subpage-redesign .staff_detail td {
		min-width: 115px;
		padding: 12px 13px;
	}

}

@media only screen and (max-width: 767.98px) {
	body.cave-subpage-redesign.single-news.postid-3923 #tcd-pb-wrap .pb-widget-editor > h3:empty {
		display: none;
	}

	/* Stack every shared .cost label/value pair at the full content width. */
	body.cave-subpage-redesign .post_content table.cost,
	body.cave-subpage-redesign .post_content table.cost tbody,
	body.cave-subpage-redesign .post_content table.cost tr {
		display: block;
		width: 100%;
	}

	body.cave-subpage-redesign .post_content table.cost {
		margin-bottom: 15px !important;
		overflow-x: visible;
		table-layout: auto;
	}

	body.cave-subpage-redesign .post_content table.cost th,
	body.cave-subpage-redesign .post_content table.cost td {
		display: block;
		box-sizing: border-box;
		width: 100% !important;
		min-width: 0;
		padding: 12px 13px;
		overflow-wrap: anywhere;
		vertical-align: top;
	}

	body.cave-subpage-redesign .post_content table.cost th {
		background: #f3f3f3;
		color: #4c4948;
	}
}
