/* ==========================================================================
   YFC 個サル詳細ページ専用CSS（/kosal/ ・ page-kosal.php）V14 Visual Master
   yfc-front.css（Design Tokens・Header/Footer・.yfc-container・.yfc-btn 等）に依存。
   is_page('kosal') のときだけenqueueされ、TOP / NEWS / コートレンタルには影響しない。
   すべてのセレクタは .yfc-ks 配下（またはページ固有の .yfc-ks-* class）に限定している。
   構成:
     1. 共通パーツ（section / heading / LEVEL badge / buttons）
     2. Hero（court graphic fallback + schedule glance）
     3. Quick Benefits
     4. About
     5. Schedule
     6. Level Guide
     7. Price
     8. How to Join
     9. First Time
    10. Facility
    11. FAQ（details / summary、JSなし）
    12. Final CTA
   Breakpoint: yfc-front.cssと同じ（1023px / 767px）
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. 共通パーツ
   -------------------------------------------------------------------------- */
.yfc-ks {
	--yfc-ks-radius: 16px;
	--yfc-ks-green-tint: #E7F1E9;
	--yfc-ks-yellow-tint: #FBF5D6;
	--yfc-ks-shadow: 0 10px 28px rgba(14, 39, 33, 0.08);

	background: var(--yfc-white);
	overflow-x: clip;
}

/* sticky header分、ページ内anchorの着地位置を下げる */
.yfc-ks [id] {
	scroll-margin-top: calc(var(--yfc-header-h) + 16px);
}

/* yfc-front.css の `.yfc-main a { color: inherit }` が .yfc-btn--* の文字色より強いため、
   本ページ内のボタン文字色だけをページスコープで明示する */
.yfc-ks .yfc-btn--yellow {
	color: var(--yfc-green-deep);
}
.yfc-ks .yfc-btn--green {
	color: var(--yfc-white);
}
.yfc-ks .yfc-btn--outline {
	color: var(--yfc-green-deep);
}
.yfc-ks .yfc-btn--outline:hover {
	color: var(--yfc-white);
}
.yfc-ks .yfc-ks-hero__ctas .yfc-btn--outline,
.yfc-ks .yfc-ks-final__ctas .yfc-btn--outline {
	color: var(--yfc-white);
	border-color: rgba(255, 255, 255, 0.75);
}
.yfc-ks .yfc-ks-hero__ctas .yfc-btn--outline:hover,
.yfc-ks .yfc-ks-final__ctas .yfc-btn--outline:hover {
	background: rgba(255, 255, 255, 0.12);
}

.yfc-ks-section {
	padding-block: calc(var(--yfc-section-pad) + 20px);
}

.yfc-ks-section--tint {
	background: var(--yfc-offwhite);
}

.yfc-ks-head {
	margin-bottom: 32px;
}

.yfc-ks-head--center {
	text-align: center;
}

.yfc-ks-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 8px;
	font-family: var(--yfc-font-en);
	font-weight: 800;
	font-size: 14px;
	line-height: 1.3;
	letter-spacing: 0.14em;
	color: var(--yfc-green);
}

.yfc-ks-eyebrow::before {
	content: "";
	flex-shrink: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--yfc-yellow);
	box-shadow: 14px 0 0 var(--yfc-green-light);
	margin-right: 14px;
}

.yfc-ks-eyebrow--onDark {
	color: var(--yfc-yellow);
}

.yfc-ks-eyebrow--onDark::before {
	box-shadow: 14px 0 0 rgba(255, 255, 255, 0.6);
}

.yfc-ks-title {
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 900;
	line-height: 1.3;
	color: var(--yfc-green-deep);
	margin: 0;
}

.yfc-ks-lead {
	margin: 12px 0 0;
	text-wrap: pretty;
	font-size: 15px;
	line-height: 1.8;
	color: var(--yfc-gray-600);
}

.yfc-ks-subtitle {
	font-size: 18px;
	font-weight: 800;
	line-height: 1.4;
	color: var(--yfc-green-deep);
	margin: 0 0 14px;
}

/* LEVEL badge：LEVEL 2 = green / LEVEL 3 = yellow（YFCブランド色内で差別化） */
.yfc-ks-level {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px;
	border-radius: 999px;
	font-family: var(--yfc-font-en);
	font-size: 16px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.06em;
	white-space: nowrap;
}

.yfc-ks-level--2 {
	background: var(--yfc-green);
	color: var(--yfc-white);
}

