/* 紹介ページ（/lp/）。色・文字はアプリ本体（/style.css）に合わせる */
:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --border: #e0e2e7;
  --text: #1f2430;
  --text-muted: #5f6673;
  --primary: #3b6fd6;
  --primary-hover: #2f5bb8;
  --primary-soft: #eaf1ff;
  --green: #23a06b;
  --radius: 12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  background: var(--surface);
  color: var(--text);
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }

.lp-wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ヘッダー */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}
.lp-header-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.lp-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.lp-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; }
.lp-nav a { color: var(--text); text-decoration: none; }
.lp-nav a:hover { color: var(--primary); }
.lp-nav-login { border: 1px solid var(--border); border-radius: 8px; padding: 4px 12px; }

/* ボタン */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  border: 1px solid transparent;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn-block { display: block; width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-note { font-size: 13px; color: var(--text-muted); margin-top: 10px; }
.cta-center { text-align: center; margin-top: 32px; }

/* ファーストビュー */
.hero { background: linear-gradient(180deg, var(--primary-soft) 0%, var(--surface) 100%); padding: 56px 0 48px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.hero-kicker { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 14px; font-weight: 700; color: var(--primary); }
.hero h1 { font-size: 44px; line-height: 1.3; margin: 0 0 16px; letter-spacing: 0.02em; }
.hero-lead { font-size: 17px; margin: 0 0 16px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 4px 12px; font-size: 14px; }
.hero-points strong { color: var(--primary); font-size: 16px; }
.hero-shot { position: relative; margin: 0; padding-bottom: 24px; }
.hero-shot > img:first-child { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 12px 32px rgba(31, 36, 48, 0.12); }
.hero-phone {
  position: absolute;
  right: -8px;
  bottom: 0;
  width: 30%;
  border-radius: 18px;
  border: 6px solid #1f2430;
  box-shadow: 0 12px 28px rgba(31, 36, 48, 0.25);
}

/* セクション共通 */
.section { padding: 64px 0; }
.section-alt { background: var(--bg); }
.section h2 { font-size: 30px; text-align: center; margin: 0 0 32px; line-height: 1.4; }
.section-lead { text-align: center; color: var(--text-muted); margin: -20px 0 28px; font-size: 14px; }

/* 困りごと */
.problems { list-style: none; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 12px; }
.problems li { display: flex; align-items: center; gap: 14px; background: var(--bg); border-radius: var(--radius); padding: 16px 20px; font-size: 16px; }
.problem-icon { font-size: 24px; flex-shrink: 0; }
.problems-answer { text-align: center; font-size: 18px; margin: 32px 0 0; }
.problems-answer strong { color: var(--primary); }

/* 機能 */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.feature h3 { font-size: 18px; margin: 0 0 6px; padding-left: 12px; border-left: 4px solid var(--primary); line-height: 1.4; }
.feature p { margin: 0; font-size: 15px; color: var(--text-muted); }

/* 画面 */
.screens { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 24px; align-items: start; }
.screens figure { margin: 0; }
.screens figure:not(.wide) img { max-width: 300px; margin: 0 auto; border-radius: 18px; border: 6px solid #1f2430; }
.screens figure.wide img { border-radius: var(--radius); border: 1px solid var(--border); box-shadow: 0 6px 18px rgba(31, 36, 48, 0.08); }
.screens figcaption { font-size: 14px; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* 料金 */
.price-card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 2px solid var(--primary); border-radius: 16px; padding: 32px 28px; }
.price-plan { margin: 0; font-weight: 700; color: var(--primary); text-align: center; }
.price-amount { margin: 4px 0 0; text-align: center; font-size: 52px; font-weight: 700; line-height: 1.2; }
.price-amount .yen { font-size: 18px; font-weight: 400; margin: 0 4px; }
.price-unit { text-align: center; margin: 4px 0 0; color: var(--text-muted); }
.price-trial { text-align: center; margin: 16px 0; padding: 8px; background: var(--primary-soft); border-radius: 8px; }
.price-trial strong { color: var(--primary); }
.price-terms { font-size: 14px; color: var(--text-muted); padding-left: 1.2em; margin: 0 0 24px; }
.price-terms li { margin-bottom: 6px; }
.price-links { text-align: center; font-size: 13px; margin: 14px 0 0; }

/* 流れ */
.flow { list-style: none; counter-reset: step; padding: 0; margin: 0 auto; max-width: 760px; display: grid; gap: 14px; }
.flow li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px 16px 72px; }
.flow li::before {
  content: counter(step);
  position: absolute;
  left: 20px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow h3 { margin: 0; font-size: 17px; }
.flow p { margin: 2px 0 0; font-size: 15px; color: var(--text-muted); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 20px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 0; color: var(--primary); }
.faq details[open] summary::after { content: "－"; }
.faq details p { margin: 0 0 16px; font-size: 15px; color: var(--text-muted); }

/* 最後の呼びかけ */
.final-cta { text-align: center; background: var(--primary); color: #fff; }
.final-cta h2 { color: #fff; margin-bottom: 12px; }
.final-cta .btn-primary { background: #fff; color: var(--primary); margin-top: 12px; }
.final-cta .btn-primary:hover { background: var(--primary-soft); }
.final-cta .cta-note { color: rgba(255, 255, 255, 0.85); }

/* フッター */
.lp-footer { background: var(--text); color: #c9ced8; font-size: 13px; padding: 28px 0; text-align: center; }
.lp-footer p { margin: 4px 0; }
.lp-footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.lp-footer a { color: #c9ced8; }

/* スマホ */
@media (max-width: 760px) {
  .lp-nav a:not(.lp-nav-login) { display: none; }
  .hero { padding: 32px 0 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { font-size: 32px; }
  .hero-lead { font-size: 16px; }
  .hero-lead br { display: none; }
  .cta-row .btn { flex: 1 1 100%; }
  .hero-phone { width: 34%; right: 0; }
  .section { padding: 44px 0; }
  .section h2 { font-size: 23px; margin-bottom: 24px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 16px 18px; }
  .screens { grid-template-columns: 1fr; }
  .screens figure:not(.wide) img { max-width: 240px; }
  .price-card { padding: 24px 18px; }
  .price-amount { font-size: 44px; }
  .flow li { padding: 14px 16px 14px 64px; }
  .flow li::before { left: 16px; }
}
