@charset "utf-8";

@media (max-width: 1024px) {
  body {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 13px;
    word-break: keep-all;
  }
}

main h1,
main p,
small {
  color: #fff;
}

main {
  background-image: url(../image/contact/contactbackground.png);
}

.form-lead {
  margin-bottom: 20px;
  white-space: normal;
  word-break: break-all;
}

textarea {
  height: 150px;
}

input[type="text"],
select,
textarea {
  width: 70%;
  margin: 0 auto;
  color: #000;
  background-color: #ebf9ff;
  padding: 5px;
}

form input[type="submit"] {
  margin: 0 auto;
  background-color: rgb(0, 42, 255);
  color: #fff;
  width: 120px;
  height: 40px;
  margin-top: 20px;
}

td {
  color: #fff;
}

#formWrap {
  width: 700px;
  margin: 0 auto;
  color: #555;
  line-height: 120%;
  font-size: 90%;
}

@media screen and (max-width: 768px) {
  #formWrap {
    width: 100%;
    margin: 0 auto;
  }
}

.formTable {
  text-align: left;
  width: 100%;
}

table.formTable {
  width: 100%;
  margin: 0 auto;
  border-collapse: collapse;
}
table.formTable td,
table.formTable th {
  border: 1px solid #ccc;
  padding: 10px;
}
table.formTable th {
  width: 30%;
  font-weight: normal;
  background: #efefef;
  text-align: left;
}
/*　簡易版レスポンシブ用CSS（必要最低限のみとしています。ブレークポイントも含め自由に設定下さい）　*/
@media screen and (max-width: 572px) {
  .formTable td input,
  .formTable td select,
  .formTable td textarea {
    display: block;
    margin: 0 auto;
  }
  table.formTable th,
  table.formTable td {
    width: auto;
    display: block;
  }
  table.formTable th {
    margin-top: 5px;
    border-bottom: 0;
  }
  form input[type="text"],
  form select,
  form textarea {
    width: 80%;
    padding: 5px;
    font-size: 110%;
    display: block;
  }
  form input[type="reset"],
  form input[type="button"] {
    display: block;
    width: 100%;
    height: 40px;
  }
}
