/* 作成者名　 */
/* kokai takahito */

/* 共通 */
.main {
  max-width: 128rem;
  font-weight: 700;
  font-family: var(--ZenKaku);
  letter-spacing: 0;
}

/* お問い合わせ */
.contact_form {
  max-width: 108rem;
  text-align: center;
  margin: 0 auto;
  /* margin-top: 21.6rem; */
}

/* テキストエリア */
.contact_text_box {
  position: relative;
}

.contact_heading {
  display: inline-block;
  font-size: 4.5rem;
  font-weight: bold;
  border-bottom: 2px solid #634b6d;
  margin-bottom: 10.85rem;
}

.flower {
  width: 19.9rem;
  height: 19.4rem;
  object-fit: cover;
  vertical-align: bottom;
  position: absolute;
  top: -4.5rem;
  right: 20rem;
}

.text_flex_box {
  display: flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  /* gap: 15.7rem; */
  margin-bottom: 8.3rem;
}

.contact_sub_haeding {
  width: 22rem;
  font-size: 2rem;
  color: #634B6D;
  line-height: calc(29 / 20);
  margin-right: 8.6rem;
}


.tel_area {
  display: flex;
}

.tel_icon {
  width: 4.3rem;
  height: 4.3rem;
  margin-right: 2.8rem;
}

.contact_tel {
  font-size: 3rem;
  color: #634B6D;
  letter-spacing: 0.27rem;
  line-height: calc(44 / 30);
}

.contact_text {
  font-size: 1.8rem;
  padding-bottom: 0.5rem;
  color: #454545;
}

.contact_text:last-child {
  padding-bottom: 3.2rem;
}

.contact_text:last-child::before {
  content: "*";
  color: #bb4747;
  width: 0.9rem;
  height: 2.6rem;
  margin-right: 0.6rem;
}

/* フォーム */
.contact_form_area {
  font-family: var(--ZenKaku);
}

.form_item {
  display: flex;
  justify-content: space-between;
}

.label {
  border-top: 3px solid #634b6d;
  /* width: 25.6rem; */
  width: 26rem;
  padding: 4rem;
  color: #634B6D;
}

.radio_btn {
  color: #454545;
}

.pseudo {
  color: #bb4747;
  padding-left: 0.6rem;
}

.inputs {
  border-top: 2px solid #c2c2c2;
  /* width: 82.4rem; */
  width: 82rem;
  padding: 4rem 0 4rem 8rem;
}

/* ラジオボタンの間隔調整 */
.wpcf7-list-item {
  margin: 0 6.7rem 0 0;
}

.label,
.inputs,
.inputs_parts {
  font-size: 1.8rem;
  font-weight: bold;
  text-align: left;
}

label:has(input[type="radio"]) {
  cursor: pointer;
}

input[type="radio"] {
  all: revert;
  accent-color: #634B6D;
  cursor: pointer;
}

.inputs_parts {
  width: 71rem;
  height: 5rem;
  border: 1px solid #707070;
}

.textarea_label {
  /* width: 25.6rem; */
  width: 26rem;
  /* height: 34.8rem; */
  border-bottom: 3px solid #634b6d;
  /* padding: 4rem; */
  padding: 4.8rem 0 4rem 3.3rem;
}

.textarea_inputs {
  /* width: 82.4rem; */
  width: 82rem;
  border-top: 2px solid #c2c2c2;
  border-bottom: 2px solid #c2c2c2;
  /* padding: 4rem; */
  /* padding: 4rem 0 4rem 7.4rem; */
  padding: 4rem 0 3.8rem 7.0rem;
  margin-right: 2rem;
}

.textarea_parts {
  height: 25.3rem;
  width: 71rem;
  font-weight: bold;
  border: 1px solid #707070;
}

.btn_area {
  /* margin-top: 10.8rem; */
  margin-top: 6.6rem;
  margin-bottom: 12rem;
}

