@charset "UTF-8";

:root {
  /* === Brand Colors === */

  /* メインネイビー */
  --color-primary: #132a44;

  /* IT系ブルー */
  --color-accent: #246fca;
  --color-accent-dark: #1b5faa;
  --color-accent-light: #edf5ff;

  /* サポートグリーン */
  --color-accent-green: #16846d;
  --color-bg-green: #eff6f5;

  /* 背景 */
  --color-bg: #ffffff;
  --color-bg-sub: #f3f6fa;
  --color-bg-accent: #f6f9ff;

  /* テキスト */
  --color-text: #1a1a1a;
  --color-text-light: #5d6775;

  /* 境界線 */
  --color-border: #d9e1ea;

  /* リンク */
  --color-link: #246fca;
  --color-link-hover: #1b5faa;

  /* === Typography === */
  --font-base:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-heading:
    -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --font-icon: "Material Symbols Outlined";
  --icon-offset-y: 0.08em;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;

  --leading-tight: 1.4;
  --leading-normal: 1.75;
  --leading-loose: 2;

  /* === Spacing === */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* === Layout === */
  --width-content: 720px;
  --width-wide: 1080px;
  --width-max: 1200px;
  --width-hero-wide: 1400px;
  --padding-side: clamp(16px, 5vw, 40px);
  --section-py: clamp(var(--space-12), 8vw, var(--space-20));

  /* === Utility === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-pagetop: 50;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[class*="material-icon"]::before {
  display: inline-block;
  font-family: var(--font-icon);
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  position: relative;
  top: var(--icon-offset-y);
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  font-family: var(--font-base);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-link-hover);
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-text);
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
  }
}
