/* theme.css - 運営管理画面 / 代理店・媒体ポータル / ログイン画面の配色。
   配色を変えるときはこのファイルだけを直す。manage.css と Tailwind の brand-* (common/_tailwind.html) が参照する。
   本文の文字色・罫線などの無彩色は manage.css の --ui-* (slate 系) を使う。
   現在の配色: ホワイト × ブルー (白いサイドバー + 青の主色。2026-11-19 にユーザーが5案から選択)
   2026-11-30: 利用者の要望で、背景と罫線の濃淡を 1 段ずつ強めた (本文の背景・サイドバーの境目と選択中の背景。
   表の罫線・見出しセル・入力欄の枠は manage.css の --ui-* / --table-th-color)。 */
:root {
  /* ブランド色 (ボタン・リンク・選択中の表示など)。500 はロゴの色 */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;
  /* 主ボタン (白文字で 4.5:1 以上になる濃さを選ぶ。blue-600 は 5.2:1) */
  --brand-primary: var(--brand-600);
  --brand-primary-rgb: 37, 99, 235;
  --brand-primary-hover: var(--brand-700);
  --brand-primary-hover-rgb: 29, 78, 216;
  --brand-primary-active: var(--brand-800);
  --brand-ring: rgba(59, 130, 246, .25);

  /* サイドバー */
  --sidebar-bg: #fff;
  --sidebar-edge: #cbd5e1;                     /* 本文との境目の線 */
  --sidebar-border: #cbd5e1;                   /* ロゴ下の線 */
  --sidebar-label: #64748b;                    /* ロゴ横の小さい文字 */
  --sidebar-text: #334155;                     /* 分類名 */
  --sidebar-text-muted: #64748b;               /* メニュー項目 */
  --sidebar-text-strong: #0f172a;              /* ホバー・開いている分類 */
  --sidebar-text-disabled: #cbd5e1;
  --sidebar-icon: #94a3b8;
  --sidebar-hover-bg: #e2e8f0;
  --sidebar-active-bg: #dbeafe;
  --sidebar-active-text: #1d4ed8;
  --sidebar-indicator: #2563eb;                /* 選択中の線・開いている分類のアイコン */
  --sidebar-line: #cbd5e1;                     /* 項目の左の縦線 */
  --sidebar-tooltip-bg: #0f172a;
  --sidebar-tooltip-border: #0f172a;
  --sidebar-tooltip-text: #f1f5f9;
  --sidebar-scrollbar: #cbd5e1;

  /* 本文の背景 (白い表・カードが浮いて見える濃さ) */
  --ui-bg: #edf1f6;
}
