/* ================================================================
   estimate.css — 法人向け見積書UI
   Bootstrap 5と共存。BtoB感・信頼感・シンプルを基調とする
================================================================ */

/* ── 見積CTAブロック（商品ページ埋め込み） ───────────────────── */
.estimate-cta-block {
  margin: 16px 0 0;
  padding: 14px 12px 10px;
  border: 1px solid #d0d8e4;
  border-radius: 6px;
  background: #f7f9fc;
}

.estimate-cta-divider {
  text-align: center;
  position: relative;
  margin-bottom: 10px;
  font-size: 11px;
  color: #6c757d;
}
.estimate-cta-divider::before,
.estimate-cta-divider::after {
  content: '';
  display: inline-block;
  width: 28%;
  height: 1px;
  background: #ccd3db;
  vertical-align: middle;
  margin: 0 6px;
}

.estimate-cta-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: #2c4a7c;
  color: #fff !important;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.15s;
  border: none;
}
.estimate-cta-btn:hover {
  background: #1a3a6b;
  color: #fff !important;
}
.estimate-cta-icon { margin-right: 4px; font-size: 14px; }

.estimate-cta-notes {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
}
.estimate-cta-notes li {
  font-size: 10.5px;
  color: #5a6a7a;
  line-height: 1.8;
}

/* ── 見積フォームページ ─────────────────────────────────────── */
.estimate-body {
  background: #f0f3f7;
  min-height: 100vh;
  padding-bottom: 40px;
}

.estimate-wrap {
  max-width: 960px;
  padding-top: 28px;
}

/* ── ページヘッダ ── */
.estimate-page-header {
  background: #fff;
  border-radius: 8px;
  padding: 20px 24px 16px;
  margin-bottom: 16px;
  border-left: 4px solid #2c4a7c;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.estimate-logo { margin-bottom: 6px; }
.estimate-page-title {
  font-size: 20px;
  font-weight: bold;
  color: #1a3a6b;
  margin-bottom: 4px;
}
.estimate-page-sub { font-size: 13px; color: #6c757d; margin: 0; }

/* ── 法人安心訴求バナー ── */
.estimate-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: #1a3a6b;
  color: #fff;
  border-radius: 6px;
  padding: 12px 20px;
  margin-bottom: 20px;
}
.estimate-trust-item {
  font-size: 12.5px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
}
.trust-icon { color: #7ecb9b; font-size: 14px; }

/* ── 商品カード ── */
.estimate-product-card {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  margin-bottom: 12px;
}
.estimate-product-label {
  font-size: 11px;
  color: #2c4a7c;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  border-bottom: 1px solid #e5eaf0;
  padding-bottom: 6px;
}
.estimate-product-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 4px;
  background: #fafafa;
}
.estimate-product-name {
  font-size: 13px;
  font-weight: bold;
  color: #222;
  margin-bottom: 4px;
  line-height: 1.5;
}
.estimate-product-sku {
  font-size: 11px;
  color: #888;
  margin-bottom: 8px;
}
.estimate-product-price { margin-bottom: 6px; }
.price-label { font-size: 11px; color: #888; margin-right: 6px; }
.price-value { font-size: 16px; font-weight: bold; color: #c00; }
.price-ask   { font-size: 12px; color: #888; }
.estimate-product-nouki { margin-bottom: 10px; }
.estimate-back-link { text-align: right; }

/* ── サイドメモ ── */
.estimate-side-note {
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 12px;
}

/* ── フォーム ── */
.estimate-form {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.estimate-form-section {
  margin-bottom: 24px;
}
.estimate-form-section-title {
  font-size: 13px;
  font-weight: bold;
  color: #2c4a7c;
  border-bottom: 2px solid #d0d8e4;
  padding-bottom: 6px;
  margin-bottom: 14px;
}
.estimate-label { font-size: 13px; font-weight: bold; margin-bottom: 4px; }

/* ── 送信ボタン ── */
.estimate-submit-area { text-align: center; margin-top: 8px; }
.estimate-submit-btn {
  background: #2c4a7c;
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  padding: 12px 40px;
  border-radius: 6px;
  border: none;
  transition: background 0.15s;
  letter-spacing: 0.5px;
  width: 100%;
  max-width: 360px;
}
.estimate-submit-btn:hover { background: #1a3a6b; color: #fff; }
.estimate-submit-note {
  font-size: 11px;
  color: #888;
  margin-top: 8px;
  line-height: 1.7;
}

/* ── フッター ── */
.estimate-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 12px;
  color: #aaa;
}

/* ── レスポンシブ ── */
@media (max-width: 767px) {
  .estimate-trust-bar   { flex-direction: column; gap: 6px; }
  .estimate-trust-item  { font-size: 12px; }
  .estimate-page-title  { font-size: 16px; }
  .estimate-submit-btn  { max-width: 100%; }
  .estimate-form        { padding: 16px; }
}
