/* QuickStudy のウェブサイト（website/README.md）。ビルドなしの素の CSS */
:root {
  --bg: #ffffff;
  --surface: #f5f7fb;
  --ink: #1a1a1a;
  --muted: #5f6368;
  --line: #e3e6ec;
  --accent: #2260e6;
  --accent-ink: #ffffff;
  --warn-bg: #fff8e1;
  --warn-line: #f2c94c;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #1b1e24;
    --ink: #eceef2;
    --muted: #a3a8b3;
    --line: #2c3038;
    --accent: #6c9bff;
    --accent-ink: #0b0d10;
    --warn-bg: #2b2614;
    --warn-line: #8a6d1a;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Segoe UI", sans-serif;
  line-height: 1.8;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 12px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
header.site .brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
header.site .brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav { margin-left: auto; display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
header.site nav a { color: var(--muted); text-decoration: none; }
header.site nav a:hover { color: var(--ink); }
main { padding: 32px 0 48px; }
h1 { font-size: 28px; line-height: 1.4; margin: 0 0 8px; }
h2 { font-size: 20px; line-height: 1.5; margin: 40px 0 8px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 16px; margin: 24px 0 4px; }
p, li { font-size: 15px; }
ul, ol { padding-left: 1.4em; }
.lead { color: var(--muted); font-size: 16px; }
.meta { color: var(--muted); font-size: 13px; }
.note {
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
}
.todo { background: var(--warn-bg); border-bottom: 2px solid var(--warn-line); padding: 0 2px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  margin: 16px 0;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  font-weight: 700;
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 16px;
}
.btn[hidden] { display: none; }
table { border-collapse: collapse; width: 100%; font-size: 14px; margin: 12px 0; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--surface); }
.table-scroll { overflow-x: auto; }
.en { color: var(--muted); }
footer.site { border-top: 1px solid var(--line); padding: 20px 0 32px; font-size: 13px; color: var(--muted); }
footer.site a { color: var(--muted); }
footer.site .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.center { text-align: center; }
.hero { text-align: center; padding: 24px 0 8px; }
.hero img { width: 96px; height: 96px; border-radius: 22px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.features .card { margin: 0; }
.features h3 { margin-top: 0; }
