/* ==========================================================
   ひとやすみ LP — design tokens & styles
   トーン&マナー: 立て看板準拠(ダークブラウン×生成り×明朝体)
   ========================================================== */

:root {
  /* color — 看板のチャコールブラウン基調 */
  --color-bg: #F7F4EF;          /* 生成り */
  --color-bg-alt: #EFEAE2;      /* ベージュ */
  --color-ink: #37302A;         /* 焦げ茶(本文) */
  --color-primary: #3A322C;     /* チャコールブラウン(見出し・反転地) */
  --color-accent: #8C3A32;      /* 深紅(看板の「無料体験受付中」)— 強調テキスト・バッジ */
  --color-line: #06C755;        /* LINE CTA専用 */
  --color-on-dark: #F7F4EF;

  /* type — 明朝体 */
  --font-serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --leading-prose: 2.1;
  --leading-ui: 1.8;
  --tracking-wide: 0.14em;

  /* shape — 角丸は最小限(高級感) */
  --radius: 4px;
  --shadow: 0 2px 20px rgb(58 50 44 / 8%);

  /* space (8px base) */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --section-gap: clamp(4.5rem, 11vw, 9rem);
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: var(--leading-ui);
  letter-spacing: 0.06em;
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
ul[class], ol[class] { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }
/* 暗色地(ヒーロー・クロージング・フッター)では背景に溶けないよう生成りのリングに反転 */
.hero :focus-visible,
.closing :focus-visible,
.footer :focus-visible { outline-color: var(--color-on-dark); }

/* ---- layout ---- */
.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.section { padding-block: var(--section-gap); }
.section--alt { background: var(--color-bg-alt); }

.section__title {
  font-weight: 600;
  font-size: clamp(1.3rem, 2.2vw + 0.5rem, 1.8rem);
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
/* 見出し下の短い飾り罫(看板の静かな水平基調に合わせる) */
.section__title::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--color-accent);
  margin: 1rem auto 0;
}
.section__title--hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.section__title--hidden::after { display: none; }
/* 見出しの折り返しも文節単位で */
.section__title span { display: inline-block; }
.section__eyebrow {
  margin-bottom: 0.8rem;
  color: var(--color-accent);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-align: center;
}
.section__eyebrow + .section__title { margin-bottom: var(--space-3); }

/* ==========================================================
   CTA(共通コンポーネント)
   ========================================================== */
.cta { display: grid; justify-items: center; gap: var(--space-2); }
.cta--mid { margin-top: var(--space-5); }

.cta__condition {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
}
.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  width: 100%;
  max-width: 340px;
  min-height: 56px;
  padding: 0.9em 1.5em;
  background: var(--color-line);
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgb(6 199 85 / 25%);
  text-shadow: 0 1px 2px rgb(0 0 0 / 25%); /* LINE緑上の白文字の可読性補強 */
  transition: opacity 0.3s ease, box-shadow 0.3s ease;
}
.cta__button:hover {
  opacity: 0.9;
  box-shadow: 0 6px 20px rgb(6 199 85 / 35%);
}
.cta__button--large { max-width: 400px; min-height: 64px; font-size: 1.1rem; }
/* ヒーロー用: 写真の上に静かに置くゴースト型 */
.cta__button--ghost {
  background: rgb(26 22 19 / 30%); /* 写真の上でも「押せる面」に見えるよう薄い下地 */
  border: 1px solid rgb(247 244 239 / 85%);
  color: var(--color-on-dark);
  box-shadow: none;
  max-width: 320px;
  min-height: 52px;
  font-weight: 400;
}
.cta__button--ghost:hover {
  background: rgb(247 244 239 / 12%);
  opacity: 1;
  box-shadow: none;
}
.cta__icon { flex-shrink: 0; }
.cta__note {
  font-size: 0.8rem;
  opacity: 0.75;
  text-align: center;
}
.cta__note--invert { color: var(--color-on-dark); }

