/* =========================================================
   PUMPS トップ（2026-10 作り直し）
   紺がかった黒地にオレンジ1色（説明の部分は温かい白地）。枠はほぼ使わず、線と余白で区切る。言葉は見出しと一文だけ。
   動きは assets/js/fx.js（transform / opacity / clip-path のみ）。
   ヘッダー・フッター・浮いているボタンは style.css のまま。
   ========================================================= */
body.x-home {
  --x-bg: #141826;
  --x-bg2: #1b2030;
  --x-ink: #f4f2ee;
  --x-ink2: rgba(244, 242, 238, .68);
  --x-ink3: rgba(244, 242, 238, .42);
  --x-line: rgba(255, 255, 255, .1);
  --x-o: #e8590c;
  --x-o2: #ff7a2e;
  --x-e: cubic-bezier(.16, 1, .3, 1);
  --x-move: cubic-bezier(.77, 0, .175, 1);
  background: var(--x-bg);
}
/* 細かいざらつき（固定・押せない） */
body.x-home::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.x { color: var(--x-ink); background: var(--x-bg); font-family: var(--jp); font-weight: 500; overflow-x: clip; }
.x * { box-sizing: border-box; }
.x-wrap { width: min(1280px, 100% - 2 * clamp(20px, 5vw, 64px)); margin-inline: auto; }
.x-sec { position: relative; padding: clamp(72px, 8vw, 120px) 0; }
.x [data-split] { white-space: nowrap; }
.x em { font-style: normal; color: var(--x-o2); }

/* ---------- 文字 ---------- */
.x-display { margin: 0; font-size: clamp(44px, 6.4vw, 96px); font-weight: 700; line-height: 1.06; letter-spacing: .01em; }
.x-display-sm { font-size: clamp(36px, 5vw, 76px); }
.x-h2 { margin: 0; font-size: clamp(30px, 3.6vw, 54px); font-weight: 700; line-height: 1.14; letter-spacing: .01em; }
.x-p { margin: 32px 0 0; max-width: 34em; font-size: clamp(16px, 1.3vw, 19px); line-height: 2; color: var(--x-ink2); }
.x-note { margin: 28px 0 0; font-size: 14px; line-height: 1.9; color: var(--x-ink3); }

/* 1文字ずつ下から */
.fx-ch { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.fx-ch > span { display: inline-block; transform: translate3d(0, 108%, 0) rotate(8deg); transform-origin: 0 100%; transition: transform 1s var(--x-e) calc(var(--ci) * 26ms); }
.fx-in .fx-ch > span, .fx-in.fx-ch > span { transform: none; }
[data-in], .fx-reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--x-e), transform 1.1s var(--x-e); }
[data-in].fx-in, .fx-reveal.fx-in { opacity: 1; transform: none; }
.x-hero [data-in]:nth-of-type(2) { transition-delay: .35s; }
.x-actions[data-in] { transition-delay: .5s; }
.x-stats .fx-reveal:nth-child(2), .x-trio .fx-reveal:nth-child(2), .x-plans .fx-reveal:nth-child(2) { transition-delay: .1s; }
.x-stats .fx-reveal:nth-child(3), .x-trio .fx-reveal:nth-child(3) { transition-delay: .2s; }

