/* Hallmark · macrostructure: 全画面の動画＋色面の上に白い紙を重ねる長尺LP（宅トラ型）＋線画イラスト（Cycle型）
 * pre-emit critique: P4 H4 E4 S5 R4 V5
 * スマホ基準。40rem・48rem・60remで段を増やす。並んだカードは subgrid で行の高さをそろえる
 */

/* ---------- 土台 ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--color-night);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.8;
  word-break: keep-all;
  word-break: auto-phrase;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
.ph { display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: var(--space-md); top: var(--space-md); z-index: 50; background: var(--color-paper); padding: var(--space-xs) var(--space-md); }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
mark { background: none; color: inherit; }

/* 要確認の印（試作用。公開前にすべて外す） */
.tbc {
  display: inline-block;
  max-width: 100%;
  padding: 0 0.4em;
  border: 1px dashed var(--color-muted);
  border-radius: var(--radius-sm);
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 1.4;
  vertical-align: 0.15em;
}
.hd .tbc, .last .tbc, .cta .tbc { color: var(--color-on-dark-2); border-color: var(--color-on-dark-2); }

/* 見出し：中央・極太・黄色の箱で要の語を立てる */
.ttl {
  margin: 0 0 var(--space-xl);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-3xl);
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-align: center;
}
.ttl::after { content: ""; display: block; width: 3.5rem; height: 6px; margin: 0.45em auto 0; border-radius: 3px; background: var(--color-accent); }
.hlbox { padding: 0 0.16em; border-radius: 0.18em; background: var(--color-accent); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.mk { background: linear-gradient(transparent 58%, var(--color-accent) 58%) no-repeat 0 0 / 100% 100%; }
.lede { max-width: 40em; margin: calc(-1 * var(--space-md)) auto var(--space-xl); font-weight: 700; text-align: center; }

/* 帯の見出し（下に三角） */
.band {
  position: relative;
  margin: 0 0 1.3rem;
  padding: 0.4em 1em;
  border-radius: var(--radius-sm);
  background: var(--color-ink);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-lg);
  line-height: 1.5;
  text-align: center;
}
.band::after { content: ""; position: absolute; left: 50%; top: 100%; translate: -50% 0; border: 10px solid transparent; border-top-color: var(--color-ink); }
.band--yellow { background: var(--color-accent); color: var(--color-ink); }
.band--yellow::after { border-top-color: var(--color-accent); }
.band--wide { max-width: 26rem; margin-inline: auto; }

/* ---------- ボタン ---------- */
.btn-line {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  width: min(100%, 30rem);
  min-height: 4rem;
  padding: 0.8em 2.2em 0.8em 1.4em;
  border-radius: var(--radius-pill);
  background: var(--color-line);
  color: var(--color-on-dark);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.125rem, 1rem + 0.7vw, 1.4rem);
  line-height: 1.3;
  text-decoration: none;
  text-shadow: 0 1px 1px var(--color-text-shadow);
  white-space: nowrap;
  box-shadow: 0 6px 0 var(--color-line-deep);
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.btn-line:hover { transform: translateY(2px); box-shadow: 0 4px 0 var(--color-line-deep); }
.btn-line:active { transform: translateY(6px); box-shadow: 0 0 0 var(--color-line-deep); }
.btn-line::before { content: ""; position: absolute; right: 1.1em; top: 50%; width: 0.5em; height: 0.5em; border: solid currentColor; border-width: 0.16em 0.16em 0 0; transform: translateY(-50%) rotate(45deg); }
.btn-line::after { content: ""; position: absolute; top: 0; left: -70%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, var(--color-shine), transparent); transform: skewX(-20deg); }
.btn-line__icon { flex: none; width: 1.45em; height: 1.45em; background: currentColor; -webkit-mask: var(--icon-chat) center / contain no-repeat; mask: var(--icon-chat) center / contain no-repeat; }

.tel-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  max-width: 100%;
  padding: 0.45em 1.4em 0.45em 1.1em;
  border: 2px solid var(--color-on-dark-2);
  border-radius: var(--radius-pill);
  color: var(--color-on-dark);
  text-decoration: none;
}
.tel-pill__label { font-size: var(--text-xs); font-weight: 700; line-height: 1.35; text-align: left; white-space: nowrap; }
.tel-pill__num { display: inline-flex; align-items: center; gap: 0.2em; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2rem); letter-spacing: 0.03em; white-space: nowrap; }
.tel-pill__num::before { content: ""; width: 0.75em; height: 0.75em; background: var(--color-accent); -webkit-mask: var(--icon-tel) center / contain no-repeat; mask: var(--icon-tel) center / contain no-repeat; }
@media (max-width: 23.99rem) {
  .tel-pill { flex-direction: column; gap: 0; padding: 0.45em 1.4em; border-radius: var(--radius-lg); }
  .tel-pill__label br { display: none; }
}

/* ---------- 上の帯 ---------- */
.hd { position: relative; z-index: 5; background: var(--color-night); color: var(--color-on-dark); }
.hd__in { display: flex; align-items: center; gap: var(--space-md); max-width: var(--container); margin-inline: auto; padding: 0.6rem var(--gutter); }
.hd__logo { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.3; }
.hd__sub { font-size: var(--text-xs); font-weight: 700; color: var(--color-accent); white-space: nowrap; }
.hd__name { font-family: var(--font-display); font-weight: 900; font-size: 1.0625rem; white-space: nowrap; }
.hd__tel { display: none; }
.hd__line {
  display: none;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.3em 1.2em;
  border-radius: var(--radius-pill);
  background: var(--color-line);
  color: var(--color-on-dark);
  font-weight: 700;
  font-size: var(--text-sm);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--color-line-deep);
}
@media (min-width: 30rem) { .hd__line { display: inline-flex; } }
@media (min-width: 60rem) {
  .hd__tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; text-decoration: none; }
  .hd__num { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; letter-spacing: 0.03em; white-space: nowrap; }
  .hd__hours { font-size: var(--text-xs); color: var(--color-on-dark-2); white-space: nowrap; }
}

