@charset "UTF-8";

.contact .inner {
  width: 100%;
  max-width: 720px;
}

.contact .error_message {
  color: #ff0000;
}

.contact .required {
  font-size: 20px;
  color: #c8161d;
}

.contact .bold {
  font-weight: bold;
}

.contact table tr {
  height: 80px;
  border-bottom: 1px dashed #d5b4bd;
}

.contact table tr:last-child {
  border: 0;
}

.contact table th, .contact table td {
  font-size: 14px;
  font-weight: normal;
  vertical-align: middle;
  text-align: left;
  padding: 20px 0 30px;
}

.contact table th {
  font-weight: bold;
  width: 195px;
  padding-left: 15px;
}

.contact table td {
  position: relative;
  padding-right: 15px;
}

.contact table td.privacy {
  padding: 20px 0;
}

.contact table td input {
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  height: 30px;
  background: #fff;
  padding: 0 15px;
  border: 1px solid #aaa;
  border-radius: 3px;
}

.contact table td select {
  width: 100%;
  height: 30px;
  background: #fff;
  padding: 0 15px;
  border: 1px solid #aaa;
  border-radius: 3px;
}

.contact table td textarea {
  font-size: 14px;
  line-height: 1.5;
  width: 100%;
  height: 300px;
  background: #fff;
  padding: 15px;
  border: 1px solid #aaa;
  border-radius: 3px;
}

.contact .form_content th {
  vertical-align: 30px;
  padding-top: 30px;
}

.contact table td select option {
  padding: 5px;
}

.contact table td .anno,
.contact table td .error {
  font-size: 12px;
  position: absolute;
  bottom: 10px;
  left: 0;
}

.contact table td .error {
  color: #c8161d;
}

.contact table td.privacy input {
  vertical-align: middle;
  width: auto;
  margin-right: 5px;
}

.contact table td.privacy a {
  color: #6565F4;
  text-decoration: underline;
  margin-left: 10px;
}

.contact .btn_submit {
  text-align: center;
}

.contact .btn_submit input {
  font-size: 14px;
  display: inline-block;
  width: 80%;
  height: 50px;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 3px;
  cursor: pointer;
  -webkit-transition: 0.2s;
  -o-transition: 0.2s;
  transition: 0.2s;
}

@media (min-width: 720px) {
  .contact .btn_submit input:hover {
    color: #fff;
    background: #aaa;
    border: 1px solid #aaa;
  }
}

/* mobile */
@media (max-width: 720px) {
  .contact section {
    padding: 20px 10px;
  }

  .contact .inner {
    width: 100%;
  }

  .contact table th, .contact table td {
    display: block;
    width: 100%;
  }

  .contact table th {
    padding: 10px;
  }

  .contact.entry table td {
    padding: 10px 0 40px;
  }

  .contact table td input[type=text],
  .contact table td textarea,
  .contact table td select {
    font-size: 16px;
  }

  .contact table td textarea {
    height: 150px;
  }

  .contact table td .error {
    bottom: 20px;
  }
}