/* ---------- ボタン・リンク ---------- */
.x-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 44px; }
.x-btn {
  position: relative; display: inline-flex; align-items: center; gap: 18px; padding: 20px 22px 20px 32px; border-radius: 8px;
  background: var(--x-o); color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-decoration: none; white-space: nowrap;
  box-shadow: 0 18px 48px -18px rgba(232, 89, 12, .8); transition: transform .5s var(--x-e), background-color .25s ease, box-shadow .3s ease;
}
.x-btn i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .2); font-style: normal; transition: transform .45s var(--x-e); }
.x-btn:active { transform: scale(.97); }
.x-btn-lg { font-size: 18px; padding: 22px 24px 22px 34px; }
.x-link { position: relative; display: inline-flex; align-items: center; gap: 12px; padding: 6px 0; color: var(--x-ink); font-size: 17px; font-weight: 700; letter-spacing: .04em; text-decoration: none; }
.x-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .35; transform-origin: right; transition: transform .6s var(--x-e); }
.x-link i { font-style: normal; transition: transform .45s var(--x-e); }
@media (hover: hover) and (pointer: fine) {
  .x-btn:hover { background: var(--x-o2); box-shadow: 0 24px 60px -18px rgba(255, 122, 46, .9); }
  .x-btn:hover i { transform: translateX(4px) rotate(-45deg); }
  .x-link:hover { color: var(--x-o2); }
  .x-link:hover::after { animation: x-under .7s var(--x-e); opacity: 1; }
  .x-link:hover i { transform: translateX(6px); }
}
@keyframes x-under { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ---------- 背景の光（ゆっくり漂う） ---------- */
.x-hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.x-orb { position: absolute; border-radius: 50%; }
.x-orb-a { width: 70vmax; height: 70vmax; right: -22vmax; top: -24vmax; background: radial-gradient(closest-side, rgba(232, 89, 12, .42), rgba(232, 89, 12, .08) 55%, transparent 72%); animation: x-drift 18s ease-in-out infinite alternate; }
.x-orb-b { width: 54vmax; height: 54vmax; left: -20vmax; bottom: -30vmax; background: radial-gradient(closest-side, rgba(255, 160, 90, .16), transparent 70%); animation: x-drift 22s ease-in-out infinite alternate-reverse; }
.x-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 88px 88px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 70%); }
@keyframes x-drift { to { transform: translate3d(-6vmax, 5vmax, 0) scale(1.08); } }

/* ---------- ヒーロー ---------- */
.x-hero { position: relative; min-height: calc(100dvh - 72px); display: flex; align-items: center; padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 110px); isolation: isolate; }
.x-hero-in { position: relative; display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .x-hero-in { grid-template-columns: 1.25fr .75fr; } }
.x-hero-lead { margin: 36px 0 0; max-width: 26em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.9; color: var(--x-ink2); }
.x-hero-mark { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; margin-inline: auto; }
.x-rings { position: absolute; inset: 0; }
.x-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .1); border-top-color: rgba(255, 122, 46, .8); animation: x-spin 14s linear infinite; }
.x-rings i:nth-child(2) { inset: 12%; border-top-color: transparent; border-right-color: rgba(255, 122, 46, .55); animation-duration: 9s; animation-direction: reverse; }
.x-rings i:nth-child(3) { inset: 24%; border-color: rgba(255, 255, 255, .06); border-bottom-color: rgba(255, 255, 255, .5); animation-duration: 20s; }
@keyframes x-spin { to { transform: rotate(1turn); } }
.x-logo { position: relative; width: 82%; height: auto; filter: drop-shadow(0 24px 60px rgba(232, 89, 12, .45)); transition: transform .5s var(--x-e); }

/* ---------- 数字（2026-10-21 作り直し：大きな数字＋下に一言。画面に入ると上の線が伸びる） ---------- */
.x-stats { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 48px) 0; border-top: 1px solid var(--x-line); border-bottom: 1px solid var(--x-line); }
.x-stats::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; background: radial-gradient(closest-side, rgba(232, 89, 12, .16), transparent); }
.x-stats-in { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); }
/* 3つは常に横並び（2026-11-03 オーナー指示「縦より横」）。スマホも3列、真ん中そろえ */
.x-stats p { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 6px 36px; }
.x-stats p::before, .x-stats p::after { content: ""; position: absolute; top: 0; }
.x-stats p::before { left: 0; bottom: 0; width: 1px; background: var(--x-line); }
.x-stats p::after { left: 50%; width: 40px; height: 2px; margin-left: -20px; background: var(--x-o); transform: scaleX(0); transition: transform 1s var(--x-e) .25s; }
.x-stats p.fx-in::after { transform: scaleX(1); }
.x-stats p:first-child::before { display: none; }
.x-stats b {
  display: flex; align-items: baseline; font-size: clamp(52px, 9vw, 150px); font-weight: 700; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #fff 30%, rgba(244, 242, 238, .45)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.x-stats b small { font-size: max(15px, .26em); letter-spacing: .04em; margin: 0 .15em; color: var(--x-o2); }
.x-stats p > span { margin-top: 14px; font-size: 12px; line-height: 1.6; letter-spacing: .04em; color: var(--x-ink2); }
@media (min-width: 600px) {
  .x-stats p > span { font-size: 15px; letter-spacing: .14em; }
}
@media (min-width: 900px) {
  .x-stats p { padding: 56px clamp(24px, 3vw, 48px) 52px; }
  .x-stats p::after { width: 56px; margin-left: -28px; }
}

/* ---------- 流れる文字（ページに1つ） ---------- */
.x-marquee { overflow: hidden; padding: clamp(40px, 6vw, 80px) 0; border-bottom: 1px solid var(--x-line); }
.x-marquee > div { display: flex; width: max-content; will-change: transform; }
.x-marquee span { padding-right: .45em; font-size: clamp(44px, 6.4vw, 104px); font-weight: 700; line-height: 1; letter-spacing: .02em; color: var(--x-ink); white-space: nowrap; }
.x-marquee span.o { color: rgba(244, 242, 238, .14); }

/* ---------- 左右に分ける ---------- */
.x-split { display: grid; gap: clamp(48px, 6vw, 96px); align-items: center; }
.x-split .x-h2 { font-size: clamp(28px, 3.2vw, 48px); }
@media (min-width: 1024px) { .x-split { grid-template-columns: 1fr 1fr; } }

/* カーソルについてくる光（共通） */
[data-spot] { position: relative; isolation: isolate; }
[data-spot]::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s ease;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 46, .16), transparent 62%);
}
@media (hover: hover) and (pointer: fine) { [data-spot]:hover::after { opacity: 1; } }

