/* ============================================================
   lp.css — ランディングページ
   暖色系・信頼感重視。セクション背景の切り替えで区切る。
   ============================================================ */

:root {
  --bg: #f9f7f4;
  --bg-alt: #f4f1eb;
  --panel-bg: #fdfcfa;
  --accent: #8b6f47;
  --accent-dark: #6b5335;
  --accent-light: #d4b896;
  --success: #4a7c5a;
  --text: #2c2218;
  --text-muted: #7a6a58;
  --border: #d4c9b8;
  --radius: 6px;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Hiragino Mincho Pro', 'Yu Mincho', 'YuMincho', 'MS PMincho', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Hiragino Kaku Gothic Pro', 'Yu Gothic UI', 'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

.sp-only { display: none !important; }

/* モバイルURLコピーボックス（LP内） */
.lp-mobile-pc-box {
  background: #fff;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 24px 20px;
  max-width: 340px;
  margin: 0 auto;
  text-align: center;
}
.lp-mobile-pc-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.lp-mobile-url-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.lp-mobile-url {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-dark);
  word-break: break-all;
}
.lp-mobile-copy-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.lp-mobile-copy-btn:active { background: var(--accent-dark); }
.lp-mobile-browsers {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================================
   共通レイアウト
   ============================================================ */
.lp-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.lp-header {
  background: var(--accent-dark);
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.lp-header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-header-logo {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.15);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-family: var(--font-serif);
  font-weight: 700;
  flex-shrink: 0;
}
.lp-header-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.2;
  display: block;
  white-space: nowrap;
}
.lp-header-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.lp-header-nav a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  font-size: 14px;
  transition: color .15s;
  white-space: nowrap;
}
.lp-header-nav a:hover { color: #fff; }
.lp-header-cta {
  background: rgba(255,255,255,.15) !important;
  color: #fff !important;
  padding: 6px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.lp-header-cta:hover { background: rgba(255,255,255,.25) !important; }

/* ============================================================
   ヒーロー
   ============================================================ */
.lp-hero {
  text-align: center;
  padding: 80px 32px 60px;
  background: var(--panel-bg);
}
.lp-hero-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--accent-dark);
  letter-spacing: .06em;
  margin-bottom: 18px;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.lp-hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
}
.lp-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.lp-cta-primary {
  display: inline-block;
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  padding: 15px 44px;
  border-radius: var(--radius);
  letter-spacing: .06em;
  transition: background .15s, box-shadow .15s;
  box-shadow: 0 2px 8px rgba(107,83,53,.2);
}
.lp-cta-primary:hover {
  background: #5a4328;
  box-shadow: 0 4px 16px rgba(107,83,53,.3);
}
.lp-cta-secondary {
  display: inline-block;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, background .15s;
  letter-spacing: .04em;
}
.lp-cta-secondary:hover {
  border-color: var(--accent);
  background: rgba(139,111,71,.04);
}
.lp-cta-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* ============================================================
   スペックバッジ
   ============================================================ */
.lp-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  flex-wrap: wrap;
}
.lp-badges li {
  font-size: 13px;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 4px 14px;
  letter-spacing: .04em;
}

/* ============================================================
   スクリーンショット
   ============================================================ */
.lp-screenshot-section {
  padding: 48px 32px 56px;
  display: flex;
  justify-content: center;
  background: var(--bg);
}
.lp-screenshot-wrap {
  max-width: 860px;
  width: 100%;
}
.lp-browser-bar {
  background: #e8e4dc;
  border-radius: 8px 8px 0 0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-bottom: none;
}
.lp-browser-dots { display: flex; gap: 5px; }
.lp-browser-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  display: block;
}
.lp-browser-url {
  flex: 1;
  background: #fff;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.lp-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 6px 24px rgba(139,111,71,.1);
}

/* ============================================================
   セクション共通
   ============================================================ */
.lp-section {
  padding: 56px 0;
}
.lp-section-alt {
  background: #fff;
}
.lp-section-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: .06em;
  margin-bottom: 28px;
  text-align: center;
}
.lp-section-lead {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
  text-align: center;
}

/* ============================================================
   注意喚起
   ============================================================ */
.lp-alert {
  background: #fffaf0;
  border: 1px solid #e8c84a;
  border-left: 4px solid #c8933a;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
}
.lp-alert-title {
  font-size: 16px;
  font-weight: 700;
  color: #7a5c00;
  margin-bottom: 8px;
}
.lp-alert p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}
.lp-alert strong { color: var(--text); }
.lp-text-link {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.lp-text-link:hover { text-decoration: underline; }
.lp-alert .lp-text-link {
  display: inline-block;
  margin-top: 10px;
}

/* ============================================================
   機能グリッド（2列カード）
   ============================================================ */
.lp-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.lp-feature-card {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  transition: border-color .15s, box-shadow .15s;
}
.lp-feature-card:hover {
  border-color: var(--accent-light);
  box-shadow: 0 2px 12px rgba(139,111,71,.08);
}
.lp-feature-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 6px;
  letter-spacing: .04em;
}
.lp-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   使い方（ステップ）
   ============================================================ */
