.p-hubspot-inquiries-contents {
  padding: 0 0 5.3rem
}

.p-hubspot-inquiries-contents__lead {
  font-weight: 500;
  font-size: 1.6rem;
  text-align: center
}

.p-hubspot-inquiries-contents__form {
  max-width: 100rem;
  margin: 3rem auto
}

.p-hubspot-inquiries-contents__form fieldset {
  margin-top: 3rem !important
}

.p-hubspot-inquiries-contents__form fieldset:first-child {
  margin-top: 0 !important
}

.p-hubspot-inquiries-contents__form fieldset .hs-form-field {
  margin-top: 0 !important
}

.p-hubspot-inquiries-contents__form .hs-form-field {
  margin-top: 3rem !important
}

.p-hubspot-inquiries-contents__form .hs-form-field:first-child {
  margin-top: 0 !important
}

.p-hubspot-inquiries-contents__form .fieldset.form-columns-2 {
  -moz-column-gap: .8rem;
  display: flex;
  column-gap: .8rem
}

.p-hubspot-inquiries-contents__form .fieldset.form-columns-2 .hs-form-field {
  width: 100%
}

.p-hubspot-inquiries-contents__form .hs-form-field {
  display: flex;
  flex-direction: column
}

.p-hubspot-inquiries-contents__form .hs-form-field>label {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  margin-bottom: .8rem !important;
  font-weight: 700 !important;
  font-size: 1.6rem !important
}

.p-hubspot-inquiries-contents__form .hs-form-field>label .hs-form-required {
  margin-left: .8rem !important;
  color: rgba(0, 0, 0, 0) !important;
  font-size: 0 !important
}

.p-hubspot-inquiries-contents__form .hs-form-field>label .hs-form-required::before {
  display: inline-block !important;
  padding: .5rem .6rem !important;
  border-radius: .5rem !important;
  background: #18191f !important;
  content: "必須" !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  letter-spacing: normal !important
}

.p-hubspot-inquiries-contents__form .hs-form-field>label:not(:has(.hs-form-required))::after {
  display: inline-block !important;
  margin-left: .8rem !important;
  padding: .5rem .6rem !important;
  border-radius: .5rem !important;
  background: #c9c7c5 !important;
  content: "任意" !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  line-height: 1 !important
}

.p-hubspot-inquiries-contents__form .hs-input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=image]) {
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box !important;
  appearance: none;
  width: 100% !important;
  min-height: 4.5rem !important;
  padding: 1rem 1.6rem !important;
  border: solid .1rem #75949d !important;
  border-radius: .5rem !important;
  background-color: #fff !important;
  font-size: 1.6rem !important;
  font-family: inherit
}

.p-hubspot-inquiries-contents__form .hs-input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=image])::-moz-placeholder {
  color: #c9c7c5;
  font-weight: 700
}

.p-hubspot-inquiries-contents__form .hs-input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=image])::placeholder {
  color: #c9c7c5;
  font-weight: 700
}

.p-hubspot-inquiries-contents__form textarea.hs-input {
  min-height: 10em !important;
  resize: vertical
}

.p-hubspot-inquiries-contents__form .hs-fieldtype-textarea.hs-input:not([type=file]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=image]) {
  min-height: 20rem !important;
  resize: vertical
}

.p-hubspot-inquiries-contents__form .hs-error-msgs {
  margin: .4rem 0 0;
  padding: 0;
  list-style: none
}

.p-hubspot-inquiries-contents__form .hs-error-msgs label {
  color: red;
  font-weight: 700;
  font-size: 1.4rem
}

.p-hubspot-inquiries-contents__form .inputs-list {
  margin: .8rem 0 0;
  padding: 0;
  list-style: none
}

.p-hubspot-inquiries-contents__form .inputs-list li {
  margin-bottom: .8rem
}

.p-hubspot-inquiries-contents__form .inputs-list label {
  display: inline-flex;
  align-items: center;
  font-weight: normal;
  font-size: 1.6rem;
  cursor: pointer
}

.p-hubspot-inquiries-contents__form .inputs-list label input[type=checkbox],
.p-hubspot-inquiries-contents__form .inputs-list label input[type=radio] {
  display: none !important
}

.p-hubspot-inquiries-contents__form .inputs-list label span:not(.hs-mandatory-indicator) {
  display: inline-block;
  position: relative;
  padding-left: 2.8rem;
  line-height: 1.4
}