/* ==========================================================
   1. ヒーロー(写真主役・文字は小さくふわっと)
   ========================================================== */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh; /* svh非対応環境向けフォールバック */
  min-height: 100svh;
  overflow: hidden;
  text-align: center;
  color: var(--color-on-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 恵比寿⇔小岩の内装がゆっくりクロスフェード(上に重ねた2枚目の不透明度だけ動かす)。
   アニメは2枚目のロード完了後にJSが .hero--xfade を付けてから開始(途中ポップイン防止) */
@keyframes hero-crossfade {
  0%, 42%   { opacity: 0; }
  50%, 92%  { opacity: 1; }
  100%      { opacity: 0; }
}
.hero__bg--alt { opacity: 0; will-change: opacity; }
.hero--xfade .hero__bg--alt {
  animation: hero-crossfade 10s ease-in-out infinite;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(26 22 19 / 45%), rgb(26 22 19 / 60%));
}
.hero__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: var(--space-3);
  padding-block: var(--space-6);
}
.hero__brand {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em; /* 中央揃え時の字間ズレ補正 */
  opacity: 0.85;
}
.hero__brand span { font-weight: 600; }
.hero__lead {
  font-size: clamp(0.85rem, 1vw + 0.5rem, 1rem);
  letter-spacing: 0.18em;
  opacity: 0.92;
}
.hero__title {
  font-weight: 400;
  font-size: clamp(1.4rem, 2.2vw + 0.8rem, 2.2rem);
  line-height: 2;
  letter-spacing: var(--tracking-wide);
}
.hero__sub {
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1.05rem);
  letter-spacing: var(--tracking-wide);
  opacity: 0.9;
}
/* 折り返しは文節単位で(「来てくださ/い。」のような途中改行を防ぐ) */
.hero__sub span { display: inline-block; }
.hero__cta { margin-top: var(--space-3); }
.cta__condition--hero { color: var(--color-on-dark); opacity: 0.9; font-weight: 400; }
.hero__place {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  opacity: 0.7;
}

/* 文字がふわっと現れる(読み込み時・順送り) */
@keyframes hero-rise {
  from { opacity: 0; translate: 0 14px; }
  to   { opacity: 1; translate: 0 0; }
}
/* CTA到達を遅らせないよう全体を短めに圧縮(順送りの気配は残す) */
.js .hero__inner > * {
  opacity: 0;
  animation: hero-rise 1s ease forwards;
}
.js .hero__brand { animation-delay: 0.1s; }
.js .hero__lead  { animation-delay: 0.25s; }
.js .hero__title { animation-delay: 0.4s; }
.js .hero__sub   { animation-delay: 0.65s; }
.js .hero__cta   { animation-delay: 0.85s; }
.js .hero__place { animation-delay: 1.05s; }

/* ==========================================================
   2. 悩み共感
   ========================================================== */
.worries__list {
  display: grid;
  gap: var(--space-2);
  max-width: 560px;
  margin-inline: auto;
}
.worries__item {
  background: var(--color-bg);
  border: 1px solid rgb(58 50 44 / 12%);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-3) var(--space-3) 3.25rem;
  position: relative;
  line-height: var(--leading-ui);
}
.worries__item::before {
  content: "✓";
  position: absolute;
  left: 1.25rem;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-size: 0.8rem;
}
.worries__bridge {
  text-align: center;
  margin-top: var(--space-4);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
}

/* ==========================================================
   3. コンセプト(詩)
   ========================================================== */
