/* CSS Document */

/*----------------------------------------

	MAIN

-----------------------------------------*/
.main {
	background: url("../img/main.jpg") no-repeat;
	background-size: cover;
	background-position: center;
	height: 250px;
	margin-top: 120px;
	position: relative;
}
.main h2 {
	position: absolute;
	transform: translate(-50%,50%);
	left: 50%;
	bottom: 50%;
	color: #fff;
}
.main h2 span {
	display: block;
}
@media only screen and ( max-width : 768px ) {
	.main {
		margin-top: 80px;
	}
}
@media only screen and ( max-width : 480px ) {
	.main {
		height: 130px;
	}
}
/*----------------------------------------

	RECRUIT

-----------------------------------------*/
#rec h3 {
	margin-bottom: 55px;
	text-align: center;
}
#rec .flexbox {
	display: flex;
	justify-content: space-between;
}
#rec .flexbox div {
	width: 49%;
	height: 311px;
	position: relative;
}
#rec .flexbox div:nth-child(1) {
	background: url("../img/1.jpg") no-repeat;
	background-size: cover;
	background-position: center;
}
#rec .flexbox div:nth-child(2) {
	background: url("../img/2.jpg") no-repeat;
	background-size: cover;
	background-position: center;
}
#rec h4 {
	position: absolute;
	left: 50%;
	bottom: 50%;
	transform: translate(-50%,50%);
	text-align: center;
	color: #fff;
	line-height: 1.4;
	width: 350px;
}
#rec h4 span {
	font-family: lato, sans-serif;
	display: block;
	margin-bottom: 20px;
	text-align: center;
	font-size: 40px;
	font-weight: 900;
	line-height: 1;
	letter-spacing: 1.5px;
}
#rec a {
    position: absolute;
    left: 50%;
    bottom: 20%;
    transform: translate(-50%,50%);
    border: 1px solid #fff;
    padding: 5px 44px 5px 30px;
    font-weight: 400;
    margin: 0 auto;
    display: grid;
}
#rec a:hover {
	background: #AA1434;
}
#rec a::after {
	content: url("../img/icon.png");
	padding-left: 50px;
	position: absolute;
	right: 0;
	line-height: 0;
	bottom: 50%;
	transform: translate(-20%,50%);
}
@media only screen and ( max-width : 768px ) {
	#rec .flexbox {
		display: block;
	}
	#rec .flexbox div {
		width: 100%;
		height: 250px;
	}
}
@media only screen and ( max-width : 480px ) {
	#rec h4 span {
		font-size: 30px;
	}
}