/* ========================================
   福岡大学ホームページ公開システム
   デザイントークン定義
   ======================================== */

:root {
  /* ===== カラーシステム ===== */
  
  /* 利用者テーマ */
  --primary-user: #667eea;
  --primary-user-light: #818cf8;
  --secondary-user: #764ba2;
  --secondary-user-light: #8b5cf6;
  --accent-user: #f093fb;
  --accent-user-light: #f5b7ff;
  
  /* 管理者テーマ */
  --primary-admin: #ff6b6b;
  --primary-admin-light: #ff8787;
  --secondary-admin: #ee5a52;
  --secondary-admin-light: #f87171;
  --accent-admin: #ffa726;
  --accent-admin-light: #ffb74d;
  
  /* グラデーション */
  --gradient-primary-user: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary-user: linear-gradient(135deg, #818cf8 0%, #8b5cf6 100%);
  --gradient-accent-user: linear-gradient(135deg, #f093fb 0%, #e879f9 100%);
  --gradient-background-user: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  
  --gradient-primary-admin: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
  --gradient-secondary-admin: linear-gradient(135deg, #ff8787 0%, #f87171 100%);
  --gradient-accent-admin: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
  --gradient-background-admin: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 50%, #ffa726 100%);
  
  /* 背景グラデーション（薄い版） */
  --gradient-background-user-subtle: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.12) 50%, rgba(240, 147, 251, 0.08) 100%);
  --gradient-background-admin-subtle: linear-gradient(135deg, rgba(255, 107, 107, 0.08) 0%, rgba(238, 90, 82, 0.12) 50%, rgba(255, 167, 38, 0.08) 100%);
  
  /* セマンティックカラー */
  --color-success: #10b981;
  --color-success-light: rgba(16, 185, 129, 0.1);
  --color-warning: #f59e0b;
  --color-warning-light: rgba(245, 158, 11, 0.1);
  --color-error: #ef4444;
  --color-error-light: rgba(239, 68, 68, 0.1);
  --color-info: #3b82f6;
  --color-info-light: rgba(59, 130, 246, 0.1);
  
  /* グレースケール */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  
  /* 基本色 */
  --white: #ffffff;
  --black: #000000;
  --transparent: transparent;
  
  /* サーフェス */
  --surface-primary: rgba(255, 255, 255, 0.95);
  --surface-secondary: rgba(255, 255, 255, 0.85);
  --surface-tertiary: rgba(255, 255, 255, 0.75);
  --surface-glass: rgba(255, 255, 255, 0.1);
  --surface-glass-heavy: rgba(255, 255, 255, 0.2);
  --surface-overlay: rgba(0, 0, 0, 0.5);
  --surface-overlay-light: rgba(0, 0, 0, 0.3);
  
  /* テキスト */
  --text-primary: #2d3748;
  --text-secondary: #718096;
  --text-tertiary: #a0aec0;
  --text-disabled: #cbd5e0;
  --text-inverse: #ffffff;
  --text-link: var(--primary-user);
  --text-link-hover: var(--primary-user);
  
  /* ===== タイポグラフィ ===== */
  
  /* フォントファミリー */
  --font-sans: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', 'Noto Sans', sans-serif;
  --font-serif: 'Georgia', 'Cambria', 'Times New Roman', 'Times', serif;
  --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', 'Courier New', monospace;
  --font-japanese: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', sans-serif;
  
  /* フォントサイズ */
  --text-h1: 2.5rem;
  --text-h2: 2rem;
  --text-h3: 1.75rem;
  --text-h4: 1.5rem;
  --text-h5: 1.25rem;
  --text-h6: 1.125rem;
  --text-xl: 1.25rem;
  --text-lg: 1.125rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;
  --text-xs: 0.75rem;
  --text-xxs: 0.625rem;
  
  /* フォントウェイト */
  --font-thin: 100;
  --font-extralight: 200;
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  
  /* 行間 */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* 文字間隔 */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
  
  /* ===== スペーシング ===== */
  
  --space-0: 0;
  --space-0-5: 0.125rem;
  --space-1: 0.25rem;
  --space-1-5: 0.375rem;
  --space-2: 0.5rem;
  --space-2-5: 0.625rem;
  --space-3: 0.75rem;
  --space-3-5: 0.875rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-7: 1.75rem;
  --space-8: 2rem;
  --space-9: 2.25rem;
  --space-10: 2.5rem;
  --space-11: 2.75rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;
  --space-32: 8rem;
  
  /* ===== レイアウト ===== */
  
  /* コンテナ */
  --container-xs: 20rem;
  --container-sm: 24rem;
  --container-md: 28rem;
  --container-lg: 32rem;
  --container-xl: 36rem;
  --container-2xl: 42rem;
  --container-3xl: 48rem;
  --container-4xl: 56rem;
  --container-5xl: 64rem;
  --container-6xl: 72rem;
  --container-7xl: 80rem;
  --container-full: 100%;
  --container-max: 75rem;
  
  /* グリッド */
  --grid-columns: 12;
  --grid-gutter: 1.5rem;
  --grid-margin: 1.5rem;
  
  /* ブレークポイント */
  --breakpoint-xs: 480px;
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
  
  /* ===== ボーダー ===== */
  
  /* 半径 */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-base: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  
  /* ===== シャドウ ===== */
  
  --shadow-none: none;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-2xl: 0 35px 60px -15px rgba(0, 0, 0, 0.3);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-inner-lg: inset 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  
  /* テーマ別シャドウ */
  --shadow-user: 0 20px 40px rgba(102, 126, 234, 0.15);
  --shadow-user-hover: 0 30px 60px rgba(102, 126, 234, 0.25);
  --shadow-user-active: 0 15px 30px rgba(102, 126, 234, 0.2);
  --shadow-admin: 0 20px 40px rgba(255, 107, 107, 0.15);
  --shadow-admin-hover: 0 30px 60px rgba(255, 107, 107, 0.25);
  --shadow-admin-active: 0 15px 30px rgba(255, 107, 107, 0.2);
  
  /* カラーシャドウ */
  --shadow-success: 0 10px 30px rgba(16, 185, 129, 0.2);
  --shadow-warning: 0 10px 30px rgba(245, 158, 11, 0.2);
  --shadow-error: 0 10px 30px rgba(239, 68, 68, 0.2);
  --shadow-info: 0 10px 30px rgba(59, 130, 246, 0.2);
  
  /* グロー効果 */
  --glow-user: 0 0 20px rgba(102, 126, 234, 0.5);
  --glow-admin: 0 0 20px rgba(255, 107, 107, 0.5);
  --glow-success: 0 0 20px rgba(16, 185, 129, 0.5);
  --glow-warning: 0 0 20px rgba(245, 158, 11, 0.5);
  --glow-error: 0 0 20px rgba(239, 68, 68, 0.5);
  
  /* ===== アニメーション ===== */
  
  /* トランジション */
  --transition-fast: 0.15s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* イージング */
  --ease-linear: linear;
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* ===== Zインデックス ===== */
  
  --z-negative: -1;
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-dropdown: 1000;
  --z-sidebar: 1010;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-notification: 1080;
  
}

