/* Pro と規約などのページの見た目。色と書体はゲーム（芝のコースと出馬表の紙）にそろえる */
:root {
  --turf: #0d3124; --board: #123d2d; --ink: #f2f0e8; --muted: #9fbcab; --led: #ffb21e; --line: #3f6f5a;
  --sheet: #f4f2ea; --sheet-ink: #14261e; --sheet-muted: #5a6b62; --sheet-line: #d7d3c6; --ok: #2f7d4f; --ng: #b8322a;
  --f-display: "Dela Gothic One", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--turf); color: var(--ink); font: 16px/1.75 var(--f-body); }
a { color: inherit; }
.wrap { max-width: 720px; margin: 0 auto; padding: 20px 16px 40px; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
header.top a.logo { font-family: var(--f-display); font-size: 22px; text-decoration: none; letter-spacing: .02em; }
header.top a.back { font-size: 14px; color: var(--muted); }
h1 { font-family: var(--f-display); font-weight: 400; font-size: 26px; line-height: 1.4; margin: 6px 0 14px; }
.kicker { font-size: 12px; letter-spacing: .14em; color: var(--led); }
.sheet { background: var(--sheet); color: var(--sheet-ink); border-radius: 14px; padding: 20px 18px; margin: 14px 0; }
.sheet h2 { font-size: 18px; margin: 0 0 8px; }
.sheet h3 { font-size: 16px; margin: 18px 0 4px; }
.sheet p, .sheet li { margin: 6px 0; }
.sheet ol, .sheet ul { padding-left: 1.4em; }
.muted { color: var(--sheet-muted); font-size: 14px; }
table.facts { width: 100%; border-collapse: collapse; font-size: 15px; }
table.facts th, table.facts td { text-align: left; vertical-align: top; padding: 10px 6px; border-top: 1px solid var(--sheet-line); }
table.facts th { width: 34%; font-weight: 700; color: var(--sheet-muted); }
.blank { display: inline-block; min-width: 8em; border-bottom: 1px dashed var(--sheet-muted); color: var(--sheet-muted); }
.draft { background: #fff3cd; color: #5c4400; border-radius: 10px; padding: 10px 12px; font-size: 14px; margin: 0 0 12px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 12px 0; }
.plan { border: 2px solid var(--sheet-line); border-radius: 12px; padding: 14px; display: grid; gap: 6px; }
.plan .price { font-family: var(--f-display); font-size: 26px; }
.plan .price small { font-family: var(--f-body); font-size: 14px; }
button, .btn { font: 700 16px/1.2 var(--f-body); border: none; border-radius: 10px; padding: 13px 16px; cursor: pointer; background: var(--sheet-ink); color: var(--sheet); width: 100%; min-height: 48px; }
button.alt { background: transparent; color: var(--sheet-ink); border: 2px solid var(--sheet-ink); }
button:disabled { opacity: .45; cursor: not-allowed; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--led); outline-offset: 2px; }
input[type=email] { font: 16px var(--f-body); width: 100%; padding: 12px; border-radius: 10px; border: 2px solid var(--sheet-line); background: #fff; color: var(--sheet-ink); min-height: 48px; }
.row { display: grid; gap: 10px; }
.msg { border-radius: 10px; padding: 10px 12px; font-size: 15px; }
.msg.ok { background: #e3f1e7; color: var(--ok); }
.msg.ng { background: #f8e3e1; color: var(--ng); }
.status { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: baseline; }
.badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--sheet-ink); color: var(--sheet); }
.badge.pro { background: var(--led); color: var(--sheet-ink); }
.confirm { border: 2px solid var(--led); border-radius: 12px; padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.confirm dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 6px 0 0; }
.confirm dt { font-weight: 700; }
.confirm dd { margin: 0; }
label.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin: 10px 0; }
label.agree input { width: 22px; height: 22px; margin-top: 3px; flex: none; }
footer.links { margin-top: 26px; font-size: 13px; color: var(--muted); display: grid; gap: 8px; }
footer.links nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