/* ---------- 1 最初の画面（動画を画面いっぱいに） ---------- */
/* スマホ・タブレット：言葉を空色の帯に出し、動画は16:9のまま横幅いっぱい（左右を切らない）。PC：動画の上に言葉を重ねる */
.hero { --seal: clamp(5.5rem, 4.6rem + 4vw, 8rem); position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--color-hero-sky); }
.hero__media { position: relative; aspect-ratio: 16 / 9; }
.hero__media::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 1; height: 12%; background: linear-gradient(var(--color-hero-sky), transparent); pointer-events: none; }
.hero__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__copy { order: -1; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 0.55rem; padding: var(--space-lg) var(--gutter) calc(var(--seal) / 2 + var(--space-xs)); }
.hero__to { padding: 0.2em 1.1em; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-dark); font-weight: 700; font-size: var(--text-sm); }
.hero__title { display: flex; flex-direction: column; align-items: flex-start; gap: 0.14em; margin: 0; font-family: var(--font-display); font-weight: 900; font-size: var(--text-display); line-height: 1.2; letter-spacing: 0.01em; }
.hero__line { display: block; padding: 0.06em 0.28em 0.1em; border-radius: 0.12em; background: var(--color-paper); box-shadow: 0 0.08em 0 var(--color-shade); }
.hero__line--hot { background: var(--color-accent); font-size: 1.1em; }
.hero__band { padding: 0.3em 0.9em; border-radius: var(--radius-sm); background: var(--color-ink); color: var(--color-on-dark); font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); line-height: 1.5; }
.hero__band-hot { color: var(--color-accent); }

/* スマホ・タブレットでは動画の右上の角に半分かける */
.seal { position: absolute; z-index: 2; right: 0.75rem; bottom: calc(56.25vw - var(--seal) / 2); display: grid; place-items: center; width: var(--seal); aspect-ratio: 1; }
.seal__star {
  position: absolute;
  inset: 0;
  background: var(--color-ink);
  clip-path: polygon(50.0% 0.0%, 58.4% 7.8%, 69.1% 3.8%, 73.9% 14.2%, 85.4% 14.6%, 85.8% 26.1%, 96.2% 30.9%, 92.2% 41.6%, 100.0% 50.0%, 92.2% 58.4%, 96.2% 69.1%, 85.8% 73.9%, 85.4% 85.4%, 73.9% 85.8%, 69.1% 96.2%, 58.4% 92.2%, 50.0% 100.0%, 41.6% 92.2%, 30.9% 96.2%, 26.1% 85.8%, 14.6% 85.4%, 14.2% 73.9%, 3.8% 69.1%, 7.8% 58.4%, 0.0% 50.0%, 7.8% 41.6%, 3.8% 30.9%, 14.2% 26.1%, 14.6% 14.6%, 26.1% 14.2%, 30.9% 3.8%, 41.6% 7.8%);
}
.seal__t { position: relative; display: flex; flex-direction: column; align-items: center; color: var(--color-on-dark); font-family: var(--font-display); font-weight: 900; line-height: 1.15; }
.seal__s { font-size: clamp(0.6875rem, 0.6rem + 0.4vw, 0.9375rem); white-space: nowrap; }
.seal__b { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem); color: var(--color-accent); }

@media (min-width: 60rem) {
  .hero { display: block; }
  .hero__media { aspect-ratio: auto; height: min(56.25vw, calc(100svh - 4rem)); min-height: 34rem; }
  .hero__media::before { display: none; }
  .hero__v { object-position: 50% 60%; }
  .hero__copy { position: absolute; top: 6%; left: 6%; padding: 0; }
  .hero__title { font-size: clamp(2.75rem, 1.2rem + 3vw, 4.25rem); }
  .seal { right: 4%; top: 6%; bottom: auto; }
}

/* ---------- 申込みの塊 ---------- */
.cta { display: grid; justify-items: center; gap: var(--space-sm); max-width: var(--container); margin-inline: auto; padding: var(--space-xl) var(--gutter) var(--space-2xl); color: var(--color-on-dark); text-align: center; }
.cta__lead { font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.6; }
.cta__lead::before { content: "＼ "; color: var(--color-accent); }
.cta__lead::after { content: " ／"; color: var(--color-accent); }
.cta__after { font-size: var(--text-sm); color: var(--color-on-dark-2); }
.cta__after a { color: var(--color-on-dark); font-weight: 700; white-space: nowrap; }
.cta .btn-line, .cta .tel-pill { margin-top: var(--space-xs); }
.cta--slim { padding-block: var(--space-xl); }

.tiles { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; width: min(100%, 44rem); margin: var(--space-md) 0 0; padding: 0; }
.tiles li { display: grid; grid-template-rows: subgrid; grid-row: span 2; justify-items: center; align-items: center; row-gap: 0.25rem; padding: 0.9rem 0.4rem 0.8rem; border-radius: var(--radius-lg); background: var(--color-paper); color: var(--color-ink); font-family: var(--font-display); font-weight: 900; font-size: var(--text-sm); line-height: 1.4; }
.tiles img { width: 3.25rem; height: 3.25rem; }
@media (min-width: 40rem) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- 白い紙（区画）：上の角を丸めて前の紙に重ねる ---------- */
.sec { position: relative; padding: var(--space-2xl) 0 calc(var(--space-2xl) + var(--sheet-r)); border-radius: var(--sheet-r) var(--sheet-r) 0 0; background: var(--color-paper); }
.sec + .sec { margin-top: calc(-1 * var(--sheet-r)); }
.sec:has(+ .cta), .sec:has(+ .last) { padding-bottom: var(--space-2xl); border-radius: var(--sheet-r); }
.sec--cream { background: var(--color-cream); }
.sec--sky { background: var(--color-sky-3); }
.sec--yellow { background: var(--color-accent); }
.sec--yellow .ttl::after { background: var(--color-ink); }
.sec--yellow .hlbox { background: var(--color-paper); }
@media (min-width: 60rem) { .sec { padding-top: var(--space-3xl); } }

