:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --text: #22252a;
  --muted: #646a73;
  --border: #e6e2da;
  --accent: #1f7a5c;
  --accent-soft: #e5f2ec;
  --note: #fff6dc;
  --note-border: #e8c766;
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --surface: #1d2024;
    --text: #e8e6e1;
    --muted: #a0a6ae;
    --border: #2f343a;
    --accent: #5cc49b;
    --accent-soft: #1d3029;
    --note: #2e2918;
    --note-border: #7d6a2a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.85;
  font-size: 16px;
}

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

.pr-bar {
  background: var(--accent-soft);
  color: var(--muted);
  font-size: 13px;
  text-align: center;
  padding: 6px 16px;
}

header.site {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

header.site .inner, main, footer .inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 16px;
}

header.site .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  color: var(--text);
}
.logo span { color: var(--accent); }

nav a {
  margin-left: 16px;
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
nav a:first-child { margin-left: 0; }

main { padding-top: 32px; padding-bottom: 48px; }

.hero h1 { font-size: 26px; line-height: 1.5; margin: 0 0 8px; }
.hero p { color: var(--muted); margin: 0 0 32px; }

.cards { display: grid; gap: 16px; }

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color .15s;
}
.card:hover { border-color: var(--accent); }
.card .tag { font-size: 12px; color: var(--accent); font-weight: 700; }
.card h2 { font-size: 18px; margin: 4px 0 6px; line-height: 1.5; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }

article h1 { font-size: 24px; line-height: 1.5; margin-bottom: 4px; }
article .meta { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
article h2 {
  font-size: 20px;
  margin-top: 40px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--accent-soft);
}
article h3 { font-size: 17px; margin-top: 28px; }

.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 14px;
}
.toc ol { margin: 6px 0 0; padding-left: 20px; }

/* 運営者が自分の体験を書き足す場所 */
.todo {
  background: var(--note);
  border: 1px dashed var(--note-border);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  margin: 20px 0;
}
.todo::before { content: "✏️ あなたが書く："; font-weight: 700; }

.point {
  background: var(--accent-soft);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 20px 0;
}

.product {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin: 24px 0;
}
.product h3 { margin-top: 0; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--accent-soft); }
.table-wrap { overflow-x: auto; }

footer {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  font-size: 13px;
  color: var(--muted);
}
footer a { color: var(--muted); margin-right: 16px; }

figure { margin: 24px 0; }
figure img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }
.card-img { display: grid; grid-template-columns: 1fr; }
.video {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin: 28px 0;
}
.video .frame { aspect-ratio: 9 / 16; max-width: 300px; margin: 8px auto 0; border-radius: 12px; overflow: hidden; background: #000; }
.video .frame img, .video .frame iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.video p { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.checklist { list-style: none; padding-left: 0; }
.checklist li { padding-left: 1.6em; position: relative; margin: 6px 0; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
