@media print, screen and (min-width: 541px) {
#header div:nth-child(2){ visibility: hidden; }
#sidemenu nav ul #gnav11 a{ background: url('../images/common/gnav11_on.png') 0 0 no-repeat; }
#RightContents 		{ width: 559px; margin-right: 0; }

#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: 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; }

#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; }

#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; 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; }
#Thanks 			{ width: 96%; margin: 30px auto 0; }
#Thanks img 		{ width: 100%; }
#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 }
}