
body {
  font-family: var(--NotoSerif);
}

.contact_wrap {
  width: 100rem;
  margin: 6rem auto 18rem;
}

.cont_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem calc(16.1rem - 13.95rem) 1.5rem 0;
  border-top: 0.1rem solid;
}

.subject_select,
.cont_input  {
  width: 61rem;
  border: 0.1rem solid;
  border-radius: 0.5rem;
  font-size: 1.8rem;
  padding: 0.55rem 1.5rem;
}
.subject_select {
  padding-right: 4.5rem;
}

.cont_select {
  position: relative;
}
.cont_select::before {
  content: '';
  width: 1.8rem;
  height: 1.53rem;
  background-color: #000000;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  position: absolute;
  top: 2.8rem;
  right: 4rem;
  z-index: -1;
}

.cont_title {
  font-size: 1.8rem;
  line-height: calc(24 / 18);
}
.cont_title span {
  color: #D50000;
}

.item_message {
  align-items: normal;
  border-bottom: 0.1rem solid;
  margin-bottom: 5rem;
}
.item_message .cont_title {
  margin-top: 1rem;
}
.item_message .cont_input {
  height: 25rem;
  resize : none;
}

/* 送信ボタン */
.contact_submit_wrap {
  display: flex;
  /* margin: 0 auto; */
}
.contct_submit {
  width: 21rem;
  height: 6rem;
  color: #FFFFFF;
  background-color: #2F3C5E;
  margin: 0 auto;
}
.contct_submit input {
  width: 100%;
  font-size: 2rem;
  letter-spacing: calc(3em / 20);
  padding: 1.6rem 0;
}

/* .wpcf7-not-valid-tip {
  display: none;
} */
.wpcf7-not-valid {
  background-color: #FFDEDE;
  border: 0.1rem solid #DC010B;
}


@media screen and (max-width: 699.98px) {  
  .contact_wrap {
    width: 100%;
    margin: 3rem 0 15rem;
    padding: 0 2rem;
  }

  .cont_item {
    flex-direction: column;
    gap: 0.5rem;
    align-items: start;
    padding: 1rem 0 0.9rem;
  }

  .subject_select,
  .cont_input  {
    width: 100%;
    padding: 0.55rem 0.5rem;
  }
  .subject_select {
    width: 33.5rem;
    padding-right: 1rem;
  }

  .cont_select::before {
    content: '';
    width: 1.8rem;
    height: 1.53rem;
    top: 5.2rem;
    right: 1.3rem;
    z-index: -1;
  }

  .item_message {
    margin-bottom: 2rem;
  }
  .item_message .cont_title {
    margin-top: 0;
  }
  .item_message .cont_input {
    height: 36rem;
  }

  /* 送信ボタン */
  .contct_submit {
    width: 100%;
    height: 5rem;
  }
  .contct_submit input {
    width: 100%;
    height: 100%;
    font-size: 1.8rem;
    letter-spacing: calc(2.7em / 18);
    padding: 1.1rem 0;
  }

}