/* =========================================================
   HERO's CUP トップ（2026-10 作り直し。PUMPS の assets/css/home.css と同じ作りで、色と一部だけ変える）
   夜の球場の紺地にオレンジと金。枠はほぼ使わず、線と余白で区切る。言葉は見出しと一文だけ。
   動きは assets/js/fx.js（transform / opacity / clip-path のみ）。
   ヘッダー・フッター・浮いているボタンは heros.css などのまま。
   ========================================================= */
body.x-home {
  --x-bg: #08090f;
  --x-bg2: #0f1119;
  --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); }

/* ---------- 数字 ---------- */
.x-stats { border-top: 1px solid var(--x-line); border-bottom: 1px solid var(--x-line); }
.x-stats-in { display: grid; grid-template-columns: 1fr; }
.x-stats p { margin: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 28px 0; border-top: 1px solid var(--x-line); }
.x-stats p:first-child { border-top: 0; }
.x-stats b { font-size: clamp(44px, 4.6vw, 72px); font-weight: 700; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.x-stats b small { font-size: .34em; margin: 0 .1em; color: var(--x-o2); }
.x-stats p > span { font-size: 16px; color: var(--x-ink2); }
@media (min-width: 900px) {
  .x-stats-in { grid-template-columns: repeat(3, 1fr); }
  .x-stats p { flex-direction: column; justify-content: center; padding: 48px 0 48px clamp(24px, 3vw, 48px); border-top: 0; border-left: 1px solid var(--x-line); }
  .x-stats p:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- 流れる文字（ページに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 img { height: clamp(26px, 2.6vw, 38px); width: auto; filter: brightness(0) invert(1); opacity: .62; transition: opacity .3s ease; }
.x-sponsors img:hover { opacity: 1; }
.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; } }


/* =========================================================
   ここから HERO's CUP だけ
   ========================================================= */
body.x-home {
  --x-bg: #060b18;
  --x-bg2: #0c1428;
  --x-o: #f2560b;
  --x-o2: #ff7a2e;
  --x-gold: #ffc83d;
  --jp: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", sans-serif;
}
.x .x-display em { color: var(--x-gold); }
.x-orb-a { background: radial-gradient(closest-side, rgba(242, 86, 11, .45), rgba(242, 86, 11, .1) 55%, transparent 72%); }
.x-orb-b { background: radial-gradient(closest-side, rgba(40, 90, 220, .28), transparent 70%); }
/* 照明の光の筋（ゆっくり回る） */
.x-rays {
  position: absolute; width: 140vmax; height: 140vmax; right: -50vmax; top: -60vmax; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 200, 61, .07) 0 4deg, transparent 4deg 16deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 10%, transparent 70%); mask-image: radial-gradient(closest-side, #000 10%, transparent 70%);
  animation: x-spin 90s linear infinite;
}
.x-hero-mark { aspect-ratio: auto; max-width: 560px; min-height: 360px; }
.x-hero-mark .x-logo { width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .5)) drop-shadow(0 0 60px rgba(242, 86, 11, .35)); }
.x-ball { position: absolute; width: 18%; height: auto; right: -2%; top: 4%; animation: x-ball 7s var(--x-move) infinite; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .5)); }
@keyframes x-ball { 0%, 100% { transform: translate3d(0, 0, 0) rotate(0); } 50% { transform: translate3d(-18px, 26px, 0) rotate(160deg); } }

/* 第1回大会までの日数（会場の空撮を背景に） */
.x-count { position: relative; isolation: isolate; overflow: hidden; padding: clamp(110px, 14vw, 200px) 0; }
.x-count-bg { position: absolute; inset: 0; z-index: -1; margin: 0; }
.x-count-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--x-bg) 0%, rgba(6, 11, 24, .55) 40%, rgba(6, 11, 24, .7) 70%, var(--x-bg) 100%); }
.x-count-bg img { width: 100%; height: 130%; object-fit: cover; margin-top: -15%; }
.x-count-in { text-align: center; }
.x-count-k { margin: 0; font-size: clamp(18px, 1.8vw, 24px); font-weight: 700; letter-spacing: .1em; color: var(--x-gold); }
.x-count-n { margin: 12px 0 0; font-size: clamp(96px, 13vw, 200px); font-weight: 700; line-height: 1; letter-spacing: .01em; font-variant-numeric: tabular-nums; text-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.x-count-n small { font-size: .2em; margin: 0 .2em; color: var(--x-ink2); }
.x-count-d { margin: 20px 0 0; font-size: clamp(16px, 1.5vw, 20px); color: var(--x-ink2); letter-spacing: .04em; }
.x-count .x-link { margin-top: 28px; }

/* コンセプトの3つ */
.x-three { display: grid; margin-top: clamp(64px, 8vw, 120px); border-top: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-three { grid-template-columns: repeat(3, 1fr); } }
.x-three > div { padding: 32px 4px 36px 0; border-bottom: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-three > div { border-bottom: 0; padding: 40px clamp(20px, 2.4vw, 36px) 40px 0; } .x-three > div + div { border-left: 1px solid var(--x-line); padding-left: clamp(20px, 2.4vw, 36px); } }
.x-three h3 { margin: 0; font-size: clamp(18px, 1.6vw, 24px); font-weight: 700; line-height: 1.4; }
.x-three p { margin: 14px 0 0; font-size: 16px; line-height: 1.9; color: var(--x-ink2); }

/* 4つの軸・課題と価値（rich2.css の作りを暗い背景の色で使う） */
.x { --r2-ink: var(--x-ink); --r2-ink-2: var(--x-ink2); --r2-ink-3: var(--x-ink3); --r2-line: var(--x-line); --r2-o: var(--x-o2); }
.x .pillars, .x .shift { margin-top: clamp(48px, 6vw, 88px); }
.x .pillars .pillar::after, .x .shift-rows li::after { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 122, 46, .14), transparent 62%); }
.x .rv { opacity: 1; transform: none; }

