@charset "utf-8";


.contact-text {
    max-width: 750px;
    margin: 50px auto;
    text-align: left;
    font-size: 18px;
    line-height: 1.2;
}

/* form_area */
.form_area {
  background-image: url(../images/mail_back.png);
  background-repeat: no-repeat;
  background-position: -76px -29px;
  padding-top: 90px;
  padding-bottom: 90px;
  background-size: 30%;
}

#formWrap {
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
  max-width: 900px;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 5px;
}

#formWrap>form {
  width: 100%;
  margin: 0 auto;
}

table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}

table.formTable tr {
  border-top: solid 1px #eee;
  border-bottom: solid 1px #eee;
}

table.formTable td,
table.formTable th {
  padding: 25px 0 25px 30px;
}

table.formTable th {
  padding: 30px 0;
  font-weight: bold;
  font-size: 1em;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.required {
  background-color: #ff5c5c !important;
  padding: 5px 12px;
  float: right;
  color: #fff !important;
    line-height: 1;
}

p.direc {
  border: 2px solid #a81616;
  width: 440px;
  margin: 0 auto;
  padding: 10px;
}

.red {
  color: #f00;
  font-weight: bold;
}

.black {
  color: #000;
}

.grey {
  color: #5c5c5c;
  font-weight: bold;
}

#formWrap>p {
  text-align: center;
}

.form-example {
    display: block;
    margin-left: 10px;
    font-size: 15px;
    color: #b3b3b3;
}
textarea, input[type="text"] {
    width: 100%;
    margin: 5px 0;
    padding: 10px;
    font-size: 16px;
    line-height: 1.6;
    border: 1px solid #d7d7d7;
    vertical-align: middle;
}

.confirmation {
    margin: 30px;
    margin-bottom: 20px;
    text-align: center;
}
input[type="submit"] {
    background: #ffa800;
    color: #fff;
    border: none;
    width: 100px;
    height: 40px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
@media screen and (max-width: 769px) {
  /* 769pxまでの幅の場合に適応される */

  #formWrap {
    padding: 0 15px;
  }

  .form_area {
    background-position: 4px 1px;
  }

  table.formTable tr {
    display: flex;
    flex-direction: column;
  }

  table.formTable th {
    padding: 15px 10px 0 10px;
    justify-content: left;
  }

  table.formTable td {
    padding: 5px 0 15px 0px;
  }

  .required {
    margin-left: 20px;
  }

  textarea,
  input[type="text"] {
    width: 95%;
  }
}