/* ==========================================================================
   LP テンプレート用スタイル（このLP専用・完全自己完結）
   色/フォント/角丸は下の変数だけ差し替えれば全体のトーンが変わります。
   ========================================================================== */

:root {
  --c-main:   #2f5cff;            /* メインカラー（見出し強調・リンク） */
  --c-accent: #ff5a3c;            /* CTAボタンなど、行動を促す色 */
  --c-ink:    #14171d;            /* 本文の文字色 */
  --c-mute:   #5f6675;            /* 補足テキスト */
  --c-line:   #e5e8ee;            /* 罫線 */
  --c-bg:     #ffffff;
  --c-bg-sub: #f5f7fa;            /* 帯セクションの背景 */
  --radius:   12px;
  --maxw:     1080px;
  --narrow:   760px;
  --font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Hiragino Sans",
          "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--font); font-size: 16px; line-height: 1.9;
  letter-spacing: .02em; -webkit-font-smoothing: antialiased;
  padding-bottom: 84px; /* 追従CTA分の余白 */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-main); }

.container  { width: 100%; max-width: var(--maxw);  margin-inline: auto; padding-inline: 20px; }
.container--narrow { max-width: var(--narrow); }
.section    { padding: 78px 0; }
.section--sub { background: var(--c-bg-sub); }
@media (max-width: 700px) { .section { padding: 54px 0; } }

/* 見出し */
.sec-head { text-align: center; margin: 0 0 44px; }
.sec-head .en {
  display: block; font-size: 12px; letter-spacing: .22em; font-weight: 700;
  color: var(--c-main); text-transform: uppercase; margin-bottom: 10px;
}
.sec-head h2 {
  margin: 0; font-size: clamp(23px, 4.2vw, 33px); line-height: 1.5;
  font-weight: 800; letter-spacing: -.01em;
}
.sec-head p { margin: 14px auto 0; max-width: 620px; color: var(--c-mute); font-size: 15px; }
.marker { background: linear-gradient(transparent 72%, color-mix(in srgb, var(--c-main) 28%, transparent) 72%); }

/* ---------- ファーストビュー ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c-main) 8%, #fff), #fff 62%);
  padding: 66px 0 74px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; } }

.hero .catch {
  margin: 0 0 18px; font-size: clamp(27px, 5.6vw, 45px); line-height: 1.36;
  font-weight: 800; letter-spacing: -.015em;
}
.hero .lead { margin: 0 0 26px; color: var(--c-mute); font-size: 16px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
@media (max-width: 860px) { .hero-badges { justify-content: center; } }
.hero-badges li {
  font-size: 12.5px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  background: #fff; border: 1px solid color-mix(in srgb, var(--c-main) 26%, var(--c-line));
  color: var(--c-main);
}
.hero-visual { border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 50px rgba(20,25,45,.14); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 17px 40px; border-radius: 999px;
  font-size: 16.5px; font-weight: 800; letter-spacing: .04em;
  text-decoration: none; border: 0; cursor: pointer; font-family: inherit;
  background: var(--c-accent); color: #fff;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--c-accent) 34%, transparent);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 12px 28px color-mix(in srgb, var(--c-accent) 42%, transparent); }
.btn--ghost { background: #fff; color: var(--c-ink); border: 1.5px solid var(--c-line); box-shadow: none; }
.btn--ghost:hover { border-color: var(--c-main); color: var(--c-main); box-shadow: none; }
.btn--lg { padding: 20px 56px; font-size: 18px; }
.btn-note { display: block; margin-top: 11px; font-size: 12.5px; color: var(--c-mute); }

/* ---------- 悩み ---------- */
.problems { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.problem {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.problem .ico { font-size: 30px; line-height: 1; margin-bottom: 12px; }
.problem p { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.75; }
.arrow-down { text-align: center; font-size: 30px; color: var(--c-main); margin: 26px 0 0; line-height: 1; }

/* ---------- 特徴（画像＋テキストの交互配置） ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.feature + .feature { margin-top: 68px; }
.feature:nth-child(even) .feature-text { order: -1; }
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature:nth-child(even) .feature-text { order: 0; }
  .feature + .feature { margin-top: 46px; }
}
.feature-img { border-radius: var(--radius); overflow: hidden; box-shadow: 0 14px 36px rgba(20,25,45,.1); }
.feature-num {
  display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  color: var(--c-main); margin-bottom: 8px;
}
.feature-text h3 { margin: 0 0 12px; font-size: clamp(19px, 3.2vw, 25px); line-height: 1.5; font-weight: 800; }
.feature-text p  { margin: 0; color: var(--c-mute); font-size: 15px; }

/* ---------- 実績・数字 ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; text-align: center; }
.stat .num { font-size: clamp(34px, 6vw, 50px); font-weight: 800; line-height: 1.1; color: var(--c-main); letter-spacing: -.02em; }
.stat .num small { font-size: .46em; font-weight: 700; margin-left: 2px; }
.stat .lbl { font-size: 13.5px; color: var(--c-mute); margin-top: 6px; }

/* ---------- お客様の声 ---------- */
.voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.voice {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); padding: 28px 26px;
}
.voice blockquote { margin: 0 0 18px; font-size: 15.5px; line-height: 1.85; font-weight: 600; }
.voice figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--c-mute); }
.voice figcaption img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }

