@charset "utf-8";

/* ===========================================================
   AIが客を呼ぶ店 — 共通スタイル
   モバイルファースト(375px設計)。PCは余白を広げるだけ。
   フラット。グラデーション・影・アニメーションは使わない。
   =========================================================== */

:root {
  --yamabuki: #F2A31B;   /* ブランド: 山吹 */
  --kon:      #22303F;   /* ブランド: 紺 */
  --shiro:    #FFFDF7;   /* ブランド: 白 */
  --kinari:   #E8DFC9;   /* ブランド: 生成り */
  --gray:     #5C6672;   /* 補助テキスト */
  --line:     #D9D2C0;   /* 罫線 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Yu Gothic", "Meiryo", sans-serif;
  background: var(--shiro);
  color: var(--kon);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* --- ヘッダー --- */
.site-head {
  border-bottom: 2px solid var(--kon);
  padding: 14px 0;
}
.site-head .wrap { display: flex; align-items: center; gap: 10px; }
.site-head img { width: 28px; height: 28px; display: block; }
.site-head .name { font-size: 15px; font-weight: 700; }

/* --- ファーストビュー --- */
.fv { background: var(--yamabuki); padding: 40px 0 36px; }
.fv h1 { font-size: 26px; line-height: 1.5; letter-spacing: .01em; }
.fv h1 .sub { display: block; font-size: 20px; margin-top: 10px; }
.fv p { margin-top: 18px; font-size: 15px; }

/* --- CTAボタン: 山吹地に紺文字 --- */
.cta {
  display: block;
  background: var(--yamabuki);
  color: var(--kon);
  border: 2px solid var(--kon);
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 18px;
  text-decoration: none;
  margin-top: 24px;
}
.fv .cta { background: var(--shiro); }

/* --- セクション --- */
section { padding: 40px 0; border-bottom: 1px solid var(--line); }
section:last-of-type { border-bottom: none; }

h2 {
  font-size: 21px;
  line-height: 1.5;
  color: var(--kon);
  border-left: 6px solid var(--yamabuki);
  padding-left: 12px;
  margin-bottom: 20px;
}
h3 {
  font-size: 17px;
  color: var(--kon);
  margin: 28px 0 10px;
}
p { margin-bottom: 16px; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 17px; font-weight: 700; }

/* --- 箇条書き --- */
ul, ol { margin: 0 0 16px 1.4em; }
li { margin-bottom: 8px; }

.facts {
  list-style: none;
  margin-left: 0;
  background: var(--kinari);
  border-radius: 4px;
  padding: 18px 20px;
}
.facts li { margin: 0 0 10px; padding-left: 18px; position: relative; }
.facts li:last-child { margin-bottom: 0; }
.facts li::before {
  content: ""; position: absolute; left: 0; top: .7em;
  width: 8px; height: 8px; background: var(--yamabuki); border-radius: 50%;
}

/* --- 出典行 --- */
.source-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--gray);
  margin: -6px 0 16px;
}
.source-note a { color: var(--gray); }

/* --- 発見カード --- */
.finding { border: 2px solid var(--kon); border-radius: 4px; padding: 18px; margin-bottom: 18px; }
.finding h3 { margin: 0 0 8px; font-size: 16px; }
.finding h3 .tag {
  display: inline-block; background: var(--kon); color: var(--shiro);
  font-size: 12px; padding: 2px 8px; border-radius: 3px; margin-right: 8px;
  vertical-align: 2px;
}
.finding p { font-size: 15px; }

/* --- 手順 --- */
.steps { list-style: none; margin-left: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  margin-bottom: 20px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; line-height: 30px; text-align: center;
  background: var(--yamabuki); color: var(--kon);
  font-weight: 700; border-radius: 50%;
}
.steps strong { display: block; font-size: 16px; }

/* --- 表: 数値はAIに引用されやすいよう素直な table で --- */
.table-scroll { overflow-x: auto; margin-bottom: 16px; }
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 340px;
  font-size: 15px;
}
th, td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; }
th { background: var(--kinari); font-weight: 700; white-space: nowrap; }
td.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
td.hi { font-weight: 700; }

/* --- FAQ --- */
.faq { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 16px; }
.faq:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.faq .q { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.faq .a { font-size: 15px; color: #333; }

/* --- フォーム --- */
.form-box { background: var(--kinari); border-radius: 4px; padding: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.field .req { color: #B4451E; font-size: 13px; margin-left: 4px; }
.field input, .field select {
  width: 100%;
  font: inherit;
  font-size: 16px; /* iOSで拡大されないよう16px以上 */
  padding: 11px 12px;
  border: 1px solid var(--kon);
  border-radius: 4px;
  background: var(--shiro);
  color: var(--kon);
}
button.cta { width: 100%; cursor: pointer; font-family: inherit; }
.form-note { font-size: 13px; color: var(--gray); margin-top: 12px; }

/* --- 記事 --- */
.article-head { padding: 32px 0 20px; border-bottom: 2px solid var(--kon); }
.article-head h1 { font-size: 24px; line-height: 1.5; margin-bottom: 12px; }
.article-meta { font-size: 13px; color: var(--gray); }
.article section { border-bottom: none; padding: 28px 0 0; }
.article .note {
  font-size: 13px; color: var(--gray);
  border-top: 1px solid var(--line); margin-top: 32px; padding-top: 16px;
}

/* --- リンク --- */
a { color: var(--kon); }
.textlink { font-weight: 700; }

/* --- フッター --- */
.site-foot {
  background: var(--kon); color: var(--shiro);
  padding: 28px 0; margin-top: 40px;
  font-size: 14px;
}
.site-foot a { color: var(--yamabuki); text-decoration: none; font-weight: 700; }
.site-foot .brand { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.site-foot .sns { margin-top: 10px; }
.site-foot .sns a { margin-right: 14px; }

/* --- 375px より広い画面: 余白を広げるだけ --- */
@media (min-width: 600px) {
  .wrap { padding: 0 32px; }
  .fv { padding: 56px 0 48px; }
  .fv h1 { font-size: 32px; }
  .fv h1 .sub { font-size: 24px; }
  h2 { font-size: 24px; }
  .article-head h1 { font-size: 28px; }
  .cta { max-width: 420px; margin-left: auto; margin-right: auto; }
}