/* ---------- データ（レーダー） ---------- */
.x-radar { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; border-radius: 50%; }
.x-radar::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 89, 12, .2), transparent 70%); }
.x-radar canvas { position: relative; width: 100%; height: 100%; display: block; }

/* ---------- 理念（スクロールで明るくなる） ---------- */
.x-scrub { margin: 0; font-size: clamp(30px, 4vw, 60px); font-weight: 700; line-height: 1.25; letter-spacing: .01em; }
.x-scrub .fx-w { color: rgba(244, 242, 238, .12); transition: color .5s ease; }
.x-scrub .fx-w.on { color: var(--x-ink); }
.x-trio { display: grid; margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-trio { grid-template-columns: repeat(3, 1fr); } }
.x-trio a { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 32px 4px; border-bottom: 1px solid var(--x-line); color: var(--x-ink); text-decoration: none; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; }
@media (min-width: 900px) { .x-trio a { border-bottom: 0; padding: 36px clamp(20px, 2.4vw, 36px); } .x-trio a:first-child { padding-left: 0; } .x-trio a + a { border-left: 1px solid var(--x-line); } }
.x-trio a::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--x-o); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--x-e); }
.x-trio i { font-style: normal; color: var(--x-o2); transition: transform .45s var(--x-e); }
@media (hover: hover) and (pointer: fine) { .x-trio a:hover::before { transform: scaleX(1); } .x-trio a:hover i { transform: translateX(8px); } .x-trio a:hover span { color: var(--x-o2); } }

