/* =========================================================
   SITE 112 — 共通コンポーネント
   header / drawer / breadcrumb / card / table / tabs /
   modal / lightbox / form / footer / cta-bar / placeholder
   ========================================================= */

/* ---------- レイアウト基本 ---------- */
.container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--w-narrow); }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -200px;
  z-index: 200;
  background: var(--c-navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--r);
  font-weight: 700;
  transition: top 0.2s ease;
}
.skip-link:focus { top: var(--sp-4); }

.section { padding-block: var(--sp-8); }
.page-head + .section { padding-block: var(--sp-5) var(--sp-8); }
.section--band { background: var(--c-bg-band); }
.section--alt { background: var(--c-bg-alt); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-5);
}
.section__titles { max-width: 46rem; }
.section__eyebrow {
  display: block;
  font-family: var(--f-round);
  font-size: var(--fs-deco);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--c-accent-strong);
  margin-bottom: var(--sp-1);
}
.section__title { font-size: var(--fs-h2); }
.section__lead {
  margin-top: var(--sp-3);
  color: var(--c-ink-muted);
  font-size: var(--fs-body);
}

.page-head { padding-block: var(--sp-7) var(--sp-5); }
.page-head__title { font-size: var(--fs-h1); }
.page-head__lead {
  margin-top: var(--sp-4);
  max-width: 46rem;
  color: var(--c-ink-muted);
  font-size: var(--fs-body-lg);
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap);
  padding: 10px 20px;
  border-radius: var(--r);
  font-family: var(--f-round);
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--primary { background: var(--c-accent); color: var(--c-ink-onpink); border-color: var(--c-accent); }
.btn--primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }
.btn--navy { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.btn--navy:hover { background: #131b30; border-color: #131b30; }
.btn--ghost { background: #fff; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { background: var(--c-lavender-050); border-color: var(--c-navy); }
.btn--sm { min-height: var(--tap); padding: 8px 14px; font-size: var(--fs-label); }
.btn--lg { min-height: 52px; padding: 14px 28px; font-size: var(--fs-body-lg); }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- テキストリンク ---------- */
.link {
  color: var(--c-accent-strong);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link:hover { color: var(--c-navy); }
.link-arrow::after { content: " →"; }

/* ---------- プレースホルダー画像枠 ---------- */
.ph {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--c-lavender-050);
  border: 1px solid var(--c-line);
}
.ph img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--4x3 { aspect-ratio: 4 / 3; }
.ph--3x2 { aspect-ratio: 3 / 2; }
.ph--3x4 { aspect-ratio: 3 / 4; }
.ph--1x1 { aspect-ratio: 1 / 1; }
.ph--flat { border-radius: 0; }

/* ---------- ヘッダー ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 253, 251, 0.96);
  border-bottom: 1px solid var(--c-line);
  backdrop-filter: saturate(1.1) blur(6px);
}
.hdr__in {
  max-width: var(--w-container);
  margin-inline: auto;
  padding: 10px var(--gutter);
  min-height: var(--h-header);
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.hdr__brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  flex: 0 1 auto;
  min-width: 0;
  min-height: var(--tap);
  justify-content: center;
  padding: 4px 0;
}
.hdr__cta-short { display: none; }
.hdr__brand-name {
  font-family: var(--f-round);
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--c-navy);
  line-height: 1.2;
}
.hdr__brand-sub {
  font-size: var(--fs-note);
  color: var(--c-ink-muted);
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.3;
}
.hdr__nav { margin-left: auto; }
.hdr__nav ul { display: flex; align-items: center; gap: 2px; }
.hdr__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 8px 12px;
  border-radius: var(--r);
  font-family: var(--f-round);
  font-size: var(--fs-label);
  font-weight: 700;
  text-decoration: none;
  color: var(--c-ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.hdr__nav a:hover { background: var(--c-lavender-050); }
.hdr__nav a[aria-current] {
  background: var(--c-lavender);
  color: var(--c-navy);
  box-shadow: inset 0 -3px 0 var(--c-accent);
}
.hdr__nav a[aria-current="true"] { box-shadow: inset 0 -3px 0 var(--c-line-strong); }
.hdr__acts { display: flex; align-items: center; gap: var(--sp-2); flex: none; }
.hdr__tel {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  padding: 4px 6px;
  min-height: var(--tap);
  justify-content: center;
}
.hdr__tel-label { font-size: var(--fs-note); color: var(--c-ink-muted); line-height: 1.3; }
.hdr__tel-num {
  font-family: var(--f-round);
  font-size: var(--fs-body-lg);
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.hdr__menu {
  display: none;
  align-items: center;
  gap: 6px;
  min-height: var(--tap);
  min-width: var(--tap);
  padding: 8px 12px;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--r);
  font-family: var(--f-round);
  font-weight: 700;
  font-size: var(--fs-label);
  color: var(--c-ink);
  background: #fff;
}
.hdr__menu-bars { display: inline-block; width: 18px; height: 12px; position: relative; }
.hdr__menu-bars::before,
.hdr__menu-bars::after,
.hdr__menu-bars span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-navy);
  border-radius: 2px;
}
.hdr__menu-bars::before { top: 0; }
.hdr__menu-bars span { top: 5px; }
.hdr__menu-bars::after { bottom: 0; }

/* ---------- ドロワー ---------- */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(38, 48, 74, 0.5);
}
.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  height: 100dvh;
  width: min(92vw, 400px);
  background: var(--c-white);
  box-shadow: var(--sh-2);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--sp-4) var(--sp-4) calc(var(--sp-7) + env(safe-area-inset-bottom));
}
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--c-line);
}
.drawer__title { font-size: var(--fs-h4); font-family: var(--f-round); font-weight: 800; }
.drawer__close {
  min-width: var(--tap);
  min-height: var(--tap);
  border: 2px solid var(--c-line-strong);
  border-radius: var(--r);
  font-size: var(--fs-label);
  font-weight: 700;
  font-family: var(--f-round);
  padding: 0 12px;
  background: #fff;
}
.drawer__nav { padding-block: var(--sp-3); }
.drawer__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 52px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--c-line);
  text-decoration: none;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: var(--fs-body);
}
.drawer__nav a::after { content: "→"; color: var(--c-accent-strong); }
.drawer__nav a[aria-current] { background: var(--c-lavender-050); color: var(--c-navy); }
.drawer__info {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  background: var(--c-lavender-050);
  border-radius: var(--r);
  font-size: var(--fs-note);
  color: var(--c-ink-muted);
}
.drawer__info dt { font-weight: 700; color: var(--c-ink); margin-top: var(--sp-2); }
.drawer__info dt:first-child { margin-top: 0; }
.drawer__actions { margin-top: var(--sp-4); display: grid; gap: var(--sp-2); }

