@charset "UTF-8";
/* ========== ========== ==========
変数定義
========== ========== ========== */
/* ========== ========== ==========
共通部
========== ========== ========== */
.form {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* width: 80%; */
  margin: 0 auto clamp(66.67px, 7.81vw, 100px);
}
.form .sectionTitle2 {
  margin-bottom: clamp(62px, 7.27vw, 93px);
}
.form input {
  font-family: "Montserrat", sans-serif, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.form .sectionWrap {
  max-width: 1000px;
  width: 100%;
}

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

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

.form_item {
  display: flex;
  width: 100%;
  margin-bottom: 29px;
}

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

.form_item:last-of-type {
  margin-bottom: clamp(50.67px, 5.94vw, 76px);
}

.form_item_label {
  width: 190px;
  margin-right: 17px;
  /* margin-top: 7px; */
  font-size: clamp(16px, 1.5625vw, 20px);
  line-height: 1.5;
  font-weight: 600;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .form_item_label {
    width: 100%;
  }
}
.form_item_required {
  color: #0A00FF;
  font-size: 20px;
  line-height: 1.5;
}

.form_item_multiple {
  font-size: 12px;
}

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

.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;
  padding-left: 10%;
}

.form_item_content.-privacy {
  flex-direction: row;
  justify-content: center;
  width: 100%;
}

.form_item_input-radio {
  font-size: clamp(16px, 1.5625vw, 20px);
}
.form_item_input-radio:not(:last-of-type) {
  margin-bottom: 10px;
}

.form_item_input-radio input {
  margin-bottom: 4px;
  margin-right: 10px;
  transform: scale(1.5);
}

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

.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: 7px 10px 4px 10px;
  font-size: 16px;
  width: 100%;
  line-height: 1;
  border-radius: 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,
.form_item_labelWrap.-file {
  border: solid 1px #767676;
}

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

.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(16px, 1.5625vw, 20px);
}

input::placeholder,
textarea::placeholder {
  font-size: clamp(16px, 1.5625vw, 20px);
}

:where(#form, #confirmation) .btn,
:where(#form, #confirmation) .btn2 {
  padding-inline: 0;
  width: 286px;
}

.submit-btn,
.btn-return {
  margin-bottom: 12px;
}

:where(#form, #confirmation) .submit-btn {
  border: none;
  margin-bottom: 30px;
}

.btn-return {
  display: block;
  margin-inline: auto;
  text-decoration: none;
  text-align: center;
  margin-bottom: 80px;
}

:where(#form, #confirmation) .submit-btn:hover {
  cursor: pointer;
}

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 .sectionWrap {
    width: 85%;
  }
  .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;
}

/* 共通部ここまで
  ---------- ---------- */
/* ========== ========== ==========
  個別部
  ========== ========== ========== */
/* 確認画面ページ */
.confirmation {
  /* margin-top: 150px; */
  /* margin-bottom: 100px; */
  padding-bottom: 100px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.confirmation .sectionWrap {
  width: min(90vw, 800px);
  text-align: center;
}

.confirmation .section_title {
  margin-bottom: 30px;
}

.confirmation .form_items {
  margin-bottom: 70px;
}

.confirmation .form_item {
  align-items: center;
  border-bottom: solid 1px #ccc;
  padding-bottom: 5px;
}

@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(16px, 1.5625vw, 20px);
}

.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: 700;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  margin-bottom: 20px;
}

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

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

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

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

@media only screen and (max-width: 767px) {
  .hm-s-err {
    border-radius: 5px;
    width: calc(100% - 60px);
    margin: 0 auto;
    padding: 35px 45px;
  }
}
.hm-s-err__inner {
  text-align: center;
}

.hm-s-err__txt {
  /* font-: "Noto Sans JP", sans-serif; */
  font-weight: 400;
  font-size: 1.8rem;
  color: #000000;
  margin: 0 0 40px;
}

@media only screen and (max-width: 767px) {
  .hm-s-err__txt {
    margin: 0 0 20px;
    font-size: 14px;
  }
}
.btn-popup-err {
  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: 1.6rem;
  color: #2f3093;
  background-color: #ffffff;
  cursor: pointer;
}

@media screen and (min-width: 769px) {
  .btn-popup-err {
    transition: color 250ms ease, background-color 250ms ease;
  }
  .btn-popup-err:hover {
    color: #ffffff;
    background-color: #2f3093;
  }
}
@media only screen and (max-width: 767px) {
  .btn-popup-err {
    line-height: 1.5;
    font-size: 16px;
  }
}
.btns {
  margin-bottom: clamp(90.67px, 10.63vw, 136px);
}

.body:has(:where(.failed, .thanks)) {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.body:has(:where(.failed, .thanks)) .footer {
  margin-top: auto;
}

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