/*メインビジュアル*/
#mainVisual .mainVisualBg{
	background-image:url('../img/contact/mainVisual.png');
}
#mainVisual .mainVisualBg #copyText p{
	width: 400px;
}

/*資格取得認定制度・認定マーク*/
#contactForm{
    width: 90%;
    max-width: 1000px;
    margin: 120px auto 30px;
    position: relative;
}
#contactForm .cntTitle {
    margin: 0 auto 60px;
    text-align: center;
    padding-top: 40px;
}
#contactForm .cntTitle h1 {
    color: #2a7976;
    font-size: 3rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
}
#contactForm .cntTitle h2 {
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 30px;
}

/*お問い合わせフォーム*/
#contactForm section{
	width: 90%;
	max-width: 800px;
	margin: 0 auto;
	background-color: #fff;
	padding: 60px;
	letter-spacing: 1px;
	box-shadow: 1px 1px 2px #ddd;
	border-radius: 10px;
}
#contactForm section .row{
	padding: 40px 20px;
	border-bottom: 1px solid #eaeaea;
	position: relative;
}
#contactForm section label{
	width: 35%;
	display: inline-block;
	vertical-align: middle;
	font-size: 1.5rem;
}
#contactForm section input,#contactForm section textarea{
	width: 100%;
	padding: 15px 10px;
	vertical-align: middle;
	border: 1px solid #ccc;
	border-radius: 3px;
	letter-spacing: 1px;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#contactForm section .userInput{
	width: 60%;
	display: inline-block;
	vertical-align: middle;
}
#contactForm section .userInput p{
	font-size: 1.2rem;	
	color: #898989;
	position: absolute;
	bottom: 10px;
}
#contactForm section .radio label{
	width: 100%;
	margin-bottom: 18px;
	color: #494949;
	font-size: 1.5rem;
}
#contactForm section .radio label:last-child{
	margin-bottom: 0;
}
#contactForm section .radio input{
	width: 30px;
	padding: 0;
	margin: 0;
	-webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
}
#contactForm section .required{
	position: relative;
}
#contactForm section .required:after{
	content:'必須';
	position: absolute;
	font-size: 1.3rem;
	color: #fff;
	background-color: #ff0000;
	padding:4px;
	right: 10px;
	height: 13px;
	top:0;
	bottom:0;
	margin: auto;
}
#contactForm section .privacy{
	text-align: center;
	margin: 20px auto;
}
#contactForm section .privacy a{
	color: #22ae73;
	border-bottom:1px solid #22ae73;
}
#contactForm section #privacy{
	margin: 20px auto;
	border: 1px solid #ccc;
	padding: 30px 20px;
	height: 150px;
	overflow-y: scroll;
}
#contactForm section #privacy h3{
	text-align: center;
	margin-bottom: 20px;
	font-weight: bold;
	font-size: 16px;
}
#contactForm section #privacy h4{
	margin-bottom: 10px;
	margin-top: 25px;
	font-weight: bold;
	font-size: 15px;
}
#contactForm section #privacy p{
	margin-bottom: 10px;
	font-size: 14px;
	line-height: 1.6;
	margin-left: 20px;
}
#contactForm section #privacy p:first-of-type{
	margin-left: 0;
}
#contactForm section #privacy li{
	margin-bottom: 5px;
	font-size: 13px;
	line-height: 1.6;
	list-style-type: disc;
	margin-left: 40px;
}

#contactForm section #submit {
	width: 300px;
    border-radius: 3px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 1.5rem;
    margin: 0 auto;
    display: block;
    border: none;
    box-shadow: 1px 1px 3px #ccc;
    background: #ea5a24;
    background: -moz-linear-gradient(-45deg, #ea5a24 0%, #f08c1e 100%);
    background: -webkit-linear-gradient(-45deg, #ea5a24 0%,#f08c1e 100%);
    background: linear-gradient(135deg, #ea5a24 0%,#f08c1e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ea5a24', endColorstr='#f08c1e',GradientType=1 );
    margin: 30px auto 0;
}
#contactForm .contact-result {
	width: 100%;
	padding: 8px 0;
	background-color: #e1a948;
	text-align: center;
	color: white;
	display: none; 
	margin-top: 10px;
}

@media screen and (min-width:900px){

}
/*TAB*/
@media screen and (max-width:899px){

	/* お問い合わせフォーム */
	#contactForm{
		margin-top: 30px;
	}
	#contactForm section{
		width: 90%;
		padding: 20px 40px 40px;
	}
	#contactForm section label,#contactForm section .radio label,#contactForm section .privacy{
		font-size: 1.4rem;
	}
	
}
/*SP*/
@media screen and (max-width:480px){
	/*メインビジュアル*/
	#mainVisual .mainVisualBg{
	    background-position: 10% center;
	}
	#mainVisual .mainVisualBg #copyText p{
		width: 280px;
	}
	/*お問い合わせ*/
	#contactForm{
		width: 100%;
		margin: 0 auto;
	}
	#contactForm .cntTitle{
		margin: 0 auto 40px;
	}
	/* お問い合わせフォーム */
	#contactForm section{
		width: 85%;
		padding: 5% 4%;
	}
	#contactForm section label{
		width: 100%;
		margin-bottom: 10px;
		font-weight: bold;
		font-size: 1.5rem;
	}
	#contactForm section .row{
	    padding: 18px 8px 25px;
	}
	#contactForm section .userInput{
		width: 100%;
	}
	#contactForm section .radio label{
		font-size: 1.4rem;
		font-weight: normal;
	}
	#contactForm section .userInput p{
		font-size: 1.1rem;
		line-height: 8px;
		letter-spacing: 0;
	}
	#contactForm section input, #contactForm section textarea{
		width: 90%;
		letter-spacing: 1px;
		font-size: 16px;
	}
	#contactForm section #privacy{
		padding: 20px 15px;
	}
	#contactForm section #privacy h3{
		margin-bottom: 15px;
		font-size: 15px;
	}
	#contactForm section #privacy h4{
		margin-bottom: 10px;
		margin-top: 20px;
		font-size: 14px;
	}
	#contactForm section #privacy p,li{
		margin-bottom: px;
		font-size: 13px;
		line-height: 1.3;
		margin-left: 15px;
		letter-spacing: 0.05em;
	}
	#contactForm section #privacy li{
		margin-left: 20px;
		margin-bottom: 0;
	}
	#contactForm section .selectTitle{
		margin-bottom: 23px;
	}
	#contactForm section #submit{
		margin: 30px auto 20px;
	}
}