/* KYABEL v6 / SITE 101 — SNACK LOCAL SEO — components.css
   header / drawer / breadcrumb / button / card / table / accordion /
   tabs / modal / lightbox / form / footer / cta-bar
   （汎用UI部品。配色はtokens.cssのみで切り替える） */

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

.container--narrow { max-width: var(--w-narrow); }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -200px;
  z-index: 1200;
  background: var(--c-ink);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-4); }

/* ============ ヘッダー ============ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--c-surface);
  border-bottom: 1px solid var(--c-line);
}

.hdr__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  min-height: var(--h-header);
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--w-pad);
}

.hdr__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  flex: none;
  min-height: var(--h-tap);
  text-decoration: none;
  line-height: 1.25;
}
.hdr__brand-name {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.hdr__brand-sub {
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
  letter-spacing: var(--ls-label);
}

.hdr__nav { margin-inline: auto; }
.hdr__nav ul {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hdr__nav a {
  display: flex;
  align-items: center;
  min-height: var(--h-tap);
  padding: 0 2px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.hdr__nav a:hover { border-bottom-color: var(--c-brass); }
.hdr__nav a[aria-current="page"] {
  color: var(--c-accent-tx);
  border-bottom-color: var(--c-accent);
  font-weight: 700;
}

.hdr__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
  margin-left: auto;
}

.hdr__tel {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  min-height: var(--h-tap);
  justify-content: center;
  padding: 2px 4px;
}
.hdr__tel-label {
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
  letter-spacing: var(--ls-label);
}
.hdr__tel-num {
  font-family: var(--f-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-accent-tx);
  line-height: 1.25;
}

.hdr__toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--h-tap);
  min-width: var(--h-tap);
  padding: 0 var(--sp-3);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: var(--c-surface);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-label);
}
.hdr__toggle-bars {
  display: grid;
  gap: 4px;
  width: 20px;
}
.hdr__toggle-bars span {
  display: block;
  height: 2px;
  background: var(--c-ink);
}

/* インラインアイコンの既定サイズ。viewBox だけのSVGが伸びるのを防ぐ。 */
.btn svg,
.textlink svg,
.status__tel svg,
.cta-bar a svg { width: 20px; height: 20px; flex: none; }
.ftr__tel svg { width: 24px; height: 24px; flex: none; }

/* ============ ボタン ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--r);
  border: 1px solid transparent;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-deep); }

.btn--ghost {
  background: var(--c-surface);
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn--ghost:hover { background: var(--c-bg-deep); }

.btn--line {
  background: var(--c-surface);
  color: var(--c-brass-tx);
  border-color: var(--c-brass);
}
.btn--line:hover { background: var(--c-brass-wash); }

.btn--sm { min-height: var(--h-tap); padding: 8px 16px; font-size: var(--fs-small); }
.btn--block { display: flex; width: 100%; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: var(--h-tap);
  color: var(--c-accent-tx);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.textlink:hover { color: var(--c-accent-deep); }
.textlink::after { content: "→"; font-weight: 400; }

/* ============ ドロワー ============ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 1fr min(360px, 88vw);
}
.drawer[hidden] { display: none; }

.drawer__scrim {
  background: rgba(24, 34, 29, 0.5);
  border: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.drawer__panel {
  background: var(--c-surface);
  border-left: 1px solid var(--c-line);
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-5) calc(var(--sp-8) + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-line);
}
.drawer__title {
  font-family: var(--f-serif);
  font-size: 1.125rem;
  font-weight: 700;
}
.drawer__close {
  min-width: var(--h-tap);
  min-height: var(--h-tap);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  font-size: 1.25rem;
  line-height: 1;
}

.drawer__nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 var(--sp-2);
  border-bottom: 1px solid var(--c-line-soft);
  font-size: var(--fs-body);
  font-weight: 500;
  text-decoration: none;
}
.drawer__nav a[aria-current="page"] {
  color: var(--c-accent-tx);
  font-weight: 700;
}
.drawer__nav a[aria-current="page"]::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--c-accent);
  margin-right: var(--sp-2);
}

.drawer__info {
  background: var(--c-surface-alt);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
}
.drawer__info dl { display: grid; grid-template-columns: 5em 1fr; gap: 4px var(--sp-2); }
.drawer__info dt { color: var(--c-ink-soft); }
.drawer__info dd { color: var(--c-ink); }

/* ============ パンくず ============ */
.crumbs {
  background: var(--c-bg-deep);
  border-bottom: 1px solid var(--c-line);
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-2);
  max-width: var(--w-container);
  margin-inline: auto;
  padding: var(--sp-2) var(--w-pad);
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
}
.crumbs li { display: flex; align-items: center; gap: var(--sp-2); }
.crumbs li + li::before { content: "／"; color: var(--c-line); }
.crumbs a {
  display: inline-flex;
  align-items: center;
  min-height: var(--h-tap);
  padding-inline: 2px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.crumbs [aria-current="page"] { color: var(--c-ink); font-weight: 700; }

/* ============ セクション ============ */
.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
.section--alt { background: var(--c-bg-deep); }
.section--surface { background: var(--c-surface); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--c-line);
}
.section__label {
  display: block;
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: var(--ls-label);
  color: var(--c-brass-tx);
  margin-bottom: 2px;
}
.section__title { font-size: var(--fs-h2); }
.section__lead {
  max-width: 62ch;
  margin-top: var(--sp-3);
  color: var(--c-ink-soft);
  font-size: var(--fs-lead);
}

