.c-button {
  --padding: 10px 20px;
  display: inline-block;
  padding: var(--padding);
}

.u-mb-10 {
  margin-bottom: 10px;
}

.wpcf7-text {
  width: 100%;
  height: 40px;
  padding-left: 5px;
  border: solid #D1D3D4;
  background-color: #fff;
}

.wpcf7-not-valid-tip {
  margin-top: 3px;
}

.wpcf7-not-valid {
  background-color: #FDE0DE;
}

.wpcf7-textarea {
  width: 100%;
  height: 200px;
  padding-left: 5px;
  border: solid #D1D3D4;
  background-color: #fff;
}

#company {
  max-width: 450px;
}

#company_another {
  max-width: 450px;
}

.w-450 {
  max-width: 450px;
}

.name-container {
  display: block;
}

#last-name {
  max-width: 250px;
}

#last_name_another {
  max-width: 250px;
}

.w-250 {
  max-width: 250px;
}

#first-name {
  max-width: 250px;
}

#first_name_another {
  max-width: 250px;
}

#last-name-kana {
  max-width: 250px;
}

#first-name-kana {
  max-width: 250px;
}

#mail {
  max-width: 520px;
}

#mail_another {
  max-width: 520px;
}

.w-520 {
  max-width: 520px;
}

#tel {
  max-width: 300px;
}

#tel_another {
  max-width: 300px;
}

.w-300 {
  max-width: 300px;
}

#number-of-units {
  max-width: 150px;
}

#delivery {
  max-width: 300px;
}

#contents {
  max-width: 520px;
}

#comments {
  max-width: 520px;
}

#project-name {
  max-width: 450px;
}

#address {
  max-width: 450px;
}

#connection_date {
  max-width: 450px;
}

#defect {
  max-width: 450px;
}

#defective_equipment {
  max-width: 450px;
}

#serial_number {
  max-width: 300px;
}

#junction_box_height {
  max-width: 300px;
}

#other_height {
  max-width: 300px;
}

#power_conditioner {
  max-width: 450px;
}

#power_conditioner_height {
  max-width: 350px;
}

.codedropz-upload-inner>h3 {
  color: #949699;
  font-size: 1rem;
}

.codedropz-upload-inner>span {
  display: block;
  margin-bottom: 10px;
  color: #949699;
  font-size: 0.875rem;
}

.wpcf7-form-control-wrap {
  max-width: 540px;
}

.cd-upload-btn {
  position: relative;
  padding: 5px 22px 5px 30px;
  border: solid;
  border-radius: 15px;
  background: #fff;
  color: #EE3424;
  font-weight: bold;
}

.cd-upload-btn::after {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background-image: url("/jpn/img/common/file-upload.png");
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
}

.codedropz-btn-wrap {
  margin-bottom: 10px;
}

.codedropz-upload-container {
  background-color: #fff;
}

.submit-container {
  display: flex;
  justify-content: center;
  gap: 17px;
  color: #EE3424;
  font-size: 1.125rem;
}

.wpcf7-list-item {
  display: block;
  margin-left: 0;
  line-height: 1;
}

.wpcf7-list-item+.wpcf7-list-item {
  margin-top: 8px;
}

input[type=checkbox] {
  display: none;
}

.wpcf7-list-item-label {
  display: inline-block;
  position: relative;
  height: 24px;
  padding-left: 34px;
  line-height: 24px;
}

.wpcf7-list-item-label::before {
  box-sizing: border-box;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border: 2px solid;
  border-radius: 3px;
  background: #fff;
  content: "";
}

input[type=checkbox]:checked+.wpcf7-list-item-label::after {
  display: block;
  position: absolute;
  top: 6px;
  left: 5px;
  width: 14px;
  height: 8px;
  transform: rotate(135deg);
  border-top: 3px solid #EE3424;
  border-right: 3px solid #EE3424;
  content: "";
}

.wpcf7-submit:disabled {
  opacity: 0.7;
}

.wpcf7-submit {
  opacity: 1;
}

.wpcf7-submit:hover {
  color: #fff !important;
}

.u-d-none-sp {
  display: none;
}

.u-d-none {
  display: block;
}

.u-mb-sp-0 {
  margin-bottom: 0 !important;
}

.u-mb-sp-5 {
  margin-bottom: 5px !important;
}

.u-mb-sp-10 {
  margin-bottom: 10px !important;
}

.u-mb-sp-15 {
  margin-bottom: 15px !important;
}

.u-mb-sp-20 {
  margin-bottom: 20px !important;
}

.u-mb-sp-30 {
  margin-bottom: 30px !important;
}

.u-mb-sp-40 {
  margin-bottom: 40px !important;
}

.u-mb-sp-45 {
  margin-bottom: 45px !important;
}

.u-mb-sp-50 {
  margin-bottom: 50px !important;
}

.u-mb-sp-60 {
  margin-bottom: 60px !important;
}

.u-mb-sp-70 {
  margin-bottom: 70px !important;
}

.u-mb-sp-80 {
  margin-bottom: 80px !important;
}

