.webform-preview .webform-element label {
    font-weight: bold;
    margin-right: 30px;
}
fieldset legend {
    margin-bottom: 1em;
}
.font-red{
  color: #c03;
}
.checkbox.mb-3,
span.fieldset-legend.js-form-required.form-required{
  margin-bottom: 0.5rem!important;
}
.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,
.js-webform-type-email.webform-type-email{
  position: relative;
}

.description{
  margin-bottom: 1em;
}

fieldset#edit-smooth--wrapper {
  margin: 0.5em 0 0 0;
  font-size: 20px;
}
.form-textarea-wrapper,
.form-type-textfield {
    width: 70%;
}

#edit-actions{
  margin-bottom: 3.8em;
}
.error.form-item--error-message {
    color: #bc2739;
    font-weight: bold;
    position: absolute;
    bottom: -22px;
    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;
}

.note-under-title{
    color: #CC0033;
    border-left: solid #CC0033 4px;
    padding: 20px 25px;
    margin: 20px 0 50px 0px;
    background: #ffedf1;
    font-size: 20px;
}
.main-heading.main-heading--left-border{
    border-bottom: 3px solid black;
    margin: 60px 0 30px 0;
    font-size: 35px;
    padding: 0 0 20px 0;
}
.main-heading--left-border::before{
    content: none;
}
label.js-form-required.form-required,span.fieldset-legend.js-form-required.form-required {
    font-size: 25px;
    font-weight: bold;
}

input[type="radio"]:checked + label.form-check-label {
    border-color: #c03;
}

label.form-check-label {
    display: block;
    padding: 20px 71px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s;
}

.form-check-input:checked[type=radio] {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='2' fill='%23fff'/%3e%3c/svg%3e");
}

input[type="radio"].form-check-input {
    position: absolute;
    top: 24%;
    left: 4%;
    transform: translateY(-50%);
}

.form-check-input:checked {
    border-color: #c03;
    background-color: #c03;
}
.form-check-input {
  width: 1.9em;
  height: 1.9em;
}

.js-form-item.js-form-type-radio.radio.form-check {
    position: relative;
    padding: 0;
    margin: 0 0 1.225rem 0;
}
.font-bold{
  font-weight: bold;
}
label.form-check-label {
    font-weight: bold;
    font-size: 25px;
}

#edit-email--description,
#edit-content-text p {
    color: #6c757d;
}

.webform-submission-form .js-form-item label span {
    font-size: 20px;
    font-weight: 100;
    color: #6c757d;
    display: block;
    margin: 10px 0 0 0;
}

.js-form-type-radio:last-child label.form-check-label {
    min-height: 130px;
}
.js-form-type-radio:last-child label span {
    margin: 30px 0 0 0;
}
#edit-content-text {
    margin-top: 40px;
}
strong#dui_ying_ji_minonei_rong-error {
    bottom: -225px;
}
.notice p {
    color: #6c757d;
    border-left: solid #cfcfcf 4px;
    padding: 20px 25px;
    margin: 20px 0 50px 0px;
    background: #FAFAFA;
    font-size: 20px;
}
#edit-notice {
    border-top: 1px solid #ccc;
    padding: 30px 0 0 0;
}
#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;
}
#edit-flexbox .webform-flex.webform-flex--1:first-child {
    width: 10%;
    flex: 0.04;
}
#edit-flexbox {
    font-size: 20px;
    display: flex;
}
a.hover-item--link {
    color: #c03;
}
#edit-actions-submit.is-disabled {
    pointer-events: none;
    cursor: not-allowed;
    border: none;
    background: #e5e5e5;
    color: #7d7d7d;
    opacity: 1;
}

/*完了画面のボタン　ホームに戻る　赤枠*/
.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;
}
.form-text-link{
    text-underline-offset: 2px;
    color: #272727;
    text-decoration: underline;
    word-break: break-all;
}
.form-text-link.blank-link {
    padding-right: 16px;
}

.webform-has-field-prefix {
    margin-top: 2.5rem;
}
#edit-flexbox-name {
    width: 71%;
}
#edit-flexbox-name, #edit-flexbox-kana {
    gap: 1em;
}
.webform-flex--container .js-form-item-sei.form-item-sei,
.webform-flex--container .js-form-item-mei.form-item-mei {
    width: 100%;
}
.input-group-text {
    background: none;
    border: none;
}
.webform-preview .webform-element label {
    font-weight: bold;
    margin-right: 30px;
}
.webform-preview .webform-section-wrapper {
    display: flex;
} 

@media (min-width: 768px) {
    .webform-flexbox .webform-flexbox {
        margin: 1em 0;
    }
}

@media screen and (max-width: 768px){
    #edit-flexbox-name{
        width: 100%;
    }
    .input-group {
        position: relative;
        display: flex;
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
    }
    .input-group-prepend, .input-group-append {
        margin: 30px 0 0 0;
    }
    input[type="radio"].form-check-input {
      top: 38px;
      left: 50px;
    }
  #edit-flexbox .webform-flex.webform-flex--1:first-child {
    flex: inherit;
    width: 40px;
  }
  .webform-flex.webform-flex--1 {
    width: 100%;
  }
  h1.main-heading.main-heading--left-border {
    font-size: 30px;
  }
  strong#dui_ying_ji_minonei_rong-error {
    bottom: -490px;
  }
  
}

/*完了画面*/
.send_comp_msg{
    margin: 60px auto 1em auto;
    justify-items: center;
    width: 100%;
}
#edit-actions-preview-prev {
    background: none;
    color: #272727;
    border: 1px solid #272727;
}
.block-subsphere-main-page-content{
    width: 100%;
    padding: 0 24px;
}
@media screen and (max-width:767px) {
  .form-textarea-wrapper, .form-type-textfield {
    width: 100%;
}
  .send_comp_msg{
    width: 90%;
    margin: 30px auto 0;
  }
}
