/* デザインシステム - CSS変数 */

:root {
  /* Primary Colors - Navy */
  --color-navy-deep: #1a2332;
  --color-navy-primary: #2d3e50;
  --color-navy-soft: #364557;

  /* Secondary Colors - Thunder Blue (Accent) */
  --color-thunder-blue: #3b82f6;
  --color-thunder-light: #60a5fa;
  --color-thunder-dark: #2563EB;
  --color-thunder-subtle: #dbeafe;

  /* Neutral Colors */
  --color-white: #ffffff;
  --color-warm-gray: #f8f9fa;
  --color-gray-light: #e5e7eb;
  --color-gray-medium: #9ca3af;
  --color-gray-dark: #6b7280;
  --color-text: #364557;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--color-navy-deep) 0%, var(--color-navy-primary) 100%);
  --gradient-accent: linear-gradient(135deg, var(--color-thunder-dark) 0%, var(--color-thunder-blue) 50%, var(--color-thunder-light) 100%);

  /* Font Families */
  --font-primary: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Noto Sans JP', sans-serif;
  --font-english: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-brand: 'Roboto Mono', monospace;

  /* Font Sizes (Responsive with clamp) */
  --font-size-display: clamp(2.5rem, 5vw, 4rem);      /* Hero Title */
  --font-size-h1: clamp(2rem, 4vw, 3rem);             /* Section Title */
  --font-size-h2: clamp(1.5rem, 3vw, 2rem);           /* Subsection */
  --font-size-h3: clamp(1.25rem, 2.5vw, 1.5rem);      /* Card Title */
  --font-size-body-large: 1.125rem;                    /* 18px - Lead Text */
  --font-size-base: 1rem;                              /* 16px - Standard */
  --font-size-small: 0.9375rem;                        /* 15px */
  --font-size-xs: 0.875rem;                            /* 14px - Caption */

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
  --line-height-loose: 2;

  /* Letter Spacing */
  --letter-spacing-tight: -0.02em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.01em;
  --letter-spacing-wider: 0.02em;

  /* Spacing System (8px base) */
  --spacing-unit: 0.5rem;                 /* 8px */
  --spacing-xs: calc(var(--spacing-unit) * 1);    /* 8px */
  --spacing-sm: calc(var(--spacing-unit) * 2);    /* 16px */
  --spacing-md: calc(var(--spacing-unit) * 3);    /* 24px */
  --spacing-lg: calc(var(--spacing-unit) * 4);    /* 32px */
  --spacing-xl: calc(var(--spacing-unit) * 6);    /* 48px */
  --spacing-2xl: calc(var(--spacing-unit) * 8);   /* 64px */
  --spacing-3xl: calc(var(--spacing-unit) * 12);  /* 96px */

  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 0.75rem;   /* 12px */
  --radius-xl: 1rem;      /* 16px */

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(26, 35, 50, 0.05);
  --shadow-md: 0 4px 12px rgba(26, 35, 50, 0.08);
  --shadow-lg: 0 12px 24px rgba(26, 35, 50, 0.12);
  --shadow-xl: 0 20px 40px rgba(26, 35, 50, 0.16);

  /* Transitions */
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 350ms;

  /* Container */
  --container-max-width: 1200px;
  --container-reading-width: 800px;
  --container-wide-width: 1400px;
  --container-padding: clamp(1.5rem, 4vw, 3rem);

  /* Section Padding */
  --section-padding-y: clamp(3.75rem, 8vw, 7.5rem);  /* 60px-120px */
}
