/* 法令リサーチ — LP専用スタイル（style.css のトークン・共通コンポーネントを継承） */

/* ===== 共通レイアウト ===== */
.lp-wrap { max-width: 920px; margin: 0 auto; padding: 0 24px; }
.lp-section { padding: 64px 0; border-top: 1px solid var(--line-soft); }
.lp-section:first-of-type { border-top: none; }
.section-eyebrow {
  display: block; text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  text-align: center; font-size: 26px; font-weight: 700;
  line-height: 1.4; letter-spacing: -.3px; margin-bottom: 12px;
}
.section-lead {
  text-align: center; color: var(--ink-soft); font-size: 15px;
  max-width: 600px; margin: 0 auto 36px;
}

/* ===== CTAボタン（ヒーロー用に大きめ） ===== */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.primary-btn.large, .ghost-btn.large {
  padding: 14px 28px; font-size: 15px; border-radius: var(--radius-sm);
}
.ghost-btn.large { background: var(--surface); }

/* ===== ヒーロー ===== */
.lp-hero { padding: 88px 0 64px; text-align: center; }
.lp-hero h1 {
  font-size: 40px; font-weight: 700; line-height: 1.3;
  letter-spacing: -.6px; margin-bottom: 18px;
}
.lp-hero p.lead {
  color: var(--ink-soft); font-size: 17px; line-height: 1.7;
  max-width: 620px; margin: 0 auto 32px;
}
.hero-note { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* ===== 課題提起 ===== */
.pain-list { max-width: 640px; margin: 0 auto; display: grid; gap: 12px; }
.pain-item {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 18px;
  font-size: 15px; color: var(--ink-soft); line-height: 1.6;
}
.pain-item svg { flex-shrink: 0; color: var(--ng); margin-top: 2px; }

/* ===== 強み（4カード） ===== */
.value-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 760px; margin: 0 auto;
}
.value-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.value-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 14px;
}
.value-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.value-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.7; }
.value-card strong { color: var(--ink); font-weight: 700; }

/* ===== ベクトル検索の説明 ===== */
.vector-explain {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 32px; max-width: 720px; margin: 0 auto;
}
.vs-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.vs-col {
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.vs-col.before { background: var(--ng-soft); border: 1px solid #fed7aa; }
.vs-col.after { background: var(--ok-soft); border: 1px solid #bbf7d0; }
.vs-tag { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.vs-col.before .vs-tag { color: var(--ng); }
.vs-col.after .vs-tag { color: var(--ok); }
.vs-col p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.vs-arrow { display: grid; place-items: center; color: var(--muted); }
.vs-example {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft);
  font-size: 14px; line-height: 1.8; color: var(--ink-soft);
}
.vs-example .q { font-weight: 700; color: var(--ink); }
.vs-example .arrow { color: var(--accent); font-weight: 700; margin: 0 6px; }

/* ===== 使い方ステップ ===== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.step { text-align: center; padding: 8px; }
.step-num {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 16px;
  display: grid; place-items: center; margin: 0 auto 14px;
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* ===== 検索例チップ ===== */
.lp-examples { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 680px; margin: 0 auto; }
.lp-example-chip {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px; font-size: 14px;
  color: var(--ink-soft); cursor: pointer; transition: all .15s;
  text-decoration: none;
}
.lp-example-chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

/* ===== FAQ ===== */
.faq-list { max-width: 680px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 20px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 20px; color: var(--muted); font-weight: 400; flex-shrink: 0;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 20px 18px; font-size: 14px; color: var(--ink-soft); line-height: 1.75; }

/* ===== 最終CTA ===== */
.final-cta {
  background: var(--ink); border-radius: var(--radius);
  padding: 48px 32px; text-align: center; max-width: 760px; margin: 0 auto;
}
.final-cta h2 { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.final-cta p { color: rgba(255,255,255,.7); font-size: 15px; margin-bottom: 28px; }
.final-cta .ghost-btn {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.3);
}
.final-cta .ghost-btn:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }

/* ===== 導入の流れ ===== */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 820px; margin: 0 auto; }
.flow-step {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 18px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.flow-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 15px;
  display: grid; place-items: center; margin: 0 auto 12px;
}
.flow-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.flow-step p { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }

/* ===== 運営会社 ===== */
.company-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  max-width: 640px; margin: 0 auto; overflow: hidden;
}
.company-header {
  padding: 22px 26px; border-bottom: 1px solid var(--line-soft);
  background: #fcfcfd;
}
.company-header h3 { font-size: 18px; font-weight: 700; }
.company-header p { font-size: 14px; color: var(--accent); font-weight: 600; margin-top: 2px; }
.company-body { padding: 8px 26px 18px; }
.company-row {
  display: grid; grid-template-columns: 110px 1fr; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line-soft);
  font-size: 14px; line-height: 1.6;
}
.company-row:last-child { border-bottom: none; }
.company-row dt { color: var(--muted); font-weight: 600; }
.company-row dd { color: var(--ink-soft); }
.company-row dd a { color: var(--accent); text-decoration: none; word-break: break-all; }
.company-row dd a:hover { text-decoration: underline; }