/* ---------- パンくず ---------- */
.crumbs { background: var(--c-lavender-025); border-bottom: 1px solid var(--c-line); }
.crumbs ol {
  max-width: var(--w-container);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  font-size: var(--fs-note);
  color: var(--c-ink-muted);
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before { content: "/"; color: var(--c-line-strong); }
.crumbs a, .crumbs span {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
}
.crumbs a { color: var(--c-ink-muted); text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--c-accent-strong); }
.crumbs [aria-current="page"] { color: var(--c-ink); font-weight: 700; }

/* ---------- カード ---------- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card__body { padding: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex: 1; }
.card__title { font-size: var(--fs-h4); font-family: var(--f-round); font-weight: 800; }
.card__text { font-size: var(--fs-body); color: var(--c-ink-muted); }
.card__meta { font-size: var(--fs-note); color: var(--c-ink-muted); }
.card--link { transition: box-shadow 0.2s ease, transform 0.2s ease; }
.card--link:hover { box-shadow: var(--sh-1); }
.card__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.card__link:hover .card__title { color: var(--c-accent-strong); text-decoration: underline; text-underline-offset: 3px; }

.grid { display: grid; gap: var(--sp-4); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- タグ・バッジ ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r);
  background: var(--c-lavender);
  color: var(--c-navy);
  font-size: var(--fs-note);
  font-weight: 500;
  line-height: 1.6;
}
.tag--pink { background: var(--c-pink-100); }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r);
  background: var(--c-navy);
  color: #fff;
  font-size: var(--fs-note);
  font-weight: 700;
}
.badge--pink { background: var(--c-accent); color: var(--c-ink-onpink); }
.badge--quiet { background: #fff; color: var(--c-ink-muted); border: 1px solid var(--c-line-strong); }

/* ---------- 人物カード ---------- */
.person {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.person__link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.person__link:hover .person__name { color: var(--c-accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.person__body { padding: var(--sp-3) var(--sp-4) var(--sp-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.person__name { font-family: var(--f-round); font-size: 1.1875rem; font-weight: 800; letter-spacing: 0.02em; }
.person__name-en { font-size: var(--fs-note); letter-spacing: 0.12em; color: var(--c-ink-muted); }
.person__role { font-size: var(--fs-note); color: var(--c-ink-muted); }
.person__time {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--c-navy);
}
.person__time::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c-accent);
  flex: none;
}
.person__time--off { color: var(--c-ink-muted); font-weight: 500; }
.person__time--off::before { background: var(--c-line-strong); }

/* ---------- 表 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; }
.table { font-size: var(--fs-body); min-width: 520px; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--c-line); vertical-align: top; line-height: 1.5; }
.table thead th { background: var(--c-lavender-050); font-weight: 700; white-space: nowrap; }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }

/* 表のカード化（SPで使用） */
.deflist { display: grid; gap: var(--sp-3); }
.deflist__row {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: var(--sp-3);
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  font-size: var(--fs-body);
}
.deflist__row dt { font-weight: 700; color: var(--c-navy); }
.deflist__row dd { color: var(--c-ink-muted); }

/* ---------- タブ ---------- */
.tabs { display: flex; flex-direction: column; gap: var(--sp-4); }
.tablist {
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.tablist::-webkit-scrollbar { height: 6px; }
.tablist::-webkit-scrollbar-thumb { background: var(--c-line-strong); border-radius: 3px; }
.tab {
  flex: none;
  min-height: var(--tap);
  padding: 8px 16px;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--r);
  background: #fff;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: var(--fs-label);
  color: var(--c-ink);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  white-space: nowrap;
}
.tab small { font-size: var(--fs-note); font-weight: 500; color: var(--c-ink-muted); }
.tab[aria-selected="true"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-ink-onpink);
}
.tab[aria-selected="true"] small { color: var(--c-ink-onpink); }
.tab--closed { border-style: dashed; }

/* ---------- 絞り込み ---------- */
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  padding: var(--sp-3) 0;
}
.filter__label { font-size: var(--fs-label); font-weight: 700; margin-right: var(--sp-2); }
.chip {
  min-height: var(--tap);
  padding: 8px 16px;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--r);
  background: #fff;
  font-size: var(--fs-label);
  font-weight: 700;
  font-family: var(--f-round);
  color: var(--c-ink);
}
.chip[aria-pressed="true"] { background: var(--c-navy); border-color: var(--c-navy); color: #fff; }
.filter__result { width: 100%; font-size: var(--fs-note); color: var(--c-ink-muted); }

/* ---------- アコーディオン ---------- */
.acc { border: 1px solid var(--c-line); border-radius: var(--r); background: #fff; overflow: hidden; }
.acc + .acc { margin-top: var(--sp-3); }
.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 56px;
  padding: 14px 16px;
  text-align: left;
  font-family: var(--f-round);
  font-size: var(--fs-body-lg);
  font-weight: 700;
  color: var(--c-ink);
}
.acc__btn:hover { background: var(--c-lavender-025); }
.acc__mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-lavender);
  position: relative;
}
.acc__mark::before, .acc__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--c-navy);
  transform: translate(-50%, -50%);
}
.acc__mark::before { width: 12px; height: 2px; }
.acc__mark::after { width: 2px; height: 12px; transition: opacity 0.2s ease; }
.acc__btn[aria-expanded="true"] .acc__mark::after { opacity: 0; }
.acc__panel { padding: 0 16px 16px; }
.acc__panel > * + * { margin-top: var(--sp-3); }

