/* 自社フォームの見た目（HubSpot の置き換え）。色はサイトの紫（#6359B4）に合わせる */
.pf-form { --pf-accent: #6359b4; --pf-line: #dcdaf0; --pf-text: #333; --pf-err: #c0392b;
  display: flex; flex-direction: column; gap: 22px; width: 100%; box-sizing: border-box;
  font-family: 'Noto Sans JP', sans-serif; color: var(--pf-text); font-size: 15px; line-height: 1.7; text-align: left; }
.pf-form * { box-sizing: border-box; }
.pf-lead { margin: 0; font-size: 14px; }
.pf-field { display: flex; flex-direction: column; gap: 8px; }
.pf-label { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.pf-req, .pf-opt { font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 3px; line-height: 1.6; }
.pf-req { background: var(--pf-accent); color: #fff; }
.pf-opt { background: #eee; color: #777; }
.pf-input { width: 100%; padding: 12px 14px; border: 1px solid var(--pf-line); border-radius: 6px; background: #fff;
  font: inherit; color: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
.pf-input:focus { border-color: var(--pf-accent); box-shadow: 0 0 0 3px rgba(99,89,180,.15); }
.pf-textarea { resize: vertical; min-height: 140px; }
.pf-select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f549f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.pf-choices { display: flex; flex-direction: column; gap: 8px; }
.pf-choices--grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.pf-choice { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.pf-choice input { margin: 4px 0 0; width: 18px; height: 18px; accent-color: var(--pf-accent); flex: 0 0 auto; }
.pf-choice a { color: var(--pf-accent); text-decoration: underline; }
.pf-note { margin: 0; font-size: 12px; color: #777; }
.pf-error, .pf-submit-error { margin: 0; font-size: 13px; color: var(--pf-err); min-height: 0; }
.pf-error:empty, .pf-submit-error:empty { display: none; }
.pf-field.is-invalid .pf-input { border-color: var(--pf-err); }
.pf-field[hidden] { display: none; }
.pf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pf-consent { align-items: center; }
.pf-turnstile { display: flex; justify-content: center; }
.pf-submit { align-self: center; min-width: 260px; padding: 16px 32px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--pf-accent); color: #fff; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .05em; transition: opacity .15s; }
.pf-submit:hover { opacity: .85; }
.pf-submit[disabled] { opacity: .5; cursor: wait; }
@media (max-width: 540px) {
  .pf-choices--grid { grid-template-columns: 1fr; }
  .pf-submit { width: 100%; min-width: 0; }
}
