/* 資格の法改正ラボ
 * 色は note の資格ラボと揃える（docs/profile.md・docs/profile_icon_brief.md）：
 *   紺 #172c44（主）／ミント #6ed8c7（アクセント）／深緑 #258981（リンク・強調）／生成り #f5f7f8（地）
 *   この4色の濃淡と白・グレーだけ。色はすべてここの変数で決める。
 * コントラスト（WCAG AA）：明るい地の文字のリンクは深緑を少し濃くした #1d6f68（生成りの上で 5.5:1）。
 *   ミントは明るい地では線と飾りだけに使い、数字は紺の上に置く（紺の上で 8.2:1）。
 * 外部のフォント・CDN は読み込まない。
 */
:root {
  --navy: #172c44;
  --navy-deep: #0f1f31;
  --navy-2: #2c4766;
  --navy-tint: #e2e8ef;
  --mint: #6ed8c7;
  --mint-tint: #d9f4ef;
  --green: #258981;
  --green-ink: #1d6f68;
  --kinari: #f5f7f8;
  --white: #ffffff;

  --bg: var(--kinari);
  --surface: var(--white);
  --surface-2: #eef2f5;
  --fg: var(--navy);
  --muted: #56667a;
  --line: #d5dde5;
  --line-soft: #e6ebf0;
  --link: var(--green-ink);
  --heading: var(--navy);
  --chip-bg: var(--navy);
  --chip-fg: var(--kinari);
  --chip-num: var(--mint);
  --btn-bg: var(--green);
  --btn-bg-hover: var(--green-ink);
  --btn-fg: var(--white);
  --head-bg: var(--navy);
  --head-fg: var(--kinari);
  --pagehead-bg: var(--white);
  --unv-bg: #e4e9ee;
  --unv-fg: #34465a;
  --unv-line: #8494a6;
  --shadow: 0 1px 2px rgba(23, 44, 68, 0.06), 0 4px 14px rgba(23, 44, 68, 0.06);

  /* 分野の色ラベル（4色の濃淡だけ） */
  --cat-realestate-bg: var(--navy);       --cat-realestate-fg: var(--kinari);
  --cat-law-bg: var(--green-ink);         --cat-law-fg: var(--white);
  --cat-care-bg: var(--mint);             --cat-care-fg: var(--navy);
  --cat-labor-bg: var(--mint-tint);       --cat-labor-fg: var(--green-ink);
  --cat-finance-bg: var(--navy-tint);     --cat-finance-fg: var(--navy);
  --cat-other-bg: var(--white);           --cat-other-fg: var(--muted);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: var(--navy);
    --surface: #1e3754;
    --surface-2: #213c5b;
    --fg: var(--kinari);
    --muted: #a9b6c4;
    --line: #36506f;
    --line-soft: #2a4463;
    --link: var(--mint);
    --heading: var(--kinari);
    --chip-bg: var(--navy-deep);
    --chip-fg: var(--kinari);
    --chip-num: var(--mint);
    --btn-bg: var(--green-ink);
    --btn-bg-hover: var(--green);
    --btn-fg: var(--white);
    --head-bg: var(--navy-deep);
    --head-fg: var(--kinari);
    --pagehead-bg: #1a3150;
    --unv-bg: #2c4766;
    --unv-fg: var(--kinari);
    --unv-line: #8ea1b6;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.25);

    --cat-realestate-bg: var(--kinari);   --cat-realestate-fg: var(--navy);
    --cat-law-bg: var(--green-ink);       --cat-law-fg: var(--white);
    --cat-care-bg: var(--mint);           --cat-care-fg: var(--navy);
    --cat-labor-bg: transparent;          --cat-labor-fg: var(--mint);
    --cat-finance-bg: var(--navy-2);      --cat-finance-fg: var(--kinari);
    --cat-other-bg: transparent;          --cat-other-fg: #c3ccd6;
  }
}

