/* keepangle-legal: LP（/ と /en）専用。法務ページの style.css とは別。
   色はロゴ（keepangle-ios/docs/design/KEEPANGLE-logo.png）の紺 #0D1B47 と水色 #00CFFF、背景は紹介画像と同じ淡い水色の系統（tool/screenshots/compose.py の TOP・BOTTOM）。
   外部リソース・Web フォントは読み込まない（書体は端末の標準）。スマホ幅 390px が基準、左右の余白 16px。横にはみ出すのは紹介画像の列だけ。 */
:root {
  color-scheme: light;
  --navy: #0d1b47;
  --aqua: #00cfff;
  --sub: #344868;
  --top: #f4f9fc;
  --bottom: #c4deee;
  --paper: #f4f9fc;
  --line: #dbe7ef;
  --white: #ffffff;
  --sans: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
html[lang="en"] { --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--white); color: var(--navy); font-family: var(--sans); font-size: 16px; line-height: 1.85; }
body { overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.4; }
h1, h2 { word-break: keep-all; overflow-wrap: anywhere; } /* 日本語の見出しを「、」の後ろで折り返す */
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0; }
section h2 { font-size: 24px; margin: 0 0 20px; text-align: center; letter-spacing: .02em; }
section h2::after { content: ""; display: block; width: 40px; height: 3px; border-radius: 2px; background: var(--aqua); margin: 12px auto 0; }

/* ---- 1. 最初の画面 ---- */
.hero { position: relative; background: radial-gradient(ellipse at 85% 0%, rgba(0, 207, 255, .22), transparent 60%), linear-gradient(var(--top), var(--bottom)); text-align: center; padding: 64px 0 48px; }
.langnav { position: absolute; top: 14px; right: 16px; font-size: 14px; }
.langnav a { text-decoration: none; border-bottom: 1px solid rgba(13, 27, 71, .35); }
.logo { width: 220px; margin: 0 auto 28px; }
.hero h1 { font-size: 28px; margin: 0 0 16px; letter-spacing: .02em; }
.hero .sub { color: var(--sub); margin: 0 auto 28px; max-width: 560px; text-align: left; }
/* App Store バッジ：Apple のガイドライン（画面上の高さ 40px 以上・周りの余白はバッジの高さの 1/4 以上） */
.badge { display: inline-block; margin: 0 0 12px; }
.badge img { height: 48px; width: auto; }
.note { font-size: 14px; color: var(--sub); margin: 0; }

/* ---- 2. 紹介画像（ここだけ横にスクロール） ---- */
.shots { padding: 40px 0 32px; background: var(--white); }
.shot-row { display: flex; gap: 14px; overflow-x: auto; padding: 0 16px 16px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; max-width: 1280px; margin: 0 auto; }
.shot { flex: 0 0 200px; scroll-snap-align: start; }
.shot img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 6px 20px rgba(13, 27, 71, .14); }

/* ---- 3. KEEPANGLE とは ---- */
.about { border-top: 1px solid var(--line); }
.about p { color: var(--sub); max-width: 680px; margin: 0 auto 14px; }

/* ---- 4. 使い方 ---- */
.steps { background: var(--paper); }
.steps ol { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px 20px 18px 72px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; text-align: center; line-height: 36px; }
.steps h3 { font-size: 18px; margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--sub); }

/* ---- 5. 機能 ---- */
.features ul { list-style: none; margin: 0 auto; padding: 0; max-width: 680px; }
.features li { padding: 14px 0 14px 22px; border-bottom: 1px solid var(--line); color: var(--sub); position: relative; }
.features li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }
.features li strong { color: var(--navy); }

/* ---- 6. プライバシー ---- */
.privacy { background: var(--navy); color: var(--white); }
.privacy h2::after { background: var(--aqua); }
.privacy p { max-width: 680px; margin: 0 auto 12px; color: #dbe5f5; }
.privacy .more { margin-top: 20px; text-align: center; }
.privacy .more a { color: var(--white); }

/* ---- 7. 料金 ---- */
.pricing { text-align: center; }
.price-card { max-width: 600px; margin: 0 auto 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 20px; text-align: left; }
.price-card p { margin: 0 0 10px; color: var(--sub); }
.price-card p:first-child { color: var(--navy); font-weight: 700; }
.price-card p:last-child { margin-bottom: 0; }

/* ---- 8. よくある質問 ---- */
.faq { background: var(--paper); }
.qa { max-width: 680px; margin: 0 auto; padding: 16px 0; border-bottom: 1px solid var(--line); }
.qa h3 { font-size: 17px; margin: 0 0 6px; }
.qa p { margin: 0; color: var(--sub); }

/* ---- 9. お問い合わせ ---- */
footer { background: var(--navy); color: #dbe5f5; padding: 48px 0 40px; text-align: center; font-size: 15px; }
footer h2 { color: var(--white); font-size: 20px; margin: 0 0 12px; }
footer p { margin: 0 0 10px; }
footer a { color: var(--white); }
footer .links { font-size: 14px; }

@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
  section { padding: 72px 0; }
  section h2 { font-size: 30px; }
  .hero { padding: 88px 0 72px; }
  .langnav { right: 24px; }
  .logo { width: 260px; }
  .hero h1 { font-size: 44px; }
  .hero .sub { text-align: center; font-size: 17px; }
  .shot-row { padding: 0 24px 16px; scroll-padding: 0 24px; }
  .shot { flex-basis: 220px; }
  .steps ol { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 72px 20px 20px; }
  .price-card { text-align: center; }
}
