@charset "utf-8";
#works main {
    margin-top: 100px;
}
#works .list__item a:hover {
	text-decoration: none;
	color: unset !important;
	opacity: 0.7;
}
#works .list__item a:hover img {
	opacity: 0.7;
}
#works .list__item figure {
	overflow: hidden;
    padding-top: 100%;
    width: 100%;
    position: relative;
    margin-bottom: 20px;
}
#works .list__item figure img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    transition:0.2s all;
}
#works .list__item .title {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 1em;
}
#works .list__item p {
    line-height: 1.7;
}
#works .list__item .tag {
    list-style: none;
    padding: 0;
    margin: 0;
}
#works .list__item .tag li {
	display: inline-block;
	margin: 0 0.5em 0 0;
	line-height: 1.3;
}
#works .list__item .tag a {
    font-size: 1.3rem;
    /* border: solid 1px var(--color_main); */
    border-radius: 50px;
    /* color: var(--color_main); */
    padding: 0 0.5em 1px;
	line-height: 2.2;
    background: #f5f1f2;
}
#works .list__item .tag a:hover {
    background: #422921;
    color: #fff !important;
    text-decoration: none;
}
#works #cat_btn {
	list-style: none;
	margin: 0 0 2em;
	padding: 0;
}
#works #cat_btn li {
	display: inline-block;
	margin-right: 1em;
}
#works #cat_btn li .more {
	width: unset;
	margin: 0;
	background: #f5f1f2;
    color: #231815;
}
#works #cat_btn li .more:hover {
    background: #231815;
}
#works h1.entry__title span {
    display: block;
    font-size: 70%;
    opacity: 0.8;
    margin-top: 5px;
}
@media (min-width: 768px){
    .flex_cl {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	.flex_cl.cl_2 > section, .flex_cl.cl_2 > li {
		width: 47%;
	}
	.flex_cl.cl_3 > section, .flex_cl.cl_3 > li {
		width: 29%;
		margin-bottom: 6%;
	}
	.flex_cl.cl_4 > section, .flex_cl.cl_4 > li {
		width: 23%;
	}
	.flex_cl .od1 {
		order: 1;
	}
	.flex_cl .od2 {
		order: 2;
	}
}
@media (max-width: 768px){
	#works .row {
		margin: unset;
	}
	#works div.flex_cl {
		overflow: hidden;
	}
	#works .list__item {
		float: left;
		width: 47%;
	}
	#works .list__item:nth-child(even) {
		float: right;
	}
	#works .list__item:nth-child(odd) {
		clear: both;
	}
	#works .list__item .title {
    	font-size: 1.8rem;
	}
	#works #cat_btn li:last-child {
		margin-top: 1em;
	}
}