:root {
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #1c1c1e;
  --muted: #6e6e73;
  --accent: #e8283c;
  --line: #d1d1d6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --card: #1c1c1e;
    --text: #f5f5f7;
    --muted: #98989d;
    --accent: #ff6b6b;
    --line: #38383a;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    16px/1.8 -apple-system,
    BlinkMacSystemFont,
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;
  -webkit-text-size-adjust: 100%;
}

main,
footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 16px;
}

main {
  padding-top: 56px;
  padding-bottom: 24px;
}

h1 {
  font-size: 34px;
  line-height: 1.25;
  margin: 0 0 8px;
}

h2 {
  font-size: 19px;
  line-height: 1.4;
  margin: 0 0 8px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 32px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

.card {
  background: var(--card);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 16px 0;
}

.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}

.mark {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  margin-bottom: 20px;
  background: linear-gradient(#ff7a45, #e8283c);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 38px;
  font-weight: 700;
}

ul {
  padding-left: 1.2em;
}

a {
  color: var(--accent);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 8px 8px 0;
  border-top: 1px solid var(--line);
}

th {
  white-space: nowrap;
  font-weight: 600;
}

footer {
  padding-top: 24px;
  padding-bottom: 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

footer a {
  color: var(--muted);
}
