/* ここだけ — サポート / プライバシーポリシー / 利用規約 共通スタイル */

:root {
  --ink: #1C2633;
  --muted: #5B6473;
  --surface: #FFFFFF;
  --paper: #EFE9DC;
  --amber: #F2B85B;
  --hairline: rgba(28, 38, 51, 0.12);
  --border: rgba(28, 38, 51, 0.18);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo,
    system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  word-break: normal;
  overflow-wrap: anywhere;
}

.band {
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ヘッダー */

.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-block: 22px 20px;
}

.logo {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--amber);
  display: block;
}

.appname {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
}

.tagline {
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

/* ナビゲーション */

.nav {
  padding-block: 0 16px;
  font-size: 14px;
}

.nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
}

.nav a:hover,
.nav a:focus {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--ink);
}

/* 本文 */

main {
  padding-block: 28px 8px;
}

h1 {
  margin: 0 0 8px;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.45;
}

.lead {
  margin: 0 0 30px;
  color: var(--muted);
  font-size: 15px;
}

h2 {
  margin: 38px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}

h3 {
  margin: 26px 0 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

p {
  margin: 0 0 16px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 1.5em;
}

li {
  margin-bottom: 8px;
}

li > ul,
li > ol {
  margin-top: 8px;
}

a {
  color: var(--ink);
}

a:hover,
a:focus {
  text-decoration: none;
}

strong {
  font-weight: 700;
}

.note {
  color: var(--muted);
  font-size: 14px;
}

/* 手順・FAQ・定義リスト */

.steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}

.steps li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 16px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 21px;
  text-align: center;
}

.faq {
  margin: 0;
}

.faq dt {
  margin-top: 22px;
  font-weight: 700;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}

.faq dt:first-of-type {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.faq dd {
  margin: 6px 0 0;
}

/* 条文 */

.article {
  margin-bottom: 30px;
}

.article h2 {
  margin-top: 30px;
  font-size: 17px;
}

.article ol {
  padding-left: 1.6em;
}

/* 表 */

.table-scroll {
  overflow-x: auto;
  margin: 0 0 20px;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 15px;
}

th,
td {
  border-bottom: 1px solid var(--hairline);
  padding: 10px 12px 10px 0;
  text-align: left;
  vertical-align: top;
}

th {
  font-weight: 700;
  white-space: nowrap;
}

/* フッター */

footer {
  margin-top: 44px;
  border-top: 1px solid var(--hairline);
  padding-block: 22px 40px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.9;
}

footer p {
  margin: 0 0 4px;
}

footer a {
  color: var(--muted);
}

@media (max-width: 480px) {
  body {
    font-size: 15.5px;
  }

  h1 {
    font-size: 23px;
  }

  h2 {
    font-size: 17.5px;
  }
}
