.contact-section {
  width: 100%;
}
.contact-hero {
  position: relative;
  width: 100%;
  height: 396px;
}

.contact-hero_title {
  position: absolute;
  margin: 0;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  font-weight: 300;
  font-size: 60px;
  line-height: 102px;
  color: #214c9f;
  z-index: 1;
}
.contact-hero img {
  position: absolute;
  width: 100%;
  height: 396px;
  object-fit: cover;
  opacity: 19%;
  z-index: 0;
}

/*フォームのレイアウト */
.contact-form {
  display: block;
  position: relative;
  margin: 70px 7%;
}

.form-items {
  width: 100%;
  margin-bottom: 35px;
}
.form-label {
  display: block;
  font-size: 25px;
  color: #404040;
  margin-bottom: 21px;
}
.required {
  color: #E64141;
  font-weight: 300;
  margin-left: 16px;
  font-size: 14px;
  line-height: 27px;
}
.form-input {
  width: 100%;
  box-sizing: border-box;
  padding: 17px 35px 16px 35px;
  border: 1px solid #707070;
  font-size: 25px;
  line-height: 43px;
  color: black;
}

.form-input-group {
  display: flex;
  gap: 40px;
}

.form-input-group .wpcf7-form-control-wrap {
  flex: 1;
}

.form-input-small {
  width: 100%;
  padding: 17px 35px;
  border: 1px solid #707070;
  font-size: 25px;
  line-height: 43px;
  color: black;
  box-sizing: border-box;
}


.form-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 17px 35px 16px 35px;
  border: 1px solid #707070;
  resize: vertical;
  font-size: 25px;
  line-height: 43px;
  color: #333;
}

/* 送信ボタン */
.btn-submit {
  display: block;
  text-align: center;
  width: 80%;
  margin: 35px auto 0 auto;
  padding: 0 auto;
  background-color: #214c9f;
  color: #ffffff;
  font-weight: 300;
  font-size: 25px;
  padding: 46px;
  border: none;
  cursor: pointer;
}

/* hover */
.btn-submit:hover {
  background-color: white;
  outline: 3px solid #214c9f;
  box-sizing: border-box;
  color: #214c9f;
}


/* hover */
.btn-submit:hover {
  background-color: white;
  outline: 3px solid #214c9f;
  box-sizing: border-box;
  color: #214c9f;
}


@media (max-width: 1300px) {
  .contact-hero {
    height: 210px;
  }
  .contact-hero img {
    height: 210px;
  }
  .contact-hero_title {
    font-size: 35px;
    line-height: 60px;
  }

  .form-label {
    font-size: 16px;
    margin-bottom: 14px;
  }
  .form-input {
    padding: 12px 17px 12px 17px;
    font-size: 16px;
    line-height: 27px;
  }

  .form-input-group {
    display: block;
  }
  .form-input-small {
    width: 100%;
    margin-right: 0;
    margin-bottom: 16px;
    padding: 12px 17px 12px 17px;
    font-size: 16px;
    line-height: 27px;
  }
  .form-textarea {
    padding: 12px 17px 12px 17px;
    font-size: 16px;
    line-height: 27px;
  }
  
}
