/* heading */
.webform-submission-form .fieldset__legend:is(.h2, .h3, .h4) .fieldset__label {
  font-weight: normal !important;
}

/* required */
.webform-submission-form .form-item__label.form-required:not(.option)::after,
.webform-submission-form .fieldset__label.form-required::after,
.webform-submission-form .required-mark::after {
  content: "*";
  background-image: none;
  width: auto;
  height: auto;
  color: var(--color--red);
  vertical-align: middle;
  white-space: nowrap;
}

/* description */
.webform-submission-form .form-item__description {
  margin-top: 1em;
  max-width: 100%;
  font-size: 1rem;
}
.webform-element-description {
  font-size: 1rem !important;
  line-height: 1.5 !important;
}
.webform-element-description p {
  width: 100% !important;
}

/* step2 */
#edit-actions-inquiry::after {
  content: '※Click the "Check entered information" button once, and wait to be transferred to the confirmation page.';
  white-space: pre-line;
  display: block;
  flex-basis: 100%;
  font-size: 1rem;
  margin-top: 3rem;
}

/* step3 */
.webform-preview ~ .form-actions::before {
  content: "※Please review the information you have entered, and if everything is correct, click the 'Submit' button.";
  white-space: pre-line;
  display: block;
  flex-basis: 100%;
  font-size: 1rem;
  margin-bottom: 3rem;
}
.webform-preview ~ .form-actions::after {
  content: '※Click the "Submit" button once, and wait to be transferred to the confirmation page.';
  white-space: pre-line;
  display: block;
  flex-basis: 100%;
  font-size: 1rem;
  margin-top: 3rem;
}

/* step4 */
.webform-confirmation a.btn .ico_window {
  display: none !important;
}

/* visa_year, hikkoshi_year */
.form-item-visa-year.form-item .container-inline.form-items-inline,
.form-item-visa-year .container-inline .form-item,
.form-item-hikkoshi-year.form-item .container-inline.form-items-inline,
.form-item-hikkoshi-year .container-inline .form-item {
  display: contents;
}
.form-item-visa-year select,
.form-item-hikkoshi-year select {
  flex: 1 1 0%;
  width: auto;
  min-width: 0;
}