@charset "UTF-8";

.form {
  width: 100%;
  background: #fcf9e2;
  padding: 80px 0 100px;
}

.form__inner {
  width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

h1 {
  font-size: 30px;
  text-align: center;
  margin-bottom: 80px;
}

.note {
  font-size: 16px;
  margin-bottom: 40px;
}

form {
  border-radius: 10px;
  background: #fff;
  padding: 20px 0 50px;
}

table {
  width: 100%;
  margin-bottom: 30px;
}

table tr:first-child {
  display: none;
}

th {
  width: 190px;
  padding: 0 30px;
  font-size: 16px;
  vertical-align: middle;
  text-align: right;
}

th small {
  color: #f00;
  font-size: 14px;
  margin-left: 10px;
}

td {
  padding: 20px 30px 20px 0;
  vertical-align: middle;
  line-height: 1.1;
}

td small {
  color: #f00;
  display: block;
  margin-top: 5px;
  font-size: 14px;
}

td input {
  width: 100%;
  height: 40px;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  -webkit-appearance: none;
  font-size: 16px;
}

td textarea {
  width: 100%;
  height: 100px;
  padding: 5px 10px;
  box-sizing: border-box;
  border: 1px solid #ddd;
  -webkit-appearance: none;
  font-size: 16px;
}

.privacy {
  width: 540px;
  margin: 0 auto 50px;
  height: 200px;
  overflow-y: auto;
  background: #f4f4f4;
  padding: 20px;
  font-size: 16px;
  box-sizing: border-box;
}

.send {
  text-align: center;
}

.send input {
  width: 300px;
  height: 60px;
  border-radius: 10px;
  background: #77BFBC;
  -webkit-appearance: none;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
}

.toplink {
  text-align: center;
  margin-top: 50px;
}

h1 + .toplink {
  margin: 0 0 50px;
  font-size: 14px;
}

.toplink a:link,
.toplink a:hover,
.toplink a:visited {
  color: #000;
  text-decoration: underline;
}
.toplink a:hover {
  text-decoration: none;
}

@media screen and (max-width:767px){
  .form {
    padding: 40px 0 80px;
  }

  .form__inner {
    width: 90%;
  }

  h1 {
    margin-bottom: 40px;
  }

  .note {
    font-size: 15px;
    margin-bottom: 40px;
  }

  form {
    padding: 20px 0 30px;
  }

  table {
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  th {
    width: 100%;
    display: block;
    padding: 0;
    font-size: 15px;
    text-align: left;
  }

  td {
    width: 100%;
    display: block;
    padding: 10px 0 20px;
  }

  td small {
    color: #f00;
    display: block;
    margin-top: 5px;
    font-size: 14px;
  }

  .privacy {
    width: 90%;
    margin: 0 auto 30px;
    font-size: 14px;
  }

  .send {
    text-align: center;
  }

  .send input {
    width: 90%;
    height: 50px;
  }
}