.yfc-ks-level--3 {
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
}

.yfc-ks-level--sm {
	padding: 3px 10px;
	font-size: 12px;
}

.yfc-ks-br-sp {
	display: none;
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */
.yfc-ks-hero {
	position: relative;
	overflow: hidden;
	background: var(--yfc-green-deep);
	color: var(--yfc-white);
}

/* 写真未設定時のfallback（装飾のみ）：深緑 + 斜めのピッチstripe + 右上の照明glow */
.yfc-ks-hero__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 60% at 85% 0%, rgba(234, 211, 86, 0.18), transparent 70%),
		radial-gradient(ellipse 45% 55% at 0% 100%, rgba(110, 158, 87, 0.22), transparent 70%),
		repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.03) 0 60px, transparent 60px 120px),
		linear-gradient(135deg, var(--yfc-green-deep) 0%, #123A2C 55%, var(--yfc-green-dark) 100%);
}

.yfc-ks-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	align-items: center;
	gap: 48px;
	padding-block: 64px 112px; /* 下部はQuick Benefitsの重なり分 */
}

.yfc-ks-hero__title {
	font-size: clamp(34px, 4.2vw, 54px);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: var(--yfc-white);
	margin: 0 0 18px;
}

.yfc-ks-hero__text {
	font-size: 16px;
	line-height: 1.9;
	margin: 0 0 14px;
	opacity: 0.95;
}

.yfc-ks-hero__sub {
	position: relative;
	margin: 0 0 28px;
	padding-left: 16px;
	font-size: 13px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.78);
}

.yfc-ks-hero__sub::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 3px;
	border-radius: 2px;
	background: var(--yfc-yellow);
}

.yfc-ks-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.yfc-ks-hero__visual {
	position: relative;
	padding-bottom: 72px; /* glance cardの張り出し分 */
}

.yfc-ks-court {
	position: relative;
	border-radius: 20px;
	padding: 20px;
	background:
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 40px, transparent 40px 80px),
		linear-gradient(160deg, var(--yfc-green) 0%, var(--yfc-green-dark) 100%);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
	color: rgba(255, 255, 255, 0.55);
}

.yfc-ks-court__svg {
	display: block;
	width: 100%;
	height: auto;
}

.yfc-ks-court__trails {
	stroke: rgba(255, 255, 255, 0.4);
}

.yfc-ks-court__team-a circle {
	fill: var(--yfc-yellow);
	stroke: var(--yfc-green-deep);
	stroke-width: 2;
}

.yfc-ks-court__team-b circle {
	fill: var(--yfc-white);
	stroke: var(--yfc-green-deep);
	stroke-width: 2;
}

.yfc-ks-court__ball {
	fill: var(--yfc-white);
	stroke: var(--yfc-green-deep);
	stroke-width: 2;
}

.yfc-ks-court__tag {
	position: absolute;
	top: -14px;
	right: 20px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
	font-family: var(--yfc-font-en);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.2;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.yfc-ks-glance {
	position: absolute;
	left: -24px;
	bottom: 0;
	width: min(330px, 92%);
	padding: 16px 18px 14px;
	border-radius: 14px;
	background: var(--yfc-white);
	color: var(--yfc-text);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.yfc-ks-glance__label {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--yfc-gray-600);
}

.yfc-ks-glance__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.yfc-ks-glance__row {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	padding: 7px 0;
	border-top: 1px solid var(--yfc-gray-100);
}

.yfc-ks-glance__row:first-child {
	border-top: 0;
}

.yfc-ks-glance__day {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--yfc-green-deep);
	color: var(--yfc-white);
	font-size: 14px;
	font-weight: 900;
	line-height: 1;
}

.yfc-ks-glance__time {
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--yfc-green-deep);
}

.yfc-ks-glance__price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin: 8px 0 0;
	padding-top: 10px;
	border-top: 2px dashed var(--yfc-gray-100);
}

.yfc-ks-glance__price-label {
	font-size: 13px;
	font-weight: 700;
	color: var(--yfc-gray-600);
}

.yfc-ks-glance__price-value {
	font-family: var(--yfc-font-en);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	color: var(--yfc-green-deep);
}

/* --------------------------------------------------------------------------
   3. Quick Benefits（Heroに重ねる4 cards）
   -------------------------------------------------------------------------- */
.yfc-ks-benefits {
	position: relative;
	z-index: 2;
	margin-top: -56px;
}