/* ---------- 注意・お知らせボックス ---------- */
.notice {
  border: 1px solid var(--c-warn-line);
  background: var(--c-warn-bg);
  border-radius: var(--r);
  padding: var(--sp-4);
  font-size: var(--fs-body);
}
.notice__title { font-family: var(--f-round); font-weight: 800; margin-bottom: var(--sp-2); }
.notice ul { display: grid; gap: var(--sp-2); }
.notice li { padding-left: 1.2em; position: relative; }
.notice li::before { content: "・"; position: absolute; left: 0; }
.notice--plain { background: var(--c-lavender-025); border-color: var(--c-line); }

.note { font-size: var(--fs-note); color: var(--c-ink-muted); line-height: 1.7; }
.note + .note { margin-top: var(--sp-2); }

/* ---------- モーダル ---------- */
.modal { position: fixed; inset: 0; z-index: 140; display: flex; align-items: center; justify-content: center; padding: var(--sp-4); }
.modal__overlay { position: absolute; inset: 0; background: rgba(38, 48, 74, 0.55); }
.modal__panel {
  position: relative;
  background: var(--c-white);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  width: min(100%, 560px);
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: var(--sp-5);
}
.modal__title { font-size: var(--fs-h3); margin-bottom: var(--sp-3); }
.modal__body > * + * { margin-top: var(--sp-3); }
.modal__foot { margin-top: var(--sp-5); display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  min-width: var(--tap);
  min-height: var(--tap);
  border-radius: var(--r);
  border: 2px solid var(--c-line-strong);
  background: #fff;
  font-size: var(--fs-body-lg);
  font-weight: 700;
}

