/**
 * Irie Design (なまけもの印刷) - CSS Variables
 * Design System v1.0
 *
 * 差別化コンセプト: 親しみやすさ・温かみ・オレンジ/イエロー基調
 * ターゲット: 非デザイナーの一般ユーザー
 */

:root {
  /* ========================================
   * Colors - プライマリ
   * ======================================== */
  --color-primary: #F59E0B;           /* メインオレンジ - 温かみ、アクション喚起 */
  --color-primary-light: #FBBF24;     /* ライトオレンジ */
  --color-primary-dark: #D97706;      /* ダークオレンジ */
  --color-primary-50: #FFFBEB;        /* 極薄オレンジ背景 */
  --color-primary-100: #FEF3C7;
  --color-primary-200: #FDE68A;

  --color-secondary: #FCD34D;         /* サブイエロー - 親しみやすさ */
  --color-secondary-light: #FDE68A;
  --color-secondary-dark: #F59E0B;

  /* ========================================
   * Colors - セマンティック
   * ======================================== */
  --color-info: #3B82F6;              /* 信頼のブルー - リンク、情報 */
  --color-info-light: #60A5FA;
  --color-info-dark: #2563EB;

  --color-success: #10B981;           /* 成功のグリーン - 完了、OK */
  --color-success-light: #34D399;
  --color-success-dark: #059669;

  --color-warning: #F59E0B;           /* 警告 - オレンジ */
  --color-warning-light: #FBBF24;
  --color-warning-dark: #D97706;

  --color-danger: #EF4444;            /* 注意のレッド - エラー、締切、価格強調 */
  --color-danger-light: #F87171;
  --color-danger-dark: #DC2626;

  /* ========================================
   * Colors - ニュートラル
   * ======================================== */
  --color-white: #FFFFFF;
  --color-gray-50: #F9FAFB;
  --color-gray-100: #F3F4F6;           /* 背景 */
  --color-gray-200: #E5E7EB;           /* ボーダー */
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;           /* プレースホルダー */
  --color-gray-500: #6B7280;           /* サブテキスト */
  --color-gray-600: #4B5563;
  --color-gray-700: #374151;           /* 本文テキスト */
  --color-gray-800: #1F2937;           /* 見出し */
  --color-gray-900: #111827;
  --color-black: #000000;

  /* ========================================
   * Colors - ブランド
   * ======================================== */
  --color-brand-brown: #8B5E3C;        /* なまけものブランドカラー */
  --color-brand-brown-light: #A67C52;
  --color-brand-brown-dark: #6B4423;

  /* ========================================
   * Typography
   * ======================================== */
  --font-family-base: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
  --font-family-heading: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-family-mono: 'Source Code Pro', 'Menlo', 'Monaco', monospace;

  /* Font Sizes */
  --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 Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 1.8;

  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;

  /* ========================================
   * Spacing
   * ======================================== */
  --spacing-0: 0;
  --spacing-1: 0.25rem;                /* 4px */
  --spacing-2: 0.5rem;                 /* 8px */
  --spacing-3: 0.75rem;                /* 12px */
  --spacing-4: 1rem;                   /* 16px */
  --spacing-5: 1.25rem;                /* 20px */
  --spacing-6: 1.5rem;                 /* 24px */
  --spacing-8: 2rem;                   /* 32px */
  --spacing-10: 2.5rem;                /* 40px */
  --spacing-12: 3rem;                  /* 48px */
  --spacing-16: 4rem;                  /* 64px */
  --spacing-20: 5rem;                  /* 80px */
  --spacing-24: 6rem;                  /* 96px */

  /* ========================================
   * Border Radius
   * ======================================== */
  --radius-none: 0;
  --radius-sm: 0.125rem;               /* 2px */
  --radius-default: 0.25rem;           /* 4px */
  --radius-md: 0.375rem;               /* 6px */
  --radius-lg: 0.5rem;                 /* 8px */
  --radius-xl: 0.75rem;                /* 12px */
  --radius-2xl: 1rem;                  /* 16px */
  --radius-3xl: 1.5rem;                /* 24px */
  --radius-full: 9999px;

  /* ========================================
   * Shadows
   * ======================================== */
  --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-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* CTAボタン用シャドウ */
  --shadow-cta: 0 4px 14px rgba(245, 158, 11, 0.4);
  --shadow-cta-hover: 0 6px 20px rgba(245, 158, 11, 0.5);

  /* ========================================
   * Transitions
   * ======================================== */
  --transition-fast: 150ms;
  --transition-normal: 200ms;
  --transition-slow: 300ms;
  --transition-slower: 500ms;

  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --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.34, 1.56, 0.64, 1);

  /* ========================================
   * Z-Index
   * ======================================== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ========================================
   * Breakpoints (参照用)
   * ======================================== */
  /*
   * sm: 640px
   * md: 768px
   * lg: 1024px
   * xl: 1280px
   * 2xl: 1536px
   */

  /* ========================================
   * Container
   * ======================================== */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;

  /* ========================================
   * Component Specific
   * ======================================== */

  /* Header */
  --header-height: 80px;
  --header-height-mobile: 60px;

  /* Buttons */
  --btn-padding-y: 0.75rem;
  --btn-padding-x: 1.5rem;
  --btn-padding-y-sm: 0.5rem;
  --btn-padding-x-sm: 1rem;
  --btn-padding-y-lg: 1rem;
  --btn-padding-x-lg: 2rem;

  /* Cards */
  --card-padding: 1.5rem;
  --card-radius: var(--radius-2xl);

  /* Forms */
  --input-height: 44px;
  --input-padding-x: 1rem;
  --input-border-width: 1px;
  --input-border-color: var(--color-gray-300);
  --input-focus-border-color: var(--color-primary);
  --input-focus-ring-color: rgba(245, 158, 11, 0.2);
}

/* ========================================
 * Dark Mode (将来対応用)
 * ======================================== */
@media (prefers-color-scheme: dark) {
  :root {
    /* 将来的にダークモード対応する場合はここに記述 */
  }
}