.yfc-ks-benefits__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.yfc-ks-benefits__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 96px;
	padding: 18px 20px;
	border: 1px solid var(--yfc-border);
	border-radius: var(--yfc-ks-radius);
	background: var(--yfc-white);
	box-shadow: var(--yfc-ks-shadow);
}

.yfc-ks-benefits__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--yfc-ks-green-tint);
	color: var(--yfc-green);
}

.yfc-ks-benefits__num {
	position: absolute;
	top: 10px;
	right: 14px;
	font-family: var(--yfc-font-en);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--yfc-green-light);
}

.yfc-ks-benefits__title {
	margin: 0;
	word-break: auto-phrase;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--yfc-green-deep);
}

/* --------------------------------------------------------------------------
   4. About（見出し + 3-point flow）
   -------------------------------------------------------------------------- */
.yfc-ks-about__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.5fr);
	align-items: center;
	gap: 48px;
}

.yfc-ks-about__head {
	margin-bottom: 0;
}

.yfc-ks-flow {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

/* 3つのpointをつなぐ点線（装飾） */
.yfc-ks-flow::before {
	content: "";
	position: absolute;
	top: 50px;
	left: 16%;
	right: 16%;
	border-top: 2px dashed var(--yfc-gray-300);
}

.yfc-ks-flow__item {
	position: relative;
	text-align: center;
	padding: 20px 14px 22px;
}

.yfc-ks-flow__icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--yfc-white);
	border: 2px solid var(--yfc-green);
	color: var(--yfc-green);
	margin-bottom: 12px;
}

.yfc-ks-flow__icon svg {
	width: 28px;
	height: 28px;
}

.yfc-ks-flow__num {
	display: block;
	font-family: var(--yfc-font-en);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.1em;
	color: var(--yfc-green-light);
	margin-bottom: 2px;
}

.yfc-ks-flow__title {
	margin: 0 0 6px;
	word-break: auto-phrase;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--yfc-green-deep);
}

.yfc-ks-flow__text {
	margin: 0;
	text-wrap: pretty;
	font-size: 13px;
	line-height: 1.7;
	color: var(--yfc-gray-600);
}

/* --------------------------------------------------------------------------
   5. Schedule（最重要section：曜日 → 時間 → LEVEL → PRICE）
   -------------------------------------------------------------------------- */
.yfc-ks-schedule__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.yfc-ks-slot {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	padding: 30px 26px 22px;
	border: 1px solid var(--yfc-border);
	border-radius: var(--yfc-ks-radius);
	background: var(--yfc-white);
	box-shadow: var(--yfc-ks-shadow);
}

/* LEVEL色の上部stripe */
.yfc-ks-slot::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: var(--yfc-green);
}

.yfc-ks-slot--level3::before {
	background: var(--yfc-yellow);
}

/* 曜日の大きなwatermark（装飾） */
.yfc-ks-slot__mark {
	position: absolute;
	top: 6px;
	right: 14px;
	font-size: 104px;
	font-weight: 900;
	line-height: 1;
	color: var(--yfc-gray-100);
	pointer-events: none;
}

.yfc-ks-slot--level3 .yfc-ks-slot__mark {
	color: var(--yfc-ks-yellow-tint);
}

.yfc-ks-slot__en,
.yfc-ks-slot__day,
.yfc-ks-slot__meta {
	position: relative;
}

.yfc-ks-slot__en {
	margin: 0;
	font-family: var(--yfc-font-en);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.16em;
	color: var(--yfc-green);
}

.yfc-ks-slot__day {
	margin: 2px 0 18px;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.25;
	color: var(--yfc-green-deep);
}

.yfc-ks-slot__meta {
	margin: 0;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.yfc-ks-slot__row dt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--yfc-gray-600);
}

.yfc-ks-slot__row dd {
	margin: 0;
}

.yfc-ks-slot__row--time dt {
	margin-bottom: 2px;
}

.yfc-ks-slot__time {
	font-family: var(--yfc-font-en);
	font-size: clamp(26px, 2.5vw, 34px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: 0.01em;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--yfc-green-deep);
}

.yfc-ks-slot__row--level {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
}

/* dtは視覚的にはbadge内の "LEVEL" と重複するため隠す（スクリーンリーダーには残す） */
.yfc-ks-slot__row--level dt {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.yfc-ks-slot__row--level .yfc-ks-level {
	font-size: 18px;
	padding: 7px 18px;
}

.yfc-ks-slot__row--price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 2px dashed var(--yfc-gray-100);
}