.u-mb-sp-90 {
  margin-bottom: 90px !important;
}
.u-mb-sp-100 {
  margin-bottom: 100px !important;
}

.p-form {
  padding: 20px 15px;
  border: solid;
  border-right: none;
  border-left: none;
  border-width: 4px;
  border-color: #EE3424;
  background-color: #F5F5F5;
}

.p-form__confirm-button {
  opacity: 1;
}

.p-form__confirm-button:disabled {
  opacity: 0.7;
}

.p-form__confirm-button:hover {
  color: #fff;
}

.p-form__on-site__subtitle {
  font-weight: bold;
  font-size: 1.125rem;
}

.p-form__on-site__notes {
  color: #EE3424;
}

.p-form__return-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  width: 170px;
  margin-right: 10px;
  padding: 10px 20px;
  border: solid;
  border-radius: 30px;
  border-color: #EE3424;
  color: #EE3424;
  font-weight: bold;
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}

.p-form__confirmation {
  display: flex;
  justify-content: center;
  padding: 0 15px;
}

.p-form__privacy {
  position: relative;
  padding-right: 17px;
  color: #EE3424;
}

.p-form__privacy::after {
  position: absolute;
  top: 50%;
  right: 3px;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background-image: url("/jpn/img/common/link-icon-red.png");
  background-size: cover;
  background-repeat: no-repeat;
  content: "";
}

.p-form__consent {
  margin-top: 20px;
  margin-bottom: 50px;
  padding: 35px 20px;
  border: 15px solid #f5f5f5;
}

.p-form__consent__text--sp {
  display: inline-block;
  margin-bottom: 30px;
}

.p-form__item {
  display: block;
  padding: 40px 0;
  border: solid;
  border-right: none;
  border-bottom: none;
  border-left: none;
  border-width: 1px;
  border-color: #D1D3D4;
}

.p-form__item__confirm {
  font-size: 0.9375rem;
}

.p-form__item__confirm__notes {
  font-weight: bold;
}

.p-form__item__note {
  color: #949699;
  font-size: 0.75rem;
}

.p-form__item__note.file {
  padding: 10px;
  border: solid;
  border-width: 1px;
  border-color: #D1D3D4;
  line-height: 20px;
}

.p-form__item--left {
  flex: 0 0 25%;
}

.p-form__item--left.flex {
  display: flex;
}

.p-form__item--right {
  flex: 0 0 75%;
}

.p-form__item.last {
  border-bottom: solid;
  border-width: 1px;
  border-color: #D1D3D4;
}

.p-form__title {
  font-weight: bold;
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.p-form__btn__container {
  color: #58595B;
}

.p-form__btn__box {
  display: flex;
}

.p-form__btn--estimate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 54px;
  margin-right: 10px;
  border-radius: 5px 5px 0 0;
  background-color: #D1D3D4;
  font-weight: bold;
  font-size: 0.9375rem;
  line-height: 18px;
  text-align: center;
}

.p-form__btn--estimate.right {
  margin-left: 0;
}

.p-form__btn--estimate.now {
  background-color: #EE3424;
  color: #fff;
}

.p-form__required {
  margin-right: 5px;
  padding: 5px;
  border-radius: 5px;
  background-color: #EE3424;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  height: fit-content;
  white-space: nowrap;
}

.p-form-item {
  padding-right: 25px;

  &>span {
    display: block;
  }
}

.p-form__any {
  margin-right: 5px;
  padding: 5px;
  border-radius: 5px;
  background-color: #949699;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  height: fit-content;
  white-space: nowrap;
}

.p-form__step__container {
  display: block;
  padding: 0 15px;
}

.p-form__step__box {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
  padding: 13px 30px;
  background-color: #F5F5F5;
}

.p-form__step__box__adjust {
  position: relative;
}

.p-form__step__box__adjust::before {
  position: absolute;
  right: 50%;
  bottom: -26px;
  width: 0;
  height: 0;
  transform: translateX(50%);
  border-top: 16px solid #002f65;
  border-right: 21px solid transparent;
  border-bottom: 0;
  border-left: 21px solid transparent;
  border-style: solid;
  content: "";
}

.p-form__step__box__adjust.last {
  flex: 0 0 30%;
  padding-right: 0;
}

.p-form__step__box__adjust.last::before {
  display: none;
}

.p-form__step__text {
  margin-right: 2.5px;
  color: #fff;
  font-weight: bold;
  font-size: 0.5625rem;
}

.p-form__step__number {
  color: #fff;
  font-weight: bold;
  font-size: 1.1875rem;
}

.p-form__step__item {
  margin-right: 10px;
  padding: 19px 15px;
  border-radius: 50%;
  background-color: #002F65;
}

.p-form__step__item.now {
  background-color: #EE3424;
}

.p-form__step__content {
  color: #002F65;
  font-weight: bold;
  font-size: 1.125rem;
}

.p-form__step__content.now {
  color: #EE3424;
}

