@charset "UTF-8";
/* 共通css */
.contact__wrapper {
  width: min(1000px, 71vw);
  margin-inline: auto;
  padding: 97px 0;
}
.contact__lead {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  line-height: 2;
  text-align: center;
  margin-bottom: min(97px, 6.9vw);
}
.error {
  color: #ff4b00;
}
@media (max-width: 767px) {
  .contact__wrapper {
    width: 85vw;
    padding: 66px 0;
  }
  .contact__lead {
    line-height: 1.6;
    text-align: left;
  }
}
/* 送信ボタン */
.btn-box {
  margin-inline: auto;
  width: fit-content;
}
.btn-box button {
  margin-inline: auto;
  color: #fff;
  background-color: #333;
  width: min(85vw, 417px);
  height: clamp(48px, 5.5vw, 77px);
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  transition: all 0.4s ease;
}
.btn-box button:hover {
  color: #333;
  background-color: #fff;
  border: solid 1px #333;
}
/* 入力ページ */
.contact__row {
  display: grid;
  grid-template-columns: 1fr 1.9fr;
  grid-template-rows: 1fr;
  padding: 22px 0;
  border-bottom: solid 1px #333;
  align-items: center;
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
}
.contact__row-text {
  align-items: start;
}
.contact__row:first-child {
  border-top: solid 1px #333;
}
.contact__input-box input {
  width: 100%;
  padding: 5px 10px;
  border: solid #333 1px;
}
.contact__input-box textarea {
  width: 100%;
  padding: 5px 10px;
  border: solid #333 1px;
}
.contact__input-box-row {
  display: grid;
  grid-template-columns: 47% 6% 47%;
  grid-template-rows: 1fr;
}
.contact__input-box-row-l {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: 15% 85%;
  grid-template-rows: 1fr;
  align-items: center;
}
.contact__input-box-row-l p {
  grid-column: 1 / span 2;
}
.contact__input-box-row-r {
  grid-column: 3;
  grid-row: 1;
  display: grid;
  grid-template-columns: 15% 85%;
  grid-template-rows: 1fr;
  align-items: center;
}
.contact__input-box-row-r p {
  grid-column: 1 / span 2;
}
.contact__input-box-row-p-req {
  width: min(18.8vw, 264px);
  display: flex;
  justify-content: space-between;
  margin-left: min(13px, 0.9vw);
  align-items: center;
}
.contact__input-box-row-p-req span {
  color: #fff;
  background-color: #0071ff;
  padding-inline: clamp(5px, 0.5vw, 7px);
  white-space: nowrap;
  height: fit-content;
  margin-left: 2%;
}
.contact__input-box-row-text-req {
  margin-top: 5px;
}
.contact__input-box-row-p {
  margin-left: min(13px, 0.9vw);
}
.send-btn__block {
  margin-inline: auto;
  width: fit-content;
}
.consent-box {
  margin-top: 60px;
  margin-bottom: 50px;
  text-align: center;
}
.consent-box p {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  margin-inline: auto;
  width: fit-content;
  text-align: start;
}
.consent-box p a {
  position: relative;
  color: #9c9d9f;
}
.consent-box p a::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 1px;
  background-color: #9c9d9f;
  bottom: 0;
  left: 0;
}
.consent-box p a:hover {
  opacity: 0.7;
}
.section__contact__form__checkbox {
  width: 204px;
  height: clamp(48px, 3.9vw, 55px);
  background-color: #e3e4e4;
  margin-top: 60px;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
  position: relative;
}
.main-error {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
}
/* チェックBOX */
.section__contact__form__checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  position: absolute;
  width: 100%;
  height: 100%;
}
.section__contact__form__checkbox input[type="checkbox"]::before {
  content: "";
  position: absolute;
  left: 55px;
  top: calc(50% - 6.5px);
  width: 13px;
  height: 13px;
  background: #fff;
}
/* チェック時 */
.section__contact__form__checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 59px;
  top: calc(50% - 6.5px + 1px);
  width: 5px;
  height: 10px;
  border: solid #0071ff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.section__contact__form__checkbox label {
  font-size: clamp(1.3rem, 1.1vw, 1.6rem);
  display: flex;
  height: 100%;
  align-items: center;
  padding-left: 27px;
}
@media (max-width: 1023px) {
  .contact__input-box-row-l {
    grid-template-columns: 20% 80%;
  }
  .contact__input-box-row-r {
    grid-template-columns: 20% 80%;
  }
}
@media (max-width: 767px) {
  .contact__row {
    grid-template-columns: 1fr;
    grid-template-rows: 55px auto;
    padding: 0 0 22px 0;
  }
  .contact__input-box-row-p-req {
    width: 100%;
    margin-left: 0;
  }
  .contact__row-text {
    align-items: center;
  }
  .contact__input-box-row-text-req {
    margin-top: 0;
  }
  .contact__input-box-row {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .contact__input-box-row-p {
    margin-left: 0;
  }
  .contact__input-box-row-l {
    grid-column: 1;
    grid-row: 1;
    display: block;
    margin-bottom: 14px;
  }
  .contact__input-box-row-l label {
    margin-bottom: 5px;
    display: inline-block;
  }
  .contact__input-box-row-r {
    grid-column: 1;
    grid-row: 2;
    display: block;
  }
  .contact__input-box-row-r label {
    margin-bottom: 5px;
    display: inline-block;
  }
  .section__contact__form__checkbox {
    margin-top: 35px;
  }
  .section__contact__form__checkbox label {
    padding-left: 22px;
  }
  .section__contact__form__checkbox input[type="checkbox"]::before {
    left: 60px;
  }
  .section__contact__form__checkbox input[type="checkbox"]:checked::after {
    left: 64px;
  }
}
/* 送信確認ページ */
.contact__confirm__wrapper table {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  line-height: 1.6;
  width: min(71vw, 1000px);
  border-collapse: collapse;
  margin: 0 auto;
}
.contact__confirm__wrapper table tr {
  border-top: 1px solid #333;
  border-bottom: 1px solid #333;
}
.contact__confirm__wrapper table tr th {
  text-align: left;
  width: min(247px, 17.6vw);
  padding: min(34px, 2.4vw) 0 min(34px, 2.4vw) min(54px, 3.8vw);
  white-space: nowrap;
}
.contact__confirm__wrapper table tr td {
  text-align: left;
  padding-left: min(139px, 9.9vw);
}
.contact__confirm__reset {
  margin-top: 15px;
  margin-bottom: 38px;
}
.contact__confirm__reset button {
  appearance: none;
  -webkit-appearance: none;
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: min(0.3vw, 5px);
  transition: opacity 0.4s ease;
}
.contact__confirm__reset button:hover {
  opacity: 0.7;
}
.contact__confirm__reset button::before {
  content: "";
  background: url("/assets/images/common/arrow-black.webp") center / contain
    no-repeat;
  display: block;
  width: 13px;
  height: 25px;
}
@media (max-width: 767px) {
  .contact__confirm__wrapper table {
    width: 85vw;
  }
  .contact__confirm__wrapper table tr {
    border-bottom: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 60px 1fr;
  }
  .contact__confirm__wrapper table tr:last-child {
    border-bottom: 1px solid #333;
  }
  .contact__confirm__wrapper table tr th {
    width: 100%;
    padding: 20px 17px;
    background-color: #e3e4e4;
  }
  .contact__confirm__wrapper table tr td {
    padding: 20px 17px;
  }
  .contact__confirm__reset {
    margin-top: 24px;
    margin-bottom: 41px;
  }
  .contact__confirm__reset button {
    gap: 11px;
  }
}
/* 送信完了ページ */
.contact__thanks__wrapper {
  margin-inline: auto;
  width: 85vw;
  text-align: center;
  margin-top: 97px;
  margin-bottom: 97px;
}
.contact__thanks__wrapper h2 {
  font-size: clamp(3.2rem, 3.5vw, 4.9rem);
  margin-bottom: min(72px, 5vw);
}
.contact__thanks__wrapper p {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  margin-bottom: min(72px, 5vw);
  line-height: 2;
}
.contact__thanks__a {
  width: min(85vw, 417px);
  height: clamp(48px, 5.5vw, 77px);
  background-color: #333;
  color: #fff;
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-inline: auto;
}
@media (max-width: 767px) {
  .contact__thanks__wrapper {
    margin-top: 66px;
    margin-bottom: 66px;
  }
  .contact__thanks__wrapper p {
    margin-bottom: 42px;
    line-height: 1.6;
    text-align: left;
  }
}
/* プライバシーポリシー */
.privacypolicy__wrapper {
  width: min(1000px, 71vw);
  margin-inline: auto;
  padding: 97px 0;
  line-height: 2;
  text-align: justify;
}
.privacypolicy__lead {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  margin-bottom: clamp(65px, 6.4vw, 90px);
}
.privacypolicy__inner {
  margin-bottom: clamp(50px, 6vw, 85px);
}
.privacypolicy__inner h2 {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  padding-bottom: clamp(17px, 2.1vw, 30px);
  border-bottom: solid 1px #333;
}
.privacypolicy__inner p {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  padding-top: clamp(17px, 2.1vw, 30px);
}
.privacypolicy__inner a {
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
  color: #9c9d9f;
}
.privacypolicy__inner a:hover {
  opacity: 0.7;
}
.privacypolicy__p {
  margin-bottom: clamp(30px, 4.2vw, 60px);
  font-size: clamp(1.5rem, 1.5vw, 2.1rem);
}
.privacypolicy__p-span {
  display: block;
  margin-bottom: clamp(30px, 4.2vw, 60px);
}
@media (max-width: 767px) {
  .privacypolicy__wrapper {
    width: 85vw;
    padding: 66px 0;
    line-height: 1.6;
  }
  .transform__up {
    display: inline-block;
    transform: translateY(-5px);
  }
}