.yfc-ks-slot__row--level + .yfc-ks-slot__row--price {
	margin-top: 20px;
}

.yfc-ks-slot__price {
	font-family: var(--yfc-font-en);
	font-size: 26px;
	font-weight: 800;
	line-height: 1;
	color: var(--yfc-green-deep);
}

.yfc-ks-schedule__cta {
	display: flex;
	justify-content: center;
	margin-top: 36px;
}

/* --------------------------------------------------------------------------
   6. Level Guide（週間strip + LEVEL別card）
   -------------------------------------------------------------------------- */
.yfc-ks-week {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 8px;
	max-width: 620px;
}

.yfc-ks-week__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 64px;
	border: 1px solid var(--yfc-border);
	border-radius: 12px;
	background: var(--yfc-white);
	color: var(--yfc-gray-300);
}

.yfc-ks-week__name {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
}

.yfc-ks-week__level {
	font-family: var(--yfc-font-en);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
}

.yfc-ks-week__day--level2 {
	border-color: var(--yfc-green);
	background: var(--yfc-green);
	color: var(--yfc-white);
}

.yfc-ks-week__day--level3 {
	border-color: var(--yfc-yellow);
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
}

.yfc-ks-levels__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.yfc-ks-lvcard {
	display: flex;
	overflow: hidden;
	border: 1px solid var(--yfc-border);
	border-radius: var(--yfc-ks-radius);
	background: var(--yfc-white);
	box-shadow: var(--yfc-ks-shadow);
}

.yfc-ks-lvcard__badge {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 128px;
	padding: 20px 12px;
	background: var(--yfc-green);
	color: var(--yfc-white);
}

.yfc-ks-lvcard--3 .yfc-ks-lvcard__badge {
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
}

.yfc-ks-lvcard__badge-label {
	font-family: var(--yfc-font-en);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1;
}

.yfc-ks-lvcard__badge-num {
	font-family: var(--yfc-font-en);
	font-size: 72px;
	font-weight: 800;
	line-height: 1;
}

.yfc-ks-lvcard__body {
	flex: 1;
	min-width: 0;
	padding: 22px 24px;
}

.yfc-ks-lvcard__title {
	margin: 0 0 12px;
	font-family: var(--yfc-font-en);
	font-size: 22px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.2;
	color: var(--yfc-green-deep);
}

.yfc-ks-lvcard__label {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--yfc-gray-600);
}

.yfc-ks-lvcard__days {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 8px;
}

.yfc-ks-lvcard__days li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 14px;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--yfc-offwhite);
}

.yfc-ks-lvcard__day {
	font-size: 17px;
	font-weight: 900;
	color: var(--yfc-green-deep);
}

.yfc-ks-lvcard__time {
	font-size: 15px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	color: var(--yfc-text);
}

/* --------------------------------------------------------------------------
   7. Price（大きなprice visual + レンタル）
   -------------------------------------------------------------------------- */
.yfc-ks-price__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 24px;
	align-items: stretch;
}

.yfc-ks-price__main {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 36px 40px;
	border-radius: 20px;
	background: linear-gradient(150deg, var(--yfc-green-dark) 0%, var(--yfc-green-deep) 100%);
	color: var(--yfc-white);
}

/* センターサークル風の装飾 */
.yfc-ks-price__main::after {
	content: "";
	position: absolute;
	right: -70px;
	top: 50%;
	width: 240px;
	height: 240px;
	border: 2px solid rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	transform: translateY(-50%);
	pointer-events: none;
}

.yfc-ks-price__label {
	position: relative;
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 800;
	color: var(--yfc-yellow);
}

.yfc-ks-price__value {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 16px;
	margin: 0 0 20px;
}

.yfc-ks-price__amount {
	font-family: var(--yfc-font-en);
	font-size: clamp(52px, 6.4vw, 84px);
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
	color: var(--yfc-white);
	white-space: nowrap;
}

.yfc-ks-price__unit {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	white-space: nowrap;
}

.yfc-ks-price__days {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
}

.yfc-ks-price__day {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--yfc-white);
	color: var(--yfc-green-deep);
	font-size: 14px;
	font-weight: 900;
}

.yfc-ks-price__days-text {
	margin-left: 4px;
}

.yfc-ks-price__rental {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 28px 28px 30px;
	border: 1px solid var(--yfc-border);
	border-radius: 20px;
	background: var(--yfc-white);
}

