/* CSS Document */

form{
	width:100%;
	max-width: 800px;
	margin: auto;
}
form .contact_list{margin-top: 30px;}
form li{}
form li:nth-child(n+2){margin-top: 30px;}
form li table{
	width:100%;
	margin: auto;
}
form li table tr > *{vertical-align: top;}
form li table tr > *:nth-child(1){
	text-align: left;
	width: 170px;
	font-weight: normal;
}
form li table tr > *:nth-child(1) > div{
	display: flex;
	padding-top: 12px;
	align-items: center;
	flex-wrap: wrap;
	/*
	justify-content: space-between;
	*/
	/*
	align-items: center;
	min-height: 3em;
	*/
}
form li table tr > *:nth-child(1) > div.pad0,
form.step3 li table tr > *:nth-child(1) > div{
	padding-top: 0;
}
form li table tr > *:nth-child(2){
	text-align: left;
}
form li table tr > *:nth-child(2) .flex{
	display: inline-flex;
	align-items: center;
}
@media screen and (max-width: 999px) {
	form th{
		text-align: left;
		padding-bottom: 0.5em;
	}
	form li table tr > *{width: 100%;}
	form li table tr > *:nth-child(1) > div{padding-top: 0;}
	form li table tr > *:nth-child(2){padding-left: 0;}
}
/*
@media screen and (min-width: 1000px) {}
*/
form .erm{
	position: relative;
	display:block;
	color: #fff;
	background-color: #f00;
	padding: 0.25em 0.5em;
	margin-top: 0.5em;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
}
form .erm .arrow{
	position: absolute;
	bottom:100%;
	left:0.75em;
	width: 0;
	height: 0;
	margin: auto;	
	border-bottom: solid 0.75em #F00;
	border-left: solid 0.5em transparent;
	border-right: solid 0.5em transparent;
}
form .hissu{
	display: inline-block;
	margin-left: 0.5em;
	color:#FF0000;
	font-size: 75%;
	line-height: 100%;
}
form .f_frame{
	border:none;
	font-size: 100%;
	line-height: normal;
	padding: 1em;
	border-radius: 0.25em;
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
	background-color: #F2F2F2;
}
/*
form .doui_box{
	background-color: #FFF;
	margin-top: 50px;
	padding: 1em;
	text-align: left;
}
form .doui_box h3{
	font-size: 90%;
	line-height: normal;
	margin-bottom: 0.75em;
}
*/
form .doui_check{
	/* font-size: 90%; */
	line-height: normal;
	padding: 1.125em 1em;
	margin-top: 1em;
}
form .doui_check .erm{display: inline-block;font-size: 90%;}
form .doui_check .erm .arrow{left: 0.66em;border-left: none;border-right-width: 1em;}
form input:not([type]),
form input[type="text"]{width:100%;display: block;}
/*
form input[name="pos"]{width:30%;}
*/
form input[type="radio"],
form input[type="checkbox"]{
	display: inline-block;
	width: 1.25em;
	height: 1.25em;
	font-size: 100%;
	margin: 0;
	margin-right: 0.5em;
}
form input[type="submit"]{
	font-size:100%;
	line-height: 100%;
	cursor: pointer;
	padding: 1em 0;
	width: 12em;
	max-width: 100%;
	border-color:#E60000;
	background-color: #E60000;
	color:#FFF;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	box-shadow: 3px 3px 0px 0px #333333;
	-webkit-box-shadow: 3px 3px 0px 0px #333333;
	-moz-box-shadow: 3px 3px 0px 0px #333333;
}
form input[type="submit"][name="sm_conf"]{
	border-color:#003C78;
	background-color:#003C78;
}
form input[type="submit"][name="sm_back"]{
	border-color:#888;
	background-color:#888;
}
form textarea{width:100%;display: block;}

