/**
 * CSS Variables - カラー、サイズ、フォントなどの定義
 * 修正時はこのファイルの変数を変更することで全体に反映されます
 */

:root {
  /* ========== カラー定義 ========== */
  /* メインカラー（しろたんポータル - ターコイズ/水色系） */
  --color-primary: #5CB3CC;
  --color-primary-light: #A8E0F0;
  --color-primary-dark: #3E8FA3;
  
  /* セカンダリカラー */
  --color-secondary: #ff8cb3;
  --color-secondary-light: #ffb3d1;
  --color-secondary-dark: #e67a9f;
  
  /* テキストカラー */
  --color-text-primary: #333333;
  --color-text-secondary: #666666;
  --color-text-light: #999999;
  --color-text-white: #ffffff;
  
  /* 背景カラー（海・水をイメージ） */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #F0F9FC;
  --color-bg-light: #E6F7FB;
  
  /* ボーダーカラー */
  --color-border: #e0e0e0;
  --color-border-light: #f0f0f0;
  
  /* アクセントカラー */
  --color-accent-pink: #ffb3d1;
  --color-accent-blue: #a8d8ea;
  --color-accent-green: #c4e6b3;
  
  /* ステータスカラー */
  --color-success: #4caf50;
  --color-error: #f44336;
  --color-warning: #ff9800;
  --color-info: #2196f3;
  
  /* ========== タイポグラフィ ========== */
  /* フォントファミリー */
  --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-family-heading: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  
  /* フォントサイズ */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 1.875rem;  /* 30px */
  --font-size-4xl: 2.25rem;   /* 36px */
  
  /* フォントウェイト */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* ========== スペーシング ========== */
  --spacing-xs: 0.25rem;   /* 4px */
  --spacing-sm: 0.5rem;    /* 8px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4rem;     /* 64px */
  
  /* ========== コンテナ幅 ========== */
  --container-width-sm: 640px;
  --container-width-md: 768px;
  --container-width-lg: 1024px;
  --container-width-xl: 1280px;
  
  /* ========== ブレイクポイント ========== */
  /* メディアクエリで使用 */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  
  /* ========== ボーダーラディウス ========== */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* ========== シャドウ ========== */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  
  /* ========== トランジション ========== */
  --transition-fast: 0.15s ease-in-out;
  --transition-base: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* ========== Z-index ========== */
  --z-index-dropdown: 1000;
  --z-index-sticky: 1020;
  --z-index-fixed: 1030;
  --z-index-modal-backdrop: 1040;
  --z-index-modal: 1050;
  --z-index-popover: 1060;
  --z-index-tooltip: 1070;
  
  /* ========== レイアウト固有 ========== */
  /* ヘッダー */
  --header-height: 80px;
  --header-height-mobile: 60px;
  
  /* サイドバー */
  --sidebar-width: 240px;
  
  /* グリッド */
  --grid-gap: var(--spacing-lg);
  --grid-columns: 4;
}