.p-hubspot-inquiries-contents__form .inputs-list label span:not(.hs-mandatory-indicator)::before {
  box-sizing: border-box;
  position: absolute;
  top: 50%;
  left: 0;
  width: 1.8rem;
  height: 1.8rem;
  transform: translateY(-50%);
  border: solid .1rem #18191f;
  border-radius: .2rem;
  background-color: #fff;
  content: ""
}

.p-hubspot-inquiries-contents__form .inputs-list label span:not(.hs-mandatory-indicator)::after {
  position: absolute;
  position: absolute;
  top: 50%;
  left: 0.5rem;
  width: .8rem;
  height: 1.4rem;
  transform: translateY(-50%) rotate(-320deg);
  border: solid #18191f;
  border-width: 0 .4rem .4rem 0;
  content: "";
  opacity: 0;
  transition: opacity .2s
}

.p-hubspot-inquiries-contents__form .inputs-list label input:checked+span::after,
.p-hubspot-inquiries-contents__form .inputs-list label input:checked~span::after {
  opacity: 1
}

.p-hubspot-inquiries-contents__form .legal-consent-container {
  margin-top: 3rem !important;
  line-height: 1.5
}

.p-hubspot-inquiries-contents__form .legal-consent-container .inputs-list label span:not(.hs-mandatory-indicator) {
  font-weight: 700 !important;
  font-size: 1.8rem !important
}

.p-hubspot-inquiries-contents__form .hs-form-booleancheckbox .hs-form-booleancheckbox-display .hs-form-required {
  margin-left: .8rem !important;
  color: rgba(0, 0, 0, 0) !important;
  font-size: 0 !important
}

.p-hubspot-inquiries-contents__form .hs-form-booleancheckbox .hs-form-booleancheckbox-display .hs-form-required::before {
  display: inline-block !important;
  min-width: 4.4rem;
  min-height: 2.4rem;
  padding: .5rem .6rem !important;
  transform: translate(0.4rem, -1.8rem);
  border-radius: .5rem !important;
  background: #18191f !important;
  content: "必須" !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  line-height: 1 !important;
  letter-spacing: normal !important
}

.p-hubspot-inquiries-contents__form .hs_recaptcha {
  margin-top: 2rem
}

.p-hubspot-inquiries-contents__form .hs_submit {
  display: flex !important;
  justify-content: center !important;
  margin-top: 6rem !important
}

.p-hubspot-inquiries-contents__form .hs_submit .actions {
  display: inline-block !important;
  position: relative !important
}

.p-hubspot-inquiries-contents__form .hs_submit .actions::before {
  z-index: 2 !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  content: "送信" !important;
  color: #18191f !important;
  font-weight: 500 !important;
  font-size: 1.8rem !important;
  pointer-events: none !important;
  transition: color .3s, font-weight .3s !important
}

.p-hubspot-inquiries-contents__form .hs_submit .actions::after {
  z-index: 2 !important;
  position: absolute !important;
  top: 50% !important;
  right: 3.2rem !important;
  width: .7rem !important;
  height: .7rem !important;
  transform: translateY(-50%) !important;
  border-radius: 100% !important;
  background: #18191f !important;
  content: "" !important;
  pointer-events: none !important;
  transition: all .3s !important
}

.p-hubspot-inquiries-contents__form .hs_submit .actions:hover::before {
  color: #fff !important;
  font-weight: 700 !important
}

.p-hubspot-inquiries-contents__form .hs_submit .actions:hover::after {
  background: #fff !important
}

.p-hubspot-inquiries-contents__form .hs_submit input[type=submit] {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  box-sizing: border-box !important;
  display: inline-block !important;
  appearance: none !important;
  min-width: 28rem !important;
  height: 6rem !important;
  padding: 0 !important;
  border: solid .1rem #18191f !important;
  border-radius: 3rem !important;
  background: #fff !important;
  color: rgba(0, 0, 0, 0) !important;
  cursor: pointer !important;
  transition: all .3s !important
}

.p-hubspot-inquiries-contents__form .hs_submit .actions:hover input[type=submit] {
  background-color: #18191f !important;
}

/* iframe自体の幅を100%に上書きする */
.p-hubspot-inquiries-contents__form .hs_recaptcha iframe[title="reCAPTCHA"] {
  width: 100% !important;
}

.p-hubspot-inquiries-contents__form .hs_recaptcha .grecaptcha-badge {
  width: 25.5rem !important;
}