/* ============================================================
   デザイントークン（サイト全体で共有）
   ============================================================ */
:root {
  --ink: #14233a;            /* 本文・見出し */
  --blueprint: #0d3868;      /* ブランドカラー（設計図の紺） */
  --blueprint-deep: #082347; /* 濃い紺（フッター・ヒーロー暗部） */
  --line: #bcdcf7;           /* 淡いシアンの製図線 */
  --paper: #f3f5f7;          /* 本文セクション背景（涼しい紙色） */
  --paper-line: #d7dde3;     /* 罫線 */
  --steel: #55677c;          /* 補足テキスト */
  --cyan: #49d3ef;           /* データ・解析を示す線の色（写真の上に重ねるSVG用） */
  --correction: #b8442c;     /* 補正の赤（CTA・アクセント。使用箇所は絞る） */
  --correction-deep: #8f3220;

  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.9;
  font-feature-settings: "palt";
}

h1, h2, h3 { word-break: auto-phrase; text-wrap: balance; }

a { color: inherit; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--correction);
  outline-offset: 3px;
}

/* 各ページ共通の中央寄せラッパー */
.wrap {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- ボタン（全ページ共通） ---------- */
.button {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  line-height: 1.4;
}
.button--primary { background: var(--correction); color: #fff; }
.button--primary:hover { background: var(--correction-deep); }
.button--ghost { background: transparent; color: inherit; border: 1px solid var(--paper-line); }
.button--ghost:hover { border-color: var(--steel); }
.button--large { font-size: 18px; padding: 16px 34px; }

.text-link {
  color: var(--blueprint);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--paper-line);
  padding-bottom: 1px;
}
.text-link:hover { border-bottom-color: var(--blueprint); }

/* ---------- ヘッダー ---------- */
.site-header {
  border-bottom: 1px solid var(--paper-line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header__inner {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  flex-wrap: wrap;
  padding-block: 6px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
}
.brand__mark { width: 26px; height: 26px; color: var(--blueprint); flex-shrink: 0; }

.site-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--paper-line); }

/* ---------- フッター ---------- */
.site-footer {
  background: var(--blueprint-deep);
  border-top: 1px solid rgba(255,255,255,.14);
  color: #fff;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer__inner {
  width: min(1080px, 100% - 40px);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  flex-wrap: wrap;
}
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: #fff; opacity: .85; }
.site-footer a:hover { opacity: 1; }
.site-footer__copy { margin: 0; opacity: .7; }

/* ---------- モバイル（〜460px） ---------- */
@media screen and (max-width: 460px) {
  body { font-size: 16px; }
  .site-header__inner { min-height: 56px; gap: 12px 16px; }
  .site-nav { gap: 14px; font-size: 14px; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 14px; }
}
