/* HubSpot v2 forms, styled to the site (navy #0F2439). Handed into the HubSpot iframe by StudioLayout (`.hs-legacy-form` -> iframe body). */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;600&display=swap");
.hs-legacy-form {
  --form-navy: #0F2439;
  --form-line: #C9D1DA;
  --form-muted: #5B6B7C;
  width: 100%;
  margin: 0;
  font-family: -apple-system, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  color: var(--form-navy);
  text-align: left;
}
.hs-legacy-form form { display: flex; flex-direction: column; gap: 20px; }
.hs-legacy-form fieldset { max-width: none !important; border: 0; margin: 0; padding: 0; }
.hs-legacy-form .hs-form-field { margin: 0; }
.hs-legacy-form .hs-form-field > label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
}
.hs-legacy-form .hs-form-required { margin-left: 6px; color: #C0392B; }
.hs-legacy-form .input { margin: 0 !important; }
.hs-legacy-form input.hs-input:not([type=checkbox]):not([type=radio]),
.hs-legacy-form select.hs-input,
.hs-legacy-form textarea.hs-input {
  box-sizing: border-box;
  width: 100% !important;
  height: auto;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid var(--form-line);
  border-radius: 4px;
  background: #fff;
  color: var(--form-navy);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
  transition: border-color .15s, box-shadow .15s;
}
.hs-legacy-form select.hs-input {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--form-navy) 50%), linear-gradient(135deg, var(--form-navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.hs-legacy-form textarea.hs-input { min-height: 160px; resize: vertical; }
.hs-legacy-form .hs-input:focus {
  outline: none;
  border-color: var(--form-navy);
  box-shadow: 0 0 0 3px rgba(15, 36, 57, 0.12);
}
.hs-legacy-form .hs-input.invalid.error { border-color: #C0392B; }
.hs-legacy-form .hs-error-msgs { list-style: none; margin: 6px 0 0; padding: 0; }
.hs-legacy-form .hs-error-msg, .hs-legacy-form .hs-main-font-element { color: #C0392B; font-size: 12px; }
.hs-legacy-form .legal-consent-container, .hs-legacy-form .hs-richtext { font-size: 12px; color: var(--form-muted); line-height: 1.7; }
.hs-legacy-form .hs_submit { margin-top: 12px; text-align: center; }
.hs-legacy-form .hs-button {
  appearance: none;
  min-width: 240px;
  padding: 16px 40px;
  border: 1px solid var(--form-navy);
  border-radius: 999px;
  background: var(--form-navy);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.hs-legacy-form .hs-button:hover { background: #fff; color: var(--form-navy); }
.hs-legacy-form .submitted-message { padding: 32px 0; text-align: center; font-size: 15px; line-height: 1.8; }
