/* ============================================================
   灰色の文字をやめる（全ページ・最後に読む）
   2026-12-03 安部さん「このグレーの文字やめて、いかにもAIっぽい。すべてのページで」
   本文は白地なら濃い紺、紺地なら白。薄くしたい時も 0.9 より下げない
   ============================================================ */
/* トップ：紺地 */
body.x-home{ --x-ink2: rgba(244, 242, 238, .94); --x-ink3: rgba(244, 242, 238, .86); }
/* トップ：白地 */
body.x-home .x-light-zone{ --x-ink2: #1E2638; --x-ink3: #2E3442; }
.qa p, .x-p, .x-note, .x-panel .d, .x-plan-d, .x-stats p > span{ font-weight: 500; }

/* 下のページ */
:root{ --r2-ink-3: #2E3442; --a-text-3: #2E3442; --ink-3: #2E3442; --r2-ink-2: #1E2638; --a-text-2: #1E2638; --ink-2: #1E2638; }
main p, main li, main dd, main dt, main td, main small, main figcaption, .tl-body span, .ccard dt, figcaption, figure span{ font-weight: 500 !important; }
.tl-body span, figcaption, .bk-day, .ccard dt, .cc-sub{ color: #2E3442 !important; }
body:not(.x-home) .shift-rows .from{ color: #2E3442 !important; }

/* 紺地の文字は白に近く */
.phero .crumb, .phero .crumb a, .phero .crumb span{ color: rgba(255,255,255,.92) !important; }
.cta p, .rep p, .rep .role, .rep-pull, .haw .aw-sys-d{ color: rgba(255,255,255,.95) !important; font-weight: 500; }

/* 「HERO's CUP」を途中で折らない */
.hc{ white-space: nowrap; }

/* ---- 本文の書体（2026-12-03 安部さん「説明文の書体がダサすぎる。他のとこもこの書体やめて、AIぽすぎてしらける」）
   Zen Kaku Gothic New（細く字間の広い書体）をやめ、Noto Sans JP に。字間は詰める ---- */
body{ font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Meiryo", sans-serif; }
body p, body li, body dd, body dt, body td, body th, body small, body figcaption, body span, body a, body b, body strong, body button{ letter-spacing: .02em; }

/* トップの札：題名のすぐ下に説明。上下に離さない */
body.x-home .x-panel-txt{ justify-content: flex-start !important; gap: 0 !important; height: auto !important; min-height: 0 !important; padding-top: 40px !important; padding-bottom: 36px !important; }
body.x-home .x-panel-txt .t{ margin: 0; }
body.x-home .x-panel-txt .d{
  margin-top: 18px; padding-top: 16px; max-width: none;
  border-top: 3px solid #F26B21;
  font-size: 18px; font-weight: 700; line-height: 1.65; letter-spacing: .01em;
}
body.x-home .x-panel-txt:nth-child(even) .d{ border-top-color: #14275A; }

/* ============================================================
   全ページ見直し（2026-12-03 安部さん「他のページも変なとこないか全部見て直して」）
   角の丸い白い箱＋ぼかし影・広すぎる余白・巨大な飾り数字をやめる
   ============================================================ */

/* トップの紺地の取り消し線の文字は白く（前の直しで紺地に濃い色が付いていた） */
body.x-home .shift-rows .from{ color: rgba(255,255,255,.82) !important; }
body.x-home .shift-rows .from s::after{ background: #F26B21 !important; }

/* 巨大な白抜きの「16」は出さない */
.x-teams::before{ content: none !important; display: none !important; }

/* 区切りの余白：スマホで広すぎる空白を作らない */
.sec{ padding: clamp(64px, 9vw, 120px) 0 !important; }
@media (max-width: 760px){
  .sec{ padding: 56px 0 !important; }
  body.x-home .x-sec{ padding: 56px 0 !important; }
}

/* 箱の角は 2px、ぼかしの影はなし、細い線で区切る */
.tbl-wrap, .rule-toc, .ccard, .callout, .block, .art, .bk, .bracket > *, .xg, .day-tabs, .chip, .tl-g, .art-badge, .note-box{
  border-radius: 2px !important; box-shadow: none !important;
}
.tbl-wrap, .rule-toc, .ccard{ border: 1px solid #D6DAE3 !important; border-top: 3px solid #14275A !important; }
.chip{ border-radius: 2px !important; }

/* 1日の流れ：1行ずつの大きな箱をやめ、時刻・内容・場所を1本の表に */
.timeline{ gap: 0 !important; border-top: 3px solid #14275A; }
.tl-row{
  grid-template-columns: 4.2em 1fr !important; gap: 4px 14px !important; align-items: start !important;
  padding: 14px 0 !important; border: 0 !important; border-bottom: 1px solid #D6DAE3 !important;
  border-radius: 0 !important; background: none !important; box-shadow: none !important; transform: none !important;
}
.tl-time{ grid-row: 1 / span 2; font-family: "Dela Gothic One", "Noto Sans JP", sans-serif !important; font-weight: 400 !important; font-size: 20px !important; color: #C2410C !important; line-height: 1.3; }
.tl-body b{ font-size: 16px !important; }
.tl-body span{ display: block; margin-top: 2px; font-size: 14px !important; color: #2E3442 !important; font-weight: 500 !important; }
.tl-g{ grid-column: 2; justify-self: start; padding: 3px 10px !important; font-size: 12px !important; }
@media (min-width: 720px){
  .tl-row{ grid-template-columns: 5em 1fr auto !important; align-items: center !important; }
  .tl-time{ grid-row: auto; }
  .tl-g{ grid-column: auto; }
}
.day-tab{ border-radius: 2px !important; box-shadow: none !important; }

/* 7つの仕掛け・手順：角丸の箱をやめ、上の線で区切る一覧に */
.exp-card, .loop-card{
  border: 0 !important; border-top: 2px solid #14275A !important; border-radius: 0 !important;
  background: none !important; box-shadow: none !important;
  padding: 18px 0 22px !important;
}
.exp-card .n{
  font-family: "Dela Gothic One", "Noto Sans JP", sans-serif !important; font-size: 22px !important;
  letter-spacing: .02em !important; color: #F26B21 !important; margin-bottom: 6px !important;
}
.exp-card h3, .loop-card h3{ margin-top: 0 !important; }
body.x-home .exp-card, body.x-home .loop-card{ border-top-color: rgba(255,255,255,.3) !important; }
.ftr h4{ font-family: "Noto Sans JP", sans-serif !important; font-size: 14px !important; letter-spacing: .06em !important; font-weight: 700 !important; }
.ftr p, .ftr li, .ftr a{ color: rgba(255,255,255,.9); }
.tl-time{ white-space: nowrap; font-size: 18px !important; }
.tl-row{ grid-template-columns: 4.6em 1fr !important; }
@media (min-width: 720px){ .tl-row{ grid-template-columns: 5.4em 1fr auto !important; } }

/* トップ「大切にする、4つのこと。」の札（2026-12-03 安部さん「左右に文字と数字が窮屈すぎる」）
   紺の板の内側に左右の余白をとり、番号は板の内側に収める（はみ出して切れない）。番号の分だけ右を空ける */
body .x-rules .pillars .pillar{ padding: 30px 112px 30px 22px !important; }
body .x-rules .pillars .pillar::after{ inset: 0 !important; }
body .x-rules .pillars .pillar.is-on h3, body .x-rules .pillars .pillar.is-on p{ transform: none !important; }
body .x-rules .pillars .pillar.is-on h3{ transform: skewX(-6deg) !important; }
.x-rules .pl-n{ right: 22px !important; font-size: clamp(52px, 15vw, 76px) !important; }
.x-rules .pillar h3{ font-size: clamp(22px, 6.2vw, 52px) !important; }
@media (min-width: 900px){
  body .x-rules .pillars .pillar{ padding: 40px clamp(200px, 18vw, 270px) 40px 36px !important; }
  .x-rules .pl-n{ right: 36px !important; font-size: clamp(96px, 10vw, 140px) !important; }
}
@media (max-width: 899px){
  body .x-rules .pillars .pillar{ padding: 28px 88px 28px 20px !important; }
  .x-rules .pl-n{ right: 18px !important; font-size: 50px !important; }
}

/* トップ「大切にする、4つのこと。」（2026-12-03 安部さん「数字は左に」「説明の文章は書体もしょぼいし、文字も小さいし目立ちにくい」）
   番号（左）→ 見出し → 説明 の横並び。番号は4つとも常に出す。説明は太く大きく、大事な言葉に紺の帯の印 */
body .x-rules .pillars .pillar{
  display: grid !important; align-items: center !important;
  grid-template-columns: clamp(96px, 9vw, 150px) minmax(0, 1fr) minmax(0, 1.15fr) !important;
  column-gap: clamp(20px, 3vw, 48px) !important;
  padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 40px) !important;
}
.x-rules .pl-n{
  position: static !important; transform: skewX(-8deg) !important; opacity: 1 !important;
  font-size: clamp(64px, 7vw, 112px) !important; line-height: .9 !important;
  color: #fff !important; -webkit-text-stroke: 0 !important;
}
.x-rules .pillar.is-on .pl-n{ color: var(--x-o) !important; }
body .x-rules .pillars .pillar h3{ transform: skewX(-6deg) !important; }
body .x-rules .pillars .pillar p{
  transform: none !important; opacity: 1 !important;
  font-family: "Noto Sans JP", sans-serif !important; font-weight: 900 !important;
  font-size: clamp(17px, 1.6vw, 23px) !important; line-height: 1.65 !important; letter-spacing: .02em !important;
  color: #fff !important;
}
.x-rules .pillar mark.pk{
  color: #fff; padding: 0 .15em;
  background: linear-gradient(transparent 58%, rgba(14, 27, 51, .55) 58%);
}
.x-rules .pillar.is-on mark.pk{ background: linear-gradient(transparent 58%, rgba(242, 107, 33, .85) 58%); }
/* スマホ：横に3つは狭いので、番号は左、その右に見出しと説明を上下に */
@media (max-width: 760px){
  body .x-rules .pillars .pillar{
    grid-template-columns: 52px minmax(0, 1fr) !important; column-gap: 16px !important; row-gap: 10px !important;
    align-items: start !important; padding: 24px 18px !important;
  }
  .x-rules .pl-n{ grid-row: 1 / span 2; font-size: 46px !important; }
  body .x-rules .pillars .pillar h3{ font-size: 22px !important; }
  body .x-rules .pillars .pillar p{ font-size: 17px !important; }
}
/* 4行とも薄くしない。印は言葉の途中で切らない */
body .x-rules .pillars.has-on .pillar:not(.is-on){ opacity: 1 !important; }
.x-rules .pillar mark.pk{ padding: 0 !important; white-space: nowrap; }

/* 全ページ：見出しの上のラベルを大きく太く（2026-12-03 安部さん「大会理念の文字が小さすぎる」→「同様に、他のところもよろしく」）
   大会について の「大会理念」と同じ形：18〜26px・太字・横の線 40×3 */
.shead .shead-tag, .pho-tag{
  display: flex !important; align-items: center !important; gap: 14px !important;
  font-size: clamp(18px, 1.9vw, 26px) !important; font-weight: 900 !important; letter-spacing: .08em !important;
  margin-bottom: clamp(16px, 2.2vw, 28px) !important;
}
.shead .shead-tag::before, .pho-tag::before{ content: "" !important; width: 40px !important; height: 3px !important; }
/* ラベルの中の言葉の間を空けない（横並びの隙間が「HERO's CUP」の前後に入っていた） */
.shead .shead-tag, .pho-tag{ display: block !important; }
.shead .shead-tag::before, .pho-tag::before{ display: inline-block !important; vertical-align: middle; margin: -.2em 14px 0 0; }
/* 見出しの下の説明文：見出しとの釣り合いをとって大きく */
.shead > p:not(.shead-tag){ font-size: clamp(16px, 1.7vw, 21px) !important; line-height: 1.85 !important; }

/* 「課題 → 価値」の表（2026-12-03 安部さん「無駄なスペースが多い。パソコンで1つの画面に映るのが大きすぎて目が疲れる」）
   パソコンでは1行を低く、左の列は課題の長さ分だけ、価値の見出しと説明は横に並べる。左の課題は読める大きさに */
@media (min-width: 720px){
  .shift{ max-width: 1120px; }
  .shift-head, .shift-rows li{ grid-template-columns: 13em 56px minmax(0, 1fr) !important; gap: 0 28px !important; }
  .shift-head{ padding-bottom: 14px !important; }
  .shift-rows li{ padding: 18px 4px !important; align-items: center !important; }
  .shift-rows .from{ font-size: 19px !important; }
  .shift-rows .to{ grid-template-columns: auto minmax(0, 1fr) !important; align-items: baseline !important; gap: 4px 28px !important; }
  .shift-rows .to b{ font-size: clamp(24px, 2.2vw, 32px) !important; white-space: nowrap; }
  .shift-rows .to small{ font-size: 17px !important; line-height: 1.6 !important; }
}
/* 説明文の行の終わりに1〜2語だけ残らないよう、行の長さをそろえる（2026-12-03 安部さん「他の説明文も同じように改行直して」） */
main p, .sec p, .x-sec p, .art p, .art li, .philo p{ text-wrap: pretty; }

/* 代表メッセージの結び：枠・左の線なし、文字だけで見せる（2026-12-03） */
.rep-pull, .home-page .rep-pull{
  margin: 48px 0 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: none !important;
  font-family: "Noto Sans JP", sans-serif !important; font-weight: 900 !important;
  font-size: clamp(18px, 2vw, 26px) !important; line-height: 1.8 !important; letter-spacing: .02em;
  color: #fff !important;
}
.rep-pull .rp-big{
  display: inline-block; margin: 0 0 10px; font-feature-settings: "palt";
  font-size: clamp(34px, 5.4vw, 64px); line-height: 1.2; letter-spacing: .02em; color: var(--o-bright, #F7943A);
}