/* 大会体験（文字だけの面） */
.x-panel-txt { justify-content: space-between; background: linear-gradient(160deg, #13203d, #0a1122 70%); }
.x-panel-txt .t { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.2; }
.x-panel-txt::before { background: none; }
.x-panel-txt:nth-child(even) { background: linear-gradient(160deg, #2a160c, #120b0a 70%); }

/* 表彰 */
.x-award-row { display: grid; gap: 0; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--x-line); text-align: center; }
@media (min-width: 900px) { .x-award-row { grid-template-columns: 1fr 1.3fr 1fr; align-items: end; } }
.x-award-row > div { padding: 40px 16px; border-bottom: 1px solid var(--x-line); }
@media (min-width: 900px) { .x-award-row > div { border-bottom: 0; } }
.x-award-row h3 { margin: 0; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; }
.x-award-row p { margin: 12px auto 0; max-width: 18em; font-size: 16px; line-height: 1.8; color: var(--x-ink2); }
.x-award-hero { position: relative; transition: transform .5s var(--x-e); }
.x-award-hero img { width: min(240px, 60%); height: auto; filter: drop-shadow(0 0 50px rgba(255, 200, 61, .45)); }
.x-award-hero h3 { color: var(--x-gold); font-size: clamp(28px, 3vw, 44px); }

.fx-reduce .x-rays, .fx-reduce .x-ball { animation: none !important; }
@media (prefers-reduced-motion: reduce) { .x-rays, .x-ball { animation: none !important; } }

/* ---------- ヘッダーを暗いページに合わせる ---------- */
body.x-home .hdr:not(.is-top) { background: rgba(6, 11, 24, .84) !important; border-color: rgba(255, 255, 255, .08) !important; box-shadow: none !important; }
body.x-home .hdr:not(.is-top) .brand-txt, body.x-home .hdr:not(.is-top) .brand-txt b { color: rgba(255, 255, 255, .9) !important; }
body.x-home .hdr:not(.is-top) .nav > a:not(.nav-cta), body.x-home .hdr:not(.is-top) .nav-top { color: rgba(255, 255, 255, .86) !important; }
body.x-home .hdr:not(.is-top) .burger span { background: #fff !important; }

/* 体験の面は、横に並べると大きすぎるので小さめに */
.x-panel-txt { width: min(78vw, 460px); height: min(56vh, 460px); min-height: 340px; }
.x-panel-txt .d { font-size: 17px; }
/* スマホではヒーローの中の空きを詰める */
@media (max-width: 1023px) {
  .x-hero { min-height: 0; padding-top: 112px; }
  .x-hero-mark { min-height: 0; max-width: 360px; }
}
/* 代表の写真：影の付いた切り抜きの下を、背景になじませる */
.x-message .x-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(0deg, var(--x-bg), transparent); }
.x-message .x-photo img { filter: none; }

/* ヘッダーが画面の上に固定されているので、その分だけ下げる */
@media (min-width: 1024px) { .x-hero { min-height: 100dvh; padding-top: 140px; } }
.x-ball { top: -8%; }

/* ---------- スマホ：横に流れるカードの位置と余白（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-txt { height: auto; min-height: 0; gap: 40px; }
  .x-programs { padding: 72px 0 8px; }
  .x-programs-head { margin-bottom: 28px; }
  /* 表彰：区切りの上下を詰める */
  .x-award-row { margin-top: 40px; }
  .x-award-row > div { padding: 28px 16px; }
  .x-award-row > div:last-child { border-bottom: 0; }
  .x-contact { padding: 96px 0; }
}
/* トロフィーを真ん中に（以前は左に寄っていた） */
.x-award-hero img { display: block; margin: 0 auto 8px; }

/* ---------- スマホ：カードを画面の真ん中に、余白を詰める（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-31 追加）
   A ブロック＝オレンジ（第1グランド）、B ブロック＝金（第2グランド）。枠のカードは使わず、線と余白で区切る
   ========================================================= */
.x-count-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin-top: 28px; }
.x-kick { margin: 0 0 18px; font-size: clamp(14px, 1.2vw, 16px); font-weight: 700; letter-spacing: .14em; color: var(--x-gold); }
.x-teams, .x-bracket, .x-faq { scroll-margin-top: 72px; }
.x-teams { background: linear-gradient(180deg, var(--x-bg), var(--x-bg2)); }
.x-teams .x-h2 em, .x-bracket .x-h2 em, .x-faq .x-h2 em { color: var(--x-o2); }

/* 参加チーム */
.tm-grid { display: grid; gap: 48px; margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .tm-grid { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); } }
.tm { --c: var(--x-o2); }
.tm-b { --c: var(--x-gold); }
.tm h3 { display: flex; align-items: baseline; gap: 10px; margin: 0; padding-bottom: 16px; border-bottom: 2px solid var(--c); font-size: clamp(20px, 1.8vw, 24px); font-weight: 700; }
.tm h3 span { font-size: 2em; line-height: 1; color: var(--c); }
.tm ol { list-style: none; margin: 0; padding: 0; counter-reset: tm; }
.tm li { counter-increment: tm; display: flex; align-items: baseline; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--x-line); font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.4; transition: color .25s ease, transform .45s var(--x-e); }
.tm li::before { content: counter(tm, decimal-leading-zero); flex: none; width: 2em; font-size: 14px; color: var(--c); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .tm li:hover { color: var(--c); transform: translateX(6px); } }