/* ---------- 2 社長の心の声 ---------- */
.worry { display: grid; justify-items: center; gap: var(--space-lg); padding: var(--space-lg) var(--space-md) var(--space-xl); border-radius: var(--radius-lg); background: var(--color-sky-3); }
.worry .scene { width: min(100%, 17rem); }
.worry__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); width: 100%; margin: 0; padding: 0; }
.worry__list li { position: relative; display: grid; place-items: center; padding: 0.65em 1em; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-paper); font-weight: 700; line-height: 1.55; text-align: center; }
@media (min-width: 40rem) { .worry__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) {
  .worry { grid-template-columns: minmax(0, 1fr) 19rem minmax(0, 1fr); align-items: stretch; column-gap: var(--space-xl); padding: var(--space-2xl); }
  .worry .scene { grid-column: 2; grid-row: 1 / span 3; width: 100%; align-self: center; }
  .worry__list { display: contents; }
  .worry__list li { justify-self: stretch; }
  .worry__list li:nth-child(odd) { grid-column: 1; }
  .worry__list li:nth-child(even) { grid-column: 3; }
  .worry__list li:nth-child(-n + 2) { grid-row: 1; }
  .worry__list li:nth-child(n + 3):nth-child(-n + 4) { grid-row: 2; }
  .worry__list li:nth-child(n + 5) { grid-row: 3; }
  .worry__list li::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: solid var(--color-ink); background: var(--color-paper); }
  .worry__list li:nth-child(odd)::after { right: -9px; border-width: var(--border) var(--border) 0 0; transform: rotate(45deg); }
  .worry__list li:nth-child(even)::after { left: -9px; border-width: 0 0 var(--border) var(--border); transform: rotate(45deg); }
}

.scene__circle { position: relative; aspect-ratio: 1; overflow: hidden; border: 3px solid var(--color-ink); border-radius: 50%; background: var(--color-paper); box-shadow: 0 6px 0 var(--color-sky); }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transform: scale(1.06); }
.scene__img.is-on { opacity: 1; transform: none; }
.scene__cap { display: flex; align-items: center; justify-content: center; gap: 0.2rem; margin-top: var(--space-md); }
.scene__btn { flex: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: transparent; font-size: 1.75rem; line-height: 1; cursor: pointer; }
.scene__btn:hover { background: var(--color-accent-2); }
.scene__txt { display: flex; align-items: baseline; gap: 0.5em; min-width: 0; font-family: var(--font-display); font-weight: 900; font-size: var(--text-base); line-height: 1.4; }
.scene__no { flex: none; color: var(--color-ink-2); font-size: var(--text-sm); white-space: nowrap; }

.absolve { margin-top: var(--space-2xl); text-align: center; }
.absolve__big { font-family: var(--font-display); font-weight: 900; font-size: var(--text-2xl); line-height: 1.6; }
.absolve__body { margin-top: var(--space-md); font-size: var(--text-lg); line-height: 1.85; }
.absolve__s { display: block; }
.absolve__s + .absolve__s { margin-top: 0.2em; }
.absolve__body b { font-weight: 700; }
.absolve__key { display: grid; justify-items: center; gap: 0.3rem; margin-top: var(--space-xl); font-family: var(--font-display); font-weight: 900; line-height: 1.3; }
.absolve__pre { font-size: var(--text-xl); }
.absolve__main { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.5rem); letter-spacing: 0.02em; white-space: nowrap; }

/* ---------- 3 分かれ道 ---------- */
.ba { display: grid; justify-items: center; gap: var(--space-sm); }
.ba__card { width: min(100%, 27rem); margin: 0; overflow: hidden; border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); }
.ba__label { padding: 0.35em; border-bottom: var(--border) solid var(--color-ink); font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); text-align: center; }
.ba__card--now .ba__label { background: var(--color-gray); }
.ba__card--yes .ba__label { background: var(--color-accent); }
.ba__card img { width: 100%; }
.ba__arrow { width: 0; height: 0; border-inline: 22px solid transparent; border-top: 22px solid var(--color-accent-deep); }
@media (min-width: 48rem) {
  .ba { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--space-md); }
  .ba__arrow { border-block: 26px solid transparent; border-inline: 30px solid transparent; border-left-color: var(--color-accent-deep); border-right-width: 0; }
}

.cmp { display: grid; gap: var(--space-sm); margin-top: var(--space-2xl); }
.cmp__row { display: grid; overflow: hidden; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-paper); }
.cmp__row--head { display: none; }
.cmp__k { padding: 0.25em; background: var(--color-ink); color: var(--color-on-dark); font-family: var(--font-display); font-weight: 900; text-align: center; }
.cmp__no, .cmp__yes { padding: 0.6em 1em; font-size: var(--text-sm); line-height: 1.6; }
.cmp__no { background: var(--color-gray); }
.cmp__yes { background: var(--color-accent-2); font-weight: 700; }
.cmp__no::before, .cmp__yes::before { content: attr(data-k); display: block; font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); }
@media (min-width: 48rem) {
  .cmp { gap: 0; overflow: hidden; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); }
  .cmp__row { grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1fr); border: 0; border-top: 2px solid var(--color-gray-2); border-radius: 0; }
  .cmp__row--head { display: grid; border-top: 0; }
  .cmp__row--head > span { padding: 0.45em; font-family: var(--font-display); font-weight: 900; text-align: center; }
  .cmp__row--head > span:first-child { background: var(--color-ink); }
  .cmp__h--no { background: var(--color-gray-2); }
  .cmp__h--yes { background: var(--color-accent); }
  .cmp__k { display: grid; place-items: center; }
  .cmp__no, .cmp__yes { display: flex; align-items: center; padding: 0.8em 1.2em; font-size: var(--text-base); }
  .cmp__no::before, .cmp__yes::before { display: none; }
}

