/* ==========================================================================
   Tokyo Tech Week 公式イベントカレンダー
   配色はモノクロ（2026-10-13 Daimu指示）: 白地＋墨 #101820＋グレーの段階だけ。色を持つのは立体アイコンだけ（差し色は外した）。
   - 本家 hosts.tech-week.com には寄せすぎない。アクセントは墨の線・面と「路線図」風の区切り線（.grad_rule）で出す
   - 暗い帯の上のアクセントは白（--accent-on-band）。フォーカス枠は白地・墨地どちらでも3:1を超えるグレー
   - 欧文の見出し・数字はロゴと同じ Archivo（幅を詰めた太字）。和文は端末の書体
   - 余白は4pxグリッド
   ========================================================================== */
:root {
  --ink: #101820;
  --ink-2: #1a2430;
  --ink-3: #26323f;
  --paper: #ffffff;
  --mist: #f3f5f7;
  --line: #e1e5ea;
  --sub: #4a5562;      /* 白地 7.6:1 */
  --muted: #5f6a76;    /* 白地 5.6:1 */
  --accent: var(--fg);          /* 線・点・左罫などのアクセント。色は持たせない */
  --accent-on-band: #ffffff;    /* 暗い帯（ヒーロー・見出し・フォーム帯）の上のアクセント */
  --focus: #7a8591;             /* 白地 3.7:1・墨地 4.7:1 */
  /* 差し色の受け口。2026-10-13 にライムを試したが Daimu 指示で外した＝今は本文色・白（モノクロ）。
     色を入れるときはこの3つ（とダーク2か所・印刷）だけ変える。--hl=ページ地の上、--hl-band=暗い帯の上、--on-hl=差し色の面に載せる文字 */
  --hl: var(--fg);
  --hl-band: #ffffff;
  --on-hl: var(--on-solid);
  --link: var(--fg);
  --pending-bg: #fff4d6;  /* 未確定（調整中・仮題・準備中）。文字 #6b4e00 で 7.06:1 */
  --pending-ink: #6b4e00;
  --on-ink: rgba(255, 255, 255, .92);
  --on-ink-sub: rgba(255, 255, 255, .72);
  --radius: 12px;
  --display: "Archivo", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  /* 役割ごとの色（2026-10-08 ダークモード対応）。--ink は墨そのもの。文字は --fg、塗りのボタン・バッジは --solid、
     常に暗い帯（ヒーロー・見出し・応募フォームの帯）は --band を使う */
  --fg: var(--ink);
  --solid: var(--ink);
  --on-solid: #ffffff;
  --solid-hover: var(--ink-3);
  --band: var(--ink);
  --glass: rgba(255, 255, 255, .92);
  --field-line: #7a8591;   /* 入力欄の枠。白地 3.76:1・ダーク地 4.89:1（WCAG 1.4.11） */
  --rule-dash: var(--accent-on-band);  /* 帯の区切りの破線。ダークでは弱める */
  color-scheme: light;
  --gutter: 16px;
  --header-h: 60px;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--fg);
  font-family: var(--body); font-size: 15px; line-height: 1.8;
  font-feature-settings: "palt" 1; letter-spacing: .02em;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) { body { font-size: 16px; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; padding: 8px 16px; background: var(--solid); color: var(--on-solid); border-radius: 8px; }
.skip:focus { top: 8px; }
.br_sp { display: inline; }
.br_pc { display: none; }
@media (min-width: 768px) { .br_sp { display: none; } .br_pc { display: inline; } }
.ext { display: inline-block; margin-left: .2em; font-family: var(--display); font-size: .85em; }

/* 欧文ディスプレイ（ロゴ準拠: Archivo を幅70・極太で） */
.eyebrow, .fv_kicker, .day_en, .day_num, .stat_num, .step_num, .when_day, .nf_code, .header_tag,
.cat, .result_n, .chip_count, .flow_num, .rule_num {
  font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; letter-spacing: .04em;
}
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--sub); }

.sample_bar { background: var(--pending-bg); color: var(--pending-ink); font-size: 13px; font-weight: 700; text-align: center; padding: 8px var(--gutter); line-height: 1.6; }

/* --- ボタン -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn_primary { background: var(--solid); color: var(--on-solid); }
.btn_line { border-color: var(--fg); background: transparent; color: var(--fg); }
.btn_invert { background: #ffffff; color: #101820; }  /* 暗い帯の上の主ボタン（白抜き） */
.btn_line_dark { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.btn_wide { width: 100%; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn_primary:hover { background: var(--solid-hover); }
  .btn_line:hover { background: var(--solid); color: var(--on-solid); }
  .btn_line_dark:hover { border-color: #fff; }
  .btn_invert:hover { background: #e1e5ea; }
}

/* --- ヘッダー ------------------------------------------------------------ */
.site_header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: var(--glass); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header_inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 100%; }
.header_logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.header_logo img { height: 18px; width: auto; }
@media (min-width: 768px) { .header_logo img { height: 22px; } }
.header_tag { font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 2px 8px; border: 1.5px solid var(--fg); border-radius: 4px; line-height: 1.4; }
.header_nav { display: flex; align-items: center; gap: 4px; }
.nav_link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--sub); }
.nav_link:hover { color: var(--fg); }
.nav_btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--solid); color: var(--on-solid); font-size: 13px; font-weight: 700; text-decoration: none; }
.nav_link, .nav_btn { white-space: nowrap; }
.nav_show_sp { display: none; }
@media (max-width: 767px) { .nav_hide_sp { display: none; } .nav_show_sp { display: inline; } .header_tag { display: none; } .nav_lang { padding: 0 10px; } }

/* --- FV ------------------------------------------------------------------ */
.fv { position: relative; padding: 48px 0 0; overflow: hidden; }
.fv::before { /* 右上にだけ淡い光（モノクロ） */
  content: ""; position: absolute; right: -20%; top: -40%; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(16, 24, 32, .06), transparent 72%);
  pointer-events: none;
}
.fv_grid { position: relative; display: grid; gap: 40px; padding-bottom: 48px; }
.fv_kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: .16em; color: var(--sub); }
.fv_kicker::before { content: ""; width: 24px; height: 4px; border-radius: 2px; background: var(--accent); }
.entry_hero .fv_kicker::before, .page_head .fv_kicker::before { background: var(--hl-band); }
.fv_logo { width: min(100%, 420px); margin: 24px 0 28px; }
.fv_title { font-size: 28px; font-weight: 800; line-height: 1.35; letter-spacing: .04em; }
.fv_lead { margin-top: 16px; color: var(--sub); font-size: 15px; line-height: 1.9; }
.fv_cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fv_stats { display: grid; gap: 0; border-top: 1px solid var(--line); align-self: end; }
.stat { display: grid; grid-template-columns: 7.5em 1fr; align-items: baseline; column-gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.stat dt { font-size: 13px; font-weight: 700; color: var(--sub); grid-row: span 2; }
.stat_num { font-size: 40px; font-weight: 900; line-height: 1; letter-spacing: .01em; }
.stat_sub { font-size: 13px; color: var(--muted); margin-top: 6px; }
/* 帯の下端の区切り。路線図の破線のように白と墨を刻む（ロゴの「交差・移動」を色なしで出す） */
.grad_rule { height: 6px; background: var(--band); background-image: repeating-linear-gradient(90deg, var(--rule-dash) 0 40px, transparent 40px 52px); opacity: .9; }
@media (min-width: 1024px) {
  .fv { padding-top: 80px; }
  .fv_grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 80px; padding-bottom: 80px; }
  .fv_logo { width: 560px; margin: 32px 0 40px; }
  .fv_title { font-size: 40px; }
  .fv_lead { font-size: 17px; }
  .stat { padding: 24px 0; }
  .stat_num { font-size: 56px; }
}

/* --- セクション見出し ------------------------------------------------------ */
.sec_head { margin-bottom: 32px; }
.sec_head h2 { margin-top: 8px; font-size: 26px; font-weight: 800; line-height: 1.4; letter-spacing: .04em; }
.sec_lead { margin-top: 12px; color: var(--sub); }
@media (min-width: 1024px) { .sec_head { margin-bottom: 40px; } .sec_head h2 { font-size: 34px; } }
section[tabindex="-1"]:focus { outline: none; }

/* --- イベントを探す --------------------------------------------------------- */
.finder { padding: 56px 0 72px; }
@media (min-width: 1024px) { .finder { padding: 88px 0 104px; } }

