@charset "utf-8";

.contents-page-head {
  aspect-ratio: auto;
}

.contents-page-head h1 {
  color: #000;
}

.contact-form-area {
  padding-top: 100px;
  margin-bottom: 120px;
  position: relative;
}

.contact-form-area::before {
  content: "";
  background: url(../img/common/main_bg.webp) no-repeat center / cover;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  width: 50%;
  height: auto;
  aspect-ratio: 1003 / 1285;
}

.contact_lead {
  text-align: center;
  margin-bottom: 60px;
  font-size: var(--fs16);
}

.c-form {
  max-width: 800px;
  margin: 0 auto 100px;
}

.form_row {
  flex-wrap: wrap;
  padding-bottom: 30px;
}

.form_row dt {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: var(--fs18);
}

.required,
.any {
  display: inline-block;
  font-size: 1.2rem;
  margin-left: 6px;
  border-radius: 4px;
  vertical-align: middle;
}
.required {
  color: #ff6464;
}
.any {
  background: #ddd;
  color: #666;
}

.form_row dd {
  width: 100%;
  font-size: var(--fs15);
  line-height: 2;
}

/* 入力パーツ共通 */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: var(--fs16);
  background: #f2f2f2;
  appearance: none;
}

input:focus,
textarea:focus {
  border-color: #333;
  outline: none;
  background: #f2f2f2;
}

.radio_wrap label {
  cursor: pointer;
  display: block;
}
.radio_wrap input[type="radio"] {
  margin-right: 5px;
  transform: scale(1.2);
}

.privacy_check {
  text-align: center;
  margin: 40px 0;
  font-size: var(--fs15);
}
.privacy_check p {
  margin-bottom: 12px;
}
.privacy_check a {
  text-decoration: underline;
  color: #333;
}
.privacy_check input[type="checkbox"] {
  transform: scale(1.5);
  margin-right: 8px;
  vertical-align: middle;
}

/* 送信ボタン */
.submit-btn-area {
  text-align: center;
}
.c-btn-submit {
  display: inline-block;
  background: #000;
  color: #fff;
  border: none;
  padding: 15px 80px;
  font-size: var(--fs18);
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.c-btn-submit:hover {
  opacity: 0.8;
}
.last_txt {
  text-align: center;
  margin: 20px auto;
}

@media screen and (max-width: 767px) {
  .contents-page-head {
    height: auto;
  }
  .contact-form-area {
    padding: 0 5%;
  }
  .contact_lead {
    font-size: var(--fs15);
    text-align: left;
    margin-bottom: 40px;
  }

  .form_row {
    display: block;
    padding: 20px 0;
  }

  .form_row dt {
    width: 100%;
    margin-bottom: 10px;
    padding-right: 0;
  }

  .form_row dd {
    width: 100%;
  }
  .contact-form-area::before {
    width: 80%;
  }

  .radio_wrap label {
    display: block;
    margin-bottom: 10px;
    margin-right: 0;
    border-radius: 4px;
  }

  .c-btn-submit {
    width: 100%;
    padding: 15px 0;
  }
}

/* ====================================================
thanks
==================================================== */

.contact.thanks .contact_lead {
  text-align: center;
  margin-bottom: 40px;
}

.contact.thanks .contact_lead h2 {
  font-size: var(--fs18);
  font-weight: bold;
  margin-bottom: 20px;
}

.contact.thanks .contact_lead p {
  font-size: var(--fs16);
  margin-bottom: 30px;
}

.contact.thanks .contact_lead p span {
  font-size: var(--fs14);
  display: inline-block;
  margin-top: 16px;
}
