.js-form-item h2 {
    font-weight: bold;
    margin: 2em 0 1em 0;
    font-size: 18px;
}
.js-form-item h3 {
    font-weight: bold;
    margin: 1.1em 0 0.1em 0;
}
fieldset legend {
    margin-bottom: 1em;
}
.font-red{
  color: #c03;
}
.checkbox.mb-3{
  margin-bottom: 0.5rem!important;
}
.mb-10{
    margin: 0 0 10px 0;
}
.mb-30{
    margin: 0 0 30px 0;
}
.webform-element-description p {
    color: #272727;
}
.webform-element-description p:last-child {
    margin-bottom: 20px;
}
.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;
}
fieldset,
.form-type-textfield,
.js-form-type-textarea{
  position: relative;
}
.description{
  margin-bottom: 1em;
}
.form-item-good-bad-point,
.mb-3.fieldgroup,
.js-form-item-requests{
    margin: 2.5rem 0 0 0!important;
}
fieldset#edit-smooth--wrapper {
    margin: 0.5em 0 0 0;
}

#edit-actions{
  margin-bottom: 3.8em;
}
.error.form-item--error-message {
    color: #bc2739;
    font-weight: bold;
    bottom: -20px;
    left: 0px;
}
.c-dot li{
    position: relative;
    margin-top: 4px;
    padding-left: 0.8em;
}
.c-dot li::before {
    content: "・";
    margin: 0 0 0 -1em;
}
ul.c-dot2 {
  padding-left: 1em;
}

/*完了画面のボタン　ホームに戻る　赤枠*/
.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;
}
.webform-preview .form-item-q16,
.webform-preview .form-item-q17{
  margin: 0 0 1rem 0!important;
}
.form-item-kiyanpengui-yue-nitong-yi-simasu{
    justify-self: center;
    font-weight: bold;
    margin: 2em 0 0 0;
}
#edit-actions-preview-next{
  margin: 0;
}
.form-text-link{
    text-underline-offset: 2px;
    color: #272727;
    text-decoration: underline;
    word-break: break-all;
}
.form-text-link.blank-link {
    padding-right: 16px;
}
/*追加*/
section#edit-campaign-keyword-title,
section#edit-estimate-keyword-title,
.js-form-item-estimate-simulation,
section#edit-office-order-keyword-title,
section#edit-point-keyword-title{
  display: flex;
}

label[for="edit-estimate-simulation"]{
  justify-content: flex-start;
  align-items: baseline;
}
.is-invalid.form-textarea-wrapper,
.form-textarea-wrapper{
  width: 100%;
}
.form-item-estimate-simulation .form-textarea-wrapper::before {
    content: "※見積りシミュレーションをご利用いただいた際の感想をご記入ください。";
    margin: 0 0 10px 0;
    display: block;
}
#edit-input-keyword label.form-required::after, span.form-required::after {
  margin: 0 2rem 0 0.5rem;
}
#edit-input-keyword .webform-section label.webform-section-title, 
label[for="edit-estimate-simulation"]{
  width: 52%;
  display: flex;
  justify-content: space-between;
}
#edit-input-keyword .webform-section-wrapper {
    width: 100%;
}
#edit-mail-register,
#edit-privacy-policy,
#edit-campaign-reg{
  margin: 30px 0 0 0;
}

#edit-campaign-reg{
  margin: 30px 0 50px 0;
}

.form-item-conf-mail-agree,
.form-item-i-agree,
.form-item-campaign-reg-checkbox{
  width: 80%;
  margin: 0 auto;
}

@media screen and (max-width: 768px){
}
/*完了画面*/
.send_comp_msg{
    margin: 0 auto 1em 33%;
    width: 36%;
}
@media screen and (max-width:767px) {
  .form-textarea-wrapper,
  .form-type-textfield,
  .form-item-conf-mail-agree,
  .form-item-i-agree,
  .form-item-campaign-reg-checkbox {
    width: 100%;
}
  .send_comp_msg{
    width: 90%;
    margin: 0;
  }
  /*追加*/
  section#edit-campaign-keyword-title,
  section#edit-estimate-keyword-title,
  .js-form-item-estimate-simulation,
  section#edit-office-order-keyword-title,
  section#edit-point-keyword-title{
    display:block;
  }
  #edit-input-keyword .webform-section label.webform-section-title, label[for="edit-estimate-simulation"] {
    width: 100%;
    display: block;
  }
}