/* ---------- 土台 ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  font-feature-settings: "palt" 0;
}
a { color: var(--link); overflow-wrap: anywhere; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, .apply-link:focus-visible, .pill:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ---------- ヘッダー（紺の帯にミントの細い線） ---------- */
.site-header { background: var(--head-bg); color: var(--head-fg); border-bottom: 3px solid var(--mint); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; min-height: 60px; }
.site-name { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--head-fg); text-decoration: none; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.04em; }
.site-logo { display: block; width: 36px; height: 36px; border-radius: 8px; flex: none; }
.site-nav { display: flex; gap: 4px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--head-fg); text-decoration: none; font-size: 0.95rem; border-radius: 6px; }
.site-nav a:hover { background: rgba(110, 216, 199, 0.14); color: var(--mint); }

/* ---------- ページの見出し ---------- */
.page-head { background: var(--pagehead-bg); border-bottom: 1px solid var(--line-soft); padding: 4px 0 20px; }
.crumbs { margin: 6px 0 0; font-size: 0.85rem; color: var(--muted); }
.crumbs:empty { display: none; }
.crumbs a { display: inline-block; padding: 8px 0; color: var(--muted); }
h1 { margin: 6px 0 0; font-size: 1.75rem; line-height: 1.4; font-weight: 800; color: var(--heading); letter-spacing: 0.02em; }
.page-meta { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }

/* トップ：冠と一言の紺の帯 */
.home .page-head { background: var(--head-bg); color: var(--head-fg); border-bottom: 0; padding: 36px 0 44px; position: relative; overflow: hidden; }
.home .page-head::after {
  /* しおりの形の飾り（ミント） */
  content: ""; position: absolute; right: max(16px, calc(50% - 504px)); top: 0;
  width: 28px; height: 72px; background: var(--mint);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 78%, 0 100%);
  opacity: 0.9;
}
.home h1 { color: var(--head-fg); font-size: clamp(1.9rem, 6vw, 2.6rem); letter-spacing: 0.06em; }
.tagline { margin: 10px 0 0; font-size: 1.05rem; color: var(--head-fg); opacity: 0.92; }
.tagline::before { content: ""; display: block; width: 48px; height: 3px; margin: 0 0 12px; background: var(--mint); border-radius: 2px; }

/* ---------- 本文 ---------- */
main { padding-top: 8px; padding-bottom: 40px; }
h2 { position: relative; margin: 44px 0 14px; padding-left: 14px; font-size: 1.3rem; line-height: 1.5; font-weight: 800; color: var(--heading); }
h2::before { content: ""; position: absolute; left: 0; top: 0.25em; bottom: 0.25em; width: 4px; border-radius: 2px; background: var(--mint); }
h3 { margin: 28px 0 8px; font-size: 1.08rem; line-height: 1.5; font-weight: 700; color: var(--heading); }
p { margin: 8px 0; }
ul { padding-left: 1.4em; }
strong { font-weight: 700; }
.note { color: var(--muted); font-size: 0.9rem; }
.src { color: var(--muted); font-size: 0.8rem; line-height: 1.6; }
.src a { color: var(--muted); }
blockquote { margin: 10px 0; padding: 12px 16px; border-left: 4px solid var(--mint); background: var(--surface); border-radius: 0 8px 8px 0; }

/* 未確認・取れなかった（色は増やさない：灰と紺の濃淡＋破線） */
.unverified { display: inline-block; padding: 0 6px; border: 1px dashed var(--unv-line); border-radius: 4px; background: var(--unv-bg); color: var(--unv-fg); font-size: 0.85em; line-height: 1.6; font-weight: 600; }
.failed { padding: 10px 14px; border-left: 4px solid var(--fg); border-radius: 0 8px 8px 0; background: var(--unv-bg); color: var(--unv-fg); }