.yfc-ks-rental {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.yfc-ks-rental__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--yfc-offwhite);
}

.yfc-ks-rental__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--yfc-white);
	color: var(--yfc-green);
}

.yfc-ks-rental__name {
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--yfc-green-deep);
}

.yfc-ks-rental__price {
	white-space: nowrap;
	text-align: right;
}

.yfc-ks-rental__amount {
	font-family: var(--yfc-font-en);
	font-size: 22px;
	font-weight: 800;
	color: var(--yfc-green-deep);
}

.yfc-ks-rental__unit {
	margin-left: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--yfc-gray-600);
}

/* --------------------------------------------------------------------------
   8. How to Join（公式LINEから予約）
   -------------------------------------------------------------------------- */
.yfc-ks-join__panel {
	padding: 44px 48px;
	border-radius: 24px;
	background:
		radial-gradient(ellipse 40% 70% at 100% 0%, rgba(234, 211, 86, 0.18), transparent 70%),
		var(--yfc-ks-green-tint);
}

.yfc-ks-join__head {
	max-width: 640px;
}

.yfc-ks-steps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	counter-reset: none;
}

.yfc-ks-steps__item {
	position: relative;
	padding: 24px 22px;
	border-radius: var(--yfc-ks-radius);
	background: var(--yfc-white);
}

/* STEP間の矢印（装飾） */
.yfc-ks-steps__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -19px;
	width: 10px;
	height: 10px;
	border-top: 3px solid var(--yfc-green);
	border-right: 3px solid var(--yfc-green);
	transform: translateY(-50%) rotate(45deg);
}

.yfc-ks-steps__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
	font-family: var(--yfc-font-en);
	font-size: 16px;
	font-weight: 800;
}

.yfc-ks-steps__title {
	margin: 0 0 6px;
	word-break: auto-phrase;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--yfc-green-deep);
}

.yfc-ks-steps__text {
	margin: 0;
	text-wrap: pretty;
	font-size: 14px;
	line-height: 1.7;
	color: var(--yfc-gray-600);
}

.yfc-ks-join__cta {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

/* --------------------------------------------------------------------------
   9. First Time
   -------------------------------------------------------------------------- */
.yfc-ks-first__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	align-items: center;
	gap: 48px;
}

.yfc-ks-first__head {
	margin-bottom: 0;
}

.yfc-ks-first__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 12px;
}

.yfc-ks-first__item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 22px;
	border: 1px solid var(--yfc-border);
	border-radius: 14px;
	background: var(--yfc-white);
}

.yfc-ks-first__check {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--yfc-green);
	color: var(--yfc-white);
}

.yfc-ks-first__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.yfc-ks-first__text strong {
	font-size: 16px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--yfc-green-deep);
}

.yfc-ks-first__text span {
	text-wrap: pretty;
	font-size: 14px;
	line-height: 1.7;
	color: var(--yfc-gray-600);
}

/* --------------------------------------------------------------------------
   10. Facility（icon + text card。写真撮影前）
   -------------------------------------------------------------------------- */
.yfc-ks-facility__grid {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.yfc-ks-facility__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 22px;
	border: 1px solid var(--yfc-border);
	border-radius: 14px;
	background: var(--yfc-white);
}

.yfc-ks-facility__icon {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--yfc-ks-green-tint);
	color: var(--yfc-green);
}

.yfc-ks-facility__icon svg {
	width: 26px;
	height: 26px;
}

.yfc-ks-facility__body {
	min-width: 0;
}

.yfc-ks-facility__title {
	margin: 0;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.45;
	color: var(--yfc-green-deep);
}

.yfc-ks-facility__value {
	margin: 2px 0 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--yfc-green);
}

/* --------------------------------------------------------------------------
   11. FAQ（CSS-only details / summary）
   -------------------------------------------------------------------------- */
.yfc-ks-faq__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(0, 2fr);
	gap: 48px;
	align-items: start;
}

.yfc-ks-faq__list {
	display: grid;
	gap: 12px;
}

.yfc-ks-faq__item {
	border: 1px solid var(--yfc-border);
	border-radius: 14px;
	background: var(--yfc-white);
}

.yfc-ks-faq__q {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 56px;
	padding: 16px 20px;
	list-style: none;
	cursor: pointer;
	font-size: 16px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--yfc-green-deep);
	border-radius: 14px;
}

