@charset "UTF-8";
/* ==========================================================================
   Foundation — トークン・リセット・基本要素
   デモ「早瀬みのり税理士事務所」（スタンダード・5ページ）
   🔴 色はシートから機械的に決めたもの（45_シート回答）:
      --c-main   … brandColor #1E3A5F（応接室の椅子の藍色）。白文字 11.5:1 実測済み
      --c-cream  … 生成りは藍に寄せて青みがかった灰白（#F4F3EE）。
                    clinic #FBF7F0 / care #FBF2E5 と同じ値にしない（別会社の地色を被らせない — 32 §4-4）
   ========================================================================== */

:root {
  --c-main: #1E3A5F;
  --c-main-dark: #152C49;
  --c-main-pale: #E7EDF5;
  --c-main-ghost: rgba(30, 58, 95, 0.12);
  --c-cream: #F4F3EE;
  --c-white: #FFFFFF;
  --c-ink: #23252B;
  --c-muted: #676A72;
  --c-line: #DEDBD2;

  /* 🔴 見出しは明朝（siteImpression: かっちり・信頼感 ＋ 洗練 → Shippori Mincho — 32 §4-4） */
  --c-font-head: "Shippori Sub", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --c-font-body: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;

  /* 影は二層（32_マニュアル §4-5） */
  --c-shadow: 0 1px 2px rgba(21, 44, 73, 0.05), 0 10px 28px rgba(21, 44, 73, 0.08);
  --c-shadow-hover: 0 2px 4px rgba(21, 44, 73, 0.06), 0 16px 36px rgba(21, 44, 73, 0.12);

  /* 🔴 かっちり寄りの角丸2段階（丸ゴのデモ2本の 16px／999px と揃えない＝別会社の見た目） */
  --c-radius: 10px;     /* カード */
  --c-radius-btn: 6px;  /* ボタン */
}

/* ── リセット ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1, h2, h3, h4,
p, figure, blockquote,
dl, dd, ol, ul {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

table {
  border-collapse: collapse;
  width: 100%;
}

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

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

summary {
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

/* ── 基本要素 ── */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  font-family: var(--c-font-body);
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--c-font-head);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

a {
  color: var(--c-main);
}

a:hover {
  color: var(--c-main-dark);
}

:focus-visible {
  outline: 3px solid var(--c-main);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: var(--c-main-pale);
}
