/* ========== 概算見積り（price.html） ==========
   Wix 版: 黄色ヒーロー「概算見積り」→ 中央 280px 幅の説明文＋工事種別セレクト＋㎡入力＋黒ボタン「入力後クリック」
   計算・モーダル表示は js/main.js（id: estimateForm / serviceDropdown / areaInput / estimateError / estimateModal ...）
*/
.price-sec { padding: var(--sec-pad) 0; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.price-card { background: #fff; border: 1px solid var(--ink); border-radius: 10px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08); }
.price-card-head { display: flex; align-items: center; gap: 12px; font-family: var(--font-kaku); font-weight: 700; font-size: 18px; margin-bottom: 22px; }
.price-card-head .eyebrow { display: inline-block; flex-shrink: 0; padding: 4px 10px; background: var(--yellow); font-size: 12px; letter-spacing: 0.16em; white-space: nowrap; }
.price-form .form-field .note { margin-top: 8px; }
.price-side .price-unit { margin-top: 28px; }
.price-steps { margin-top: 28px; display: grid; gap: 12px; }
.price-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.8; }
.price-steps .step { flex-shrink: 0; display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--black); color: #fff; font-family: var(--font-mono); font-weight: 900; font-size: 14px; }
.price-steps strong { display: block; font-family: var(--font-kaku); font-size: 15px; }
.price-side .btn-row { margin-top: 22px; }
.price-side .btn-row .btn { width: 100%; min-width: 0; }
.price-lead { font-size: var(--fs-lead); line-height: 1.95; }

.price-form { margin-top: var(--head-gap); }
.price-form .form-field { margin-bottom: 30px; }
.price-form .form-field label { font-size: 15px; }
.price-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  cursor: pointer;
  background: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E") right 8px center / 12px 7px no-repeat;
}
.price-form .area-wrap { display: flex; align-items: flex-end; gap: 10px; }
.price-form .area-wrap input { flex: 1; }
.price-form .area-wrap .unit { flex-shrink: 0; padding-bottom: 12px; font-size: 16px; font-weight: 500; }
.price-form input::placeholder { color: #a5a5a5; }
.price-form input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.price-form input[type="number"]::-webkit-outer-spin-button, .price-form input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-form .field-error { margin: -14px 0 22px; font-size: 14px; font-weight: 500; color: #c0392b; }
.price-form .form-submit { margin-top: 8px; }
.price-form .btn { min-width: 0; width: 100%; max-width: 420px; }

/* 目安単価（Wix には無い追加。data-added="単価表"） */
.price-unit { margin-top: var(--block-gap); }
.price-unit h2 {
  font-family: var(--font-kaku);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ink);
}
.unit-table { width: 100%; border-collapse: collapse; }
.unit-table th, .unit-table td { padding: 14px 8px; border-bottom: 1px solid #d9d9d9; font-size: 15px; line-height: 1.7; vertical-align: middle; }
.unit-table th { text-align: left; font-weight: 500; }
.unit-table td { text-align: right; white-space: nowrap; font-family: var(--font-kaku); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; }
.unit-table td small { font-family: var(--font-body); font-weight: 400; font-size: 13px; letter-spacing: 0.06em; margin-left: 2px; }
.price-unit .note { margin-top: 12px; }

/* 結果モーダル */
#estimateModal .modal-box { position: relative; }
#estimateModal .kind { margin-top: 18px; font-size: 16px; font-weight: 500; letter-spacing: 0.08em; }
#estimateModal .kind #estimateArea { margin-left: 10px; font-family: var(--font-kaku); font-weight: 700; }
#estimateModal .price { color: var(--ink); }
#estimateModal .price::after { content: ""; display: block; width: 48px; height: 3px; background: var(--yellow); margin: 14px auto 0; }
#estimateModal .btn-col { gap: 14px; }

@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-form .btn { max-width: 100%; }
  .unit-table th, .unit-table td { padding: 12px 4px; font-size: 14px; }
  .unit-table td { font-size: 16px; }
}
