/* ============================================================
   きろくね — サイト共通スタイル
   初期デザイン仕様: 採用案A「呼吸する余白」
   淡いラベンダー / 白 / 深いネイビー / 大きな余白 / やわらかな角丸
   ============================================================ */

:root {
  /* カラートークン（採用案A） */
  --bg: #f7f6fc;            /* 淡いラベンダー背景 */
  --surface: #ffffff;       /* 白いカード面 */
  --ink: #241f3d;           /* 深いネイビー（見出し・本文の主） */
  --ink-soft: #463f5e;      /* ヒーローのリード文 */
  --body: #4c4562;          /* カード内本文 */
  --muted: #5d5578;         /* 補足・メタ情報 */
  --accent: #6b5aa6;        /* アクセント紫 */
  --accent-hover: #54468a;
  --accent-deep: #4d3f80;   /* 白ボタンの文字・薄紫面のラベル */
  --line: #e7e3f3;          /* 罫線 */
  --tint: #efecf9;          /* 薄紫のセクション背景・チップ */
  --halo: #e9e4f7;          /* ヒーローの光の玉 */
  --navy: #241f3d;          /* ダークセクション背景 */
  --navy-card: #2b2545;
  --navy-text: #bdb5d4;
  --navy-text-soft: #b4abcd;
  --navy-label: #b7add8;
  --navy-icon: #c2b9de;
  --navy-footer-note: #9a91b8;
  --outline-border: #cdc5e4;
  --toggle-off: #e2ddf0;
  --transcript-bg: #e6e1f4;
  --draft-border: #cfc6e6;
  --article-ink: #2f2949;

  /* カテゴリチップ */
  --chip-hint-bg: #efecf9;  --chip-hint-fg: #4d3f80;
  --chip-home-bg: #efecf9;  --chip-home-fg: #4d3f80;
  --chip-work-bg: #e8eef0;  --chip-work-fg: #3c5560;
  --chip-self-bg: #f1eae6;  --chip-self-fg: #5f4438;

  /* 形・余白 */
  --radius-card: 24px;
  --radius-card-sm: 20px;
  --shadow-cta: 0 12px 24px rgba(107, 90, 166, .26);
  --shadow-card: 0 12px 36px rgba(36, 31, 61, .16);
  --pad-x: 26px;

  --font-ja: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN",
             "Yu Gothic UI", "Meiryo", system-ui, sans-serif;
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.9;
  font-feature-settings: "palt";
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
img, svg { display: block; max-width: 100%; }
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- スキップリンク ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: top .15s ease;
}
.skip-link:focus-visible { top: 12px; color: #fff; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 252, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px 0 var(--pad-x);
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--accent);
  padding: 10px 0;
}
.brand:hover { color: var(--accent-hover); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-deep);
}
.nav-toggle:hover { background: var(--tint); }
.nav-toggle .nav-toggle__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle .nav-toggle__bars span {
  width: 16px; height: 2px; border-radius: 1px;
  background: currentColor;
}

