@charset "utf-8";
.pagehead:after {
	background: url("../images/works/bg_pagehead.jpg");
	background-size:cover;
}

.works_index {
	margin: 90px 0; 
}

.cat_list {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.cat_list li {
	color: #888;
	font-size: 1.6rem;
	cursor: pointer;
	margin-right: 15px;
	padding-right: 20px;
	position: relative;
	transition: 0.3s;
}
.cat_list li:hover {
	opacity: 0.6;
}
.cat_list li a {
	color: #888;
}
.cat_list li.current a {
	color: #333;
}
.cat_list li:after {
	background: #888;
	content:'';
	display: block;
	height: 15px;
	position: absolute;
	top: 3px;
	transform: rotate(15deg);
	right: 0;
	width: 1px;
}
.cat_list li:last-child:after {
	content: none;
}

@media screen and (max-width: 767px) {
	.works_index {
		margin: 50px 0;
	}
	.cat_list {
		justify-content: flex-start;
	}
	.cat_list li {
		margin-bottom: 8px;
	}
	.cat_list li:after {
		top: 5px;
	}
}	
	
.works_index .inner {
	max-width: 1200px;
}

/*tab*/
.tabarea {
	height: 0;
	opacity: 0;
	overflow: hidden;
	transition: opacity 0.3s;
}
.tabarea a {
	pointer-events: none;
}
.tabarea.current {
	height: 100%;
	opacity: 1;	
	margin: 85px 0 0;
	position: relative;
	z-index: 2;	
}
.tabarea.current a {
	pointer-events: auto;
}
@media screen and (max-width: 767px) {
	.tabarea.current {
		margin-top: 30px;
	}	
}

.works_list {
	align-items: stretch;
	flex-wrap: wrap;
}
.works_list li {
	margin: 0 93px 56px 0;
	width: 330px;
}
.works_list li:nth-child(3n) {
	margin-right: 0;
}
.works_list li a {
	display: block;
}
.works_list li .tag {
	color: #888;
	margin-bottom: 5px;
}
.works_list li img {
	margin-bottom: 17px;
	width: 100%;
}
.works_list li img + p {
	font-size: 1.6rem;
}
@media screen and (max-width: 767px) {
	.works_list li {
		width: 100%;
	}
	.works_list li {
		margin:0 0 50px;
	}
	.works_list li .tag {
		font-size: 1.9rem;
		margin-bottom: 8px;
	}
	.works_list li img {
		object-fit: cover;
		height: 160px;
		width: 100%;
	}
	.works_list li img + p {
		font-size: 1.9rem;
	}
}

.pager {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.pager li + li {
   margin-left: 42px;
}

.pager li a {
	color: #888;
	font-size: 1.5rem;
}.pager li a.current {
	color: #333;
}
@media screen and (max-width: 767px) {
	.pager li {
		margin-bottom: 30px;
	}
	.pager li + li {
		margin-left: 8%;
	}
	.pager li a {
		font-size: 1.8rem;
	}
}

.online {
	margin-top: 0;
}
@media screen and (max-width: 767px) {
	.online {
		margin: 20px 0;
	}
}


/*detail*/
.works_detail .inner {
	max-width: 1100px;
}
.post {
	margin-bottom: 80px;
}
.cat_ttl {
	font-size: 3.6rem;
	padding: 70px 0 90px;
	text-align: center;
}

.post_head {
	margin-bottom: 40px;
}
.post_ttl {
	font-size: 2.8rem;
	margin-bottom: 30px;
}
.post_tag {
	display: flex;
}
.post_tag li {
	color: #888;
	font-size: 1.4rem;
	margin-right: 15px;
}
@media screen and (max-width: 767px) {
	.post {
		margin-bottom: 60px;
	}
	.cat_ttl {
		font-weight: bold;
		padding: 30px 0;
	}
	.post_ttl {
		font-weight: bold;
		margin-bottom: 10px;
	}
	.post_tag li {
		font-size: 1.8rem;
	}
}


.post_body {
	margin-bottom: 80px;
}
.post_body img {
	display: block;
	margin: 0 auto 20px;
	max-width: 100%;
}
.post_body p {
	font-size: 1.6rem;
	margin-bottom: 40px;
}

.post_body .name {
	margin-bottom: 100px;
}

@media screen and (max-width: 767px) {
	.post_body {
		margin-bottom: 60px;
	}
	.post_body p {
		font-size: 1.8rem;
		line-height: 1.8;
		margin-bottom: 30px;
	}
}
.post .btn {
	background: #fccf00;
	margin: 0 auto;
	width: 200px;
}
.post .btn span {
	font-size: 1.7rem;
}
.post .btn:after {
	background: #f1f1f1;
}