/* ===== 導入相談フォーム ===== */
.contact-box {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  max-width: 600px; margin: 24px auto 0; padding: 32px;
}
.contact-title { font-size: 19px; font-weight: 700; text-align: center; }
.contact-note { font-size: 13px; color: var(--ink-soft); text-align: center; margin: 8px 0 24px; }
.contact-box .field { margin-bottom: 16px; }
.contact-box label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--ink); margin-bottom: 6px;
}
.contact-box .req { color: var(--ng); font-size: 11px; font-weight: 700; margin-left: 4px; }
.contact-box .opt { color: var(--muted); font-size: 11px; font-weight: 600; margin-left: 4px; }
.contact-box input, .contact-box textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 14px; color: var(--ink); background: var(--bg);
  resize: vertical;
}
.contact-box input:focus, .contact-box textarea:focus {
  outline: none; border-color: var(--accent); background: var(--surface);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-box .primary-btn.large { width: 100%; justify-content: center; margin-top: 6px; }
.contact-success {
  background: var(--ok-soft); border: 1px solid #bbf7d0; color: var(--ok);
  border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px;
  font-weight: 600; text-align: center; line-height: 1.6;
}
.contact-error {
  background: var(--ng-soft); border: 1px solid #fed7aa; color: var(--ng);
  border-radius: var(--radius-sm); padding: 12px 16px; font-size: 14px; margin-top: 12px;
}
.contact-privacy { font-size: 12px; color: var(--muted); text-align: center; margin-top: 16px; line-height: 1.6; }
.contact-privacy a { color: var(--accent); text-decoration: none; }
.contact-privacy a:hover { text-decoration: underline; }

/* ===== 信頼の裏付け（源内・Lawsy） ===== */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 760px; margin: 0 auto; }
.trust-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.trust-label {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em;
  color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.trust-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.trust-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.75; }
.trust-card strong { color: var(--ink); font-weight: 700; }
.trust-note {
  max-width: 760px; margin: 18px auto 0; font-size: 12px; color: var(--muted);
  line-height: 1.7; text-align: center;
}
.trust-note a { color: var(--accent); text-decoration: none; }
.trust-note a:hover { text-decoration: underline; }

/* ===== 実際の検索結果サンプル ===== */
.sample-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.sample-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.sample-item summary {
  cursor: pointer; list-style: none; padding: 18px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.sample-item summary::-webkit-details-marker { display: none; }
.sample-item summary::after {
  content: "+"; font-size: 22px; color: var(--muted); font-weight: 400; flex-shrink: 0;
}
.sample-item[open] summary::after { content: "−"; }
.sample-item[open] summary { border-bottom: 1px solid var(--line-soft); }
.sample-q { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.sample-meta { font-size: 12px; color: var(--muted); white-space: nowrap; }
.sample-report { padding: 8px 22px 22px; }
.sample-report .report-body { font-size: 14px; line-height: 1.8; }
.sample-report .report-body h2 { font-size: 17px; margin: 22px 0 10px; }
.sample-report .report-body h3 { font-size: 15px; margin: 16px 0 6px; }
.sample-foot { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); text-align: center; }
/* 引用注（上付きの出典番号） */
sup.cite { font-size: 11px; margin: 0 1px; }
sup.cite a {
  color: var(--accent); text-decoration: none; font-weight: 600;
  border-bottom: none; padding: 0 2px; border-radius: 4px;
}
sup.cite a:hover { background: var(--accent-soft); }

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .trust-grid { grid-template-columns: 1fr; }
  .sample-item summary { flex-wrap: wrap; gap: 4px 14px; }
  .sample-meta { width: 100%; }
  .sample-report { padding: 8px 16px 18px; }
  .lp-hero { padding: 56px 0 44px; }
  .lp-hero h1 { font-size: 28px; }
  .lp-hero p.lead { font-size: 15px; }
  .lp-section { padding: 48px 0; }
  .section-title { font-size: 22px; }
  .value-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .vs-compare { grid-template-columns: 1fr; }
  .vs-arrow { transform: rotate(90deg); }
  .vector-explain { padding: 24px 18px; }
  .final-cta { padding: 36px 22px; }
  .flow-grid { grid-template-columns: 1fr 1fr; }
  .company-row { grid-template-columns: 90px 1fr; gap: 8px; }
  .contact-box { padding: 24px 18px; }
}