.btn_area {
  display: inline-block;
  background-color: #634b6d;
  width: 35rem;
  height: 6.0rem;
  border: 1px solid #707070;
  border-radius: calc(6.0rem / 2);
  position: relative;  
  &::after{
    position: absolute;
    content: "";
    display: inline-block;
    width: 3.0rem;
    height: 3.0rem;
    background-image: url('../img/page_right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    right: 4.4rem;
    top: 1.5rem;
    border: white 0.1rem solid;
    background-color: #fff;
    border-radius: calc(3.0rem / 2);
  }
}

.contact_btn {
  width: 35rem;
  height: 6.0rem;
  color: #fff;
  font-size: 2rem;
  /* display: flex; */
  /* justify-content: center; */
  align-items: center;
  cursor: pointer;
  line-height: calc(60 / 20); 
  text-align: left;
  padding-left: 4.4rem;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  padding: 1.2rem 2rem;
  font-size: 1.8rem;
}

::placeholder {
  color: #a8a8a8;
  font-size: 1.8rem;
}

/* error-message */
.wpcf7-not-valid-tip,
.wpcf7-response-output {
  font-size: 1.8rem;
}

@media screen and (max-width: 699.98px) {

  /* メイン */
  .main {
    max-width: 37.5rem;
  }

  /* お問い合わせ */
  .contact_form {
    max-width: 32rem;
    /* margin-top: 7.4rem; */
    margin-top: 0;
  }

  /* テキストエリア */
  .contact_heading {
    margin-bottom: 6.5rem;
  }

  .flower {
    width: 6.5rem;
    height: 6.6rem;
    top: 3.6rem;
    right: 0;
  }

  .text_flex_box {
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 2.1rem;
  }

  .contact_sub_haeding {
    min-width: 19.8rem;
    font-size: 1.8rem;
    line-height: calc(26 / 18);
    margin-right: 0;
  }

  .tel_icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1.0rem;
  }

  .contact_tel {
    font-size: 1.8rem;
    letter-spacing: 0.162rem;
    line-height: calc(26 / 18);
  }

  .contact_text {
    display: block;
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(21 / 16);
    padding-left: 4.0rem;
    text-align: left;

    &:last-child {
      font-weight: 700;
      font-size: 1.5rem;
      line-height: calc(21 / 15);
      border-bottom: 1px solid #634B6D;
      padding-left: 0;
      padding-bottom: 2.4rem;
      text-align: center;
    }
  }


  /* フォーム */
  .form_item {
    flex-direction: column;
  }

  .label,
  .inputs,
  .inputs_parts,
  .textarea_parts {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  textarea {
    padding: 1.2rem 0.2rem;
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }

  ::placeholder {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: calc(24 / 16);
  }

  .label {
    border-top: none;
    /* padding: 2.8rem 0 0;
    margin-bottom: 2rem; */
    padding: 2.0rem 0 1.1rem 0;
    margin-bottom: 0;

    &.radio_label {
      padding: 2.8rem 0 2.0rem 0;
    }

    &.name_label {
      padding: 3.0rem 0 1.1rem 0;
    }
  }

  .inputs {
    width: 32rem;
    border-top: none;
    padding: 0;
  }

  .inputs_parts {
    width: 32rem;
    /* margin-bottom: 2.1rem; */
    margin-bottom: 0;
  }

  .label_parts {
    display: block;
  }

  .radio_btn {
    font-weight: 400;
    /* margin-bottom: 2rem; */
    display: flex;
    flex-direction: column;
    gap: 2.0rem 0;

  }

  .textarea_label {
    height: 5rem;
    border-bottom: none;
  }

  .textarea_inputs {
    width: 32rem;
    border-top: none;
    border-bottom: none;
    padding: 0 0 2.8rem;
    border-bottom: 1px solid #634B6D;
  }

  .textarea_parts {
    width: 32rem;
    height: 5rem;
  }

  .btn_area {
    margin-top: 4.2rem;
    margin-bottom: 7.4rem;
  }

  .contact_btn {
    font-size: 1.6rem;
  }

  .btn_area {
    display: inline-block;
    background-color: #634b6d;
    width: 32rem;
    height: 5.0rem;
    border: 1px solid #707070;
    border-radius: calc(5.0rem / 2);
    position: relative;
    &::after{
      position: absolute;
      content: "";
      display: inline-block;
      width: 3.0rem;
      height: 3.0rem;
      background-image: url('../img/page_right.svg');
      background-size: contain;
      background-repeat: no-repeat;
      right: 4.4rem;
      top: 1.0rem;
      border: white 0.1rem solid;
      background-color: #fff;
      border-radius: calc(3.0rem / 2);
    }
  }
  
  .contact_btn {
    color: #fff;
    width: 32rem;
    height: 5.0rem;
    font-size: 1.6rem;
    display: block;
    line-height: calc(50 / 16); 
    align-items: center;
    cursor: pointer;
    text-align: left;
    padding-left: 4.4rem;
  }
}