.site-nav {
  display: none;
}
.site-nav.is-open {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  right: 12px;
  left: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 12px;
}
.site-nav ul { display: flex; flex-direction: column; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.site-nav a:hover { background: var(--tint); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.site-nav .site-nav__cta {
  margin-top: 8px;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  min-height: 52px;
}
.site-nav .site-nav__cta:hover { background: var(--accent-hover); color: #fff; }

@media (min-width: 960px) {
  .site-header__inner { min-height: 78px; padding: 0 40px; }
  .brand { font-size: 20px; letter-spacing: .22em; }
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 6px; }
  .site-nav a {
    min-height: 44px;
    padding: 0 16px;
    font-size: 15px;
    color: var(--muted);
    border-radius: 999px;
  }
  .site-nav a:hover { color: var(--ink); }
  .site-nav .site-nav__cta {
    margin-top: 0;
    margin-left: 10px;
    padding: 0 24px;
    min-height: 48px;
  }
}

/* ---------- レイアウト ---------- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.container--narrow { max-width: 760px; }

.section { padding: 44px 0; }
.section--tint { background: var(--tint); }
.section--surface { background: var(--surface); }
.section--navy { background: var(--navy); color: var(--tint); }
@media (min-width: 960px) {
  .section { padding: 88px 0; }
}

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: .02em;
}
.section--tint .eyebrow { color: var(--accent-deep); }
.section--navy .eyebrow { color: var(--navy-label); }

.section__title {
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.6;
  font-weight: 700;
}
.section--navy .section__title { color: #fff; }
.section__lead {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--body);
  max-width: 640px;
}
.section--navy .section__lead { color: var(--navy-text); }
@media (min-width: 960px) {
  .section__title { font-size: 32px; margin-top: 18px; }
  .section__lead { font-size: 15.5px; }
}

/* ---------- ボタン ---------- */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 58px;
  padding: 8px 32px;
  border-radius: 999px;
  font-size: 16.5px;
  font-weight: 700;
  text-align: center;
  transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-secondary {
  background: var(--surface);
  color: var(--accent-deep);
  font-weight: 500;
  font-size: 16px;
}
.btn-secondary:hover { color: var(--accent); }
.section--surface .btn-secondary,
.card .btn-secondary { background: var(--bg); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--outline-border);
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 14.5px;
  min-height: 52px;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { min-height: 52px; font-size: 14.5px; padding: 6px 22px; }
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
@media (min-width: 700px) {
  .btn-group--row { flex-direction: row; }
  .btn { padding: 8px 38px; }
  .hero__actions { flex-direction: row; }
  .hero__actions .btn { flex: none; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 48px;
}
.hero__halo {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, var(--halo), var(--bg));
  top: -40px;
  right: -120px;
  pointer-events: none;
}
.hero__inner { position: relative; }
.hero__eyebrow { font-size: 13px; font-weight: 500; color: var(--accent); }
.hero__title {
  margin-top: 16px;
  font-size: 30px;
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: -.01em;
}
.hero__lead {
  margin-top: 18px;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  max-width: 520px;
}
.hero__actions { margin-top: 26px; max-width: 480px; }
.hero__notes {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.hero__notes li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}
.hero__notes svg { flex: none; margin-top: 4px; }
.hero__note-text {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
  max-width: 480px;
}

@media (min-width: 960px) {
  .hero { padding: 96px 0 104px; }
  .hero__halo { width: 620px; height: 620px; top: -90px; }
  .hero__title { font-size: 54px; line-height: 1.55; letter-spacing: -.015em; }
  .hero__lead { font-size: 18px; line-height: 2.1; }
  .hero__actions { max-width: none; }
  .hero--with-phone .hero__inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
  }
  .hero--with-phone .hero__copy { max-width: 620px; }
}

/* デスクトップヒーローの端末モック */
.phone-mock {
  display: none;
}
@media (min-width: 1060px) {
  .phone-mock {
    display: block;
    flex: none;
    width: 300px;
    border-radius: 44px;
    background: var(--surface);
    box-shadow: 0 30px 70px rgba(36, 31, 61, .18);
    border: 1px solid var(--line);
    padding: 34px 26px 30px;
  }
  .phone-mock__brand {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--accent);
  }
  .phone-mock__title {
    margin-top: 32px;
    font-size: 24px;
    line-height: 1.5;
    font-weight: 700;
  }
  .phone-mock__record {
    margin-top: 28px;
    height: 130px;
    border-radius: 34px;
    background: linear-gradient(155deg, #7d6cbb, #5f4f99);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
  }
  .phone-mock__row { margin-top: 14px; display: flex; gap: 10px; }
  .phone-mock__chip {
    flex: 1;
    height: 52px;
    border-radius: 26px;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
  }
  .phone-mock__label {
    margin-top: 26px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
  }
  .phone-mock__ghost {
    margin-top: 12px;
    height: 60px;
    border-radius: 20px;
    background: var(--bg);
  }
  .phone-mock__ghost + .phone-mock__ghost { margin-top: 10px; }
}

/* ---------- カード ---------- */
.card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 20px;
}
.card__title { font-size: 16px; font-weight: 700; }
.card__body {
  margin-top: 7px;
  font-size: 13.5px;
  line-height: 1.9;
  color: var(--body);
}

