header h1{
  width: 190px;
  height: auto;
}

.contact{
  padding: 150px 0;
}
.contact .wrapper{
  width: 800px;
}
@media only screen and (max-width:768px){
  header h1{
    width: 160px;
  }
  .contact{
    padding: 90px 0;
  }
  .contact .wrapper{
    width: 89%;
  }
}

.contact-ttl{
  width: 140px;
  margin: 0 auto 30px;
}
.contact-txt{
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}
.contact-txt_red{
  color: red;
}

.form-inner{
  background-color: #FAFAFA;
  padding: 40px 0;
  margin-bottom: 40px;
}
form table{
  width: 569px;
  margin: 0 auto;
  border-spacing: 20px;
  border-collapse: separate;
}
form table th{
  text-align: right;
  font-weight: normal;
  padding-right: 28px;
  white-space: nowrap;
  vertical-align: middle;
}
form table td input[type="text"],
form table td input[type="tel"],
form table td input[type="email"]{
  width: 400px;
  height: 50px;
  font-size: 16px;
  border: 1px solid #D1D1D1;
}
form table td textarea{
  width: 400px;
  height: 200px;
  font-size: 16px;
  border: 1px solid #D1D1D1;
  resize: none;
}

form input[type="submit"]{
  background-color: #05A499;
  width: 280px;
  height: 50px;
  text-align: center;
  border-radius: 10px;
  color: white;
  font-size: 20px;
  margin: 0 auto;
  display: block;
}

form #modify{
  color: #05a499;
  border: 1px solid #05a499;
  width: 280px;
  height: 50px;
  text-align: center;
  border-radius: 10px;
  font-size: 20px;
  margin: 0 auto 20px;
  display: block;
}

form table td input[type="text"][readonly="readonly"],
form table td input[type="tel"][readonly="readonly"],
form table td input[type="email"][readonly="readonly"],
form table td textarea[readonly="readonly"]{
  background-color: #FAFAFA;
  border: none;
  resize: none;
}

@media only screen and (max-width:768px){
  .contact-ttl{
    width: 120px;
    margin: 0 auto 20px;
  }
  .contact-txt{
    margin-bottom: 30px;
  }
  .form-inner{
    padding: 20px;
    margin-bottom: 20px;
  }
  form table{
    width: 100%;
    border-spacing: 0;
  }
  form table tr,
  form table th,
  form table td{
    display: block;
  }
  form table tr{
    margin-bottom: 20px;
  }
  form table th{
    padding-right: 0;
    text-align: left;
    margin-bottom: 8px;
  }
  form table td input[type="text"],
  form table td input[type="tel"],
  form table td input[type="email"]{
    width: 100%;
    height: 40px;
  }
  form table td textarea{
    width: 100%;
    height: 200px;
  }

  form input[type="submit"]{
    background-color: #05A499;
    width: 280px;
    height: 50px;
    text-align: center;
    border-radius: 10px;
    color: white;
    font-size: 20px;
    margin: 0 auto;
    display: block;
  }

  form #modify{
    color: #05a499;
    border: 1px solid #05a499;
    width: 280px;
    height: 50px;
    text-align: center;
    border-radius: 10px;
    font-size: 20px;
    margin: 0 auto 20px;
    display: block;
  }

}









select {
  font-size: 16px;
  width: 100%;
  height: 50px;
  border: 1px solid #d1d1d1;
  padding: 0 10px;
  -webkit-appearance: none;
}
.select-wrapper {
  position: relative;
}

.select-wrapper::after{
  content: '';
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: auto 15px auto 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: #333 transparent transparent transparent; 
}

@media only screen and (max-width:768px){

select {
  height: 40px;
}

}