/* ---------- ライトボックス ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; display: flex; align-items: center; justify-content: center; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(38, 48, 74, 0.82); }
.lightbox__panel {
  position: relative;
  width: min(94vw, 980px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}
.lightbox__stage {
  background: var(--c-white);
  border-radius: var(--r);
  padding: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 74vh;
  overflow: hidden;
}
.lightbox__stage img { max-height: 68vh; width: auto; object-fit: contain; border-radius: 8px; }
.lightbox__cap {
  color: #fff;
  background: rgba(19, 27, 48, 0.86);
  border-radius: var(--r);
  padding: 8px 14px;
  margin-inline: auto;
  max-width: 46rem;
  font-size: var(--fs-note);
  text-align: center;
  line-height: 1.6;
}
.lightbox__ctrl { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); }
.lightbox__btn {
  min-width: 48px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: var(--r);
  background: var(--c-white);
  color: var(--c-ink);
  border: 2px solid transparent;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: var(--fs-label);
}
.lightbox__btn:hover { background: var(--c-lavender); }
.lightbox__count { color: #fff; font-size: var(--fs-label); font-variant-numeric: tabular-nums; }

/* ---------- フォーム ---------- */
.form { display: grid; gap: var(--sp-5); }
.field { display: grid; gap: 8px; }
.field__label { font-size: var(--fs-label); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.field__req {
  font-size: var(--fs-note);
  background: var(--c-accent);
  color: var(--c-ink-onpink);
  border-radius: 4px;
  padding: 1px 8px;
  font-weight: 700;
}
.field__opt {
  font-size: var(--fs-note);
  background: #fff;
  border: 1px solid var(--c-line-strong);
  color: var(--c-ink-muted);
  border-radius: 4px;
  padding: 1px 8px;
}
.field__hint { font-size: var(--fs-note); color: var(--c-ink-muted); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="date"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--r);
  background: #fff;
  font-size: var(--fs-body);
  line-height: 1.5;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--c-focus); }
.field--error input, .field--error select, .field--error textarea { border-color: var(--c-error); background: var(--c-error-bg); }
.field__error {
  font-size: var(--fs-note);
  color: var(--c-error);
  font-weight: 700;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.field__error::before { content: "！"; flex: none; }

.choice { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.choice label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 8px 14px;
  border: 2px solid var(--c-line-strong);
  border-radius: var(--r);
  background: #fff;
  font-size: var(--fs-label);
  cursor: pointer;
}
.choice input { width: 20px; height: 20px; accent-color: var(--c-accent-strong); }
.choice label:has(input:checked) { border-color: var(--c-navy); background: var(--c-lavender-050); }

.form__summary {
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: var(--c-lavender-025);
  padding: var(--sp-4);
}
.form__summary h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-3); }
.form__summary dl { display: grid; gap: 8px; font-size: var(--fs-body); }
.form__summary div { display: grid; grid-template-columns: 9rem 1fr; gap: var(--sp-3); }
.form__summary dt { font-weight: 700; }
.form__summary dd { color: var(--c-ink-muted); word-break: break-word; }

