/* 静的SEOページ (/about/ /guide/ /area/ /faq/) 共通スタイル (2026-09-12)
   Flutter アプリ本体とは無関係。ブランドカラーは加盟店向け資料と統一:
   メイン #12893e / アクセント #28ac38 / ダーク #0c3d22 / 文字 #2b3a33 */
:root {
  --green: #12893e;
  --green-light: #28ac38;
  --green-dark: #0c3d22;
  --ink: #2b3a33;
  --muted: #5d6b64;
  --line: #dfe6e1;
  --bg: #f7f9f7;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.85;
  font-size: 16px;
}
a { color: var(--green); }
img { max-width: 100%; height: auto; }

/* ヘッダー */
.site-header {
  background: var(--green-dark);
  color: #fff;
  padding: 14px 20px;
}
.site-header .inner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.site-header a { color: #fff; text-decoration: none; }
.brand { font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.site-nav { display: flex; gap: 14px; flex-wrap: wrap; font-size: 14px; margin-left: auto; }
.site-nav a { opacity: .9; }
.site-nav a:hover { opacity: 1; text-decoration: underline; }

/* 本文 */
main { max-width: 860px; margin: 0 auto; padding: 0 20px 64px; }
.breadcrumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.breadcrumb a { color: var(--muted); }
h1 {
  font-size: 27px; line-height: 1.5; margin: 20px 0 8px;
  border-bottom: 3px solid var(--green-light); padding-bottom: 14px;
}
h2 {
  font-size: 21px; margin: 44px 0 12px; padding-left: 12px;
  border-left: 5px solid var(--green);
}
h3 { font-size: 17px; margin: 28px 0 6px; color: var(--green-dark); }
.lead { font-size: 17px; color: var(--muted); margin: 12px 0 28px; }
ul, ol { padding-left: 1.4em; }
li { margin-bottom: 6px; }

/* 表 */
table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
th { background: var(--bg); width: 34%; white-space: nowrap; }
.table-wrap { overflow-x: auto; }

/* CTA */
.cta { text-align: center; margin: 40px 0; }
.btn {
  display: inline-block; background: var(--green); color: #fff !important;
  text-decoration: none; font-weight: 700; font-size: 17px;
  padding: 15px 40px; border-radius: 999px;
}
.btn:hover { background: var(--green-light); }
.cta p { font-size: 13px; color: var(--muted); margin-top: 10px; }

/* 囲み */
.note {
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
  padding: 16px 20px; margin: 20px 0; font-size: 15px;
}
.note p:first-child { margin-top: 0; }
.note p:last-child { margin-bottom: 0; }

/* カード */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 20px 0; }
.card { border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; font-size: 15px; }

/* Q&A */
.qa { border-bottom: 1px solid var(--line); padding: 20px 0; }
.qa:last-child { border-bottom: none; }
.qa h2 { font-size: 18px; margin: 0 0 8px; border-left: none; padding-left: 0; }
.qa h2::before { content: "Q. "; color: var(--green); font-weight: 700; }
.qa .a { margin: 0; }
.qa .a::before { content: "A. "; color: var(--muted); font-weight: 700; }

/* 手順 */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 18px 46px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px;
}
.steps h3 { margin: 0 0 4px; }

/* フッター */
.site-footer {
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 28px 20px 40px; font-size: 14px; color: var(--muted);
}
.site-footer .inner { max-width: 860px; margin: 0 auto; }
.site-footer a { color: var(--muted); }
.site-footer ul { list-style: none; padding: 0; display: flex; gap: 18px; flex-wrap: wrap; }

@media (max-width: 600px) {
  h1 { font-size: 22px; }
  h2 { font-size: 19px; }
  body { font-size: 15.5px; }
  th { width: auto; white-space: normal; }
}
