@charset "utf-8";

/*　フォーム
------------------------------------------------------------------------------　*/



input[type=submit], input[type=button] {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

p.bot {
  text-align: center;
  margin: 30px auto;
}

p.bot input {
  padding: 10px 30px 10px 30px;
  text-align: center;
  max-width: 480px;
  border: 0;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  border-radius: 20px;
}

p.bot input:hover {
  transition: background-color 1s;
}

p.bg01 input {
	color: #333;
	background-color: #CCCCCC;
}

p.bg01 input:hover {
  color: #E20A16;
  cursor: pointer;
}

p.bg02 input {
  color: #FFF;
  background-color: #E20A16;
}

p.bg02 input:hover {
  color: #EEC8CA;
  cursor: pointer;
}

#php_form {
  max-width: 740px;
  margin: 0px auto;
}

#php_form table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 50px;
}

#php_form table th {
  text-align: left;
  font-weight: bold;
  padding: 10px 5px;
  width: 200px;
  vertical-align: top;
  border-bottom: 1px dotted #CCC;
}

#php_form em {
	color: #FF0000;
	font-style: normal;

}

#php_form table th p.text {
  font-weight: normal;
  font-size: 0.86667rem;
}

#php_form table td {
  padding: 10px 5px;
  line-height: 2;
  border-bottom: 1px dotted #CCC;
}

#php_form textarea {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  width: 100%;
  color: #000;
  background: #FFF;
  border: 1px solid #999;
}

#php_form select {
  font-size: 1.13333rem;
  border: 1px solid #999;
}

#php_form select input[type=text], #php_form select input[type=tel] {
  border: 1px solid #999;
}

#php_form select input.itext:focus {
  color: #000;
  background: #FFF;
}

textarea:focus {
  color: #000;
  background: #FFF;
}

#php_form input.itext:focus, #php_formtextarea:focus {
  color: #000;
  background: #FFFFcc;
}

#php_form input.itext:focus, #php_formtextarea:focus {
  color: #000;
  background: #FFFFcc;
  border: 1px solid #999;
}

input.itext {
  width: 100%;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  border: 1px solid #999;
}

input.p-postal-code {
  border: 1px solid #999;
}

@media screen and (max-width: 980px) {
  #php_form {
    width: 100%;
  }
  #php_form input, #php_form textarea {
    font-size: 1.6em;
  }
  #php_form select {
    font-size: 1.6em;
    width: 100%;
    display: block;
  }
  #php_form thead, #php_form tbody, #php_form tr, #php_form th, #php_form td {
    width: 100%;
    display: block;
  }
  #php_form table {
    border-top: 1px solid #CCC;
  }
  #php_form table th, #php_form table td {
    width: auto;
    padding: 10px;
  }
  #php_form p.bot input {
    font-size: 0.875rem !important;
  }
  #php_form input.code {
    width: 8em;
  }
}