@charset "UTF-8";
/*--- reset ---*/
html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body,div,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote
{
	margin: 0;
	padding: 0;
}
body{
	font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,"ＭＳ Ｐゴシック","Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;
	word-break: normal;
	word-wrap: break-word;
	overflow-wrap: break-word;
	font-size: 100%;
}
h1,h2,h3,h4,h5,h6 {
	font-size: 24px; font-size:1.5rem;
	padding: 4px;
	font-weight: normal;
}
p{
	font-size: 16px; font-size:1.0rem;
	padding: 4px;
}
span{
	padding: 2px;
	padding-right:10px;
}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a {
	text-decoration: none;
	background: transparent;
	display: inline-block;		/*スマホはタップしやすいようaをブロック要素にする*/
}
a:active,
a:hover {
	outline: 0;
}
img{
	border: 0;
}


/* -------------------------------------------- */

/*ギャラリーパーツ(グリッド)*/
.ggrid_area{
	margin-left: 8px;
	margin-right: 8px;
	text-align: center;
}
.gridlist{
    padding: 0;
    list-style: none;
    display: inline-block;
    font-size: 0;
    vertical-align: middle;
}
.gridlist p{
    font-size: 12px;
    font-size: 0.75rem;
    margin: 0;
    text-align: center;
}
.grid_imgbd{
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	display: inline-block;
	*display: inline;
	*zoom: 1;
	vertical-align: top;
	margin: 4px;
}
.grid_imgbd p{
    margin-top: 2px;
}

.gimgtrm{
    display:table-cell;
    width: 140px;
    height: 140px;
    position: relative;
    overflow: hidden;
    
}
.gimgtrm img{
   position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     margin: auto;
     

}
.gimgtrm p{				/*コメントを画像内に表示*/
	position: absolute;
	bottom: 0.5em;
	left:0;
	margin-top: 0;
}

/*スライドショーパーツ*/
.photo-item{					/*画像表示部分*/
	width: 80%;
	margin: 0 auto;
	position: relative;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-o-box-sizing:border-box;
	-ms-box-sizing:border-box;
	box-sizing:border-box;
	overflow: hidden;
}
.slider{
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0;
}
.slider li{
	width: 100%;
	height: 300px;
	padding: 0;
	float: left;
	position: relative;
}
@media screen and (max-width: 480px) {	/* 端末幅480px以下の場合 */
	.slider li{height: 210px;}
}
.slider li + li{	/*ライブラリが動作するまでは２枚目以降の画像非表示（起動後はライブラリ側でblockに変更）*/
	display: none;
}
.slider li img{
	position: absolute;
	top: 0;
	left: 0;
}
.slider li p{
	width: 100%;
	font-size: 12px; font-size:0.75rem;
	padding: 4px 0;
	text-align: center;
	position: absolute;
	bottom: 0;
	left:0;
}
.pager-item > ul{					/*ページマーク*/
	text-align: center;
	padding-top: 10px;
	margin:0;			/* デフォルトのmarginとpaddingを打消し */
	padding-left:0;		/* デフォルトのmarginとpaddingを打消し */
}
.pager-item li {display: inline-block;}
.pager-item button {
	display: block;
	text-indent: -9999px;
	width: 10px;
	height: 10px;
	margin: 0.5px 3px;
	border-radius: 5px;
	border: none;
	padding: 0;
	outline: none;
}
.direction-item a{				/*矢印画像*/
	display: inline-block;
	text-indent: -9999px;
	position: absolute;
	top: 50%;
	margin-top: -16px;
	width: 32px;
	height: 32px;
}
.prevmark{
	left: 3px;
	background: url("img/slideicon.png") no-repeat 0 0;
}
.prevmark:hover,.prevmark:active{
	background: url("img/slideicon.png") no-repeat -76px 0;
}
.nextmark{
	right: 3px;
	background: url("img/slideicon.png") no-repeat -40px 0;
}
.nextmark:hover,.nextmark:active{
	background: url("img/slideicon.png") no-repeat -114px 0;
}




.gimgtrm{
    width: 360px;
    height: 250px;
    background-color: black;
}


.grid_imgbd a{
   margin-right: 15px;
   margin-bottom: 40px;
}


.gridlist{
text-align: center ;
}





