@charset "UTF-8";
/* ========== ========== ==========
個別部
========== ========== ========== */
.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 80%; */
  margin: 0 auto min(calc(160 / var(--base-width-pc) * 100vw), 160px);
}
.form_text1 {
  font-size: clamp(12px, 1.1111111111vw, 16px);
  font-weight: 500;
  line-height: 2.5;
  border-bottom: solid 1px #C0CECD;
  padding-bottom: 24px;
  margin-bottom: 40px;
}

:is(.form, .confirmation) .sectionWrap {
  max-width: 1440px;
  width: 100%;
}

.form_title {
  margin-bottom: 45px;
  text-align: center;
  font-size: 24px;
  line-height: 1;
}

.form_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.form_items {
  /* margin-bottom: 70px; */
  width: 100%;
}

.form_item {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 33px;
  gap: clamp(10px, 1.6666666667vw, 24px);
}

.form_item.align-center {
  align-items: center;
}

.form_item:last-of-type {
  margin-bottom: 40px;
}

.form_item_label {
  margin-right: 17px;
  /* margin-top: 7px; */
  font-size: clamp(14px, 1.1111111111vw, 16px);
  font-weight: bold;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  letter-spacing: 0.1rem;
}

@media screen and (max-width: 768px) {
  .form_item_label {
    width: 100%;
  }
}
.form_item_required {
  display: inline-block;
  color: white;
  font-size: 10px;
  line-height: 1.5;
  background-color: var(--color-main);
  border-radius: 4px;
  padding: 5px 5px 7px;
  vertical-align: middle;
  margin-left: 12px;
}

.form_item_multiple {
  font-size: 12px;
}

.form_item_content {
  display: flex;
  flex-direction: column;
  width: calc(100% - 117px);
}

.form_item_content_text2 {
  display: block;
  text-align: center;
  font-size: clamp(12px, 1.1428571429vw, 16px);
  font-weight: 500;
}

.form_item_content.-radio {
  flex-direction: row;
  align-items: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 15px;
}

.form_item_content.-checkbox {
  flex-direction: row;
  align-items: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 15px;
}

.form_item_content.-confirmation1 {
  text-align: left;
}

.form_item_content.-privacy {
  flex-direction: row;
  justify-content: center;
  width: 100%;
  font-size: clamp(12px, 1.1111111111vw, 16px);
}

.form_item_content.-privacy * {
  font-weight: 500;
}

.form_item_input-radio {
  font-size: clamp(14px, 1.1111111111vw, 16px);
}

.form_item_input-radio input {
  margin-bottom: 4px;
  margin-right: 5px;
}

.form_item_input-checkbox {
  font-size: clamp(14px, 1.1111111111vw, 16px);
}

.form_item_input-checkbox input {
  margin-right: 8px;
  margin-bottom: 5px;
}

.form_item_input[type=text],
.form_item_input[type=number],
.form_item_input[type=email],
.form_item_input[type=tell],
.form_item_select,
.form_item_textarea {
  padding: clamp(10px, 4vw, 20px);
  font-size: clamp(14px, 1.1111111111vw, 16px);
  font-weight: 500;
  letter-spacing: 0.1rem;
  width: 100%;
  border-radius: 4px;
}

.form_item_input[type=text],
.form_item_input[type=number],
.form_item_input[type=email],
.form_item_input[type=tell],
.form_item_select,
.form_item_textarea,
.form_item_labelWrap.-file {
  border: solid 1px #767676;
}

.form_item_textarea {
  height: 200px;
  line-height: 1.5;
}

.form_item_labelWrap.-file {
  padding: clamp(10px, 4vw, 20px);
}

.form_item_label.-file {
  padding: clamp(5px, 2vw, 10px);
  border-radius: 4px;
  background-color: #A2A2A2;
  color: white;
}

.form_item_content.-file input {
  display: none;
}

.form_item_label.-file:hover {
  cursor: pointer;
  opacity: 0.7;
}

