:root {
  /* --- ブランドカラー --- */
  --ink: #1c2b45;           /* 見出し・信頼の基調色 */
  --ink-soft: #3d4a63;
  --vermillion: #b8412e;    /* 印鑑の朱肉。承認・CTA用、多用しない */
  --vermillion-deep: #93321f;
  --paper: #faf6ef;         /* 和紙質感の背景（純白より温かい） */
  --paper-dim: #f2ecdf;
  --card: #ffffff;
  --bamboo: #5c7a5e;        /* 補助・成功系アクセント */
  --slate: #5b6472;         /* 本文グレー */
  --line: #e3dcc9;

  /* --- 影 --- */
  --shadow-sm: 0 2px 10px rgba(28, 43, 69, 0.06);
  --shadow-md: 0 10px 28px rgba(28, 43, 69, 0.1);
  --shadow-lg: 0 24px 56px rgba(28, 43, 69, 0.16);
  --shadow-stamp: 0 6px 18px rgba(184, 65, 46, 0.25);

  /* --- タイポグラフィ --- */
  --font-display: 'Shippori Mincho', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --font-label: 'BIZ UDPGothic', sans-serif;

  /* --- レイアウト --- */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --header-h: 76px;
  --banner-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--banner-h); /* 追従バナー分の余白 */
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

.wrap {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--dim { background: var(--paper-dim); }
.section--ink { background: var(--ink); color: var(--paper); }

/* --- 見出し体系 --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--vermillion);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--vermillion);
}

.heading-xl {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.35;
  letter-spacing: 0.01em;
}
.heading-l {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.4;
}
.heading-m {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.5;
}
.lede {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--slate);
  line-height: 1.9;
}

/* --- ボタン --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 100px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.02em;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
}
.btn--line {
  background: #06c755;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--line:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(6, 199, 85, 0.3); }
.btn--stamp {
  background: var(--vermillion);
  color: #fff;
  box-shadow: var(--shadow-stamp);
}
.btn--stamp:hover { transform: translateY(-3px); background: var(--vermillion-deep); }
.btn--outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }

/* --- スクロールリビール（IntersectionObserver駆動、JSはbase.jsで一元管理） --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-visible > * { opacity: 1; transform: none; }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.36s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* --- 印影バッジ（シグネチャー要素の反復使用） --- */
.stamp-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2.5px solid var(--vermillion);
  color: var(--vermillion);
  font-family: var(--font-label);
  font-weight: 700;
  flex-shrink: 0;
}

::selection { background: var(--vermillion); color: #fff; }
:focus-visible { outline: 2.5px solid var(--vermillion); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
