/* CSS Document */
/*.index{
	background: url("../images/index.jpg") top center no-repeat;
}*/

@media (min-width:751px) {
	section h2 { margin:10px 0 20px; }
	section h2 img { max-width:100%; }
	#p1 { height: calc(100vh - 100px); height: -webkit-calc(100vh - 100px); overflow: auto; }
	#p1 p {margin-bottom:40px; line-height: 1.5;}
	#p1 .contact { width:700px; height:120px; margin-left:120px; background: url(../images/recruit/bg_contact.svg) center center no-repeat;
		position: relative;}
	#p1 .contact a { display: block; width: 280px; height:56px; position: absolute;top:32px; right: 35px; }
	#p1 .contact a img { display: block; }
}

@media (max-width:750px){
	#main #p1 h2 {color: #FFFFFF; font-size:6vw; padding-top: 3.3vw; margin-bottom:2.6vw; height: 15vw;}
	#p1 .contact a { display: block;  text-align: center;}
	#p1 p {margin-bottom:2.6vw;}
	#p1 .contact {
		width:88vw;
		margin:0 auto;
		border: 1px solid #F5911E;
		background-color: #FFFFFF;
		padding:2vw;
		text-align: center; 
	}
	#p1 .contact a  {
		display: block;
		width: 70vw;
		margin:0 auto 3.9vw;
	}
	#p1 .contact a:last-child  {margin-bottom: 0}

	#p1 .contact a img {
		width:100%;
	}
}

