.p-works {
	background-color: #eceff1;
	position: relative;
	z-index: 1;
}

.p-works::before {
	background: -webkit-linear-gradient(177deg, #3197a3 5%, #319eab 52%, #2aaab9 100%);
	background: linear-gradient(273deg, #3197a3 5%, #319eab 52%, #2aaab9 100%);
	background-color: #3197a3;
	content: "";
	display: block;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
}

.p-works_inner {
	position: relative;
	z-index: 3;
}

.p-works_title {
	color: #fff;
	background: -webkit-linear-gradient(177deg, #3197a3 5%, #319eab 52%, #2aaab9 100%);
	background: linear-gradient(273deg, #3197a3 5%, #319eab 52%, #2aaab9 100%);
	background-color: #3197a3;
}

/* navigation */
.p-works_nav{
	background: -webkit-linear-gradient(177deg, #3197a3 5%, #319eab 52%, #2aaab9 100%);
	background: linear-gradient(273deg, #3197a3 5%, #319eab 52%, #2aaab9 100%);
	background-color: #3197a3;
	padding-bottom: 30px;
}
	.p-works_nav_list{
		margin: 60px auto 0;
		width: 940px;
		display: flex;
		flex-wrap: wrap;
	}
		.p-works_nav_list li{
			flex-basis: 300px;
			margin-bottom: 20px;
		}
		.p-works_nav_list li:not(:nth-of-type(3n)){
			margin-right: 20px;
		}
			.p-works_nav_list li a{
				display: block;
				background: rgba(255,255,255, 0.8) url(/images/ico_arrow_circle01.svg) right 20px center no-repeat;
				border-radius: 3px;
				text-align: center;
				padding: 13px;
				transition: all 0.3s;
				text-decoration: none;
				font-weight: bold;
				color: #21646c;
				font-size: 16px;
			}
			.p-works_nav_list li a:hover{
				background-color: #fff;
			}

@media screen and (max-width: 768px){
	.p-works_nav_list{
		width: 100%;
		max-width: 500px;
		padding: 0 5%;
		display: block;
		margin-top: 30px;
	}
	.p-works_nav_list li{
		width: 100%;
		margin-bottom: 10px;
	}
	.p-works_nav_list li:not(:nth-of-type(3n)){
		margin-right: 0;
	}
		.p-works_nav_list li a{
			font-size: 14px;
			padding: 10px;
		}
}


/* header */
.p-works_header{
	margin: 60px auto 0;
    width: 1140px;
	display: flex;
}
	.p-works_header::after{
		content:"";
		width: 100%;
		height: 1px;
		background-color: #3197a3;
		flex-shrink: 1;
		margin-top: 14px;
		margin-left: 10px;
	}
	.p-works_header div{
		display: flex;
		flex-direction: column-reverse;
		flex-shrink: 0;
		line-height: 1.3;
		font-family: "Noto Serif JP", serif;
		font-weight: normal;
		color: #21646c;
	}
	.p-works_header span:nth-of-type(1){
		font-size: 14px;
	}
	.p-works_header span:nth-of-type(2){
		font-size: 26px;
		letter-spacing: 2.99px;
	}

@media screen and (max-width: 768px){
	.p-works_header{
		margin: 30px auto;
		width: 90%;
	}
	.p-works_header::after{
		margin-top: 9px;
	}
		.p-works_header span:nth-of-type(1){
			font-size: 12px;
		}
		.p-works_header span:nth-of-type(2){
			font-size: 18px;
		}
}

/* works list */
.p-works_list {
	-ms-flex-wrap: wrap;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
}

.p-works_item {
	list-style-type: none;
}

.p-works_item .item_head {
	position: relative;
}

.p-works_item .item_head img {
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.p-works_item .item_cat {
	left: 12px;
	position: absolute;
	top: 12px;
}

.p-works_item .item_cat span {
	background-color: #222;
	color: #fff;
	display: inline-block;
	font-weight: 600;
	padding: 2px 12px;
}

.p-works_item .item_body {
	background-color: #fff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	position: relative;
	width: 90%;
	z-index: 4;
}

.p-works_item .item_title {
	font-weight: 600;
	position: relative;
}

.p-works_item .item_title::after {
	background-color: #3197a3;
	content: "";
	display: block;
	height: 2px;
	left: 0;
	position: absolute;
	width: 22px;
}

.p-works_item .item_text {
	line-height: 1.5;
}

.p-works_item .item_head{
	overflow: hidden;
}

.p-works_item a img {
	transition: -webkit-transform 0.5s ease-in-out;
	transition:transform 0.5s ease-in-out;
}
.p-works_item a:hover img {
	-webkit-transform:scale(1.07);
	transform:scale(1.07);
}

.p-works_item .item_body h3 a {
	text-decoration: none;
	color:#222;
}
.p-works_item .item_body span a {
	text-decoration: none;
	font-size:12px;
	font-weight: 600;
	position: absolute;
	bottom: 12px;
	right: 15px;
	font-family: "Noto Serif JP", serif;;
}

.item_body span i {
	margin-left: 5px;
}

.p-works_item .item_body a:hover {
	opacity: 0.7;
	transition: -webkit-transform 0.5s;
	transition:transform 0.5s;
}

@media screen and (min-width: 426px) and (max-width: 768px) {
    .p-works::before {
        height: 40vw;
    }

	.p-works_list {
		margin: 30px auto 0;
		width: 90%;
	}

    .p-works_item {
        -ms-flex: 0 0 calc((100% - 23px) / 2);
        -webkit-box-flex: 0;
        flex: 0 0 calc((100% - 23px) / 2);
        margin-bottom: 40px;
    }
    
    .p-works_item:nth-of-type(odd) {
        margin-right: 23px;
    }
}

@media screen and (min-width: 769px) {
    .p-works {
        padding-bottom: 80px;
        padding-top: 120px;
    }
    
    .p-works::before {
        height: 418px;
    }
    
    .p-works_list {
        margin: 60px auto 0;
        width: 1140px;
    }
    
    .p-works_item {
        -ms-flex: 0 0 calc((100% - 46px) / 3);
        -webkit-box-flex: 0;
        flex: 0 0 calc((100% - 46px) / 3);
        margin-bottom: 48px;
    }
    
    .p-works_item:not(:nth-of-type(3n)) {
        margin-right: 23px;
    }
    
    .p-works_item .item_cat span {
        font-size: 12px;
    }
    
    .p-works_item .item_body {
        margin: -60px auto 0;
        /*padding: 27px 20px*/
        padding: 27px 20px 50px;
    }
    
    .p-works_item .item_title {
        font-size: 16px;
        padding-bottom: 30px;
    }
    
    .p-works_item .item_title::after {
        bottom: 16px;
    }
    
    .p-works_item .item_text {
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    .p-works {
	margin-top: 40px;
	padding-bottom: 40px;
	padding-top: 60px;
}
.p-works_item .item_cat span {
	font-size: 11px;
}

.p-works_item .item_body {
	margin: -60px auto 0;
	/*padding: 15px;*/
	padding: 15px 15px 45px;
}

.p-works_item .item_title {
	font-size: 14px;
	padding-bottom: 20px;
}

.p-works_item .item_title::after {
	bottom: 11px;
}

.p-works_item .item_text {
	font-size: 12px;
}
/*トップページ（WORKS）*/
.p-works_item .item_body span a{
	right: 15px;
	bottom: 8px;
}
}
@media screen and (max-width: 425px) {
    .p-works::before {
        height: 250px;
    }
    .p-works_list{
		margin: 0 5%;
	}
    .p-works_item {
        -ms-flex: 0 0 100%;
        -webkit-box-flex: 0;
        flex: 0 0 100%;
        margin-bottom: 40px;
    }
    
    
}
