@charset "UTF-8";

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

.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 .form_content th {
  vertical-align: 30px;
  padding-top: 30px;
}

.contact .btn{
  display: -webkit-box;  /*Android4.3*/
  display: -moz-box;     /*Firefox21*/
  display: -ms-flexbox;  /*IE10*/
  display: -webkit-flex; /*PC-Safari,iOS8.4*/
  display: flex;
  width: 100%;
  margin-bottom: 20px;
}

.contact .btn_submit, .confirm .btn_back  {
  width: 100%;
  text-align: center;
}

.contact .btn_submit input,
.confirm .btn_back 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,
  .confirm .btn_back input:hover {
    color: #fff;
    background: #aaa;
    border: 1px solid #aaa;
  }
}

.confirm table {
  margin-bottom: 20px;
}

.confirm table .select_area:after {
  content: none;
}

.confirm .form_content td {
  line-height: 1.6;
}

/* mobile */
@media (max-width: 720px) {
  .contact section {
    padding: 40px 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.confirm table th, .contact.confirm table td {
    padding: 10px;
  }
}
