:root {
  --bg: #fbfaf7;
  --ink: #1d1d1f;
  --muted: #5f6368;
  --accent: #b4432e;
  --rule: #e4e0d8;
  --surface: #f2efe8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17171a;
    --ink: #ececee;
    --muted: #a0a3a8;
    --accent: #f0907b;
    --rule: #2f2f34;
    --surface: #202024;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: 42rem; margin: 0 auto; padding: 0 16px; }
header.site { border-bottom: 1px solid var(--rule); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; padding-top: 14px; padding-bottom: 14px; }
header.site a.brand { font-weight: 700; font-size: 1.15rem; color: var(--ink); text-decoration: none; }
header.site nav a { margin-left: 18px; color: var(--muted); text-decoration: none; }
header.site nav a:first-child { margin-left: 0; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--ink); }
main { padding: 32px 0 56px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 12px; }
h2 { font-size: 1.25rem; margin: 36px 0 8px; }
h3 { font-size: 1.05rem; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 4px; }
a { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); }
.card { background: var(--surface); border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
.card h3 { margin-top: 0; }
.jp { font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif; }
.updated { color: var(--muted); font-size: 0.9rem; }
footer.site { border-top: 1px solid var(--rule); color: var(--muted); font-size: 0.9rem; }
footer.site .wrap { padding-top: 18px; padding-bottom: 28px; }
footer.site a { color: var(--muted); }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, "Hiragino Sans", monospace; font-size: 0.88em; }
code { background: var(--surface); border-radius: 4px; padding: 1px 5px; }
pre { background: var(--surface); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; overflow-x: auto; line-height: 1.5; }
pre code { background: none; padding: 0; font-size: 1em; }
.table-wrap { overflow-x: auto; margin: 0 0 14px; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; vertical-align: top; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--rule); }
th { color: var(--muted); font-weight: 600; }
td:first-child { white-space: nowrap; }
.fields tr[data-required="true"] td:first-child::after { content: "required"; color: var(--muted); font-size: 0.8rem; margin-left: 8px; }
.notice { border-left: 4px solid var(--accent); }
.wrap.wide { max-width: 64rem; }
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; padding: 8px 0 16px; }
.hero h1 { font-size: 2.6rem; }
.hero .facts { color: var(--muted); }
figure { margin: 0; }
figure img, figure video { display: block; width: 100%; height: auto; border-radius: 26px; border: 1px solid var(--rule); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); background: var(--surface); }
.hero figure.phone { max-width: 300px; justify-self: center; }
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 18px 0 8px; }
.video { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; margin: 18px 0 8px; }
figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--muted); }
figcaption strong { color: var(--ink); }
@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 2rem; }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .shots figure { scroll-snap-align: center; }
  .video { grid-template-columns: 1fr; gap: 20px; }
  .video figure { max-width: 300px; margin: 0 auto; }
}
