/* ============================================================
   アシビ LP
   配色：生成り（地）× 深緑（見出し・主ボタン）× 朱赤（番号・短い強調）
   書体：Shippori Mincho B1（見出し）／ Zen Kaku Gothic New（本文）
   ============================================================ */

:root {
  color-scheme: light;

  --paper: #FAF8F3;        /* 生成り：ページの地 */
  --paper-deep: #F1EDE4;   /* 生成りの一段深い面 */
  --plate: #FFFFFF;        /* 札・吹き出し */
  --ink: #29332F;          /* 本文 */
  --ink-soft: #57625D;     /* 補足・注記 */
  --green: #075B48;        /* 深緑 */
  --green-deep: #054436;
  --green-wash: #E3EDE8;
  --red: #BB4035;          /* 朱赤 */
  --line: #E4DED3;
  --line-strong: #CEC6B8;
  --on-green: #FAF8F3;
  --talk-bg: #ECE7DE;
  --bezel: #1F2624;

  --font-display: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", "Noto Serif CJK JP", serif;
  --font-body: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", "Noto Sans CJK JP", sans-serif;

  --gutter: clamp(16px, 5vw, 56px);
  --max: 1120px;
  --gap-section: clamp(96px, 13vw, 160px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

::selection { background: rgba(187, 64, 53, .18); }

/* ---------- base ---------- */

.page {
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow-x: clip;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: .04em;
}

:where(.page) :where(*, *::before, *::after) { box-sizing: border-box; }
:where(.page) :where(h1, h2, h3, p, ol, ul, dl, dd, figure) { margin: 0; padding: 0; }
:where(.page) :where(ol, ul) { list-style: none; }
:where(.page) img { display: block; max-width: 100%; height: auto; }

:where(.page) p { text-wrap: pretty; }

/* 日本語の改行を文節で：<wbr> の位置だけで折り返す */
.phr { word-break: keep-all; overflow-wrap: anywhere; }
.ln { display: block; }
.nobr { white-space: nowrap; }
.em-time { font-style: normal; color: var(--red); }
/* 登録商標の®：行の高さを変えずに小さく上付き（ロゴには付けない：ロゴは未登録） */
.reg {
  position: relative;
  top: -.7em;
  margin-left: .04em;
  font-size: 58%;
  line-height: 0;
  letter-spacing: 0;
  vertical-align: baseline;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .08em;
  text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, transform .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn__arrow {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--primary {
  background: var(--green);
  color: var(--on-green);
  box-shadow: 0 12px 24px -14px rgba(7, 91, 72, .75);
}
.btn--primary:hover { background: var(--green-deep); }

.btn--ghost {
  min-height: 46px;
  padding: 0 22px;
  font-size: .9375rem;
  color: var(--green);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--green);
}
.btn--ghost:hover { background: var(--green-wash); }

.btn--inverse { background: var(--paper); color: var(--green); }
.btn--inverse:hover { background: var(--plate); }
.btn--inverse:focus-visible { outline-color: var(--paper); }

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.cta__note {
  font-size: .8125rem;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--ink-soft);
}

/* ---------- masthead ---------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: clamp(18px, 3vw, 36px) 0;
}
.masthead__brand {
  display: block;
  width: clamp(248px, 30vw, 340px);
  border-radius: 8px;
}
.masthead__brand:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.masthead__logo { width: 100%; }
.masthead__cta { display: none; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  gap: clamp(48px, 7vw, 64px);
  align-items: center;
  padding-block: clamp(28px, 5vw, 56px) 0;
}

.hero__copy {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.4vw, 28px);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green);
  font-size: clamp(1.875rem, 8.5vw, 3.75rem);
  font-size: clamp(1.875rem, 11cqi, 4rem);
  line-height: 1.38;
  letter-spacing: 0;
  font-feature-settings: "palt" 1;
}
.hero__title .ln { white-space: nowrap; }

.hero__lead {
  font-size: clamp(1.1875rem, 1rem + .7vw, 1.4375rem);
  font-size: clamp(1.1875rem, 4.6cqi, 1.4375rem);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .04em;
}

.hero__text {
  font-size: clamp(.9375rem, .9rem + .2vw, 1.0625rem);
  font-size: clamp(.9375rem, 3.2cqi, 1.0625rem);
  line-height: 2;
}

.hero__demo {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
/* 展示室の照明のような、電話まわりの柔らかな光 */
.hero__demo::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -40px 0 auto;
  height: 80%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.demo-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  font-size: .75rem;
  line-height: 1.6;
  letter-spacing: .03em;
  color: var(--ink-soft);
  text-align: center;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--plate);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: .75rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .06em;
  color: var(--ink-soft);
  white-space: nowrap;
}

