@charset "utf-8";

#contacts {
margin:50px 0 0;
}

#contacts #form table {
	width:100%;
	border-top:1px solid #CCCCCC;
	margin-bottom:40px;
}

#contacts #form table th,
#contacts #form table td {
	border-bottom:1px solid #ccc;
	padding:15px 5px 15px 0;
	text-align:left;
	font-weight: 400;
	box-sizing: border-box;
}

#contacts #form table th {
	width:300px;
	vertical-align:top;
	
}

#contacts #form table th span {
	padding-left:5px;
	color:#FF0000;
	font-size:0.85em;
	font-weight:300;
}

#contacts #form table td {
	vertical-align:middle;
}

#contacts #form table td span {
	padding-left:10px;
	color:#999;
	font-size:0.9em;
}


#contacts #form table td .short {
	width: 50%;
}
#contacts #form table td .middle {
	width: 70%;
}
#contacts #form table td .long {
	width: 100%;
}

#contacts #form table input[type="text"] {
	border: 1px solid #999;
	height: 35px;
	padding: 0 2px;
	font-family: inherit;
	line-height: 1.2;
	font-size:0.9em;
	box-sizing: border-box;
}

#contacts #form table input[type="radio"]{
	/*margin-left: 10px;
	vertical-align: -0.15em;*/
}
#contacts #form table input[type="radio"]:nth-child(1){
	margin-left: 0;
}

#contacts #form table textarea {
	border: 1px solid #999;
	width: 100%;
	height: 150px;
	font-family: inherit;
	background-color: #fff;
}

#contacts #form table select {
	border: 1px solid #666;
	height: 20px;
	padding: 0 2px;
	font-family: inherit;
	line-height: 1.2;
	width:480px;
	font-size:0.8em;
}


/* submit */

#contacts #form .submit {
	display: flex;
	justify-content: center;
}


#contacts #form .submit li {
}

#contacts #form .submit li.reset {
	margin-left:30px;
}

#contacts #form .submit li input {
	background:#06C7F5;
	border: none;
	width:200px;
	display:table-cell;
	height:50px;
	color:#FFF;
	text-align:center;
	vertical-align:middle;
	line-height:1.0;
	font-family: 'Noto Sans Japanese', sans-serif;
	-moz-transition:all,.4s;
	-o-transition:all,.4s;
	-webkit-transition:all,.4s;
	transition:all,.4s;
	cursor: pointer;
	font-size:2.0rem;
	font-weight: 500;
}

#contacts #form .submit li.reset input {
	background:#8F8F8F;
}

#contacts #form .submit li input:hover {
	background:#0D92A0;
}

#contacts #form .submit li.reset input:hover {
	background:#666;
}


/* 送信確認関係 */


#formWrap,
#completion {
	padding:30px 0 100px;
}

#formWrap p,
#completion p {
	text-align:center;
}

#completion .red {
	color:#F00;
}

#formWrap .formbtn,
#completion .back {
	margin-top:50px;
}

#formWrap .formbtn {
	display: flex;
	justify-content: center;
	max-width: 90%;
	margin: 0 auto;
}


#formWrap .formbtn input,
#completion .formbtn input {
	background:#06C7F5;
	border: none;
	width:200px;
	color:#FFF;
	display:table-cell;
	height:50px;
	text-align:center;
	line-height:1.0;
	font-family: 'Noto Sans Japanese', sans-serif;
	-moz-transition:all,.4s;
	-o-transition:all,.4s;
	-webkit-transition:all,.4s;
	transition:all,.4s;
	cursor: pointer;
	font-size:1.4em;
}

#formWrap .formbtn input:hover,
#completion .formbtn input:hover {
	background:#0D92A0;
}

#formWrap .tablewrap {
	width:700px;
	margin:50px auto 0;
}

#formWrap .tablewrap table th {
	width:200px;
}

.spIn {
	display: none;
}

.alignRight {
	text-align: right;
	margin: 30px 0;
}


@media screen and (max-width: 767px){
	
	
	#contacts #form table th,
	#contacts #form table td {
		padding:15px 3% 15px;
		display: block;
	}

	#contacts #form table th {
		width:auto;
	}
	
	
	#maintitle.contacts {
		font-size: 2.4em;
	}
	
	.spIn {
		display: inline;
	}
	
	#formWrap .formbtn {
		display: block;
		margin-top: 50px;
	}

	#formWrap .formbtn input{
		width:80%;
		margin: 0 !important;
	}
	
	#formWrap .formbtn input:last-child {
		margin: 20px 0 0 !important;
	}
	
	#contacts #form .submit li input {
		width:150px;
	}
	
	

	
	
	
	
}

