/* Eternity の説明ページ（規約・プライバシー・お問い合わせ・料金など）で共通の見た目 */
:root {
  --bg: #f5f2ee; --paper: #fffdfb; --text: #211c17; --muted: #6b6259; --line: rgba(40, 30, 20, .14);
  --accent: #b9501a; --accent-soft: rgba(185, 80, 26, .1); --ok: #2f7d4f; --danger: #b8332a;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #100f0e; --paper: #171513; --text: #ece6de; --muted: #9b938a; --line: rgba(255, 246, 235, .1);
          --accent: #f0a068; --accent-soft: rgba(224, 122, 60, .15); --ok: #7cc795; --danger: #e8776d; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.85; font-size: 15px;
       font-family: "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", system-ui, -apple-system, sans-serif;
       -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-underline-offset: 3px; }
.top { border-bottom: 1px solid var(--line); background: var(--paper); }
.top .in { max-width: 760px; margin: 0 auto; padding: 0 20px; height: 54px; display: flex; align-items: center; gap: 18px; }
.mark { font-weight: 800; letter-spacing: .18em; font-size: 13px; color: var(--text); text-decoration: none; }
.top nav { margin-left: auto; display: flex; gap: 16px; font-size: 13px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }
main { max-width: 760px; margin: 0 auto; padding: 36px 20px 80px; }
h1 { font-size: 26px; line-height: 1.4; margin: 0 0 6px; letter-spacing: .01em; }
.lead { color: var(--muted); margin: 0 0 28px; }
h2 { font-size: 17px; margin: 34px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
h3 { font-size: 15px; margin: 20px 0 4px; }
ul, ol { padding-left: 1.3em; }
li { margin: 3px 0; }
.note { color: var(--muted); font-size: 13px; }
.box { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 18px 20px; margin: 18px 0; }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; position: relative; padding: 2px 0 10px 40px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 26px; height: 26px;
                    border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800;
                    font-size: 13px; display: grid; place-items: center; line-height: 1; }
table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-top: 1px solid var(--line); }
th { width: 34%; color: var(--muted); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px;
       border-radius: 6px; border: 1px solid transparent; background: var(--accent); color: #fff;
       font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn.sub { background: transparent; color: var(--text); border-color: var(--line); }
.btn:disabled { opacity: .5; cursor: default; }
label { display: block; font-size: 13px; font-weight: 700; margin: 16px 0 6px; }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--paper);
                          border: 1px solid var(--line); border-radius: 6px; padding: 11px 13px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent; }
textarea { min-height: 150px; resize: vertical; }
.msg { margin-top: 14px; font-size: 14px; }
.msg.ok { color: var(--ok); } .msg.err { color: var(--danger); }
footer { max-width: 760px; margin: 0 auto; padding: 24px 20px 40px; color: var(--muted); font-size: 12.5px;
         border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: var(--muted); }
@media (max-width: 560px) {
  .top nav { gap: 12px; font-size: 12px; }
  h1 { font-size: 22px; }
  th { width: 38%; }
}
/* 前の画面に戻るボタン */
.top .back { display: inline-flex; align-items: center; padding: 6px 11px; border: 1px solid var(--line); border-radius: 8px;
             color: var(--text); text-decoration: none; font-size: 13px; white-space: nowrap; }
.top .back:hover { background: rgba(127, 127, 127, .08); }
@media (max-width: 560px) { .top .mark { display: none; } }