/* ---------- 料金 ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--c-line); border-radius: var(--radius); padding: 32px 26px;
}
.plan--pickup { border-color: var(--c-main); box-shadow: 0 14px 40px color-mix(in srgb, var(--c-main) 16%, transparent); }
.plan--pickup::before {
  content: "おすすめ"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--c-main); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
}
.plan h3 { margin: 0 0 6px; font-size: 17px; font-weight: 800; }
.plan .price { font-size: 34px; font-weight: 800; line-height: 1.2; letter-spacing: -.02em; }
.plan .price small { font-size: .42em; font-weight: 700; color: var(--c-mute); margin-left: 3px; }
.plan ul { margin: 20px 0 26px; padding: 0; list-style: none; font-size: 14px; }
.plan li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--c-line); }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--c-main); font-weight: 800; }
.plan .btn { margin-top: auto; width: 100%; padding-inline: 16px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 34px; position: relative;
  font-weight: 700; font-size: 15.5px; line-height: 1.7;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 2px; color: var(--c-main); font-weight: 800; }
.faq summary::after {
  content: "＋"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  color: var(--c-mute); font-weight: 400; transition: transform .2s;
}
.faq details[open] summary::after { content: "－"; }
.faq .answer { padding: 0 10px 22px 34px; position: relative; color: var(--c-mute); font-size: 14.5px; }
.faq .answer::before { content: "A"; position: absolute; left: 2px; top: 0; color: var(--c-accent); font-weight: 800; }

/* ---------- 最終CTA ---------- */
.cta-final {
  background: linear-gradient(135deg, var(--c-main), color-mix(in srgb, var(--c-main) 55%, var(--c-accent)));
  color: #fff; text-align: center; padding: 76px 0;
}
.cta-final h2 { margin: 0 0 14px; font-size: clamp(23px, 4.6vw, 35px); line-height: 1.45; font-weight: 800; }
.cta-final p  { margin: 0 0 32px; opacity: .92; font-size: 15.5px; }
.cta-final .btn { background: #fff; color: var(--c-accent); box-shadow: 0 10px 30px rgba(0,0,0,.2); }
.cta-final .btn-note { color: #fff; opacity: .85; }

/* ---------- フッター ---------- */
.lp-footer { background: #14171d; color: #9aa2b2; padding: 34px 0; font-size: 13px; text-align: center; }
.lp-footer a { color: #cfd6e4; }

/* ---------- 追従CTA（スマホで効く） ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-top: 1px solid var(--c-line); padding: 11px 16px;
  display: flex; justify-content: center;
  transform: translateY(110%); transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta .btn { width: 100%; max-width: 420px; padding: 15px 24px; font-size: 16px; }

/* ---------- スクロール時のふわっと表示 ----------
   .js が付いている時だけ隠す＝JSが動かない環境では最初から全部見える */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
