/* 見本LP5：法律事務所の相続放棄・限定承認の相談窓口（架空の事務所）
   配色は2案。html[data-theme="a"]＝紺×淡い青灰（信頼・落ち着き）／html[data-theme="b"]＝深緑×生成り（青系以外・やわらかい）
   どちらも白地＋淡い面の色1つ＋アクセント1色。コントラスト比の実測は check.py の出力（shots/check-result.json） */

html[data-theme="a"] {
  --bg: #ffffff;
  --surface: #f0f3f6;
  --text: #1c2733;      /* 白地で 15.4:1 */
  --sub: #34404c;       /* 本文の副色＝実物は #333〜黒（research.md）で濃いめに寄せた */
  --cta: #b4501c;       /* 電話の入口＝暖色（実物 7本中5本）。白文字で約5:1 */
  --cta-dark: #963f12;
  --accent: #23466e;    /* 白文字で 9.6:1 */
  --accent-dark: #17324f;
  --accent-soft: #dfe7f0;
  --line: #d3dbe4;
  --field-line: #7d8a98; /* 入力欄の枠＝白地で 3.5:1（WCAG 1.4.11 の 3:1 以上） */
  --band-shade: rgba(23, 50, 79, .86);
  --footer: #1c2733;
}
:root,
html[data-theme="b"] {
  --bg: #ffffff;
  --surface: #f5f2ea;
  --text: #22291f;      /* 白地で 14.9:1 */
  --sub: #3a4136;       /* 本文の副色＝実物は #333〜黒で濃いめに寄せた */
  --cta: #b4501c;
  --cta-dark: #963f12;
  --accent: #2c5a48;    /* 白文字で 7.9:1 */
  --accent-dark: #1e4234;
  --accent-soft: #e2ece4;
  --line: #e1dccf;
  --field-line: #8a8a7c; /* 入力欄の枠＝白地で 3.5:1 */
  --band-shade: rgba(30, 66, 52, .86);
  --footer: #22291f;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  overflow-wrap: anywhere;
  padding-bottom: 84px; /* スマホの追従CTAの分（本文の最後が隠れんように） */
}
@media (min-width: 900px) {
  body { font-size: 17px; padding-bottom: 0; }
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 900px) { .container { padding: 0 40px; } }

/* 日本語の見出しは文節で折り返す */
.h2, .h3, .hero__title, .checks li, .points li, .compare__row dd, .flow h3, .flow p,
.faq__list summary, .price__table dt, .band__title, .band__item dt, .contact__form-title {
  word-break: auto-phrase;
}
.nowrap { white-space: nowrap; }