.fact { max-width: 34rem; margin: var(--space-2xl) auto 0; padding: var(--space-lg); border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); box-shadow: 8px 8px 0 var(--color-accent); text-align: center; }
.fact__lead { font-weight: 700; }
.fact__num { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 2.6rem + 5vw, 5.5rem); line-height: 1.1; }
.fact__unit { margin-left: 0.08em; font-size: 0.4em; }
.fact__tag { display: inline-block; margin-top: var(--space-xs); padding: 0.1em 1em; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-dark); font-weight: 700; font-size: var(--text-sm); }
.fact__body { margin-top: var(--space-sm); font-size: var(--text-sm); text-align: left; }
.fact__src { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-muted); text-align: left; }

/* ---------- 4 採用費の比べ ---------- */
.money { list-style: none; display: grid; gap: var(--space-sm); margin: 0 0 var(--space-2xl); padding: 0; }
@media (min-width: 48rem) { .money { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.money li { display: grid; grid-template-rows: subgrid; grid-row: span 3; justify-items: center; row-gap: 0.35rem; padding: var(--space-lg) var(--space-md); border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); text-align: center; }
.money__k { align-self: end; font-weight: 700; font-size: var(--text-sm); line-height: 1.5; }
.money__v { align-self: center; font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.1; }
.money__n { margin: 0 0.06em; padding: 0 0.04em; background: linear-gradient(transparent 68%, var(--color-accent) 68%); font-size: clamp(2.5rem, 1.9rem + 2.6vw, 3.5rem); white-space: nowrap; }
.money__src { align-self: start; font-size: var(--text-xs); color: var(--color-muted); line-height: 1.5; }

.vs { display: grid; gap: var(--space-lg); }
@media (min-width: 48rem) { .vs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); } }
.vs__card { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 10; row-gap: 0; overflow: hidden; border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); }
.vs__card--yw { border-width: 4px; box-shadow: 0 8px 0 var(--color-accent); }
.vs__flag { position: absolute; z-index: 1; top: 0.6rem; right: 0.6rem; padding: 0.1em 0.9em; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-accent); font-weight: 900; font-size: var(--text-xs); }
.vs__pic { display: flex; align-items: center; justify-content: center; height: 7.5rem; padding: 0.4rem; border-bottom: 2px solid var(--color-ink); background: var(--color-sky-3); }
.vs__pic img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.vs__name { display: grid; place-items: center; margin: 0; padding: 0.45em 0.6em; border-bottom: 2px solid var(--color-ink); background: var(--color-gray); font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.4; text-align: center; }
.vs__card--yw .vs__name { background: var(--color-accent); }
.vs__rows { display: contents; }
.vs__rows dt { padding: 0.6em 1em 0; font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); }
.vs__rows dd { margin: 0; padding: 0.1em 1em 0.65em; border-bottom: 1px dashed var(--color-gray-2); font-weight: 700; line-height: 1.55; }
.vs__rows dd:last-child { border-bottom: 0; }
.vs__card--yw dd b { background: linear-gradient(transparent 62%, var(--color-accent-2) 62%); }

.aha { margin-top: var(--space-2xl); text-align: center; }
.aha__big { font-family: var(--font-display); font-weight: 900; font-size: var(--text-2xl); line-height: 1.6; }
.aha__sub { margin-top: var(--space-xs); }

/* ---------- 5 3か所の動く図 ---------- */
.fm { max-width: 52rem; margin: 0 auto; }
.fm__stage { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: hidden; padding-bottom: 1.1rem; border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-sky-2); }
.fm__stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.1rem; border-top: var(--border) solid var(--color-ink); background: var(--color-gray); }
.fm__zone { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--space-xs); padding: var(--space-sm) 0.3rem 0; }
.fm__zone + .fm__zone { border-left: var(--border) dashed var(--color-gray-2); }
.fm__name { display: flex; flex-direction: column; align-items: center; padding: 0.2em 0.9em 0.3em; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-paper); font-size: var(--text-xs); font-weight: 700; line-height: 1.2; }
.fm__name b { font-family: var(--font-display); font-size: clamp(1.125rem, 0.9rem + 1vw, 1.5rem); }
.fm__zone--in .fm__name { background: var(--color-accent); }
.fm__zone--out .fm__name b { color: var(--color-cross); }
.fm__pic { width: min(100%, 9.5rem); margin-top: auto; }
.fm__w { position: absolute; z-index: 2; bottom: 1.1rem; width: clamp(30px, 7%, 52px); translate: -50% 0; }
.fm__w--1 { left: 42%; }
.fm__w--2 { left: 78%; }
.fm__w--3 { left: 92%; }
.fm__count { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: var(--space-sm) 0 0; }
.fm__count div { padding: 0.35em 0.2em; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-paper); text-align: center; }
.fm__count .fm__left { background: var(--color-accent); }
.fm__count dt { font-size: var(--text-xs); font-weight: 700; }
.fm__count dd { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: var(--text-base); line-height: 1.3; }
.fm__count dd span { font-size: 2em; }
.fm__cap { margin-top: var(--space-sm); font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); line-height: 1.6; text-align: center; }

