@charset "UTF-8";
/* farst 共通スタイル
   --sage は inc/config.php の BRAND_COLOR と一致させること。
   #4A7660 は本文サイズでも WCAG AA (4.5:1) を満たす明度に調整済み。
   旧値 #5C8A74 はリンクで 3.48:1 しかなく AA 未達だった。 */

:root {
  --bg: #F4F1EA;
  --sage: #4A7660;
  --sage-light: #9CBDA9;
  --terra: #D08A6A;
  --ink: #26221E;
  --muted: #6b6359;
  --card: #fbf9f4;
  --border: #E2DCD0;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", system-ui, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--sage); }

/* キーボード操作時のフォーカスを見えるようにする */
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.wrap--narrow { max-width: 680px; padding-top: 56px; }

/* ---- ヘッダー ---- */
header.site { display: flex; align-items: center; gap: 14px; margin-bottom: 40px; }
.wrap--narrow header.site { margin-bottom: 8px; }
.mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 24px; flex: none;
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: .06em; color: var(--sage); }
header.site h1 { font-size: 26px; margin: 0; letter-spacing: .02em; }

h1 { font-size: 30px; line-height: 1.45; margin: 0 0 12px; letter-spacing: .02em; }
h2 { font-size: 20px; color: var(--sage); margin: 52px 0 12px; letter-spacing: .02em; }
h3 { font-size: 16px; margin: 26px 0 6px; }
p  { margin: 0 0 12px; }

.wrap--narrow h2 { font-size: 18px; margin: 34px 0 8px; }
.wrap--narrow h3 { font-size: 15px; margin: 22px 0 6px; }
.wrap--narrow p  { margin: 0 0 10px; }

.updated { color: var(--muted); font-size: 14px; margin: 4px 0 36px; }

.lead { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.lead--boxed {
  background: var(--card);
  border-left: 4px solid var(--sage);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 36px;
  color: var(--ink);
}

/* ---- CTA ---- */
.cta {
  display: inline-block; background: var(--sage); color: #fff;
  text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 14px 28px; border-radius: 999px;
}
.cta:hover { opacity: .92; }
.cta-sub { display: block; font-size: 13px; color: var(--muted); margin-top: 10px; }

/* ---- ヒーロー ---- */
.hero { display: flex; gap: 32px; align-items: flex-start; flex-wrap: wrap; }
.hero-text { flex: 1 1 320px; }
.hero-img { flex: 0 1 240px; }
.hero-img img, .shots img {
  width: 100%; height: auto; border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,.10);
}

/* ---- 基本情報 ---- */
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px; margin: 40px 0 8px; padding: 0; list-style: none;
}
.facts li {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px; font-size: 14px;
}
.facts b { display: block; color: var(--sage); font-size: 12px; letter-spacing: .04em; }

/* ---- スクリーンショット ---- */
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }
.shots figure { margin: 0; }
.shots figcaption { font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px; }

ol.steps { padding-left: 1.4em; }
ol.steps li { margin-bottom: 8px; }

/* ---- FAQ ---- */
.faq details {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 12px; padding: 4px 18px; margin-bottom: 10px;
}
.faq summary { font-weight: 700; cursor: pointer; padding: 10px 0; }
.faq p { color: var(--muted); margin: 0 0 14px; }

.disclaimer {
  background: var(--card); border-left: 4px solid var(--terra);
  border-radius: 10px; padding: 16px 20px; margin-top: 20px; font-size: 14px; color: var(--muted);
}

/* ---- お問い合わせフォーム ---- */
/* CSP が style-src 'self' なので、インラインの style 属性は効かない。
   ハニーポットを隠すのもここで行う（属性で隠すと表示されてしまう）。 */
.hp { display: none; }

.note { font-size: 13px; color: var(--muted); }

.notice {
  border-radius: 10px;
  padding: 16px 20px;
  margin: 16px 0 24px;
  background: var(--card);
  border-left: 4px solid var(--sage);
}
.notice--error { border-left-color: var(--terra); }
.notice p:last-child { margin-bottom: 0; }
.notice ul { margin: 8px 0 0; padding-left: 1.2em; }

.contact-form { margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 20px; }
.field label { font-weight: 700; font-size: 15px; }
.field .help { font-size: 13px; color: var(--muted); }
.req {
  font-size: 11px; font-weight: 700; vertical-align: 2px;
  color: #fff; background: var(--terra);
  border-radius: 4px; padding: 1px 6px; margin-left: 6px;
}

.field input,
.field select,
.field textarea {
  font: inherit;
  /* 16px 未満だと iOS Safari がフォーカス時にページを拡大する */
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
}
.field textarea { line-height: 1.7; resize: vertical; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--sage);
  outline-offset: 1px;
}

.contact-form button.cta {
  border: 0; cursor: pointer; font-family: inherit;
}

footer {
  margin-top: 64px; padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,.08);
  color: var(--muted); font-size: 13px;
}
.wrap--narrow footer { margin-top: 56px; }

/* ---- 404 ---- */
.centered { display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.centered .wrap { text-align: center; }
.centered header.site { justify-content: center; margin-bottom: 20px; }
