@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Barlow+Condensed');

.localNavi {
	margin: 140px 0 30px;
	padding: 20px 15px;
	background: url(../../img/bg1.jpg);
}
.localNavi nav {
	max-width: 700px;
	margin: 0 auto;
}
.localNavi nav ul {
	display: flex;
	justify-content: space-between;
}
.localNavi nav ul li {
	width: 15%;
	text-align: center;
}
.localNavi nav ul li a {
	display: block;
}
.localNavi nav ul li img {
	width: 60px;
	margin: 0 auto 5px;
}
.localNavi nav ul li p {
	font-size: 0.75em;
	font-weight: 400;
}
.localNavi nav ul li a:hover { text-decoration: none; opacity: 0.8; }
.localNavi nav ul li a p.biz1 { color: #a2c917; }
.localNavi nav ul li a p.biz2 { color: #ea8d71; }
.localNavi nav ul li a p.biz3 { color: #f2b130; }
.localNavi nav ul li a p.biz4 { color: #8888d3; }
.localNavi nav ul li a p.biz5 { color: #6cc0ea; }
.localNavi nav ul li a p.biz6 { color: #ad8b47; }

.contentsBody {
	max-width: 1150px;
	margin: 0 auto;
	padding: 0 15px;
}
.contentsBody h1 {
	font-size: 1.25em;
	font-weight: bold;
	text-align: center;
	margin-bottom: 50px;
	padding: 14px;
	color: #fff;
	border-radius: 3px;
	text-shadow: 0 0 3px rgba(0,0,0,0.3);
	background-image: url(../../img/bg2.png);
}
.works1 h1 { background-color: #a2c917; }
.works2 h1 { background-color: #ea8d71; }
.works3 h1 { background-color: #feb440; }
.works4 h1 { background-color: #8888d3; }
.works5 h1 { background-color: #6cc0ea; }
.works6 h1 { background-color: #ad8b47; }

.contentsBody h1 span.ttl1 {
	font-family: 'Barlow Condensed', sans-serif;
	font-weight: normal;
	margin-right: 0.5em;
}
.contentsBody h1 span.ttl2 {
	font-size: 1.375em;
}
.contentsBody .catchphrase {
	position: relative;
	text-align: center;
	font-size: 1.5em;
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 60px;
}
.works1 .catchphrase { color: #a2c917; }
.works2 .catchphrase { color: #ea8d71; }
.works3 .catchphrase { color: #feb440; }
.works4 .catchphrase { color: #8888d3; }
.works5 .catchphrase { color: #6cc0ea; }
.works6 .catchphrase { color: #ad8b47; }

.contentsBody .catchphrase:after {
    content: "";
    display: block;
    width: 30px;
    border-bottom: 2px solid #ccc;
    position: absolute;
    bottom: -30px;
    left: 50%;
    margin-left: -15px;
}
.worksTxt {
	text-align: center;
	line-height: 2;
	font-size: 1em;
	letter-spacing: 2px;
	margin-bottom: 60px;
}
.illust {
	max-width: 880px;
	margin: 0 auto 80px;
}

.photo {
	background-image: url(../../img/bg1.jpg);
	background-position: left top;
	background-repeat: repeat;
	padding: 60px 15px 0px;
}

.photoList,
.beforeAfter {
	max-width: 960px;
	margin: 0 auto;
}
.photoList ul {
	display: flex;
	flex-wrap: wrap;
}
.photoList ul li {
	width: 31%;
	margin-right: 3.5%;
	margin-bottom: 15px;
}
.photoList ul li:nth-child(3n) { margin-right: 0; }
.beforeAfter ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.beforeAfter ul li {
	width: 48%;
	margin-bottom: 15px;
}
.beforeAfter .before,
.beforeAfter .after {
	text-align: center;
	margin-bottom: 10px;
	font-weight: 400;
	font-size: 1.25em;
	letter-spacing: 2px;
}
.beforeAfter .before { color: #447e00; }
.beforeAfter .after { color: #ba3d00; }
.beforeAfter .before span,
.beforeAfter .after span {
	background-image: url(../../img/marker1.png);
	background-size: 8px auto;
	background-position: 0 bottom;
	background-repeat: repeat-x;
}


/* ---------------------------------------------
	768px 以下
--------------------------------------------- */
@media only screen and (max-width: 768px) {

	.localNavi {
	    margin-top: 56px;
	}

	.contentsBody .catchphrase {
		font-size: 1.5em;
		line-height: 1.4;
	}
	.illust {
		margin: 0 auto 60px;
	}

}
/* ---------------------------------------------
	640px 以下
--------------------------------------------- */
@media only screen and (max-width: 640px) {

	.localNavi {
		margin-bottom: 15px;
		padding: 20px 15px 10px;
	}
	.localNavi nav {
		max-width: 300px;
	}
	.localNavi nav ul {
		flex-wrap: wrap;
	}
	.localNavi nav ul li {
		width: 30%;
		margin-bottom: 10px;
	}
	.localNavi nav ul li img {
		width: 54px;
	}
	.localNavi nav ul li p {
		font-size: 0.7em;
	}

	.contentsBody h1 {
		font-size: 1em;
		margin-bottom: 30px;
		padding: 14px;
	}
	.contentsBody h1 span.ttl1 {
		display: block;
		margin-right: 0;
		margin-bottom: 10px;
	}
	.contentsBody h1 span.ttl2 {
		display: block;
	}
	.contentsBody .catchphrase {
		font-size: 1.25em;
	}
	.worksTxt {
		line-height: 1.8;
		font-size: 0.94em;
		margin-bottom: 40px;
	}
	.worksTxt br {
		display: none;
	}
	.photoList ul {
		justify-content: space-between;
	}
	.photoList ul li {
		width: 48%;
		margin-right: 0;
	}
	.beforeAfter .before,
	.beforeAfter .after {
		font-size: 1em;
	}

}
/* ---------------------------------------------
	480px 以下
--------------------------------------------- */
@media only screen and (max-width: 480px) {

	.contentsBody h1 {
		font-size: 0.94em;
		margin-bottom: 20px;
		padding: 12px;
	}
	.contentsBody .catchphrase {
		font-size: 1.12em;
	}
	.illust {
		margin: 0 auto 40px;
	}

	.photo {
		padding: 40px 15px 0;
	}

}