.places { display: grid; gap: var(--space-sm); margin-top: var(--space-lg); }
@media (min-width: 60rem) { .places { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; } }
.pl { overflow: hidden; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-paper); scroll-margin-top: 1rem; }
/* 押せると分かるように：上の吹き出し・下の「見る」帯・＋の波紋 */
.places__hint { display: flex; justify-content: center; margin: var(--space-xl) 0 calc(-1 * var(--space-sm)); }
.places__bubble { position: relative; display: inline-block; padding: 0.45em 1.2em; border: var(--border) solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-accent); font-weight: 700; font-size: var(--text-sm); line-height: 1.5; text-align: center; }
.places__bubble::after { content: ""; position: absolute; left: 50%; bottom: -0.62rem; width: 0.9rem; height: 0.9rem; translate: -50% 0; rotate: 45deg; border: solid var(--color-ink); border-width: 0 var(--border) var(--border) 0; background: var(--color-accent); }
.pl summary { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "where verb" "where sym" "open open"; align-items: center; column-gap: 0.8em; padding: 0.8em 0.9em 0.9em; list-style: none; cursor: pointer; }
.pl summary::-webkit-details-marker { display: none; }
.pl__l { display: inline-block; }
@media (min-width: 60rem) { .pl__l { display: block; } } /* 3列のときだけ2行に固定して高さをそろえる */
.pl__open { grid-area: open; display: flex; align-items: center; justify-content: center; gap: 0.6em; margin-top: 0.75em; padding: 0.4em 0.6em 0.4em 1.1em; border-radius: var(--radius-pill); background: var(--color-sky-3); font-size: var(--text-sm); font-weight: 700; transition: background-color 0.2s var(--ease-out); }
.pl__open::after { content: "+"; display: grid; place-items: center; flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--color-ink); color: var(--color-on-dark); font-weight: 900; line-height: 1; }
.pl[open] .pl__open::after { content: "−"; }
.pl[open] .pl__o1, .pl:not([open]) .pl__o2 { display: none; }
.pl summary:hover .pl__open, .pl summary:focus-visible .pl__open { background: var(--color-accent); }
.pl__where { grid-area: where; display: grid; place-items: center; width: 3.2em; height: 3.2em; border: var(--border) solid var(--color-ink); border-radius: 50%; background: var(--color-accent); font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); }
.pl--mid .pl__where { background: var(--color-sky-2); }
.pl--out .pl__where { background: var(--color-paper); color: var(--color-cross); }
.pl__verb { grid-area: verb; font-size: var(--text-sm); font-weight: 700; color: var(--color-muted); line-height: 1.4; }
.pl__sym { grid-area: sym; font-family: var(--font-display); font-weight: 900; line-height: 1.4; }
.pl__body { margin: 0; padding: 0.6em 1em 1em; border-top: 2px dashed var(--color-gray-2); font-size: var(--text-sm); }
.pl__body dt { margin-top: 0.5em; font-weight: 700; }
.pl__body dt::before { content: ""; display: inline-block; width: 0.8em; height: 0.3em; margin-right: 0.4em; border-radius: 2px; background: var(--color-accent-deep); vertical-align: 0.2em; }
.pl__body dd { margin: 0; line-height: 1.7; }

.turn { margin-top: var(--space-2xl); text-align: center; }
.turn__a { font-weight: 700; font-size: var(--text-lg); }
.turn__b { margin-top: var(--space-xs); }
.turn__c { margin-top: var(--space-sm); font-family: var(--font-display); font-weight: 900; font-size: var(--text-3xl); line-height: 1.5; }

/* ---------- 6 診断の中身 ---------- */
.knows { list-style: none; display: grid; gap: var(--space-sm); margin: 0; padding: 0; }
@media (min-width: 48rem) { .knows { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.knows li { display: grid; grid-template-rows: subgrid; grid-row: span 4; justify-items: center; row-gap: 0.45rem; padding: var(--space-md) var(--space-md) var(--space-lg); border-radius: var(--radius-lg); background: var(--color-accent-2); text-align: center; }
.kn__label { padding: 0.1em 1em; border-radius: var(--radius-pill); background: var(--color-ink); color: var(--color-on-dark); font-weight: 700; font-size: var(--text-sm); }
.knows img { width: 3.5rem; height: 3.5rem; }
.kn__big { align-self: center; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem); line-height: 1.2; }
.kn__t { font-size: var(--text-sm); line-height: 1.6; }

.offer__grid { display: grid; gap: var(--space-xl); margin-top: var(--space-2xl); }
@media (min-width: 60rem) { .offer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.qbox { padding: var(--space-md); border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); }
.qs { list-style: none; display: grid; gap: 0.5rem; margin: 0; padding: 0; }
.qs li { display: flex; align-items: flex-start; gap: 0.6em; padding: 0.5em 0.7em; border-radius: var(--radius-sm); background: var(--color-sky-3); font-weight: 700; line-height: 1.5; }
.qs li::before { content: ""; flex: none; width: 1.15em; height: 1.15em; margin-top: 0.17em; border: var(--border) solid var(--color-ink); border-radius: 4px; background: var(--color-paper); }
.qs__how { margin-top: var(--space-sm); font-weight: 700; text-align: center; }
.qs__opts { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4em; margin-top: 0.4em; }
.qs__opts span { padding: 0.05em 0.8em; border: 2px solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-paper); font-size: var(--text-sm); white-space: nowrap; }

.shot { display: flex; flex-direction: column; align-items: center; margin: 0; }
.shot .band { align-self: stretch; }
.shot__img { display: block; width: min(100%, 20rem); height: auto; border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); }
.shot__cap { margin-top: var(--space-sm); font-size: var(--text-sm); font-weight: 700; text-align: center; }

.gifts { margin-top: var(--space-2xl); }
.gifts__row { display: grid; gap: var(--space-lg); }
@media (min-width: 48rem) { .gifts__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gift { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 3; justify-items: center; row-gap: 0.3rem; padding: var(--space-lg) var(--space-md) var(--space-md); border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); text-align: center; }
.gift__pic { display: flex; align-items: center; justify-content: center; height: 11rem; }
.gift__pic img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.gift__n { position: absolute; left: -0.7rem; top: -0.7rem; display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border: var(--border) solid var(--color-ink); border-radius: 50%; background: var(--color-accent); font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); }
.gift__t { align-self: end; font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.45; }
.gift__d { font-size: var(--text-sm); }
.gifts__after { margin-top: var(--space-md); font-size: var(--text-sm); text-align: center; }

