/* 使い方・よくある質問・プライバシーポリシー・運営者情報 の共通スタイル */
:root {
  --oshi: #FF5FA2;
  --oshi-ink: #C2185B;
  --bg: #FBF8FD;
  --surface: #FFFFFF;
  --ink: #2A1F3D;
  --muted: #76698A;
  --line: #E7E0EF;
  --field: #F4F0F8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --oshi-ink: #FF8DBD;
    --bg: #1A1523;
    --surface: #251E31;
    --ink: #F3EEF8;
    --muted: #A99DBA;
    --line: #3A3148;
    --field: #2F2740;
  }
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.85;
  -webkit-text-size-adjust: 100%;
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 16px calc(env(safe-area-inset-bottom, 0px) + 40px);
}
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 20px;
}
.brand {
  font-family: "Dela Gothic One", "Hiragino Sans", sans-serif;
  font-size: 1.15rem; color: var(--oshi); text-decoration: none; line-height: 1.2;
}
.back {
  flex: none; background: var(--oshi); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 0.88rem; padding: 9px 14px; border-radius: 999px;
}
h1 { font-size: 1.5rem; font-weight: 900; line-height: 1.4; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 4px 20px; margin-bottom: 16px;
}
h2 {
  font-size: 1.1rem; font-weight: 900; line-height: 1.5; margin: 22px 0 8px;
  padding-left: 12px; border-left: 5px solid var(--oshi);
}
h3 { font-size: 1rem; font-weight: 900; margin: 18px 0 4px; }
p, li { font-size: 0.97rem; }
p { margin: 0 0 14px; }
ul, ol { padding-left: 1.4em; margin: 0 0 14px; }
li { margin-bottom: 6px; }
a { color: var(--oshi-ink); }
.note {
  background: var(--field); border-radius: 14px; padding: 12px 14px; font-size: 0.9rem; margin: 0 0 16px;
}
.step { display: grid; grid-template-columns: 2.2em 1fr; gap: 4px 10px; align-items: start; margin: 18px 0; }
.step .num {
  width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--oshi); color: #fff;
  display: grid; place-items: center; font-weight: 900; line-height: 1;
}
.step h3 { margin: 4px 0 2px; }
.step p { grid-column: 2; margin: 0; }
details { border-bottom: 1px dashed var(--line); padding: 12px 0; }
details:last-child { border-bottom: 0; }
summary { font-weight: 900; cursor: pointer; list-style: none; padding-right: 1.6em; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; position: absolute; right: 0; top: 0; color: var(--oshi); }
details[open] summary::after { content: "−"; }
details p { margin: 8px 0 0; }
table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px dashed var(--line); }
th { width: 7em; color: var(--muted); font-weight: 700; padding-right: 12px; }
.date { color: var(--muted); font-size: 0.88rem; text-align: right; }
footer.site {
  margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted); text-align: center;
}
footer.site nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-bottom: 8px; }
footer.site a { color: var(--muted); }