/* ---------- ラベル ---------- */
.tag, .badge { display: inline-block; padding: 1px 9px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; line-height: 1.7; white-space: nowrap; vertical-align: 0.1em; border: 1px solid transparent; }
.badge { margin-left: 6px; background: var(--surface-2); color: var(--fg); border-color: var(--line); }
.badge.warn { background: var(--surface); color: var(--fg); border: 1px solid var(--fg); }
.tag.status, .tag.kind { background: var(--surface-2); color: var(--fg); border-color: var(--line); }
.tag.kind-exam { background: var(--chip-bg); color: var(--chip-fg); }
.tag.kind-law { background: var(--cat-labor-bg); color: var(--cat-labor-fg); border-color: var(--green); }
.cat, [data-cat] > .cat { background: var(--cat-other-bg); color: var(--cat-other-fg); border-color: var(--line); }
.cat[data-cat="不動産"] { background: var(--cat-realestate-bg); color: var(--cat-realestate-fg); border-color: var(--cat-realestate-bg); }
.cat[data-cat="法律"] { background: var(--cat-law-bg); color: var(--cat-law-fg); border-color: var(--cat-law-bg); }
.cat[data-cat="医療・福祉"] { background: var(--cat-care-bg); color: var(--cat-care-fg); border-color: var(--cat-care-bg); }
.cat[data-cat="労務・衛生"] { background: var(--cat-labor-bg); color: var(--cat-labor-fg); border-color: var(--green); }
.cat[data-cat="会計・金融"] { background: var(--cat-finance-bg); color: var(--cat-finance-fg); border-color: var(--cat-finance-bg); }

