/* ==========================================================================
   Design Tokens - re;ALIZE
   ブルー基調・育成事務所テーマ（rebonグループ）
   ========================================================================== */

:root {
  /* ── Colors (Blue Palette) ── */
  --color-primary: #5DA0E8;          /* メインブルー（画像のドット背景に合わせた明るめ空色） */
  --color-primary-light: #8FBEEF;
  --color-primary-dark: #3A7DC7;
  --color-primary-50: #EEF5FC;
  --color-primary-100: #DCEAF8;
  --color-primary-200: #B6D2F1;

  --color-accent-sky: #7AB7F0;        /* 明るい空色 */
  --color-accent-sky-light: #B0D4F6;
  --color-accent-cyan: #5BCDE0;       /* シアン（差し色） */
  --color-accent-cyan-light: #A6E2EC;
  --color-accent-blue: #4A8FD8;       /* セカンダリブルー（少し深め） */
  --color-accent-blue-light: #8FBEEF;
  --color-accent-deep: #2C6AB6;       /* ディープブルー（強調） */

  /* レガシー互換 (旧 pink/cyan 参照はブルー基調にエイリアス) */
  --color-accent-pink: #4A8FD8;        /* ピンク参照 → ブルーで上書き */
  --color-accent-pink-light: #93C5FD;

  --color-gold: #d4a843;
  --color-silver: #b0b0b8;
  --color-bronze: #c47a5a;

  --color-bg: #f8fafc;
  --color-bg-section: #eff6ff;
  --color-bg-section-alt: #f0f9ff;
  --color-surface: #ffffff;
  --color-surface-raised: #ffffff;

  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-inverse: #ffffff;

  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* ── Gradients ── */
  --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-accent-cyan));
  --gradient-hero: linear-gradient(135deg, #2C6AB6 0%, #5DA0E8 50%, #7AB7F0 100%);
  --gradient-hero-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.30) 0%, rgba(15, 23, 42, 0) 40%, rgba(15, 23, 42, 0.45) 100%);
  --gradient-card-hover: linear-gradient(180deg, transparent 50%, rgba(93, 160, 232, 0.20) 100%);
  --gradient-section: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-section) 50%, var(--color-bg) 100%);
  --gradient-shine: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);

  /* ── Typography ── */
  --font-body: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Zen Kaku Gothic New', sans-serif;
  --font-display: 'Jost', sans-serif;

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.75rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.875rem);
  --text-base: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-xl: clamp(1.25rem, 1rem + 1.25vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-display: clamp(3rem, 2rem + 5vw, 5rem);

  --leading-tight: 1.2;
  --leading-normal: 1.7;
  --leading-relaxed: 1.9;
  --leading-loose: 2.2;

  --tracking-tight: -0.02em;
  --tracking-normal: 0.02em;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.12em;

  /* ── Spacing (8px base) ── */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --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-13: 3.25rem;
  --space-14: 3.5rem;
  --space-15: 3.75rem;
  --space-16: 4rem;
  --space-18: 4.5rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.10), 0 4px 8px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 16px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 24px rgba(93, 160, 232, 0.32);
  --shadow-glow-pink: 0 0 24px rgba(122, 183, 240, 0.30);
  --shadow-glow-cyan: 0 0 24px rgba(91, 205, 224, 0.30);

  /* ── Border Radius ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);

  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --duration-slower: 800ms;

  /* ── Z-Index Scale ── */
  --z-behind: -1;
  --z-default: 0;
  --z-above: 1;
  --z-header: 100;
  --z-sidebar: 90;
  --z-modal: 200;
  --z-loading: 300;
  --z-sticky: 150;

  /* ── Layout ── */
  --container-sm: 480px;
  --container-md: 680px;
  --container-lg: 960px;
  --container-xl: 1200px;

  --header-height: 60px;
  --sidebar-width: 200px;
  --sidebar-width-wide: 240px;
}