.form_item_label_text1 {
  color: #95979D;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  font-size: clamp(14px, 1.1111111111vw, 16px);
  letter-spacing: 0.1rem;
  font-weight: 500;
}

input::placeholder,
textarea::placeholder {
  font-size: clamp(14px, 1.1111111111vw, 16px);
  letter-spacing: 0.1rem;
  font-weight: 500;
}

.form input[type=submit],
.confirmation input[type=submit],
#confirmation .submit-btn,
.btn-return {
  text-align: center;
  background-color: var(--color-main);
  color: white;
  padding: 17.5px 5px;
  width: 100%;
  max-width: 280px;
  border: none;
  border-radius: 3px;
  font-size: clamp(16px, 1.4583333333vw, 21px);
  line-height: 1.1904761905;
  font-weight: 700;
  letter-spacing: 0.05rem;
  text-decoration: none;
}

.confirmation .btn-return {
  background-color: #787878;
  width: 200px;
}
@media screen and (max-width: 768px) {
  .confirmation .btn-return {
    width: 280px;
  }
}

:is(.thanks, .failed) .btn-return {
  background-color: var(--color-main);
}

:where(#form, #confirmation) input[type=submit]:hover {
  cursor: pointer;
}

.form_btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

input.invalid {
  opacity: 0.3;
}

#form input.invalid:hover {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn_privacy {
  color: #2200c1;
  margin-left: 10px;
}

.thanks ~ .media,
.failed ~ .media {
  margin-bottom: 0;
  padding-bottom: 100px;
}

@media screen and (max-width: 768px) {
  .form {
    width: 100%;
  }
  .form_item {
    flex-direction: column;
  }
  .form_item.-tel {
    align-items: normal;
  }
  .form_item_content {
    width: 97%;
  }
  .form_item_input {
    margin-right: 0;
  }
}
.flex-center {
  text-align: center;
  margin-bottom: 50px;
}

.error-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 30px;
}

.error-texts {
  margin-bottom: 30px;
}

label {
  font-size: clamp(14px, 1.1111111111vw, 16px);
  font-weight: 700;
  margin-bottom: 30px;
  display: block;
}

.wpcf7-form-control-wrap {
  margin-top: 10px;
  display: inline-block;
  width: 100%;
}

.wpcf7-form-control-wrap :where(input[type=text], input[type=email], input[type=tell], textarea) {
  padding: clamp(10px, 4vw, 20px);
  font-size: clamp(14px, 1.1111111111vw, 16px);
  font-weight: 500;
  letter-spacing: 0.1rem;
  width: 100%;
  border-radius: 4px;
  border: solid 1px #767676;
}

.wpcf7-form-control-wrap textarea {
  height: 200px;
  line-height: 1.5;
}

.wpcf7-form-control-wrap :where(input::-moz-placeholder, textarea::-moz-placeholder) {
  font-size: clamp(14px, 1.1111111111vw, 16px);
  letter-spacing: 0.1rem;
  font-weight: 500;
}

.wpcf7-form-control-wrap :where(input::placeholder, textarea::placeholder) {
  font-size: clamp(14px, 1.1111111111vw, 16px);
  letter-spacing: 0.1rem;
  font-weight: 500;
}

