@charset "UTF-8";
/* =======================================================
contact form 7 リセット
======================================================= */
.wpcf7-form-control-wrap {
  display: flex;
}

.wpcf7-list-item {
  margin: 0;
}

/* =======================================================
form
======================================================= */
.bl-form {
  padding-block: 4rem;
  background: var(--color-contrast);
}
.bl-form-ttl {
  margin-bottom: 3rem;
  font-size: 1.75rem;
  line-height: 1;
  text-align: center;
}
.bl-form-ttl-inner {
  display: inline-block;
  padding-bottom: 0.5rem;
  border-bottom: 0.0625rem solid;
}
.bl-form-fields {
  display: grid;
  gap: 2rem;
}
.bl-form-fields-wrapper {
  max-width: 64rem;
  margin: 0 auto 3rem;
}
.bl-form-field {
  display: grid;
  grid-template-columns: 20rem 1fr;
  gap: 4rem;
  align-items: center;
}
.bl-form-field.--acceptance {
  grid-template-columns: auto;
  gap: 0.25rem;
}
.bl-form-lbl {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.bl-form-lbl.--required::after, .bl-form-lbl.--optional::after {
  display: flex;
  justify-content: center;
  padding: 0 0.5rem 0.1875rem;
  font-size: 0.9375rem;
  font-weight: bold;
  line-height: calc(21/15);
  color: var(--color-white);
  letter-spacing: 0.08em;
}
.bl-form-lbl.--required::after {
  content: "必須";
  background: var(--color-accent);
}
.bl-form-lbl.--optional::after {
  content: "任意";
  background: var(--color-gray06);
}
.bl-form-info + .bl-form-info {
  margin-top: 2rem;
}
.bl-form input[type=text], .bl-form input[type=email], .bl-form input[type=tel] {
  width: 100%;
  padding: 0.40625rem 1rem 0.53125rem;
  background: #fff;
  border: 0.0625rem solid var(--color-gray06);
}
.bl-form input[type=button] {
  display: grid;
  place-content: center;
  width: 15rem;
  height: 3.75rem;
  padding-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--color-white);
  border: 0.0625rem solid;
  transition: all 0.5s ease;
}
@media (hover: hover) {
  .bl-form input[type=button]:hover {
    opacity: 0.7;
  }
}
.bl-form input[type=submit] {
  display: grid;
  place-content: center;
  width: 19.125rem;
  height: 3.75rem;
  padding-bottom: 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-main);
  transition: all 0.5s ease;
}
@media (hover: hover) {
  .bl-form input[type=submit]:hover {
    opacity: 0.7;
  }
}
.bl-form select {
  width: 100%;
  padding: 0.40625rem 1rem 0.53125rem;
  background: var(--color-white) url("../images/form/select-arrow.svg") center right 16px/12px 10px no-repeat;
  border: 0.0625rem solid var(--color-gray06);
}
.bl-form textarea {
  width: 100%;
  height: 10rem;
  padding: 0.5rem 1rem;
  resize: none;
  background: #fff;
  border: 0.0625rem solid var(--color-gray06);
}
.bl-form-btn-wrapper {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin: 2.5rem auto 0;
  text-align: center;
}
.bl-form-btn-wrapper .el-btn {
  grid-template-columns: 1fr auto;
  justify-content: center;
  width: 20rem;
  height: 3.5rem;
  padding: 0 0 0.25rem;
  transition: all 0.5s ease;
}
.bl-form-btn-wrapper .el-btn::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 2.125rem;
  height: 0.5rem;
  content: "";
  background: url("../images/common/c-btn-arrow.svg") top center/contain no-repeat;
  transform: translateY(-50%);
}
.bl-form-btn-wrapper .el-btn.--previous::after {
  position: absolute;
  top: 50%;
  left: 1rem;
  width: 2.125rem;
  height: 0.5rem;
  content: "";
  background: url("../images/common/c-btn-arrow--blue.svg") top center/contain no-repeat;
  transform: translateY(-50%) scale(-1, 1);
}
.bl-form-btn-wrapper .wpcf7-spinner {
  display: none;
}
.bl-form-btn-wrapper .wpcf7-form-control-wrap {
  display: flex;
}
.bl-form-btn-wrapper .wpcf7-form-control:disabled {
  background: #95a5b5;
  opacity: 0.7;
}
.bl-form .--checkbox label {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
}
.bl-form .--checkbox label + label {
  margin-top: 1.5em;
}
.bl-form .--checkbox label input {
  position: relative;
  display: block;
  width: 1.875rem;
  height: 1.875rem;
  cursor: pointer;
  background: var(--color-white);
  border: 0.0625rem solid var(--color-gray06);
  appearance: none;
}
.bl-form .--checkbox label input::after {
  position: absolute;
  top: calc(50% - 0.125rem);
  left: 0.5625rem;
  width: 0.5rem;
  height: 1rem;
  content: "";
  border-right: 0.125rem solid var(--color-gray06);
  border-bottom: 0.125rem solid var(--color-gray06);
  transform: translateY(-50%) rotate(50deg);
}
.bl-form .--checkbox label input:checked::after {
  border-color: var(--color-accent);
}
.bl-form-caution .bl-caution-ttl {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-accent);
  text-align: center;
}
.bl-form-caution .el-att-wrapper {
  display: grid;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 auto 4rem;
}
.bl-form-caution .el-att a {
  color: var(--color-accent);
  text-decoration: underline;
}
.bl-form-btm {
  text-align: center;
}
.bl-form-btm a {
  color: var(--color-accent);
  text-decoration: underline;
}

