@charset "UTF-8";
/* 見積フォーム：Contact Form 7 が出す部品を、静的版のフォーム（lower.css）と同じ見た目にそろえる */
.est-form .wpcf7-form-control-wrap { display: block; }
.est-form .f-inline .wpcf7-form-control-wrap { display: inline-block; }
.est-form .f-inline .f-input--sm { width: 160px; }
.est-form .f-choices { padding-top: 0; }
.est-form .f-choices .wpcf7-form-control { display: flex; flex-wrap: wrap; gap: 10px 24px; padding-top: 8px; }
.est-form .wpcf7-list-item { margin: 0; }
.est-form .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 16px; line-height: 1.5; }
.est-form .wpcf7-list-item input { width: 20px; height: 20px; margin: 0; accent-color: var(--c-gold); }
.est-form .f-choice .wpcf7-list-item label { font-weight: 600; }
.est-form .f-choice .wpcf7-form-control-wrap { display: inline-block; }
.est-form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--c-red); }
.est-form .wpcf7-not-valid { border-color: var(--c-red) !important; }
.est-form .wpcf7-response-output { margin: 24px 0 0 !important; padding: 14px 18px !important; border: 1px solid var(--c-gold) !important; background: #fff; font-size: 15px; line-height: 1.7; text-align: center; }
.est-form .wpcf7 form.invalid .wpcf7-response-output, .est-form .wpcf7 form.failed .wpcf7-response-output { border-color: var(--c-red) !important; color: var(--c-red); }
.est-form .wpcf7-spinner { display: block; margin: 12px auto 0; }
.est-form__submit input[type="submit"] { min-width: 360px; padding: 24px 40px; border: 0; background: var(--c-red); box-shadow: 0 4px 9.4px rgba(0, 0, 0, .38); color: #fff; font-family: var(--f-mincho); font-weight: 700; font-size: 19px; line-height: 1.4; cursor: pointer; transition: background-color .2s, opacity .2s; -webkit-appearance: none; appearance: none; border-radius: 0; }
.est-form__submit input[type="submit"]:hover { background: var(--c-red-hover); }
.est-form__submit input[type="submit"]:disabled { opacity: .5; cursor: not-allowed; }
.est-form__submit { flex-direction: column; align-items: center; }
@media (max-width: 767px) {
  .est-form .f-inline .wpcf7-form-control-wrap { flex: 1; min-width: 0; }
  .est-form .f-inline .wpcf7-form-control-wrap:has(input[type="date"]) { flex: 1 1 100%; max-width: 100%; }
  .est-form .f-inline .wpcf7-form-control-wrap .f-input[type="date"] { width: 100%; max-width: 100%; }
  .est-form .f-inline .wpcf7-form-control-wrap .f-select { width: 100%; }
  .est-form .f-inline .f-input--sm { width: 100%; }
  .est-form__submit input[type="submit"] { min-width: 0; width: 100%; font-size: 17px; padding: 20px 16px; }
}
