/* 紹介ページ（SPEC 21章 73番）。外部の読み込みは使わない（フォントは端末のもの）。幅360pxで崩れないこと。 */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #1f2328;
  background: #f6f8fa;
  overflow-wrap: anywhere;
}
a { color: #0b57d0; }
header, main, .foot { max-width: 820px; margin: 0 auto; padding: 0 16px; }

.hero { text-align: center; padding-top: 40px; padding-bottom: 8px; }
.hero h1 { margin: 0; font-size: 2em; line-height: 1.3; }
.tagline { margin: 8px 0 0; font-size: 1.05em; color: #424a53; }
.free { margin: 12px auto 0; max-width: 34em; font-size: 0.92em; color: #424a53; }
.cta { margin: 20px 0 0; text-align: center; }
.button {
  display: inline-block; padding: 12px 32px; border-radius: 8px;
  background: #1f6feb; color: #fff; font-weight: 700; font-size: 1.05em; text-decoration: none;
}
.button:hover, .button:focus { background: #1a5fd0; }

.sub { padding-top: 28px; }
.sub h1 { margin: 4px 0 8px; font-size: 1.5em; line-height: 1.4; }
.back { margin: 0; font-size: 0.9em; }
.version { margin: 4px 0 0; font-size: 0.9em; color: #424a53; }

main { padding-bottom: 32px; }
section { margin: 20px 0 0; padding: 16px 18px; background: #fff; border: 1px solid #d0d7de; border-radius: 10px; }
section h2 { margin: 0 0 8px; font-size: 1.15em; }
section ul, section ol { margin: 0; padding-left: 1.3em; }
section li { margin: 6px 0; }
.small { margin: 10px 0 0; font-size: 0.9em; color: #424a53; }

.notice { background: #fff8e5; border-color: #d4a72c; }
.notice ul { list-style: none; padding-left: 0; font-weight: 700; }

.steps { list-style: none; padding-left: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 2.6em; margin: 12px 0; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0.1em;
  width: 1.9em; height: 1.9em; border-radius: 50%;
  background: #1f6feb; color: #fff; font-weight: 700; text-align: center; line-height: 1.9em;
}
.steps b { display: block; }

.legal { width: 100%; margin-top: 16px; border-collapse: collapse; background: #fff; border: 1px solid #d0d7de; }
.legal th, .legal td { padding: 10px 12px; border-bottom: 1px solid #d0d7de; text-align: left; vertical-align: top; }
.legal thead th { background: #eef1f4; }
.legal tbody th { width: 11em; font-weight: 700; background: #f6f8fa; }

.foot { padding-top: 20px; padding-bottom: 36px; border-top: 1px solid #d0d7de; font-size: 0.9em; text-align: center; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.foot p { margin: 10px 0 0; }

/* 狭い幅: 表を「項目 → 内容」の縦並びにする */
@media (max-width: 560px) {
  .hero h1 { font-size: 1.7em; }
  .legal thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .legal, .legal tbody, .legal tr, .legal th, .legal td { display: block; width: 100%; }
  .legal tbody th { width: 100%; border-bottom: none; padding-bottom: 2px; }
  .legal td { padding-top: 4px; }
}
