* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: #061820; color: #fff; max-width: 430px; margin: 0 auto; padding: 100px 24px 48px;
}
/* 見出しは About・公告情報（css/article.css）と同じ明朝の500 */
h1 { font-family: 'Hiragino Mincho ProN', 'Yu Mincho', YuMincho, 'Noto Serif JP', serif; font-size: 24px; font-weight: 500; line-height: 1.4; margin-bottom: 24px; }
:lang(en) h1 { font-family: Georgia, 'Times New Roman', serif; }
:lang(zh) h1 { font-family: 'Songti TC', 'Noto Serif TC', PMingLiU, serif; }
h2 { font-size: 16px; font-weight: 500; color: #7ECDE0; margin: 28px 0 10px; }
p, li { font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 10px; }
ul { padding-left: 18px; margin-bottom: 10px; }
a { color: #7ECDE0; text-decoration: underline; }
.back { display: inline-flex; align-items: center; min-height: 44px; margin-top: 24px; font-size: 14px; color: #7ECDE0; text-decoration: none; }
.updated { font-size: 13px; color: rgba(255,255,255,0.55); margin-bottom: 30px; }
/* 公告情報・RATAについてと同じ上部のナビ。自動で英語・繁体字版に移った人も、ここで言語を選び直せる */
nav.top {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 100;
  padding: 16px 20px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,24,32,0.96);
  border-bottom: 0.5px solid rgba(126,205,224,0.12);
}
.nav-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.nav-logo img { width: 26px; height: 26px; }
/* ロゴのリンクも、navの高さを変えずに押せる範囲だけ上下に広げて高さ44px以上にする */
.nav-logo { position: relative; }
.nav-logo::after { content: ""; position: absolute; inset: -10px -4px; }
.nav-logo-text { font-size: 13px; font-weight: 600; letter-spacing: 2px; color: #fff; }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a {
  font-size: 12px; color: rgba(255,255,255,0.65); letter-spacing: 0.5px;
  padding: 4px 9px; border-radius: 20px; text-decoration: none;
  border: 0.5px solid rgba(126,205,224,0.2);
}
/* 押せる範囲を44px四方以上にする（丸の幅を44px以上にし、上下を::afterで広げる。横の広げ幅は間の4pxを分け合って重ねない） */
.lang-switch a { position: relative; min-width: 44px; text-align: center; }
.lang-switch a::after { content: ""; position: absolute; inset: -10px -2px; }
.lang-switch a.active {
  color: #7ECDE0; background: rgba(46,155,181,0.2);
  border-color: rgba(126,205,224,0.4);
}
/* PC（1024px以上）：ほかの案内のページと同じ幅1120pxにし、左に目次（スクロールしても残る）・右に本文の2段にする */
.toc { display: none; }
@media (min-width: 1024px) {
  body { max-width: 1120px; padding: 120px 48px 56px; }
  nav.top { max-width: 1120px; padding: 20px 48px; }
  main { display: grid; grid-template-columns: 260px minmax(0, 720px); column-gap: 72px; }
  main > * { grid-column: 2; }
  .toc { display: block; grid-column: 1; grid-row: 1 / span 200; align-self: start; position: sticky; top: 104px; }
  .toc p { font-size: 12px; letter-spacing: 0.06em; color: #7ECDE0; margin-bottom: 12px; }
  .toc ol { list-style: none; border-left: 1px solid rgba(126,205,224,0.18); }
  .toc a { display: block; padding: 6px 0 6px 16px; font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.65); text-decoration: none; }
  .toc a:hover { color: #fff; }
  h1 { font-size: 32px; }
  h2 { font-size: 18px; margin-top: 40px; scroll-margin-top: 104px; }
  p, li { font-size: 15px; }
}
/* 改定版（#220 v1）：小見出し・番号の一覧・表 */
h3 { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.85); margin: 18px 0 6px; }
main > ol { padding-left: 22px; margin-bottom: 10px; }
strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.table-wrap { margin: 4px 0 14px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.7; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid rgba(126,205,224,0.18); color: rgba(255,255,255,0.75); }
th { font-size: 13px; font-weight: 600; color: #7ECDE0; }
/* スマホ（1024px未満）：本文の幅が狭く3〜4列は読めないので、1行を1つの塊にし、列の名前を各値の上に出す */
@media (max-width: 1023px) {
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  table, tbody, tr, td { display: block; }
  tr { padding: 12px 0; border-bottom: 1px solid rgba(126,205,224,0.18); }
  td { border: 0; padding: 0 0 6px; }
  td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: #7ECDE0; }
}
@media (min-width: 1024px) { h3 { font-size: 15px; } table { font-size: 15px; } }

/* 印刷：暗い背景は印刷されず、白い文字が紙の上でほとんど読めなくなるため、白地に黒い文字にする。上部のナビと目次は紙では使わないので出さない */
@media print {
  html, body { background: #fff !important; }
  body { max-width: none; padding-top: 0; }
  * { color: #111 !important; border-color: #999 !important; box-shadow: none !important; }
  a { text-decoration: underline; }
  body > nav, .toc { display: none !important; }
  main { padding-top: 0; }
}
