@media print, screen and (min-width: 541px) {
#header div:nth-child(2){ visibility: hidden; }
#sidemenu nav ul #gnav13 a{ background: url('../images/common/gnav13_on.png') 0 0 no-repeat; }
#RightContents section header{ /*margin-top: 30px; border-bottom: 1px solid #828181;*/ }
#RightContents section{ margin-top: 30px; }

#recruit1 p 		{ margin-top: 20px; }
#recruit2,#recruit3,#recruit4{ margin-top: 50px; }
#recruit2 table,#recruit3 table{ width: 100%; margin-top: 20px; }
#recruit2 table th,#recruit3 table th{ width: 30%; padding: 15px 10px 15px 20px; text-align: left; border: 1px solid #d5d5d5; background-color: #efefef; }
#recruit2 table td,#recruit3 table td{ width: 70%; padding: 15px 20px 15px 20px; text-align: left; border: 1px solid #d5d5d5; line-height: 1.5em; }
#recruit4 p 		{ line-height: 1.5em; }
#recruit4 p:nth-of-type(1){ margin-top: 15px; }
#recruit4 p:last-child{ margin-top: 15px; }

#mailform 			{ margin-top: 50px; }
.required 			{ color: #f00; }
.ContactUsDt 		{ border-bottom: 1px solid #ccc; }
.ContactUsDd 		{ border-bottom: 1px solid #ccc; }
.WhiteLine 			{ height: 30px; padding-left: 20px; line-height: 30px; display: inline-block; border-left: 2px solid #fff; }
.FormS input		{ width: 100px!important; height: 24px; }
.FormM input		{ width: 240px!important; height: 24px; }
.FormL input,.FormL textarea{ width: 310px!important; height: 24px; }
#mailform p 		{ margin: 30px; text-align: center; font-size: 15px; }
#mfp_buttons ul 	{ width: 274px; margin: 0 auto; }
#mfp_buttons ul li 	{ float: left; }
#mfp_buttons ul li:nth-child(1){ margin-right: 20px; }
#mfp_buttons ul li button{ height: 28px; padding: 0; border: 0; background: transparent; }
.doui 				{ padding: 50px 0 0; }
.douiBox 			{ width: 100%; height: 120px; padding: 10px; line-height: 1.5em; overflow: scroll; overflow-x: hidden; border: 1px solid #d5d5d5; }
.douiBtn 			{ margin: 20px 0 50px; text-align: center; }

#Thanks 			{ width: 513px; height: 240px; margin: 115px auto 0; background: url('../images/form/Thanks.png') 0 0 no-repeat; position: relative; }
#Thanks p			{ width: 513px; position: absolute; top: 120px; left: 50%; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0);line-height: 1.5em; text-align: center; }
}


@media screen and (max-width: 540px) {
#RightContents 		{ /*width: 100%; margin-right: 0;*/ }


#recruit1 p 		{ margin-top: 20px; }
#recruit2,#recruit3,#recruit4{ margin-top: 50px; }
#recruit2 table,#recruit3 table{ margin: 20px auto 0; }
#recruit2 table th,#recruit3 table th{ width: 30%; padding: 8px; text-align: left; border: 1px solid #d5d5d5; background-color: #efefef; }
#recruit2 table td,#recruit3 table td{ width: 70%; padding: 8px; text-align: left; border: 1px solid #d5d5d5; line-height: 1.5em; }
#recruit4 p 		{ line-height: 1.5em; }
#recruit4 p:nth-of-type(1){ margin-top: 15px; }
#recruit4 p:last-child{ margin-top: 15px; }


#mailform 			{ margin-top: 30px; }
.required 			{ color: #f00; }
.ContactUsDt 		{ border-bottom: 1px solid #ccc; }
.ContactUsDd 		{ border-bottom: 1px solid #ccc; }
.WhiteLine 			{ height: 30px; padding-left: 20px; line-height: 30px; display: inline-block; border-left: 2px solid #fff; }
.FormS input		{ width: 35%!important; height: 24px; }
.FormM input		{ width: 80%!important; height: 24px; }
.FormL input 		{ width: 98%!important; height: 24px; }
.FormL textarea 	{ width: 98%!important; height: 100px; }
#mailform p 		{ margin: 20px 0; text-align: center; }
#mfp_buttons ul 	{ width: 274px; margin: 0 auto; }
#mfp_buttons ul li 	{ float: left; }
#mfp_buttons ul li:nth-child(1){ margin-right: 20px; }
#mfp_buttons ul li button{ height: 28px; padding: 0; border: 0; background: transparent; }
.doui 				{ padding: 20px 0 0; }
.douiBox 			{ width: 100%; /*height: 120px;*/ padding: 10px; line-height: 1.5em; /*overflow: scroll; overflow-x: hidden;*/ border: 1px solid #d5d5d5; }
.douiBtn 			{ margin: 20px 0 50px; text-align: center; }
#Thanks 			{ margin-top: 30px; }
#Thanks p:nth-child(1){ width: 96%; margin: 0 auto 20px; font-size: 15px; font-family: 游明朝, YuMincho, 'ヒラギノ明朝 ProN W3', 'Hiragino Mincho ProN', HG明朝E, 'ＭＳ Ｐ明朝', 'ＭＳ 明朝', serif; color: #93c300; }
#Thanks p:nth-child(2){ width: 96%; margin: 0 auto 20px; line-height: 1.5em }
}