.concept { position: relative; overflow: hidden; }
/* 看板の幾何学紋様を思わせる、ごく薄い斜線の円 */
.concept::before {
  content: "";
  position: absolute;
  width: clamp(220px, 30vw, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  top: -8%;
  right: -6%;
  background: repeating-linear-gradient(45deg, rgb(58 50 44 / 10%) 0 1px, transparent 1px 9px);
  pointer-events: none;
}
.concept__poem {
  position: relative;
  max-width: 36em;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 0.5em;
}
.concept__line {
  line-height: var(--leading-prose);
  letter-spacing: 0.1em;
  font-size: clamp(0.95rem, 1.2vw + 0.6rem, 1.1rem);
}
.concept__line--em {
  font-weight: 600;
  color: var(--color-primary);
  padding-block: 0.3em;
}
.concept__line--close {
  margin-top: var(--space-3);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.5vw + 0.6rem, 1.3rem);
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent);
}
/* 詩は行単位の時間差フェード(.fade-in発火に連動) */
.js .fade-in .concept__line {
  opacity: 0;
  translate: 0 0.6em;
  transition: opacity 0.9s ease, translate 0.9s ease;
}
.js .fade-in.is-visible .concept__line { opacity: 1; translate: 0 0; }
.js .fade-in.is-visible .concept__line:nth-child(2) { transition-delay: 0.15s; }
.js .fade-in.is-visible .concept__line:nth-child(3) { transition-delay: 0.3s; }
.js .fade-in.is-visible .concept__line:nth-child(4) { transition-delay: 0.45s; }
.js .fade-in.is-visible .concept__line:nth-child(5) { transition-delay: 0.7s; }
.js .fade-in.is-visible .concept__line:nth-child(6) { transition-delay: 0.85s; }
.js .fade-in.is-visible .concept__line:nth-child(7) { transition-delay: 1.1s; }
.js .fade-in.is-visible .concept__line:nth-child(8) { transition-delay: 1.25s; }
.js .fade-in.is-visible .concept__line:nth-child(9) { transition-delay: 1.55s; }

/* ==========================================================
   4. できること
   ========================================================== */
.features__grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
}
.card {
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}
.card__visual { position: relative; overflow: hidden; }
.card__img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  transition: scale 0.8s ease;
}
.card:hover .card__img { scale: 1.025; }
.card__image-note {
  position: absolute;
  right: 0.8rem;
  bottom: 0.7rem;
  padding: 0.25em 0.55em;
  background: rgb(26 22 19 / 72%);
  color: var(--color-on-dark);
  font-size: 0.72rem; /* 12px弱を下限に(モバイル明朝の可読性) */
  letter-spacing: 0.12em;
}
.card__title {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  padding: var(--space-3) var(--space-3) 0;
}
.card__text {
  padding: var(--space-2) var(--space-3) var(--space-4);
  line-height: var(--leading-ui);
}

/* ==========================================================
   5. 店舗紹介
   ========================================================== */
.locations { overflow: hidden; }
.locations__lead {
  max-width: 42rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  line-height: var(--leading-prose);
  text-align: center;
}
.locations__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}
.location { min-width: 0; }
.location__visual {
  position: relative;
  overflow: hidden;
  background: var(--color-primary);
}
.location__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgb(247 244 239 / 16%);
  pointer-events: none;
}
.location__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: scale 1s ease;
}
.location:hover .location__img { scale: 1.02; }
.location__caption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: var(--space-2);
  padding-top: var(--space-2);
  border-bottom: 1px solid rgb(58 50 44 / 22%);
  padding-bottom: var(--space-2);
}
.location__number,
.location__en {
  color: var(--color-accent);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
}
.location__name {
  color: var(--color-primary);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
}
@media (min-width: 768px) {
  .locations__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .location:nth-child(2) { margin-top: var(--space-5); }
}

/* ==========================================================
   6. トレーナー紹介(3名)
   ========================================================== */
/* 3名は縦並び。広い画面では写真左・文章右の横組みカードにする */
.trainers__grid {
  display: grid;
  gap: var(--space-4);
  max-width: 720px;
  margin-inline: auto;
}
.trainer-card {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: var(--space-2);
  text-align: center;
}
@media (min-width: 640px) {
  .trainer-card {
    grid-template-columns: auto 1fr;
    column-gap: var(--space-4);
    align-items: start;
    justify-items: start;
    text-align: left;
  }
}
.trainer-card__photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.trainer-card__body {
  display: grid;
  gap: 0.75em;
}
.trainer-card__name {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
}
.trainer-card__role {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-top: 0.35em;
}
.trainer-card__bio {
  line-height: var(--leading-ui);
  text-align: left;
  font-size: 0.95rem;
}