/* ---------- プログラム（横に流れる） ---------- */
.x-programs { position: relative; padding: clamp(96px, 12vw, 160px) 0 clamp(64px, 8vw, 120px); }
.x-programs-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 64px); }
.x-bar { display: none; width: 200px; height: 2px; background: var(--x-line); overflow: hidden; }
.x-bar i { display: block; height: 100%; background: var(--x-o); transform: scaleX(0); transform-origin: left; }
.x-track { display: flex; gap: clamp(16px, 2vw, 28px); padding: 0 clamp(20px, 5vw, 64px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.x-track::-webkit-scrollbar { display: none; }
.x-panel {
  position: relative; flex: none; width: min(80vw, 560px); height: min(58vh, 440px); min-height: 340px; scroll-snap-align: start; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 2.2vw, 32px); border-radius: 14px;
  background: linear-gradient(160deg, #161924, #0b0c12 70%); color: var(--x-ink); text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.x-panel img { position: absolute; right: 2%; bottom: 0; height: 84%; width: auto; max-width: 56%; object-fit: contain; opacity: .9; transition: transform 1s var(--x-e), opacity .4s ease; }
.x-panel .big { position: absolute; right: 6%; top: 8%; font-size: clamp(72px, 9vw, 140px); font-weight: 700; line-height: 1; color: rgba(255, 122, 46, .16); letter-spacing: .02em; }
.x-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(20deg, rgba(8, 9, 15, .92) 0%, rgba(8, 9, 15, .55) 34%, transparent 62%); }
.x-panel .t, .x-panel .d, .x-panel > i { z-index: 2; }
.x-panel .t { position: relative; font-size: clamp(26px, 2.6vw, 40px); font-weight: 700; line-height: 1.2; }
.x-panel .d { position: relative; margin-top: 12px; max-width: 18em; font-size: 16px; line-height: 1.8; color: var(--x-ink2); }
.x-panel > i { position: absolute; top: clamp(24px, 3vw, 40px); right: clamp(24px, 3vw, 40px); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-style: normal; font-size: 20px; transition: transform .5s var(--x-e), background-color .3s ease; }
@media (hover: hover) and (pointer: fine) { .x-panel:hover img { transform: scale(1.05) translateX(-2%); } .x-panel:hover > i { background: var(--x-o); transform: rotate(-45deg); } }
@media (min-width: 1024px) {
  .x-programs[data-hscroll] { padding: 0; }
  .x-programs .x-pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .x-programs .x-track { overflow: visible; padding-left: max(64px, (100vw - 1280px) / 2); padding-right: 64px; will-change: transform; }
  .x-bar { display: block; }
}

/* ---------- 比治山スクール（料金） ---------- */
.x-plans { display: grid; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-plans { grid-template-columns: 1fr 1fr; } }
.x-plan { position: relative; overflow: hidden; padding: 40px 8px 44px 0; border-bottom: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-plan { border-bottom: 0; padding: 48px clamp(24px, 3vw, 56px) 52px 0; } .x-plan + .x-plan { border-left: 1px solid var(--x-line); padding-left: clamp(24px, 3vw, 56px); } }
.x-plan h3 { margin: 0; display: flex; align-items: center; gap: 14px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; }
.x-plan h3 span { font-size: 13px; letter-spacing: .1em; color: var(--x-o2); }
.x-plan-adv::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--x-o); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--x-e) .3s; }
.x-plan-adv.fx-in::before { transform: scaleX(1); }
.x-price { margin: 22px 0 0; font-size: clamp(40px, 4.4vw, 68px); font-weight: 700; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.x-price .yen { font-family: "Helvetica Neue", Arial, sans-serif; font-size: .5em; font-weight: 700; margin-right: .08em; vertical-align: .55em; }
.x-price small { margin-left: 12px; font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--x-ink3); }
.x-plan-d { margin: 20px 0 0; max-width: 24em; font-size: 16px; line-height: 1.9; color: var(--x-ink2); }
.x-school .x-link { margin-top: 32px; }

/* ---------- チーム・個人（乗せた方が広がる） ---------- */
.x-audience { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--x-line); border-bottom: 1px solid var(--x-line); transition: grid-template-columns .8s var(--x-e); }
@media (min-width: 900px) {
  .x-audience { grid-template-columns: 1fr 1fr; }
  .x-audience:has(.x-half:first-child:hover) { grid-template-columns: 1.35fr .65fr; }
  .x-audience:has(.x-half:last-child:hover) { grid-template-columns: .65fr 1.35fr; }
}
.x-half { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(360px, 56vh, 560px); padding: clamp(32px, 5vw, 72px); color: var(--x-ink); text-decoration: none; }
.x-half + .x-half { border-top: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-half + .x-half { border-top: 0; border-left: 1px solid var(--x-line); } }
.x-half .k { font-size: clamp(26px, 2.8vw, 42px); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.x-half .d { margin-top: 14px; max-width: 22em; font-size: 16px; line-height: 1.8; color: var(--x-ink2); }
.x-half > i { position: absolute; top: clamp(32px, 5vw, 72px); right: clamp(32px, 5vw, 72px); font-style: normal; font-size: 28px; color: var(--x-o2); transition: transform .5s var(--x-e); }
@media (hover: hover) and (pointer: fine) { .x-half:hover > i { transform: translate(6px, -6px) rotate(-45deg); } }

/* ---------- 代表 ---------- */
.x-photo { position: relative; margin: 0; aspect-ratio: 5 / 4; display: grid; place-items: end center; }
.x-photo::before { content: ""; position: absolute; inset: 10% 6% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(232, 89, 12, .35), transparent 72%); }
.x-photo img { position: relative; width: 100%; height: auto; }
[data-clip] { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--x-move); }
[data-clip].fx-in { clip-path: inset(0 0 0 0); }
.x-quote { margin: 0; font-size: clamp(26px, 3vw, 44px); font-weight: 700; line-height: 1.35; }
.x-who { margin: 28px 0 0; font-size: 15px; color: var(--x-ink3); letter-spacing: .04em; }
.x-message .x-link { margin-top: 28px; }