.daybar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .daybar { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; } }
.day {
  position: relative; display: grid; justify-items: start; gap: 2px; padding: 16px 16px 14px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  text-align: left; cursor: pointer; overflow: hidden; transition: border-color .16s ease, background-color .16s ease, color .16s ease;
}
.day::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
.day_en { font-size: 12px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.day_num { font-size: 32px; font-weight: 900; line-height: 1.1; }
.day_all .day_num { font-family: var(--body); font-stretch: normal; font-variation-settings: normal; font-size: 22px; font-weight: 800; line-height: 1.6; letter-spacing: .04em; }
.day_count { font-size: 13px; color: var(--sub); }
.day[aria-pressed="true"] { background: var(--solid); border-color: var(--fg); color: var(--on-solid); }
.day[aria-pressed="true"]::before { transform: scaleX(1); }
.day[aria-pressed="true"] .day_en, .day[aria-pressed="true"] .day_count { color: var(--on-ink-sub); }
@media (hover: hover) { .day:not([aria-pressed="true"]):hover { border-color: var(--fg); } }

.filters { display: grid; gap: 12px; margin-top: 24px; padding: 20px; border-radius: var(--radius); background: var(--mist); }
.filter_row { display: grid; gap: 8px; align-items: center; }
@media (min-width: 768px) { .filter_row { grid-template-columns: 6.5em 1fr; gap: 16px; } }
.filter_label { font-size: 13px; font-weight: 700; color: var(--sub); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper);
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color .16s ease, color .16s ease, border-color .16s ease;
}
.chip_count { font-family: var(--display); font-size: 12px; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--solid); border-color: var(--fg); color: var(--on-solid); }
.chip[aria-pressed="true"] .chip_count { color: var(--on-ink-sub); }
@media (hover: hover) { .chip:not([aria-pressed="true"]):hover { border-color: var(--fg); } }
.search { width: 100%; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 16px; }
.search:focus-visible { border-color: var(--fg); }
@media (pointer: coarse) { .chip { min-height: 44px; } }

.result_row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 28px 0 16px; }
.result { font-size: 14px; color: var(--sub); }
.map_link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--fg); border-radius: 999px; font-size: 14px; font-weight: 700; text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.map_icon { /* ピン形。色はロゴのグラデ */
  width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); flex: none;
}
@media (hover: hover) { .map_link:hover { background: var(--solid); color: var(--on-solid); } }
.result_n { font-family: var(--display); font-size: 22px; font-weight: 900; color: var(--fg); margin-right: 2px; }

.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; } }
.card { position: relative; }
.card_link {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper);
  text-decoration: none; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card_link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s ease; }
