/* らくステップ 紹介ページ・プライバシーポリシー共通
   見た目は正式ロゴ・正式バナー・提案資料に合わせる（白地・太い黒文字・ロゴの緑を差し色）。
   日本語は単語の途中で折り返さない：keep-all ＋ 見出しは文節ごとに .p で囲む。 */
:root {
  --ink: #111111;
  --ink-2: #4a4a4a;
  --line: #e6e6e6;
  --green: #03c650;
  --green-ink: #02803a;
  --bg: #ffffff;
  --soft: #f6f8f7;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", sans-serif;
  line-height: 1.8; font-size: 16px;
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
}
.p { display: inline-block; }
a { color: var(--green-ink); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }

.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 18px; }
.brand img { width: 36px; height: 36px; }
.top nav a { font-size: 14px; color: var(--ink-2); text-decoration: none; }

.hero { padding: 28px 0 8px; }
.hero img { border-radius: 16px; border: 1px solid var(--line); }
h1 { font-size: 34px; line-height: 1.3; margin: 28px 0 8px; font-weight: 900; letter-spacing: .01em; }
.lead { font-size: 22px; font-weight: 800; line-height: 1.5; margin: 0 0 8px; }
.lead em { font-style: normal; color: var(--green-ink); }
.sub { color: var(--ink-2); margin: 0; }

section { padding: 36px 0 8px; }
h2 { font-size: 24px; line-height: 1.4; margin: 0 0 16px; font-weight: 900; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { background: var(--soft); border-radius: 14px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 800; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.7; }
ol.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; }
ol.steps li { counter-increment: s; position: relative; padding: 0 0 14px 44px; }
ol.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }

.cta { margin: 40px 0 8px; padding: 24px; border: 2px solid var(--ink); border-radius: 18px; display: flex; gap: 24px; align-items: center; }
.cta .qr { width: 140px; flex: none; padding: 10px; background: #fff; }
.cta h2 { margin-bottom: 8px; }
.cta p { margin: 0 0 14px; color: var(--ink-2); }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; padding: 12px 22px; border-radius: 999px; }

footer { margin-top: 48px; border-top: 1px solid var(--line); padding: 20px 0 40px; color: var(--ink-2); font-size: 14px; }
footer p { margin: 0 0 6px; }
.todo { background: #fff3b0; padding: 0 4px; border-radius: 4px; }

/* プライバシーポリシー */
.doc h1 { font-size: 28px; }
.doc h2 { font-size: 19px; margin: 32px 0 10px; }
.doc p, .doc li { font-size: 15px; }
.doc ul { padding-left: 1.2em; margin: 0 0 8px; }
.doc li { margin: 0 0 6px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 6px 0 8px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--soft); white-space: nowrap; }
.meta { color: var(--ink-2); font-size: 14px; }

@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  h1 { font-size: 28px; }
  .lead { font-size: 19px; }
  h2 { font-size: 21px; }
  .cards { grid-template-columns: 1fr; }
  .cta { flex-direction: column; align-items: flex-start; }
  .cta .qr { display: none; }
  /* 表は、見出しを上・内容を下に縦に並べる（左の列が狭いと見出しが単語の途中で切れるため） */
  .doc table, .doc tbody, .doc tr, .doc th, .doc td { display: block; width: 100%; }
  .doc tr { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 10px; overflow: hidden; }
  .doc th, .doc td { border: 0; }
  .doc th { white-space: normal; border-bottom: 1px solid var(--line); }
}