.form__errorbox {
  border: 2px solid var(--c-error);
  background: var(--c-error-bg);
  border-radius: var(--r);
  padding: var(--sp-4);
  font-size: var(--fs-body);
}
.form__errorbox h3 { font-size: var(--fs-h4); color: var(--c-error); margin-bottom: var(--sp-2); }
.form__errorbox ul { display: grid; gap: 6px; }
.form__errorbox a { color: var(--c-error); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- フッター ---------- */
.ftr {
  background: var(--c-navy);
  color: #fff;
  margin-top: var(--sp-9);
  padding-block: var(--sp-7) var(--sp-5);
}
.ftr a { color: #fff; }
.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr));
  gap: var(--sp-6);
}
.ftr__brand-name { font-family: var(--f-round); font-size: 1.5rem; font-weight: 800; letter-spacing: 0.08em; }
.ftr__brand-sub { font-size: var(--fs-note); color: #d8d3e8; margin-top: 4px; }
.ftr__info { margin-top: var(--sp-4); display: grid; gap: 8px; font-size: var(--fs-body); }
.ftr__info dt { font-size: var(--fs-note); color: #cdc7e0; }
.ftr__info dd { font-weight: 500; }
.ftr__tel { font-family: var(--f-round); font-size: 1.375rem; font-weight: 800; text-decoration: none; letter-spacing: 0.02em; display: inline-block; min-height: var(--tap); }
.ftr__navtitle { font-family: var(--f-round); font-weight: 800; font-size: var(--fs-body-lg); margin-bottom: var(--sp-3); }
.ftr__nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--fs-body);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ftr__notices { margin-top: var(--sp-6); display: grid; gap: var(--sp-2); }
.ftr__notice {
  font-size: var(--fs-note);
  color: #e6e2f2;
  line-height: 1.7;
  padding-left: 1.2em;
  position: relative;
}
.ftr__notice::before { content: "・"; position: absolute; left: 0; }
.ftr__bottom {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-note);
  color: #ded9ee;
}
.ftr__demo {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--r);
  padding: 6px 12px;
  font-size: var(--fs-note);
  color: #fff;
}

/* ---------- モバイル固定CTA ---------- */
.ctabar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  background: var(--c-white);
  border-top: 1px solid var(--c-line-strong);
  box-shadow: 0 -4px 16px rgba(38, 48, 74, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
}
.ctabar__list { display: flex; align-items: stretch; }
.ctabar__item { flex: 1 1 0; display: flex; }
.ctabar__item--wide { flex: 1.35 1 0; }
.ctabar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  padding: 6px 4px;
  text-decoration: none;
  font-family: var(--f-round);
  font-weight: 700;
  font-size: var(--fs-note);
  color: var(--c-ink);
  border-right: 1px solid var(--c-line);
  line-height: 1.3;
}
.ctabar__item:last-child a { border-right: 0; }
.ctabar__item--primary a { background: var(--c-accent); color: var(--c-ink-onpink); }
.ctabar a[aria-current] { background: var(--c-lavender); }
.ctabar__icon { width: 22px; height: 22px; flex: none; }
.ctabar__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- noscript フォールバック ---------- */
.noscript-box {
  border: 2px solid var(--c-line-strong);
  background: var(--c-lavender-025);
  border-radius: var(--r);
  padding: var(--sp-4);
  margin: var(--sp-4) auto;
  max-width: var(--w-container);
  font-size: var(--fs-body);
}
.noscript-box h2 { font-size: var(--fs-h3); margin-bottom: var(--sp-2); }
.noscript-box dl { display: grid; gap: 6px; margin-block: var(--sp-3); }
.noscript-box dt { font-weight: 700; }
.noscript-box ul { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: var(--sp-2); }
.noscript-box a { color: var(--c-accent-strong); text-decoration: underline; text-underline-offset: 3px; min-height: var(--tap); display: inline-flex; align-items: center; }

/* ---------- 読み込み中・空状態 ---------- */
.empty {
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r);
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  color: var(--c-ink-muted);
  font-size: var(--fs-body);
  background: var(--c-lavender-025);
}
.empty__title { font-family: var(--f-round); font-weight: 800; color: var(--c-ink); font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.empty .btn { margin-top: var(--sp-4); }

/* ---------- モーション（1種類: fade-up / reduce で完全停止） ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- ページ上部へ ---------- */
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 8px 16px;
  border-radius: var(--r);
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-family: var(--f-round);
  font-weight: 700;
  font-size: var(--fs-label);
  text-decoration: none;
}
.to-top:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- 可視性ユーティリティ ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.is-locked { overflow: hidden; }