/* ---------- 見出しの型：英字の小見出し＋明朝 ---------- */
.label {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.h2 {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}
@media (min-width: 900px) { .h2 { font-size: 34px; margin-bottom: 32px; } }
.section-head { margin-bottom: 40px; }
@media (min-width: 900px) { .section-head { margin-bottom: 64px; } }

.h3 {
  font-family: "Shippori Mincho", "Yu Mincho", serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.h3__no { font-size: 18px; color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0; }

.section { padding: 80px 0; background: #fff; }
.section.tint { background: var(--surface); }   /* 節の地は白と淡い面の色を交互に */
@media (min-width: 900px) { .section { padding: 120px 0; } }

.note { color: var(--sub); margin-top: 24px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  transition: background-color .2s, color .2s;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.5;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--tel:hover { background: var(--cta-dark); border-color: var(--cta-dark); }
.btn--ghost { background: #fff; color: var(--accent); }
.btn--ghost:hover { background: var(--accent-soft); }
.btn--sm { min-height: 44px; padding: 6px 18px; }
.btn--block { width: 100%; }
.btn--tel { background: var(--cta); border-color: var(--cta); flex-direction: column; gap: 0; padding: 12px 28px 14px; }
.btn--tel__label { font-size: 16px; font-weight: 500; }
.btn--tel__time { font-size: 16px; font-weight: 400; opacity: .95; letter-spacing: 0; }
.btn--tel__num { font-size: 26px; letter-spacing: 0.06em; line-height: 1.3; font-variant-numeric: tabular-nums; }
.btn--tel__num::before {
  content: ""; display: inline-block; width: 20px; height: 20px; margin-right: 8px; vertical-align: -2px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.6a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- ヘッダー（PC＝電話番号と受付時間を右上に／スマホ＝電話ボタンだけ） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 8px 16px;
}
@media (min-width: 900px) { .site-header__inner { padding: 12px 40px; } }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1.4; min-width: 0; }
.logo__sub { font-size: 16px; color: var(--accent); letter-spacing: 0.04em; display: none; }
.logo__name { font-family: "Shippori Mincho", serif; font-size: 18px; font-weight: 600; letter-spacing: 0.08em; }
@media (min-width: 600px) { .logo__sub { display: block; } .logo__name { font-size: 20px; } }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-tel { display: none; margin: 0; text-align: right; line-height: 1.35; }
.header-tel__label { display: block; font-size: 16px; color: var(--sub); }
.header-tel__num {
  display: block; font-size: 26px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--accent); text-decoration: none; font-variant-numeric: tabular-nums;
}
.header-tel__time { display: block; font-size: 16px; color: var(--sub); }
.header-cta__mail { display: none; }
.header-cta__tel-sp { background: var(--cta); border-color: var(--cta); }
@media (min-width: 1000px) {
  .header-tel { display: block; }
  .header-cta__mail { display: inline-flex; }
  .header-cta__tel-sp { display: none; }
}

/* ---------- FV ---------- */
.hero { position: relative; background: var(--surface); }
.hero__photo { position: relative; }
.hero__person {
  position: absolute; left: 12px; bottom: 12px; display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.95); border-radius: 999px; padding: 6px 16px 6px 6px; box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.hero__photo .hero__person img { width: 52px; height: 52px; border-radius: 50%; aspect-ratio: 1 / 1 !important; position: static !important; object-fit: cover; }
.hero__person p { white-space: nowrap; margin: 0; font-size: 16px; line-height: 1.35; color: var(--text); font-weight: 500; }
.hero__person span { display: block; font-size: 16px; font-weight: 400; color: var(--sub); }
@media (min-width: 900px) { .hero__person { left: 32px; top: 32px; bottom: auto; padding-right: 22px; } .hero__photo .hero__person img { width: 64px; height: 64px; } }
.hero__photo img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; } /* スマホは低く＝最初の1画面に電話ボタンを入れる（実物 4/7） */
@media (max-width: 899px) { .hero .label { display: none; } }
.hero__body { padding: 20px 20px 64px; }
.hero__title {
  font-family: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 600;
  font-size: 27px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}
.hero__lead { color: var(--sub); margin-bottom: 20px; }
.hero__tags { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__tags li {
  padding: 2px 14px; border-radius: 4px;
  background: #fff; color: var(--accent-dark); border: 1px solid var(--line);
  font-weight: 500; line-height: 1.8;
}
.hero__cta { display: flex; flex-direction: column; gap: 12px; }
.hero__time { margin-top: 14px; color: var(--sub); }

@media (min-width: 900px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    min-height: min(calc(100vh - 89px), 780px);
  }
  .hero__photo { order: 2; position: relative; }
  .hero__photo img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .hero__body {
    order: 1; align-self: center;
    padding: 64px 56px 64px max(40px, calc((100vw - 1120px) / 2 + 40px));
  }
  .hero__title { font-size: 38px; line-height: 1.55; margin-bottom: 24px; }
  .hero__cta { flex-direction: row; flex-wrap: wrap; align-items: stretch; }
}

/* FV と フッターの断り書き */
.fict-tag {
  display: inline-block; margin: 0 0 18px;
  padding: 0 12px; border: 1px solid var(--line); border-radius: 4px;
  color: var(--sub); font-size: 16px; line-height: 1.9;
  background: #fff;
}

/* ---------- 写真と文の交互組み（3列カードにしない） ---------- */
.split { display: grid; gap: 32px; }
.split + .split { margin-top: 64px; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.support .split__media img { aspect-ratio: 3 / 2; }
@media (min-width: 900px) {
  .split { grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
  .split + .split { margin-top: 104px; }
  .split--flip { grid-template-columns: 5fr 6fr; }
  .split--flip .split__media { order: 2; }
}

/* ---------- お悩み（チェックの並び） ---------- */
.checks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checks li {
  position: relative; padding: 14px 0 14px 34px;
  border-bottom: 1px solid var(--line); font-weight: 500; line-height: 1.7;
}
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 21px;
  width: 16px; height: 9px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
.checks__sub { display: block; font-weight: 400; color: var(--sub); }

/* ---------- 期限（番号つきの要点） ---------- */
.points { list-style: none; margin: 24px 0 0; padding: 0; counter-reset: pt; }
.points li { counter-increment: pt; position: relative; padding: 0 0 18px 40px; }
.points li::before {
  content: counter(pt); position: absolute; left: 0; top: 2px;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #fff; font-size: 16px; line-height: 1;
}
.points strong { display: block; color: var(--accent-dark); }

/* ---------- 相続放棄と限定承認の違い（表は箱にせず罫線で） ---------- */
.compare__table { margin: 56px 0 0; border-top: 2px solid var(--accent); }
.compare__row { border-bottom: 1px solid var(--line); padding: 16px 0; }
.compare__row dt { font-weight: 700; color: var(--accent-dark); margin-bottom: 8px; }
.compare__row dd { margin: 0 0 8px; padding-left: 92px; position: relative; }
.compare__row dd:last-child { margin-bottom: 0; }
.compare__row dd::before {
  position: absolute; left: 0; top: 0;
  font-weight: 700; color: var(--accent);
}
.compare__row dd:nth-of-type(1)::before { content: "相続放棄"; }
.compare__row dd:nth-of-type(2)::before { content: "限定承認"; }
.compare__row--head { display: none; }
@media (min-width: 900px) {
  .compare__table { margin-top: 88px; }
  .compare__row { display: grid; grid-template-columns: 11em 1fr 1fr; gap: 40px; padding: 22px 0; }
  .compare__row dt { margin: 0; }
  .compare__row dd { padding-left: 0; margin: 0; }
  .compare__row dd::before { display: none; }
  .compare__row--head { display: grid; padding: 14px 0; }
  .compare__row--head dd {
    font-family: "Shippori Mincho", serif; font-weight: 600; font-size: 22px; color: var(--accent);
  }
}

/* ---------- 数字の帯（箱にせず、写真の上に1本の帯で） ---------- */
.band {
  position: relative; color: #fff;
  background: var(--accent-dark) url("images/08-band.jpg") center / cover no-repeat;
}
.band::before { content: ""; position: absolute; inset: 0; background: var(--band-shade); }
.band__inner { position: relative; padding-top: 56px; padding-bottom: 56px; }
.band__title {
  font-family: "Shippori Mincho", serif; font-weight: 600;
  font-size: 22px; line-height: 1.6; letter-spacing: 0.05em; margin-bottom: 24px;
}
.band__list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.band__item { padding: 16px 12px 16px 0; border-top: 1px solid rgba(255,255,255,.35); }
.band__item:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255,255,255,.35); }
.band__item dt { line-height: 1.6; }
.band__item dd { margin: 4px 0 0; }
.band .num { font-family: "Shippori Mincho", serif; font-size: 44px; line-height: 1.2; font-weight: 600; }
.band .unit { font-size: 18px; margin-left: 4px; font-weight: 700; }
.band__sub { display: block; font-size: 16px; }
@media (min-width: 900px) {
  .band__inner { padding-top: 72px; padding-bottom: 72px; }
  .band__title { font-size: 26px; margin-bottom: 32px; }
  .band__list { grid-template-columns: repeat(4, 1fr); }
  .band__item, .band__item:nth-child(even) { padding: 8px 24px; border-top: 0; border-left: 1px solid rgba(255,255,255,.35); }
  .band__item:first-child { border-left: 0; padding-left: 0; }
  .band .num { font-size: 56px; }
}

/* ---------- ご相談の流れ ---------- */
.flow__grid { display: grid; gap: 32px; }
.flow__photo { margin-top: 8px; }
.flow__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.flow { list-style: none; margin: 0; padding: 0; }
.flow li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.flow li:last-child { border-bottom: 1px solid var(--line); }
.flow__no {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--accent); color: var(--accent);
  font-family: "Shippori Mincho", serif; font-size: 18px; font-weight: 600; line-height: 1;
}
.flow h3 { font-size: 18px; font-weight: 700; line-height: 1.6; margin-bottom: 4px; }
.flow p { color: var(--sub); }
@media (min-width: 900px) {
  .flow__grid { grid-template-columns: 5fr 6fr; gap: 88px; align-items: start; }
  .flow__side { position: sticky; top: 120px; }
}

/* ---------- 費用 ---------- */
.price__grid { display: grid; gap: 32px; }
.price__photo { margin-top: 28px; }
.price__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.price__table { margin: 0; background: #fff; border-radius: 4px; padding: 4px 20px; }
.price__table > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.price__table > div:last-child { border-bottom: 0; }
.price__table dt { font-weight: 500; }
.price__table dd { margin: 2px 0 0; color: var(--accent-dark); font-weight: 700; }
.price__num { font-family: "Shippori Mincho", serif; font-size: 28px; letter-spacing: 0.03em; margin-right: 2px; font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .price__grid { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .price__table { padding: 8px 40px; }
  .price__table > div { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 20px 0; }
  .price__table dd { margin: 0; white-space: nowrap; }
}

/* ---------- 担当弁護士 ---------- */
.lawyer__grid { display: grid; gap: 32px; }
.lawyer__photo img { width: 100%; max-width: 480px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; }
.lawyer__name { font-family: "Shippori Mincho", serif; font-size: 22px; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 0; }
.lawyer__kana { display: inline-block; margin-left: 12px; font-family: "Noto Sans JP", sans-serif; font-size: 16px; font-weight: 400; color: var(--sub); letter-spacing: 0.04em; }
.lawyer__bar { color: var(--sub); margin-bottom: 24px; }
@media (min-width: 900px) {
  .lawyer__grid { grid-template-columns: 5fr 6fr; gap: 80px; align-items: center; }
}

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 24px; }
.faq__photo { display: none; }
@media (min-width: 900px) {
  .faq__grid { grid-template-columns: 4fr 7fr; gap: 72px; align-items: start; }
  .faq__photo { display: block; margin-top: 8px; }
  .faq__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; }
}
.faq__list details { border-top: 1px solid var(--line); background: transparent; }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 40px 20px 36px; font-weight: 700; line-height: 1.7;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before {
  content: "Q"; position: absolute; left: 0; top: 18px;
  font-family: "Shippori Mincho", serif; font-size: 20px; color: var(--accent);
}
.faq__list summary::after {
  content: ""; position: absolute; right: 6px; top: 50%;
  width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform .2s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding: 0 8px 22px 36px; color: var(--sub); }

/* ---------- ご相談の予約 ---------- */
.contact { background: var(--surface); padding-bottom: 80px; }
.contact__photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.contact__grid { display: grid; gap: 40px; padding-top: 48px; }
.tel-block {
  display: block; margin-top: 24px; padding: 20px 20px 18px;
  background: var(--cta); color: #fff; border-radius: 6px; text-decoration: none; text-align: center;
}
.tel-block:hover { background: var(--cta-dark); }
.tel-block__label { display: block; font-weight: 500; }
.tel-block__num { display: block; font-size: 32px; font-weight: 700; letter-spacing: 0.06em; line-height: 1.35; font-variant-numeric: tabular-nums; }
.tel-block__time { display: block; font-size: 16px; }
.contact__form { background: #fff; border-radius: 6px; padding: 28px 20px; }
.contact__form-title { font-family: "Shippori Mincho", serif; font-weight: 600; font-size: 22px; line-height: 1.6; margin-bottom: 4px; }
.contact__form-lead { color: var(--sub); margin-bottom: 20px; }
.choice { border: 0; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.choice legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.choice label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--accent); }
.field { display: block; font-weight: 700; margin-bottom: 18px; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 6px;
  font: inherit; font-weight: 400; font-size: 16px;
  padding: 12px 14px; border: 1px solid var(--field-line); border-radius: 4px; background: #fff; color: var(--text);
}
.field input::placeholder { color: #6b7480; }
.contact__form-note { margin-top: 14px; color: var(--sub); }
@media (min-width: 900px) {
  .contact { padding-bottom: 120px; }
  .contact__photo img { aspect-ratio: auto; height: 440px; }
  .contact__grid { grid-template-columns: 5fr 6fr; gap: 72px; padding-top: 72px; align-items: start; }
  .contact__form { padding: 40px; }
  .tel-block { text-align: left; padding: 24px 28px; }
  .tel-block__num { font-size: 38px; }
}

/* ---------- 事務所のご案内 ---------- */
.office__table { margin: 0; border-top: 1px solid var(--line); }
.office__table > div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.office__table dt { font-weight: 700; color: var(--accent-dark); }
.office__table dd { margin: 0; }
@media (min-width: 900px) {
  .office__table > div { display: grid; grid-template-columns: 6em 1fr; gap: 16px; }
}
.office__link { margin-top: 24px; }
.office__link a { color: var(--accent); font-weight: 700; }

/* ---------- フッター ---------- */
.site-footer { background: var(--footer); color: #fff; padding: 48px 0 40px; }
.site-footer p { margin: 0 0 10px; }
.site-footer__fict { padding: 12px 16px; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; margin-bottom: 24px !important; }
.site-footer__name { font-family: "Shippori Mincho", serif; font-size: 18px; font-weight: 600; letter-spacing: 0.06em; }
.site-footer__theme a { color: #fff; }

/* ---------- スマホの追従CTA（電話が主・メールは従） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 88px; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(0,0,0,.06);
  transition: transform .25s;
}
.sticky-cta.is-hidden { transform: translateY(110%); }
.sticky-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 60px; border-radius: 6px; text-decoration: none; font-weight: 700; line-height: 1.3;
}
.sticky-cta__tel { background: var(--cta); color: #fff; }
.sticky-cta__label { font-size: 16px; font-weight: 500; }
.sticky-cta__num { font-size: 20px; letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.sticky-cta__mail { border: 1.5px solid var(--accent); color: var(--accent); background: #fff; font-size: 16px; text-align: center; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---------- 出現の動き（JS が効く時だけ） ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