.go { display: grid; justify-items: center; gap: var(--space-xl); margin-top: var(--space-2xl); }
.howto { list-style: none; display: grid; gap: var(--space-md); width: min(100%, 40rem); margin: 0; padding: 0; }
.howto li { position: relative; display: flex; align-items: center; gap: var(--space-md); }
.howto__n { flex: none; display: grid; place-items: center; width: clamp(3.5rem, 2.9rem + 3vw, 5rem); aspect-ratio: 1; border-radius: 50%; background: var(--color-ink); color: var(--color-accent); font-family: var(--font-display); font-weight: 900; font-size: var(--text-2xl); }
.howto__t { font-weight: 700; line-height: 1.5; }
.howto li + li::before { content: ""; position: absolute; left: calc(clamp(3.5rem, 2.9rem + 3vw, 5rem) / 2); top: calc(-0.5 * var(--space-md)); translate: -50% -50%; border-inline: 8px solid transparent; border-top: 10px solid var(--color-accent-deep); }
@media (min-width: 40rem) {
  .howto { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .howto li { flex-direction: column; gap: 0.4em; text-align: center; }
  .howto__t { font-size: var(--text-sm); }
  .howto li + li::before { left: calc(-0.5 * var(--space-md)); top: calc(clamp(3.5rem, 2.9rem + 3vw, 5rem) / 2); border-block: 8px solid transparent; border-inline: 0; border-left: 11px solid var(--color-accent-deep); }
}

/* ---------- 7 解決の仕組み ---------- */
.areas { display: grid; gap: var(--space-lg); max-width: 30rem; margin: 0 auto; }
@media (min-width: 60rem) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } }
.area { display: grid; grid-template-rows: subgrid; grid-row: span 4; justify-items: center; row-gap: var(--space-sm); padding: var(--space-lg) var(--space-md); border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); text-align: center; }
.area__where, .case__where { display: flex; align-items: baseline; gap: 0.4em; padding: 0.05em 1em; border: var(--border) solid var(--color-ink); border-radius: var(--radius-pill); background: var(--color-paper); font-weight: 700; font-size: var(--text-sm); white-space: nowrap; }
.area__where b, .case__where b { font-family: var(--font-display); font-size: var(--text-lg); }
.area--in .area__where, .case--in .case__where { background: var(--color-accent); }
.area--mid .area__where, .case--mid .case__where { background: var(--color-sky-2); }
.area--out .area__where b, .case--out .case__where b { color: var(--color-cross); }
.area__img { width: 8rem; height: 8rem; border: var(--border) solid var(--color-ink); border-radius: 50%; background: var(--color-sky-2); object-fit: cover; object-position: 50% 0; }
.area__t { margin: 0; font-family: var(--font-display); font-weight: 900; font-size: var(--text-xl); line-height: 1.4; }
.area__does { list-style: none; display: grid; gap: 0.25em; align-self: start; width: 100%; margin: 0; padding: 0; font-size: var(--text-sm); text-align: left; }
.area__does li { position: relative; padding-left: 1.4em; line-height: 1.6; }
.area__does li::before { content: ""; position: absolute; left: 0.25em; top: 0.45em; width: 0.7em; height: 0.38em; border: solid var(--color-line-deep); border-width: 0 0 0.16em 0.16em; transform: rotate(-45deg); }

.door { display: grid; justify-items: center; gap: var(--space-sm); margin-top: var(--space-2xl); padding: var(--space-lg) var(--space-md); border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); text-align: center; }
.door__img { width: 9rem; }
.door__big { margin-bottom: var(--space-xs); font-family: var(--font-display); font-weight: 900; font-size: clamp(1.0625rem, 0.9rem + 1.2vw, 1.5rem); line-height: 1.7; }
@media (min-width: 48rem) { .door { grid-template-columns: 10rem minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; } .door__img { width: 10rem; } }

.flow3 { list-style: none; display: grid; gap: 0.9rem; margin: var(--space-xl) 0 0; padding: 0; }
.flow3 li { position: relative; display: flex; align-items: center; gap: var(--space-sm); padding: 0.6em 1em; border-radius: var(--radius-md); background: var(--color-ink); color: var(--color-on-dark); }
.flow3 li + li::before { content: ""; position: absolute; left: 50%; top: -0.85rem; translate: -50% 0; border-inline: 9px solid transparent; border-top: 9px solid var(--color-accent-deep); }
.flow3__n { flex: none; padding: 0.05em 0.6em; border-radius: var(--radius-sm); background: var(--color-accent); color: var(--color-ink); font-family: var(--font-display); font-weight: 900; white-space: nowrap; }
.flow3__t { font-weight: 700; line-height: 1.5; }

/* ---------- 7.5 事例（3枚の行の高さをそろえる） ---------- */
.cases__list { display: grid; gap: var(--space-lg); max-width: 30rem; margin: 0 auto; }
@media (min-width: 60rem) { .cases__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); max-width: none; } }
.case { display: grid; grid-template-rows: subgrid; grid-row: span 8; row-gap: 0; overflow: hidden; border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); }
.case__where { justify-self: center; margin-top: var(--space-md); }
.case__who { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; gap: var(--space-sm); margin: var(--space-sm) var(--space-md) 0; padding-bottom: var(--space-sm); border-bottom: 2px solid var(--color-ink); }
.case__face { width: 4.5rem; height: 4.5rem; border: var(--border) solid var(--color-ink); border-radius: 50%; }
.case__co { display: grid; gap: 0.45rem; font-weight: 700; }
.case__ind { font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.3; }
.case__size { font-size: var(--text-sm); color: var(--color-muted); line-height: 1.3; }
.case__rows { display: contents; }
.case__rows dt { display: flex; align-items: center; gap: 0.45em; padding: 0.8em var(--space-md) 0.2em; font-size: var(--text-xs); font-weight: 700; color: var(--color-muted); }
.case__rows dt::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--color-accent-deep); }
.case__rows dd { margin: 0; padding: 0.15em var(--space-md) 0.8em; border-bottom: 1px dashed var(--color-gray-2); line-height: 1.7; }
.case__rows dd:last-child { padding-bottom: var(--space-md); border-bottom: 0; }
.case__rows dd b { background: linear-gradient(transparent 62%, var(--color-accent-2) 62%); font-size: 1.12em; }
.cases__note { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-muted); text-align: center; }
@media (min-width: 60rem) {
  .flow3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; }
  .flow3 li { padding: 0.8em 1.6em 0.8em 1.8em; border-radius: 0; clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 50%, calc(100% - 1rem) 100%, 0 100%, 1rem 50%); }
  .flow3 li:first-child { padding-left: 1.1em; border-radius: var(--radius-md) 0 0 var(--radius-md); clip-path: polygon(0 0, calc(100% - 1rem) 0, 100% 50%, calc(100% - 1rem) 100%, 0 100%); }
  .flow3 li + li::before { display: none; }
}

