@charset "utf-8";
/* CSS Document */

.before-after #page-header {
  background-image: url("../../img/pepair-maintenance/bg_head.jpg")
}
@media screen and (max-width: 767px) {
  .before-after #page-header {
    background-image: url("../../img/pepair-maintenance/bg_head_sp.jpg")
  }
}

/*--------ヘッダーナビの現在地表示---------*/
.before-after #gnavi li.nav_before-after a {
  color: #4b62a5
}
@media screen and (max-width: 767px) {
  .before-after #gnavi li.nav_before-after > a {
    border-left: solid 4px #4b62a5
  }
}
.before-after #gnavi li.nav_before-after a:after {
  width: 40%
}



#achievements {
	margin: 120px auto 0 auto;
	max-width: 1200px;
	width: 100%;
	padding: 0 30px;
}

#achievements .list {
	margin-bottom: 50px;
}

#achievements .list:last-of-type {
	margin-bottom: 150px;
}

#achievements .list .item {
	border: 2px solid #4B62A5;
	margin-bottom: 60px;
}

#achievements .list .item .flex {
	display: flex;
}

#achievements .list .item .flex .left-item {
	width: 45%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

#achievements .list .item .flex .left-item .place {
	color: #fff;
	background-color: #4B62A5;
	height: 45px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-left: 12px;
	margin-bottom: 5px;
	font-size: 18px;
	font-weight: bold;
}

/*#achievements .list .item .flex .left-item .comment {
	padding: 0 12px;
	margin-bottom: 10px;
	font-size: 15px;
}*/

#achievements .list .item .flex .left-item .area {
	padding: 0 12px;
	text-align: left;
	display: flex;
	align-items: center;
	font-size: 18px;
}

#achievements .list .item .flex .left-item .img {
	padding: 0 0 12px 12px;
	position: relative;
}


#achievements .list .item .flex .left-item .img .text-before {
	top: 10px;
	left: 25px;
	font-size: 18px;
	position: absolute;
	background-color: #4B62A5;
	color: #fff;
	padding: 5px 10px;
	width: 80px;
	text-align: center;
}

#achievements .list .item .flex .left-item .img img {
	width: 90%;
}

#achievements .list .item .flex .left-item .img::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 120px 0 120px 20px;
	border-color: transparent transparent transparent #4B62A5;
	position: absolute;
	top: 25%;
	right: 12px;
	margin-top: -6px;
} 


#achievements .list .item .flex .right-item {
	width: 56%;
	position: relative;
}

#achievements .list .item .flex .right-item .text-after {
	top: 10px;
	right: 10px;
	font-size: 18px;
	position: absolute;
	background-color: #4B62A5;
	color: #fff;
	padding: 5px 10px;
	width: 80px;
	text-align: center;
}

#achievements .list .item .flex .right-item img {
	width: 100%;
	vertical-align: bottom;
	text-align: center;
}


/*-----------カテゴリでの配色変更用01-----------*/
#achievements .list .item:nth-child(n+11) {
	border: 2px solid #798b7a;
}

#achievements .list .item:nth-child(n+11) .flex .left-item .place {
	background-color: #798b7a;
}

#achievements .list .item:nth-child(n+11) .flex .left-item .img .text-before {
	background-color: #798b7a;
}

#achievements .list .item:nth-child(n+11) .flex .left-item .img::after {
	border-color: transparent transparent transparent #798b7a;

}

#achievements .list .item:nth-child(n+11) .flex .right-item .text-after {
	background-color: #798b7a;
}


/*-----------カテゴリでの配色変更用02-----------*/
#achievements .list .item:nth-child(n+22) {
	border: 2px solid #3886a5;
}

#achievements .list .item:nth-child(n+22) .flex .left-item .place {
	background-color: #3886a5;
}

#achievements .list .item:nth-child(n+22) .flex .left-item .img .text-before {
	background-color: #3886a5;
}

#achievements .list .item:nth-child(n+22) .flex .left-item .img::after {
	border-color: transparent transparent transparent #3886a5;

}

#achievements .list .item:nth-child(n+22) .flex .right-item .text-after {
	background-color: #3886a5;
}


