@charset "utf-8";

/* ギャラリー
==============================================*/
/*-- 基本レイアウト --*/
.SumoGallery * {
	border: 0;
	margin: 0;
	padding: 0;
}
.SumoGallery {
	font-family: Arial, Helvetica, sans-serif;
	background: rgba(255, 255, 255, .98);
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 113;
}
.SumoGallery img {
	width: auto;
}
.SumoGallery a {
	cursor: pointer;
}
.SumoGallery a:hover {
	text-decoration: none;
}
/*-- 画像エリア --*/
.SumoGallery .Sbody {
	position: absolute;
	top: auto; /* jQueryで指定 */
	right: 0;
	bottom: 0;
	left: 0;
	-webkit-transition: all 300ms;
	transition: all 300ms;
}
.SumoGallery .Sbody a {
	display: none;
	left: 0;
	opacity: 1;
	-webkit-transition: none;
	transition: none;
}
.SumoGallery .Sbody a.sel {
	width: 100%;
	height: 100%;
	background: url(/wp-content/uploads/loader.gif) center no-repeat;
	display: block;
	position: absolute;
	z-index: 1;
}
.SumoGallery .Sbody a.anim {
	-webkit-transition: all 200ms;
	transition: all 200ms;
	cursor: default;
}
.SumoGallery .Sbody a.left {
	left: -100%;
	opacity: 0;
}
.SumoGallery .Sbody a.right {
	left: 100%;
	opacity: 0;
}
.SumoGallery .Sbody a img {
	max-width: 76%;
	max-height: 76%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.SumoGallery .Sbody a img:hover {
	opacity: 1;
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sbody a.sel {
		-webkit-background-size: 40px;
		background-size: 40px;
	}
}
/*-- タイトルエリア --*/
.SumoGallery .Sheader {
	background: rgba(255, 255, 255, .7);
	border: none;
	height: auto; /* jQueryで取得 */
	position: relative;
}
.SumoGallery .Sheader p {
	font-family: "Hiragino Kaku Gothic ProN", Meiryo, "MS PGothic", sans-serif;
	color: #7e7e7e;
	font-size: 14px;
	font-weight: normal;
	line-height: 16px;
	display: table;
	margin: auto;
	padding: 11px 36px 11px 11px;
	display: none; /* 非表示 */
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sheader p {
		font-size: 13px;
	}
}
/*-- Closeボタン --*/
.SumoGallery .Sheader a {
	width: 30px;
	height: 30px;
	background: url(/wp-content/uploads/close.png) center no-repeat;
	background-size: contain;
	display: block;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 15;
	cursor: pointer;
}
.SumoGallery .Sheader a:hover {
	opacity: .8;
}
.mobile .SumoGallery .Sheader a:hover {
	opacity: 1;
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sheader a {
		width: 25px;
		height: 25px;
		top: 10px;
		right: 10px;
	}
}
/*-- Prev、Nextボタン --*/
.SumoGallery .Sarrow {
	width: 16px;
	height: 29px;
	position: absolute;
	top: 50%;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	-webkit-transition: all 300ms;
	transition: all 300ms;
	z-index: 10;
}
.SumoGallery .Sarrow.l {
	background: url(/wp-content/uploads/prev.png) center no-repeat;
	background-size: contain;
	display: block;
	left: 20px;
}
.SumoGallery .Sarrow.r {
	background: url(/wp-content/uploads/next.png) center no-repeat;
	background-size: contain;
	display: block;
	left: auto;
	right: 20px;
}
.SumoGallery .Sarrow:hover {
	opacity: .8;
}
.mobile .SumoGallery .Sarrow:hover {
	opacity: 1;
}
.SumoGallery .Sarrow.last-item {
	pointer-events: none;
	cursor: default;
	visibility: hidden !important; /* 非表示 */
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sarrow.l {
		left: 10px;
	}
	.SumoGallery .Sarrow.r {
		right: 10px;
	}
}
/*-- サムネイルエリア --*/
.SumoGallery .toggle-thumbs {
	width: 50px;
	height: 18px;
	font-family: FontAwesome;
	color: #7e7e7e;
	font-size: 12px;
	line-height: normal;
	background: rgba(255, 255, 255, .7);
	border: 1px solid #7e7e7e;
	border-bottom: 1px solid #fff;
	border-radius: 3px 3px 0 0;
	position: absolute;
	right: 10px;
	bottom: 74px;
	padding: 0 5px;
	z-index: 10;
}
.SumoGallery.nothumbs .toggle-thumbs {
	border-bottom: 1px solid #7e7e7e;
}
.SumoGallery .toggle-thumbs span {
	width: 100%;
	height: 100%;
	display: block;
}
.SumoGallery .toggle-thumbs span:after {
	content: "\f078";
	position: absolute;
	left: 50%;
	top: 2px;
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
.SumoGallery .toggle-thumbs:hover {
	-webkit-text-shadow: 0 0 1px #7e7e7e;
	text-shadow: 0 0 1px #7e7e7e;
}
.mobile .SumoGallery .toggle-thumbs:hover {
	-webkit-text-shadow: none;
	text-shadow: none;
}
.SumoGallery .Sfooter {
	height: 50px;
	background: rgba(255, 255, 255, .7);
	border-top: 1px solid #7e7e7e;
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 12px 0;
	-webkit-transition: all 300ms;
	transition: all 300ms;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
	display: none; /* 非表示 */
}
.SumoGallery ul.Sthumbnails {
	height: 150px;
	text-align: center;
	white-space: nowrap;
	list-style: none;
	display: block;
	overflow: auto;
	display: block;
	margin-top: -5px;
	padding-top: 5px;
}
.SumoGallery ul.Sthumbnails li {
	display: inline-block;
	margin: 0 2px;
}
.SumoGallery ul.Sthumbnails li a {
	width: 50px;
	height: 50px;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: cover;
	display: block;
	position:relative;
}
.SumoGallery ul.Sthumbnails li a:hover {
	opacity: .5;
}
.SumoGallery ul.Sthumbnails li.sel a {
	opacity: .5;
}
.SumoGallery.nothumbs .toggle-thumbs span:after {
	content: "\f077";
}
.SumoGallery.nothumbs .Sfooter{
	bottom: -74px;
}
.SumoGallery.nothumbs .Sbody {
	bottom: 0;
}
@media screen and (max-width: 719px) {
	.SumoGallery .toggle-thumbs {
		bottom: 39px;
	}
	.SumoGallery .Sfooter {
		height: 15px;
	}
	.SumoGallery ul.Sthumbnails {
		margin-top: -2px;
		padding: 0;
	}
	.SumoGallery ul.Sthumbnails li {
		margin: 0 5px;
	}
	.SumoGallery ul.Sthumbnails li a {
		width: 10px;
		height: 10px;
		background-color: #7e7e7e;
		background-position: -9999px;
		-webkit-border-radius: 100%;
		border-radius: 100%;
		display: block;
		position: relative;
	}
	.SumoGallery.nothumbs .Sfooter{
		bottom: -39px;
	}
}
/*-- カウンター --*/
.SumoGallery .SimgCount {
	height: 74px;
	color: #7e7e7e;
	line-height: 74px;
	position: absolute;
	right: 10px;
	bottom: 0;
}
@media screen and (max-width: 719px) {
	.SumoGallery .SimgCount {
		height: 39px;
		line-height: 39px;
	}
}
/*-- 画像が1枚のみの場合はサムネイルエリアを出さない --*/
.SumoGallery.none_item .Sfooter {
	display: none;
}
.SumoGallery.none_item .Sbody {
	bottom: 0;
}