@charset "utf-8";
/* apply_form.css */
.icon_require{
	color:#c40026;
}

body#pages #content #content_inner .require_msg{
	margin-bottom:0.5em;
}

.require_msg .icon_require{
	margin-right:0.3em;
}

#contact_form table,
#contact_form table tbody,
#contact_form table tbody tr,
#contact_form table tbody tr th,
#contact_form table tbody tr td{
	display:block;
}

	#content_inner #contact_form table{
		border:none;
	}
	
	#content_inner #contact_form table tbody tr{
		margin-bottom:0.5em;
	}

	#content_inner #contact_form table tbody tr th,
	#content_inner #contact_form table tbody tr td{
		border:none;
		padding:0.3em 0.5em;
	}
	
	#content_inner #contact_form table tbody tr th{
		text-align:left;
		font-weight:bold;
	}
	
		#content_inner #contact_form table tbody tr th .icon_require{
			font-weight:normal;
			margin-left:0.3em;
		}
		
	#content_inner #contact_form table tbody tr td{
		padding:0.5em;
	}
	
		#content_inner #contact_form table tbody tr td ul{
			margin:0;
		}
		
			#content_inner #contact_form table tbody tr td ul li{
				margin-bottom:0.5em;
				padding:0;
				background:none;
			}
			
			#content_inner #contact_form table tbody tr td ul li:last-child{
				margin-bottom:0;
			}
			
			#content_inner #contact_form table tbody tr td ul li label{
				margin-bottom:0;
				font-weight:normal;
			}
			
			#content_inner #contact_form table tbody tr td ul li label input[type="radio"]{
				margin-right:0.5em;
				transform:translate(0,0.1em);
			}
			
	#content_inner #contact_form table tbody tr td input[type="text"]{
		box-sizing:border-box;
		border:1px solid #aaa;
		font-size:1.1em;
		padding:0.2em;
		width:100%;
	}
	
	#content_inner #contact_form table tbody tr.r_note td textarea{
		box-sizing:border-box;
		border:1px solid #aaa;
		font-size:1.1em;
		padding:0.2em;
		width:100%;
		height:30vh;
	}
	
	body#pages #content #content_inner #contact_form table tbody tr.r_mail td p{
		margin:0.5em 0 0.2em 0;
	}
	
	#captcha_box{
		margin-bottom:2em;
	}
	
		#captcha_box .captcha_title{
			font-weight:bold;
			border-bottom:1px dotted #aaa;
			padding:0 0 0.2em 0;
			margin-bottom:0.5em;
			text-align:center;
		}
		
		#captcha_box .captcha_img{
			text-align:center;
			margin-bottom:0.5em;
		}
		
			#captcha_box .captcha_img .img-responsive{
				display:inline-block;
			}
			
			#captcha_box .captcha_img a{
				padding:0.3em 0 0 0;
				display:inline-block;
				color:#003d84;
				text-decoration:underline;
			}
			
			#captcha_box .captcha_txt_input{
				text-align:center;
			}
			
				#captcha_box .captcha_txt_input input[type="text"]{
					box-sizing:border-box;
					border:1px solid #aaa;
					font-size:1.1em;
					padding:0.2em;
					width:10em;
				}
			
			#captcha_box .captcha_err_msg{
				display:none;
				font-weight:bold;
				color:#c40026;
				margin-bottom:0.3em;
			}
	
	.btn_submit{
		margin:2em 0;
	}
	
		body#pages #content .btn_submit ul{
			margin:0;
		}
		
			body#pages #content .btn_submit ul li{
				padding:0;
				background:none;
				text-align:center;
				margin-bottom:1.5em;
			}
			
			body#pages #content .btn_submit ul li:last-child{
				margin-bottom:0;
			}
			
				body#pages #content .btn_submit ul li input[type="submit"],
				body#pages #content .btn_submit ul li input[type="button"][name="send_btn"]{
					background:#1d633d;
					width:50%;
					height:10vw;
					font-size:1.2em;
					color:#fff;
					border:none;
				}
				
				body#pages #content .btn_submit ul li input[type="button"][name="back_btn"]{
					background:#ddd;
					width:50%;
					height:8vw;
					color:#222;
					border:none;
				}
				
				body#pages #content .btn_submit ul li input[type="submit"]:hover,
				body#pages #content .btn_submit ul li input[type="button"][name="send_btn"]:hover,
				body#pages #content .btn_submit ul li input[type="button"][name="back_btn"]:hover{
					opacity:0.8;
				}
	
	.goto_home{
		margin:2em;
		text-align:center;
	}
	

@media print, screen and (min-width: 768px){
	#contact_form table{
		display:table;
		width:570px;
		margin:0 auto 3em;
	}
	
	#contact_form table tbody{
		display:table-row-group;
	}
	
	#contact_form table tbody tr{
		display:table-row;
	}
	
	#content_inner #contact_form table tbody tr th,
	#content_inner #contact_form table tbody tr td{
		display:table-cell;
		padding:0.6em;
	}
	
	#content_inner #contact_form table tbody tr th{
		border-bottom:1px solid #fff;
		width:150px;
	}
	#content_inner #contact_form table tbody tr td{
		border-bottom:1px solid #ccc;
	}
	
		#content_inner #contact_form table tbody tr td ul{
			padding:0;
		}
	
		#content_inner #contact_form table tbody tr.r_note td textarea{
			height:200px;
		}
		
		#captcha_box{
			display:flex;
			flex-wrap:wrap;
		}
		
			#captcha_box .captcha_title{
				font-size:1.1em;
				width:100%;
				margin-bottom:0.7em;
			}
			
			#captcha_box .captcha_img{
				box-sizing:border-box;
				width:240px;
				padding-left:10px;
				text-align:left;
				margin-bottom:0;
				text-align:center;
			}
			
				#captcha_box .captcha_txt_input{
					text-align:left;
					padding-left:20px;
				}
				
					body#pages #content #content_inner #captcha_box .captcha_txt_input p{
						margin:0 0 0.5em 0;
					}
					
		.before_submit_msg{
			text-align:center;
		}
				
			body#pages #content .btn_submit ul li input[type="submit"],
			body#pages #content .btn_submit ul li input[type="button"][name="send_btn"]{
				width:200px;
				height:50px;
			}
			
			body#pages #content .btn_submit ul li input[type="button"][name="back_btn"]{
				width:200px;
				height:50px;
			}
			
	.goto_home{
		margin:5em 0 2em;
		text-align:center;
	}
	
}