form .pos_set{display: flex;}
form .pos_set .pos_input{width:30%;}
form .pos_set .pos_auto{
	margin-left: 2.5em;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
form .pos_set .pos_auto input{
	background-color: #003C78;
	color:#FFF;
	border:none;
	cursor: pointer;
	font-size: 100%;
	line-height: 100%;
	font-weight: bold;
	padding: 0.75em 1em;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
}
form .pos_set .pos_auto input + *{
	font-size: 75%;
	line-height: 100%;
	margin-top: 0.75em;
}
form .addr_set:nth-of-type(n+2){margin-top: 1.25em;}
form .addr_set.step3only{margin-top: 0;}
form:not(.step3) .addr_set.step3only,
form.step3 .addr_set:not(.step3only){display: none;}
form .addr_set .addr_label{
	display: inline-block;
	width:30%;
}
/*
form .addr_set input:not([type]){width:70%;}
form .addr_set input:not([type]){width:90%;}
*/
/* form input[name="mail"] + div */

@media screen and (max-width: 999px) {
	form .f_frame{font-size: 90%;}
	/* form .pos_set{flex-direction: column;} */
	form .pos_set .pos_input{width: 10em;}
	form .pos_set .pos_auto{
		margin-left: 1em;
		/*
		margin-left: 0;
		margin-top: 1em;
		*/
	}
}
form .kakunin{
	margin-top: 1em;
	margin-bottom: 0.25em;
}
form.step3 .hissu,
form.step3 .pos_auto,
form.step3 .step3_vanish{display: none;}


/* ============================= */

.contact_cate{
	width:100%;
	margin-bottom: 1.3em;
}
.contact_cate .btn{width: 48.3%;}
.contact_cate .btn a{
	display: block;
	position: relative;
	border: solid 2px #000;
	text-align: center;
	font-size: 150%;
	line-height: 100%;
	font-weight: bold;
	padding: 1em 0;
	color:#000;
}
.contact_cate.cate1 .btn.b1 a,
.contact_cate.cate2 .btn.b2 a{
	background-color: #E50027;
	border-color: #E50027;
	color:#FFF;
}
.contact_cate.cate1 .btn.b1 a span,
.contact_cate.cate2 .btn.b2 a span{
	display: block;
	position: absolute;
	top:100%;
	left:0;
	right:0;
	margin: auto;
	width: 1.5em;
	border-top: solid 1em #E50027;
	border-left: solid 0.75em transparent;
	border-right: solid 0.75em transparent;
}
@media screen and (max-width: 999px){
	.contact_cate td{min-height: 2em;}
	.contact_cate .btn{width: 100%;}
	/* .contact_cate.cate1 .btn.b1 a span{display: none;} */
	/* .contact_cate .btn a{font-size: 85%;} */
}
/*input[name=toi][value="採用について"]{display: none;}*/

.contact_title{
	font-size: 150%;
	line-height: 100%;
	font-weight: normal;
	margin-bottom: 1em;
	background-color: #003C78;
	color: #FFF;
	padding: 0.5em;
}
/*
.contact_comment{
	text-align: center;
	line-height: 175%;
	margin-top: 0.5em;
}
@media screen and (max-width: 999px){
	.contact_comment{text-align: left;}
}
*/

.contact_privacy{
	text-align: left;
	margin-top: 45px;
	margin-bottom: 30px;
	/*
	border: solid 1px #000;
	border-radius: 0.25em;
	-webkit-border-radius: 0.25em;
	-moz-border-radius: 0.25em;
	padding: 25px 30px;
	*/
}
.contact_privacy h3{
	font-size: 100%;
	font-weight: normal;
	margin-bottom: 1em;
}
.contact_privacy .doui_box{
	padding: 1em 0;
	/*
	border: solid 1px #000;
	padding: 1em;
	*/
}
.contact_privacy > * + .doui_box{
	margin-top: 1em;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.contact_privacy .doui_box .flex{
	line-height: 100%;
	display: flex;
	align-items: center;
}
.contact_privacy .doui_box .flex > *:nth-child(1){min-width: 1.75em;}
.contact_privacy .doui_box .flex > *:nth-child(2){line-height: 125%;}
.contact_privacy .doui_box .flex span{}
.contact_privacy .doui_box .erm{
	display: inline-block;
	font-size: 90%;
	line-height: 150%;
	margin-right: 1em;
}
.contact_privacy .doui_box .erm .arrow{
	left: 0.6em;
	border-left-width:0.125em;
	border-right-width:0.875em;
}
@media screen and (max-width: 999px){
	.contact_privacy .doui_box .flex{align-items: flex-start;}
}
.contact_sendbtn{
	margin-top: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.contact_sendbtn input:nth-child(n+2){margin-left:1em;}
.contact_topback{
	display: block;
	font-weight: bold;
	cursor: pointer;
	padding: 1em 0;
	width: 12em;
	max-width: 100%;
	border-color:#000;
	background-color: #000;
	color:#FFF;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	margin-top: 50px;
}