@charset "UTF-8";

input,
button,
textarea,
select {

  margin: 0;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}


table {
  width: 100%;
  margin: 0;
  padding: 0;
}


.form-blk {
  width: 80%;
  margin: 65px auto;
  padding: 65px 50px;
  text-align: left;
  background: #ffffff;
  position: relative;
}


.form-blk-inner {
  width: 100%;
}



label.your-name-c:after,
label.message-c:after,
label.e-mail-c:after {
  content: "※";
  color: #f00;
  font-size: 1.4rem;
  margin: 0 0 0 5px;
}

tbody {
  width: 100%;
}

tr {
  width: 100%;
}


th {
  /* width: 12em;  */
  /* width: 100px; */
  width: 20%;
  padding: 0 0 20px 50px;
  font-weight: bold;
  vertical-align: top;
}

td {
  padding: 0 0 50px;
}

.notes span {
  color: #f00;
}

.notes {
  margin: 0 0 30px;
  font-weight: bold;
}

/*---これ以降に追加--*/
input#your-name,
input#phone-num,
input#e-mail {
  font-size: 1.8rem;
  height: 50px;
  /* width: 400px;  これがあるため固定されてる*/

  border: 1px solid #c2c2c2;
  padding: 30px;
  box-sizing: border-box;
  /* background-color: #f00; */
}



textarea {
  font-size: 1.8rem;
  width: 600px; 
  height: 300px;
  border: 1px solid #c2c2c2;
  padding: 10px;
  box-sizing: border-box;
}

input#btn-submit {
  font-size: 1.6rem;
  width: 200px;
  height: 40px;
  text-align: center;
  line-height: 30px;
  color: #fff;
  background: #ea7558;
  border-radius: 5px;
}

td[colspan="2"] {
  text-align: center;
}


input::placeholder,
textarea::placeholder {
  color: #999;
}





/*-------------------------------
スマホ
-------------------------------*/

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

  #contact .form-blk {
    width: 90%;
    margin: 10px auto 0;
    padding: 20px;
    box-sizing: border-box;
  }

  #contact .form-blk .inner {
    width: 94%;
    margin: 0 auto;
  }

  #contact form table {
    width: 100%;
  }

  #contact form th {
    display: block;
    width: 100%;
    padding: 0 0 10px;
  }

  #contact form td {
    display: block;
    width: 100%;
    padding: 0 0 30px;
  }

  #contact input#your-name,
  #contact input#phone-num,
  #contact input#e-mail,
  #contact textarea {
    width: 90%;
    margin: 0 auto;
    display: block;
    box-sizing: border-box;
  }

  #contact .notes {
    margin: 0 0 30px;
    font-size: 1.4rem;
  }

  #contact input#btn-submit {
    width: 90%;
    margin: 20px auto 0;
    display: block;
  }


}