/* ==========================================================
   6. お客様の声
   ========================================================== */
.voices__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  max-width: 980px;
  margin-inline: auto;
}
.voice {
  background: var(--color-bg-alt);
  border: 1px solid rgb(58 50 44 / 12%);
  border-radius: var(--radius);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: grid;
  gap: var(--space-2);
  align-content: space-between;
}
.voice__text {
  line-height: var(--leading-ui);
  position: relative;
}
.voice__text::before {
  content: "“";
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-accent);
}
.voice__meta {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  text-align: right;
}
.voices__videos {
  margin-top: var(--space-5);
  text-align: center;
}
.voices__videos-title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.video-placeholder {
  max-width: 640px;
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.5em;
  padding: var(--space-3);
  background: var(--color-bg-alt);
  border: 1px dashed rgb(58 50 44 / 25%);
  border-radius: var(--radius);
}
.video-placeholder__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 1.1rem;
}
.video-placeholder__badge {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.video-placeholder__text {
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* ==========================================================
   7. 料金
   ========================================================== */
.pricing__lead { text-align: center; margin-bottom: var(--space-4); }
.pricing__groups {
  display: grid;
  gap: var(--space-3);
  max-width: 880px;
  margin-inline: auto;
}
@media (min-width: 700px) {
  .pricing__groups { grid-template-columns: 1fr 1fr; align-items: start; }
}
.pricing__group {
  background: var(--color-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--space-4) var(--space-3);
}
.pricing__group-title {
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--space-3);
}
.pricing__group-sub {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-top: 0.4em;
}
.price-table { display: grid; }
.price-table__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: 0.7em;
  border-bottom: 1px solid rgb(58 50 44 / 15%);
}
.price-table__row:last-child { border-bottom: none; }
.price-table__label {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}
.price-table__price {
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}
.pricing__notes {
  max-width: 880px;
  margin: var(--space-3) auto 0;
  display: grid;
  gap: 0.4em;
}
.pricing__note {
  font-size: 0.88rem;
  line-height: var(--leading-ui);
  padding-left: 1.2em;
  position: relative;
}
.pricing__note::before {
  content: "※";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

.pricing__pair {
  text-align: center;
  margin-top: var(--space-4);
  font-size: 0.95rem;
}

.assurance {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}
.assurance__item {
  border: 1px solid rgb(58 50 44 / 25%);
  border-radius: var(--radius);
  padding: 0.5em 1.25em;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary);
}
.assurance__item::before { content: "✓ "; color: var(--color-accent); }

/* ==========================================================
   8. 体験の流れ
   ========================================================== */
.flow__list {
  max-width: 560px;
  margin-inline: auto;
  display: grid;
  gap: var(--space-4);
  counter-reset: flow;
  position: relative;
}
.flow__step {
  counter-increment: flow;
  position: relative;
  padding-left: 4rem;
}
.flow__step::before {
  content: counter(flow);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--color-primary);
  color: var(--color-on-dark);
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 50%;
}
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.375rem - 1px);
  top: 3rem;
  bottom: calc(-1 * var(--space-4));
  width: 2px;
  background: rgb(58 50 44 / 25%);
}
.flow__title {
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  margin-bottom: 0.25em;
}
.flow__text { line-height: var(--leading-ui); }

/* ==========================================================
   9. FAQ
   ========================================================== */
