/* ======================================
PRICE（完全確定・このHTML専用）
====================================== */

/* セクションヘッダー */
#price .lp-section-header {
  text-align: center;
}

/* リード */
#price .lp-section-lead {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  line-height: 2;
}

/* 図タイトル（3つのプラン） */
#price .lp-price-figure-title {
  font-weight: 700;
  text-align: center;
  margin-top: 48px;
  margin-bottom: 32px;
}

/* ===============================
グリッド
=============================== */
.lp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 768px) {
  .lp-price-grid {
    grid-template-columns: 1fr;
  }
}

/* ===============================
カード共通
=============================== */
.lp-price-card {
  position: relative;
  border: 1px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px 24px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* おすすめ */
.lp-price-card.is-recommended {
  background: #f3fbff;
  border-color: #0099cc;
}

/* バッジ */
.lp-price-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #0099cc;
  color: #fff;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 999px;
}

/* ===============================
見出し（高さ揃え）
=============================== */
.lp-price-catch {
  text-align: center;
  font-size: 14px;
  margin-bottom: 8px;
}

.lp-price-name {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  min-height: 3em;
  margin-bottom: 24px;
}

/* ===============================
価格（高さ揃え）
=============================== */
.lp-price-amount {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  min-height: 2.5em;
  margin-bottom: 8px;
}

.lp-price-tax {
  text-align: center;
  font-size: 12px;
  color: #777;
  min-height: 1.5em;
  margin-bottom: 24px;
}

/* ===============================
リスト
=============================== */
.lp-price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}

.lp-price-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 12px;
}

.lp-price-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #0099cc;
}

/* ===============================
下部ノート
=============================== */
.lp-price-note {
  border-top: 1px solid #ddd;
  padding-top: 16px;
  font-size: 14px;
  margin-top: auto;
}

/* ===============================
ボタン（共通ボタン使用）
=============================== */
.lp-price-actions {
  text-align: center;
  margin-top: 56px;
}

.lp-price-actions .btn {
  margin: 0 12px 16px;
}

/* 補足文 */
.lp-price-assurance {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-top: 16px;
}
/* ======================================
PRICE：金額まわり最終上書き（間隔・サイズ調整）
====================================== */

/* 金額と税込表記の間隔を詰める */
#price .lp-price-amount {
  margin-bottom: 4px !important;
}

#price .lp-price-tax {
  margin-top: 0 !important;
  margin-bottom: 20px !important;
}

/* 「内容に応じてお見積り」を少し小さく＆高さ揃え */
#price .lp-price-card.is-custom .lp-price-amount {
  font-size: 26px !important;   /* 通常32px → 少し小さく */
  margin-bottom: 20px !important;
  line-height: 1.4;
}

/* 金額エリアの最低高さを揃える（3カラム対策） */
#price .lp-price-amount,
#price .lp-price-tax {
  min-height: 1.6em;
}

/* 念のため：金額ブロック全体の余白を統一 */
#price .lp-price-card p {
  margin-left: auto;
  margin-right: auto;
}

#price .is-custom .lp-price-list {
  margin-top: 24px;
}


/* PRICE：リードは中央配置・文章は読みやすく */
#price .lp-section-lead {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* PRICE：図タイトル */
#price .lp-price-figure-title {
  margin-top: 48px;     /* リードから離す */
  margin-bottom: 32px;  /* 図に寄せる */
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

/* PRICE：ボタンは共通デザインを使う */
#price .btn {
  background: #fff !important;
  color: #0099cc !important;
  border: 2px solid #0099cc !important;
}

/* hover */
#price .btn:hover {
  background: #0099cc !important;
  color: #fff !important;
}

/* ======================================
PRICE：アクションボタン最終確定版
====================================== */

#price .lp-price-actions {
  display: flex;
  justify-content: center;
  gap: 32px;              /* ← 余裕を持たせる */
  margin-top: 56px;
}

/* 両ボタン完全同幅 */
#price .lp-price-actions .btn {
  width: 360px;           /* ← ここが基準 */
  padding: 18px 40px;     /* ← 右が窮屈に見えない */
  text-align: center;
  white-space: nowrap;    /* ← 1行固定 */
  box-sizing: border-box;
}

/* SP */
@media (max-width: 768px) {
  #price .lp-price-actions {
    flex-direction: column;
    gap: 16px;
  }

  #price .lp-price-actions .btn {
    width: 100%;
    max-width: 360px;
  }
}