.wpcf7-checkbox {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.form_item_content_text2 {
  margin-top: 40px;
}

.wpcf7-list-item input[type=checkbox] {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #767676;
  border-radius: 4px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
  background-color: #ECECEC;
  border: none;
}

.wpcf7-list-item input[type=checkbox]:checked {
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.wpcf7-list-item input[type=checkbox]:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(45deg);
}

label:has(input[type=checkbox]) {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.wpcf7-submit:not(:where(.form_btns *)) {
  margin-top: 40px;
  display: block;
  margin-inline: auto;
}

.confirmation label {
  display: block;
  margin-bottom: 48px;
}

.form_btns p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: 100%;
}

.wpcf7-spinner {
  display: none;
}

/* 共通部ここまで
  ---------- ---------- */
/* ========== ========== ==========
  個別部
  ========== ========== ========== */
/* 確認画面ページ */
.confirmation {
  /* margin-top: 150px; */
  margin-bottom: min(calc(326 / var(--base-width-pc) * 100vw), 326px);
  width: 100%;
  display: flex;
  justify-content: center;
}

.confirmation .sectionWrap {
  width: min(90vw, 1200px);
}

.section_title {
  font-size: clamp(20px, 2.5vw, 36px);
  font-weight: bold;
  margin-bottom: 30px;
  line-height: 1;
}

:is(.thanks, .failed) .section_title {
  text-align: center;
}

.confirmation .form_items {
  border: solid 1px #C8C4C4;
  padding: calc(56 / var(--base-width-pc) * 100vw);
  margin-bottom: 40px;
}

.confirmation .form_item {
  margin-bottom: calc(48 / var(--base-width-pc) * 100vw);
}

@media screen and (max-width: 768px) {
  .confirmation .form_item {
    align-items: flex-start;
    gap: 10px;
  }
}
.confirmation .form_item_content.-radio {
  align-items: normal;
}

.form_item_content_text {
  font-size: clamp(14px, 1.1111111111vw, 16px);
}

.confirmation .form_item_label {
  margin-top: 0;
}

/* サンクスページ */
.thanks {
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.thanks_text1 {
  text-align: center;
  font-weight: 500;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 2.5;
  margin-bottom: 40px;
}

.thanks_text2 {
  text-align: center;
  font-size: 12px;
  line-height: 3.3333333333;
  font-weight: 500;
  margin-bottom: 64px;
}

/* 送信失敗ページ */
.failed {
  margin-bottom: 100px;
}

.failed .thanks_text1 {
  margin-bottom: 50px;
}

/* エラーのポップアップ */
.popup {
  position: fixed;
  z-index: 21;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
}

.popup_inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  padding: 60px 100px;
  border-radius: 10px;
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .popup_inner {
    border-radius: 5px;
    width: calc(100% - 60px);
    margin: 0 auto;
    padding: 35px 45px;
  }
}
.popup_text {
  /* font-: "Noto Sans JP", sans-serif; */
  font-weight: 400;
  font-size: clamp(14px, 1.1111111111vw, 16px);
  color: #000000;
  margin: 0 0 40px;
}

@media only screen and (max-width: 767px) {
  .popup_txt {
    margin: 0 0 20px;
    font-size: 14px;
  }
}
.btn-popup {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 200px;
  margin: 0 auto;
  padding: 0 25px;
  border-radius: 30px;
  height: 60px;
  border: solid 1px #2f3093;
  font-weight: 700;
  font-size: clamp(14px, 1.1111111111vw, 16px);
  color: #2f3093;
  background-color: #ffffff;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .btn-popup {
    transition: color 250ms ease, background-color 250ms ease;
  }
  .btn-popup:hover {
    color: #ffffff;
    background-color: #2f3093;
  }
}
@media only screen and (max-width: 767px) {
  .btn-popup {
    line-height: 1.5;
    font-size: 16px;
  }
}
/* チェックボックスをカスタムデザイン */
.form-check-input {
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #767676;
  border-radius: 4px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  cursor: pointer;
  background-color: #ECECEC;
  border: none;
}

.form-check-input:checked {
  background-color: var(--color-main);
  border-color: var(--color-main);
}

.form-check-input:checked::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -60%) rotate(45deg);
}

.form-check-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

input[name="checkbox-670[]"] {
  position: relative;
}
input[name="checkbox-670[]"]::before {
  content: "必須";
  position: absolute;
  left: -50px;
  top: 50%;
  transform: translate(0, -50%);
  color: white;
  font-size: 10px;
  line-height: 1.5;
  background-color: var(--color-main);
  border-radius: 4px;
  padding: 5px 5px 5px;
  vertical-align: middle;
  margin-left: 12px;
}

/* 個別部ここまで
---------- ---------- */