/* ---------- 8 はじめての方へ ---------- */
.ease { list-style: none; display: grid; gap: var(--space-sm); margin: 0; padding: 0; }
.ease li { display: grid; grid-template-columns: 3.75rem minmax(0, 1fr); grid-template-areas: "ic b" "ic t"; align-items: center; column-gap: var(--space-sm); padding: var(--space-sm) var(--space-md); border-radius: var(--radius-lg); background: var(--color-sky-3); }
.ease img { grid-area: ic; width: 3.75rem; height: 3.75rem; }
.ease b { grid-area: b; align-self: end; font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.35; }
.ease li > span { grid-area: t; align-self: start; font-size: var(--text-sm); line-height: 1.6; }
@media (min-width: 40rem) and (max-width: 59.99rem) { .ease { max-width: 34rem; margin-inline: auto; } }
@media (min-width: 60rem) { .ease { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fit { display: grid; gap: var(--space-sm); margin-top: var(--space-xl); }
@media (min-width: 48rem) { .fit { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fit__box { padding: var(--space-md) var(--space-lg); border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); }
.fit__box--yes { background: var(--color-accent-2); }
.fit__box--no { background: var(--color-gray); }
.fit__box a { font-weight: 700; white-space: nowrap; }
.fit__h { display: flex; align-items: center; gap: 0.45em; margin-bottom: 0.2em; font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); }
.fit__h::before { content: ""; flex: none; width: 1.05em; height: 1.05em; }
.fit__box--yes .fit__h::before { border: 0.2em solid var(--color-line-deep); border-radius: 50%; }
.fit__box--no .fit__h::before {
  background: linear-gradient(45deg, transparent 41%, var(--color-cross) 41% 59%, transparent 59%),
              linear-gradient(-45deg, transparent 41%, var(--color-cross) 41% 59%, transparent 59%);
}

.chat { display: grid; gap: var(--space-md); max-width: 46rem; margin: var(--space-2xl) auto 0; }
.qa summary { display: flex; align-items: flex-start; gap: var(--space-sm); list-style: none; cursor: pointer; }
.qa summary::-webkit-details-marker { display: none; }
.qa__face { flex: none; width: 3.4rem; height: 3.4rem; border: var(--border) solid var(--color-ink); border-radius: 50%; background: var(--color-sky-2); object-fit: cover; object-position: 50% 0; }
.qa__q { position: relative; flex: 1; min-width: 0; padding: 0.7em 2.8em 0.7em 1em; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-paper); font-weight: 700; line-height: 1.5; }
.qa__q::before { content: ""; position: absolute; left: -8px; top: 1.1rem; width: 13px; height: 13px; border: solid var(--color-ink); border-width: 0 0 var(--border) var(--border); background: var(--color-paper); transform: rotate(45deg); }
.qa__q::after { content: "+"; position: absolute; right: 0.7em; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--color-ink); color: var(--color-on-dark); font-weight: 900; line-height: 1; }
.qa[open] .qa__q::after { content: "−"; }
.qa__a { display: flex; align-items: flex-start; gap: var(--space-sm); margin: var(--space-sm) 0 0 1.5rem; }
.qa__a p { position: relative; flex: 1; min-width: 0; padding: 0.8em 1em; border: var(--border) solid var(--color-ink); border-radius: var(--radius-md); background: var(--color-accent-2); font-size: var(--text-sm); line-height: 1.75; }
.qa__a p::after { content: ""; position: absolute; right: -8px; top: 1.1rem; width: 13px; height: 13px; border: solid var(--color-ink); border-width: var(--border) var(--border) 0 0; background: var(--color-accent-2); transform: rotate(45deg); }
.qa__a a { font-weight: 700; white-space: nowrap; }

/* ---------- 9 今動く理由 ---------- */
.reasons { list-style: none; display: grid; gap: var(--space-md); max-width: 46rem; margin: 0 auto; padding: 0; }
.reasons li { position: relative; display: flex; flex-direction: column; gap: 0.2em; padding: var(--space-md) var(--space-lg) var(--space-md) 4.4rem; border: var(--border) solid var(--color-ink); border-radius: var(--radius-lg); background: var(--color-paper); }
.reasons__n { position: absolute; left: var(--space-md); top: var(--space-md); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--color-ink); color: var(--color-accent); font-family: var(--font-display); font-weight: 900; }
.reasons b { font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); line-height: 1.45; }
.reasons li > span:last-child { font-size: var(--text-sm); }
.kick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-sm) var(--space-lg); margin-top: var(--space-xl); }
.kick__img { width: 7.5rem; }
.kick__t { font-family: var(--font-display); font-weight: 900; font-size: var(--text-2xl); line-height: 1.4; text-align: center; }
.kick__big { margin-right: 0.05em; padding: 0 0.15em; border-radius: 0.15em; background: var(--color-paper); font-size: 1.7em; }

