@charset "UTF-8";
/* ==========================================================================
   Foundation — トークン・リセット・基本要素
   デモ「デイサービス はまひなた」（採用ライト）
   🔴 色はシートから機械的に決めたもの（39_シート回答）:
      --c-main   … brandColor #B0522D（送迎車のだいだい色）。白文字 5.13:1 実測済み
      --c-cream  … 温かいニュートラル（32_マニュアル §4-3 の標準）
   ========================================================================== */

:root {
  --c-main: #B0522D;
  --c-main-dark: #8E3F20;
  --c-main-pale: #F8E3D3;
  --c-main-ghost: rgba(176, 82, 45, 0.14);
  /* 🔴 生成りは杏色寄り（#FBF2E5）。clinic の #FBF7F0 と同じ値にしない —
     別会社のデモが同じ地色だと「同じサイト」に見える（2026-08-15 本人指摘・38 §8） */
  --c-cream: #FBF2E5;
  --c-white: #FFFFFF;
  --c-ink: #2E2A28;
  --c-muted: #6E6862;
  --c-line: #EBDCCA;

  --c-font-head: "M PLUS Rounded Care", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-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(46, 42, 40, 0.05), 0 10px 28px rgba(46, 42, 40, 0.08);
  --c-shadow-hover: 0 2px 4px rgba(46, 42, 40, 0.06), 0 16px 36px rgba(46, 42, 40, 0.12);

  --c-radius: 16px;       /* カード */
  --c-radius-btn: 999px;  /* ボタン */
}

/* ── リセット ── */
*,
*::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: 700;
  line-height: 1.4;
  text-wrap: balance;
}

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

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

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

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