/*
===============================================
Shinka AI - CSS Variables
テーマ全体で使用する変数を定義
===============================================
*/

:root {
    /* ========================================
       カラーパレット
       ======================================== */
    
    /* プライマリーカラー */
    --color-primary: #217AFE;
    --color-primary-light: #5B9FFF;
    --color-primary-dark: #0052CC;
    
    /* セカンダリーカラー */
    --color-secondary: #E35573;
    --color-secondary-light: #FF7B96;
    --color-secondary-dark: #C73055;
    
    /* アクセントカラー */
    --color-accent: #10B981;
    
    /* テキストカラー */
    --color-text: #1F2937;
    --color-text-light: #6B7280;
    --color-text-lighter: #9CA3AF;
    
    /* 背景カラー */
    --color-bg: #FFFFFF;
    --color-bg-light: #F9FAFB;
    --color-bg-dark: #111827;
    
    /* ボーダーカラー */
    --color-border: #E5E7EB;
    
    /* グラデーション */
    --gradient-primary: linear-gradient(135deg, #217AFE 0%, #E35573 100%);
    
    /* ========================================
       タイポグラフィ
       ======================================== */
    
    /* フォントファミリー */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans JP', sans-serif;
    --font-heading: 'Inter', 'Noto Sans JP', 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-size-5xl: 3rem;        /* 48px */
    
    /* フォントウェイト */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* 行の高さ */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* ========================================
       スペーシング（8pxベース）
       ======================================== */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;
    --spacing-4xl: 96px;
    
    /* ========================================
       レイアウト
       ======================================== */
    --container-width: 1200px;
    --container-padding: 24px;
    
    /* ========================================
       ボーダー
       ======================================== */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-full: 9999px;
    
    /* ========================================
       シャドウ
       ======================================== */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* ========================================
       トランジション
       ======================================== */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* ========================================
       Z-index
       ======================================== */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-modal: 1050;
}

/* ========================================
   レスポンシブ調整
   ======================================== */

/* タブレット */
@media (max-width: 1024px) {
    :root {
        --container-padding: 16px;
        --font-size-5xl: 2.5rem;
        --font-size-4xl: 2rem;
    }
}

/* モバイル */
@media (max-width: 767px) {
    :root {
        --container-padding: 16px;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
    }
}