:root {
  --ink: #1f2628;
  --muted: #5b6669;
  --line: #dbe1df;
  --bg: #ffffff;
  --soft: #f4f7f6;
  --accent: #1f6f5c;
  --accent-soft: #e6f1ee;
  --warn: #9a5b00;
  --warn-soft: #fff4e0;
  --ng: #b42318;
  --ng-soft: #fdecea;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.demo-bar {
  background: #1f2628; color: #fff; font-size: 12px;
  padding: 6px 16px; text-align: center; letter-spacing: .02em;
}
.site-head { border-bottom: 1px solid var(--line); background: #fff; }
.site-head .inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; }
.brand small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.inner { max-width: 1040px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.hero { background: var(--soft); padding: 40px 0 36px; border-bottom: 1px solid var(--line); }
.eyebrow { font-size: 12px; letter-spacing: .12em; color: var(--accent); font-weight: 700; margin: 0 0 6px; }
h1 { font-size: clamp(24px, 5vw, 34px); line-height: 1.4; margin: 0 0 12px; }
.lead { margin: 0; color: var(--muted); max-width: 720px; }
.sec { padding: 48px 0; border-bottom: 1px solid var(--line); }
.sec:last-of-type { border-bottom: 0; }
h2 { font-size: clamp(20px, 4vw, 26px); line-height: 1.45; margin: 0 0 8px; }
h2 .num { color: var(--accent); margin-right: 8px; font-variant-numeric: tabular-nums; }
.sec-lead { color: var(--muted); margin: 0 0 24px; }
h3 { font-size: 18px; margin: 28px 0 10px; }

.notice {
  background: var(--warn-soft); border: 1px solid #f0d9a8; border-radius: 8px;
  padding: 10px 14px; font-size: 14px; margin: 0 0 20px; color: #5c3b00;
}

/* 仕様対応表 */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; min-width: 560px; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
thead th { background: var(--soft); font-size: 13px; white-space: nowrap; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; width: 34%; }
.tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 8px; border-radius: 999px; white-space: nowrap; }
.tag-ok { background: var(--accent-soft); color: var(--accent); }
.tag-plus { background: #eef0fb; color: #3a46a8; }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-ng { background: var(--ng-soft); color: var(--ng); }
.tag-low { background: #eef1f2; color: var(--muted); }

/* 画像ギャラリー */
.shots { display: grid; gap: 20px; }
.shot { margin: 0; }
.shot .frame { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.shot .frame.scroll { max-height: 640px; overflow-y: auto; }
.shot figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.phone { max-width: 320px; margin: 0 auto; border: 8px solid #1f2628; border-radius: 28px; overflow: hidden; }
.phone .frame { border: 0; border-radius: 0; max-height: 600px; overflow-y: auto; }

/* カード */
.cards { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: #fff; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.card .go { font-weight: 700; font-size: 14px; }
ul.check { list-style: none; padding: 0; margin: 0; }
ul.check li { position: relative; padding: 4px 0 4px 24px; font-size: 15px; }
ul.check li::before {
  content: ""; position: absolute; left: 4px; top: 13px; width: 10px; height: 5px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg);
}
ul.cross li::before { border: 0; content: "×"; color: var(--ng); top: 4px; left: 4px; transform: none; font-weight: 700; }
code { background: var(--soft); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; font-size: .92em; }
pre { background: #1f2628; color: #e6ecea; border-radius: 10px; padding: 14px 16px; overflow-x: auto; font-size: 13px; line-height: 1.6; }

/* レポート */
.report-meta { display: grid; gap: 4px 20px; grid-template-columns: max-content 1fr; font-size: 14px; margin: 0 0 8px; }
.report-meta dt { color: var(--muted); }
.report-meta dd { margin: 0; font-weight: 700; }
.summary { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); margin: 0 0 8px; }
.summary div { background: var(--soft); border-radius: 10px; padding: 12px 14px; }
.summary b { display: block; font-size: 24px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.summary span { font-size: 12px; color: var(--muted); }

.site-foot { background: var(--soft); border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--muted); }
.site-foot p { margin: 0 0 4px; }

/* スマホでは表を1行ずつのカード表示に */
@media (max-width: 759px) {
  .table-wrap { overflow: visible; }
  table { min-width: 0; }
  thead { display: none; }
  tbody tr { display: block; padding: 12px 14px; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  tbody th, tbody td { display: block; width: auto; padding: 0; border: 0; }
  tbody th { margin-bottom: 4px; }
  tbody td + td { margin-top: 4px; }
}
@media (min-width: 760px) {
  .hero { padding: 64px 0 56px; }
  .sec { padding: 72px 0; }
  .shots.two { grid-template-columns: 1.6fr 1fr; align-items: start; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .summary { grid-template-columns: repeat(4, 1fr); }
}
@media print {
  .demo-bar, .site-head .nav { display: none; }
  .sec { padding: 24px 0; }
}
