@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400&display=swap');


h4 {
	font-size: 20px;
	font-weight: 700;
	color: red;
}

#contact {
  max-width: 1200px;
	margin: 0px auto;
}
table.formTable{
	max-width:700px;
	margin:0 auto;
	border-collapse:collapse;
}
table.formTable td,table.formTable th{
	padding: 15px 0px;
	text-align:left;
	font-weight: 300;
	line-height: 2.8em;
}
table.formTable th{
	width:200px;
}

.valign_middle {
	vertical-align: top;
}

table.formTable td{
	max-width:500px;
}

input .text_bg {
	max-width: 500px;
}

.text_bg {
	border:0;
	color: #4B4B4B;
	background-color: #FFFFFF;
	max-width: 500px;
	padding: 0 10px;
	height: 2em;
}
textarea {
	border:0;
	color: #4B4B4B;
	background-color: #FFFFFF;
	max-width: 500px;
	height: 255px;
	padding: 0 10px;
}

input#submit_button {
	margin: 20px 50px;

	background-color: #00A5E3;
	color:#fff;
	font-size: 20px;
	border: 1px solid #FFFFFF;
	border-radius: 5px;
	padding: 5px;
	transition: 0.5s ;
}
input#submit_button:hover {
	color: #003894;
	background-color: #FFFFFF;
}

input#submit_button2 {
	margin: 50px;
	font-size: 20px;
	color: #003894;
	border: 1px solid #003894;
	border-radius: 5px;
	padding: 5px 20px;
	transition: 0.5s ;
}
input#submit_button2:hover {
	color: #FFFFFF;
	background-color: #003894;
}

p.error_messe{
	margin:5px 0;
	color:red;
}


.chuui {
	font-size: 12px;
	line-height: 1.5em;
}

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



/*確認画面用*/

.plof02{
	padding: 150px 0 0 0;
}
.kakunin {
	text-align: center;
	margin-bottom: 50px;
}
tr {
	border-bottom: 1px solid #003894;
}


/*thanks画面用*/

.plof03{
	padding: 200px 0 0 0;
	display: flex;
	flex-direction: column;
	text-align: center;
	margin-bottom: 100px;
}

.backtohome_button {
	width: 150px;
	height: auto;
	margin: 50px auto;
	color: #003894;
	text-align: center;
	line-height: 2.0em;
	border: 1px solid #003894;
	border-radius : 5px;
}

.backtohome_button a {
	display: block;
	color: #003894;
}

.backtohome_button a:hover {
	color: #FFFFFF;
	background-color: #003894;
}





/**************スマホ版**************/




@media (max-width: 900px) {
	#contact {
		width: 95%;
 }
}

 table.formTable{
 	width: 95%;
 	margin:0 auto;
 	border-collapse:collapse;
 }
 tbody {
	 border-top: 1px solid #003894;
 }
 tr {
	 border-bottom: none;
 }
 table.formTable th {
	 display: block;
	 text-align: left;
	 width: 100%;
	 height: auto;
	 padding: 15px 0 5px 0;
	 border-bottom: 1px dashed #003894;
	 line-height: 1.5em;
 }
 table.formTable td{
	 display: block;
	 text-align: left;
	 width: 100%;
	 height: auto;
	 padding: 5px 0 20px 0;
	 border-bottom: 1px solid #003894;
	 line-height: 1.5em;
 }
 input .text_bg {
 	width: 100%;
 }
 .text_bg {
	width: 100%;
	height: 3em;
 }
 textarea {
	 width: 100%;
 }

 .plof02 {
	}