@media screen and (min-width: 769px) {
  .name-container {
    display: flex;
  }

  #last-name {
    margin-right: 20px;
  }

  #last_name_another {
    margin-right: 20px;
  }

  .last-name {
    margin-right: 20px;
  }

  #last-name-kana {
    margin-right: 20px;
  }

  #product {
    max-width: 450px;
  }

  #model {
    max-width: 250px;
  }

  .u-d-none {
    display: none;
  }

  .u-d-none-sp {
    display: block;
  }

  .u-mb-0 {
    margin-bottom: 0 !important;
  }

  .u-mb-5 {
    margin-bottom: 5px !important;
  }

  .u-mb-10 {
    margin-bottom: 10px !important;
  }

  .u-mb-15 {
    margin-bottom: 15px !important;
  }

  .u-mb-20 {
    margin-bottom: 20px !important;
  }

  .u-mb-30 {
    margin-bottom: 30px !important;
  }

  .u-mb-40 {
    margin-bottom: 40px !important;
  }

  .u-mb-45 {
    margin-bottom: 45px !important;
  }

  .u-mb-50 {
    margin-bottom: 50px !important;
  }

  .u-mb-60 {
    margin-bottom: 60px !important;
  }

  .u-mb-70 {
    margin-bottom: 70px !important;
  }

  .u-mb-80 {
    margin-bottom: 80px !important;
  }

  .u-mb-90 {
    margin-bottom: 90px !important;
  }

  .p-form__return-btn {
    margin-right: 20px;
    padding: 12px 20px;
  }

  .p-form__completion {
    text-align: center;
  }

  .p-form__consent {
    padding: 35px 45px;
  }

  .p-form__consent__text {
    text-align: center;
  }

  .p-form__consent__text--sp {
    margin: 0;
  }

  .p-form__item {
    display: flex;
    padding: 40px;
  }

  .p-form__title {
    font-size: 1.5rem;
    margin-bottom: 40px;
  }

  .p-form {
    padding: 40px 50px;
  }

  .p-form__btn--estimate {
    width: 280px;
    height: 52px;
    margin-right: 20px;
  }

  .p-form__step__container {
    display: flex;
    max-width: 1030px;
    margin: 0 auto;
  }

  .p-form__step__box {
    margin-bottom: 0;
    padding: 20px;
  }

  .p-form__step__box__adjust {
    flex: 0 0 35.5%;
    padding-right: 50px;
  }

  .p-form__step__box__adjust::before {
    top: 50%;
    right: 4.5%;
    transform: translateY(-50%);
    border-top: 21px solid transparent;
    border-right: 0;
    border-bottom: 21px solid transparent;
    border-left: 16px solid #002f65;
    border-style: solid;
  }
}

@media screen and (min-width:769px) {
  #case {
    max-width: 450px;
  }
}

.radio-btn {
  &>span {
    margin: 0;

    &>label {
      &>input {
        display: none;
      }

      &>span {
        height: 15px;
        padding-left: 22px;
        line-height: 17px;
        position: relative;
        margin-right: 20px;

        &::before {
          width: 15px;
          height: 15px;
          border: 1px solid;
          border-radius: 50% !important;
          border-color: #52b4c1;
        }
      }
    }
  }
}

.radio-btn.vertical>span {
  display: block;
  margin-bottom: 10px;
}

.radio-btn>span>label>input:checked~span::after {
  display: block !important;
  position: absolute !important;
  top: 50%;
  transform: translateY(-50%);
  left: 2.54971px;
  width: 10px !important;
  height: 10px !important;
  background-color: #52b4c1;
  border-radius: 50%;
  content: "" !important;
}

.check-box {
  &>span {
    margin: 0;

    &>label {
      &>input {
        display: none;
      }

      &>span {
        height: 15px;
        padding-left: 22px;
        line-height: 17px;
        position: relative;
        margin-right: 20px;

        &::before {
          width: 15px;
          height: 15px;
          border: 1px solid;
        }
      }
    }
  }
}

.check-box>span>label>input:checked~span::after {
  display: block !important;
  position: absolute !important;
  top: 4.6px !important;
  left: 3.5px !important;
  width: 8px !important;
  height: 5px !important;
  transform: rotate(135deg) !important;
  border-top: 2px solid #EE3424 !important;
  border-right: 2px solid #EE3424 !important;
  content: "" !important;
}

.w-520 {
  max-width: 520px !important;
}

.w-450 {
  max-width: 520px !important;
}

.w-300 {
  max-width: 300px !important;
}

.estimate-subtitle {
  font-size: 18px;
  margin-left: 5px;
  font-weight: 500;
  margin-bottom: 10px;
}

.link {
  color: #0000ff;
  text-decoration: underline;
}

.list-precautions {
  &>li {
    margin-bottom: 5px;
  }
}

#autozip {
  display: none !important;
}

.form-btn {
  color: #fff;
  font-weight: 600;
  background-color: #EE3424;
  font-size: 17px;
  padding: 10px 15px;
  border-radius: 5px;
  &:hover {
    opacity: 0.7;
  }
}