.yfc-ks-faq__q::-webkit-details-marker {
	display: none;
}

.yfc-ks-faq__q::marker {
	content: "";
}

.yfc-ks-faq__q:focus-visible {
	outline: 3px solid var(--yfc-yellow);
	outline-offset: 2px;
}

.yfc-ks-faq__q-text {
	flex: 1;
	word-break: auto-phrase;
	min-width: 0;
}

.yfc-ks-faq__mark {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: var(--yfc-green);
	color: var(--yfc-white);
	font-family: var(--yfc-font-en);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}

.yfc-ks-faq__mark--a {
	background: var(--yfc-yellow);
	color: var(--yfc-green-deep);
}

/* +/− toggle */
.yfc-ks-faq__toggle {
	position: relative;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

.yfc-ks-faq__toggle::before,
.yfc-ks-faq__toggle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: var(--yfc-green);
	transform: translateY(-50%);
	transition: transform 0.2s var(--yfc-ease);
}

.yfc-ks-faq__toggle::after {
	transform: translateY(-50%) rotate(90deg);
}

.yfc-ks-faq__item[open] .yfc-ks-faq__toggle::after {
	transform: translateY(-50%) rotate(0deg);
}

.yfc-ks-faq__a {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 0 20px 18px;
}

.yfc-ks-faq__a p {
	margin: 3px 0 0;
	font-size: 15px;
	line-height: 1.8;
}

/* --------------------------------------------------------------------------
   12. Final CTA（Dark green）
   -------------------------------------------------------------------------- */
.yfc-ks-final {
	position: relative;
	overflow: hidden;
	background: var(--yfc-green-deep);
	color: var(--yfc-white);
}

/* ハーフウェイライン + センターサークル（装飾） */
.yfc-ks-final__bg {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 50% 70% at 100% 100%, rgba(234, 211, 86, 0.14), transparent 70%),
		linear-gradient(135deg, var(--yfc-green-deep) 0%, var(--yfc-green-dark) 100%);
}

.yfc-ks-final__bg::before,
.yfc-ks-final__bg::after {
	content: "";
	position: absolute;
	border: 2px solid rgba(255, 255, 255, 0.08);
}

.yfc-ks-final__bg::before {
	top: 0;
	bottom: 0;
	left: 58%;
	border-width: 0 0 0 2px;
}

.yfc-ks-final__bg::after {
	top: 50%;
	left: 58%;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.yfc-ks-final__inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: center;
	gap: 48px;
	padding-block: calc(var(--yfc-section-pad) + 32px);
}

.yfc-ks-final__title {
	margin: 0 0 16px;
	font-size: clamp(26px, 3.2vw, 40px);
	font-weight: 900;
	line-height: 1.35;
	color: var(--yfc-white);
}

.yfc-ks-final__text {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.88);
}

.yfc-ks-final__ctas {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.yfc-ks-final__ctas .yfc-btn {
	width: 100%;
}

.yfc-ks-final__tel {
	margin-left: 10px;
	font-family: var(--yfc-font-en);
	font-weight: 800;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.yfc-ks-final__hours {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
}

/* --------------------------------------------------------------------------
   Small desktop: 1024–1279px（Quick Benefitsの4列を維持したまま縦積みに）
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) and (max-width: 1279px) {
	.yfc-ks-benefits__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
}

/* --------------------------------------------------------------------------
   Tablet: 768–1023px
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
	.yfc-ks-hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
		gap: 32px;
		padding-block: 48px 104px;
	}
	.yfc-ks-hero__title {
		font-size: clamp(28px, 3.9vw, 36px);
	}
	.yfc-ks-hero__text {
		font-size: 15px;
	}
	.yfc-ks-hero__ctas .yfc-btn {
		width: 100%;
	}
	/* court graphicが小さくなるため、glance cardは重ねずに下へ積む */
	.yfc-ks-hero__visual {
		padding-bottom: 0;
	}
	.yfc-ks-glance {
		position: relative;
		left: auto;
		bottom: auto;
		width: auto;
		margin: -36px 12px 0;
	}

	.yfc-ks-benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.yfc-ks-about__layout,
	.yfc-ks-first__layout,
	.yfc-ks-faq__layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.yfc-ks-schedule__grid {
		gap: 14px;
	}
	.yfc-ks-slot {
		padding: 26px 18px 20px;
	}
	.yfc-ks-slot__mark {
		font-size: 80px;
		right: 10px;
	}
	.yfc-ks-slot__day {
		font-size: 24px;
	}
	.yfc-ks-slot__time {
		font-size: 24px;
	}
	.yfc-ks-slot__row--level .yfc-ks-level {
		font-size: 16px;
		padding: 6px 14px;
	}
	.yfc-ks-slot__price {
		font-size: 22px;
	}

	.yfc-ks-lvcard__badge {
		width: 104px;
	}
	.yfc-ks-lvcard__badge-num {
		font-size: 60px;
	}
	.yfc-ks-lvcard__body {
		padding: 20px 18px;
	}

	.yfc-ks-price__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.yfc-ks-join__panel {
		padding: 36px 32px;
	}
	.yfc-ks-steps {
		gap: 24px;
	}
	.yfc-ks-steps__item {
		padding: 20px 18px;
	}
	.yfc-ks-steps__item:not(:last-child)::after {
		right: -17px;
	}

	.yfc-ks-facility__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.yfc-ks-final__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}
	.yfc-ks-final__ctas {
		flex-direction: row;
	}
	.yfc-ks-final__bg::before,
	.yfc-ks-final__bg::after {
		left: 78%;
	}
}

