/* 会社サイトの見た目（2026-11-04 開発が作った）。外のフォントやスクリプトは読み込まない（静的なページだけで、見る人の情報を外に出さないため） */
:root {
  --text: #1f2933;
  --muted: #5b6672;
  --bg: #f7f6f3;
  --card: #ffffff;
  --line: #e2e0da;
  --accent: #3d5a78;
}
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e7e9ec;
    --muted: #a5adb6;
    --bg: #15191d;
    --card: #1d2227;
    --line: #2d343b;
    --accent: #8fb0d0;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Hiragino Sans", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif;
  line-height: 1.8;
  font-size: 16px;
}
a { color: var(--accent); }
header, main, footer { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header { padding-top: 24px; padding-bottom: 8px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
header .site { font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
nav a { margin-left: 16px; font-size: 15px; text-decoration: none; }
nav a:first-child { margin-left: 0; }
h1 { font-size: 26px; line-height: 1.4; margin: 24px 0 8px; }
h2 { font-size: 20px; margin: 32px 0 8px; }
.lead { color: var(--muted); margin-top: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin: 16px 0; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { width: 30%; color: var(--muted); font-weight: 600; white-space: nowrap; }
.app { display: flex; gap: 16px; align-items: center; }
.app img { width: 72px; height: 72px; border-radius: 16px; flex: none; }
.note { color: var(--muted); font-size: 14px; }
footer { padding-top: 32px; padding-bottom: 32px; color: var(--muted); font-size: 14px; }
@media (max-width: 480px) {
  th { width: auto; white-space: normal; display: block; border-bottom: none; padding-bottom: 0; }
  td { display: block; padding-top: 2px; }
  nav a { margin-left: 12px; }
}
/* ポリシー・利用規約のページ（build-policy.cjs が作る） */
.doc h1 { margin-top: 24px; }
.doc h2 { font-size: 18px; margin-top: 28px; }
.doc h3 { font-size: 16px; margin: 20px 0 4px; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
table.grid { border: 1px solid var(--line); font-size: 14px; min-width: 560px; }
table.grid th, table.grid td { border: 1px solid var(--line); width: auto; white-space: normal; display: table-cell; }
footer a { margin-right: 4px; }
.doc a { overflow-wrap: anywhere; }
/* アプリ紹介の頭（2026-11-04。ページの中にじかに書いた見た目の指定は、CSP の style-src 'self' でブラウザが使わないので、ここに移した） */
.app-hero { margin-top: 24px; }
.app-hero h1, .app-hero .lead { margin: 0; }