.card-grid {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) {
  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* 機能カード（アイコンつき） */
.feature-card { display: flex; gap: 15px; align-items: flex-start; }
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 22px;
  background: var(--tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.feature-card__content { flex: 1; min-width: 0; }

/* 記録の三つの層 */
.layer-card { border-radius: 22px; padding: 18px; }
.layer-card--original {
  background: var(--surface);
  border-left: 5px solid var(--accent);
}
.layer-card--transcript { background: var(--transcript-bg); }
.layer-card--draft {
  border: 1px solid var(--draft-border);
  background: rgba(255, 255, 255, .5);
}
.layer-card__label { font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.layer-card--draft .layer-card__label { color: var(--muted); }
.layer-card__body { margin-top: 9px; font-size: 13.5px; line-height: 1.9; color: var(--body); }

/* ---------- チップ ---------- */
.pill-list { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.cat-chip--hint { background: var(--chip-hint-bg); color: var(--chip-hint-fg); }
.cat-chip--home { background: var(--chip-home-bg); color: var(--chip-home-fg); }
.cat-chip--work { background: var(--chip-work-bg); color: var(--chip-work-fg); }
.cat-chip--self { background: var(--chip-self-bg); color: var(--chip-self-fg); }

/* ---------- ステップ ---------- */
.steps { margin-top: 22px; display: grid; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step__num {
  width: 38px;
  height: 38px;
  border-radius: 19px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex: none;
}
.step__content { flex: 1; min-width: 0; }
.step__title { font-size: 16px; font-weight: 700; }
.step__body { margin-top: 6px; font-size: 13.5px; line-height: 1.9; color: var(--body); }
@media (min-width: 900px) {
  .steps--row { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

/* ---------- ダーク（あなたの記録を守る） ---------- */
.guard-list { margin-top: 24px; display: grid; gap: 18px; }
.guard {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.guard__icon {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--navy-icon);
}
.guard__content { flex: 1; min-width: 0; }
.guard__title { font-size: 15.5px; font-weight: 700; color: #fff; }
.guard__body { margin-top: 6px; font-size: 13px; line-height: 1.9; color: var(--navy-text-soft); }
@media (min-width: 900px) {
  .guard-list { grid-template-columns: repeat(2, 1fr); gap: 26px 40px; }
}

.navy-card {
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--navy-card);
}
.navy-card__title { font-size: 14.5px; font-weight: 700; color: #fff; }
.navy-card__body { margin-top: 6px; font-size: 12.5px; line-height: 1.85; color: var(--navy-text-soft); }

.navy-outline-card {
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .16);
}
.navy-outline-card__title { font-size: 13.5px; font-weight: 700; color: #fff; }
.navy-outline-card__body { margin-top: 7px; font-size: 12.5px; line-height: 1.85; color: var(--navy-text-soft); }
.navy-outline-card .btn-row { margin-top: 12px; display: flex; gap: 9px; }
.navy-outline-card .btn-row a {
  flex: 1;
  min-height: 44px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--tint);
}
.navy-outline-card .btn-row a:hover { border-color: rgba(255, 255, 255, .6); color: #fff; }

/* ---------- コラム ---------- */
.article-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 20px;
  color: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}
.article-card:hover {
  color: inherit;
  box-shadow: 0 10px 28px rgba(36, 31, 61, .10);
}
.section--surface .article-card,
.article-card--tint { background: var(--bg); }
.article-card--featured { border-left: 5px solid var(--accent); }
.article-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  font-size: 12px;
  color: var(--muted);
}
.article-card__title {
  margin-top: 11px;
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 700;
}
.article-card__excerpt {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.85;
  color: var(--body);
}
.article-card__date { margin-top: 12px; font-size: 12px; color: var(--muted); }

/* フィルタ */
.filter-bar { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 500;
  min-height: 42px;
  transition: background-color .15s ease, color .15s ease;
}
.filter-chip:hover { background: var(--tint); }
.filter-chip[aria-pressed="true"] {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}
.search-field { position: relative; max-width: 420px; }
.search-field svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
.search-field input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  padding: 4px 20px 4px 46px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
}
.search-field input::placeholder { color: var(--muted); opacity: .8; }
.search-field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.filter-empty {
  margin-top: 24px;
  padding: 24px;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--body);
  font-size: 14px;
  display: none;
}
.filter-empty.is-visible { display: block; }

/* ---------- 記事詳細 ---------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 60;
  pointer-events: none;
}
.progress-bar__fill {
  width: 0;
  height: 100%;
  background: var(--accent);
}

.article-page { background: var(--surface); }
.article-page .site-header { background: rgba(255, 255, 255, .92); }

.article-header { padding: 34px 0 0; }
.article-header__title {
  margin-top: 16px;
  font-size: 25px;
  line-height: 1.6;
  font-weight: 700;
}
.article-header__meta { margin-top: 12px; font-size: 12.5px; color: var(--muted); }
@media (min-width: 960px) {
  .article-header { padding-top: 64px; }
  .article-header__title { font-size: 36px; }
}

.article-figure {
  margin-top: 24px;
  height: 180px;
  border-radius: 22px;
  background: linear-gradient(150deg, var(--tint), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #a79cd0;
}
@media (min-width: 960px) { .article-figure { height: 260px; } }

.toc {
  margin-top: 26px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 18px 20px;
  background: var(--bg);
}
.toc__label { font-size: 13px; font-weight: 700; color: var(--accent-deep); }
.toc ol { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.toc a {
  display: inline-flex;
  padding: 5px 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}
.toc a:hover { color: var(--accent); }

.article-body { padding-bottom: 8px; }
.article-body > p {
  margin-top: 26px;
  font-size: 15.5px;
  line-height: 2.15;
  color: var(--article-ink);
}
.article-body > h2 {
  margin-top: 40px;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
  scroll-margin-top: 88px;
}
.article-body .num-box {
  margin-top: 20px;
  background: var(--bg);
  border-radius: 22px;
  padding: 20px;
  border-left: 5px solid var(--accent);
}
.article-body .num-box ol {
  display: flex;
  flex-direction: column;
  gap: 11px;
  counter-reset: numbox;
}
.article-body .num-box li {
  display: flex;
  gap: 11px;
  font-size: 14.5px;
  line-height: 1.7;
  font-weight: 500;
  counter-increment: numbox;
}
.article-body .num-box li::before {
  content: counter(numbox, decimal-leading-zero);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  line-height: 2;
}
.article-body .pull-quote {
  margin-top: 26px;
  padding: 20px;
  border-radius: 22px;
  background: var(--bg);
  font-size: 15px;
  line-height: 2;
  font-weight: 500;
  color: #3b3358;
}
.article-note {
  margin-top: 32px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--muted);
}
@media (min-width: 960px) {
  .article-body > p { font-size: 16.5px; }
  .article-body > h2 { font-size: 23px; margin-top: 52px; }
}

/* ---------- 最終CTA ---------- */
.final-cta { text-align: center; }
.final-cta__title { font-size: 22px; line-height: 1.7; font-weight: 700; }
.final-cta__lead {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.95;
  color: var(--body);
}
.final-cta .btn { margin: 24px auto 0; max-width: 420px; }
.final-cta__note {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 960px) {
  .final-cta__title { font-size: 32px; }
  .final-cta__lead { font-size: 15.5px; }
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--navy);
  color: var(--navy-text);
  padding: 32px 0 36px;
}
.site-footer__brand {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--tint);
}
.site-footer__nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  margin-left: -8px;
  font-size: 13px;
  color: var(--navy-text);
}
.site-footer__nav a:hover { color: #fff; }
.site-footer__note {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--navy-footer-note);
}
.site-footer__copyright {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--navy-footer-note);
}
@media (min-width: 960px) {
  .site-footer { padding: 48px 0 52px; }
  .site-footer__nav { gap: 4px 24px; }
}

/* ---------- 補助 ---------- */
.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.section-head-row .more-link { font-size: 13px; font-weight: 500; white-space: nowrap; }

.note-box {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .6);
  font-size: 12.5px;
  line-height: 1.85;
  color: var(--body);
}

/* ---------- 運営・法務ページ ---------- */
.legal-intro {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
  color: var(--body);
}
.legal-meta {
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
}
.legal-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.legal-section__title {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 700;
}
.legal-section p {
  margin-top: 13px;
  font-size: 14px;
  line-height: 2;
  color: var(--body);
}
.legal-section ul {
  margin-top: 13px;
  padding-left: 1.25em;
  list-style: disc;
}
.legal-section li {
  margin-top: 8px;
  padding-left: .1em;
  font-size: 14px;
  line-height: 1.9;
  color: var(--body);
}
.legal-table {
  margin-top: 16px;
  border-top: 1px solid var(--line);
}
.legal-table > div {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.legal-table dt {
  font-size: 12px;
  color: var(--muted);
}
.legal-table dd {
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--body);
}
.legal-callout {
  margin-top: 20px;
  padding: 17px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  font-size: 13px;
  line-height: 1.9;
  color: var(--body);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.save-feedback {
  margin-top: 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent);
  min-height: 1.5em;
}
