/* 代チェキ 紹介ページ(広告の飛び先)。色はアプリ本体(src/app/globals.css)に合わせている */
:root {
  --brand: #ea3538;
  --brand-dark: #c8232a;
  --brand-soft: #fff0f0;
  --ink: #222;
  --muted: #757575;
  --line: #e5e5e5;
  --surface: #fff;
  --page: #f5f5f5;
  --ok: #1b8a4b;
  --line-green: #06c755; /* LINE のボタンの色 */
  --line-green-dark: #05a847;
  color-scheme: light;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic UI", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-tap-highlight-color: transparent;
}

.wrap { max-width: 560px; margin: 0 auto; }

/* 上のバー */
.bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--surface); border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; font-size: 18px; letter-spacing: .02em; color: var(--brand); text-decoration: none; }
.bar small { color: var(--muted); font-size: 12px; }

/* 最初の画面 */
.hero { background: var(--surface); padding: 28px 16px 32px; }
.eyebrow {
  display: inline-block; margin: 0 0 12px; padding: 2px 10px; border-radius: 999px;
  background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 700;
}
.hero h1 { margin: 0; font-size: 28px; line-height: 1.4; font-weight: 800; letter-spacing: .01em; }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { margin: 14px 0 0; font-size: 15px; color: #444; }

/* アプリの画面の見本(取引の進み具合) */
.mock {
  margin: 24px auto 0; max-width: 320px; background: var(--page);
  border: 1px solid var(--line); border-radius: 20px; padding: 14px; box-shadow: 0 6px 24px rgba(0, 0, 0, .06);
}
.mock-head { display: flex; justify-content: space-between; align-items: baseline; padding: 2px 4px 10px; }
.mock-head b { font-size: 14px; }
.mock-head span { font-size: 12px; color: var(--muted); }
.mock-card { background: var(--surface); border-radius: 12px; padding: 12px 14px; }
.mock-price { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.mock-price span { font-size: 12px; color: var(--muted); }
.mock-price b { font-size: 20px; }
.mock-price b small { font-size: 12px; font-weight: 600; margin-left: 2px; }
.steps-mini { list-style: none; margin: 10px 0 0; padding: 0; }
.steps-mini li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13px; }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.done .dot { background: var(--ok); border-color: var(--ok); }
.done .dot::after { content: ""; width: 7px; height: 4px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.now .dot { border-color: var(--brand); }
.now .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.now { font-weight: 700; }
.steps-mini .tag { margin-left: auto; font-size: 11px; color: var(--muted); }
.now .tag { color: var(--brand); }

/* LINE ボタン */
.cta { margin-top: 24px; text-align: center; }
.btn-line {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 8px;
  background: var(--line-green); color: #fff; text-decoration: none; font-weight: 800; font-size: 17px;
}
.btn-line:hover, .btn-line:focus-visible { background: var(--line-green-dark); }
.btn-line:focus-visible { outline: 3px solid #9be3b8; outline-offset: 2px; }
.btn-line svg { width: 22px; height: 22px; }
.cta p { margin: 8px 0 0; font-size: 12px; color: var(--muted); }

/* セクション(メルカリ風: 灰色の小見出し+白い行) */
section { margin-top: 12px; }
.sec-title { margin: 0; padding: 20px 16px 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.card { background: var(--surface); padding: 4px 16px; }
.row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.row p { margin: 2px 0 0; font-size: 13px; color: #555; }
.ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic.worry { background: #f0f0f0; color: #777; }
.num { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; display: grid; place-items: center; margin-top: 1px; }

/* よくある質問 */
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; list-style: none; padding: 14px 24px 14px 0; font-weight: 700; font-size: 15px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border: solid #999; border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details p { margin: 0 0 14px; font-size: 14px; color: #555; }

.closing { background: var(--surface); padding: 28px 16px 32px; text-align: center; }
.closing h2 { margin: 0; font-size: 20px; line-height: 1.5; }
.note { margin: 20px 0 0; font-size: 13px; color: var(--muted); text-align: left; }

footer { padding: 20px 16px 40px; text-align: center; font-size: 12px; color: var(--muted); }

@media (min-width: 600px) {
  .hero h1 { font-size: 34px; }
  .hero, .closing { padding-left: 32px; padding-right: 32px; }
}