@media screen and (width <= 46.875rem) {
  .bl-form {
    padding-bottom: 5rem;
  }
  .bl-form-ttl {
    margin-bottom: 1rem;
    font-size: 2.25rem;
  }
  .bl-form-ttl-inner {
    padding-bottom: 0.75rem;
  }
  .bl-form-field {
    grid-template-columns: auto;
    gap: 1rem;
  }
  .bl-form-fields {
    gap: 2.25rem;
  }
  .bl-form-fields-wrapper {
    padding: 2.5rem 2.5rem 3.5rem;
    margin-bottom: 0;
  }
  .bl-form-lbl.--required::after, .bl-form-lbl.--optional::after {
    padding: 0.1875rem 0.75rem 0.375rem;
    font-size: 1.5rem;
  }
  .bl-form input[type=text], .bl-form input[type=email], .bl-form input[type=tel] {
    padding: 0.5rem 1.5rem 0.75rem;
  }
  .bl-form input[type=button] {
    width: 15rem;
    height: 5.625rem;
    padding-bottom: 0.375rem;
    font-size: 1.75rem;
  }
  .bl-form input[type=submit] {
    width: 18.75rem;
    height: 5.625rem;
    padding-bottom: 0.375rem;
    font-size: 1.875rem;
  }
  .bl-form textarea {
    height: 25rem;
    padding: 0.75rem 1.5rem;
  }
  .bl-form-btn-wrapper {
    margin: 0 auto;
  }
  .bl-form-btn-wrapper .el-btn {
    width: 30rem;
    height: 5rem;
  }
  .bl-form-btn-wrapper .el-btn::after {
    right: 1.5rem;
    width: 3.1875rem;
    height: 0.75rem;
  }
  .bl-form-btn-wrapper .el-btn.--previous::after {
    left: 1.5rem;
    width: 3.1875rem;
    height: 0.75rem;
  }
  .bl-form .--checkbox label {
    gap: 1.5rem;
  }
  .bl-form .--checkbox label input {
    width: 2.8125rem;
    height: 2.8125rem;
  }
  .bl-form .--checkbox label input::after {
    top: calc(50% - 0.1875rem);
    left: 0.84375rem;
    width: 0.75rem;
    height: 1.5rem;
  }
  .bl-form-caution {
    padding: 0 2.5rem;
  }
  .bl-form-caution .bl-caution-ttl {
    margin-bottom: 2rem;
    font-size: 1.875rem;
  }
  .bl-form-caution .el-att-wrapper {
    gap: 0.75rem;
  }
  .bl-form-btm {
    margin-bottom: 4rem;
  }
}
/* =======================================================
エラー
======================================================= */
.wpcf7-form.invalid .wpcf7-form-control-wrap {
  display: grid;
  gap: 0.25rem;
}
.wpcf7-form.invalid .wpcf7-not-valid-tip {
  position: relative;
  width: max-content;
  font-size: 0.875rem;
}
.wpcf7-form.invalid .wpcf7-response-output {
  display: none;
}
.wpcf7-form.--hide-error .wpcf7-not-valid-tip {
  display: none;
}

@media screen and (width <= 46.875rem) {
  .wpcf7-form.invalid .wpcf7-form-control-wrap {
    gap: 0.375rem;
  }
  .wpcf7-form.invalid .wpcf7-not-valid-tip {
    font-size: 1.5rem;
  }
}