html,body{
	height: 100%;
}

#wrapper{
	min-height: 100%;
	position: relative;
	width: 100%;
}

#form input{
	padding: 0px;
	line-height: 65px;
	width: 100%;
	text-indent: 3em;
}

#form textarea{
	height: 220px;
	width: 100%;
	text-indent: 1em;
	outline: 0;
	border:0;
	resize: none;
}

.contact-row{
	padding: 10px 18%;
}

.contact-table td{
	border: solid 1px #000;
	height: 65px;
}

.contact-content{
	padding-bottom: 170px;
}

.contact-cell{
	background-color: #f0d4cd;
}

.contact-cell p{
	text-align: left;
	padding: 0px 20px 0px 40px;
	letter-spacing: 1px;
}

.require-span{
	font-size: 0.7em;
}

.textarea-cell{
	height: 220px !important;
}

.footer{
	position: absolute;
	bottom: 0;
	height: 170px;
}

.error_match{
  color: red;
}

.btn-border2 {
  border: 2px solid #b90000;
  border-radius: 0;
  background: #fff;
  padding:12px 0px;
  width: 100%;
  color: #b90000;
  font-size: 14px;
}

.btn-border2:hover {
  color: #fff;
  background: #b90000;
}

.input-field{
	padding: 0px;
    line-height: 65px;
    width: 100%;
    text-indent: 3em;
    text-align: left;
}

.textarea-field{
	height: 220px;
    width: 100%;
    text-indent: 1em;
    outline: 0;
    border: 0;
    text-align: left;
    resize: none;
}

.button-width{
	width: 200px;
	margin: auto;
}

.style-a{
	color: #b90000;
}

.style-a:hover{
	color: #ffffff;
}


/*-----tablet-----*/
@media all and (min-width: 480px) and (max-width: 768px) {
	.contact-row{
		padding: 10px 5%;
	}
}

/*-----phone-----*/
@media all and (max-width: 480px) {
	.contact-row{
		padding: 10px 10%;
	}
	.contact-cell{
		border: solid 1px #000;
	}
	.contact-cell p{
		padding: 15px 20px 15px 25px;
	}
	.border-input{
		border-right: solid 1px #000;
		border-left: solid 1px #000;
	}
	#error-message-sp{
	    color: red;
	}
	.textarea-field{
		overflow-wrap: break-word;
 	   	overflow-y: auto;
	}
	.btn-border2 {
	  padding:12px 0px;
	}
}