@charset "utf-8";
/*------------------------------------------------------------
	トップページ
------------------------------------------------------------*/
#gNavi li:nth-child(3) a {
	border-bottom: 3px solid #0060D1;
}

.topBox {
	margin-bottom: 104px;
	background: url(../img/solarpower/top_photo.jpg) no-repeat center center;
}

.topBox h2 {
	margin: 25px 0 0 -31.1%;
	position: absolute;
	left: 50%;
	top: 50%;;
	color: #fff;
	font-size: 50px;
	line-height: 1;
	letter-spacing: 2px;
	text-align: center;
}

.topBox h2 span {
	margin-top: 22px;
	display: block;
	font-size: 28px;
	position: relative;
}

.topBox h2 span:before {
	margin-left: -64px;
	width: 132px;
	position: absolute;
	border-bottom: 10px solid #0060D1;
	left: 50%;
	bottom: -46px;
	content: "";
}

#main .topTxt {
	margin-top: 82px;
	color: #00537a;
	font-size: 25px;
	font-weight: bold;
	line-height: 1.4;
	text-align: center;
	letter-spacing: 9.8px;
}

#main .photoUl {
	margin: 111px auto 0;
	max-width: 1204px;
}

#main .photoUl li {
	margin-right: 0.9%;
	width: 24.2%;
	float: left;
}

#main .photoUl li:nth-child(2) {
	margin-right: 1.2%;
}

#main .photoUl li:nth-child(4) {
	margin-right: 0;
}

#main .photoUl li a {
	display: block;
}

#main .photoUl li a:hover {
	opacity: 0.7;
}

#main .photoUl li .photo img {
	width: 100%;
}


#main .photoUl li p {
	padding: 18px 2px 14px;
	position: relative;
	color: #fff;
	text-align: center;
	line-height: 1;
	background-color: #0060D1;
	letter-spacing: 1px;
}

#main .photoUl li p:before {
	margin-left: -12px;
	width: 25px;
	height: 20px;
	position: absolute;
	left: 50%;
	top: -14px;
	background: url(../img/solarpower/icon01.png) no-repeat;
	content: "";
}

@media all and (min-width: 768px) and (max-width: 1366px) {
	.topBox h2 {
		margin-left: -40%;
	}
}

@media screen and (max-width: 767px) {
	.topBox h2 {
		margin: 0;
		left: 10px;
		top: 47%;
		font-size: 23px;
	}
	
	.topBox h2 span {
		margin-top: 10px;
		font-size: 15px;
	}
	
	.topBox h2 span:before {
		margin-left: -40px;
		width: 80px;
		border-bottom: 4px solid #0060D1;
		bottom: -12px;
	}
	
	#main .topTxt {
		margin-top: 25px;
		font-size: 16px;
		letter-spacing: 0;
	}
	
	#main .photoUl {
		margin: 0 10px;
		width: auto;
	}
	
	#main .photoUl li {
		margin: 25px 0 0;
		width: 49%;
	}
	
	#main .photoUl li:nth-child(2n) {
		margin-right: 0;
		float: right;
	}
	
	#main .photoUl li p {
		padding: 11px 2px 7px;
	}
	
	#main .photoUl li .photo img {
		width: 100%;
	}
	
	#main .photoUl li p::before {
		width: 20px;
		height: 16px;
		background-size: 20px auto;
		top: -13px;
	}
}