/* ---------- phone / talk screen ---------- */

.phone {
  width: min(100%, 332px);
  padding: 9px;
  border-radius: 44px;
  background: var(--bezel);
  box-shadow: 0 40px 70px -40px rgba(31, 38, 36, .6), 0 18px 32px -24px rgba(31, 38, 36, .45);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 35px;
  background: var(--talk-bg);
}

.talk-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding-top: 8px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .08em;
}
.talk-bar__back {
  position: absolute;
  left: 14px;
  top: 21px;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.talk {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 12px 22px;
}
.talk__row { display: flex; gap: 8px; }
.talk__row--me { justify-content: flex-end; }
.talk__row--bot { align-items: flex-start; }
.talk__row--bot > .bubble { max-width: 82%; }
/* 経過時間の目印（トーク画面の日付ラベル風） */
.talk__chip {
  align-self: center;
  padding: 1px 12px;
  border-radius: 999px;
  background: var(--plate);
  box-shadow: inset 0 0 0 1px rgba(187, 64, 53, .45);
  font-size: .6875rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: .08em;
  color: var(--red);
}

.avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.bubble {
  display: grid;
  gap: 6px;
  padding: 12px 14px 13px;
  border-radius: 6px 18px 18px 18px;
  background: var(--plate);
  font-size: .875rem;
  line-height: 1.7;
  letter-spacing: .02em;
}
.bubble__title {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--green);
}
.bubble--audio {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border-radius: 6px 999px 999px 999px;
}

.talk-input {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 16px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}
.talk-input svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.talk-input__field {
  flex: 1;
  height: 34px;
  border-radius: 999px;
  background: var(--plate);
  border: 1px solid var(--line);
}

/* みどころリスト（番号は朱赤の丸） */
.points {
  display: grid;
  gap: 6px;
  counter-reset: point;
}
.points > li {
  counter-increment: point;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: .5em;
  align-items: start;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.points > li::before {
  content: counter(point);
  display: grid;
  place-items: center;
  width: 1.45em;
  height: 1.45em;
  margin-top: .34em;
  border-radius: 50%;
  background: var(--red);
  color: #FFFFFF;
  font-size: .8em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.points--detail {
  gap: 20px;
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  line-height: 1.6;
}
.points--detail > li::before { margin-top: .28em; }
.points__text { display: grid; gap: 4px; }
.points__head { font-weight: 700; letter-spacing: .04em; }
.points__body {
  font-size: .84em;
  line-height: 1.9;
  letter-spacing: .03em;
}

/* 音声ガイド */
.audio-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-wash);
  color: var(--green);
}
.audio-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.audio-wave {
  flex: none;
  width: 70px;
  height: 18px;
  fill: none;
  stroke: var(--green);
  stroke-width: 2;
  stroke-linecap: round;
  opacity: .5;
}
.audio-label {
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

/* 作品写真の枠（画像が無いあいだはプレースホルダー） */
.art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  background: linear-gradient(155deg, #E8E2D5 0%, #DAD1BF 100%);
}
.art:not(.is-loaded)::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 8px;
  pointer-events: none;
}
.art__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .3s ease;
}
.art.is-loaded .art__img { opacity: 1; }
.art__ph {
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: .75rem;
  line-height: 1.4;
  letter-spacing: .14em;
  color: var(--ink-soft);
}
.art__ph svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .75;
}
.art.is-loaded .art__ph { display: none; }
.art--msg { width: 50%; border-radius: 16px; }
.art--wall {
  width: 100%;
  max-width: 340px;
  border-radius: 18px;
  box-shadow: 0 24px 40px -28px rgba(31, 38, 36, .5);
}

/* ---------- sections ---------- */

.section {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  padding-top: var(--gap-section);
}
.section__head {
  display: grid;
  gap: 20px;
  max-width: 42em;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--green);
  font-size: clamp(1.625rem, 1.15rem + 2vw, 2.5rem);
  line-height: 1.5;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
  text-wrap: balance;
}
.section__intro {
  font-size: clamp(1rem, .95rem + .25vw, 1.125rem);
  line-height: 2.05;
}

/* 2. 写真を送った、そのあとに。 */
.exchange {
  display: grid;
  gap: 20px;
  justify-items: center;
  padding: clamp(28px, 4.5vw, 56px) clamp(16px, 4.5vw, 56px);
  background: var(--paper-deep);
  border-radius: clamp(20px, 3vw, 32px);
}
.exchange__send {
  display: grid;
  justify-items: center;
  gap: 14px;
  width: 100%;
}
.exchange__label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.exchange__reply {
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 600px;
}

