/* 公開用のフォームのページだけで読む。HubSpot のフォームを、本番の /contact/ のフォームの見え方に寄せる。
   共通の common/css/form.css の後に読む（WORK-163、2026-11-17） */
.brand-form { margin-top:4rem; min-height:40rem; }
.brand-form .hs-form-field { margin-bottom:2.4rem; }
.brand-form .hs-form-field > label { display:block; font-size:1.5rem; font-weight:700; margin-bottom:.8rem; }
.brand-form .hs-form-required { color:#c8161d; margin-left:.4rem; }
.brand-form .hs-input:not([type="checkbox"]):not([type="radio"]) { background:#f2f4f5; border:1px solid #d9d9d9; font-size:1.6rem; max-width:100%; padding:1.2rem 1.6rem; width:100%; }
.brand-form textarea.hs-input { min-height:16rem; }
.brand-form .inputs-list { list-style:none; }
.brand-form .hs-form-checkbox label, .brand-form .hs-form-radio label, .brand-form .hs-form-booleancheckbox label { align-items:flex-start; display:flex; font-size:1.5rem; gap:.8rem; }
.brand-form .hs-error-msgs label { color:#c8161d; font-size:1.3rem; }
.brand-form .legal-consent-container { font-size:1.3rem; }
.brand-form .hs-submit { margin-top:4rem; text-align:center; }
.brand-form .hs-button { background:#231815; border-radius:10rem; color:#fff; cursor:pointer; font-size:1.6rem; font-weight:700; min-width:28rem; padding:1.8rem 4rem; text-align:center; }
@media screen and (max-width:767px) {
  /* 11/18 栗田さん: スマホでフォームが画面の端まで広がっていた。本番のスマホの本文の幅（31.5rem）にそろえる */
  .form-contact .brand-form { margin-left:auto; margin-right:auto; width:31.5rem; }
  .form-contact .form-contact__ttl { margin-left:auto; margin-right:auto; text-wrap:balance; width:31.5rem; word-break:keep-all; }
  .brand-form .hs-input:not([type="checkbox"]):not([type="radio"]) { font-size:16px; }
  .brand-form .hs-button { min-width:0; width:100%; }
}
