/**
 * Full Program ページ(#369)。Figma 5890:3972(PC 1440)/ 5910:77069(SP 393)。
 * 分野の色は --fp-accent(sc-full-program.php が分野のブランド色の変数を入れる)。DJ・SE は色だけが変わる。
 * 本文幅は Figma の 1072px。SP は左右 16px。
 * ⚠️ .sc-fp 配下の h1/h2/h3/p/ul の margin はこのファイル冒頭でリセットしている。個別に margin を付けるときは
 *    .sc-fp を前置きして (0,2,0) にする(guardrails §8e の「ルート要素リセットの罠」)。
 */

.sc-fp {
	--fp-accent: var(--sc-brand-production, #f55dff);
	--fp-accent-soft: color-mix(in srgb, var(--fp-accent) 12%, transparent);
	--fp-w: 1072px;
	--fp-pad: 16px;
	--fp-sec-top: 160px;
	--fp-card: #1c1b20;
	--fp-line: #2e2c33;
	--fp-muted: #7a7682;
	/* 分野ごとの 2 つ目の色(紫を混ぜていた所)。MP は今までの値、DJ・SE は下の .sc-fp--dj / --se で Figma の色にする */
	--fp-mix-title: #d9ccff;
	--fp-mix-back1: #1a0630;
	--fp-mix-back2: #120a1a;
	--fp-mix-numline: #6b2bd9;
	--fp-mix-ramp: #8e3ff0;
	--fp-mix-line: #8c3df2;
	--fp-mix-career: #9741f3;
	--fp-mix-bar: #2a0a55;
	--fp-mix-worth: #3a007d;
	--fp-on-accent: #2a0030;
	--fp-glow-top: url('../images/fp/glow-top.webp');
	--fp-glow-left-1: url('../images/fp/glow-left-1.webp');
	--fp-glow-right: url('../images/fp/glow-right.webp');
	--fp-glow-left-2: url('../images/fp/glow-left-2.webp');
	/* #369 修正1: 紫の光(Figma の prism 画像 5890:3973 / 3992 / 4014 / 4047)。黒地の画像なので lighten で重ねる */
	background:
		var(--fp-glow-top) center top / max(100%, 1440px) auto no-repeat,
		var(--fp-glow-left-1) left 0 top 676px / 471px auto no-repeat,
		var(--fp-glow-right) right 0 top 1570px / 579px auto no-repeat,
		var(--fp-glow-left-2) left 0 top 2812px / 533px auto no-repeat,
		var(--sc-bg, #121212);
	background-blend-mode: lighten;
	color: var(--sc-fg, #f0f2f4);
	font-family: var(--sc-font, 'Montserrat', sans-serif);
	overflow-x: clip;
}
.sc-fp h1, .sc-fp h2, .sc-fp h3, .sc-fp p, .sc-fp ol, .sc-fp ul { margin: 0; padding: 0; }
/* #369 DJ・SE(Figma FP / DJ / PC 6748:6229・FP / SE / PC 6750:6697)。2 つ目の色は Figma の値に近づくように逆算した混ぜ相手 */
.sc-fp--dj {
	--fp-mix-title: #fff6ec; --fp-mix-back1: #2a0a00; --fp-mix-back2: #140a06; --fp-mix-numline: #ef4c12; --fp-mix-ramp: #f05516;
	--fp-mix-line: #ef4c12; --fp-mix-career: #f05516; --fp-mix-bar: #42100b; --fp-mix-worth: #590000; --fp-on-accent: #291600;
	--fp-glow-top: url('../images/fp/glow-top-dj.webp'); --fp-glow-left-1: url('../images/fp/glow-left-1-dj.webp');
	--fp-glow-right: url('../images/fp/glow-right-dj.webp'); --fp-glow-left-2: url('../images/fp/glow-left-2-dj.webp');
}
.sc-fp--se {
	--fp-mix-title: #effef2; --fp-mix-back1: #00200f; --fp-mix-back2: #06140e; --fp-mix-numline: #29f1a8; --fp-mix-ramp: #2df2a2;
	--fp-mix-line: #29f1a8; --fp-mix-career: #2df2a2; --fp-mix-bar: #024f39; --fp-mix-worth: #007450; --fp-on-accent: #002d0d;
	--fp-glow-top: url('../images/fp/glow-top-se.webp'); --fp-glow-left-1: url('../images/fp/glow-left-1-se.webp');
	--fp-glow-right: url('../images/fp/glow-right-se.webp'); --fp-glow-left-2: url('../images/fp/glow-left-2-se.webp');
}
.sc-fp ol, .sc-fp ul { list-style: none; }
.sc-fp img { max-width: 100%; }
.sc-fp button { font-family: inherit; color: inherit; }

.sc-fp-sec { padding: var(--fp-sec-top) var(--fp-pad) 0; position: relative; }
/* 冒頭のリセット(0,1,1)に負けないよう .sc-fp を前置きする */
.sc-fp .sc-fp-sec > *, .sc-fp .sc-fp-wrap > *, .sc-fp .sc-fp-partners > * { max-width: var(--fp-w); margin-left: auto; margin-right: auto; }
.sc-fp .sc-fp-h2 { font-size: 40px; line-height: 1.2; font-weight: 700; color: var(--sc-white, #f6f6f6); }
.sc-fp .sc-fp-h2--center { text-align: center; }
.sc-fp .sc-fp-h3 { font-size: 24px; line-height: 1.4; font-weight: 700; color: var(--sc-white, #f6f6f6); }
.sc-fp .sc-fp-lead { margin-top: 12px; font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--sc-fg-secondary, #adb3bb); }

/* ---- ボタン(Figma Button_rounded) ---- */
.sc-fp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 7px 24px; border-radius: 32px; border: 1px solid transparent;
	font-size: 18px; font-weight: 700; line-height: 1.4; text-decoration: none; cursor: pointer;
	background: none; transition: background-color .15s, filter .15s;
}
.sc-fp-btn--primary { background: var(--sc-primary, #f04b50); color: var(--sc-white, #f6f6f6) !important; }
.sc-fp-btn--primary:hover { filter: brightness(1.08); }
.sc-fp-btn--light { background: var(--sc-white, #f6f6f6); color: #0b0d27 !important; }
.sc-fp-btn--outline { border-color: var(--sc-border-invert, #f6f6f6); color: var(--sc-fg, #f0f2f4) !important; }
.sc-fp-btn--outline:hover { background: rgba(255,255,255,.06); }
.sc-fp-btn--wide { padding-left: 44px; padding-right: 44px; }
.sc-fp-btn--block { width: 100%; }
.sc-fp-btn--s { min-height: 32px; padding: 7px 16px; font-size: 12px; letter-spacing: .48px; }
.sc-fp-btn__icon { width: 24px; height: 24px; }
/* sc_cs_cta_html() が出すボタン(Tutor のカート)も同じ見た目にする */
.sc-fp-summary__cta .sc-fp-btn i { font-size: 18px; }
.sc-fp-summary__cta .sc-cs-enroll, .sc-fp-summary__cta form { width: 100%; }

.sc-fp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-fp-chip { padding: 2px 8px; border-radius: 54px; background: rgba(255,255,255,.1); font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--sc-fg-secondary, #adb3bb); white-space: nowrap; }
.sc-fp-chip--strong { color: var(--sc-fg, #f0f2f4); }

/* ---- 1. Hero ---- */
.sc-fp-hero { display: flex; align-items: center; justify-content: space-between; gap: 0; padding: 136px 0 0 80px; min-height: 742px; }
.sc-fp-hero__text { flex: 0 0 635px; padding-right: 80px; display: flex; flex-direction: column; gap: 32px; }
.sc-fp-hero__label { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; line-height: 1.4; margin-bottom: 24px !important; }
.sc-fp .sc-fp-hero__title {
	font-size: 72px; line-height: 1.05; letter-spacing: -1.44px; font-weight: 700;
	background: linear-gradient(90deg, var(--fp-accent), color-mix(in srgb, var(--fp-accent) 50%, #fff) 60%, color-mix(in srgb, var(--fp-accent) 25%, var(--fp-mix-title)));
	-webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
}
.sc-fp-hero__sub { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.sc-fp-hero__media { flex: 1 1 auto; max-width: 708px; height: 606px; align-self: flex-end; }
.sc-fp-hero__media img {
	display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 24px 0 0 24px;
	-webkit-mask: var(--fp-mask) no-repeat center / 100% 100%; mask: var(--fp-mask) no-repeat center / 100% 100%;
}

/* ---- 2. Highlight cards ---- */
.sc-fp-highlights { padding: 120px var(--fp-pad) 0; }
.sc-fp-highlights__row { max-width: var(--fp-w); margin: 0 auto; display: flex; gap: 16px; }
.sc-fp-hl {
	flex: 1 1 0; display: grid; border-radius: 12px; overflow: hidden;
	background: radial-gradient(120% 140% at 0 0, rgba(217,217,217,.2), transparent 60%), radial-gradient(120% 140% at 100% 100%, rgba(213,213,213,.2), transparent 60%), rgba(26,23,31,.55);
	backdrop-filter: blur(12px); text-align: center;
}
/* 表と裏を同じマスに重ねる(高さは長いほうに合わせる) */
.sc-fp-hl__front, .sc-fp-hl__back { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 8px; }
/* #369 修正11: 動かすのは上に重なる裏だけ。表は下で出したままにして、開く・閉じるを同じ動きの逆にする(表も同時に薄くすると、閉じるときに一瞬透けてかくつく) */
.sc-fp-hl__back { position: relative; z-index: 1; transition: opacity .3s ease, visibility 0s linear .3s; visibility: hidden; will-change: opacity; }
.sc-fp-hl__front { gap: 20px; }
/* #369 修正22: 入れたアイコン(画像)は既定のアイコンと同じ高さ 40px */
.sc-fp-hl__ico { height: 40px; display: flex; align-items: center; }
.sc-fp-hl__ico img { width: 40px; height: 40px; object-fit: contain; }
.sc-fp-hl i { font-size: 34px; color: var(--sc-white, #f6f6f6); height: 40px; display: flex; align-items: center; }
.sc-fp-hl p { font-size: 16px; font-weight: 700; line-height: 1.2; }
/* #369 Q9 裏面(Figma 5925:4612): 分野の色のグラデーション + 枠。ホバー / フォーカス / タップ(is-flipped)で出す */
.sc-fp-hl__back {
	gap: 12px; padding: 24px; opacity: 0; border: 1px solid color-mix(in srgb, var(--fp-accent) 70%, #fff); border-radius: 12px;
	background: linear-gradient(135deg, color-mix(in srgb, var(--fp-accent) 65%, var(--fp-mix-back1)) 0%, color-mix(in srgb, var(--fp-accent) 15%, var(--fp-mix-back2)) 100%);
}
.sc-fp .sc-fp-hl__back p { font-size: 15px; font-weight: 500; line-height: 1.5; color: #fff; }
.sc-fp .sc-fp-hl__back .sc-fp-hl__label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in srgb, var(--fp-accent) 40%, #fff); }
.sc-fp-hl.has-back { cursor: pointer; }
.sc-fp-hl.has-back:focus-visible .sc-fp-hl__back, .sc-fp-hl.is-flipped .sc-fp-hl__back { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
/* タッチ端末ではホバーが残るので、ホバーはマウスのときだけ(タップは JS の is-flipped) */
@media (hover: hover) {
	.sc-fp-hl.has-back:hover .sc-fp-hl__back { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }
}

/* ---- FAQ(#369 Q8: .sc-cs-faq の見た目を使う。.sc-fp の h2 リセットに負けるところだけ戻す) ---- */
.sc-fp .sc-fp-faq { padding: var(--fp-sec-top) var(--fp-pad) 0; }
.sc-fp .sc-fp-faq .sc-cs-faq__title { padding-bottom: 32px; }
.sc-fp .sc-fp-faq .sc-cs-acc__body p { padding: 0; }

/* ---- 3. What you'll finish with ---- */
.sc-fp-outcomes__body { display: flex; gap: 29px; margin-top: 80px !important; align-items: stretch; }
.sc-fp-outcomes__img { flex: 0 0 521px; min-height: 420px; border-radius: 24px; background: #1d1d1d center / cover no-repeat; }
.sc-fp-outcomes__list { --fp-ol-gap: 48px; flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--fp-ol-gap); padding: 32px 24px; }
.sc-fp-outcome { display: flex; gap: 16px; align-items: flex-start; position: relative; }
/* #369 修正2: 線は番号の下から次の番号の上まで(01–02、02–03、03–04 の間に1本ずつ) */
.sc-fp-outcome:not(:last-child)::before {
	content: ''; position: absolute; left: 12px; top: 44px; bottom: calc(4px - var(--fp-ol-gap)); width: 1px;
	background: color-mix(in srgb, var(--fp-accent) 70%, var(--fp-mix-numline));
}
.sc-fp-outcome__num {
	flex: 0 0 25px; padding: 8px 0; text-align: center;
	font-size: 18px; font-weight: 800; line-height: 1.2;
	color: color-mix(in srgb, var(--fp-accent) calc(100% - var(--fp-n) * 15%), var(--fp-mix-ramp));
}
/* #369 修正23: 番号の代わりの文(4 Weeks など)。列の幅は PHP がいちばん長い文から決め(--fp-num-w)、縦線はその真ん中 */
.sc-fp-outcomes__list.has-labels .sc-fp-outcome__num { flex-basis: var(--fp-num-w); white-space: nowrap; }
.sc-fp-outcomes__list.has-labels .sc-fp-outcome:not(:last-child)::before { left: calc(var(--fp-num-w) / 2); }
.sc-fp-outcome > div { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.sc-fp-outcome__title { font-size: 18px; font-weight: 700; line-height: 1.2; }

/* ---- 4–7 は 1 枚の背景の上(Figma の Included item container 以降) ---- */
.sc-fp-wrap { display: flex; flex-direction: column; gap: 96px; }
.sc-fp-wrap > * { width: 100%; box-sizing: border-box; }

/* 4. Program Overview */
.sc-fp-overview {
	width: 100%; border-radius: 12px; overflow: hidden;
	background: radial-gradient(60% 80% at 0 0, rgba(217,217,217,.2), transparent 70%), radial-gradient(60% 80% at 100% 100%, rgba(213,213,213,.2), transparent 70%), #191919;
	position: relative; isolation: isolate;
}
/* #369 修正13: 暗い地の薄い白のぼかしは 8bit だと段々(バンディング)が出る。ごく薄いノイズを重ねて段差をならす */
.sc-fp-overview::after {
	content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .14 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sc-fp-overview__head { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 80px 24px 40px; border-bottom: 1px solid #353739; }
.sc-fp-overview__head::before {
	content: ''; position: absolute; left: 50%; top: 74px; width: min(732px, 90%); height: 73px; transform: translateX(-50%);
	background: linear-gradient(90deg, color-mix(in srgb, var(--fp-accent) 50%, var(--fp-mix-line)), var(--fp-accent), color-mix(in srgb, var(--fp-accent) 50%, var(--fp-mix-line)));
	-webkit-mask: url('../images/fp/waveform.svg') no-repeat center / 100% 100%; mask: url('../images/fp/waveform.svg') no-repeat center / 100% 100%;
	opacity: .9;
}
.sc-fp-overview__head > * { position: relative; }
.sc-fp-badge { padding: 4px 10px; border-radius: 54px; border: 1px solid var(--fp-accent); background: var(--fp-accent-soft); color: var(--fp-accent); font-size: 14px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
.sc-fp-acc { border-bottom: 1px solid #353739; }
.sc-fp-acc:last-child { border-bottom: 0; }
.sc-fp-acc__head { width: 100%; display: flex; align-items: center; gap: 20px; padding: 32px; background: none; border: 0; cursor: pointer; text-align: left; }
.sc-fp-acc__icon { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.sc-fp-acc__title { flex: 1 1 auto; font-size: 20px; font-weight: 700; line-height: 1.4; }
.sc-fp-acc__toggle { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--sc-white, #f6f6f6) url('../images/fp/icon-add.svg') no-repeat center / 20px; }
.sc-fp-acc.is-open .sc-fp-acc__toggle { background-image: url('../images/fp/icon-remove.svg'); }
.sc-fp-acc__body { display: flex; flex-direction: column; gap: 24px; padding: 0 32px 40px; box-sizing: border-box; }
.sc-fp .is-animating { overflow: hidden; box-sizing: border-box; } /* #369 修正12・14: 開閉の間だけ(高さと余白は JS が動かす。高さに余白を含めて数える) */
.sc-fp-acc__body[hidden] { display: none; }
.sc-fp-acc__desc, .sc-fp-acc__rule { font-size: 16px; font-weight: 500; line-height: 1.4; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp .sc-fp-acc__rule { margin-bottom: -14px; }
.sc-fp-courses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sc-fp-course { display: flex; gap: 12px; align-items: flex-start; }
.sc-fp-course__icon { flex: 0 0 auto; padding: 8px; border-radius: 8px; background: rgba(255,255,255,.05); display: flex; }
.sc-fp-course__icon img { width: 24px; height: 24px; object-fit: contain; }
.sc-fp-course__text { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.sc-fp .sc-fp-course__text a { text-underline-offset: 2px; font-size: 14px; font-weight: 700; color: var(--sc-fg-secondary, #adb3bb); text-decoration: underline; overflow: hidden; text-overflow: ellipsis; }
.sc-fp .sc-fp-course__text a:hover { color: var(--sc-white, #f6f6f6); }
.sc-fp-course__text small { font-size: 12px; font-weight: 500; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-acc__body .sc-fp-btn { align-self: flex-start; }

/* 5. Where it can lead */
.sc-fp .sc-fp-h2--arrows { display: flex; align-items: center; gap: 20px; line-height: 1.4; }
.sc-fp-arrows {
	flex: 0 0 40px; height: 12px;
	background: linear-gradient(90deg, var(--fp-accent), color-mix(in srgb, var(--fp-accent) 45%, var(--fp-mix-career)));
	-webkit-mask: url('../images/fp/heading-arrows.svg') no-repeat center / contain; mask: url('../images/fp/heading-arrows.svg') no-repeat center / contain;
}
.sc-fp-careers__row { display: flex; gap: 8px; margin-top: 20px; }
.sc-fp-career { position: relative; flex: 1 1 0; height: 334px; border-radius: 8px; overflow: hidden; background: #262628; outline: none; }
.sc-fp-career__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-fp-career__front, .sc-fp-career__back { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 20px 16px; gap: 18px; }
.sc-fp-career__front { justify-content: flex-end; background: linear-gradient(transparent 80%, rgba(0,0,0,.8) 88%); }
.sc-fp-career__back { justify-content: flex-start; background: rgba(18,18,18,.8); font-size: 14px; font-weight: 500; line-height: 1.4; opacity: 0; transition: opacity .2s; }
.sc-fp-career:hover .sc-fp-career__back, .sc-fp-career:focus .sc-fp-career__back, .sc-fp-career:focus-within .sc-fp-career__back { opacity: 1; }
.sc-fp-career__title { font-size: 18px; font-weight: 700; line-height: 1.2; }
.sc-fp-career__more { display: none; } /* SP だけ(#369 修正14) */

/* 6. Set your own pace(18 か月を横幅 100% とする。--fp-total は JS が 12 / 15 / 18 に切り替える) */
.sc-fp-pace { --fp-total: 12; }
.sc-fp-pace__plot { position: relative; height: 258px; margin-top: 48px !important; }
.sc-fp-pace__tick { position: absolute; top: 36px; bottom: 0; left: calc(var(--fp-t) / 18 * 100%); width: 0; }
.sc-fp-pace__tick::before { content: ''; position: absolute; top: 0; height: 184px; width: 1px; background: rgba(255,255,255,.05); }
.sc-fp-pace__tick i { position: absolute; top: 179px; left: -5px; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #6e6a75; background: #141316; box-sizing: border-box; z-index: 1; }
.sc-fp-pace__tick em { position: absolute; top: 200px; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 600; color: var(--fp-muted); white-space: nowrap; }
.sc-fp-pace__tick:first-child em { transform: none; }
.sc-fp-pace__tick.is-last em { transform: translateX(-100%); }
.sc-fp-pace__plot::after { content: ''; position: absolute; left: 0; right: 0; top: 220px; height: 1px; background: #2e2c33; }
.sc-fp-pace__bar {
	position: absolute; top: calc(44px + var(--fp-i) * 60px); height: 48px; padding: 7px 12px; box-sizing: border-box; border-radius: 12px;
	left: calc(var(--fp-total) / var(--fp-n) * var(--fp-i) / 18 * 100% + 2px);
	width: calc(var(--fp-total) / var(--fp-n) / 18 * 100% - 4px);
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--fp-accent) calc(15% + var(--fp-i) * 25%), var(--fp-mix-bar)),
		color-mix(in srgb, var(--fp-accent) calc(35% + var(--fp-i) * 30%), var(--fp-mix-bar)));
	display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
	transition: left .9s cubic-bezier(.4,0,.2,1), width .9s cubic-bezier(.4,0,.2,1);
}
.sc-fp-pace__bar b { font-size: 12px; font-weight: 700; white-space: nowrap; }
.sc-fp-pace__marks { display: flex; justify-content: space-between; gap: 6px; }
.sc-fp-pace__marks i { flex: 0 1 30px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.7); }
.sc-fp-pace__finish { position: absolute; top: 0; bottom: 38px; left: calc(var(--fp-total) / 18 * 100%); width: 0; transition: left .9s cubic-bezier(.4,0,.2,1); }
.sc-fp-pace__finish::before { content: ''; position: absolute; top: 30px; bottom: 0; left: -1px; border-left: 2px dashed var(--fp-accent); }
.sc-fp-pace__finish::after { content: ''; position: absolute; bottom: -6px; left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--fp-accent); z-index: 2; }
.sc-fp-pace__flag { position: absolute; top: 0; left: 0; transform: translateX(-50%); padding: 5px 12px; border-radius: 999px; background: var(--fp-accent); color: var(--fp-on-accent); font-size: 13px; font-weight: 800; white-space: nowrap; }
.sc-fp-pace__legend { display: none; }

/* 7. What it's worth */
.sc-fp-worth__label { margin-top: 32px !important; font-size: 24px; font-weight: 700; color: var(--fp-muted); }
.sc-fp .sc-fp-worth__label--fp { margin-top: 48px; font-size: 36px; color: var(--fp-accent); }
.sc-fp-worth__track { position: relative; display: flex; height: 64px; margin-top: 8px; border-radius: 12px; overflow: hidden; color: #fff; }
.sc-fp-worth__seg { display: flex; align-items: center; justify-content: flex-end; min-width: 0; padding: 0 16px 0 14px; white-space: nowrap; }
.sc-fp-worth__seg--lessons, .sc-fp-worth__seg--membership { justify-content: flex-start; }
.sc-fp-worth__seg span { display: flex; flex-direction: column; }
.sc-fp-worth__seg.is-narrow span { display: none; }
.sc-fp-worth__seg small { font-size: 12px; font-weight: 500; opacity: .85; }
.sc-fp-worth__seg b { font-size: 15px; font-weight: 700; }
.sc-fp-worth__seg--courses { background: #4a4950; padding-left: 24px; }
.sc-fp-worth__seg--lessons { background: #5e5d65; }
.sc-fp-worth__seg--membership { background: #78777f; }
.sc-fp .sc-fp-worth__total { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 800; }
.sc-fp-worth__track--fp { border-radius: 12px; overflow: visible; }
.sc-fp-worth__fp { display: flex; align-items: center; padding-left: 24px; border-radius: 12px 0 0 12px; background: linear-gradient(90deg, color-mix(in srgb, var(--fp-accent) 30%, var(--fp-mix-worth)), var(--fp-accent)); }
.sc-fp-worth__fp b { font-size: 24px; font-weight: 800; }
.sc-fp-worth__save { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 16px; /* #369 修正26: 枠の中で中央に */ border: 1.5px dashed color-mix(in srgb, var(--fp-accent) 70%, transparent); border-radius: 0 12px 12px 0; white-space: nowrap; }
.sc-fp-worth__save small { font-size: 18px; font-weight: 600; line-height: 1.15; color: var(--fp-accent); }
.sc-fp-worth__save b { font-size: 28px; font-weight: 700; line-height: 1.15; } /* #369 修正35: 「You Save」と金額の間を詰める */
.sc-fp .sc-fp-worth__legend, .sc-fp .sc-fp-worth__saving { display: none; }

/* ---- 8. Choose how you take it ---- */
.sc-fp-choose, .sc-fp-call {
	padding-bottom: var(--fp-sec-top); margin-top: var(--fp-sec-top);
	background:
		radial-gradient(55% 70% at 100% 100%, color-mix(in srgb, var(--fp-accent) 20%, transparent), transparent 70%),
		radial-gradient(55% 70% at 0 0, color-mix(in srgb, var(--fp-accent) 20%, transparent), transparent 70%),
		#191919;
}
.sc-fp-choose__head { text-align: center; }
.sc-fp-choose__head .sc-fp-lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.sc-fp-choose__body { display: flex; gap: 40px; align-items: flex-start; margin-top: 24px !important; }
.sc-fp-choose__list { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.sc-fp-choose__pay { flex: 0 0 400px; display: flex; flex-direction: column; gap: 12px; }
.sc-fp-step { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; line-height: 1.4; margin-bottom: 8px !important; }
.sc-fp-step span { width: 24px; height: 24px; border-radius: 12px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.sc-fp .sc-fp-choose__or { margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--fp-muted); }
.sc-fp-radio { flex: 0 0 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--sc-fg-secondary, #adb3bb); box-sizing: border-box; }
.sc-fp-item {
	display: flex; align-items: center; gap: 16px; width: 100%; padding: 20px 22px; text-align: left; cursor: pointer;
	background: var(--fp-card); border: 1px solid var(--fp-line); border-radius: 14px;
}
.sc-fp-item--fp { padding: 26px 22px; }
.sc-fp-item.is-selected { background: #251b1f; border: 2px solid var(--sc-primary, #f04b50); }
.sc-fp-item.is-selected .sc-fp-radio { border: 0; background: url('../images/fp/radio-on-red.svg') no-repeat center / contain; }
.sc-fp-item__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.sc-fp-item__text b { font-size: 17px; font-weight: 700; color: #fff; }
.sc-fp-item--fp .sc-fp-item__text b { font-size: 20px; }
.sc-fp-item__text small, .sc-fp-item__price > small { font-size: 13px; font-weight: 500; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-item__price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; white-space: nowrap; }
.sc-fp-item__price > span { display: flex; align-items: baseline; gap: 4px; }
.sc-fp-item__price b { font-size: 18px; font-weight: 800; color: #fff; }
.sc-fp-item--fp .sc-fp-item__price b { font-size: 22px; }
.sc-fp-item__price > span small { font-size: 11px; font-weight: 600; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp .sc-fp-item__price > small { font-size: 12px; color: var(--fp-muted); }
.sc-fp-summary { background: #232228; border: 1px solid var(--fp-line); border-radius: 16px; padding: 24px; }
.sc-fp-summary__item { display: flex; flex-direction: column; gap: 16px; }
.sc-fp-summary__item[hidden], .sc-fp-summary [hidden] { display: none !important; }
.sc-fp-summary__price { display: flex; align-items: baseline; gap: 4px; }
.sc-fp-summary__price b { font-size: 36px; font-weight: 800; color: #fff; }
.sc-fp-summary__price span { font-size: 22px; font-weight: 600; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-opts { display: flex; flex-direction: column; gap: 8px; }
.sc-fp-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; text-align: left; cursor: pointer; border: 1px solid #3a3740; border-radius: 12px; background: none; }
.sc-fp-opt > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sc-fp-opt b { font-size: 14px; font-weight: 600; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-opt small { font-size: 13px; font-weight: 500; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-opt.is-selected { background: rgba(255,255,255,.06); border: 1.5px solid #fff; }
.sc-fp-opt.is-selected b { font-weight: 700; color: #fff; }
.sc-fp-opt.is-selected small { color: #fff; opacity: .85; }
.sc-fp-opt.is-selected .sc-fp-radio { border: 0; background: url('../images/fp/radio-on-white.svg') no-repeat center / contain; }
.sc-fp-summary__enrolled { font-size: 16px; font-weight: 600; }
.sc-fp-summary__note { font-size: 11px; font-weight: 500; color: #6e6a75; text-align: center; }

/* ---- 9. What Else Is Included / 10. Our Facility ---- */
.sc-fp-included::before {
	content: ''; position: absolute; left: 50%; top: 0; width: 1621px; height: 864px; transform: translateX(-50%); max-width: none;
	background: var(--fp-bg) center top / cover no-repeat; opacity: .4; mix-blend-mode: hard-light; pointer-events: none;
	-webkit-mask: linear-gradient(170deg, #000 10%, transparent 55%); mask: linear-gradient(170deg, #000 10%, transparent 55%);
}
.sc-fp-included > * { position: relative; }
.sc-fp-included__row { display: flex; gap: 8px; margin-top: 72px !important; }
.sc-fp-inc {
	flex: 1 1 0; height: 320px; padding: 20px 16px; box-sizing: border-box; border-radius: 12px; border: 1px solid rgba(255,255,255,.08);
	display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden;
	background: #262628 center / cover no-repeat;
}
.sc-fp-inc::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(18,18,18,.1), rgba(18,18,18,.5) 50%, rgba(18,18,18,.95)); }
.sc-fp-inc > * { position: relative; }
.sc-fp-inc__icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(18,18,18,.55); backdrop-filter: blur(5px); }
.sc-fp-inc__icon img { width: 36px; height: 36px; object-fit: contain; }
/* #369 修正30: 画像の形で切り抜いて分野の色で塗る */
.sc-fp-inc__ico { width: 36px; height: 36px; background-color: var(--fp-accent); -webkit-mask: var(--fp-ico) center / contain no-repeat; mask: var(--fp-ico) center / contain no-repeat; }
.sc-fp-inc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.sc-fp-inc__title { font-size: 18px; font-weight: 700; line-height: 1.2; }
/* #369 修正28: ピルをやめて小さな副見出し */
.sc-fp .sc-fp-inc__sub { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-facility { margin-top: 56px !important; padding: 20px 0; }
.sc-fp-facility__intro { margin-top: 8px !important; font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--sc-fg-secondary, #adb3bb); }
.sc-fp-facility__row { display: flex; gap: 16px; margin-top: 16px; }
.sc-fp-fac { flex: 1 1 0; height: 231px; padding: 20px; box-sizing: border-box; border-radius: 8px; display: flex; align-items: flex-end; position: relative; overflow: hidden; background: #262628 center / cover no-repeat; }
.sc-fp-fac::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(18,18,18,.1), rgba(18,18,18,.5) 50%, rgba(18,18,18,.95)); }
.sc-fp-fac__text { position: relative; display: flex; flex-direction: column; gap: 4px; }
.sc-fp-fac p { position: relative; font-size: 18px; font-weight: 700; }
/* #369 修正29: 写真の見出しの下の副見出し */
.sc-fp .sc-fp-fac .sc-fp-fac__sub { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--sc-fg-secondary, #adb3bb); }

/* ---- 11・12. カルーセル(受講生の声・講師) ---- */
.sc-fp-carousel { margin-top: 56px !important; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.sc-fp-instructors .sc-fp-carousel { margin-top: 24px !important; }
.sc-fp-carousel__track { display: flex; gap: 12px; width: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.sc-fp-carousel__track::-webkit-scrollbar { display: none; }
.sc-fp-carousel__track > * { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; }
.sc-fp-carousel__nav { display: flex; gap: 8px; }
.sc-fp-carousel__nav button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sc-white, #f6f6f6); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sc-fp-tm, .sc-fp-person {
	border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
	background: radial-gradient(70% 60% at 0 0, rgba(217,217,217,.2), transparent 70%), radial-gradient(70% 60% at 100% 100%, rgba(213,213,213,.2), transparent 70%), #212121;
}
.sc-fp-tm__video { aspect-ratio: 812 / 460; background: #000; }
.sc-fp-tm__video iframe { width: 100%; height: 100%; border: 0; display: block; }
.sc-fp-tm__body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
.sc-fp-tm__quote { width: 34px; height: 32px; background: var(--fp-accent); -webkit-mask: url('../images/fp/quote.svg') no-repeat center / contain; mask: url('../images/fp/quote.svg') no-repeat center / contain; }
.sc-fp-tm__text { flex: 1 1 auto; font-size: 16px; font-weight: 500; line-height: 1.4; }
.sc-fp-tm__who { display: flex; align-items: center; gap: 8px; }
.sc-fp-tm__photo { flex: 0 0 48px; height: 48px; border-radius: 50%; background: #4d4d4d center / cover no-repeat; }
.sc-fp-tm__who > span:last-child, .sc-fp-person { line-height: 1.4; }
.sc-fp-tm__who > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.sc-fp-tm__who b, .sc-fp-person b { font-size: 16px; font-weight: 700; }
.sc-fp-tm__who small, .sc-fp-person small { font-size: 14px; font-weight: 500; }
.sc-fp-person { padding: 16px; gap: 8px; color: var(--sc-fg, #f0f2f4); text-decoration: none; }
.sc-fp-person__pic { aspect-ratio: 1; border-radius: 8px; background: #4d4d4d center / cover no-repeat; margin-bottom: 8px; }

/* ---- 13. Ready to start? ---- */
.sc-fp-ready { padding-bottom: 0; }
.sc-fp-ready__ctas { display: flex; gap: 16px; max-width: 722px !important; margin-top: 40px !important; }
.sc-fp-ready__ctas .sc-fp-btn { flex: 1 1 0; }

/* ---- 14. Book a Call ---- */
.sc-fp-call__frame { margin-top: 24px !important; height: 720px; border-radius: 16px; overflow: hidden; background: #fff; }
.sc-fp-call__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.sc-fp-call__frame--hs { height: auto; min-height: 640px; }
.sc-fp-call__frame--hs iframe { height: auto; }
.sc-fp .sc-fp-call__empty { margin-top: 24px !important; padding: 80px 24px; border: 1.5px dashed #55515c; border-radius: 16px; background: #141316; text-align: center; color: var(--sc-fg-secondary, #adb3bb); font-size: 14px; }

/* ---- 15. Industry partners(リンクは付けない。SC 10/19) ---- */
.sc-fp-partners { padding: var(--fp-sec-top) var(--fp-pad) 20px; }
/* #369 修正34: 折り返して並べる(PC 8 列・高さ 80px / SP 3 列・64px)。ロゴの高さは JS が縦横比から決める(36px × √(3 ÷ 縦横比)、20〜48px、SP は 0.8 倍) */
.sc-fp-partners__row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; margin-top: 16px !important; }
.sc-fp-partner { height: 80px; border-radius: 12px; background: rgba(255,255,255,.04); display: flex; align-items: center; justify-content: center; padding: 0 10px; box-sizing: border-box; font-size: 14px; font-weight: 700; color: rgba(255,255,255,.55); text-align: center; min-width: 0; }
.sc-fp-partner img { height: 32px; max-width: 100%; width: auto; object-fit: contain; }

/* ---- SP の追従ボタン ---- */
.sc-fp-sticky { display: none; }

/* ================= タブレット ================= */
@media (max-width: 1199px) {
	.sc-fp-hero { padding-left: 40px; }
	.sc-fp-hero__text { flex-basis: 50%; padding-right: 40px; }
	.sc-fp .sc-fp-hero__title { font-size: 56px; }
	.sc-fp-outcomes__img { flex-basis: 40%; }
	.sc-fp-choose__pay { flex-basis: 360px; }
}

/* ================= SP(Figma 393) ================= */
@media (max-width: 767px) {
	.sc-fp {
		--fp-sec-top: 96px;
		/* #369 修正7: SP は光をヒーローの文字の後ろに置く(Figma 5910:77071)。画像の明るい左上が画面に入るように左寄せで大きめに */
		background-size: 820px auto, 300px auto, 340px auto, 320px auto;
		background-position: left -120px top 0, left 0 top 900px, right 0 top 2300px, left 0 top 3400px;
	}
	.sc-fp .sc-fp-h2 { font-size: 28px; }
	.sc-fp .sc-fp-h3 { font-size: 20px; }

	.sc-fp-hero { flex-direction: column; align-items: stretch; padding: 56px 16px 0; min-height: 0; gap: 24px; }
	.sc-fp-hero__text { flex: none; padding: 0; gap: 16px; }
	.sc-fp-hero__label { margin-bottom: 8px !important; font-size: 16px; }
	.sc-fp .sc-fp-hero__title { font-size: 44px; }
	.sc-fp-hero__ctas { flex-direction: column; margin-top: 16px; }
	.sc-fp-hero__ctas .sc-fp-btn { width: 100%; }
	/* #369 修正8: SP は Full Program → 名前 → 説明 → 画像 → ボタン(Figma 5910:77071)。文字の箱をほどいて並べ替える */
	.sc-fp-hero { gap: 8px; }
	.sc-fp-hero__text { display: contents; }
	.sc-fp-hero__label { order: 1; margin-bottom: 0 !important; }
	.sc-fp .sc-fp-hero__title { order: 2; }
	.sc-fp-hero__sub { order: 3; }
	.sc-fp-hero__media { order: 4; max-width: none; height: 220px; align-self: stretch; margin-top: 15px; }
	.sc-fp-hero__ctas { order: 5; margin-top: 32px; }
	.sc-fp-hero__media img { border-radius: 16px; -webkit-mask: none; mask: none; }

	.sc-fp-highlights { padding-top: 32px; }
	.sc-fp-highlights__row { gap: 4px; }
	.sc-fp-hl__front { padding: 16px 4px; gap: 12px; }
	/* #369 修正6: SP は裏があるカードの右上に「+」(Figma 5940:5162)。タップで裏返したら × にする */
	.sc-fp-hl.has-back { position: relative; }
	.sc-fp-hl.has-back::after {
		content: ''; position: absolute; top: 8px; right: 10px; z-index: 1; width: 16px; height: 16px; box-sizing: border-box;
		border: 1.5px solid var(--fp-accent); border-radius: 50%;
		background: linear-gradient(var(--fp-accent), var(--fp-accent)) center / 8px 1.5px no-repeat, linear-gradient(var(--fp-accent), var(--fp-accent)) center / 1.5px 8px no-repeat;
		transition: transform .3s ease;
	}
	.sc-fp-hl.has-back.is-flipped::after { transform: rotate(45deg); --fp-accent: #fff; }
	.sc-fp-hl p { font-size: 13px; }
	.sc-fp-hl__back { padding: 12px 8px; gap: 6px; }
	.sc-fp .sc-fp-hl__back p { font-size: 12px; line-height: 1.4; }
	.sc-fp .sc-fp-hl__back .sc-fp-hl__label { font-size: 9px; }

	.sc-fp .sc-fp-faq .sc-cs-faq__title { padding-bottom: 24px; }

	.sc-fp-outcomes__body { flex-direction: column; margin-top: 40px !important; gap: 24px; }
	.sc-fp-outcomes__img { flex: none; min-height: 220px; }
	.sc-fp-outcomes__list { --fp-ol-gap: 32px; padding: 0; }

	.sc-fp-wrap { gap: 64px; }
	.sc-fp-overview__head { padding: 48px 16px 24px; }
	.sc-fp-overview__head::before { top: 40px; }
	.sc-fp-acc__head { padding: 20px 16px; gap: 12px; }
	.sc-fp-acc__icon { width: 44px; height: 44px; }
	.sc-fp-acc__title { font-size: 18px; }
	.sc-fp-acc__body { padding: 0 16px 24px; }
	.sc-fp-courses { grid-template-columns: 1fr; }

	/* #369 修正14: Figma 5910:77144 / 5940:5235。縦に並べ、画像の帯に題名と「Show more」。開くと下に説明と「Show less」 */
	.sc-fp-careers__row { flex-direction: column; gap: 8px; }
	.sc-fp-career { flex: none; height: auto; border-radius: 12px; background: #1d1d1f; }
	.sc-fp-career__img { position: absolute; inset: 0 0 auto; height: 96px; }
	.sc-fp-career__front { position: relative; height: 96px; flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 16px 18px; box-sizing: border-box; background: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.55)); }
	.sc-fp-career__front .sc-fp-career__title { font-size: 16px; }
	.sc-fp .sc-fp-career__more { display: inline-flex; align-items: center; gap: 4px; flex: none; padding: 0; border: 0; background: none; color: var(--fp-accent); font-size: 13px; font-weight: 700; line-height: 1.2; cursor: pointer; }
	.sc-fp-career__more i { font-size: 11px; line-height: 1; } /* #369 修正32: 下向き(Show more)・上向き(Show less) */
	.sc-fp-career.is-open .sc-fp-career__front .sc-fp-career__more { visibility: hidden; }
	.sc-fp-career__back { position: static; display: none; opacity: 1; gap: 8px; padding: 14px 16px 16px; background: none; font-size: 13px; color: var(--sc-fg-secondary, #adb3bb); transition: none; }
	.sc-fp-career__back .sc-fp-career__title { display: none; }
	.sc-fp-career__back p:not(.sc-fp-career__built) { color: #e6e6e6; }
	.sc-fp-career.is-open .sc-fp-career__back { display: flex; }
	.sc-fp-career__more--less { align-self: flex-start; }

	.sc-fp-pace__plot { height: 200px; margin-top: 32px !important; }
	.sc-fp-pace__bar { top: calc(28px + var(--fp-i) * 44px); height: 40px; padding: 0 8px; justify-content: center; }
	.sc-fp-pace__bar b { display: none; }
	.sc-fp-pace__tick::before { height: 140px; }
	.sc-fp-pace__tick i { top: 134px; }
	.sc-fp-pace__tick em { top: 154px; }
	.sc-fp-pace__tick.is-minor em, .sc-fp-pace__tick.is-minor i { display: none; }
	.sc-fp-pace__plot::after { top: 176px; }
	.sc-fp-pace__finish { bottom: 24px; }
	.sc-fp-pace__legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px !important; font-size: 12px; font-weight: 600; color: var(--sc-fg-secondary, #adb3bb); }
	.sc-fp-pace__legend span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; background: color-mix(in srgb, var(--fp-accent) calc(25% + var(--fp-i) * 30%), var(--fp-mix-bar)); }

	/* #369 修正9: SP は Figma 6365:5943 どおり。棒は PC と同じ比率の横 1 本(金額は合計だけ)、内訳は下の凡例、You Save は棒の下に右寄せ */
	.sc-fp-worth__label { font-size: 24px; }
	.sc-fp .sc-fp-worth__label--fp { font-size: 32px; margin-top: 32px; }
	.sc-fp-worth__track { height: 56px; }
	.sc-fp-worth__seg { padding: 0; }
	.sc-fp-worth__seg span, .sc-fp-worth__save > * { display: none; }
	.sc-fp-worth__seg--courses { padding-left: 0; }
	.sc-fp .sc-fp-worth__total { left: 10px; font-size: 18px; }
	.sc-fp-worth__fp { padding-left: 18px; }
	.sc-fp-worth__fp b { font-size: 22px; }
	.sc-fp-worth__save { padding: 0; }
	.sc-fp .sc-fp-worth__legend { display: flex; flex-direction: column; gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
	.sc-fp-worth__legend li { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 13px; }
	.sc-fp-worth__legend li::before { content: ''; flex: none; width: 10px; height: 10px; border-radius: 3px; background: #4a4950; }
	.sc-fp-worth__legend--lessons::before { background: #5e5d65 !important; }
	.sc-fp-worth__legend--membership::before { background: #78777f !important; }
	.sc-fp-worth__legend span { flex: 1 1 auto; font-weight: 500; color: var(--sc-fg-secondary, #adb3bb); }
	.sc-fp-worth__legend b { font-weight: 600; color: #fff; }
	.sc-fp .sc-fp-worth__saving { display: flex; justify-content: flex-end; align-items: baseline; gap: 8px; margin: 8px 0 0; white-space: nowrap; }
	.sc-fp-worth__saving small { font-size: 16px; font-weight: 700; color: var(--fp-accent); }
	.sc-fp-worth__saving b { font-size: 22px; font-weight: 800; }

	.sc-fp-choose__body { flex-direction: column; gap: 24px; }
	.sc-fp-choose__pay { flex: none; width: 100%; }
	.sc-fp-item { flex-wrap: wrap; align-items: flex-start; padding: 16px; }
	.sc-fp-item--fp { padding: 20px 16px; }
	.sc-fp-item__text { flex-basis: calc(100% - 36px); }
	.sc-fp-item__price { flex-direction: row; align-items: baseline; gap: 8px; margin-left: 36px; }
	.sc-fp-summary { padding: 24px 16px; }

	.sc-fp-included__row { flex-direction: column; margin-top: 40px !important; }
	/* #369 修正15: Our Facility は Figma 5910:77371 どおり横スクロールのカード */
	.sc-fp-facility__row { margin-top: 16px !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.sc-fp-facility__row::-webkit-scrollbar { display: none; }
	.sc-fp-inc { flex: none; height: 240px; }
	.sc-fp-fac { flex: 0 0 70%; height: 180px; scroll-snap-align: start; }
	.sc-fp-carousel { margin-top: 32px !important; }
	.sc-fp-carousel__track > * { flex-basis: 82%; }

	.sc-fp-ready__ctas { flex-direction: column; }
	.sc-fp-call__frame { height: 640px; }
	.sc-fp-call__frame--hs { height: auto; }
	.sc-fp-partners__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.sc-fp-partner { height: 64px; }

	/* #369 修正19: Figma 5910:77610。Enroll Now・Book a Call・電話を横幅いっぱいに 1 行で */
	.sc-fp-sticky {
		display: flex; align-items: center; gap: 8px; position: fixed; left: 8px; right: 8px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50;
		/* #381: 隠すときは「帯の高さ + 下の余白(12px + セーフエリア)」より下まで動かし、さらに visibility で消す。
		   以前の translateY(160%) は帯 36px × 1.6 = 57.6px しか動かず、Instagram / Facebook のアプリ内ブラウザ
		   (env(safe-area-inset-bottom) が 34px ほどになる)では 12 + 34 + 36 = 82px に届かず、下に半分残っていた */
		transform: translateY(calc(100% + 12px + env(safe-area-inset-bottom, 0px) + 8px));
		visibility: hidden;
		transition: transform .25s, visibility 0s linear .25s;
	}
	.sc-fp-sticky.is-shown { transform: none; visibility: visible; transition: transform .25s, visibility 0s; }
	.sc-fp-sticky .sc-fp-btn { flex: 1 1 0; min-width: 0; height: 36px; min-height: 0; box-sizing: border-box; padding: 0 8px; font-size: 14px; white-space: nowrap; }
	.sc-fp-sticky__tel { flex: 0 0 36px; height: 36px; box-sizing: border-box; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--sc-white, #f6f6f6); color: #121212 !important; font-size: 15px; text-decoration: none; }
	/* 帯と同じ電話を出すので、サイトの電話ボタン(Elementor)は FP の SP では出さない */
	body:has(.sc-fp-sticky) .e-contact-buttons { display: none !important; }
	/* #369 修正21: SP の「上に戻る」(Blocksy の .ct-back-to-top)。帯の電話ボタンの真上(中心をそろえ、間 8px)・PC と同じ 45px。
	   上にスクロールしたら出し、下にスクロール中とページの上のほうでは隠す(JS が body.sc-fp-totop-on を切り替える)。
	   Blocksy は --opacity / --visibility / --transform で出し入れするので、同じ変数を上書きする(.ct-show より 1 段強い) */
	body:has(.sc-fp-sticky) .ct-back-to-top {
		--back-top-side-offset: calc(8px + 18px - 22.5px);
		--back-top-bottom-offset: calc(12px + 36px + 8px + env(safe-area-inset-bottom, 0px));
		--opacity: 0; --visibility: hidden; --transform: translate3d(0, 12px, 0);
		width: 45px; height: 45px; box-sizing: border-box; padding: 12px;
		transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .3s ease;
	}
	body:has(.sc-fp-sticky) .ct-back-to-top .ct-icon { --theme-icon-size: 21px; width: 21px; height: 21px; }
	body.sc-fp-totop-on:has(.sc-fp-sticky) .ct-back-to-top { --opacity: 1; --visibility: visible; --transform: translate3d(0, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
	.sc-fp-pace__bar, .sc-fp-pace__finish, .sc-fp-sticky { transition: none; }
}