/* 送信 → 30秒 → 1分 の時間軸 */
.timeline { display: grid; }
.timeline__stop {
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 14px;
  align-items: center;
  padding-bottom: 30px;
}
.timeline__stop:last-child { padding-bottom: 0; }
.timeline__stop::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 38px;
  bottom: 6px;
  border-left: 1.5px dashed var(--line-strong);
}
.timeline__stop:last-child::before { display: none; }
.timeline__time {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  place-items: center;
  height: 32px;
  border-radius: 999px;
  background: var(--plate);
  box-shadow: inset 0 0 0 1.5px var(--red);
  color: var(--red);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.timeline__what {
  grid-column: 2;
  grid-row: 1;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.timeline__stop > .reply__card,
.timeline__stop > .reply__audio { grid-column: 2; }
.timeline__note {
  padding-left: 64px;
  font-size: .75rem;
  line-height: 1.7;
  letter-spacing: .03em;
  color: var(--ink-soft);
}

.caption-plate {
  display: grid;
  gap: 1px;
  width: 100%;
  max-width: 340px;
  padding: 12px 16px 13px;
  background: var(--plate);
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(41, 51, 47, .08);
  font-size: .75rem;
  line-height: 1.65;
  letter-spacing: .03em;
  color: var(--ink-soft);
}
.caption-plate__artist { font-size: .8125rem; font-weight: 700; color: var(--ink); }
.caption-plate__title { color: var(--ink); }
.caption-plate__source { margin-top: 4px; font-size: .6875rem; }

.reply__card {
  position: relative;
  display: grid;
  gap: 14px;
  width: 100%;
  padding: clamp(20px, 3vw, 30px);
  background: var(--plate);
  border-radius: 8px 24px 24px 24px;
  box-shadow: 0 1px 0 rgba(41, 51, 47, .05), 0 20px 36px -28px rgba(41, 51, 47, .45);
}
.reply__audio {
  position: relative;
  justify-self: start;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px 10px 10px;
  background: var(--plate);
  border-radius: 8px 999px 999px 999px;
  box-shadow: 0 1px 0 rgba(41, 51, 47, .05), 0 16px 28px -24px rgba(41, 51, 47, .45);
}
.reply__audio .audio-icon { width: 44px; height: 44px; }
.reply__audio .audio-icon svg { width: 24px; height: 24px; }
.reply__audio .audio-wave { flex: 0 1 auto; min-width: 48px; width: 96px; height: 22px; }
.reply__audio .audio-label { font-size: 1rem; }

.exchange-after {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.125rem, 1rem + .6vw, 1.4375rem);
  line-height: 1.8;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}

/* 3. 使い方は、3ステップ。 */
.steps { display: grid; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 18px;
  row-gap: 8px;
  padding-bottom: 36px;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 66px;
  bottom: 10px;
  border-left: 1.5px dashed var(--line-strong);
}
.step:last-child::before { display: none; }
.step__num {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: inset 0 0 0 1.5px var(--red);
  color: var(--red);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
.step__title {
  grid-column: 2;
  padding-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: .04em;
}
.step__icon {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: .05em;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step__text { grid-column: 2; font-size: .9375rem; line-height: 1.95; }

/* 4. 「どこを見よう」が、見つかる。 */
.benefits {
  display: grid;
  border-top: 1px solid var(--line-strong);
}
.benefit {
  display: grid;
  gap: 10px;
  padding-block: clamp(26px, 3.5vw, 36px);
  border-bottom: 1px solid var(--line);
}
.benefit__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3125rem, 1.15rem + .7vw, 1.625rem);
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--green);
  font-feature-settings: "palt" 1;
}
.benefit__text { line-height: 2; }

/* 5. こんな鑑賞の時間に。（展示室の札のように） */
.scenes { display: grid; gap: 14px; }
.scene {
  display: block;
  padding: 22px 24px 20px;
  background: var(--plate);
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(41, 51, 47, .07), 0 16px 28px -24px rgba(41, 51, 47, .45);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  line-height: 1.75;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}

/* 6. よくある質問 */
.faq {
  display: grid;
  border-top: 1px solid var(--line-strong);
}
.faq__item {
  display: grid;
  gap: 10px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.faq__q,
.faq__a {
  display: grid;
  grid-template-columns: 2.1em minmax(0, 1fr);
  align-items: baseline;
}
.faq__q {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: .03em;
}
.faq__a { line-height: 1.95; }
.faq__q::before,
.faq__a::before {
  font-family: var(--font-display);
  font-size: 1.2em;
  font-weight: 800;
  line-height: 1;
}
.faq__q::before { content: "Q"; color: var(--red); }
.faq__a::before { content: "A"; color: var(--green); }

/* 7. 最後のご案内 */
.closing {
  display: grid;
  justify-items: start;
  gap: clamp(20px, 2.6vw, 28px);
  margin-top: var(--gap-section);
  padding: clamp(40px, 7vw, 88px) clamp(24px, 6vw, 88px);
  border-radius: clamp(24px, 3vw, 36px);
  background: var(--green);
  color: var(--on-green);
}
.closing__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.625rem, 1.1rem + 2.6vw, 3.125rem);
  line-height: 1.45;
  letter-spacing: .02em;
  font-feature-settings: "palt" 1;
}
.closing__text {
  font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
  line-height: 2;
}
.closing .cta__note { color: rgba(250, 248, 243, .82); }