/* ============ カード ============ */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
}

.card__media {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--c-bg-deep);
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--wide { aspect-ratio: 16 / 9; }
.card__media--photo { aspect-ratio: 4 / 3; }

.card__body { padding: var(--sp-4); display: grid; gap: var(--sp-2); }

.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)); }

/* 人物カード */
.person__name {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
}
.person__kana { font-size: var(--fs-small); color: var(--c-ink-soft); }
.person__role {
  display: inline-block;
  align-self: start;
  padding: 3px 10px;
  border-radius: var(--r);
  background: var(--c-accent-wash);
  color: var(--c-accent-deep);
  font-size: var(--fs-small);
  font-weight: 700;
}
.person__shift {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-size: var(--fs-body);
  border-top: 1px dashed var(--c-line);
  padding-top: var(--sp-2);
}
.person__shift dt { font-size: var(--fs-small); color: var(--c-ink-soft); flex: none; }
.person__shift dd { font-weight: 700; }
.person__shift dd.is-off { font-weight: 500; color: var(--c-ink-soft); }

.taglist { display: flex; flex-wrap: wrap; gap: 6px; }
.taglist li {
  font-size: var(--fs-small);
  color: var(--c-brass-tx);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: 2px 8px;
  background: var(--c-brass-wash);
}

/* ============ 表 ============ */
.table-wrap { overflow-x: auto; }

.table {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
}
.table th,
.table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-line-soft);
  text-align: left;
  font-size: var(--fs-body);
  line-height: var(--lh-tight);
  vertical-align: top;
}
.table tr:last-child th,
.table tr:last-child td { border-bottom: 0; }
.table th {
  width: 30%;
  background: var(--c-surface-alt);
  font-weight: 700;
  white-space: nowrap;
}
.table td .note { display: block; margin-top: 4px; font-size: var(--fs-small); color: var(--c-ink-soft); }

.price-value {
  font-family: var(--f-serif);
  font-weight: 700;
  color: var(--c-accent-tx);
  white-space: nowrap;
}

/* ============ アコーディオン ============ */
.acc { display: grid; gap: var(--sp-3); }

.acc__item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  overflow: hidden;
}

.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  width: 100%;
  min-height: 56px;
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  font-size: var(--fs-body);
  font-weight: 700;
  line-height: 1.5;
}
.acc__btn:hover { background: var(--c-surface-alt); }
.acc__btn .acc__mark {
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--c-brass);
  border-radius: var(--r);
  position: relative;
  color: var(--c-brass-tx);
}
.acc__btn .acc__mark::before,
.acc__btn .acc__mark::after {
  content: "";
  position: absolute;
  inset: 50% 5px auto 5px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}
.acc__btn .acc__mark::after {
  inset: 5px auto 5px 50%;
  width: 2px;
  height: auto;
  transform: translateX(-50%);
  transition: opacity var(--t-fast) var(--ease);
}
.acc__btn[aria-expanded="true"] .acc__mark::after { opacity: 0; }

.acc__panel {
  padding: 0 var(--sp-4) var(--sp-4);
  border-top: 1px solid var(--c-line-soft);
  display: grid;
  gap: var(--sp-3);
}
.acc__panel > *:first-child { margin-top: var(--sp-4); }

/* ============ タブ ============ */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.tab {
  min-height: var(--h-tap);
  padding: 8px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  background: var(--c-surface);
  font-size: var(--fs-body);
  font-weight: 700;
  color: var(--c-ink-soft);
}
.tab:hover { background: var(--c-surface-alt); }
.tab[aria-selected="true"],
.tab[aria-pressed="true"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
}

