/* 紹介ページ。色はアプリと同じ（docs/accessibility.md の表）。赤い字だけ、灰色の帯や注意の地の上でも 7:1 を超えるよう少し濃くした */
:root {
  color-scheme: light dark;
  --fg: #1c1c1e; --bg: #ffffff; --band: #f2f2f7; --card: #ffffff;
  --sub: #3a3a3c; --brand: #941f17; --brand-fill: #a8231a; --line: #c7c7cc;
  --caution-bg: #fdecea;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fg: #f2f2f7; --bg: #000000; --band: #1c1c1e; --card: #2c2c2e;
    --sub: #d1d1d6; --brand: #ff8a7a; --brand-fill: #a8231a; --line: #48484a;
    --caution-bg: #3a1512;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 1.25rem; line-height: 1.8;
}
p, li, h1, h2, h3, figcaption { overflow-wrap: anywhere; }
/* 日本語は scripts/lp_wbr.py が入れた <wbr>（文節の区切り）でだけ折り返す。Safari は auto-phrase に対応していない */
:lang(ja) :is(p, li, h1, h2, h3, figcaption, div) { word-break: keep-all; }
.nw { white-space: nowrap; }
a { color: var(--brand); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
section.band { background: var(--band); }
h2 { font-size: 1.75rem; line-height: 1.4; margin: 0 0 16px; }
h3 { font-size: 1.375rem; line-height: 1.5; margin: 0 0 4px; }
p { margin: 0 0 16px; }
.sub { color: var(--sub); }

/* いちばん上 */
.hero { padding: 32px 0 56px; }
.brand { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.brand img { width: 64px; height: 64px; border-radius: 15px; border: 1px solid var(--line); }
.brand .name { font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.brand .tag { color: var(--sub); font-size: 1.0625rem; line-height: 1.4; }
.hero h1 { font-size: 2.25rem; line-height: 1.35; margin: 0 0 20px; }
.hero .lead { font-size: 1.375rem; }
/* ストアへのボタン（アプリの主ボタンと同じ：濃い赤に白い字、高さ 60 以上、横幅いっぱい） */
.stores { display: grid; gap: 14px; margin: 24px 0 12px; }
a.store {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 72px; padding: 10px 18px; border-radius: 16px; text-align: center;
  background: var(--brand-fill); color: #fff; text-decoration: none; line-height: 1.4;
  border: 2px solid var(--brand-fill);
}
a.store .who { font-size: 1.0625rem; }
a.store .where { font-size: 1.375rem; font-weight: 700; }
a.store:focus-visible { outline: 4px solid var(--fg); outline-offset: 3px; }
.req { font-size: 1.0625rem; margin: 0; }

/* スクショ */
.shot { margin: 0 auto; max-width: 320px; }
.shot img {
  border-radius: 28px; border: 1px solid var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
}
.shot figcaption { color: var(--sub); font-size: 1.0625rem; line-height: 1.6; margin-top: 12px; text-align: center; }

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) {
  .split { grid-template-columns: 1fr 320px; gap: 56px; }
  .split.flip { grid-template-columns: 320px 1fr; }
  .split.flip > .shot { order: -1; }
  .hero h1 { font-size: 2.75rem; }
}

/* 使いかたの3つ */
ol.steps { list-style: none; padding: 0; margin: 0; }
ol.steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; margin-bottom: 24px; }
ol.steps .num {
  width: 52px; height: 52px; border-radius: 50%; background: var(--brand-fill); color: #fff;
  font-weight: 700; font-size: 1.5rem; display: flex; align-items: center; justify-content: center;
}
ol.steps p { margin: 0; }

ul.points { padding-left: 1.2em; margin: 0 0 16px; }
ul.points li { margin-bottom: 10px; }

/* 注意の帯（アプリと同じく、押せるものと見まちがえないよう塗りではなく太い枠） */
.caution {
  border: 3px solid var(--brand); background: var(--caution-bg); border-radius: 16px;
  padding: 16px 18px; margin: 8px 0 16px;
}
.caution strong { color: var(--brand); }

/* 料金 */
.plans { display: grid; gap: 16px; margin: 8px 0 24px; }
@media (min-width: 640px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--card); border: 2px solid var(--line); border-radius: 16px; padding: 18px 20px; }
.plan .label { font-weight: 700; }
.plan .price { font-size: 2rem; font-weight: 700; line-height: 1.3; }
.plan .price small { font-size: 1.125rem; font-weight: 400; }
.plan .note { color: var(--sub); margin: 4px 0 0; }

footer { border-top: 1px solid var(--line); padding: 24px 0 48px; }
footer nav a { display: inline-block; min-height: 48px; line-height: 48px; margin-right: 20px; }
footer .copy { color: var(--sub); font-size: 1.0625rem; margin: 8px 0 0; }