.lp-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}
.lp-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.lp-step-num {
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.lp-step-body strong {
  display: block;
  font-size: 16px;
  color: var(--accent-dark);
  margin-bottom: 4px;
}
.lp-step-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   対応範囲テーブル
   ============================================================ */
.lp-scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-bottom: 12px;
}
.lp-scope-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.lp-scope-table tr:last-child td { border-bottom: none; }
.lp-scope-ok,
.lp-scope-na {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  width: 64px;
  text-align: center;
  border-radius: 3px;
}
.lp-scope-ok { color: var(--success); background: rgba(74,124,90,.08); }
.lp-scope-na { color: var(--text-muted); background: rgba(139,111,71,.06); }
.lp-scope-note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ============================================================
   FAQ
   ============================================================ */
.lp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 680px;
  margin: 0 auto;
}
.lp-faq {
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lp-faq summary {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
  content: '＋';
  font-size: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 12px;
}
.lp-faq[open] summary::after { content: '－'; }
.lp-faq p {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ============================================================
   ガイド記事
   ============================================================ */
.lp-guide-group { margin-bottom: 24px; }
.lp-guide-group:last-child { margin-bottom: 0; }
.lp-guide-cat {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .05em;
  margin-bottom: 8px;
  padding-left: 2px;
}
.lp-guide-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.lp-guide-item {
  display: block;
  padding: 12px 16px;
  background: var(--panel-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: border-color .15s, background .15s;
}
.lp-guide-item:hover {
  border-color: var(--accent-light);
  background: #fff;
}

/* ============================================================
   CTA再掲
   ============================================================ */
.lp-cta-section {
  text-align: center;
  padding: 56px 0 64px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.lp-cta-lead {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 28px;
  letter-spacing: .04em;
}
.lp-cta-section .lp-cta-note {
  color: var(--text-light);
}

/* ============================================================
   フッター
   ============================================================ */
.lp-footer {
  background: var(--bg);
  color: var(--text-light);
  padding: 28px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.lp-footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 14px;
}
.lp-footer-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 13px;
  transition: color .15s;
}
.lp-footer-nav a:hover { color: var(--text); }
.lp-footer-copy {
  font-size: 12px;
  opacity: .5;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 768px) {
  .sp-only { display: block !important; }
  .pc-only { display: none !important; }

  .lp-inner { padding: 0 20px; }

  .lp-header {
    padding: 10px 16px;
    min-height: auto;
  }
  .lp-header-logo { width: 30px; height: 30px; font-size: 17px; }
  .lp-header-title { font-size: 16px; }
  .lp-header-nav { gap: 12px; }
  .lp-header-nav { display: none; }

  .lp-hero {
    padding: 52px 20px 44px;
  }
  .lp-hero-title {
    font-size: 26px;
    letter-spacing: .04em;
  }
  .lp-hero-sub { font-size: 15px; margin-bottom: 28px; }
  .lp-hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .lp-cta-primary {
    font-size: 16px;
    padding: 14px 36px;
    width: 100%;
    max-width: 320px;
    text-align: center;
  }
  .lp-cta-secondary {
    font-size: 14px;
    padding: 12px 24px;
  }

  .lp-badges { gap: 8px; margin-top: 16px; }
  .lp-badges li { font-size: 12px; padding: 3px 10px; }

  .lp-screenshot-section { padding: 28px 16px 32px; }

  .lp-section { padding: 40px 0; }
  .lp-section-title { font-size: 20px; margin-bottom: 20px; }

  .lp-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .lp-feature-card { padding: 18px 18px 16px; }

  .lp-guide-list {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .lp-guide-item { font-size: 13px; padding: 10px 12px; }

  .lp-cta-section { padding: 44px 0 52px; }
  .lp-cta-lead { font-size: 17px; }

  .lp-footer { padding: 24px 20px; }
}

@media (min-width: 769px) {
  .lp-steps {
    flex-direction: row;
    gap: 28px;
    max-width: none;
  }
  .lp-step {
    flex: 1;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .lp-step-num { margin-bottom: 8px; }
  .lp-step-body strong { text-align: center; }
  .lp-step-body p { text-align: center; }
}
