@charset "utf-8";
/* CSS Document */
.section.gallery_section .popup-iframe a img:hover {
	opacity: inherit;
}
.gallery .largePh {
	position: relative;
	display: block;
	width: 100%;
	padding-top: 75%;
}
.gallery .largePh img {
	position: absolute;
	display: inline-block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
	-ms-transform: translateY(-50%) translateX(-50%);
}
.gallery .largePh:after {
	content: "";
	position: absolute;
	top: 1%;
	right: 0.7%;
	width: 27px;
	height: 27px;
	background: url(/tori/gallery/images/zoom_icon.png);
}
.gallery .popup-iframe {
	background: #000;
	text-align: center;
}
.section.gallery_section .gallery .popup-iframe .exif {
	margin-bottom: 0;
	padding: 1.5%;
	color: #fff;
	background: #333333;
	font-size: 90%;
	text-align: left;
}
.gallery .popup-iframe p.caption {
	background: #fff;
	margin-top: 0;
	padding-top: 2%;
	font-size: 100%;
	text-align: left;
}
.section.gallery_section ul {
	margin-top: 2%;
	margin-bottom: 0;
    padding: 2% 2% 2% 0;
	font-size: 0;
	white-space: nowrap;
}
.gallery_section .colorBox {
	overflow-x: scroll;
	overflow-y: hidden;
}
.gallery_section .colorBox::-webkit-scrollbar {
    height: 10px;
  }
.gallery_section .colorBox::-webkit-scrollbar-thumb{
    background: #999;
    border-radius: 5px;
  }
.gallery_section .colorBox::-webkit-scrollbar-track-piece {
    background: #efefef;
  }

.gallery_section ul li {
	position: relative;
	width: 24.25%;
	margin-right: 1%;
	display: inline-block;
	text-align: center;
	vertical-align: top;
}
.gallery_section ul li:last-child {
	margin-right: 0;
}
.gallery_section ul li a {
	display: block;
}
.gallery_section ul li a.selected {
	position: relative;
	line-height: 0;
	cursor: default;
}
.gallery_section ul li a.selected:before {
	content: "";
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	border: 4px solid #e9b226;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	z-index: 1;
}
.mfp-bg{
	opacity: 0.95;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
	cursor: -moz-pointer;
	cursor: -webkit-pointer;
	cursor: pointer;
}

@media screen and (max-width: 600px) {
#wrapper .detailGalleryTtl{
	line-height: 100px;
	}
}


.returnBtn{
	margin: 4% 0;
}
