:root {
  --bg: #fdf8f0;
  --ink: #4a3b2a;
  --ink-soft: #7a6a55;
  --accent: #e8914a;
  --accent-deep: #c9722f;
  --card: #ffffff;
  --line: #ece2d2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.9;
  font-size: 16px;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.site-header .inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.site-header .brand {
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  text-decoration: none;
}
.site-header nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-header nav a {
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.site-header nav a:hover { color: var(--accent-deep); }

main { max-width: 880px; margin: 0 auto; padding: 36px 20px 72px; }

.doc h1 { font-size: 26px; margin-bottom: 6px; }
.doc .updated { color: var(--ink-soft); font-size: 13px; margin-bottom: 28px; }
.doc h2 {
  font-size: 19px;
  margin: 36px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.doc p, .doc li { color: var(--ink); font-size: 15px; }
.doc ul, .doc ol { padding-left: 1.4em; margin: 8px 0; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; }
.doc th, .doc td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 14px;
  text-align: left;
  vertical-align: top;
  background: var(--card);
}
.doc th { width: 30%; background: #faf3e7; font-weight: 700; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 20px 40px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
}
.site-footer .links { margin-bottom: 10px; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-deep); }

/* ---- LP ---- */
.hero { text-align: center; padding: 56px 20px 40px; }
.hero h1 { font-size: 30px; line-height: 1.5; margin-bottom: 14px; }
.hero .lead { color: var(--ink-soft); font-size: 16px; max-width: 560px; margin: 0 auto 28px; }
.hero .chars { display: flex; justify-content: center; gap: 4px; margin-bottom: 28px; }
.hero .chars img { width: 110px; height: 110px; object-fit: contain; }
.store-note {
  display: inline-block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
.store-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.section { padding: 40px 20px; max-width: 880px; margin: 0 auto; }
.section h2 { text-align: center; font-size: 22px; margin-bottom: 28px; }

.covers { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.covers figure { width: 150px; text-align: center; }
.covers img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(74, 59, 42, 0.10);
}
.covers figcaption { font-size: 12px; color: var(--ink-soft); margin-top: 6px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
}
.feature h3 { font-size: 16px; margin-bottom: 8px; color: var(--accent-deep); }
.feature p { font-size: 14px; color: var(--ink-soft); }

.char-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.char-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
}
.char-card img { width: 96px; height: 96px; object-fit: contain; margin-bottom: 10px; }
.char-card h3 { font-size: 16px; margin-bottom: 6px; }
.char-card p { font-size: 13px; color: var(--ink-soft); }

@media (max-width: 520px) {
  .hero h1 { font-size: 24px; }
  .hero .chars img { width: 84px; height: 84px; }
}