/* 対戦表 */
.bk-list { display: grid; gap: clamp(56px, 6vw, 88px); margin-top: clamp(40px, 5vw, 64px); }
.bk { --c: var(--x-o2); }
.bk-b { --c: var(--x-gold); }
.bk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 2px solid var(--c); }
.bk-head h3 { margin: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; color: var(--c); }
.bk-head span { font-size: 15px; font-weight: 700; color: var(--x-ink2); }
.bk-tree { display: grid; gap: 28px; margin-top: 24px; }
.bk-day { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .06em; color: var(--x-ink3); }
.bk-body, .bk-pair { display: grid; gap: 12px; }
.bk-m { position: relative; padding: 14px 16px 14px 18px; border-left: 3px solid var(--c); background: rgba(255, 255, 255, .04); border-radius: 4px; }
.bk-t { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--c); }
.bk-t b { font-size: 18px; color: var(--x-ink); font-variant-numeric: tabular-nums; }
.bk-m ol { list-style: none; margin: 0; padding: 0; }
.bk-m li { font-size: 16px; font-weight: 700; line-height: 1.5; }
.bk-m li + li { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--x-line); }
.bk-col:not(:first-child) .bk-m li { color: var(--x-ink2); font-weight: 500; }
.bk-final { background: color-mix(in srgb, var(--c) 14%, transparent); }
/* パソコンでは左から右へ勝ち上がる線つきのトーナメント */
@media (min-width: 900px) {
  .bk-tree { grid-template-columns: 1.35fr 1fr 1fr; gap: 0 48px; }
  .bk-col { display: grid; grid-template-rows: auto 1fr; }
  .bk-body { grid-template-rows: repeat(2, 1fr); gap: 0; align-items: center; }
  .bk-col:last-child .bk-body { grid-template-rows: 1fr; }
  .bk-pair { position: relative; height: 100%; grid-template-rows: 1fr 1fr; gap: 0; align-items: center; padding: 6px 0; }
  .bk-col:nth-child(2) .bk-body { grid-template-rows: 1fr; }
  /* 2試合をつなぐかぎ型の線 */
  .bk-pair::after { content: ""; position: absolute; right: -24px; top: 25%; bottom: 25%; width: 24px; border: 2px solid var(--x-line); border-left: 0; border-radius: 0 6px 6px 0; }
  .bk-pair::before { content: ""; position: absolute; right: -48px; top: 50%; width: 24px; border-top: 2px solid var(--x-line); }
  .bk-m { margin: 6px 0; }
}

/* 当日のご案内 */
.x-faq-in { display: grid; gap: 40px; }
@media (min-width: 1024px) { .x-faq-in { grid-template-columns: .7fr 1.3fr; gap: 80px; } }
.qa-list { border-top: 1px solid var(--x-line); }
.qa { border-bottom: 1px solid var(--x-line); }
.qa summary { display: flex; align-items: center; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa-n { flex: none; font-size: 14px; font-weight: 700; color: var(--x-gold); font-variant-numeric: tabular-nums; }
.qa-q { flex: 1; font-size: clamp(18px, 1.7vw, 22px); font-weight: 700; transition: color .25s ease; }
.qa summary i { position: relative; flex: none; width: 18px; height: 18px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--x-o2); transition: transform .45s var(--x-e); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa p { margin: 0; padding: 0 0 28px 38px; font-size: clamp(16px, 1.3vw, 18px); line-height: 2; color: var(--x-ink2); }
.qa[open] p { animation: qa-in .5s var(--x-e); }
@keyframes qa-in { from { opacity: 0; transform: translateY(-6px); } }
@media (hover: hover) and (pointer: fine) { .qa summary:hover .qa-q { color: var(--x-o2); } }
@media (prefers-reduced-motion: reduce) { .qa[open] p { animation: none; } }
