@charset "utf-8";
/*------------------------------------------------------------
	password
------------------------------------------------------------*/
#main .photoUl li {
	width: 47.2%;
	float: left;
	overflow: hidden;
}

#main .photoUl li:last-child {
	float: right;
}

#main .photoUl li a {
	padding: 14.9% 15.6%;
	display: block;
	position: relative;
}

#main .photoUl li a .bg {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	background: url("../img/password/photo01.jpg") no-repeat center center;
	background-size: cover !important;
	transition: transform ease 0.3s;
	-webkit-transition: transform ease 0.3s;
}

#main .photoUl li a:hover .bg {
	transform: scale(1.1);
	-webkit-transform: scale(1.1);
}

#main .photoUl li:last-child a .bg {
	background: url("../img/password/photo02.jpg") no-repeat center center;
}

#main .photoUl li a .colorBox {
	padding: 50px 10px 40px;
	text-align: center;
	background: rgba(50,50,50,0.6);
	position: relative;
	z-index: 9;
}

#main .photoUl li a .colorBox p {
	color: #fff;
	font-size: 2.2rem;
	font-weight: bold;
	line-height: 1.75;
}

#main .photoUl li a .colorBox .ttl {
	padding: 11px 0 7px;
	max-width: 290px;
	margin: 0 auto 23px;
	line-height: 1.5;
	border: 1px solid #fff;
	font-size: 2rem;
	box-sizing: border-box;
}

@media all and (max-width: 767px) {
	#main .photoUl li {
		width: auto;
		float: none;
	}

	#main .photoUl li:last-child {
		margin-top: 20px;
		float: none;
	}

	#main .photoUl li a {
		padding: 30px 10px;
	}

	#main .photoUl li a:hover .bg {
		transform: scale(1);
		-webkit-transform: scale(1);
	}

	#main .photoUl li a .colorBox {
		padding: 30px 10px;
	}

	#main .photoUl li a .colorBox p {
		font-size: 1.5rem;
		line-height: 1.5;
	}

	#main .photoUl li a .colorBox .ttl {
		padding: 8px 0 5px;
		max-width: 240px;
		margin: 0 auto 10px;
		font-size: 1.4rem;
	}
	
}