/* ============ モーダル ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: center;
  padding: var(--sp-4);
}
.modal[hidden] { display: none; }

.modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(24, 34, 29, 0.55);
  border: 0;
  width: 100%;
  cursor: pointer;
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(86vh, 860px);
  overflow-y: auto;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  box-shadow: var(--sh-2);
  padding: var(--sp-5);
  display: grid;
  gap: var(--sp-4);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-3);
}
.modal__title { font-size: var(--fs-h3); }
.modal__close {
  flex: none;
  min-width: var(--h-tap);
  min-height: var(--h-tap);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  font-size: 1.25rem;
  line-height: 1;
}

/* ============ ライトボックス ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(20, 28, 24, 0.94);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: var(--sp-4);
  gap: var(--sp-3);
}
.lightbox[hidden] { display: none; }

.lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  color: #FBF6EC;
}
.lightbox__count { font-size: var(--fs-small); letter-spacing: var(--ls-label); }
.lightbox__close,
.lightbox__nav {
  min-width: var(--h-tap);
  min-height: var(--h-tap);
  padding: 0 var(--sp-3);
  border: 1px solid rgba(251, 246, 236, 0.55);
  border-radius: var(--r);
  color: #FBF6EC;
  font-size: var(--fs-body);
  font-weight: 700;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(251, 246, 236, 0.14); }

.lightbox__stage {
  display: grid;
  place-items: center;
  min-height: 0;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: var(--r);
}

.lightbox__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  color: #FBF6EC;
}
.lightbox__caption { font-size: var(--fs-body); max-width: 60ch; }
.lightbox__ctrl { display: flex; gap: var(--sp-2); }

/* ============ フォーム ============ */
.form { display: grid; gap: var(--sp-5); }

.field { display: grid; gap: var(--sp-2); }

.field__label {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-body);
  font-weight: 700;
}
.field__req {
  font-size: var(--fs-small);
  background: var(--c-accent);
  color: #fff;
  border-radius: var(--r);
  padding: 1px 8px;
  font-weight: 700;
}
.field__opt {
  font-size: var(--fs-small);
  background: var(--c-bg-deep);
  color: var(--c-ink-soft);
  border-radius: var(--r);
  padding: 1px 8px;
  font-weight: 700;
}
.field__hint { font-size: var(--fs-small); color: var(--c-ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--c-surface);
  border: 1px solid var(--c-ink-soft);
  border-radius: var(--r);
  font-size: var(--fs-body);
  line-height: 1.6;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #8A968E; }

.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea {
  border-color: var(--c-warn);
  border-width: 2px;
  background: #FBEAE8;
}

.field__error {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--c-warn);
}
.field__error::before { content: "!"; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--c-warn); color: #fff; font-size: var(--fs-small); line-height: 20px; text-align: center; }
.field__error[hidden] { display: none; }

.form__summary {
  /* 固定CTA・kyabel-promoバナーが送信ボタンに重なりタップを奪う実測不具合の対処。
     focus()時のスクロール到達に画面下端の安全余白を持たせる（102-snack-recruit-focusと同一対処）。 */
  scroll-margin-bottom: 190px;
  border: 2px solid var(--c-warn);
  border-radius: var(--r);
  background: #FBEAE8;
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}
.form__summary[hidden] { display: none; }
.form__summary h3 { font-size: var(--fs-h4); color: var(--c-warn); }
.form__summary ul { display: grid; gap: 4px; }
.form__summary a { color: var(--c-warn); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.form__confirm {
  /* 固定CTA・kyabel-promoバナーが送信ボタンに重なりタップを奪う実測不具合の対処。
     focus()時のスクロール到達に画面下端の安全余白を持たせる（102-snack-recruit-focusと同一対処）。 */
  scroll-margin-bottom: 190px;
  border: 1px solid var(--c-brass);
  border-radius: var(--r);
  background: var(--c-brass-wash);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-3);
}
.form__confirm[hidden] { display: none; }
.form__confirm dl { display: grid; gap: var(--sp-2); }
.form__confirm div { display: grid; grid-template-columns: 8em 1fr; gap: var(--sp-3); }
.form__confirm dt { font-size: var(--fs-small); color: var(--c-ink-soft); font-weight: 700; }
.form__confirm dd { white-space: pre-wrap; }

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

.form__demo {
  border: 1px dashed var(--c-line);
  border-radius: var(--r);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
  background: var(--c-surface-alt);
}

