@charset "UTF-8";

/* ▼ 施工実績
----------------------------------------*/

#section1 .flex_box div:first-of-type {
	width: 36%;
	margin: 0 2%;
}

#section1 .flex_box div:last-of-type {
	width: 51%;
	margin: 0 3%;
}

#section1 .stripe {
	top: -80px;
}

#section1 .project-type {
	display: flex;
	justify-content: center;
	width: 90%;
	height: 150px;
	margin: 0 auto 50px;
}

#section1 .project-type li {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 48%;
	color: #fff;
	font-size: 30px;
}


#section1 .project-type li:first-child {
	background-color: #C2B497;
	clip-path: polygon(33% 0, 100% 0, 100% 100%, 0 100%);
	padding-left: 10%;
}

#section1 .project-type li:last-child {
	background-color: #979A88;
	clip-path: polygon(0 0, 64% 0, 100% 100%, 0 100%);
	padding-right: 10%;
}

#section1 .project-list {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#section1 .project-list .list_item {
	width: 46%;
	padding: 10px;
	margin-bottom: 40px;
}

#section1 .project-list .kominka {
	border: 10px solid #C2B497;
}

#section1 .project-list .gendai {
	border: 10px solid #979A88;
}

#section1 .project-list .title {
	margin-bottom: 10px;
	font-size: 26px;
}

#section1 .project-list .detail {
	margin-bottom: 20px;
}

#section1 .project-list .pic {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 66.66%;
	margin: 0 auto 20px;
	display: block;
	overflow: hidden;
}

#section1 .project-list .pic img {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	width: 100%;
	display: block;
	-webkit-transition: .4s ease-in-out;
	transition: .4s ease-in-out;
}

#section1 .project-list .pic:hover img:nth-of-type(2) {
	opacity: 0;
}

#section1 .project-list .pic::before {
	content: "before";
	position: absolute;
	right: 0;
	bottom: 0;
	background-color: #fff;
	font-size: 24px;
	padding: 5px 20px;
	line-height: 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease,
		visibility 0.3s ease;
	z-index: 10;
}

#section1 .project-list .pic:hover::before {
	opacity: 1;
	/* ホバー時に表示 */
	visibility: visible;
	/* ホバー時に表示 */
}



/* ▼▼▼ 480px〜768px
======================================================*/
@media screen and (max-width: 768px) {
	#section1 .stripe {
		top: 20px;
	}

	h2.page_title {
		width: 100%;
	}

	h2.page_title span {
		width: 100%;
		font-size: 26px;
		padding: 0 50px;
		height: 70px;
		line-height: 70px;
		text-align: center;
	}

	#section1 .project-type {
		height: 70px;
		margin-bottom: 20px;
	}

	#section1 .project-type li {
		font-size: 20px;
	}

	#section1 .project-list .list_item {
		width: 100%;
		padding: 5px;
		margin-bottom: 20px;
	}

	#section1 .project-list .gendai {
		border: 5px solid #979A88;
	}

	#section1 .project-list .kominka {
		border: 5px solid #C2B497;
	}

	#section1 .project-list .pic {
		margin-bottom: 10px;
	}

	#section1 .project-list .title {
		margin-bottom: 0px;
		font-size: 20px;
	}

	#section1 .project-list .detail {
		margin-bottom: 10px;
	}

	#section1 .project-list .pic::before {
		font-size: 13px;
		padding: 5px 10px;
	}
}