@charset "utf-8";

#works .works {
	position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 200px 5vw 0;
    overflow: hidden;
}

#works .works .inner {
	padding: 0;
}

#works .works h3 {
	max-width: 1200px;
    width: 100%;
    font-family: 'Bahnschrift', "Helvetica Neue", sans-serif;
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1;
    margin: 0 auto;
}

#works .works .categorylist {
	max-width: 1200px;
    width: 100%;
    margin: 60px auto;
}

#works .works .categorylist div {
	margin-top: 20px;
}

#works .works .categorylist_inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

#works .works .categorylist_inner_tag {
    -webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
}

#works .works .categorylist_inner p {
	width: 100px;
    color: #7e7d7d;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    text-align: left;
    border: 1px solid #C4C4C4;
    text-align: center;
    margin-right: 20px;
    padding: 10px 5px;
}

#works .works .categorylist ul {
	width: calc(100% - 120px);
    display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    gap: 10px;
    font-size: 1.3rem;
}

#works .works .categorylist ul#tag {
	margin-top: 5px;
    font-size: 1.3rem;
}

#works .works .categorylist ul li {
	cursor: pointer;
}

#works .works .categorylist ul li:hover {
	color: #C4C4C4;
}

#works .works .categorylist ul li.mixitup-control-active {
	color: #C4C4C4;
}

#works .works .categorylist ul li:after {
	content: "/";
    padding-left: 10px;
    color: #afafaf;
}
#works .works .categorylist ul li:last-child:after {
    content: "";
    margin-left: 0;
    padding-right: 0;
}

#works .works .categorylist ul#tag li:before {
	content: "#";
	padding-right: 3px;
}


#works section {
	max-width: 1200px;
    width: 100%;
    position: relative;
    text-align: center;
    padding: 0;
}

#works section ul.workslist {
	max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	grid-row-gap: 60px;
	grid-column-gap: 5%;
}

#works section ul li.workslist-item {
	text-align: left;
	position: relative;
}

#works section ul li.workslist-item p {
	font-size: 1.2rem;
    line-height: 1.6;
    color: #000;
}

#works section ul li.workslist-item .video_thum {
	width: 100%;
}



#works section ul.category, #works section ul.tag {
	display: flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-size: 1rem;
    line-height: 1;
    color: #7e7d7d;
    margin-top: 5px;
}

#works section ul.category li:before {
	white-space: pre-wrap;
	content: " / ";
}
#works section ul.category li:first-child:before {
	content: none;
}
#works section ul.tag li:before {
	content: "#";
}



@media screen and (max-width: 767px) {
	/*#works .works .categorylist_inner {
	   -webkit-box-align: flex-start;
	   -ms-flex-align: flex-start;
	   align-items: flex-start;
	}*/
	
	#works .works {
	    padding: 135px 25px 0;
	}
	
	#works .works .categorylist_inner {
	    display: block;
	}
	
	#works .works .categorylist_inner p {
	    width: auto;
	    font-size: 1.2rem;
	    font-weight: 600;
	    color: #000;
	    text-align: left;
	    border: none;
	    padding: 0 0 5px 0;
	}

	#works .works .categorylist ul {
		width: 100%;
	    font-size: 1.2rem;
	    gap: 5px 10px;
	    margin-top: 10px;
	}
}

@media screen and (max-width: 834px) {
	#works section ul.workslist {
	    grid-template-columns: 1fr 1fr;
	}
}

@media screen and (max-width: 540px) {
	#works section ul.workslist {
	    grid-template-columns: none;
	}
}



/*------------------------------------------------------------
	WORKS_Ditails
------------------------------------------------------------*/
#works .works_details {
	position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 200px 5vw 135px;
    overflow: hidden;
}

#works .works_details h3 {
	max-width: 1200px;
    width: 100%;
    font-family: 'Bahnschrift', "Helvetica Neue", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 auto;
}

#works .works_details .categorylist {
	max-width: 1200px;
    width: 100%;
    margin: 20px auto;
}

#works .works_details .categorylist div {
	margin-top: 0;
}

#works .works_details .categorylist ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.2rem;
    line-height: 1;
    text-align: left;
    color: #7e7d7d;
}

#works .works_details .categorylist ul li {
    margin-top: 5px;
}

#works .works_details .categorylist ul li:after {
	content: "/";
    padding-left: 10px;
    padding-right: 10px;
    color: #afafaf;
}
#works .works_details .categorylist ul li:last-child:after {
    content: "";
    margin-left: 0;
    padding-right: 0;
}

#works .works_details .categorylist ul li a{
  color: #7e7d7d;
}

#works .works_details .categorylist ul#tag li:before {
	content: "#";
	padding-right: 3px;
}

#works .works_details section .works_contents div {
	margin-top: 60px;
}

#works .works_details section .works_contents div img {
	width: 100%;
	height: auto;
}

#works .works_details section .works_contents p {
	font-size: 1.4rem;
	text-align: left;
	margin-top: 40px;
}

#works .works_details section .works_contents .wp-block-video {
	margin-top: 40px;
}

#works .works_details section .works_contents .wp-block-video video {
	max-width: 1200px;
	width: 100%;
}

#works .works_details .credit {
	max-width: 1200px;
    width: 100%;
    position: relative;
    margin: 60px auto 0;
    padding: 0;
}

#works .works_details .credit dl {
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    font-size: 1.4rem;
}


#works .works_details .credit dl dt {
    color: #7e7d7d;
    white-space: nowrap;
}


#works .works_details .credit dl dt:after {
    content: '：';
    display: inline;
}

#works .works_details .credit dl dd a {
	position: relative;
}

#works .works_details .credit dl dd a:after {
	position: absolute;
	left: 0;
	bottom: -5px;
	content: '';
	width: 100%;
	height: 1px;
	background: #b8b8b8;
}
#works .works_details .credit dl dd a:before {
	position: absolute;
	left: 0;
	bottom: -5px;
	content: '';
	width: 100%;
	height: 1px;
	background: #000;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
	z-index: 1;
}

#works .works_details .credit dl dd a:hover:before {
	transform: scale(1, 1);
}

#works .works_details section .works_contents p a {
	position: relative;
}

#works .works_details section .works_contents p a:after {
	position: absolute;
	left: 0;
	bottom: -5px;
	content: '';
	width: 100%;
	height: 1px;
	background: #b8b8b8;
}
#works .works_details section .works_contents p a:before {
	position: absolute;
	left: 0;
	bottom: -5px;
	content: '';
	width: 100%;
	height: 1px;
	background: #000;
	transform: scale(0, 1);
	transform-origin: left top;
	transition: transform .3s;
	z-index: 1;
}

#works .works_details section .works_contents p a:hover:before {
	transform: scale(1, 1);
}



@media screen and (max-width: 767px) {
	#works .works_details {
	    padding: 135px 25px 80px;
	}
	#works .works_details h3 {
	    font-size: 1.8rem;
	}
	#works section {
	    margin-top: 40px;
	}
	#works .works_details section .works_contents div {
		margin-top: 40px;
	}
	#works .works_details .credit dl {
		font-size: 1.3rem;
	}
}