.faq__item {
  max-width: 640px;
  margin-inline: auto;
  background: var(--color-bg);
  border-radius: var(--radius);
  margin-bottom: var(--space-2);
}
/* 開閉を滑らかに(非対応ブラウザは従来どおり瞬時開閉にフォールバック) */
:root { interpolate-size: allow-keywords; }
.faq__item::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}
.faq__item[open]::details-content { block-size: auto; }
.faq__q {
  cursor: pointer;
  padding: var(--space-3);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: var(--leading-ui);
  list-style: none;
  position: relative;
  padding-right: 3rem;
  min-height: 44px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  translate: 0 -50%;
  font-size: 1.4rem;
  color: var(--color-accent);
  transition: rotate 0.25s ease;
}
.faq__item[open] .faq__q::after { rotate: 45deg; }
.faq__a {
  padding: 0 var(--space-3) var(--space-3);
  line-height: var(--leading-ui);
}

/* ==========================================================
   10. アクセス
   ========================================================== */
.access__grid {
  display: grid;
  gap: var(--space-3);
  max-width: 980px;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .access__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}
.access__card {
  background: var(--color-bg-alt);
  border: 1px solid rgb(58 50 44 / 12%);
  border-radius: var(--radius);
  padding: var(--space-4);
}
.access__store {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: var(--tracking-wide);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid rgb(58 50 44 / 22%);
}
.access__info { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); }
.access__row { display: grid; grid-template-columns: 5em 1fr; gap: var(--space-2); }
.access__row dt { font-weight: 600; color: var(--color-primary); }
.access__row dd { margin: 0; line-height: var(--leading-ui); }
.access__map {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  min-height: 44px;
}
.access__map::after { content: "↗"; }

/* ==========================================================
   11. クロージング(チャコール反転)
   ========================================================== */
.closing {
  background: var(--color-primary);
  color: var(--color-on-dark);
  text-align: center;
}
.closing__title {
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw + 0.7rem, 2.2rem);
  line-height: 2;
  letter-spacing: var(--tracking-wide);
  margin-bottom: var(--space-3);
}
.closing__sub {
  line-height: var(--leading-prose);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-5);
  opacity: 0.85;
}
.closing .cta__button { box-shadow: 0 4px 20px rgb(0 0 0 / 30%); }

/* ---- footer ---- */
.footer {
  background: var(--color-primary);
  color: var(--color-on-dark);
  text-align: center;
  padding: var(--space-4) var(--space-3);
  border-top: 1px solid rgb(247 244 239 / 15%);
}
.footer__brand {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-indent: 0.4em;
  opacity: 0.85;
  margin-bottom: var(--space-1);
}
.footer__brand span { font-weight: 600; }
.footer__copy { font-size: 0.75rem; opacity: 0.7; }

/* ==========================================================
   追従CTA(スマホのみ)
   ========================================================== */
.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom));
  background: rgb(247 244 239 / 94%);
  backdrop-filter: blur(8px);
  box-shadow: 0 -2px 16px rgb(58 50 44 / 12%);
  translate: 0 110%;
  visibility: hidden;
  transition: translate 0.3s ease, visibility 0.3s;
}
.sticky-cta.is-shown { translate: 0 0; visibility: visible; }
.cta__button--sticky { min-height: 48px; font-size: 0.95rem; max-width: 360px; }
@media (min-width: 768px) {
  .sticky-cta { display: none; }
}
body.has-sticky-cta .footer { padding-bottom: calc(var(--space-4) + 80px); }

/* ==========================================================
   フェードイン(.jsゲート: JS無効時はコンテンツを隠さない)
   ========================================================== */
.js .fade-in {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 0.9s ease, translate 0.9s ease;
}
.js .fade-in.is-visible { opacity: 1; translate: 0 0; }

/* ---- reduced motion: アニメ全停止 ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in,
  .js .fade-in .concept__line,
  .cta__button,
  .card__img,
  .location__img,
  .faq__q::after,
  .faq__item::details-content,
  .sticky-cta {
    transition: none !important;
  }
  .js .hero__inner > * { animation: none !important; opacity: 1 !important; }
  .hero__bg--alt { animation: none !important; opacity: 0 !important; }
  .js .fade-in,
  .js .fade-in .concept__line {
    opacity: 1 !important;
    translate: 0 0 !important;
  }
}