/* ============ 注記・状態 ============ */
.notes { display: grid; gap: var(--sp-2); }
.notes li {
  position: relative;
  padding-left: 1.2em;
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
  line-height: 1.7;
}
.notes li::before { content: "※"; position: absolute; left: 0; }

.callout {
  border-left: 4px solid var(--c-accent);
  background: var(--c-accent-wash);
  border-radius: var(--r);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}
.callout h3 { font-size: var(--fs-h4); }

.empty {
  border: 1px dashed var(--c-line);
  border-radius: var(--r);
  padding: var(--sp-5);
  text-align: center;
  color: var(--c-ink-soft);
  background: var(--c-surface-alt);
}

.alert {
  border: 2px solid var(--c-warn);
  background: #FBEAE8;
  border-radius: var(--r);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}
.alert[hidden] { display: none; }
.alert h2, .alert h3 { font-size: var(--fs-h4); color: var(--c-warn); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--r);
  font-size: var(--fs-small);
  font-weight: 700;
  border: 1px solid currentColor;
}
.badge--open { color: var(--c-ok); background: #EEF4EF; }
.badge--closed { color: var(--c-warn); background: #FBF0ED; }
.badge--cat { color: var(--c-brass-tx); background: var(--c-brass-wash); border-color: var(--c-line); }

/* JS無効時のフォールバック（唯一の静的な店舗情報） */
.nojs {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r);
  padding: var(--sp-4);
  margin: var(--sp-5) auto;
  max-width: var(--w-container);
  display: grid;
  gap: var(--sp-2);
}
.nojs dl { display: grid; grid-template-columns: 7em 1fr; gap: 4px var(--sp-3); }
.nojs dt { color: var(--c-ink-soft); font-size: var(--fs-small); }

/* ============ フッター ============ */
.ftr {
  background: var(--c-ink);
  color: #F1E9DD;
  margin-top: var(--sp-8);
  padding-block: var(--sp-7) var(--sp-6);
}
.ftr a { color: #F1E9DD; }

.ftr__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(241, 233, 221, 0.24);
}
.ftr__brand-name { font-family: var(--f-serif); font-size: 1.375rem; font-weight: 700; }
.ftr__brand-sub { font-size: var(--fs-small); color: #D6C9B8; letter-spacing: var(--ls-label); margin-top: 2px; }
.ftr__info { display: grid; gap: 6px; margin-top: var(--sp-4); font-size: var(--fs-body); }
.ftr__info dl { display: grid; grid-template-columns: 6em 1fr; gap: 4px var(--sp-3); }
.ftr__info dt { color: #D6C9B8; font-size: var(--fs-small); }
.ftr__tel {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  min-height: var(--h-tap);
  font-family: var(--f-serif);
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration: none;
  color: #F6EFE2;
}

.ftr__nav-title { font-size: var(--fs-body); font-weight: 700; margin-bottom: var(--sp-2); letter-spacing: var(--ls-label); }
.ftr__nav a {
  display: flex;
  align-items: center;
  min-height: var(--h-tap);
  font-size: var(--fs-body);
  text-decoration: none;
}
.ftr__nav a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ftr__notices {
  display: grid;
  gap: var(--sp-2);
  padding-top: var(--sp-5);
  font-size: var(--fs-small);
  color: #DCD0C0;
  line-height: 1.75;
}
.ftr__notices li { position: relative; padding-left: 1.2em; }
.ftr__notices li::before { content: "※"; position: absolute; left: 0; }

.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
  font-size: var(--fs-small);
  color: #D6C9B8;
}
.ftr__demo {
  border: 1px solid rgba(241, 233, 221, 0.4);
  border-radius: var(--r);
  padding: 6px 12px;
  font-weight: 700;
}

/* ============ モバイル固定CTA ============ */
.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 880;
  display: none;
  background: var(--c-surface);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -2px 12px rgba(70, 60, 53, 0.12);
  padding: 6px 10px calc(6px + env(safe-area-inset-bottom));
  gap: var(--sp-2);
}
.cta-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: var(--h-ctabar);
  border-radius: var(--r);
  border: 1px solid var(--c-line);
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
  padding: 4px 6px;
}
.cta-bar a svg { width: 20px; height: 20px; }
.cta-bar .cta-bar__primary {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: #fff;
  flex: 1.6;
  font-size: var(--fs-body);
}
.cta-bar .cta-bar__sub { flex: 1; background: var(--c-surface); color: var(--c-ink); }

/* ============ モーション（fade-up 1種のみ） ============ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms var(--ease), transform 480ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .skip-link { transition: none; }
  * { scroll-behavior: auto !important; }
}
