/*
Theme Name: ハイレベルAIエンジニア育成講座
Author: Yuta Sato
Version: 1.1
Description: 港区立産業振興センター／ハイレベルAIエンジニア育成講座2026
*/

  :root {
    --ink: #1a4456;
    --ink-lighter: #4a5a63;
    --ink-soft: #364146;
    --muted: #6b7a82;
    --paper: #ffffff;
    --bg: #f6fafc;
    --bg-alt: #eef3f6;
    --line: #dde1e4;
    --line-strong: #c4ccd1;
    --accent: #2978a8;
    --accent-soft: #e6eff5;
    --warn: #c94a0a;
    --warn-soft: #fff2ea;
    --ok: #1f6b3a;
    --ok-soft: #e8f3ec;
    --radius: 3px;
    --radius-sm: 2px;
    --status-open-bg: var(--warn-soft);
    --status-open-fg: var(--warn);
    --status-open-border: #e5a37a;
    --status-prep-bg: var(--bg-alt);
    --status-prep-fg: var(--ink);
    --status-prep-border: var(--line-strong);
    --status-closed-bg: #f0f2f3;
    --status-closed-fg: var(--muted);
    --status-closed-border: var(--line-strong);
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    font-family: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
    color: var(--ink-lighter);
    background: var(--paper);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
  }
  img { max-width: 100%; display: block; }
  a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
  a:hover { color: var(--ink); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  /* ===== Header ===== */
  .site-header {
    position: sticky; top: 0; z-index: 100;
    left: 0; right: 0; width: 100%;
    background: #fff;
    border-top: 2px solid var(--ink);
    border-bottom: 1px solid var(--line);
    /* iOS/Safari のスクロール時に発生する描画縮小を抑制 */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
  }
  .site-header-inner {
    max-width: 1200px; margin: 0 auto;
    width: 100%;
    padding: 14px 24px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px;
    min-height: 72px;
  }
  .brand {
    display: flex; align-items: center; gap: 14px;
    color: var(--ink); text-decoration: none;
    min-width: 0;
  }
  .brand-logo {
    height: 44px; width: auto;
    flex-shrink: 0;
    display: block;
  }
  .brand-text {
    font-weight: 700; font-size: 14.5px;
    letter-spacing: 0.02em; line-height: 1.35;
    min-width: 0;
  }
  .brand-text small {
    display: block; font-size: 11px; color: var(--muted);
    font-weight: 500; margin-top: 2px;
  }
  .gnav { display: flex; gap: 24px; font-size: 13px; font-weight: 500; }
  .gnav a { color: var(--ink-soft); text-decoration: none; }
  .gnav a:hover { color: var(--accent); }
  .menu-toggle {
    display: none;
    width: 40px; height: 40px;
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: #fff; cursor: pointer;
    padding: 10px 8px;
    flex-direction: column; justify-content: space-between;
  }
  .menu-toggle span {
    display: block; height: 2px;
    background: var(--ink);
    transition: transform .2s, opacity .2s;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  /* Mobile bottom CTA */
  .mobile-cta {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0;
    z-index: 90;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .mobile-cta-btn {
    flex: 1; text-align: center;
    padding: 14px 12px; border-radius: var(--radius);
    font-weight: 700; font-size: 14px;
    text-decoration: none;
  }
  .mobile-cta-btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
  .mobile-cta-btn.primary { background: var(--ink); color: #fff; }
  .btn-apply {
    background: var(--ink); color: #fff !important;
    padding: 10px 20px; border-radius: var(--radius);
    font-size: 13px; font-weight: 700;
    text-decoration: none;
    transition: background .2s;
  }
  .btn-apply:hover { background: #0f2e3d; }

  /* ===== Buttons ===== */
  .btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius);
    font-weight: 700; font-size: 15px;
    border: 1.5px solid var(--ink);
    background: #fff; color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s;
  }
  .btn:hover { background: var(--bg-alt); }
  .btn.primary { background: var(--ink); color: #fff; }
  .btn.primary:hover { background: #0f2e3d; }
  .btn[aria-disabled="true"],
  .btn.disabled {
    background: var(--bg-alt); color: var(--muted);
    border-color: var(--line-strong);
    cursor: not-allowed;
    pointer-events: none;
  }

  /* ===== Tags (former .chip) ===== */
  .tag {
    display: inline-block;
    font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em;
    padding: 3px 10px; border-radius: var(--radius-sm);
    border: 1px solid var(--line-strong);
    background: #fff; color: var(--ink-soft);
    white-space: nowrap;
  }
  .tag.accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
  .tag.warn { background: var(--warn-soft); color: var(--warn); border-color: var(--warn); }
  .tag.ink { background: var(--ink); color: #fff; border-color: var(--ink); }
  .tag.ok { background: var(--ok-soft); color: var(--ok); border-color: #7fbb93; }

  /* ===== Status component ===== */
  .status {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px;
    border: 1px solid var(--status-prep-border);
    background: var(--status-prep-bg);
    color: var(--status-prep-fg);
    border-radius: var(--radius);
    font-size: 13px; font-weight: 600;
    line-height: 1.5;
  }
  .status-dot {
    width: 8px; height: 8px; background: var(--status-prep-fg);
    flex-shrink: 0;
  }
  .status-label { font-weight: 800; }
  .status-detail { color: inherit; opacity: .85; font-weight: 500; }
  body[data-recruit="open"] .status {
    background: var(--status-open-bg);
    border-color: var(--status-open-border);
    color: var(--status-open-fg);
  }
  body[data-recruit="open"] .status-dot { background: var(--status-open-fg); }
  body[data-recruit="closed"] .status {
    background: var(--status-closed-bg);
    border-color: var(--status-closed-border);
    color: var(--status-closed-fg);
  }
  body[data-recruit="closed"] .status-dot { background: var(--status-closed-fg); }
  /* Label/detail swap by state */
  body[data-recruit="open"] .status-only-closed,
  body[data-recruit="closed"] .status-only-open { display: none; }
  /* Apply button activation */
  body[data-recruit="open"] .apply-btn-closed,
  body[data-recruit="closed"] .apply-btn-open { display: none; }

  /* ===== Hero ===== */
  .hero {
    position: relative;
    padding: 88px 24px 72px;
    color: #fff;
    background-color: #0e2330;
    background-image: linear-gradient(rgba(12,28,40,0.72), rgba(12,28,40,0.82)), url('img/header.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--ink);
  }
  .hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
  .hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
  .hero .tag {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
  }
  .hero .tag.ink { background: #fff; color: var(--ink); border-color: #fff; }
  .hero h1 {
    font-size: clamp(28px, 4.6vw, 46px);
    line-height: 1.35; font-weight: 900;
    color: #fff;
    letter-spacing: 0;
    margin-bottom: 18px;
  }
  .hero h1 em {
    font-style: normal;
    border-bottom: 3px solid #7ec8e8;
    padding-bottom: 2px;
  }
  .hero-sub {
    font-size: clamp(14.5px, 1.4vw, 17px);
    color: rgba(255,255,255,0.88); font-weight: 500;
    max-width: 720px; margin-bottom: 28px;
    line-height: 1.9;
  }
  .hero .status {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.32);
    color: #fff;
  }
  .hero .status-dot { background: #fff; }
  body[data-recruit="open"] .hero .status {
    background: rgba(255,180,120,0.18);
    border-color: rgba(255,180,120,0.65);
    color: #ffd3b0;
  }
  body[data-recruit="open"] .hero .status-dot { background: #ffa86e; }
  body[data-recruit="closed"] .hero .status {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.7);
  }
  body[data-recruit="closed"] .hero .status-dot { background: rgba(255,255,255,0.6); }
  .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .hero .btn {
    background: transparent; color: #fff; border-color: rgba(255,255,255,0.7);
  }
  .hero .btn:hover { background: rgba(255,255,255,0.12); }
  .hero .btn.primary { background: #fff; color: var(--ink); border-color: #fff; }
  .hero .btn.primary:hover { background: #e8f4fa; color: var(--ink); }

  /* ===== Section base ===== */
  section { padding: 72px 24px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-head {
    margin-bottom: 42px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-strong);
  }
  .section-label {
    display: inline-block;
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 12px; letter-spacing: 0.2em;
    color: var(--muted);
    padding-left: 32px; position: relative;
    margin-bottom: 10px;
  }
  .section-label::before {
    content: ""; position: absolute; left: 0; top: 50%;
    width: 24px; height: 1px; background: var(--ink);
    transform: translateY(-50%);
  }
  .section-title {
    font-size: clamp(22px, 2.8vw, 30px);
    font-weight: 800; line-height: 1.45;
    color: var(--ink);
    letter-spacing: 0;
  }
  .section-title em {
    font-style: normal;
    color: var(--ink);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 1px;
  }
  .section-lead {
    color: var(--ink-soft); font-size: 15px;
    max-width: 860px; margin-top: 14px;
    line-height: 1.95;
  }

  /* ===== Summary strip (概要サマリー) ===== */
  .summary {
    padding: 28px 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
  }
  .summary-inner { max-width: 1200px; margin: 0 auto; }
  .summary-head {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    margin-bottom: 22px;
  }
  .summary-title {
    font-size: 13px; font-weight: 800; letter-spacing: 0.14em;
    color: var(--ink); text-transform: uppercase;
    padding-left: 14px; border-left: 3px solid var(--ink);
  }
  .summary-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 0;
  }
  .summary-grid > div {
    padding: 12px 18px;
    border-left: 1px solid var(--line);
  }
  .summary-grid > div:first-child { border-left: none; padding-left: 0; }
  .summary-grid dt {
    font-size: 11px; font-weight: 700; color: var(--muted);
    letter-spacing: 0.08em; margin-bottom: 4px;
  }
  .summary-grid dd {
    font-size: 15px; font-weight: 700; color: var(--ink);
    line-height: 1.55;
  }
  .summary-grid dd small { font-size: 12px; font-weight: 500; color: var(--muted); display: block; margin-top: 2px; }

  /* ===== About / 講座概要 ===== */
  .about { background: #fff; }
  .about-body {
    max-width: 880px;
    font-size: 15.5px; line-height: 2.05; color: var(--ink-soft);
  }
  .about-body p { margin-bottom: 18px; }
  .about-body p:last-child { margin-bottom: 0; }
  .about-body b { color: var(--ink); font-weight: 700; }

  .sub-head {
    font-size: 17px; font-weight: 800; color: var(--ink);
    margin: 52px 0 22px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--ink);
  }
  .sub-head .sub-head-en {
    display: inline-block; font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.15em;
    color: var(--muted); margin-right: 12px; vertical-align: middle;
  }

  /* Changes 3-col (flat) */
  .changes-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
  }
  .change-card {
    padding: 28px 24px;
    border-left: 1px solid var(--line);
  }
  .change-card:first-child { border-left: none; }
  .change-num {
    font-family: 'Inter', sans-serif; font-weight: 700;
    font-size: 13px; letter-spacing: 0.14em;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .change-card h3 {
    font-size: 17px; font-weight: 800; color: var(--ink);
    line-height: 1.5; margin-bottom: 12px;
  }
  .change-card p {
    color: var(--ink-soft); font-size: 14px; line-height: 1.9;
  }
  .change-card b { color: var(--ink); font-weight: 700; }

  /* Skills list (outcomes) */
  .skills-list {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 0; list-style: none; padding: 0;
    border-top: 1px solid var(--line);
  }
  .skills-list li {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 18px 4px;
    border-bottom: 1px solid var(--line);
  }
  .skills-list li:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 24px; }
  .skills-list li:nth-child(even) { padding-left: 24px; }
  .skills-num {
    font-family: 'Noto Serif JP', serif;
    font-size: 22px; font-weight: 700; color: var(--ink);
    line-height: 1; flex-shrink: 0;
    min-width: 28px;
  }
  .skills-list b { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.6; }

  /* ===== 対象者 ===== */
  .target { background: var(--bg-alt); }
  .target-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 20px; margin-bottom: 28px;
  }
  .target-box {
    background: #fff; border: 1px solid var(--line-strong);
    border-radius: var(--radius); padding: 24px 28px;
  }
  .target-box-label {
    font-size: 11px; font-weight: 700; color: var(--muted);
    letter-spacing: 0.12em; margin-bottom: 8px;
  }
  .target-box-value {
    font-size: 22px; font-weight: 800; color: var(--ink);
    line-height: 1.5; margin-bottom: 10px;
  }
  .target-box-note {
    font-size: 13.5px; color: var(--ink-soft); line-height: 1.85;
  }
  .target-box-note b { color: var(--ink); font-weight: 700; }

  .target-level {
    background: #fff; border: 1px solid var(--line-strong);
    border-radius: var(--radius); padding: 24px 28px;
    margin-bottom: 28px;
  }
  .target-level h3 {
    font-size: 16px; font-weight: 800; color: var(--ink);
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
  }
  .target-level h3 b { font-weight: 800; color: var(--warn); }
  .target-level-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
  }
  .target-level-col h4 {
    display: inline-block;
    font-size: 12px; font-weight: 800; color: var(--ink);
    letter-spacing: 0.08em;
    padding: 3px 10px; margin-bottom: 12px;
    background: var(--bg-alt); border-radius: var(--radius-sm);
  }
  .target-level-col ul {
    list-style: none; padding: 0; font-size: 14px;
    color: var(--ink-soft); line-height: 1.9;
  }
  .target-level-col li { padding-left: 16px; position: relative; }
  .target-level-col li::before {
    content: "−"; position: absolute; left: 0; color: var(--accent);
    font-weight: 700;
  }
  .target-level-col li b { color: var(--ink); font-weight: 700; }
  .target-level-col .col-note {
    font-size: 12.5px; color: var(--muted);
    background: var(--bg); padding: 10px 12px; border-radius: var(--radius);
    margin-top: 12px; line-height: 1.75;
    border: 1px solid var(--line);
  }

  .target-requirements {
    background: #fff; border: 1px solid var(--line-strong);
    border-radius: var(--radius); padding: 24px 28px;
  }
  .target-requirements h3 {
    font-size: 15px; font-weight: 800; color: var(--ink);
    margin-bottom: 16px;
  }
  .target-requirements ol {
    list-style: none; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    counter-reset: req;
  }
  .target-requirements li {
    counter-increment: req;
    padding: 14px 16px 14px 44px;
    position: relative;
    border-top: 1px solid var(--line);
    font-size: 14px;
    color: var(--ink);
    line-height: 1.7;
  }
  .target-requirements li:nth-child(-n+2) { border-top: none; }
  .target-requirements li:nth-child(odd) { border-right: 1px solid var(--line); }
  .target-requirements li::before {
    content: counter(req, decimal-leading-zero);
    position: absolute; left: 12px; top: 14px;
    font-family: 'Noto Serif JP', serif;
    font-size: 15px; font-weight: 700;
    color: var(--accent);
  }
  .target-requirements li b { font-weight: 700; color: var(--ink); }
  .target-requirements li p {
    font-size: 12.5px; color: var(--muted); margin-top: 4px; line-height: 1.7;
  }

  /* ===== 学習ステップ ===== */
  .process { background: #fff; }
  .jit-flow { max-width: 980px; margin: 0 auto 36px; }
  .jit-phase {
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 20px 24px 24px;
  }
  .jit-phase-head {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    padding-bottom: 14px; margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .jit-phase-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    color: #fff; background: var(--ink);
    padding: 4px 10px; border-radius: var(--radius-sm);
  }
  .jit-phase-title {
    font-size: 15.5px; font-weight: 800; color: var(--ink);
  }
  .jit-phase-desc {
    font-size: 12.5px; color: var(--muted);
    margin-left: auto;
  }
  .jit-box {
    border: 1px solid var(--line-strong);
    background: #fff;
    padding: 14px 16px;
    border-radius: var(--radius);
  }
  .jit-box-num {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 4px;
  }
  .jit-box h5 {
    font-size: 14.5px; font-weight: 800; color: var(--ink);
    margin-bottom: 6px; line-height: 1.5;
  }
  .jit-box p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.75; }
  .jit-single {
    border: 1px solid var(--line-strong);
    background: var(--bg);
    padding: 16px 18px;
    border-radius: var(--radius);
  }
  .jit-single .jit-box-num { color: var(--accent); }
  .jit-single h5 { font-size: 15px; font-weight: 800; color: var(--ink); margin: 2px 0 6px; }
  .jit-single p { font-size: 13px; color: var(--ink-soft); line-height: 1.85; }
  .jit-arrow {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 18px; font-weight: 700;
    color: var(--ink);
    padding: 8px 0;
    letter-spacing: 0.1em;
  }
  .jit-cycle {
    position: relative;
    padding: 22px 18px 16px;
    background: var(--bg-alt);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
  }
  .jit-cycle-label {
    position: absolute; top: -10px; left: 18px;
    background: var(--ink); color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
    padding: 3px 10px; border-radius: var(--radius-sm);
  }
  .jit-cycle-grid {
    display: grid;
    grid-template-columns: 1fr 16px 1fr 16px 1fr 16px 1fr;
    gap: 10px;
    align-items: stretch;
  }
  .jit-cycle-arrow {
    align-self: center;
    text-align: center;
    color: var(--ink);
    font-weight: 700; font-size: 18px;
  }
  .jit-loop-note {
    margin-top: 14px; padding-top: 12px;
    border-top: 1px dashed var(--line-strong);
    font-size: 12.5px; color: var(--ink-soft);
    line-height: 1.8; text-align: center;
  }
  .jit-loop-note b { color: var(--ink); font-weight: 800; }
  .jit-goal {
    margin-top: 16px;
    display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
    border: 2px solid var(--ink);
    background: #fff;
    padding: 16px 20px;
    border-radius: var(--radius);
  }
  .jit-goal-label {
    font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    background: var(--ink); color: #fff;
    padding: 4px 10px; border-radius: var(--radius-sm);
  }
  .jit-goal-text {
    font-size: 15px; font-weight: 800; color: var(--ink);
  }
  .jit-goal-text small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 2px; }

  /* Sessions table */
  .sessions {
    margin-top: 56px;
  }
  .sessions-formats {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 8px 10px;
    margin-bottom: 14px;
    font-size: 12px;
  }
  .sessions-formats > span { white-space: nowrap; }
  .sessions-head {
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    padding-bottom: 12px; margin-bottom: 18px;
    border-bottom: 2px solid var(--ink);
  }
  .sessions-badge {
    background: var(--ink); color: #fff;
    font-weight: 700; font-size: 12px; letter-spacing: 0.08em;
    padding: 5px 12px; border-radius: var(--radius-sm);
  }
  .sessions-title { font-size: 16px; font-weight: 800; color: var(--ink); }
  .sessions-table { width: 100%; border-collapse: collapse; font-size: 14px; }
  .sessions-table th, .sessions-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left; vertical-align: middle;
  }
  .sessions-table thead th {
    background: var(--bg-alt); color: var(--ink-soft);
    font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
    border-bottom: 1px solid var(--line-strong);
    border-top: 1px solid var(--line-strong);
  }
  .sessions-table tbody tr:nth-child(even) { background: var(--bg); }
  .sessions-table td:first-child {
    font-family: 'Noto Serif JP', serif; font-weight: 700;
    color: var(--ink); font-size: 16px; width: 44px; text-align: center;
  }
  .sessions-table td:nth-child(2) { font-weight: 700; min-width: 220px; color: var(--ink); }
  .sessions-table td:nth-child(3) { font-family: 'Inter', sans-serif; font-weight: 600; white-space: nowrap; }
  .sessions-table td:nth-child(4) { color: var(--muted); width: 40px; }
  .sessions-table td:nth-child(5) { white-space: nowrap; color: var(--ink-soft); }
  .pill {
    display: inline-block;
    padding: 2px 8px; border-radius: var(--radius-sm);
    font-size: 12px; font-weight: 600;
    background: var(--bg-alt); border: 1px solid var(--line-strong); color: var(--ink-soft);
  }
  .pill.offline { background: var(--ok-soft); border-color: #7fbb93; color: var(--ok); }
  .pill.online { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
  .pill.hack { background: var(--warn-soft); border-color: var(--warn); color: var(--warn); }
  .pill.live {
    background: var(--bg-alt);
    border-color: var(--line-strong);
    color: var(--ink);
  }
  .pill.support {
    background: #edf0fa;
    border-color: #8a9ab0;
    color: #3d4a6b;
  }

  .process-note {
    margin-top: 22px;
    font-size: 13px; color: var(--ink-soft); line-height: 1.85;
    padding: 16px 20px;
    background: var(--bg); border-left: 3px solid var(--ink);
  }
  .process-note b { color: var(--ink); }

  /* ===== 講座一覧 / Program list ===== */
  .program { background: var(--bg); }
  .program-table-wrap { overflow-x: auto; margin-bottom: 48px; }
  .program-table {
    width: 100%; border-collapse: collapse;
    font-size: 14px;
    background: #fff;
    border: 1px solid var(--line-strong);
  }
  .program-table th, .program-table td {
    padding: 14px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left; vertical-align: top;
  }
  .program-table thead th {
    background: var(--ink); color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
    border-bottom: none;
    text-align: left;
  }
  .program-table tbody th {
    font-weight: 800; color: var(--ink);
    background: var(--bg-alt);
    border-right: 1px solid var(--line-strong);
    width: 200px;
  }
  .program-table tbody th small {
    display: block; font-family: 'Inter', sans-serif;
    font-size: 11px; font-weight: 700; color: var(--muted);
    letter-spacing: 0.1em; margin-bottom: 4px;
  }
  .program-table .program-link {
    display: block;
    color: var(--ink);
    text-decoration: none;
  }
  .program-table .program-link:hover {
    color: var(--accent);
    text-decoration: underline;
  }
  .program-table tbody tr:last-child th,
  .program-table tbody tr:last-child td { border-bottom: none; }
  .program-table td.fmt { white-space: nowrap; }
  .program-table td.fmt .pill { margin-right: 4px; margin-bottom: 4px; }
  .program-table td.hours { white-space: nowrap; font-family: 'Inter', sans-serif; font-weight: 600; }
  .program-table td.goal { color: var(--ink-soft); }

  /* Detail program cards */
  .program-stack {
    display: flex; flex-direction: column; gap: 20px;
  }
  .program-card {
    background: #fff; border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    padding: 34px 36px;
    scroll-margin-top: 110px;
  }
  .program-card-head {
    display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
    margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
  }
  .program-num {
    font-family: 'Inter', sans-serif; font-size: 12px;
    font-weight: 800; color: var(--ink);
    letter-spacing: 0.14em;
    padding-right: 10px;
    border-right: 1px solid var(--line-strong);
    margin-right: 6px;
  }
  .format-tag {
    display: inline-block;
    font-size: 11.5px; font-weight: 700;
    padding: 3px 10px; border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
    border: 1px solid;
  }
  .format-tag.elearning { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }
  .format-tag.live { background: var(--bg-alt); color: var(--ink); border-color: var(--line-strong); }
  .format-tag.offline { background: var(--warn-soft); color: var(--warn); border-color: var(--warn); }
  .format-tag.chat {
    background: #edf0fa;
    color: #3d4a6b;
    border-color: #8a9ab0;
  }
  .program-card h3 {
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 800; line-height: 1.5;
    color: var(--ink);
    margin-bottom: 14px;
  }
  .program-card-intro {
    font-size: 14.5px; color: var(--ink-soft);
    line-height: 1.95; margin-bottom: 18px;
  }
  .program-meta {
    display: flex; flex-wrap: wrap;
    font-size: 13px; color: var(--ink-soft);
    margin-bottom: 22px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .program-meta span {
    padding: 10px 18px 10px 0;
    margin-right: 18px;
  }
  .program-meta span + span {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .program-meta b { color: var(--ink); font-weight: 700; margin-right: 4px; }

  .program-goal, .program-skills { margin-bottom: 20px; }
  .program-goal-label, .program-skills-label {
    display: inline-block;
    padding: 3px 10px; border: 1px solid var(--line-strong);
    background: var(--bg-alt);
    font-size: 12px; font-weight: 700; color: var(--ink);
    margin-bottom: 10px; border-radius: var(--radius-sm);
  }
  .program-goal ul, .program-skills ul {
    list-style: none; padding: 0; font-size: 14px;
    color: var(--ink-soft); line-height: 1.85;
  }
  .program-goal li, .program-skills li { padding-left: 16px; position: relative; }
  .program-goal li::before, .program-skills li::before {
    content: "−"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
  }

  /* Curriculum accordion */
  .curriculum {
    margin-top: 20px;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
  }
  .curriculum-toggle {
    width: 100%; background: none; border: none;
    padding: 16px 4px;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer;
    font-family: inherit; text-align: left;
    font-size: 15px; font-weight: 800; color: var(--ink);
  }
  .curriculum-toggle:hover { color: var(--accent); }
  .curriculum-arrow {
    width: 22px; height: 22px; flex-shrink: 0;
    border: 1px solid var(--ink);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink); font-size: 11px;
    transition: transform .3s ease;
    background: #fff;
  }
  .curriculum-toggle[aria-expanded="true"] .curriculum-arrow {
    transform: rotate(180deg);
    background: var(--ink); color: #fff;
  }
  .curriculum-panel {
    max-height: 0; overflow: hidden;
    transition: max-height .4s ease;
    background: var(--bg);
  }
  .curriculum-panel.open { max-height: 3000px; }
  .curriculum-panel-inner { padding: 24px 28px; }
  .curriculum-list { list-style: none; padding: 0; counter-reset: cur; }
  .curriculum-list > li {
    position: relative;
    display: grid; grid-template-columns: 44px 1fr;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    counter-increment: cur;
  }
  .curriculum-list > li:last-child { border-bottom: none; }
  .curriculum-list > li::before {
    content: counter(cur, decimal-leading-zero);
    width: 36px; height: 36px;
    border: 1px solid var(--ink);
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: 700; font-size: 13px;
    color: var(--ink);
    border-radius: var(--radius-sm);
  }
  .curriculum-list .cur-title {
    font-size: 14.5px; font-weight: 800; color: var(--ink);
    margin-bottom: 2px; line-height: 1.55;
  }
  .curriculum-list .cur-content {
    font-size: 13px; color: var(--ink-soft); line-height: 1.8;
  }
  .cur-section-label {
    display: inline-block;
    font-size: 11px; font-weight: 800; color: #fff;
    background: var(--ink);
    padding: 3px 10px; border-radius: var(--radius-sm);
    letter-spacing: 0.08em;
    margin: 14px 0 10px;
  }
  .cur-section-label:first-child { margin-top: 0; }
  .cur-note {
    margin-top: 14px; font-size: 12.5px; color: var(--ink-soft);
    background: #fff; padding: 10px 12px; border-radius: var(--radius);
    border: 1px solid var(--line);
  }

  /* ===== 費用・定員 ===== */
  .fee { background: #fff; }
  .fee-table {
    width: 100%; border-collapse: collapse;
    margin-bottom: 40px;
    border: 1px solid var(--line-strong);
  }
  .fee-table th, .fee-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    text-align: left; vertical-align: top;
    font-size: 15px;
  }
  .fee-table tr:last-child th, .fee-table tr:last-child td { border-bottom: none; }
  .fee-table th {
    width: 180px; background: var(--bg-alt); color: var(--ink);
    font-weight: 800;
    border-right: 1px solid var(--line-strong);
  }
  .fee-table td { color: var(--ink-soft); }
  .fee-table td strong {
    display: block;
    font-family: 'Noto Serif JP', serif;
    font-size: 28px; font-weight: 700;
    color: var(--ink); line-height: 1.2;
    margin-bottom: 4px;
  }
  .fee-table td em {
    font-style: normal; color: var(--ink); font-weight: 700;
  }

  /* Requirements box */
  .reqs-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .reqs-card {
    background: #fff; border: 1px solid var(--line-strong);
    border-radius: var(--radius); padding: 22px 26px;
  }
  .reqs-card h4 {
    font-size: 14.5px; font-weight: 800; color: var(--ink);
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  .reqs-card h4 small { color: var(--muted); font-weight: 500; font-size: 12px; margin-left: 6px; }
  .reqs-card p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; margin-bottom: 8px; }
  .reqs-card p:last-child { margin-bottom: 0; }
  .reqs-card p.note { font-size: 12.5px; color: var(--muted); background: var(--bg); padding: 10px 12px; border-radius: var(--radius); border: 1px solid var(--line); }
  .reqs-card b { color: var(--ink); font-weight: 700; }
  .spec-list { list-style: none; padding: 0; margin-bottom: 10px; }
  .spec-list li {
    padding: 7px 0; border-bottom: 1px dotted var(--line);
    font-size: 13.5px; color: var(--ink-soft);
  }
  .spec-list li:last-child { border-bottom: none; }
  .spec-list b { color: var(--ink); font-weight: 700; margin-right: 6px; }

  /* ===== 会場 ===== */
  .venue { background: var(--bg-alt); }
  .venue-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: stretch; }
  .venue-info {
    background: #fff; border: 1px solid var(--line-strong); border-radius: var(--radius);
    padding: 28px 32px;
  }
  .venue-name { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
  .venue-addr {
    font-size: 14.5px; line-height: 1.9; color: var(--ink-soft);
    margin-bottom: 18px;
  }
  .venue-addr b { color: var(--ink); font-weight: 700; font-size: 15.5px; }
  .venue-facilities {
    list-style: none; padding: 0; margin-bottom: 14px;
    font-size: 14px; color: var(--ink-soft);
  }
  .venue-facilities li {
    padding: 8px 0 8px 16px; position: relative;
    border-bottom: 1px solid var(--line);
  }
  .venue-facilities li::before {
    content: "−"; position: absolute; left: 0; color: var(--accent); font-weight: 700;
  }
  .venue-facilities li:last-child { border-bottom: none; }
  .venue-note {
    font-size: 12.5px; color: var(--ink-soft); line-height: 1.8;
    padding: 12px 14px;
    background: var(--bg);
    border-left: 3px solid var(--ink);
  }
  .venue-visual {
    border: 1px solid var(--line-strong); border-radius: var(--radius);
    min-height: 280px;
    background: var(--bg);
    overflow: hidden;
    position: relative;
  }
  .venue-visual img {
    width: 100%; height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
  }
  .venue-visual figcaption {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 8px 12px;
    background: rgba(26,68,86,0.82);
    color: #fff; font-size: 12px; line-height: 1.6;
  }

  /* ===== 申込方法 ===== */
  .apply { background: #fff; }
  .apply-grid {
    display: flex; flex-direction: column;
    gap: 24px;
    max-width: 860px; margin: 0 auto;
  }
  .apply-flow {
    background: #fff; border: 1px solid var(--line-strong);
    border-radius: var(--radius); padding: 28px 32px;
  }
  .apply-flow h3 {
    font-size: 15px; font-weight: 800; color: var(--ink);
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid var(--line-strong);
  }
  .apply-steps {
    list-style: none; padding: 0; counter-reset: astep;
  }
  .apply-steps li {
    counter-increment: astep;
    padding: 14px 0 14px 44px; position: relative;
    border-bottom: 1px solid var(--line);
    font-size: 14px; color: var(--ink-soft); line-height: 1.8;
  }
  .apply-steps li:last-child { border-bottom: none; }
  .apply-steps li::before {
    content: counter(astep);
    position: absolute; left: 0; top: 14px;
    width: 28px; height: 28px;
    border: 1px solid var(--ink); background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-size: 13px; font-weight: 700; color: var(--ink);
    border-radius: var(--radius-sm);
  }
  .apply-steps li b { color: var(--ink); font-weight: 700; }

  .recruit-box {
    background: #fff; border: 2px solid var(--ink);
    border-radius: var(--radius);
    padding: 28px 32px;
  }
  .recruit-box h3 {
    font-size: 15px; font-weight: 800; color: var(--ink);
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 2px solid var(--ink);
    display: flex; justify-content: space-between; align-items: center;
    gap: 10px; flex-wrap: wrap;
  }
  .recruit-box dl {
    margin: 0 0 20px; font-size: 14px;
  }
  .recruit-box dl > div {
    display: grid; grid-template-columns: 100px 1fr;
    gap: 12px; padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }
  .recruit-box dl > div:last-child { border-bottom: none; }
  .recruit-box dt { font-weight: 700; color: var(--muted); font-size: 12px; padding-top: 2px; letter-spacing: 0.04em; }
  .recruit-box dd { color: var(--ink); font-weight: 600; }
  .recruit-actions { display: flex; flex-direction: column; gap: 10px; }
  .recruit-actions .btn { justify-content: center; }
  .recruit-note {
    font-size: 12px; color: var(--muted); line-height: 1.8;
    margin-top: 12px;
  }
  .apply-notes {
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-left: 3px solid var(--ink);
    border-radius: var(--radius);
    padding: 20px 24px;
  }
  .apply-notes h3 {
    font-size: 14px; font-weight: 800; color: var(--ink);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
  .apply-notes ul {
    list-style: none; padding: 0;
    font-size: 13px; color: var(--ink-soft); line-height: 1.9;
  }
  .apply-notes li { padding-left: 18px; position: relative; }
  .apply-notes li + li { margin-top: 8px; }
  .apply-notes li::before {
    content: "※"; position: absolute; left: 0;
    color: var(--muted); font-weight: 700;
  }

  /* ===== Footer ===== */
  footer {
    background: var(--ink);
    color: rgba(255,255,255,.85);
    padding: 52px 24px 24px;
    font-size: 13px;
  }
  .foot-inner { max-width: 1200px; margin: 0 auto; }
  .foot-brand { padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.18); margin-bottom: 26px; }
  .foot-title { font-size: 17px; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: 0.02em; }
  .foot-sub { font-size: 12.5px; color: rgba(255,255,255,.7); line-height: 1.85; }
  .foot-cols { display: grid; grid-template-columns: 1.2fr 1fr 1.4fr; gap: 40px; margin-bottom: 32px; }
  .foot-label {
    font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
    color: #fff; margin-bottom: 8px;
    padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.22);
  }
  .foot-text { font-size: 13px; line-height: 1.9; color: rgba(255,255,255,.85); }
  .foot-text small { font-size: 11.5px; color: rgba(255,255,255,.6); display: block; margin-top: 2px; }
  .foot-text a { color: #fff; text-decoration: underline; }
  .foot-copy {
    max-width: 1200px; margin: 0 auto;
    padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12);
    text-align: center; font-size: 11px; color: rgba(255,255,255,.5);
    letter-spacing: 0.08em;
  }

  /* ===== Responsive ===== */
  @media (max-width: 1000px) {
    .summary-grid { grid-template-columns: repeat(3, 1fr); }
    .summary-grid > div { border-top: 1px solid var(--line); padding: 12px 14px; }
    .summary-grid > div:first-child,
    .summary-grid > div:nth-child(4) { border-left: none; padding-left: 0; }
    .summary-grid > div:nth-child(-n+3) { border-top: none; }
    .changes-grid { grid-template-columns: 1fr; }
    .change-card { border-left: none; border-top: 1px solid var(--line); padding: 22px 0; }
    .change-card:first-child { border-top: none; }
    .target-row, .venue-grid, .apply-grid, .reqs-grid,
    .target-level-grid, .target-requirements ol { grid-template-columns: 1fr; }
    .target-requirements li:nth-child(-n+2) { border-top: 1px solid var(--line); }
    .target-requirements li:first-child { border-top: none; }
    .target-requirements li:nth-child(odd) { border-right: none; }
    .skills-list { grid-template-columns: 1fr; }
    .skills-list li:nth-child(odd) { border-right: none; padding-right: 4px; }
    .skills-list li:nth-child(even) { padding-left: 4px; }
    .program-table tbody th { width: auto; }
  }
  @media (max-width: 900px) {
    .desktop-only { display: none !important; }
    .menu-toggle { display: flex; }
    .brand { gap: 10px; }
    .brand-logo { height: 36px; }
    .brand-text { font-size: 13px; }
    .brand-text small { display: none; }
    .gnav {
      position: absolute; top: 100%; left: 0; right: 0;
      background: #fff; border-bottom: 1px solid var(--line);
      padding: 12px 24px;
      flex-direction: column; gap: 0;
      display: none;
    }
    .gnav.open { display: flex; }
    .gnav a {
      padding: 14px 0; border-bottom: 1px solid var(--line);
      font-size: 15px;
    }
    .gnav a:last-child { border-bottom: none; }
    .mobile-cta { display: flex; }
    body { padding-bottom: 84px; }
    .hero { padding: 52px 20px 48px; }
    section { padding: 56px 20px; }
    .summary { padding: 22px 20px; }
    .program-card { padding: 24px 20px; }
    .fee-table th, .fee-table td { padding: 14px 16px; font-size: 14px; }
    .fee-table th { width: 120px; }
    .apply-flow, .recruit-box, .target-box, .target-level, .target-requirements,
    .venue-info, .reqs-card { padding: 22px 20px; }
  }
  @media (max-width: 640px) {
    .summary-grid { grid-template-columns: repeat(2, 1fr); }
    .summary-grid > div,
    .summary-grid > div:first-child,
    .summary-grid > div:nth-child(4) { border-left: none; padding: 10px 0; border-top: 1px solid var(--line); }
    .summary-grid > div:first-child,
    .summary-grid > div:nth-child(2) { border-top: none; }
    /* Program table -> labeled rows */
    .program-table, .program-table thead, .program-table tbody,
    .program-table tr, .program-table th, .program-table td { display: block; }
    .program-table thead { display: none; }
    .program-table tbody tr {
      border-bottom: 1px solid var(--line-strong);
      padding: 12px 14px;
    }
    .program-table tbody tr:last-child { border-bottom: none; }
    .program-table tbody th {
      width: auto; background: transparent;
      border-right: none; padding: 4px 0 10px;
      border-bottom: 1px solid var(--line);
      margin-bottom: 8px;
    }
    .program-table tbody td {
      padding: 6px 0; border: none;
      font-size: 13.5px;
    }
    .program-table tbody td::before {
      content: attr(data-label) "：";
      display: inline-block;
      min-width: 64px;
      font-weight: 700; color: var(--muted);
      font-size: 12px;
    }
    .sessions-formats { gap: 6px 8px; margin-bottom: 12px; }
    .sessions-table { font-size: 13px; display: block; overflow-x: auto; white-space: nowrap; }
    .sessions-table th, .sessions-table td { padding: 10px 8px; }
    .jit-cycle-grid { grid-template-columns: 1fr; gap: 8px; }
    .jit-cycle-arrow { transform: rotate(90deg); padding: 2px 0; }
    .jit-phase-desc { margin-left: 0; width: 100%; }
    .program-meta { flex-direction: column; }
    .program-meta span { padding: 8px 0; margin: 0; border-left: none !important; border-bottom: 1px solid var(--line); }
    .program-meta span:last-child { border-bottom: none; }
    .recruit-box dl > div { grid-template-columns: 1fr; gap: 2px; }
    .program-card { padding: 22px 18px; }
    .curriculum-panel-inner { padding: 18px 16px; }
    .curriculum-list > li { grid-template-columns: 32px 1fr; gap: 12px; }
    .curriculum-list > li::before { width: 28px; height: 28px; font-size: 11px; }
  }
