/* LINE自動応答ボット制作 LP — スマホ優先 */
:root {
  --green: #2f9e64;
  --green-dark: #23794c;
  --green-pale: #eef6f1;
  --ink: #1d2a22;
  --sub: #55635b;
  --line: #dfe7e2;
  --bg: #ffffff;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", 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(--green-dark); }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.sp { display: inline; }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 700; letter-spacing: .04em; font-size: 18px; }
.logo small { font-weight: 400; font-size: 12px; color: var(--sub); margin-left: 8px; letter-spacing: 0; }

/* ボタン */
.btn {
  display: inline-block; background: var(--green); color: #fff; text-decoration: none;
  font-weight: 700; padding: 14px 28px; border-radius: 999px; box-shadow: 0 6px 16px rgba(47,158,100,.25);
  transition: background .2s;
}
.btn:hover { background: var(--green-dark); }
.btn-small { padding: 8px 16px; font-size: 14px; box-shadow: none; }
.btn-large { padding: 18px 40px; font-size: 18px; margin: 12px 0; }
.link { font-weight: 700; text-decoration: none; }

/* ヒーロー */
.hero { background: linear-gradient(180deg, var(--green-pale), #fff); padding: 40px 0 56px; }
.hero-inner { display: grid; gap: 32px; }
.eyebrow { color: var(--green-dark); font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.hero h1 { font-size: 26px; line-height: 1.45; margin: 0 0 16px; }
.lead { color: var(--sub); margin: 0 0 20px; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.note { color: var(--sub); font-size: 13px; margin-top: 12px; }
.hero-image img { width: 240px; margin: 0 auto; filter: drop-shadow(0 16px 30px rgba(0,0,0,.15)); }

/* セクション共通 */
.section { padding: 56px 0; }
.section:nth-of-type(odd) { background: #fafcfb; }
.section h2 { font-size: 22px; line-height: 1.5; text-align: center; margin: 0 0 28px; }

/* カード */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 17px; margin: 0 0 8px; line-height: 1.5; }
.card p { margin: 0; color: var(--sub); }
.num { display: inline-block; font-weight: 700; color: var(--green); margin-bottom: 6px; }

/* 解決策 */
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--green); width: 20px; height: 20px; border-radius: 50%; font-size: 12px; text-align: center; line-height: 20px; margin-top: 5px; }

/* 流れ */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; color: var(--sub); }
.steps li strong { display: block; color: var(--ink); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; text-align: center; line-height: 36px; }

/* お客様の声 */
.sample-note { text-align: center; color: var(--sub); font-size: 13px; margin: -12px 0 20px; }
.voice p { color: var(--ink); }
.voice span { display: block; margin-top: 10px; font-size: 13px; color: var(--sub); }

/* 料金 */
.plans { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.plan.featured { border: 2px solid var(--green); }
.badge { position: absolute; top: -12px; left: 20px; margin: 0; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 18px; }
.amount { font-size: 30px; font-weight: 700; margin: 6px 0 12px; }
.amount span { font-size: 14px; font-weight: 400; color: var(--sub); }
.plan ul { padding-left: 1.2em; margin: 0; color: var(--sub); }
.price-note { text-align: center; color: var(--sub); font-size: 14px; margin-top: 20px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "＋"; position: absolute; right: 0; color: var(--green); }
details[open] summary::after { content: "－"; }
details p { color: var(--sub); margin: 10px 0 0; }

/* 問い合わせ */
.contact { background: var(--green-pale) !important; }

/* フッター */
.site-footer { background: var(--ink); color: #cfd8d3; padding: 24px 0; text-align: center; font-size: 14px; }
.site-footer p { margin: 4px 0; }

/* PC */
@media (min-width: 768px) {
  .sp { display: none; }
  .hero { padding: 72px 0 88px; }
  .hero-inner { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .hero h1 { font-size: 38px; }
  .hero-image img { width: 300px; }
  .section { padding: 80px 0; }
  .section h2 { font-size: 28px; }
  .three { grid-template-columns: repeat(3, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}