/* ---------- カウントダウン（紺の札にミントの数字） ---------- */
.countdown:empty { display: none; }
.countdown { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 2px; margin: 6px 0 0; padding: 6px 14px; border-radius: 10px; background: var(--chip-bg); color: var(--chip-fg); font-size: 0.9rem; font-weight: 600; line-height: 1.5; }
.countdown .cd-num { padding: 0 4px; color: var(--chip-num); font-size: 2rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.countdown.is-over { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
td .countdown { display: flex; margin-left: 0; }

/* ---------- トップ：試験のカード ---------- */
.card-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 14px; }
.exam-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 16px 18px 18px; background: var(--surface); border: 1px solid var(--line-soft); border-top: 4px solid var(--mint); border-radius: 12px; box-shadow: var(--shadow); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.exam-card--planned { border-top-color: var(--line); }
.exam-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(23, 44, 68, 0.08), 0 10px 24px rgba(23, 44, 68, 0.1); }
.card-meta { margin: 0; }
.card-title { margin: 6px 0 2px; font-size: 1.08rem; line-height: 1.5; }
.card-title a { color: var(--heading); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: 12px; } /* カード全体を押せる */
.card-title a:hover { text-decoration: underline; }
.card-date { margin: 0; color: var(--muted); font-size: 0.88rem; }
.card-date strong { color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.exam-card .countdown { align-self: flex-start; margin-top: 10px; }
.exam-card--planned .countdown .cd-num { font-size: 1.6rem; }
@media (prefers-reduced-motion: reduce) { .exam-card { transition: none; } .exam-card:hover { transform: none; } }

/* ---------- トップ：施行日の並び ---------- */
.timeline { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; box-shadow: var(--shadow); }
.timeline li { display: grid; grid-template-columns: 7.2em 1fr; gap: 4px 14px; padding: 12px 16px; }
.timeline li + li { border-top: 1px solid var(--line-soft); }
.tl-date { font-weight: 800; color: var(--heading); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tl-body p { margin: 0; }
.tl-law { font-weight: 600; }
.tl-rev { font-size: 0.88rem; color: var(--muted); }
@media (max-width: 520px) {
  .timeline li { grid-template-columns: 1fr; }
  .tl-date { font-size: 0.9rem; }
}

/* ---------- トップ：note 記事 ---------- */
.article-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.article-list li { padding: 12px 16px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 10px; }
.article-title { margin: 0; font-weight: 700; }
.article-meta { margin: 4px 0 0; font-size: 0.85rem; color: var(--muted); }

/* ---------- 丸いリンク（年） ---------- */
.pill-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pill-label { color: var(--muted); font-size: 0.9rem; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 80px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--link); font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }
.pill:hover { border-color: var(--green); background: var(--surface-2); }
.year-list { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill--big { min-height: 52px; min-width: 110px; font-size: 1.1rem; }

/* ---------- 資格のページ：基本の情報 ---------- */
dl { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 20px 0 0; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; }
dt, dd { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line-soft); }
dt:first-of-type, dt:first-of-type + dd { border-top: 0; }
dt { color: var(--muted); font-size: 0.85rem; font-weight: 700; background: var(--surface-2); }
@media (max-width: 520px) {
  dl { grid-template-columns: 1fr; }
  dt { padding-bottom: 2px; }
  dd { border-top: 0; padding-top: 2px; }
}

/* ---------- 資格のページ：申込の枠（カード） ---------- */
.apply-box { margin: 24px 0 8px; padding: 6px 20px 16px; background: var(--surface); border: 1px solid var(--line-soft); border-top: 5px solid var(--mint); border-radius: 14px; box-shadow: var(--shadow); }
.apply-box h2 { margin-top: 16px; }
.next-exam { margin: 6px 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.next-exam strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.next-exam .countdown { flex-basis: 100%; max-width: max-content; }
.apply-box .countdown .cd-num { font-size: 2.4rem; }
.apply-item { padding: 12px 0; }
.apply-item + .apply-item { border-top: 1px dashed var(--line); }
.apply-item p { margin: 4px 0; }
.apply-item .countdown { display: flex; max-width: max-content; margin-top: 8px; }
.apply-link {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  max-width: 100%; min-height: 52px; margin: 10px 0 4px; padding: 10px 22px;
  border-radius: 10px; background: var(--btn-bg); color: var(--btn-fg);
  font-size: 1.2rem; font-weight: 700; line-height: 1.4; text-decoration: none; text-align: center;
  box-shadow: 0 2px 0 var(--green-ink);
}
.apply-link::after { content: "↗"; font-size: 0.95em; }
.apply-link:hover, .apply-link:focus { background: var(--btn-bg-hover); color: var(--btn-fg); text-decoration: underline; }
@media (max-width: 520px) { .apply-link { display: flex; width: 100%; } .apply-box { padding: 4px 14px 14px; } }

/* 通信講座（アフィリエイト）の枠：まだ使わない。PR の表記は枠の左上に置く */
.course-box { position: relative; margin: 16px 0 8px; padding: 30px 20px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.pr-label { position: absolute; top: 8px; left: 12px; margin: 0; padding: 0 8px; border: 1px solid var(--muted); border-radius: 4px; color: var(--muted); font-size: 0.72rem; font-weight: 700; line-height: 1.6; }
.course-box .course-title { margin-top: 4px; }

/* ---------- 法令のページ：扱う資格のラベル ---------- */
.tag-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.exam-tag { display: inline-flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 14px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--cat-other-fg); border-radius: 10px; line-height: 1.45; }
.exam-tag[data-cat="不動産"] { border-left-color: var(--navy); }
.exam-tag[data-cat="法律"] { border-left-color: var(--green-ink); }
.exam-tag[data-cat="医療・福祉"] { border-left-color: var(--mint); }
.exam-tag[data-cat="労務・衛生"] { border-left-color: var(--green); }
.exam-tag[data-cat="会計・金融"] { border-left-color: var(--navy-2); }
@media (prefers-color-scheme: dark) { .exam-tag[data-cat="不動産"] { border-left-color: var(--kinari); } .exam-tag[data-cat="会計・金融"] { border-left-color: #8ea1b6; } }
.exam-tag a { font-weight: 700; text-decoration: none; }
.exam-tag a:hover { text-decoration: underline; }
.exam-tag-sub { color: var(--muted); font-size: 0.78rem; }

/* ---------- 表（罫線は薄く・縞・横スクロール） ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 8px 0 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 10px; }
table { border-collapse: collapse; min-width: 100%; font-size: 0.92rem; line-height: 1.7; }
th, td { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
th { background: var(--surface-2); color: var(--muted); font-size: 0.8rem; font-weight: 700; white-space: nowrap; }
tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--surface-2) 55%, var(--surface)); }
tbody tr:last-child td { border-bottom: 0; }
td.date { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }
/* 狭い幅では列を潰さず横に送る（文字が1字ずつ折れないように） */
@media (max-width: 720px) { td:not(.date):not(.kind) { min-width: 11em; } }

/* ---------- フッター ---------- */
.site-footer { margin-top: 24px; padding: 28px 0 36px; background: var(--head-bg); color: #c9d3dd; font-size: 0.85rem; line-height: 1.8; border-top: 3px solid var(--mint); }
.site-footer a { color: var(--mint); }
.footer-name { display: flex; align-items: center; gap: 8px; color: var(--kinari); font-weight: 700; font-size: 1rem; }
.footer-name .site-logo { width: 28px; height: 28px; border-radius: 6px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.site-footer .built { color: #a9b6c4; font-size: 0.78rem; }

@media (max-width: 520px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.18rem; margin-top: 36px; }
  .site-nav a { padding: 0 10px; }
  .home .page-head { padding: 26px 0 34px; }
}

/* ---------- IA の作り直し（2026-10-16 担当IA）：ナビ・ひと目の帯・時期の箱・人の要点・折りたたみ ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 8px; top: 8px; z-index: 10; padding: 8px 12px; background: var(--surface); color: var(--link); border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site-nav { flex-wrap: wrap; }
.site-nav a.ext { opacity: 0.9; }
@media (max-width: 520px) {
  .header-inner { padding-bottom: 6px; }
  .site-nav { width: 100%; gap: 0; justify-content: space-between; }
  .site-nav a { padding: 0 6px; font-size: 0.88rem; }
}

/* ひと目の帯（資格のページの見出しの下） */
.glance { margin: 14px 0 0; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line-soft); border-radius: 12px; }
.glance .next-exam { margin: 0 0 6px; }
.glance-apply { margin: 0; font-size: 0.95rem; }
.tag.apply-state { background: var(--chip-bg); color: var(--chip-fg); }
.card-apply { margin: 8px 0 0; font-size: 0.85rem; color: var(--muted); }
.card-sub { margin: 6px 0 0; font-size: 0.88rem; position: relative; z-index: 1; }

/* 時期の箱 */
.phase-box { margin: 24px 0 8px; padding: 6px 20px 14px; background: var(--surface); border: 1px solid var(--line-soft); border-left: 6px solid var(--mint); border-radius: 14px; box-shadow: var(--shadow); }
.phase-box h2 { margin-top: 10px; }
.phase-label { margin: 12px 0 0; font-size: 0.85rem; color: var(--muted); }
.tag.phase { background: var(--green-ink); color: var(--white); }
.phase-actions { margin: 6px 0 0; padding-left: 1.2em; }
.phase-actions li { margin: 8px 0; }
.phase-actions .countdown { display: flex; max-width: max-content; }
.phase-actions .apply-link { margin-top: 2px; }
@media (max-width: 520px) { .phase-box { padding: 4px 14px 12px; } }

/* 人の要点 */
.editorial-policy { margin: 20px 0 0; padding: 4px 18px 10px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; }
.lede { font-size: 1.02rem; }
.point { margin: 14px 0; padding: 4px 18px 12px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; }
.point-title { margin-top: 12px; }
.point-meta { color: var(--muted); font-size: 0.88rem; }
.point-reading { margin: 10px 0; }
.tag.reading { background: var(--surface-2); color: var(--fg); border-color: var(--line); }
.point-links { font-size: 0.92rem; }
.byline { color: var(--muted); font-size: 0.82rem; }

/* 折りたたみ（扱う法令と改正の全部） */
.fold { margin: 8px 0 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: 12px; padding: 0 16px; }
.fold > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; font-weight: 700; color: var(--link); }
.fold[open] > summary { border-bottom: 1px solid var(--line-soft); margin-bottom: 8px; }
.fold .law-name { margin-top: 20px; }

/* 一覧・リンク */
.plain-list { margin: 8px 0; padding-left: 1.2em; }
.plain-list li { margin: 6px 0; }
.more-link { margin: 10px 0 0; font-weight: 700; }
.cat-heading { margin: 22px 0 10px; }
.page-tail { margin-top: 28px; }
.badge.link { text-decoration: none; color: var(--link); border-color: var(--green); }
.tag.kind-deadline { background: var(--green-ink); color: var(--white); }
.tag.kind-result { background: var(--surface-2); color: var(--fg); border-color: var(--line); }
td time { white-space: nowrap; }
/* 日程の表：狭い幅でも資格の列が見えるように、日付を折り返す */
@media (max-width: 520px) {
  .nittei-table td.date, .nittei-table td time { white-space: normal; }
  .nittei-table td.date { min-width: 6.5em; }
  .nittei-table td:not(.date):not(.kind) { min-width: 0; }
  .nittei-table th, .nittei-table td { padding: 8px 8px; }
}
