/* ==========================================================================
   lp.css — 広告の着地用ページ（lp/ 以下）専用
   --------------------------------------------------------------------------
   style.css → refine.css の後に読み込む。<body class="lp"> のページにだけ効く。
   色・文字は refine.css のトークン（--x-*）をそのまま使う。
   ========================================================================== */

/* 1画面に収まる情報を増やすため、セクションの上下余白をサイト本体（150px）より詰める */
.lp .section { padding: 104px 0; }
.lp .section-title { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }

/* --- ヘッダーの電話番号 --- */
.lp-header-tel {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--x-head);
  white-space: nowrap;
}
.lp-header-tel:hover { color: var(--x-accent); }

/* --- ファーストビュー --- */
.lp-hero {
  padding: 168px 0 88px;
  background: var(--x-bg);
  border-bottom: 1px solid var(--x-line);
}
.lp-hero-title {
  margin-top: 22px;
  font-size: clamp(1.9rem, 4.6vw, 3.5rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}
/* 見出しを文節の途中で折り返させない（スマホ幅で「引／き継ぎます」になるのを防ぐ） */
.lp-nb { display: inline-block; }
.lp-hero-lead {
  margin-top: 28px;
  max-width: 42em;
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.95;
  color: var(--x-body);
}
.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}
.lp-hero-note {
  margin-top: 18px;
  font-size: 0.84rem;
  line-height: 1.8;
  color: var(--x-dim);
}

.lp-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 64px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--x-line);
}
.lp-trust li { padding-top: 22px; }
.lp-trust b {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--x-head);
}
.lp-trust span {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--x-dim);
}

/* --- 4枚のカード（ご相談のきっかけ） --- */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 64px;
  margin-top: 56px;
  border-top: 1px solid var(--x-line);
}
.lp-card {
  padding: 30px 0;
  border-bottom: 1px solid var(--x-line);
}
.lp-card h3 {
  font-size: clamp(1.15rem, 1.9vw, 1.4rem);
  margin-bottom: 10px;
}
.lp-card p {
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--x-body);
}

/* --- セクション末尾のつなぎ文 --- */
.lp-bridge {
  margin-top: 44px;
  max-width: 46em;
  font-size: 1rem;
  line-height: 1.95;
  color: var(--x-body);
}
.lp-bridge b {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--x-head);
}

.lp-inline-cta { margin-top: 52px; }

/* --- 7項目の表 --- */
.lp-table-wrap { margin-top: 52px; }
.lp-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--x-line-strong);
  text-align: left;
}
.lp-table thead th {
  padding: 14px 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--x-dim);
  border-bottom: 1px solid var(--x-line);
}
.lp-table tbody th,
.lp-table tbody td {
  padding: 22px 0;
  vertical-align: top;
  border-bottom: 1px solid var(--x-line);
  line-height: 1.85;
}
.lp-table tbody th {
  width: 15em;
  padding-right: 28px;
  font-family: var(--font-head);
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--x-head);
}
.lp-table tbody th span {
  display: inline-block;
  width: 2em;
  color: var(--x-accent);
}
.lp-table tbody td {
  font-size: 0.96rem;
  color: var(--x-body);
}

/* --- 4ステップ --- */
.lp-steps {
  margin: 56px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--x-line);
}
.lp-steps li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--x-line);
}
.lp-step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
  color: var(--x-accent);
}
.lp-steps h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  margin-bottom: 12px;
}
.lp-steps p {
  max-width: 46em;
  font-size: 0.98rem;
  line-height: 1.9;
  color: var(--x-body);
}

/* benefit の見出しはトップページ用の大きさなので、このページでは一段小さく */
.lp .benefit { padding: 36px 0; }
.lp .benefit-body h3 { font-size: clamp(1.25rem, 2.3vw, 1.7rem); }
.lp .benefit-list { margin-top: 56px; }

/* プランカードは相談ボタンを置かないので、リスト下の余白を消す */
.lp .plan-card .check-list { margin-bottom: 0; }

/* --- セキュリティLP: サポート期限の表 --- */
.lp-table-deadline tbody th { width: 18em; }
.lp-table-deadline td b { color: #b42318; font-weight: 700; }

/* 無料診断の帯を、表との間をあけて置く */
.lp .check-banner { margin-top: 52px; }

/* プラン・選ばれる理由・仕様表の、見出しとの間隔 */
.lp-plans, .lp-proof { margin-top: 40px; }
.lp .spec-table { margin-top: 40px; }
.lp .security-approach { margin-top: 40px; }
.lp .quick-grid { margin-top: 48px; }

@media (max-width: 1180px) {
  /* ハンバーガー表示の幅では、電話番号は追従CTAとファーストビューに任せる */
  .lp-header-tel { display: none; }
}

@media (max-width: 860px) {
  .lp .section { padding: 76px 0; }
  .lp-hero { padding: 124px 0 64px; }
  .lp-hero-title { font-size: clamp(1.6rem, 6.6vw, 2.6rem); }
  .lp-hero-actions .btn { width: 100%; justify-content: center; }
  .lp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .lp-trust li { padding: 18px 0 4px; }
  .lp-cards { grid-template-columns: 1fr; margin-top: 40px; }
  .lp-steps li { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .lp-step-num { font-size: 1.5rem; }

  /* 表は項目名と内容を縦に積む */
  .lp-table thead { display: none; }
  .lp-table tbody tr { display: block; padding: 20px 0; border-bottom: 1px solid var(--x-line); }
  .lp-table tbody th,
  .lp-table tbody td { display: block; width: auto; padding: 0; border: 0; }
  .lp-table tbody td { margin-top: 6px; }
}
