/* ============================================================
   pcwst base.css — スタイリッシュ・プロフェッショナル基盤
   ============================================================ */

:root {
  /* タイポグラフィ */
  --font-display: "Inter", "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-body:    "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, monospace;
  --fs-xs: 13px;
  --fs-sm: 14px;
  --fs-base: 16px;
  --fs-lg: 18px;
  --fs-xl: 22px;
  --lh-base: 1.8;
  --lh-tight: 1.4;
  --ls-base: 0.01em;
  --ls-tight: -0.015em;

  /* レイアウト */
  --container-max: 1200px;
  --container-narrow: 880px;
  --article-max: 760px;
  --gap: clamp(20px, 4vw, 40px);
  --section-gap: clamp(80px, 12vw, 160px);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  /* カラー — ライト基調・洗練 */
  --color-bg:        #ffffff;
  --color-bg-soft:   #f8f9fb;
  --color-bg-deep:   #f1f3f7;
  --color-bg-dark:   #0a0e1a;
  --color-bg-overlay:rgba(10, 14, 26, 0.92);
  --color-surface:   #ffffff;
  --color-text:      #0a0e1a;
  --color-text-muted:#4b5563;
  --color-text-subtle:#9ca3af;
  --color-text-inverse:#ffffff;
  --color-border:    #e5e7eb;
  --color-border-strong: #d1d5db;
  --color-border-dark: #1f2937;

  /* ブランド — ディープネイビー × ヴィヴィッドオレンジ */
  --color-brand:        #0a2540;     /* 深い・上品なネイビー */
  --color-brand-soft:   #eef2f7;
  --color-brand-dark:   #050d1a;
  --color-brand-light:  #1a4480;
  --color-brand-glow:   rgba(10, 37, 64, 0.12);
  --color-accent:       #ff6b35;     /* ヴィヴィッドオレンジ */
  --color-accent-soft:  #fff1eb;
  --color-accent-dark:  #e54a14;

  /* シャドウ */
  --shadow-xs: 0 1px 2px rgba(10, 14, 26, 0.04);
  --shadow-sm: 0 2px 4px rgba(10, 14, 26, 0.04), 0 1px 2px rgba(10, 14, 26, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 14, 26, 0.08), 0 2px 4px rgba(10, 14, 26, 0.04);
  --shadow-lg: 0 12px 32px rgba(10, 14, 26, 0.12), 0 4px 8px rgba(10, 14, 26, 0.06);
  --shadow-xl: 0 24px 56px rgba(10, 14, 26, 0.18), 0 8px 16px rgba(10, 14, 26, 0.08);
  --shadow-2xl: 0 40px 80px rgba(10, 14, 26, 0.25);
  --shadow-accent: 0 12px 32px rgba(255, 107, 53, 0.35);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration: 350ms;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-base);
  letter-spacing: var(--ls-base);
  color: var(--color-text);
  background: var(--color-bg);
  font-feature-settings: "palt", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, picture { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-brand);
  text-decoration: none;
  transition: color var(--duration) var(--ease-out);
}
a:hover { color: var(--color-accent); }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

ul, ol { list-style: none; }

/* タイポグラフィ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-tight);
  color: var(--color-text);
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.25; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); font-weight: 700; line-height: 1.35; }
h4 { font-size: 1.0625rem; font-weight: 700; }

p { margin-bottom: 1.5em; }
p:last-child { margin-bottom: 0; }

/* スキップリンク */
.pcwst-skip {
  position: absolute;
  top: -100px;
  left: 8px;
  background: var(--color-brand);
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  z-index: 1000;
  font-weight: 700;
  font-size: 14px;
}
.pcwst-skip:focus { top: 8px; color: #fff; }

/* セレクション */
::selection {
  background: var(--color-accent);
  color: #fff;
}

/* スクロールバー */
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--color-bg-deep); }
::-webkit-scrollbar-thumb { background: var(--color-border-strong); border-radius: 6px; border: 3px solid var(--color-bg-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--color-brand); }
