/* gallery */
#gallery {overflow:hidden;}
#gallery .item {position:relative; z-index:1; float:left;}
#gallery .item:nth-child(3n) {margin-right:0;}
#gallery .item img {width:100%;vertical-align: middle;}
#gallery .item a {position:relative; z-index:1; display:block;padding:0.2em 0.2em 0 0.2em;}
#gallery .item a:before, #gallery .item a:after {content:" "; position:absolute; z-index:1; opacity:0; filter:alpha(opacity=0); transition:all .75s ease;}
#gallery .item a:before {z-index:1; top:0; left:0; right:0; bottom:0; background:url(../images/bg/bg-layer.png) repeat;}
#gallery .item a:after {z-index:2; top:50%; left:50%; margin:-27px 0 0 -27px; width:54px; height:54px; background:url(../images/btn/btn-sprite-gallery.png) 0 -32px no-repeat;}
#gallery .item a:hover:before, #gallery .item a:hover:after,
#gallery .item a:focus:before, #gallery .item a:focus:after {opacity:1; filter:alpha(opacity=100);}
#gallery .item figcaption {padding:15px 16px; border-width:0 1px 1px 1px; border-style:solid; border-color:#ccc;}
#gallery .item .title {padding-bottom:12px; border-bottom:1px solid #f0f0f0; font-size:1.286em; color:#333;}
#gallery .item .title a {color:#333;}
#gallery .item .local {margin-top:12px;}
#gallery .item .set-social {position:absolute; right:16px; bottom:8px;}
#gallery .item .set-social a {display:inline-block; margin-left:3px; width:32px; height:32px; background-image:url(../images/btn/btn-sprite-gallery.png);}
#gallery .item .set-social a.twitter {background-position:-32px 0;}
#gallery .item .set-social a.count {position:absolute; width:0; height:0; overflow:hidden; text-indent:-9999px;}

#gallery .box .mask {position:absolute; top:0.2em; right:0.2em; bottom:0; left:0.2em;}
#gallery .box .mask a {display:block; width:100%; height:100%; text-indent:-9999px;}
#gallery .box .photo {display:block; padding:0.2em 0.2em 0 0.2em;}
#gallery .box .photo img {width:100%;}
#gallery span {position:relative; display:block;}
#gallery figcaption {position:relative; margin:0 0.2em; overflow:hidden; border-width:0 1px 1px 1px; border-style:solid; border-color:#ccc; background:#f6f6f6;}
#gallery span.title {padding:12px 13px; border-bottom:1px solid #e5e5e5; background:#fff; font-size:13px; font-weight:bold; color:#333;}
#gallery span.local {margin-right:70px; padding-left:13px; height:34px; border-right:1px solid #e5e5e5; line-height:34px;}
#gallery span.sns {position:absolute; bottom:7px; right:0; width:70px; text-align:center;}
#gallery span.sns a {margin:0 3px;}
#btn_galregist {position:absolute; bottom:0; right:0.5em; width:82px; height:25px; border:1px solid #245892; border-radius:2px; background:#007cc3; text-align:center; line-height:25px; color:#fff;}
.faqpaging {margin-top:20px; padding-bottom:10px; text-align:center;}
.faqpaging * {vertical-align:top;}
.faqpaging strong, .faqpaging a {display:block; padding: 15px 0; border:1px solid #ccc; line-height:22px; color:#767676;}
.faqpaging strong {border-color:#069edb; background:#069edb; font-weight:normal; color:#fff;}
.faqpaging .jump {width:24px; height:24px; border:0;}
@media all and (max-width:480px) {
	#gallery .item {width:50%;min-height: 150px}
	#gallery .box {width:50%;min-height: 150px}
}
@media all and (min-width:481px) {
	#gallery .item {width:33.333333333333333333333333%;}
	#gallery .box {width:33.333333333333333333333333%;}
}