/* @override http://newmediacampaigns.com/css/compiled.css */

/* Eric Meyer Reset */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
margin: 0;
padding: 0;
border: 0;
outline: 0;
font-size: 100%;
vertical-align: baseline;
background: transparent;
}
html {
	background: transparent url("../img/back_piece.jpg") top center repeat;
}

body {
font: 12px/20px arial, verdana, sans-serif;
color: #58534c;
}

.wrapper {
	min-height:400px;
	background: transparent url(../img/back_top.jpg)top center no-repeat;	
}

:focus {
outline: 0;
}
a {
color: #000;
}
a:link, a:visited {
text-decoration: underline;
}
a:hover, a:active {
text-decoration: none;
}
a img {
border: none;
}
/* Layout */
.boundingBox {
margin: 0 auto;
width: 916px;
}

@media screen and (max-width: 767px) {
	.boundingBox {
		width:100%;
		margin:0 auto;
	}
	.wrapper {
		width:100%;
	}
}
/* Content */

#content {
padding: 20px 0;
}
/* Content - Portfolio Listing */

ul#portfolio-filter {
margin: -20px 0;
padding: 0;
height: 64px;
padding-left: 70px;
line-height: 64px;
background: transparent url(../images/icon-tag-green.png) left no-repeat;
}
ul#portfolio-filter li {
display: inline;
}
ul#portfolio-filter a {
margin-right: 0.5em;
padding: 0.5em 1em;
background: #FFF;
color: #AAA;
font-weight: bold;
text-decoration: none;
}
ul#portfolio-filter a:hover, ul#portfolio-filter a.current {
color: #888;
}
ul#portfolio-filter a.current {
background-color: #DDD;
}



ul#portfolio-list {
margin: 36px auto 0 auto;
	width:860px;
padding: 0;
list-style: none;
	display:flex;
	flex-direction:row ;
	flex-wrap:wrap;
	
}
ul#portfolio-list li {
width: 260px;
height: 380px;
display: block;
float: left;
	margin-right:20px;

margin-bottom:18px;
overflow: hidden;
}
ul#portfolio-list li a {
display: block;
width: 250px;
height: 354px;
overflow: hidden;
border: 1px solid #CDCDCD;
background: #eee;	
  cursor: pointer;
	max-width:250px;
box-shadow: 2px 2px 4px #190b0d;
}

ul#portfolio-list li a img{
width: 250px;
height: 354px;
	height: auto;
  transition: transform .6s ease;
}

ul#portfolio-list li a:hover img {
	transform: scale(1.1);/* 拡大 */
}

ul#portfolio-list li p {
font-size: 11px;
line-height: 15px;
color: #fff;
margin: 5px 0;
}

@media screen and (max-width: 767px) {
	ul#portfolio-list {
		width:100%;
	}
	ul#portfolio-list li {
		width:45%;
	}
	ul#portfolio-list li a {
		width:100%;
	}
	ul#portfolio-list li a img{
		width:100%;
	}
}

/*-- 帯部分 --*/
.title {
	margin:0 auto 20px;
	height:90px;
	text-align:center;
}

h1.archiveTitle {
	width:500px;
	margin:0 auto 0;
	padding:20px;
	text-align:center;
	font-weight:bold;
	font-size:2em;
	color:#f0d8c0;
	border-radius:10px;
	border:solid 1px #492b1a;
	box-shadow: 2px 2px 4px #190b0d, inset 3px 3px 5px 0 #764023; /* CSS3 */
	background: transparent url("../img/back_piece.jpg") repeat;
	background-size:20%;
}
