/* CSS Document */
#contactForm {
  border: solid 1px #ccc;
  font-size: 80%;
  padding: 30px 20px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}
.formItem {
  display: flex;
  flex-direction: column;
  max-width: 650px;
  margin: 0 auto;
  font-size: 16px;
}
.formItem_required {
  border-radius: 6px;
  margin-right: 8px;
  padding: 4px;
  display: inline-block;
  text-align: center;
  background: #5bc8ac;
  color: #fff;
  font-size: 12px;
}
.formItem dt {
  display: block;
  margin-bottom: 15px;
}
.formItem dd {
  display: block;
  margin-bottom: 20px;
}
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #eaedf2;
}
input[type="text"], input[type="email"], input[type="tel"] {
  height: 48px;
}
textarea {
  height: 150px;
}
.submit_btn {
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 150px;
  display: block;
  letter-spacing: 0.05em;
  background: #5bc8ac;
  color: #fff;
  font-weight: bold;
  font-size: 20px;
}
@media screen and (min-width: 768px), print {
  .formItem {
    flex-wrap: wrap;
    flex-direction: row;
    max-width: 650px;
  }
  .formItem dt {
    width: 40%;
  }
  .formItem dd {
    width: 100%;
    max-width: 330px;
  }
}