/**
 * CSS変数定義
 * かんたん請求書・領収書作成ツール by サプライコネクト
 */

:root {
  /* ===== メインカラー ===== */
  --primary: #1E3A8A;
  --primary-light: #3B82F6;
  --primary-hover: #1E40AF;
  --primary-rgb: 30, 58, 138;

  /* ===== サブカラー ===== */
  --secondary: #0F172A;
  --accent: #10B981;
  --accent-hover: #059669;
  --warning: #F59E0B;
  --danger: #EF4444;
  --danger-hover: #DC2626;

  /* ===== ベースカラー ===== */
  --bg-main: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-subtle: #F1F5F9;
  --bg-primary-subtle: #EFF6FF;

  /* ===== テキスト ===== */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-white: #FFFFFF;

  /* ===== ボーダー ===== */
  --border: #E2E8F0;
  --border-strong: #CBD5E1;
  --border-focus: #3B82F6;

  /* ===== シャドウ ===== */
  --shadow-card: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-hover: 0 4px 12px rgba(30,58,138,0.08);
  --shadow-modal: 0 20px 40px rgba(0,0,0,0.1);
  --shadow-button: 0 1px 2px rgba(0,0,0,0.05);

  /* ===== タイポグラフィ ===== */
  --font-jp: "Noto Sans JP", "BIZ UDPGothic", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", Meiryo, sans-serif;
  --font-en: "Inter", system-ui, sans-serif;

  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;

  /* ===== 余白 ===== */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 80px;

  /* ===== 角丸 ===== */
  --radius: 8px;
  --radius-sm: 4px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* ===== トランジション ===== */
  --transition: 0.2s ease;
  --transition-slow: 0.3s ease;

  /* ===== Z-index ===== */
  --z-header: 100;
  --z-modal: 200;
  --z-toast: 300;

  /* ===== レイアウト ===== */
  --max-width: 1200px;
  --header-height: 64px;
}