/* ---------- お知らせ・スポンサー ---------- */
.x-info { padding-top: 0; }
.x-news { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 32px 0; border-top: 1px solid var(--x-line); border-bottom: 1px solid var(--x-line); color: var(--x-ink); text-decoration: none; font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; }
.x-news time { font-size: 15px; font-weight: 500; color: var(--x-ink3); font-variant-numeric: tabular-nums; }
.x-news i { font-style: normal; color: var(--x-o2); transition: transform .45s var(--x-e); }
@media (hover: hover) and (pointer: fine) { .x-news:hover i { transform: translateX(8px); } .x-news:hover span { color: var(--x-o2); } }
.x-sponsors { display: flex; flex-wrap: wrap; align-items: center; gap: 28px clamp(32px, 5vw, 72px); margin-top: clamp(56px, 7vw, 96px); }
.x-sponsors .x-link { margin-left: auto; }

/* ---------- 会社概要 ---------- */
.x-company { padding-top: 0; }
.x-dl { margin: 0; border-top: 1px solid var(--x-line); }
.x-dl div { display: grid; gap: 6px; padding: 24px 0; border-bottom: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-dl div { grid-template-columns: 200px 1fr; gap: 32px; } }
.x-dl dt { font-size: 14px; color: var(--x-ink3); letter-spacing: .06em; }
.x-dl dd { margin: 0; font-size: 16px; line-height: 1.8; }

/* ---------- お問い合わせ ---------- */
.x-contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(120px, 16vw, 240px) 0; text-align: center; border-top: 1px solid var(--x-line); }
.x-contact .x-orb-a { right: auto; left: 50%; top: 40%; transform: translate(-50%, -50%); animation: none; }
.x-contact .x-actions { justify-content: center; margin-top: 56px; }

/* ---------- スマホ ---------- */
@media (max-width: 640px) {
  .x-actions { gap: 18px 28px; }
  .x-btn { font-size: 18px; padding: 18px 18px 18px 26px; }
  .x-hero-mark { max-width: 300px; }
  .x-news { grid-template-columns: 1fr auto; }
  .x-news time { grid-column: 1 / -1; }
  .x-sponsors .x-link { margin-left: 0; }
}

/* ---------- 動きを減らす設定 ---------- */
.fx-reduce .fx-ch > span, .fx-reduce [data-in], .fx-reduce .fx-reveal { transform: none !important; opacity: 1 !important; transition: none !important; }
.fx-reduce [data-clip] { clip-path: none !important; transition: none !important; }
.fx-reduce .x-orb, .fx-reduce .x-rings i { animation: none !important; }
.fx-reduce .x-scrub .fx-w { color: var(--x-ink); }
@media (prefers-reduced-motion: reduce) { .x-orb, .x-rings i { animation: none !important; } }

/* ---------- ヘッダーを暗いページに合わせる（スマホでメニューを開いている間は元のまま） ---------- */
html:not(.nav-open) body.x-home .site-header::before { background: rgba(20, 24, 38, .62); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .07); }
html:not(.nav-open) body.x-home .site-header.scrolled::before { background: rgba(20, 24, 38, .9); }
html:not(.nav-open) body.x-home .brand-logo { content: url("../img/logo.png"); }
@media (min-width: 1025px) {
  body.x-home .nav > a:not(.nav-cta), body.x-home .nav-top { color: rgba(244, 242, 238, .88); }
  body.x-home .nav > a:not(.nav-cta):hover, body.x-home .nav-top:hover { color: #fff; }
  body.x-home .nav > .nav-cta { background: var(--x-o); }
}

/* ---------- 理念の3つ：見出し＋一言 ---------- */
.x-label { margin: clamp(56px, 7vw, 96px) 0 0; font-size: 15px; font-weight: 700; letter-spacing: .08em; color: var(--x-o2); }
.x-label + .x-trio { margin-top: 18px; }
.x-trio a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 16px; row-gap: 8px; align-items: center; }
.x-trio a .k { font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; }
.x-trio a .d { grid-column: 1; font-size: 15px; font-weight: 500; line-height: 1.7; color: var(--x-ink2); }
.x-trio a > i { grid-column: 2; grid-row: 1 / span 2; }
.x-trio a:focus-visible { outline: 2px solid var(--x-o2); outline-offset: -2px; border-radius: 0; }