/* --------------------------------------------------------------------------
   Mobile: 767px以下（390px重点確認）— 基本1 column、CTA縦並び
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
	.yfc-ks-head {
		margin-bottom: 24px;
	}
	.yfc-ks-lead {
		font-size: 14px;
	}
	.yfc-ks-br-pc {
		display: none;
	}
	.yfc-ks-br-sp {
		display: inline;
	}

	/* Hero */
	.yfc-ks-hero__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-block: 36px 84px;
	}
	.yfc-ks-hero__title {
		font-size: clamp(26px, 7.6vw, 34px);
		margin-bottom: 14px;
	}
	.yfc-ks-hero__text {
		font-size: 14px;
		line-height: 1.85;
	}
	.yfc-ks-hero__sub {
		font-size: 12px;
		margin-bottom: 22px;
	}
	.yfc-ks-hero__ctas {
		flex-direction: column;
	}
	.yfc-ks-court {
		padding: 14px;
		border-radius: 16px;
	}
	.yfc-ks-court__tag {
		right: 14px;
		font-size: 12px;
	}
	/* Quick Benefits：短いラベルのため2列（360px未満は1列） */
	.yfc-ks-benefits {
		margin-top: -48px;
	}
	.yfc-ks-benefits__grid {
		gap: 10px;
	}
	.yfc-ks-benefits__item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
		min-height: 0;
		padding: 16px 14px;
	}
	.yfc-ks-benefits__icon {
		width: 40px;
		height: 40px;
	}
	.yfc-ks-benefits__title {
		font-size: 14px;
	}

	/* About：縦のflow */
	.yfc-ks-flow {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.yfc-ks-flow::before {
		top: 30px;
		bottom: 30px;
		left: 29px;
		right: auto;
		border-top: 0;
		border-left: 2px dashed var(--yfc-gray-300);
	}
	.yfc-ks-flow__item {
		display: grid;
		grid-template-columns: 60px minmax(0, 1fr);
		column-gap: 16px;
		text-align: left;
		padding: 10px 0;
	}
	.yfc-ks-flow__icon {
		grid-row: 1 / span 3;
		margin-bottom: 0;
	}
	.yfc-ks-flow__num {
		margin-top: 4px;
	}

	/* Schedule：1列 */
	.yfc-ks-schedule__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
	.yfc-ks-slot {
		padding: 24px 20px 18px;
	}
	.yfc-ks-slot__mark {
		font-size: 88px;
	}
	.yfc-ks-slot__day {
		font-size: 26px;
		margin-bottom: 14px;
	}
	.yfc-ks-slot__time {
		font-size: 30px;
	}
	.yfc-ks-slot__row--level {
		margin-top: 12px;
	}
	.yfc-ks-slot__row--level + .yfc-ks-slot__row--price {
		margin-top: 16px;
	}
	.yfc-ks-slot__price {
		font-size: 24px;
	}
	.yfc-ks-schedule__cta {
		margin-top: 28px;
	}
	.yfc-ks-schedule__cta .yfc-btn {
		width: 100%;
	}

	/* Level Guide */
	.yfc-ks-week {
		gap: 5px;
		margin-bottom: 20px;
	}
	.yfc-ks-week__day {
		min-height: 54px;
		border-radius: 10px;
	}
	.yfc-ks-week__name {
		font-size: 14px;
	}
	.yfc-ks-week__level {
		font-size: 11px;
	}
	.yfc-ks-levels__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
	.yfc-ks-lvcard__badge {
		width: 92px;
		padding: 16px 8px;
	}
	.yfc-ks-lvcard__badge-label {
		font-size: 12px;
	}
	.yfc-ks-lvcard__badge-num {
		font-size: 52px;
	}
	.yfc-ks-lvcard__body {
		padding: 16px;
	}
	.yfc-ks-lvcard__title {
		font-size: 19px;
		margin-bottom: 8px;
	}
	.yfc-ks-lvcard__days li {
		padding: 8px 12px;
	}

	/* Price */
	.yfc-ks-price__main {
		padding: 28px 22px;
		border-radius: 16px;
	}
	.yfc-ks-price__amount {
		font-size: clamp(46px, 14vw, 60px);
	}
	.yfc-ks-price__unit {
		font-size: 14px;
	}
	.yfc-ks-price__rental {
		padding: 22px 16px;
		border-radius: 16px;
	}
	.yfc-ks-rental__item {
		grid-template-columns: 44px minmax(0, 1fr);
		column-gap: 12px;
		row-gap: 2px;
		padding: 12px 14px;
	}
	.yfc-ks-rental__icon {
		grid-row: 1 / span 2;
		width: 44px;
		height: 44px;
	}
	.yfc-ks-rental__name {
		font-size: 14px;
	}
	.yfc-ks-rental__price {
		text-align: left;
	}
	.yfc-ks-rental__amount {
		font-size: 20px;
	}

	/* How to Join */
	.yfc-ks-join__panel {
		padding: 28px 18px;
		border-radius: 18px;
	}
	.yfc-ks-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
	.yfc-ks-steps__item {
		display: grid;
		grid-template-columns: 40px minmax(0, 1fr);
		column-gap: 14px;
		padding: 18px 16px;
	}
	.yfc-ks-steps__num {
		grid-row: 1 / span 2;
		margin-bottom: 0;
	}
	.yfc-ks-steps__title {
		font-size: 15px;
	}
	.yfc-ks-steps__text {
		font-size: 13px;
	}
	.yfc-ks-steps__item:not(:last-child)::after {
		top: auto;
		right: auto;
		bottom: -17px;
		left: 50%;
		transform: translateX(-50%) rotate(135deg);
	}
	.yfc-ks-join__cta {
		margin-top: 24px;
	}
	.yfc-ks-join__cta .yfc-btn {
		width: 100%;
	}

	/* First Time */
	.yfc-ks-first__item {
		gap: 12px;
		padding: 16px;
	}
	.yfc-ks-first__check {
		width: 28px;
		height: 28px;
	}
	.yfc-ks-first__text strong {
		font-size: 15px;
	}
	.yfc-ks-first__text span {
		font-size: 13px;
	}

	/* Facility：1列 */
	.yfc-ks-facility__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 10px;
	}
	.yfc-ks-facility__item {
		padding: 14px 16px;
	}
	.yfc-ks-facility__icon {
		width: 44px;
		height: 44px;
		border-radius: 12px;
	}

	/* FAQ */
	.yfc-ks-faq__q {
		gap: 12px;
		padding: 14px 16px;
		font-size: 15px;
	}
	.yfc-ks-faq__mark {
		width: 28px;
		height: 28px;
		font-size: 14px;
	}
	.yfc-ks-faq__a {
		gap: 12px;
		padding: 0 16px 16px;
	}
	.yfc-ks-faq__a p {
		font-size: 14px;
	}

	/* Final CTA */
	.yfc-ks-final__ctas {
		flex-direction: column;
	}
	.yfc-ks-final__text {
		font-size: 14px;
	}
	.yfc-ks-final__tel {
		display: block;
		margin: 4px 0 0;
	}
	.yfc-ks-final__bg::before,
	.yfc-ks-final__bg::after {
		left: 88%;
	}
	.yfc-ks-final__bg::after {
		width: 200px;
		height: 200px;
	}
}

@media (max-width: 359px) {
	.yfc-ks-benefits__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.yfc-ks-week__level {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Reduced Motion（yfc-front.cssの共通指定に加え、FAQ toggleも即時切替）
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.yfc-ks-faq__toggle::before,
	.yfc-ks-faq__toggle::after {
		transition: none;
	}
}
