@charset "UTF-8";
.form__item {
  display: flex;
  flex-wrap: wrap;
  padding: 35px 30px;
  border-bottom: solid 1px #E6E6E6;
}

.form__item:first-of-type {
  border-top: solid 1px #E6E6E6;
}

.form__item dt {
  width: 228px;
  padding-right: 20px;
  font-weight: 500;
}

.form__item dd {
  width: calc(100% - 228px);
  position: relative;
}

.form input:not([type=submit]), .form .form textarea {
  width: 100%;
  max-width: 560px;
  padding: 1em;
  background: #FAFAFA;
  border: 1px solid #FAFAFA;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.4rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form input[type="file"] {
  display: inline-block;
  background: none;
  outline: none;
  border: none;
}

.form label {
  padding: 4px 18px;
  color: #fff;
  display: inline-block;
  cursor: pointer;
  background: #2F81F2;
  border-radius: 4px;
}

.form .fileclear {
  display: none;
  margin: 10px 0 0;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
}

.form .js-upload-filename {
  margin-left: 10px;
}

.form select {
  width: 100%;
  max-width: 560px;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  /* デフォルトの矢印を非表示 */
  background: #FAFAFA url(/assets/img/common/icon_arrow_04.png) no-repeat center right 10px/24px;
  border: none;
  font-size: 1.4rem;
  padding: 1em;
  text-shadow: 0 0 #aaa;
}

.form select::-ms-expand {
  display: none;
  /* デフォルトの矢印を非表示(IE用) */
}

.form textarea {
  width: 100%;
  padding: 1em;
  background: #FAFAFA;
  border: 1px solid #FAFAFA;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.4rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form .wpcf7-radio {
  display: grid;
  gap: 8px;
}

.form .wpcf7-radio .wpcf7-list-item {
  display: grid;
  justify-content: start;
}

.form .wpcf7-radio label {
  display: grid;
  grid-template-columns: 24px auto;
  justify-content: start;
  align-items: center;
  gap: 8px;
  color: revert;
  background: revert;
  border-radius: revert;
  padding: 0;
}

.form .wpcf7-radio input[type='radio'] {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid #CDD8DD;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
}

.form .wpcf7-radio input[type='radio']:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  aspect-ratio: 1/1;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  border-radius: 50%;
  background-color: #2F81F2;
}

.form__btn {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  border: none;
  font-size: 1.4rem;
  background: #2F81F2;
  color: #FFF;
  border-radius: 4px;
  font-size: 1.6rem;
  padding: 25px 60px;
  min-width: 200px;
  margin: 0 10px 15px;
  transition: opacity .5s ease;
}

.form__btn.is-back {
  background: #626262;
}

.form__btn:hover {
  opacity: .7;
}

.form__required {
  color: #BE1A15;
  font-size: 1.2rem;
  position: relative;
  top: -4px;
  left: 5px;
}

.confirm .form .mwform_file_label {
  display: none;
}

.confirm .form label {
  background: none;
}

.confirm .form a {
  text-decoration: none;
}

.mw_wp_form input[type="file"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.mw_wp_form label {
  padding: 10px 25px 10px 10px;
  margin: 0 0 10px;
  background: #aaa;
  color: #fff;
  display: inline-block;
  cursor: pointer;
}

.mw_wp_form .fileclear {
  display: none;
  margin: 10px 0 0;
  text-decoration: underline;
  font-weight: bold;
  cursor: pointer;
}

.mwform_file_label .error {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  background: #FFF;
}

.mwform-file-delete {
  color: #000;
}

@media screen and (max-width: 767px) {
  .form__item {
    padding: 20px 0px;
  }
  .form__item dt {
    width: 100%;
    padding: 0 0 10px;
  }
  .form__item dd {
    width: 100%;
  }
  .form input:not([type=submit]), .form .form textarea {
    width: 100%;
  }
  .form__btn {
    padding: 20px 40px;
  }
}

@media screen and (min-width: 768px) {
  .form textarea {
    height: 200px;
  }
}