/* ---------- スポンサー：明るい帯にロゴを元の色のまま ---------- */
.x-sponsor-band { background: #f4f2ee; color: #121522; padding: clamp(64px, 7vw, 104px) 0; }
.x-sponsor-h { margin: 0; font-size: clamp(20px, 2vw, 28px); font-weight: 700; letter-spacing: .02em; }
.x-sponsors { list-style: none; margin: clamp(32px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px clamp(32px, 4vw, 64px); align-items: center; }
.x-sponsors li { display: flex; align-items: center; justify-content: center; height: clamp(56px, 6vw, 80px); }
.x-sponsors img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.x-link-dark { margin-top: 40px; color: #121522; }
@media (hover: hover) and (pointer: fine) { .x-link-dark:hover { color: var(--x-o); } }
.x-company { padding-top: clamp(72px, 8vw, 120px); }
.x-label-top { margin-top: 0; margin-bottom: 18px; }

/* ---------- 説明の部分は温かい白地（2026-10-21 オーナー指示「黒がきつい」）
   黒地はヒーロー・数字・流れる文字・最後の無料体験だけ。白地の部分は .x-light ---------- */
.x-light {
  --x-bg: #f6f4f0;
  --x-ink: #161a26;
  --x-ink2: rgba(22, 26, 38, .74);
  --x-ink3: rgba(22, 26, 38, .62);
  --x-line: rgba(22, 26, 38, .12);
  --x-o2: #c2410c;
  background: var(--x-bg); color: var(--x-ink);
}
.x-light .x-scrub .fx-w { color: rgba(22, 26, 38, .14); }
.x-light .x-scrub .fx-w.on, .fx-reduce .x-light .x-scrub .fx-w { color: var(--x-ink); }
.x-light .x-photo::before { background: radial-gradient(closest-side, rgba(232, 89, 12, .2), transparent 72%); }
/* プログラムのカードは紺の板のまま（白いシルエットが映えるように） */
.x-light .x-panel { --x-ink: #f4f2ee; --x-ink2: rgba(244, 242, 238, .74); background: linear-gradient(160deg, #262c3f, #161a28 70%); box-shadow: 0 24px 48px -28px rgba(22, 26, 38, .45); }
.x-light .x-panel::before { background: linear-gradient(20deg, rgba(22, 26, 38, .92) 0%, rgba(22, 26, 38, .5) 34%, transparent 62%); }
.x-light .x-panel .big { color: rgba(255, 122, 46, .22); }
/* スポンサーの帯は周りの白地と分かるよう、真っ白に */
.x-sponsor-band { background: #fff; border-top: 1px solid rgba(22, 26, 38, .08); border-bottom: 1px solid rgba(22, 26, 38, .08); }

/* ---------- 理念の3つ：大きな番号＋言葉そのものを見出しに（2026-10-21 オーナー指示「目立たせて・リッチに」）
   画面に入るとオレンジの線が左から伸びる。マウスを乗せると番号が塗られ、温かい色が左から差し込む ---------- */
.x-creed-h { margin-top: clamp(80px, 10vw, 140px); }
.x-creed { margin-top: clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--x-line); }
.x-creed-row {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px clamp(24px, 4vw, 72px);
  padding: clamp(36px, 4.8vw, 68px) clamp(4px, 1.2vw, 20px);
  border-top: 1px solid var(--x-line); color: var(--x-ink); text-decoration: none;
}
.x-creed-row::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--x-o); transform: scaleX(0); transform-origin: left; transition: transform 1.2s var(--x-move) .25s; }
.x-creed-row.fx-in::before { transform: none; }
.x-creed-row:nth-child(2), .x-creed-row:nth-child(2)::before { transition-delay: .08s; }
.x-creed-row:nth-child(3), .x-creed-row:nth-child(3)::before { transition-delay: .16s; }
.x-creed-row::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(232, 89, 12, .1), rgba(232, 89, 12, 0) 70%); clip-path: inset(0 100% 0 0); transition: clip-path .45s var(--x-e); }
.x-creed-row .n { font-size: clamp(64px, 7.6vw, 124px); font-weight: 700; line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: transparent; -webkit-text-stroke: 1.5px var(--x-o); transition: color .35s ease; }
.x-creed-row .k { display: block; font-size: 15px; font-weight: 700; letter-spacing: .14em; color: var(--x-o2); }
.x-creed-row .s { display: block; margin-top: 12px; font-size: clamp(26px, 3.1vw, 48px); font-weight: 700; line-height: 1.3; letter-spacing: .01em; word-break: keep-all; overflow-wrap: anywhere; transition: transform .45s var(--x-e); }
.x-creed-row > i { font-style: normal; font-size: clamp(26px, 2.4vw, 36px); color: var(--x-o2); transition: transform .45s var(--x-e); }
.x-creed-row:focus-visible { outline: 2px solid var(--x-o2); outline-offset: -2px; }
@media (hover: hover) and (pointer: fine) {
  .x-creed-row:hover::after { clip-path: inset(0 0 0 0); }
  .x-creed-row:hover .n { color: var(--x-o); }
  .x-creed-row:hover .s { transform: translateX(8px); }
  .x-creed-row:hover > i { transform: translateX(10px); }
}
@media (max-width: 640px) {
  .x-creed-row { grid-template-columns: 1fr auto; align-items: end; }
  .x-creed-row .n { grid-column: 1 / -1; font-size: 60px; }
}
.fx-reduce .x-creed-row::before { transform: none; transition: none; }
/* 理念の3つ：画面に入ったときの動き（番号が下から現れる → 小見出し → 言葉が浮かぶ）・押したとき */
.x-creed-row .n { display: block; overflow: hidden; }
.x-creed-row .n > span { display: block; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--x-move) .15s, color .35s ease; }
.x-creed-row.fx-in .n > span { clip-path: inset(0 0 0 0); }
.x-creed-row .k { opacity: 0; transform: translate3d(-12px, 0, 0); transition: opacity .7s var(--x-e) .35s, transform .9s var(--x-e) .35s; }
.x-creed-row .s { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--x-e) .45s, transform 1s var(--x-e) .45s; }
.x-creed-row > i { opacity: 0; transition: opacity .6s ease .7s, transform .45s var(--x-e); }
.x-creed-row.fx-in .k, .x-creed-row.fx-in .s { opacity: 1; transform: none; }
.x-creed-row.fx-in > i { opacity: 1; }
.x-creed-row.fx-in .s { transition: opacity .8s var(--x-e) .45s, transform .45s var(--x-e); }
@media (hover: hover) and (pointer: fine) {
  .x-creed-row.fx-in:hover .s { transform: translateX(8px); }
  .x-creed-row.fx-in:hover > i { transform: translateX(10px); }
}
.x-creed-row:active .s { transform: scale(.98); transition-duration: .16s; }
.fx-reduce .x-creed-row .n > span, .fx-reduce .x-creed-row .k, .fx-reduce .x-creed-row .s, .fx-reduce .x-creed-row > i { clip-path: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- スマホ：横に流れるカードの位置と余白（2026-10-21） ---------- */
@media (max-width: 1023px) {
  /* 指で送ったとき、カードが左の余白にそろって止まる（以前は画面の端にくっつき、左がずれて見えた） */
  .x-track { scroll-padding-inline: clamp(20px, 5vw, 64px); }
  .x-track::after { content: ""; flex: none; width: 1px; }
  /* カードの中の空きを詰める（縦に長く、真ん中が空いていた） */
  .x-panel { height: auto; min-height: 0; aspect-ratio: 5 / 6; }
  /* 人の絵は文字の上に置く（重なって読みにくくならないように） */
  .x-panel img { bottom: 34%; height: 54%; right: 6%; }
  /* カードの下と次の見出しの間を詰める */
  .x-programs { padding: 72px 0 8px; }
  .x-programs-head { margin-bottom: 28px; }
}

/* ---------- スマホ：カードを画面の真ん中に、余白を詰める（2026-10-21 2回目） ---------- */
@media (max-width: 1023px) {
  .x-sec { padding: 56px 0; }
  .x-programs { padding: 56px 0 0; }
  .x-programs-head { margin-bottom: 24px; }
  .x-track { gap: 12px; padding-inline: 7vw; scroll-padding-inline: 7vw; }
  .x-track .x-panel { width: 86vw; scroll-snap-align: center; }
}

/* ---------- プログラムのカード：人の絵をカードの真ん中に（2026-10-21 オーナー指示） ---------- */
.x-panel img { left: 0; right: 0; margin-inline: auto; bottom: 34%; height: 54%; max-width: 76%; }
@media (hover: hover) and (pointer: fine) { .x-panel:hover img { transform: scale(1.05); } }
