.mb-10{
    margin: 0 0 10px 0;
}
.mb-3 {
    margin-bottom: 0 !important;
}
.layout-main-wrapper {
    max-width: 1140px;
    margin: 20px auto 70px auto;
}
.js-webform-radios {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
span.fieldset-legend.js-form-required.form-required {
    display: block;
    font-weight: bold;
}
.description,
#edit-mail-discription{
  --bs-text-opacity: 1;
  color: #6c757d !important;
}
.description,
#edit-information-guidance-services--wrapper-legend{
  margin-bottom: 1em;
}

.mb-3.fieldgroup:first-of-type {
    margin-bottom: 0 !important;
}
.js-form-item-email label{
  /* margin: 60px 0 0px 0; */
  font-weight: bold;
}
div#edit-note-text-01 div{
  margin: 60px 0 40px 0;
}
legend {
    margin-bottom: 0.5em;
}
.js-form-item-q17-other,
.q10_other{
    margin: 1.5rem 0 0 0 !important;
}
.js-form-item-q12,
.form-item-good-bad-point,
.mb-3.fieldgroup,
.js-form-item-requests,
.form-item-q6,
.form-item-q16,
.form-item-q19 {
    margin: 2.5rem 0 0 0 !important;
}
label[for="edit-q12"],
label[for="edit-q17-others"]{
   margin-top: 2.5rem !important;
}
fieldset#edit-smooth--wrapper {
  margin: 0.5em 0 0 0 !important;
}

.webform-scale-options input:checked + label,
.webform-scale-options input:checked + strong + label{
  color: #c03;
  border-color: #c03;
}
.webform-scale-options input:checked:focus + label {
  box-shadow: 0 0 5px #c03;
}
.error.form-item--error-message {
  color: #bc2739;
  font-weight: bold;
  position: absolute;
  bottom: -16px;
  left: 0px;
}
strong#edit-email-error {
  bottom: -45px;
}
strong#campaign_policy_checkbox-error {
  bottom: -30px;
}
strong#edit-q6-error,
strong#edit-q16-error,
strong#edit-q19-error {
  bottom: -25px;
}

.webform-scale-options input + strong + label {
  width: 36px;
  height: 36px;
  margin: 0;
  text-align: center;
  color: #666;
  border: 3px solid #ccc;
  border-radius: 50%;
  background-color: #fff;
  font-size: 1.2em;
  line-height: 36px;
}
.webform-scale-medium input + label,
.webform-scale-medium input + strong + label {
  width: 40px;
  height: 40px;
}
.mb-3.js-form-item-q7-other {
  position: relative;
  display: block;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem !important;
  padding-bottom: 16px;
}
fieldset,
.form-type-textfield,
.js-form-item-email,
div#edit-flexbox,
.form-type-textarea{
  position: relative;
}
strong#edit-q1-others-error,
strong#edit-q2-others-error,
strong#edit-q3-other-error{
  position:inherit;
  padding-top: 5px;
}
.js-form-item-company .error.form-item--error-message,
.js-form-item-sales-people-name .error.form-item--error-message,
.js-form-item-mail .error.form-item--error-message,
.form-type-textfield .error.form-item--error-message{
  position: inherit;
  bottom: inherit;
}
.form-textarea-wrapper,
.form-type-textfield,
.form-item-phone-number,
.form-item-mail{
  width: 70%;
}
.js-form-item-phone-number ~ .error.form-item--error-message {
  position: inherit;
  left: inherit;
  bottom: inherit;
  top: -15px;
}
.webform-scale-options {
  display: flex;
  flex-wrap: wrap;
}
.webform-submission-form .webform-scale-options .js-form-item label {
  margin-bottom: 0.5em !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
strong#other_services_introduced\[rd1\]-error {
  bottom: 0;
}
#edit-actions{
  margin-bottom: 3.8em !important;
}
.mb-3.js-form-item-mail {
  margin-bottom: 0 !important;
}
label[for="edit-q1-others"], 
label[for="edit-q2-others"], 
label[for="edit-q3-other"] {
  display: none;
}

.category {
  border-left: solid #cc0033 4px;
  padding: 20px 25px;
  margin: 40px 0 20px;
  background: #fafafa;
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category p {
  margin: 0;
}
.category .title{
  font-weight: bold;
}
.category .count {
  background: #d9d9d9;
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.9em;
}
.notice p {
  color: #6c757d;
  border-left: solid #cfcfcf 4px;
  padding: 20px 25px;
  margin: 40px 0 50px 0px;
  background: #FAFAFA;
}

#edit-actions-submit {
  border-radius: 10px;
  font-weight: bold;
  font-size: 18px;
}
label.form-check-label.js-form-required.form-required {
  border: none;
  padding: 0;
  transition: none;
  border-radius: unset;
  font-weight: 100;
  font-size: 20px;
}

