:root {
  color-scheme: light dark;
  --bg: #fbf8f3;
  --surface: #ffffff;
  --text: #2b2620;
  --muted: #6b6258;
  --line: #e4ddd2;
  --accent: #8a5a2b;
  --accent-text: #ffffff;
  --warn-bg: #fff6e0;
  --warn-line: #e9cf8a;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1914;
    --surface: #26221b;
    --text: #f1ebe0;
    --muted: #b3a998;
    --line: #3b352b;
    --accent: #d9a566;
    --accent-text: #1c1914;
    --warn-bg: #3a3014;
    --warn-line: #7a6624;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 16px;
  /* 置換後の長い URL・メールアドレスがスマホ幅で横スクロールを起こさないように折り返す */
  overflow-wrap: anywhere;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
header.site a.brand { font-weight: 700; font-size: 1.125rem; color: var(--text); text-decoration: none; }
nav.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav.site a { color: var(--muted); text-decoration: none; font-size: 0.9rem; }
nav.site a:hover, nav.site a:focus { text-decoration: underline; }
main { padding: 32px 0 48px; }
h1 { font-size: 1.75rem; line-height: 1.4; margin: 0 0 16px; }
h2 { font-size: 1.25rem; line-height: 1.5; margin: 40px 0 12px; }
h3 { font-size: 1.05rem; margin: 24px 0 8px; }
p, ul, ol, dl { margin: 0 0 16px; }
ul, ol { padding-left: 1.5em; }
a { color: var(--accent); }
.lead { font-size: 1.1rem; color: var(--muted); }
.hero { padding: 24px 0 8px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.btn {
  display: inline-block; min-height: 48px; padding: 12px 24px;
  border-radius: 12px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-text);
  font-weight: 700; text-decoration: none; text-align: center;
}
.btn.disabled { background: transparent; color: var(--muted); border-style: dashed; border-color: var(--muted); }
.features { list-style: none; padding: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.features li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; }
.features strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.shot {
  aspect-ratio: 9 / 19.5; border: 2px dashed var(--line); border-radius: 16px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--muted); font-size: 0.8rem; padding: 8px;
}
.shot img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 16px 20px; margin: 24px 0; }
.notice h2 { margin-top: 0; font-size: 1.05rem; }
.notice ul { margin-bottom: 0; }
.note { color: var(--muted); font-size: 0.9rem; }
table { border-collapse: collapse; width: 100%; margin: 0 0 16px; font-size: 0.95rem; }
th, td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; vertical-align: top; }
th { background: var(--surface); }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 12px 0 0; }
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 24px 0 32px; font-size: 0.9rem; color: var(--muted); }
footer.site ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; }
footer.site a { color: var(--muted); }
footer.site p { margin: 0 0 8px; }
@media (min-width: 640px) {
  .features { grid-template-columns: repeat(3, 1fr); }
  h1 { font-size: 2rem; }
}