/* ---------- 10 最後の行動 ---------- */
.last { padding: var(--space-3xl) 0; color: var(--color-on-dark); }
.last__wrap { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: var(--space-xl); }
@media (min-width: 60rem) { .last__wrap { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.last__visual { justify-self: center; width: min(70%, 20rem); }
.last__copy { display: grid; justify-items: center; gap: var(--space-sm); text-align: center; }
.last__title { margin: 0 0 var(--space-sm); font-family: var(--font-display); font-weight: 900; font-size: var(--text-3xl); line-height: 1.5; }
.last .hlbox { color: var(--color-ink); }
.last__note { font-weight: 700; color: var(--color-on-dark-2); }
.last__hours { font-size: var(--text-xs); color: var(--color-on-dark-2); }

/* ---------- 運営者情報 ---------- */
.foot { padding: var(--space-2xl) 0 calc(var(--space-2xl) + 4.5rem); background: var(--color-night-2); color: var(--color-on-dark-2); font-size: var(--text-sm); line-height: 1.8; }
.foot__wrap { display: grid; gap: var(--space-xs); }
.foot__name { font-family: var(--font-display); font-weight: 900; font-size: var(--text-lg); color: var(--color-on-dark); }
.foot__addr { font-style: normal; }
.foot__dl { display: grid; gap: 0.3rem; margin: 0; }
.foot__dl > div { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: var(--space-sm); padding-bottom: 0.3rem; border-bottom: 1px solid var(--color-night); }
.foot__dl dt { font-weight: 700; color: var(--color-on-dark); }
.foot__dl dd { margin: 0; }
.foot__links { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin-top: var(--space-sm); }
.foot__links a { white-space: nowrap; }
@media (min-width: 60rem) { .foot { padding-bottom: var(--space-2xl); } }

/* ---------- スマホの画面下の帯 ---------- */
.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm) calc(var(--space-xs) + env(safe-area-inset-bottom));
  background: var(--color-paper);
  box-shadow: 0 -6px 18px var(--color-shade);
  transform: translateY(0);
  transition: transform var(--dur-base) var(--ease-out);
}
.dock[hidden] { display: grid; transform: translateY(110%); visibility: hidden; transition: transform var(--dur-base) var(--ease-in-out), visibility 0s linear var(--dur-base); }
.dock__line, .dock__tel { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 3.25rem; border-radius: var(--radius-pill); font-family: var(--font-display); font-weight: 900; font-size: var(--text-base); text-decoration: none; white-space: nowrap; }
.dock__line { background: var(--color-line); color: var(--color-on-dark); box-shadow: 0 3px 0 var(--color-line-deep); text-shadow: 0 1px 1px var(--color-text-shadow); }
.dock__line .btn-line__icon { width: 1.3em; height: 1.3em; }
.dock__tel { padding-inline: var(--space-lg); border: 2px solid var(--color-ink); color: var(--color-ink); }
@media (min-width: 60rem) { .dock { display: none !important; } }

/* ---------- 動き（参考：宅トラ・Cycle。動きを減らす設定では止める） ---------- */
.scene__img { transition: opacity 0.7s var(--ease-in-out), transform 1.4s var(--ease-out); }

@media (prefers-reduced-motion: no-preference) {
  /* スクロールで下からふわっと出る */
  .js [data-rv] { opacity: 0; transform: translateY(26px); transition: opacity var(--dur-slow) var(--ease-out) var(--d, 0s), transform var(--dur-slow) var(--ease-out) var(--d, 0s); }
  .js [data-rv="pop"] { transform: scale(0.72); transition-timing-function: var(--ease-out), var(--ease-back); }
  .js [data-rv="left"] { transform: translateX(-32px); }
  .js [data-rv="right"] { transform: translateX(32px); }
  .js [data-rv].is-in { opacity: 1; transform: none; }

  /* マーカーが引かれる */
  .js .mk { background-size: 0% 100%; transition: background-size 1.1s var(--ease-out) 0.35s; }
  .js .is-in .mk { background-size: 100% 100%; }

  /* 最初の画面の言葉が順に出る */
  .js .hero__copy > * { opacity: 0; transform: translateY(18px); animation: rise 0.8s var(--ease-out) forwards; }
  .js .hero__copy > :nth-child(2) { animation-delay: 0.15s; }
  .js .hero__copy > :nth-child(3) { animation-delay: 0.35s; }

  /* ゆらゆら浮く・回る・光る */
  .fuwa { animation: fuwa 3.4s var(--ease-in-out) infinite; }
  .seal__star { animation: spin 22s linear infinite; }
  .btn-line::after { animation: shine 3.8s var(--ease-in-out) infinite; }

  /* 3か所の動く図：歩く間だけ上下に揺れる。数字と結びはJSで出す */
  .fm__w.is-walking { animation: bob 0.42s var(--ease-in-out) infinite alternate; }
  .js .fm.is-playing .fm__cap { opacity: 0; transition: opacity 0.5s var(--ease-out); }
  .js .fm.is-playing.is-done .fm__cap { opacity: 1; }
  .fm__count dd span { display: inline-block; }
  .fm__count dd span.is-bump { animation: bump 0.45s var(--ease-back); }

  /* 3か所の開閉：閉じている間は＋から波紋が順に広がる。開いた中身は上からすっと出る */
  .pl:not([open]) .pl__open::after { animation: ping 2.4s var(--ease-out) infinite; }
  .pl--out .pl__open::after { animation-delay: 0.8s; }
  .pl--mid .pl__open::after { animation-delay: 1.6s; }
  .pl[open] .pl__body { animation: drop 0.35s var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene__img, .dock, .dock[hidden], .btn-line { transition: none; }
}

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fuwa { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shine { 0%, 55% { left: -70%; } 85%, 100% { left: 130%; } }
@keyframes bob { from { translate: -50% 0; } to { translate: -50% -3px; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 var(--color-accent-deep); } 60%, 100% { box-shadow: 0 0 0 0.6em transparent; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
