@charset "utf-8";

.tagcroud {
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	max-width: 500px;
	margin: 0 auto 50px;
}
.tagcroud a {
	text-decoration: none;
	color: #b61d23;
	border: 1px solid #b61d23;
	padding: 0px 10px;
	height: 30px;
	line-height: 29px;
	white-space: nowrap;
	border-radius: 2px;
	margin: 0 10px 10px;
}

.works_flex {
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
}

.works_col {
	width: 270px;
	margin: 0 15px 50px;
}
.works_col .thumb {
	height: 175px;
	margin: 0 0 15px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
}
.works_col .thumb:hover {
	opacity: 0.8;
}
.works_col  img {
	width: 100%;
	height: auto;	
}
.works_col a:hover img {
	opacity: 0.7;	
}

.works_col .works_name {
	font-weight: 700;	
}
.works_col p.date {
	font-size: 14px;
	margin: 5px 0 0;	
}
.works_tags {
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.0;
	display: -webkit-flex;
	display: flex;
	flex-wrap: wrap;
}
.works_tags.aligncenter {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	margin: 0 0 25px;
}

.works_tags a {
	text-decoration: none;
	color: #b61d23;
	border: 1px solid #b61d23;
	padding: 0px 6px;
	height: 20px;
	line-height: 19px;
	white-space: nowrap;
	border-radius: 2px;
	margin: 0 5px 6px 0;
}
.tagcroud a:hover,
.works_tags a:hover {
	background: #b61d23;
	color: #FFF;
}


.works_article {
	margin: 50px 0;	
}
.works_article p {
	margin-bottom: 2em;	
}
h2.works_title {
	font-weight: 600;
	font-size: 26px;
	text-align: center;
	margin: 0 0 20px;	
}
h2.works_title.category_title {
	margin: 0 0 35px;	
}

h2.tag_title {
	font-weight: 600;
	font-size: 22px;
	text-align: center;
	margin: 0 0 50px;	
}
.works_article img {
	max-width: 100%;
	height: auto;	
}

.works_all {
	clear: both;
	text-align: center;
	margin-top: 20px;
	font-weight: 500;
}
.works_all a {
	color: #b61d23;
	text-decoration: underline;
	position: relative;
}
.works_all a:after {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-top: 1px solid #b61d23;
    border-left: 1px solid #b61d23;
    position: absolute;
    left: -15px;
    top: 10px;
    transform: rotate(-45deg);
}
.works_all a:hover {
	text-decoration: none;
}

.works_date {
	text-align: right;
}

@media(max-width: 960px) {
.works_col {
	margin-left: 10px;
	margin-right: 10px;
	width: calc(calc(100vw - 98px) * 0.33);	
}
	
}

@media(max-width: 767px) {
.works_article {
	margin: 	0 10px;
}
.works_article img {
	width: 100%;
	height: auto;	
}
.tagcroud a {
	font-size: 12px;
	margin: 0 3px 6px;	
}
.works_flex {
	display: block;	
}
.works_flex .works_col {
	width: 49%;
	margin: 0 0 30px;
}
.works_flex .works_col:nth-child(odd) {
	float: left;
	clear: both;
}
.works_flex .works_col:nth-child(even) {
	float: right;
}
.works_col .thumb {
	height: 31.5vw;
	margin: 0 0 10px;	
}
.works_tags a {
	font-size: 10px;	
}
.works_col p.date {
	font-size: 10px;	
}
div.wp-pagenavi.first {
	transform: translateX(0);
}

h2.works_title {
	font-size: 20px;
}
h2.tag_title {
	font-size: 18px;
	margin: 0 0 25px;	
}
}