:root {
  --bg: #ffffff;
  --text: #1f1f1f;
  --muted: #5f6368;
  --border: #dadce0;
  --accent: #1e4fa3;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.8 system-ui, -apple-system, "Hiragino Sans", "Yu Gothic UI", sans-serif;
}

header,
main,
footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

header img {
  width: 40px;
  height: 40px;
}

header a {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

h1 {
  margin: 32px 0 16px;
  font-size: 26px;
}

h2 {
  margin: 32px 0 8px;
  font-size: 19px;
}

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

table {
  width: 100%;
  border-collapse: collapse;
}

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

th {
  width: 30%;
  background: #f6f8fb;
  font-weight: 600;
}

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

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

footer a {
  margin-right: 16px;
}

/* トップページの製品の一覧 */
.products {
  list-style: none;
  margin: 0;
  padding: 0;
}

.products li {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.products h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.products p {
  margin: 4px 0;
}

.cta {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 20px;
  border-radius: 6px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.cta:hover {
  background: #17408a;
}