/* 8. フッター */
.footer {
  display: grid;
  gap: 10px;
  margin-top: clamp(40px, 6vw, 64px);
  /* 下端は常時表示ボタンに隠れないだけ空ける */
  padding-block: 28px calc(104px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  line-height: 1.7;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 32px;
}
.footer__row--legal { font-size: .75rem; }
.footer__links { display: flex; flex-wrap: wrap; }
.footer__links li + li::before {
  content: "／";
  padding-inline: .5em;
  color: var(--line-strong);
}
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .25em; }
.footer a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 2px; }

/* 常に表示する「LINEで試してみる」：スマホは画面下のバー */
.dock {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 248, 243, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--line), 0 -14px 28px -22px rgba(31, 38, 36, .45);
}
.dock__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: var(--max);
  margin-inline: auto;
}
.dock__brand { display: none; }
.dock__cta { flex: 1; min-height: 52px; }

/* ---------- responsive ---------- */

@media (max-width: 639px) {
  .cta { align-items: stretch; }
  .cta .btn { width: 100%; }
  .cta__note { text-align: center; }
  .closing { justify-items: stretch; }

  /* スマホでは、みどころカードと音声を時間軸の幅いっぱいに */
  .timeline__stop > .reply__card,
  .timeline__stop > .reply__audio { grid-column: 1 / -1; }
  .timeline__note { padding-left: 0; }
}

@media (min-width: 760px) {
  .masthead__cta { display: inline-flex; }
  .footer { padding-block-end: 44px; }

  /* PC：ページ上部のボタンが隠れたら、上部に細いバーで出す */
  .dock {
    top: 0;
    bottom: auto;
    padding: calc(10px + env(safe-area-inset-top, 0px)) var(--gutter) 10px;
    box-shadow: 0 1px 0 var(--line), 0 14px 28px -22px rgba(31, 38, 36, .35);
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1), visibility 0s linear .3s;
  }
  .dock.is-shown {
    transform: none;
    visibility: visible;
    transition: transform .3s cubic-bezier(.2, .7, .2, 1);
  }
  .dock__brand { display: block; width: 168px; border-radius: 6px; }
  .dock__brand:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
  .dock__cta {
    flex: none;
    min-height: 44px;
    padding: 0 22px;
    font-size: .9375rem;
    box-shadow: none;
  }
}
@media (min-width: 760px) and (prefers-reduced-motion: reduce) {
  .dock,
  .dock.is-shown { transition: none; }
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    column-gap: 40px;
  }
  /* 3列の見出しと説明文の高さをそろえる */
  .step {
    grid-row: span 3;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: subgrid;
    row-gap: 0;
    padding-bottom: 0;
  }
  .step__num { grid-row: auto; margin-bottom: 22px; }
  .step__title { grid-column: auto; padding-top: 0; margin-bottom: 8px; }
  .step__text { grid-column: auto; }
  .step::before {
    left: 72px;
    right: -24px;
    top: 28px;
    bottom: auto;
    border-left: 0;
    border-top: 1.5px dashed var(--line-strong);
  }
  .scenes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (min-width: 880px) {
  .exchange {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
    justify-items: stretch;
    column-gap: clamp(32px, 4.5vw, 64px);
  }
  /* みどころを読むあいだ、作品写真を横に置いたまま見比べられる */
  .exchange__send {
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 32px);
  }
  .exchange__reply { justify-self: center; }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 48px;
  }
  .section--split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: 64px;
    align-items: start;
  }
  .section--split .section__head {
    position: sticky;
    top: calc(env(safe-area-inset-top, 0px) + 40px);
  }
}

/* ---------- motion ---------- */

@media (prefers-reduced-motion: no-preference) {
  .talk > * { animation: talk-in .5s both cubic-bezier(.2, .7, .2, 1); }
  .talk > :nth-child(1) { animation-delay: .1s; }
  .talk > :nth-child(2) { animation-delay: .45s; }
  .talk > :nth-child(3) { animation-delay: .6s; }
  .talk > :nth-child(4) { animation-delay: .95s; }
  .talk > :nth-child(5) { animation-delay: 1.1s; }
}
@keyframes talk-in { from { opacity: 0; transform: translateY(12px); } }