input#edit-campaign-policy-checkbox {
  width: 1.5em;
  height: 1.5em;
}
svg.ext {
  width: 14px;
  height: 14px;
  padding-right: 0.2em;
  fill: #727272;
  font-weight: 900;
  margin: 0 0 0 5px;
}
#edit-flexbox .webform-flex.webform-flex--1:first-child {
  width: 10%;
  flex: 0.03;
}
#edit-flexbox {

  display: flex;
}
a.hover-item--link {
  color: #bc2739;
}
#edit-actions-submit.is-disabled {
  pointer-events: none;
  cursor: not-allowed;
  border: none;
  background: #e5e5e5;
  color: #7d7d7d;
  opacity: 1;
}
.main-heading--left-border::before{
  display:none;
}
.main-heading.main-heading--left-border {
  border-bottom: 3px solid black;
  margin: 60px 0 0px 0;
  font-size: 35px;
  padding: 0 0 8px 0;
}
label[for="edit-good-bad-point"],
label[for="edit-requests"],
.form-type-textarea label,
#edit-information-guidance-services--wrapper-legend span{
  font-weight: bold;
}

.js-webform-states-hidden.webform-type-textarea {
  margin: 20px 0 0 0;
}


@media screen and (max-width: 768px){
  .webform-scale-text-min:after {
    display: block;
    position: absolute;
    content: "";
    right: -19em;
    width: auto;
    top: 0px;
   }
  .form-textarea-wrapper,
  .form-type-textfield,
  .form-item-phone-number,
  .form-item-mail{
    width: 100%;
  }
}
/*完了画面*/
.send_comp_msg{
  margin: 80px auto 1em 28%;
  width: 50%;
}
@media screen and (max-width:767px) {
  .send_comp_msg{
    width: 85%;
    margin: 70px auto 0;
  }
  .main-heading.main-heading--left-border{
    font-size: 30px;
  }
  input#edit-campaign-policy-checkbox{
    margin-right: 5px;
  }
  strong#edit-email-error{
    bottom: -95px;
  }
}
.finish_block .webform-confirmation__message p a{
  display: inline-block;
  min-width: 10em;
  padding: 1em 2.5em;
  -webkit-user-select: none;
  user-select: none;
  transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  word-break: break-word;
  color: #fff;
  border: 1px solid #c03;
  border-radius: 3px;
  background-color: #c03;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
}
.finish_block a:hover{
  opacity: 0.7;
  color: #fff;
}

.finish_block .webform-confirmation__message p:nth-child(3) a{
  display: inline-block;
  min-width: 10em;
  padding: 1em 2.5em;
  -webkit-user-select: none;
  user-select: none;
  transition: color 0.15s ease-in-out,background-color 0.15s ease-in-out,border-color 0.15s ease-in-out,box-shadow 0.15s ease-in-out;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  word-break: break-word;
  color: #bc2739;
  border: 1px solid #bc2739;
  border-radius: 3px;
  background-color: #fff;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom:30px;
}
.confirm_bloc a:hover{
  opacity: 0.7;
  color: #fff;
}

.webform-element-type-hidden{
  display:none;
}


.webform-answer-progress {
  position: fixed;
  right: 24px;
  bottom: 94px;
  z-index: 9990;
  width: 220px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e2e5e8;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgb(0 0 0 / 12%);
  color: #333333;
  font-size: 14px;
  line-height: 1.5;
  box-sizing: border-box;
}

.webform-answer-progress__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.webform-answer-progress__label {
  font-weight: 600;
}

.webform-answer-progress__percentage {
  color: #16856b;
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.webform-answer-progress__track {
  width: 100%;
  height: 8px;
  overflow: hidden;
  background: #e9ecef;
  border-radius: 999px;
}

.webform-answer-progress__bar {
  width: 0;
  height: 100%;
  background: #16856b;
  border-radius: inherit;
  transition: width 0.25s ease;
}

.webform-answer-progress__count {
  margin-top: 10px;
  color: #666666;
  font-size: 12px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.webform-answer-progress.is-complete
.webform-answer-progress__percentage {
  color: #16856b;
}

@media screen and (max-width: 767px) {
  .webform-answer-progress {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 180px;
    padding: 12px;
    border-radius: 10px;
  }

  .webform-answer-progress__header {
    margin-bottom: 8px;
  }

  .webform-answer-progress__percentage {
    font-size: 18px;
  }

  .webform-answer-progress__track {
    height: 6px;
  }

  .webform-answer-progress__count {
    margin-top: 8px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .webform-answer-progress__bar {
    transition: none;
  }
}