/*-----------カテゴリでの配色変更用03-----------*/
#achievements .list .item:nth-child(n+32) {
	border: 2px solid #91bfc8;
}

#achievements .list .item:nth-child(n+32) .flex .left-item .place {
	background-color: #91bfc8;
}

#achievements .list .item:nth-child(n+32) .flex .left-item .img .text-before {
	background-color: #91bfc8;
}

#achievements .list .item:nth-child(n+32) .flex .left-item .img::after {
	border-color: transparent transparent transparent #91bfc8;

}

#achievements .list .item:nth-child(n+32) .flex .right-item .text-after {
	background-color: #91bfc8;
}

/*-----------カテゴリでの配色変更用04-----------*/
#achievements .list .item:nth-child(n+41) {
	border: 2px solid #d5dbe3;
}

#achievements .list .item:nth-child(n+41) .flex .left-item .place {
	background-color: #d5dbe3;
	color: #0d6fb8;
}

#achievements .list .item:nth-child(n+41) .flex .left-item .img .text-before {
	background-color: #d5dbe3;
	color: #0d6fb8;
}

#achievements .list .item:nth-child(n+41) .flex .left-item .img::after {
	border-color: transparent transparent transparent #d5dbe3;

}

#achievements .list .item:nth-child(n+41) .flex .right-item .text-after {
	background-color: #d5dbe3;
	color: #0d6fb8;
}

/*-----------カテゴリでの配色変更用05-----------*/
#achievements .list .item:nth-child(n+49) {
	border: 2px solid #676f95;
}

#achievements .list .item:nth-child(n+49) .flex .left-item .place {
	background-color: #676f95;
	color: #fff;
}

#achievements .list .item:nth-child(n+49) .flex .left-item .img .text-before {
	background-color: #676f95;
	color: #fff;
}

#achievements .list .item:nth-child(n+49) .flex .left-item .img::after {
	border-color: transparent transparent transparent #676f95;

}

#achievements .list .item:nth-child(n+49) .flex .right-item .text-after {
	background-color: #676f95;
	color: #fff;
}


/*--------------------------スマホ用------------------------------*/
@media screen and (max-width: 767px) {
	#achievements {
		padding: 0 15px;
		margin: 40px auto 0 auto;
	}
	
	#achievements .list .item .flex {
		flex-direction: column;
	}
	
	#achievements .list .item .flex .left-item {
		width: 100%;
	}
	
	#achievements .list .item .flex .left-item .img {
		padding: 0 10px 10px 10px;
	}
	
	#achievements .list .item .flex .left-item .img img {
		width: 100%;
		margin: 0 auto;
	}
	
	#achievements .list .item .flex .left-item .img::after {
		content: none;
	}
	
	#achievements .list .item .flex .right-item {
		width: 100%;
		padding: 0 10px 10px 10px;
	}
	#achievements .list .item .flex .arrow {
		position: relative;
		margin-bottom: 30px;
	}
	
	#achievements .list .item .flex .arrow span {
		content: ""; 
    	position: absolute;
    	border-top: solid 20px #4B62A5;
    	border-right: transparent solid 100px;
    	border-left: transparent solid 100px;
		left: 0;
		right: 0;
		margin: 0 auto;
		width: 50px;
	}
	
	/*-----------カテゴリでの配色変更用01-----------*/
	#achievements .list .item:nth-child(n+11) .flex .arrow span {
    	border-top: solid 20px #798b7a;
	}
	
	/*-----------カテゴリでの配色変更用02-----------*/
	#achievements .list .item:nth-child(n+22) .flex .arrow span {
    	border-top: solid 20px #3886a5;
	}

	/*-----------カテゴリでの配色変更用03-----------*/
	#achievements .list .item:nth-child(n+32) .flex .arrow span {
    	border-top: solid 20px #91bfc8;
	}

	/*-----------カテゴリでの配色変更用04-----------*/
	#achievements .list .item:nth-child(n+41) .flex .arrow span {
    	border-top: solid 20px #676f95;
	}

	/*-----------カテゴリでの配色変更用05-----------*/
	#achievements .list .item:nth-child(n+41) .flex .arrow span {
    	border-top: solid 20px #676f95;
	}

}
