/* ============================================================
   下のページの文字（2026-12-03 安部さん「この書体や、文字色太さダサい。今後やめてね」）
   薄い灰色・細い本文と、ふつうの太字の見出しをやめる。
   about・rules・first・entry・photos で最後に読む
   ============================================================ */

/* 色を濃く（灰色の段階を引き上げる） */
:root{
  --r2-ink: #121826;
  --r2-ink-2: #2E3442;
  --r2-ink-3: #5C6372;
  --a-text-2: #2E3442;
  --a-text-3: #5C6372;
  --ink-2: #2E3442;
  --ink-3: #5C6372;
}
@media (prefers-color-scheme: dark){
  :root{
    --a-text-2: #E4E4EA; --a-text-3: #B4B4BC;
    --r2-ink: #F5F5F7; --r2-ink-2: #E4E4EA; --r2-ink-3: #B4B4BC;
    --ink-2: #E4E4EA; --ink-3: #B4B4BC;
  }
}

/* 本文は 500 */
main p, main li, main dd, main td, main small,
.sec p, .sec li, .sec dd, .sec td, .sec small,
.art p, .art li, .callout p, .callout li{
  font-weight: 500;
}

/* 見出しはトップと同じ太い書体 */
.shead h2,
.pillar h3, .exp-card h3, .loop-card h3,
.shift-rows .to b{
  font-family: "Dela Gothic One", "Noto Sans JP", sans-serif;
  font-weight: 400;
  letter-spacing: .01em;
}
.shead h2{ line-height: 1.32; }
.shead p{ font-weight: 500; color: var(--a-text-2); }

/* 「なぜ今」：課題 → 価値 */
.shift-rows .from{ font-size: 15px; font-weight: 700; color: var(--r2-ink-3); letter-spacing: .04em; }
.shift-rows .from s::after{ background: #F26B21 !important; height: 2px; }
.shift-rows .to b{ font-size: clamp(28px, 3.4vw, 42px); line-height: 1.25; color: var(--r2-ink); }
.shift-rows .to small{ margin-top: 6px; font-size: clamp(16px, 1.5vw, 18px); font-weight: 500; line-height: 1.8; color: var(--r2-ink-2); }
.shift-head span{ font-weight: 700; }

/* ---- 表（会場・要項など）：無駄な余白を詰める（2026-12-03 安部さん「この無駄な余白を詰めたら…ダサすぎるよ」） ---- */
table.tbl{ min-width: 0; font-size: 16px; }
table.tbl th, table.tbl td{ padding: 14px 18px; line-height: 1.7; }
table.tbl tbody th{
  width: 1%; white-space: nowrap; padding-right: 28px;
  font-size: 15px; font-weight: 700; letter-spacing: .04em;
  color: #C2410C; background: #FFF4EC;
}
table.tbl td{ font-weight: 500; color: var(--a-text); }
table.tbl td small{ font-size: 14px; font-weight: 500; color: var(--a-text-2); margin-top: 2px; line-height: 1.6; }

/* スマホ：項目名を上に小さく、中身をその下に。横の空きを作らない */
@media (max-width: 760px){
  .tbl-wrap{ overflow: visible; }
  table.tbl, table.tbl tbody, table.tbl tr, table.tbl th, table.tbl td{ display: block; width: auto; }
  table.tbl thead{ display: none; }
  table.tbl tr{ padding: 12px 16px 13px; border-bottom: 1px solid var(--line); }
  table.tbl tbody tr:last-child{ border-bottom: 0; }
  table.tbl th, table.tbl td{ padding: 0; border: 0 !important; }
  table.tbl tbody th{
    background: none; width: auto; padding: 0; white-space: normal;
    font-size: 13px; letter-spacing: .06em; line-height: 1.5;
    display: flex; align-items: center; gap: 8px;
  }
  table.tbl tbody th::before{ content: ""; width: 10px; height: 3px; background: #F26B21; flex-shrink: 0; }
  table.tbl td{ margin-top: 3px; font-size: 16px; line-height: 1.65; }
}
@media (prefers-color-scheme: dark){
  table.tbl tbody th{ color: #FF9A55; background: rgba(242,107,33,.1); }
}
@media (prefers-color-scheme: dark) and (max-width: 760px){
  table.tbl tbody th{ background: none; }
}

/* 2行に決めた見出し：スマホでも1行目が折れないよう、画面幅に合わせて字を縮める（2026-12-03 安部さん「子どもので改行せず、2行にして」） */
@media (max-width: 760px){
  .shead h2.h2-2l{ font-size: min(34px, calc((100vw - 48px) / 11.6)); max-width: none; }
}

/* ---- 大会ルールの要点：枠・英語ラベルをやめ、数字と説明を1本の帯に（2026-12-03 安部さん「いかにもAIっぽい枠とか余白はやめて。オレンジの文字の配置も意味わからん。ザAIやん」） ---- */
.game-rules{
  gap: 0; margin-top: 28px;
  border-top: 4px solid #14275A; border-bottom: 1px solid var(--a-line);
}
.game-rules .gr-item{
  gap: 6px; padding: 18px 16px 18px 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
}
.game-rules .gr-item + .gr-item{ padding-left: 16px; border-left: 1px solid var(--a-line); }
.game-rules .gr-num{
  font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-weight: 400;
  font-size: clamp(36px, 4vw, 48px); line-height: 1; color: #14275A;
}
.game-rules .gr-num small{ margin-left: 2px; font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-size: .42em; color: #F26B21; }
.game-rules .gr-txt{ font-size: 15px; font-weight: 700; line-height: 1.6; color: var(--a-text); }
@media (max-width: 899px){
  .game-rules{ grid-template-columns: 1fr; }
  .game-rules .gr-item, .game-rules .gr-item + .gr-item{
    display: grid; grid-template-columns: 6.2em 1fr; align-items: center; gap: 12px;
    padding: 12px 0; border-left: 0; border-top: 1px solid var(--a-line);
  }
  .game-rules .gr-item:first-child{ border-top: 0; }
  .game-rules .gr-num{ font-size: 34px; }
  .game-rules .gr-txt{ font-size: 16px; }
}

/* ---- 手順・目次・お問い合わせの細部（同日、英語の字間ラベルをやめた） ---- */
.loop-card .no{
  font-family: "Dela Gothic One", "Noto Sans JP", sans-serif !important;
  font-size: 18px !important; letter-spacing: .04em !important; color: #F26B21 !important; font-weight: 400 !important;
}
.rule-toc h3{ font-family: "Dela Gothic One", "Noto Sans JP", sans-serif; font-size: 18px; letter-spacing: .04em; color: #14275A; font-weight: 400; }
.rule-toc a::before{ color: #F26B21 !important; font-weight: 700; opacity: 1 !important; }
.cc-sub{ display: block; margin-top: 2px; font-size: 14px; font-weight: 500; color: var(--a-text-2); }
.crumb{ font-weight: 700; }
.game-rules .gr-num small{ font-size: .5em; margin-left: 4px; }
/* 見出しの上の大きな英語の飾り文字（WHY NOW など）は出さない（2026-12-03） */
.shead .shead-en{ display: none !important; }