@media (hover: hover) {
  .card_link:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(16, 24, 32, .10); border-color: transparent; }
  .card_link:hover::after { transform: scaleX(1); }
}
.card_link:focus-visible::after { transform: scaleX(1); }
.card_media { position: relative; aspect-ratio: 16 / 9; background: var(--mist); }
.card_media img { width: 100%; height: 100%; object-fit: cover; }
/* 画像未登録の枠は、光を透かす色面で区別する。写真・情報欄には色を重ねない。 */
.media_ph {
  --facet-dark: #11146b;
  --facet-deep: #1636c6;
  --facet-color: #5355ed;
  --facet-light: #91baff;
  --facet-glow: #73f1d7;
  --facet-x: 62%;
  --facet-y: 68%;
  position: relative; isolation: isolate; overflow: hidden;
  display: block; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 88% 5%, #ffffff3d, transparent 48%),
    conic-gradient(from -35deg at var(--facet-x) var(--facet-y),
      var(--facet-light) 0deg 86deg,
      var(--facet-glow) 86deg 151deg,
      var(--facet-color) 151deg 212deg,
      var(--facet-deep) 212deg 287deg,
      var(--facet-dark) 287deg 360deg);
}
.media_ph::before, .media_ph::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
}
.media_ph::before {
  background: linear-gradient(125deg, #ffffff3b, #ffffff08 64%, #00000025);
  clip-path: polygon(0 0, 27% 0, 100% 82%, 100% 100%, 64% 100%, 0 43%);
}
.media_ph::after {
  background: linear-gradient(155deg, transparent 14%, #00000048 88%);
  clip-path: polygon(0 48%, 100% 0, 65% 100%, 0 100%);
  box-shadow: inset 0 0 0 1px #ffffff18;
}
/* hidden による絞り込みでは色を保持。隣接カードの色相を変える。 */
.card:nth-child(6n + 2) .media_ph {
  --facet-dark: #360c3b; --facet-deep: #8e164b; --facet-color: #db342d;
  --facet-light: #ff923d; --facet-glow: #ffce73; --facet-x: 34%; --facet-y: 35%;
}
.card:nth-child(6n + 3) .media_ph {
  --facet-dark: #350855; --facet-deep: #6816a5; --facet-color: #a529cb;
  --facet-light: #e958dc; --facet-glow: #ff83be; --facet-x: 69%; --facet-y: 77%;
}
.card:nth-child(6n + 4) .media_ph {
  --facet-dark: #032f51; --facet-deep: #006491; --facet-color: #009dcc;
  --facet-light: #40d6de; --facet-glow: #9aefd0; --facet-x: 76%; --facet-y: 54%;
}
.card:nth-child(6n + 5) .media_ph {
  --facet-dark: #48316d; --facet-deep: #9260a9; --facet-color: #db83b9;
  --facet-light: #ffa6ac; --facet-glow: #ffd0ad; --facet-x: 39%; --facet-y: 43%;
}
.card:nth-child(6n) .media_ph {
  --facet-dark: #063c35; --facet-deep: #08684f; --facet-color: #36a075;
  --facet-light: #8edb83; --facet-glow: #d5ef91; --facet-x: 64%; --facet-y: 61%;
}
.card_status, .event_status { display: none; }
.card_status { position: absolute; left: 12px; top: 12px; padding: 2px 10px; border-radius: 4px; background: var(--solid); color: var(--on-solid); font-size: 12px; font-weight: 700; }
.card_body { display: grid; gap: 8px; align-content: start; padding: 16px 20px 24px; }
.card_when, .detail_when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.when_day { font-size: 17px; font-weight: 900; letter-spacing: .03em; }
.when_time { font-size: 14px; font-weight: 700; color: var(--sub); font-variant-numeric: tabular-nums; }
.card_title, .detail_title, .fv_title, .sec_head h2, .step h3 { word-break: auto-phrase; }
.card_title { font-size: 17px; font-weight: 700; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card_host { font-size: 13px; color: var(--sub); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.card_place { font-size: 13px; color: var(--sub); line-height: 1.6; }
.area { display: inline-block; margin-right: 8px; padding: 0 8px; border-radius: 4px; background: var(--mist); color: var(--fg); font-weight: 700; font-size: 12px; line-height: 22px; }
.card_tags { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--link); font-weight: 600; }
.card.is-past .card_media img, .card.is-past .media_ph { filter: grayscale(1); opacity: .55; }
.card.is-past .card_status { display: inline-block; }
.card.is-past .card_body { color: var(--muted); }

.empty_filter, .empty_all { display: grid; justify-items: center; gap: 16px; padding: 48px 20px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--sub); }
.empty_all { padding: 64px 20px; background: var(--mist); border: 0; }
.empty_big { font-size: 20px; font-weight: 800; color: var(--fg); }

/* --- 4S帯 ---------------------------------------------------------------- */
.band_4s { background: var(--mist); padding: 56px 0; }
.band_grid { display: grid; gap: 20px; }
.band_grid h2 { margin-top: 8px; font-size: 24px; font-weight: 800; line-height: 1.45; letter-spacing: .04em; }
.band_body { display: grid; gap: 12px; color: var(--sub); }
@media (min-width: 1024px) {
  .band_4s { padding: 80px 0; }
  .band_grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .band_grid h2 { font-size: 32px; }
}

/* --- 主催者向け帯（墨地） --------------------------------------------------- */
.band_host { background: var(--band); color: var(--on-ink); padding: 64px 0 72px; position: relative; overflow: hidden; }
.band_host::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: repeating-linear-gradient(90deg, var(--rule-dash) 0 40px, transparent 40px 52px); opacity: .9; }
.sec_head_dark .eyebrow { color: var(--on-ink-sub); }
.sec_head_dark h2 { color: #fff; }
.sec_head_dark .sec_lead { color: var(--on-ink-sub); }
.grad_text { color: #fff; box-shadow: inset 0 -.32em 0 rgba(255, 255, 255, .16); }  /* 暗い帯のタグライン。蛍光ペン風の面（細い下線だとリンクに見える） */
.steps { display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.step { padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
/* 番号は索引。墨地の帯ではグラデを主ボタン1か所に集約し、強調を白／72%白／グラデの3段に絞る
   （「文字のコントラストがうるさい」Daimu指摘→Fable CDOレビュー 2026-10-06: グラデ出現6→1） */
.step_num { display: block; font-size: 24px; font-weight: 800; line-height: 1; color: var(--on-ink-sub); width: fit-content; }
.step h3 { margin-top: 16px; font-size: 17px; font-weight: 800; color: #fff; line-height: 1.5; }
.step p { margin-top: 8px; font-size: 14px; color: var(--on-ink-sub); line-height: 1.8; }
.host_cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* 帯の副ボタンは主ボタン（グラデ）より一段下げる。/entry ヒーローの白枠ボタンには効かせない */
.host_cta .btn_line_dark { color: var(--on-ink-sub); border-color: rgba(255, 255, 255, .28); }
@media (hover: hover) { .host_cta .btn_line_dark:hover { color: #fff; border-color: #fff; } }
@media (max-width: 559px) { .host_cta .btn, .fv_cta .btn { width: 100%; } }
@media (min-width: 1024px) { .band_host { padding: 96px 0 104px; } }

/* --- フッター ------------------------------------------------------------ */
.site_footer { background: #0b1117; color: var(--on-ink-sub); padding: 56px 0 40px; font-size: 13px; }
.footer_inner { display: grid; gap: 32px; }
.footer_brand img { width: 180px; }
.footer_tagline { margin-top: 16px; color: var(--on-ink); font-weight: 700; }
.footer_nav { display: grid; gap: 4px; }
.footer_nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-ink); text-decoration: none; font-weight: 600; }
.footer_nav a:hover { text-decoration: underline; }
.footer_meta { display: grid; gap: 6px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); line-height: 1.7; }
.footer_meta a { color: var(--on-ink); display: inline-block; padding: 10px 0; margin: -10px 0; }  /* 文中リンクの当たり判定（行送りは変えない） */
@media (min-width: 900px) { .footer_inner { grid-template-columns: 1fr 1fr; } .footer_meta { grid-column: 1 / -1; } }

/* --- 詳細ページ ------------------------------------------------------------ */
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 20px 0; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--sub); display: inline-block; padding: 4px 0; margin: -4px 0; }  /* 24px以上（WCAG 2.5.8） */
.crumbs [aria-current] { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.detail { display: grid; gap: 40px; padding-bottom: 72px; }
@media (min-width: 1024px) { .detail { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; padding-bottom: 104px; } }
.detail_kv { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.detail_kv img { width: 100%; height: 100%; object-fit: cover; }
.detail_when { margin-top: 24px; }
.when_area { font-size: 13px; font-weight: 700; padding: 0 8px; border-radius: 4px; background: var(--mist); line-height: 24px; }
.event_status { padding: 0 8px; border-radius: 4px; background: var(--solid); color: var(--on-solid); font-size: 12px; font-weight: 700; line-height: 22px; }
.detail_title { margin-top: 12px; font-size: 26px; font-weight: 800; line-height: 1.45; letter-spacing: .03em; }
@media (min-width: 1024px) { .detail_title { font-size: 34px; } }
.detail_host { margin-top: 12px; color: var(--sub); font-size: 14px; }
.detail_tags { margin-top: 12px; font-size: 13px; }
.detail_sec { margin-top: 48px; }
.detail_sec h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.detail_sec h2::before { content: ""; width: 20px; height: 4px; border-radius: 2px; background: var(--accent); flex: none; }
.info_table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info_table th, .info_table td { padding: 14px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.info_table th { width: 6.5em; padding-right: 16px; color: var(--sub); font-weight: 700; font-size: 14px; }
.info_table tr:first-child th, .info_table tr:first-child td { border-top: 1px solid var(--line); }
.rich { line-height: 1.95; }
.rich > * + * { margin-top: 1em; }
.rich h3 { margin-top: 1.8em; font-size: 17px; font-weight: 800; }
.rich ul { padding-left: 1.4em; list-style: disc; }
.rich ol { padding-left: 1.4em; list-style: decimal; }
.rich a { color: var(--link); text-underline-offset: 3px; }
.rich blockquote { margin: 1em 0; padding: 4px 0 4px 16px; border-left: 4px solid var(--line); color: var(--sub); }
.apply_sec { padding: 28px; border-radius: var(--radius); background: var(--mist); }
.apply_sec h2 { margin-bottom: 12px; }
.apply_sec p { margin-bottom: 20px; color: var(--sub); }
.notice { margin-top: 32px; font-size: 13px; color: var(--muted); line-height: 1.8; }
.backlink { display: inline-flex; align-items: center; min-height: 44px; margin-top: 16px; font-weight: 700; font-size: 14px; color: var(--fg); }
.detail_side { display: none; }
@media (min-width: 1024px) {
  .detail_side { display: block; }
  .side_card { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(16, 24, 32, .06); }
  .side_card::before { content: ""; height: 4px; margin: -24px -24px 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--accent); }
}
.side_when { display: grid; gap: 4px; font-weight: 700; line-height: 1.6; }
.side_when li { display: flex; flex-wrap: wrap; gap: 0 10px; }
.side_when span { white-space: nowrap; }
.side_fee { color: var(--sub); font-size: 14px; }
.side_fee strong { color: var(--fg); font-size: 18px; margin-left: 6px; }
.side_note { font-size: 13px; color: var(--muted); }
.when_ended { display: none; }
.is-past .when_open, .is-past .apply_sec .btn, .is-past .side_card .btn { display: none; }
.is-past .when_ended { display: block; }
.is-past .event_status { display: inline-block; }

.sp_cta { display: none; }
@media (max-width: 1023px) {
  .has_sp_cta:not(.is-past) .sp_cta {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; gap: 12px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: var(--glass); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(16, 24, 32, .08);
  }
  .has_sp_cta:not(.is-past) .site_footer { padding-bottom: 120px; }
  .sp_cta_info { display: grid; flex: 1; min-width: 0; line-height: 1.4; }
  .sp_cta_when { font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sp_cta_fee { font-size: 12px; color: var(--sub); }
  .sp_cta .btn { min-height: 44px; padding: 0 20px; flex: none; }
}

/* --- 404 ----------------------------------------------------------------- */
.nf { display: grid; justify-items: start; gap: 16px; padding: 80px var(--gutter) 120px; }
.nf_code { font-size: 96px; font-weight: 900; line-height: 1; color: var(--fg); }
.nf h1 { font-size: 26px; font-weight: 800; }
.nf p { color: var(--sub); }

/* --- 出現モーション（JS有効時だけ隠す＝JSが無くても何も消えない） ------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(8px); transition: opacity .32s ease, transform .32s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* --- 主催者募集（/entry） --------------------------------------------------- */
.entry_hero { position: relative; background: var(--band); color: #fff; padding: 56px 0 0; overflow: hidden; }
.entry_hero::before {
  content: ""; position: absolute; right: -25%; top: -50%; width: 80%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .09), transparent 72%); pointer-events: none;
}
.entry_hero .inner { position: relative; padding-bottom: 56px; }
.entry_hero .fv_kicker { color: var(--on-ink-sub); }
.entry_lockup { display: grid; gap: 8px; margin-top: 24px; }
.entry_lockup_ja { font-size: 36px; font-weight: 900; line-height: 1.25; letter-spacing: .04em; }
.entry_lockup_en { font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 20px; font-weight: 800; letter-spacing: .06em; color: var(--on-ink-sub); text-transform: uppercase; }
.entry_lead { margin-top: 24px; color: var(--on-ink); font-size: 15px; line-height: 1.9; max-width: 44em; }
.entry_tagline { margin-top: 16px; font-size: 18px; font-weight: 800; }
.entry_meta { margin-top: 8px; font-size: 14px; color: var(--on-ink-sub); }
@media (min-width: 1024px) {
  .entry_hero { padding-top: 88px; }
  .entry_hero .inner { padding-bottom: 88px; }
  .entry_lockup_ja { font-size: 56px; }
  .entry_lockup_en { font-size: 26px; }
  .entry_lead { font-size: 17px; }
  .entry_tagline { font-size: 22px; }
}

.status_bar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: -1px; padding: 24px 0 8px; }
@media (min-width: 900px) { .status_bar { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 32px; } }
.status_card { display: grid; align-content: start; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.status_card dt { font-size: 12px; font-weight: 700; color: var(--sub); display: grid; gap: 2px; }
.status_en { font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); }
.status_v { font-size: 20px; font-weight: 900; line-height: 1.4; display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; color: var(--hl); }  /* 日付は「2026年」と「12月2日（水）」の間で折り返す（SPの横はみ出し対策・SPレビュー 2026-10-13） */
.status_sub { font-size: 12px; color: var(--muted); line-height: 1.6; }
.status_card.is-open { border-color: var(--fg); box-shadow: inset 0 4px 0 0 var(--hl); }
.status_dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hl); flex: none; box-shadow: 0 0 0 4px var(--line); display: inline-block; }

.entry_body { padding-bottom: 72px; }
@media (max-width: 1023px) { .entry_body { padding-bottom: 24px; } }  /* 最後のセクション→前後ページを他の区切りと同じ64pxに */
.entry_sec { padding-top: 64px; }
@media (min-width: 1024px) { .entry_sec { padding-top: 96px; } .entry_body { padding-bottom: 104px; } }
.entry_sec_head { margin-bottom: 24px; }
.eyebrow .idx { display: inline-block; margin-right: 10px; padding: 0 6px; border-radius: 4px; background: var(--solid); color: var(--on-solid); letter-spacing: .04em; }
.entry_p { color: var(--sub); max-width: 46em; }
.entry_cols { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 768px) { .entry_cols { grid-template-columns: 1fr 1fr; gap: 16px; } }
.entry_card { padding: 24px; border-radius: var(--radius); background: var(--mist); }
.entry_card h3 { font-size: 17px; font-weight: 800; line-height: 1.5; }
.entry_card p { margin-top: 8px; font-size: 14px; color: var(--sub); line-height: 1.85; }
.role { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.role h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 17px; font-weight: 800; }
.role_tag { font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 11px; font-weight: 800; letter-spacing: .14em; padding: 2px 8px; border-radius: 4px; background: var(--solid); color: var(--on-solid); }
.checks { display: grid; gap: 8px; margin-top: 16px; }
.checks li { position: relative; padding-left: 28px; line-height: 1.7; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--solid); }
.checks li::after { content: ""; position: absolute; left: 5px; top: calc(.45em + 4px); width: 6px; height: 4px; border-left: 2px solid var(--on-solid); border-bottom: 2px solid var(--on-solid); transform: rotate(-45deg); }
.merit_grid { display: grid; gap: 12px; }
@media (min-width: 768px) { .merit_grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.merit_grid .entry_card { border-top: 4px solid var(--accent); border-radius: 0 0 var(--radius) var(--radius); }

.rule_list { display: grid; gap: 0; margin-top: 24px; border-top: 1px solid var(--line); }
.rule_list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.rule_num { font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 24px; font-weight: 900; line-height: 1.2; }
.rule_list h3 { font-size: 16px; font-weight: 800; line-height: 1.6; }
.rule_list p { margin-top: 4px; font-size: 14px; color: var(--sub); line-height: 1.85; }
@media (min-width: 1024px) { .rule_list { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.disclaim { margin-top: 24px; padding: 16px 20px; border-left: 4px solid var(--fg); background: var(--mist); font-size: 14px; line-height: 1.8; }
.disclaim a, .faq a[href^="mailto:"], .rich a[href^="mailto:"] { display: inline-block; padding: 10px 0; margin: -10px 0; }  /* 文中リンク（事務局メールなど）の当たり判定を、行送りを変えずに広げる */
.terms { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.terms summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; min-height: 56px; padding: 16px 20px; cursor: pointer; font-weight: 800; list-style: none; }
.terms summary::-webkit-details-marker { display: none; }
.terms summary::after { content: "＋"; margin-left: auto; font-weight: 700; }
.terms[open] summary::after { content: "−"; }
.terms summary small { font-size: 12px; font-weight: 600; color: var(--muted); }
.terms_body { padding: 0 20px 24px; font-size: 14px; max-height: 60vh; overflow: auto; }
@media (max-width: 1023px) { .terms_body { max-height: none; overflow: visible; } }  /* SPで入れ子スクロールにしない */
.terms_body h3 { font-size: 15px; }

.flow { display: grid; gap: 12px; counter-reset: flow; }
@media (min-width: 1024px) { .flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
.flow_step { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 1024px) { .flow_step { grid-template-columns: 1fr; align-content: start; } }
.flow_num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hl); color: var(--on-hl); font-family: var(--display); font-weight: 900; font-size: 18px; }
.flow_body h3 { font-size: 16px; font-weight: 800; line-height: 1.5; }
.flow_body p { margin-top: 6px; font-size: 14px; color: var(--sub); line-height: 1.8; }
.flow_meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.flow_meta a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--link); }
.flow_tag { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; background: var(--mist); color: var(--fg); }

.schedule_table th { width: 11em; }
.schedule_table strong { display: inline-flex; align-items: center; gap: 8px; }
.sch_sub { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
@media (max-width: 599px) { .schedule_table th, .schedule_table td { display: block; width: auto; } .schedule_table th { padding-bottom: 0; border-bottom: 0; } .schedule_table tr:first-child td { border-top: 0; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: block; padding: 18px 40px 18px 0; min-height: 56px; font-weight: 700; cursor: pointer; list-style: none; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; margin-right: 12px; font-family: var(--display); font-weight: 900; }
.faq summary::after { content: "＋"; position: absolute; right: 8px; top: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px 26px; color: var(--sub); font-size: 14px; line-height: 1.9; }
.faq a { color: var(--link); }

.entry_form .form_grid { display: grid; gap: 32px; }
@media (min-width: 1024px) { .entry_form .form_grid { grid-template-columns: 1fr 420px; gap: 64px; align-items: start; } }
.checks_dark li { color: var(--on-ink); }
.checks_dark li::after { border-color: var(--ink); }
.form_note { margin-top: 20px; color: var(--on-ink-sub); font-size: 14px; }
.form_card { display: grid; gap: 16px; padding: 28px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.form_card h3 { font-size: 20px; font-weight: 800; color: #fff; }
.form_card p { color: var(--on-ink-sub); font-size: 14px; }
.form_card .form_small { font-size: 12px; }
.contact_row { display: grid; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--ink-3); font-size: 13px; color: var(--on-ink-sub); }
.contact_row a { color: var(--on-ink); display: inline-flex; align-items: center; min-height: 44px; }

/* --- 応募フォーム（送信先は自前の /api/submit） --------------------------------- */
.entry_formbox { display: grid; gap: 28px; max-width: 800px; padding: 28px 20px; border-radius: var(--radius); background: var(--paper); color: var(--fg); }
@media (min-width: 768px) { .entry_formbox { padding: 40px 48px; } }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.f_row { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.f_label { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 0; font-weight: 800; font-size: 16px; }
.f_en { flex-basis: 100%; font-family: var(--display); font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.req, .opt { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; line-height: 1.6; }
.req { background: var(--solid); color: var(--on-solid); }
.opt { background: var(--mist); color: var(--sub); }
.f_help { font-size: 13px; color: var(--sub); line-height: 1.8; }
.f_help a { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); margin-left: 4px; font-weight: 700; }
.f_input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--field-line); border-radius: 10px; background: var(--paper); font-size: 16px; line-height: 1.6; }
.f_input:focus-visible { border-color: var(--fg); outline-offset: 0; }
.f_input::placeholder { color: var(--muted); opacity: 1; }
.f_area { resize: vertical; min-height: 140px; }
.f_pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f_sub { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--sub); }
.f_check { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 600; }
.f_check input { width: 24px; height: 24px; margin: 0; accent-color: var(--fg); flex: none; }
.f_check:has(input:checked) { border-color: var(--fg); background: var(--mist); }
.f_check_strong { font-weight: 800; }
.f_links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 14px; }
.f_links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); font-weight: 700; }
.f_agree { padding: 20px; border-radius: 10px; background: var(--mist); }
.f_msg { font-size: 13px; font-weight: 700; color: #b3261e; }
[aria-invalid="true"], .f_row.is-invalid .f_check { border-color: #b3261e; }
.f_error { padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #8c1d18; font-weight: 700; font-size: 14px; }
.f_submit { min-height: 56px; font-size: 16px; }
.f_submit[disabled] { opacity: .6; cursor: progress; }
.entry_formbox .form_small { font-size: 12px; color: var(--muted); }

/* --- 種類・調整中の印 ----------------------------------------------------- */
.card_badges { display: flex; flex-wrap: wrap; gap: 6px; }
.cat, .pending, .state { display: inline-block; padding: 0 8px; border-radius: 4px; font-size: 12px; font-weight: 700; line-height: 22px; vertical-align: middle; white-space: nowrap; }
/* 種類＝輪郭／状態＝塗り。未確定は琥珀、参加条件は墨（CDOレビュー 2026-10-06） */
.cat { border: 1px solid var(--fg); font-family: var(--display); letter-spacing: .02em; }
.pending { background: var(--pending-bg); color: var(--pending-ink); letter-spacing: .02em; }
.state { background: var(--solid); color: var(--on-solid); }
.status_v .pending { font-size: 16px; line-height: 30px; padding: 0 10px; }
.detail_notes { display: grid; gap: 6px; margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: var(--pending-bg); color: var(--pending-ink); font-size: 14px; line-height: 1.7; }
.detail_notes li { position: relative; padding-left: 16px; }
.detail_notes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--pending-ink); }
/* fieldset の legend は枠の外に描かれるため、背景付きの同意欄では本文側に落とす */
.f_agree > legend { float: left; width: 100%; margin-bottom: 8px; }
.f_agree > legend + * { clear: both; }

/* カードではタイトルが主・日付は従（詳細ページは .detail_title が大きいので逆転しない） */
.card_when .when_day { font-size: 14px; }
/* 0件の日は押せるが、件数がある日と同じ強さで見せない */
.day[data-count="0"]:not([aria-pressed="true"]) { background: var(--mist); border-color: var(--mist); }
.day[data-count="0"]:not([aria-pressed="true"]) .day_num, .day[data-count="0"]:not([aria-pressed="true"]) .day_count { color: var(--muted); }
/* /entry ヒーロー: 応募の前提を送信ボタンより先に見せる（CMOレビュー） */
.entry_pre { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 20px; font-size: 14px; color: var(--on-ink); line-height: 1.7; }
.entry_pre_tag { padding: 0 8px; border-radius: 4px; background: var(--pending-bg); color: var(--pending-ink); font-size: 12px; font-weight: 800; line-height: 22px; }
.entry_closed { text-align: center; justify-items: center; }
.hero_in_view .sp_cta { display: none !important; }

/* 4S帯の中の「最新情報は4Sコミュニティで」（about.tech-week.jp と同じ導線） */
.community { display: grid; gap: 12px; justify-items: start; margin-top: 12px; padding: 24px; border-radius: var(--radius); background: var(--paper); }
.community h3 { font-size: 17px; font-weight: 800; color: var(--fg); }
.community p { color: var(--sub); }
.community .community_note { font-size: 13px; color: var(--muted); }
@media (max-width: 559px) { .community .btn { width: 100%; } }

/* --- 視覚ガイド: アイコン ----------------------------------- */
.ui_icon { display: inline-block; width: 20px; height: 20px; flex: none; vertical-align: -.22em; }
.card_when .ui_icon, .card_place .ui_icon { width: 16px; height: 16px; color: var(--sub); }
.filter_label .ui_icon { width: 16px; height: 16px; margin-right: 6px; }
.step_visual { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.step_visual > .ui_icon { width: 40px; height: 40px; stroke-width: 1.25; color: var(--on-ink); }
.step_visual .step_num { margin: 0; color: var(--on-ink-sub); }


.stat_unit { font-family: var(--body); font-size: .4em; font-weight: 600; margin-left: 4px; }
.stat dt .ui_icon { width: 16px; height: 16px; margin-right: 6px; }

/* --- /entry: 読む前に区別できる目次・図版・手順 --------------------------- */
.entry_jump { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; }
.entry_jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 13px; font-weight: 700; background: var(--paper); }
.entry_jump .ui_icon { width: 16px; height: 16px; color: var(--sub); }
@media (hover: hover) { .entry_jump a:hover { background: var(--mist); border-color: var(--sub); } }
.entry_card_icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.entry_card_icon .ui_icon { width: 28px; height: 28px; color: var(--fg); }
.role h3 > .ui_icon { width: 24px; height: 24px; }
.merit_grid .merit_card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); border-image: none; }
.merit_visual { flex: none; display: grid; place-items: center; height: 288px; padding: 24px; background: var(--mist); overflow: hidden; }
.merit_copy { padding: 24px; }
.listing_art { width: min(100%, 320px); border: 1px solid #c8d3da; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 8px 24px #1018200a; }
.mini_browser { display: flex; gap: 4px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.mini_browser span { width: 4px; height: 4px; border-radius: 50%; background: #becad1; }
.listing_brand { padding: 12px 12px 10px; }
.listing_brand img { width: 56%; height: auto; }
.listing_tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 0 12px 12px; }
.listing_tile { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; padding-bottom: 8px; }
.listing_cover { height: 44px; display: grid; place-items: center; background: #f3f5f7; }
.listing_cover img { width: 36px; height: 36px; }
.listing_tile i { display: block; height: 3px; width: 72%; margin: 8px 6px 0; background: #c7d3da; }
.listing_tile i:last-child { width: 50%; margin-top: 4px; background: #e3e8ec; }
.international_art { display: block; width: min(100%, 320px); height: auto; }
.brand_art { display: grid; justify-items: center; gap: 16px; max-width: 260px; }
.brand_art img { width: 100%; height: auto; }
.brand_art span { font-family: var(--display); color: var(--sub); font-weight: 700; font-size: 14px; }
.qr_showcase { display: grid; justify-items: center; gap: 12px; margin: 28px auto 0; width: fit-content; max-width: 100%; }
.qr_phone { width: 176px; padding: 8px; border-radius: 26px; background: #0b1220; border: 1px solid #26323f; box-shadow: 0 16px 32px #1018201a; }
.qr_screen { overflow: hidden; aspect-ratio: 9 / 19.5; border-radius: 18px; background: white; }
.qr_screen::before { content: ''; display: block; height: 16px; }
.qr_screen img { display: block; width: 100%; height: auto; }
.qr_showcase figcaption { font-size: 12px; color: var(--sub); }
.merit_visual .qr_showcase { margin: 0; gap: 8px; }
.merit_visual:has(.qr_showcase) { padding: 16px; }
.merit_visual .qr_phone { width: 112px; }
.merit_visual .qr_screen { aspect-ratio: 9 / 19.5; }
.rule_marker { display: grid; justify-items: center; align-content: start; gap: 8px; }
.rule_marker > .ui_icon { width: 32px; height: 32px; color: var(--fg); stroke-width: 1.5; }
.rule_marker .rule_num { font-size: 12px; color: var(--muted); }
.flow_step { grid-template-columns: 48px 1fr; }
.flow_visual { position: relative; display: grid; place-items: center; width: 48px; height: 48px; background: var(--mist); border: 1px solid var(--line); border-radius: 12px; }
.flow_visual > .ui_icon { width: 28px; height: 28px; color: var(--fg); stroke-width: 1.5; }
.flow_visual .flow_num { position: absolute; top: -8px; right: -8px; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; }
@media (min-width: 1024px) {
  .flow_step { grid-template-columns: 1fr; gap: 20px; }
  .flow_step:not(:last-child)::after { content: '›'; position: absolute; top: 30px; right: -12px; z-index: 1; color: var(--sub); font-size: 18px; line-height: 24px; background: var(--paper); }
}
@media (max-width: 559px) {
  .entry_jump { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .entry_jump a { font-size: 12px; padding: 8px 12px; }
  .merit_visual { height: 224px; padding: 20px; }
  .merit_visual .qr_phone { width: 84px; padding: 5px; border-radius: 18px; }
  .merit_visual .qr_screen { border-radius: 12px; }
  .merit_copy { padding: 20px; }
}

.entry_hero_grid { display: grid; align-items: center; gap: 40px; }
.entry_hero_copy { min-width: 0; }
.host_art { margin: 0; width: min(100%,400px); justify-self: center; }
.host_art .listing_art { width: 100%; border-color: #ffffff50; box-shadow: 0 24px 60px #00000033; }
.host_art .listing_cover { height: 80px; }
.host_art .listing_cover img { width: 64px; height: 64px; }
.host_art .listing_brand { padding-top: 20px; padding-bottom: 20px; }
.host_art figcaption { color: var(--on-ink-sub); text-align: center; margin-top: 16px; font-size: 12px; }
@media (min-width: 1024px) {
  .entry_hero_grid { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 48px; }
  .entry_hero_grid .entry_lockup_ja { font-size: 48px; }
  .entry_hero_grid .entry_lockup_en { font-size: 22px; }
  .entry_hero_grid .br_pc { display: none; }
}
@media (max-width: 767px) {
  .host_art { max-width: 320px; }
  .host_art .listing_cover { height: 48px; }
  .host_art .listing_brand { padding-top: 12px; padding-bottom: 12px; }
}

.link_art { display: flex; align-items: center; gap: 12px; width: min(100%, 340px); color: var(--fg); }
.link_page { flex: 1; min-width: 0; display: grid; justify-items: center; gap: 16px; padding: 16px 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.link_page_label { font-size: 13px; font-weight: 800; }
.link_page > .ui_icon { width: 40px; height: 40px; }
.link_page_note { font-size: 10px; color: var(--sub); }
.link_arrow { font-size: 24px; }
.link_event { width: 70%; padding: 12px; border-radius: 4px; background: #eef1f3; }
.link_event .ui_icon { display: block; margin: 0 auto 8px; }
.link_event i { display: block; height: 3px; margin-top: 6px; background: #b4bcc4; }

.thanks_page { max-width: 800px; display: grid; justify-items: start; gap: 24px; padding-top: 80px; padding-bottom: 100px; }
.thanks_page h1 { font-size: clamp(26px, 5vw, 40px); }
.f_submit:disabled { opacity: .55; cursor: not-allowed; }

/* ==========================================================================
   主催者ガイドの枠（2026-10-08: 1ページ構成 → 左メニュー＋6ページ）
   PC(1024px〜): 左に常設メニュー。SP: 上部バーのボタンで左から開く。JSが無いSPではメニューを本文の上に出す
   ========================================================================== */
:root { --side-w: 264px; }
.hq_main { min-width: 0; }
@media (min-width: 1024px) { .hq { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); } }

.side { background: var(--paper); border-right: 1px solid var(--line); display: flex; flex-direction: column; }
@media (min-width: 1024px) { .side { position: sticky; top: 0; height: 100vh; overflow-y: auto; } }
.side_head { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: var(--header-h); padding: 0 12px 0 20px; border-bottom: 1px solid var(--line); flex: none; }
.side_brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.side_brand img { height: 16px; width: auto; }
.side_close { display: none; }
.side_nav { display: grid; gap: 12px; padding: 12px; }
.side_title { padding: 0 10px 6px; font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.side_group { display: grid; gap: 2px; }
.side_link { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 10px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--sub); line-height: 1.5; }
.side_link .ui_icon { width: 18px; height: 18px; flex: none; }
.side_link[aria-current="page"] { background: var(--mist); color: var(--fg); font-weight: 800; box-shadow: inset 3px 0 0 var(--hl); }
.side_ext { font-size: 13px; }
@media (hover: hover) { .side_link:not([aria-current="page"]):hover { background: var(--mist); color: var(--fg); } }
.side_foot { margin-top: auto; display: grid; gap: 12px; padding: 16px 20px 20px; border-top: 1px solid var(--line); }
.side_deadline { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; }
.side_foot .btn { min-height: 44px; font-size: 14px; gap: 8px; }
.side_foot .ui_icon { width: 16px; height: 16px; }

.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; gap: 12px; padding: 0 var(--gutter);
  background: var(--glass); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.menu_btn, .side_close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: -8px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; color: var(--fg); }
.menu_btn .ui_icon, .side_close .ui_icon { width: 22px; height: 22px; }
.top_brand { display: inline-flex; align-items: center; min-height: 44px; }
.top_brand img { height: 15px; width: auto; }
.top_crumbs { display: none; flex: 1; min-width: 0; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.top_crumbs a { color: var(--sub); text-decoration: none; }
.top_crumbs span:last-child { color: var(--fg); font-weight: 700; }
.top_status { display: none; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.top_lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; margin-left: auto; font-size: 13px; font-weight: 700; color: var(--sub); text-decoration: none; }
.top_lang + .nav_btn { margin-left: 0; }
@media (min-width: 768px) { .top_crumbs { display: flex; } .top_status { display: inline-flex; } .top_lang { margin-left: 0; } }
@media (min-width: 1024px) { .menu_btn, .top_brand { display: none; } }

/* SP: メニューは左から重ねて開く。JSが無いときは本文の上に置いたまま（.js のときだけ隠す） */
@media (max-width: 1023px) {
  .js .side { position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(86vw, 320px); transform: translateX(-100%); visibility: hidden; transition: transform .24s ease, visibility 0s .24s; box-shadow: 8px 0 32px rgba(16, 24, 32, .16); overflow-y: auto; }
  .js .side.is-open { transform: none; visibility: visible; transition: transform .24s ease; }
  .js .side_close { display: inline-flex; margin: 0; }
  .side_scrim { position: fixed; inset: 0; z-index: 60; background: rgba(16, 24, 32, .4); }
  .menu_open { overflow: hidden; }
  html:not(.js) .menu_btn { display: none; }
  html:not(.js) .side { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* --- 下層ページの見出し ------------------------------------------------------ */
.page_head { position: relative; background: var(--band); color: #fff; overflow: hidden; }
.page_head::before {
  content: ""; position: absolute; right: -20%; top: -80%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .08), transparent 72%); pointer-events: none;
}
.page_head .inner { position: relative; padding-top: 48px; padding-bottom: 48px; }
.page_head .fv_kicker { color: var(--on-ink-sub); }
.page_head h1 { margin-top: 16px; font-size: 30px; font-weight: 900; line-height: 1.3; letter-spacing: .04em; }
.page_lead { margin-top: 16px; max-width: 46em; color: var(--on-ink); line-height: 1.9; }
@media (min-width: 1024px) { .page_head .inner { padding-top: 72px; padding-bottom: 72px; } .page_head h1 { font-size: 44px; } .page_lead { font-size: 17px; } }

.home_sec:first-child { padding-top: 48px; }
.more_link { margin-top: 20px; }
.more_link a, .dir_cta { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-weight: 700; color: var(--link); }
.more_link .ui_icon, .dir_cta .ui_icon, .btn .ui_icon { width: 16px; height: 16px; }

/* ホームのブリーフ（求めるイベントへの入口） */
.brief { padding: 28px 24px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: inset 0 4px 0 0 var(--accent); }
.brief h2 { margin-top: 8px; font-size: 24px; font-weight: 800; line-height: 1.4; }
.brief > p:not(.eyebrow) { margin-top: 12px; color: var(--sub); max-width: 44em; }
.brief_tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.brief_tags li { padding: 4px 12px; border-radius: 999px; background: var(--mist); font-size: 13px; font-weight: 700; }
@media (min-width: 1024px) { .brief { padding: 40px; } .brief h2 { font-size: 30px; } }

/* ホームの案内カード（各ページへ） */
.dir_grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .dir_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .dir_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.dir_card { display: grid; gap: 8px; height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--paper); transition: border-color .16s ease, transform .16s ease; }
.dir_top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dir_icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--mist); }
.dir_icon .ui_icon { width: 20px; height: 20px; }
.dir_num { font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 12px; font-weight: 800; color: var(--muted); }
.dir_title { font-size: 18px; font-weight: 800; line-height: 1.5; }
.dir_items { display: grid; gap: 4px; margin: 4px 0 8px; }
.dir_items span { position: relative; padding-left: 18px; font-size: 13px; color: var(--sub); line-height: 1.7; }
.dir_items span::before { content: ""; position: absolute; left: 0; top: .85em; width: 10px; height: 1.5px; background: var(--line); }
.dir_cta { margin-top: auto; font-size: 14px; }
@media (hover: hover) { .dir_card:hover { border-color: var(--fg); transform: translateY(-2px); } }

/* 求めるイベント: 形式 */
.formats { display: grid; gap: 16px; }
.format { display: grid; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
@media (min-width: 1024px) { .format { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; padding: 32px; } }
.format_num { font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 32px; font-weight: 900; line-height: 1; }
.format_head .eyebrow { margin-top: 12px; }
.format_head h3 { margin-top: 4px; font-size: 20px; font-weight: 800; line-height: 1.45; }
.format_head p:last-child { margin-top: 12px; color: var(--sub); }
.format_tips { padding: 20px; border-radius: 10px; background: var(--mist); }
.format_tips_title { font-size: 13px; font-weight: 800; color: var(--sub); }
.tips { display: grid; gap: 14px; margin-top: 12px; }
.tips li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--fg); }
.tips strong { font-size: 15px; font-weight: 800; }
.tips span { font-size: 14px; color: var(--sub); line-height: 1.8; }

/* 求めるイベント: サポート */
.support_grid { display: grid; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .support_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .support_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.support { padding: 24px; border-radius: var(--radius); background: var(--mist); }
.support h3 { margin-top: 12px; font-size: 16px; font-weight: 800; line-height: 1.5; }
.support p { margin-top: 6px; font-size: 14px; color: var(--sub); line-height: 1.85; }

/* 応募フォーム: 応募の前に */
.before_list { display: grid; gap: 12px; }
@media (min-width: 900px) { .before_list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.before_list li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.before_list h3 { font-size: 16px; font-weight: 800; line-height: 1.5; }
.before_list p { margin-top: 4px; font-size: 14px; color: var(--sub); }
.apply_body { padding-bottom: 56px; }

/* 前後のページ */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 40px; padding-bottom: 64px; }
.pager a { display: grid; gap: 4px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.pager_next { text-align: right; justify-items: end; }
.pager_dir { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.pager_dir .ui_icon { width: 14px; height: 14px; }
.pager_title { font-weight: 800; }
@media (hover: hover) { .pager a:hover { border-color: var(--fg); } }
.faq_sec { padding-top: 40px; }
.thanks_page { padding-bottom: 80px; }
@media (min-width: 1024px) { .side_close { display: none; } }
html:not(.js) .side_close { display: none; }
.side_brand .header_tag { white-space: nowrap; }
.side_brand img { height: 14px; }
@media (min-width: 1024px) { .side_scrim { display: none !important; } }
/* メニューだけをスクロールさせ、締切と応募ボタンはどの高さでも見えるようにする（Fableレビュー 2026-10-08） */
.side_nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; }
.side_foot { flex: none; }
.side_head { flex: none; }
@media (min-width: 1024px) { .side { overflow: hidden; } }
@media (max-width: 1023px) { .js .side { overflow: hidden; } html:not(.js) .side_nav { overflow: visible; } }
@media (min-width: 1200px) { .dir_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .status_v { font-size: 17px; } }
.side_nav { align-content: start; }


/* ==========================================================================
   ダークモード（2026-10-08）。上部バーの切替で data-theme を付ける。未選択なら端末の設定に合わせる
   ========================================================================== */
:root[data-theme="dark"] {
  --paper: #0e151c; --mist: #18222c; --line: #2a3644; --sub: #b3bdc8; --muted: #97a2ae;
  --fg: #eef2f6; --solid: #eef2f6; --on-solid: #101820; --solid-hover: #ffffff; --band: #060a0e;
  --pending-bg: #3b300d; --pending-ink: #ffd66b;
  --glass: rgba(14, 21, 28, .9); --field-line: #7a8591; --rule-dash: rgba(255, 255, 255, .34); color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0e151c; --mist: #18222c; --line: #2a3644; --sub: #b3bdc8; --muted: #97a2ae;
    --fg: #eef2f6; --solid: #eef2f6; --on-solid: #101820; --solid-hover: #ffffff; --band: #060a0e;
    --pending-bg: #3b300d; --pending-ink: #ffd66b;
    --glass: rgba(14, 21, 28, .9); --field-line: #7a8591; --rule-dash: rgba(255, 255, 255, .34); color-scheme: dark;
  }
}
/* ロゴ（横長）は墨の文字部分があるので、ダークでは白文字版に差し替える */
.logo_dark { display: none !important; }
:root[data-theme="dark"] .logo_light { display: none !important; }
:root[data-theme="dark"] .logo_dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo_light { display: none !important; }
  :root:not([data-theme="light"]) .logo_dark { display: block !important; }
}

/* --- 上部バー: 言語メニュー・表示モード ------------------------------------------ */
.top_tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang_menu { position: relative; }
.lang_menu summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px 0 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  font-size: 14px; font-weight: 700; cursor: pointer; list-style: none; white-space: nowrap;
}
.lang_menu summary::-webkit-details-marker { display: none; }
.lang_menu summary .ui_icon { width: 18px; height: 18px; }
.lang_menu .chev { transition: transform .16s ease; }
.lang_menu[open] .chev { transform: rotate(180deg); }
.lang_menu[open] summary { border-color: var(--fg); }
.lang_list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; min-width: 168px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); box-shadow: 0 12px 32px rgba(16, 24, 32, .16); }
.lang_list a { display: grid; gap: 0; padding: 12px 14px; border-radius: 8px; text-decoration: none; line-height: 1.4; }
.lang_list a span { font-size: 15px; font-weight: 700; }
.lang_list a small { font-size: 12px; color: var(--muted); }
.lang_list a[aria-current="true"] { background: var(--solid); color: var(--on-solid); }
.lang_list a[aria-current="true"] small { color: inherit; opacity: .8; }
@media (hover: hover) { .lang_list a:not([aria-current="true"]):hover { background: var(--mist); } }
.lang_short { display: none; }

.theme_toggle { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); }
.theme_toggle button { display: inline-grid; place-items: center; width: 36px; height: 34px; border: 0; border-radius: 999px; background: transparent; color: var(--sub); cursor: pointer; }
.theme_toggle button .ui_icon { width: 18px; height: 18px; }
.theme_toggle button[aria-pressed="true"] { background: var(--paper); color: var(--fg); box-shadow: 0 1px 4px rgba(16, 24, 32, .18); }
html:not(.js) .theme_toggle { display: none; }

@media (max-width: 767px) {
  .lang_cur { display: none; }
  .lang_short { display: inline; }
  .lang_menu summary { padding: 0 8px; gap: 4px; }
  .lang_menu .chev { display: none; }
  .theme_toggle { padding: 2px; }
  .theme_toggle button { width: 44px; height: 44px; }  /* HIG 44pt（SPレビュー 2026-10-13） */
  .topbar > .nav_btn { display: none; }   /* SPは下部の固定バーとメニューに応募ボタンがある */
  .top_brand img { height: 13px; }
  /* テーマ切替の44px化で上部バーが詰まり、ロゴが横に潰れていた（Fable再レビュー 2026-10-13）。ロゴは比率を保って縮める */
  .menu_btn, .top_tools { flex: none; }
  .top_brand { flex: 1 1 auto; min-width: 0; }
  .top_brand img { width: min(100%, 140px); height: auto; }
}

/* 紹介文（主催者がイベントページに貼る定型文） */
.blurb { display: grid; gap: 16px; justify-items: start; margin: 24px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: inset 4px 0 0 var(--accent); }
.blurb blockquote { margin: 0; font-size: 16px; line-height: 1.95; }
.blurb_copy { min-height: 44px; font-size: 14px; }

/* --- 立体アイコン（Higgsfield 生成・2026-10-08）。文字ばかりの面にアクセントを置く ------------- */
.art { display: block; height: auto; }
.page_head_grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; }
.page_art { width: 96px; filter: drop-shadow(0 12px 28px rgba(16, 24, 32, .22)); }
@media (min-width: 1024px) { .page_art { width: 160px; } }
.brief_tags li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; }
.brief_tags .art { width: 32px; }
.dir_top { margin-bottom: 4px; }
.dir_art { width: 72px; margin: -4px 0 0 -6px; transition: transform .2s ease; }
@media (hover: hover) { .dir_card:hover .dir_art { transform: translateY(-3px) rotate(-3deg); } }
.format_top { display: flex; align-items: flex-end; justify-content: space-between; }
.format_art { width: 88px; }

.format_num { color: var(--muted); }

/* --- ダークの補正（Astraレビュー 2026-10-08） -------------------------------------------
   図版はライトの配色で描いているので、図版の枠の中だけライトのトークンに戻す（図版＝写真と同じ扱い）。
   入力エラーの赤は暗い面で読めないので明るい赤に替える（#ff8a80: ダークの入力欄で 7:1 以上） */
:root[data-theme="dark"] .merit_visual,
:root[data-theme="dark"] .listing_art {
  --fg: #101820; --paper: #ffffff; --mist: #f3f5f7; --line: #e1e5ea; --sub: #4a5562; --muted: #5f6a76;
  background-color: #f3f5f7; color: #101820;
}
:root[data-theme="dark"] .listing_art { background-color: #ffffff; }
:root[data-theme="dark"] .f_msg { color: #ff8a80; }
:root[data-theme="dark"] [aria-invalid="true"], :root[data-theme="dark"] .f_row.is-invalid .f_check { border-color: #ff8a80; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .merit_visual,
  :root:not([data-theme="light"]) .listing_art {
    --fg: #101820; --paper: #ffffff; --mist: #f3f5f7; --line: #e1e5ea; --sub: #4a5562; --muted: #5f6a76;
    background-color: #f3f5f7; color: #101820;
  }
  :root:not([data-theme="light"]) .listing_art { background-color: #ffffff; }
  :root:not([data-theme="light"]) .f_msg { color: #ff8a80; }
  :root:not([data-theme="light"]) [aria-invalid="true"], :root:not([data-theme="light"]) .f_row.is-invalid .f_check { border-color: #ff8a80; }
}

/* --- CDOレビュー反映（2026-10-08）: 文字の層を減らす・SPの見出し・タップ領域 ------------------ */
.sec_head h2 { display: flex; align-items: center; gap: 12px; }
.sec_head h2 .idx { font-family: var(--display); font-stretch: 70%; font-variation-settings: "wdth" 70; font-size: 14px; font-weight: 800; padding: 2px 8px; border-radius: 6px; background: var(--solid); color: var(--on-solid); letter-spacing: .04em; margin: 0; }
.page_head h1, .sec_head h2, .entry_lockup_ja, .dir_title { word-break: auto-phrase; text-wrap: balance; }
@media (max-width: 599px) {
  .entry_lockup_en { font-size: 14px; }   /* 英文副題を1行に収めてヒーローを縮める（応募ボタンを初見画面へ） */
  .entry_hero { padding-top: 40px; }
  .entry_lockup { margin-top: 16px; }
  .page_head_grid { display: block; position: relative; }
  .page_art { position: absolute; right: 0; top: -12px; width: 64px; }
  .page_head .fv_kicker { padding-right: 72px; }
}
.entry_note { margin-top: 12px; font-size: 13px; color: var(--on-ink-sub); }
.status_card { gap: 2px; }

/* ホームの案内カード: 立体アイコン＋タイトル＋1行 */
.dir_card { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 20px; }
.dir_art { width: 72px; margin: 0; }
.dir_body { display: grid; gap: 4px; }
.dir_title { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; }
.dir_title .ui_icon { width: 18px; height: 18px; color: var(--link); }
.dir_line { font-size: 14px; color: var(--sub); line-height: 1.6; }
.brief_tags .art { width: 40px; }

/* サポート5枚: 空きセルを作らない */
.support_grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important; }

/* FAQ のグループ見出し */
.faq_group { margin: 40px 0 12px; font-size: 18px; font-weight: 800; padding-left: 12px; border-left: 4px solid var(--accent); line-height: 1.4; }
.faq_group:first-child { margin-top: 0; }

/* 名称とロゴの図版: 墨地に白抜きロゴ（未完成に見えないように） */
.brand_art { background: #101820; border-radius: 12px; padding: 24px 28px; color: rgba(255, 255, 255, .8); }

/* ダーク: 暗い帯をページより一段明るくして輪郭を出す */
:root[data-theme="dark"] { --band: #16212c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --band: #16212c; } }
.brand_art span { color: rgba(255, 255, 255, .8); }
.page_lead, .entry_lead, .entry_p, .sec_lead { text-wrap: pretty; }
.format_head h3 { margin-top: 12px; }

/* --- 日本語の改行（2026-10-08）。文節で折る（Chrome/Edge の auto-phrase）＋見出しは行長をそろえる＋本文は末尾1〜2字の孤立を避ける。
   auto-phrase 非対応のブラウザ（Safari など）は従来どおりの折り方になる＝崩れはしない ------------- */
html[lang="ja"] body { word-break: auto-phrase; line-break: strict; }
h1, h2, h3, summary, th, dt, legend, .dir_title, .status_v, .side_link, .btn, .flow_tag, .brief_tags span { text-wrap: balance; }
p, li, dd, blockquote, figcaption, .f_help, .tips span, .dir_line { text-wrap: pretty; }
.idx, .sec_head h2 .idx { flex: none; white-space: nowrap; }
/* 駅ナンバリング風の連番: 太い環の中に路線記号と番号を縦に積む（東京の地下鉄の駅番号標の文法。色は使わない） */
.sec_head h2 .idx_station {
  display: inline-grid; place-content: center; justify-items: center; gap: 0;
  width: 2.9em; height: 2.9em; padding: 0; border-radius: 50%;
  background: var(--paper); color: var(--fg); box-shadow: inset 0 0 0 .3em var(--hl);
  font-size: 16px; line-height: 1; letter-spacing: 0;
}
.idx_station .idx_line { font-size: .72em; font-weight: 900; margin-bottom: .06em; color: var(--hl); }
.status_v { word-break: keep-all; }
.nw { white-space: nowrap; }
.support_link { margin-top: 10px; } .support_link a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--link); }
.support_link a { display: inline; min-height: 0; padding: 15px 0; line-height: 1.7; }

/* 印刷は常にライト配色（2026-10-13 CEOレビュー: 行政・大企業の稟議で印刷される）。
   帯の墨地は背景を落とすと白文字が消えるので、背景色ごと印刷させる */
@media print {
  :root:root[data-theme], :root:root:not([data-theme="light"]) {
    --paper: #ffffff; --mist: #f3f5f7; --line: #e1e5ea; --sub: #4a5562; --muted: #5f6a76;
    --fg: #101820; --solid: #101820; --on-solid: #ffffff; --solid-hover: #26323f; --band: #101820;
    --pending-bg: #fff4d6; --pending-ink: #6b4e00; --glass: rgba(255, 255, 255, .92);
    --field-line: #7a8591; --rule-dash: #ffffff; color-scheme: light;
  }
  :root:root .logo_light { display: block !important; }
  :root:root .logo_dark { display: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  :root:root .f_msg { color: #b3261e; }
  :root:root [aria-invalid="true"], :root:root .f_row.is-invalid .f_check { border-color: #b3261e; }
}

/* 応募フォームへの移動リンク（/apply の冒頭。フォーム本体が1.5画面下にあるため） */
.jump_form { margin: 24px 0 0; }

/* タブレット幅（タッチ端末）の上部バーも44pxに。パンくずは潰れて断片になるので1023px以下では出さない（見出しは page_head にある） */
@media (pointer: coarse) {
  .theme_toggle { padding: 2px; }
  .theme_toggle button { width: 44px; height: 44px; }
  .nav_btn { min-height: 44px; }
}
@media (max-width: 1023px) { .top_crumbs { display: none !important; } }
.top_crumbs a { display: inline-block; padding: 4px 0; margin: -4px 0; }  /* 24px以上（WCAG 2.5.8） */

/* 規約の見出し: 「＋／−」が2行目に落ちないよう右列に固定 */
.terms summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
.terms summary small { grid-column: 1; }
.terms summary::after { grid-column: 2; grid-row: 1 / span 2; margin: 0; }

/* ドットマトリクスのアイコンは「発車標の板」に載せる（白地だとライム 1.5:1・シアン 2.1:1 で薄いため）。
   板は .step / .form_card と同じ暗い面のレシピで、テーマで分岐しない。サイズは既存のアイコン容器の尺に寄せる
   （Fable CDO レビュー 2026-10-14: 角丸22%の真っ黒なタイルはアプリアイコンに見えて浮いていた） */
img.art:not(.page_art) { background: var(--ink-2); border: 1px solid var(--ink-3); border-radius: var(--radius); padding: 10px; box-sizing: border-box; }
.dir_art { width: 56px; height: 56px; padding: 8px; }
.format_art { width: 88px; height: 88px; padding: 12px; }
.brief_tags img.art:not(.page_art) { width: 36px; height: 36px; padding: 4px; border-radius: 10px; }
.listing_cover { background: var(--ink-2); }
