@charset "utf-8";

/* Tab Menu
============================================== */
.tab {
	margin: 0 10px 0 10px;
}
.tab-list {
	background: #283c51;
	font-size: 0;
	text-align: center;
	border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	-moz-border-radius: 4px 4px 0 0;
	margin: 0 auto 0;
	padding: 10px 0 10px 0;
}
.tab-list li {
	font-size: 12px;
	display: inline-block;
	position: relative;
	margin: 0 10px 0 10px;
	padding: 5px 0 5px 0;
}
.tab-list li a {
	color: #f0f0f0;
}
.tab-list li a:hover, 
.tab-list li a:active, 
.tab-list li a.selected {
	color: #ec798f;
	text-decoration: none;
}

/* Font Awesome
---------------------------------------------- */
.tab-list i {
	padding-right: 5px;
}

/* Media Query
---------------------------------------------- */
@media screen and (max-width: 767px) { /* 767px以下用 */
		.tab-list li a:hover {
			color: #f0f0f0;
		}
		.tab-list li a:active:hover, 
		.tab-list li a.selected:hover {
			color: #ec798f;
		}
}


/* ImageList
============================================== */
.grid {
	float: left;
	margin: -6px -1% 15px -1%;
}
.grid .item {
	width: 23%;
	background: #ddd;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	float: left;
	margin: 6px 1% 6px 1%;
	margin-bottom: 15px;
	transition: all 220ms;
}
.grid .item:hover {
	background: #ec798f;
	transform: translateY(-2px);
	transition: all 220ms;
	cursor: pointer;
}
.grid .item img {
	width: 95%;
	display: block;
	padding: 2.5%;
}
/* .admin */
.grid.admin .item img {
	width: 100%;
	height: auto;
	display: inline-block;
	padding: 0;
}
.grid.admin .item_inner {
	background: url(/img/gallery/blnk_out.png) center no-repeat;
	background-size: cover;
}
.grid.admin .item_inner:hover {
	background: url(/img/gallery/blnk_over.png) center no-repeat;
	background-size: cover;
}

/* Media Query
---------------------------------------------- */
@media screen and (max-width: 767px) { /* 767px以下用 */
	.grid .item {
		width: 31.3333333333%;
		transition: none;
	}
	.grid .item:hover {
		background: #ddd;
		transform: none;
		transition: none;
	}
	/* .admin */
	.grid.admin .item_inner:hover {
		background: url(/img/gallery/blnk_out.png) center no-repeat;
		background-size: cover;
	}
}
@media screen and (max-width: 479px) { /* 479px以下用 */
	.grid .item {
		width: 48%;
	}
}


/* Sumo Gallery
============================================== */
/* 基本レイアウト */
.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: 12;
}
.SumoGallery img {
	width: auto;
}
.SumoGallery a {
	cursor: pointer;
}
.SumoGallery a:hover {
	text-decoration: none;
}

/* 画像エリア */
.SumoGallery .Sbody {
	position: absolute;
	top: auto; /* jQueryで指定 */
	right: 0;
	bottom: 74px;
	left: 0;
	-webkit-transition: all 300ms;
	transition: all 300ms;
}
.SumoGallery .Sbody a {
	display: none;
	left: 0;
	opacity: 1.0;
	-webkit-transition: none;
	transition: none;
}
.SumoGallery .Sbody a.sel {
	width: 100%;
	height: 100%;
	background: url(/img/top/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: 96%;
	max-height: 96%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sbody {
		/* bottom: 39px; */
		bottom: 0;
	}
}

/* タイトルエリア */
.SumoGallery .Sheader {
	background: #444;
	height: auto; /* jQueryで取得 */
	position: relative;
}
.SumoGallery .Sheader p {
	font-family: "メイリオ","Meiryo","ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",Osaka,"ＭＳ Ｐゴシック","MS PGothic",Sans-Serif;
	color: #f0f0f0;
	font-size: 14px;
	font-weight: normal;
	line-height: 16px;
	display: table;
	margin: auto;
	padding: 11px 36px 11px 11px;
	opacity: 0.8;
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sheader p {
		font-size: 12px;
		margin: 0;
	}
}

/* Closeボタン */
.SumoGallery .Sheader a {
	width: 38px;
	height: 38px;
	font-family: FontAwesome;
	color: #f0f0f0;
	font-size: 25px;
	line-height: normal;
	text-align: center;
	display: block;
	position: absolute;
	top: 50%;
	right: 0;
	-webkit-transform: translate(0, -50%);
	transform: translate(0, -50%);
	z-index: 15;
	cursor: pointer;
}
.SumoGallery .Sheader a span {
	width: 100%;
	height: 100%;
	display: block;
}
.SumoGallery .Sheader a span:after {
	content: "\f00d";
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.SumoGallery .Sheader a:hover {
	color: #ccc;
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sheader a {
		width: 36px;
		height: 36px;
		font-size: 23px;
		line-height: 38px;
	}
	.SumoGallery .Sheader a:hover {
		color: #f0f0f0;
	}
}

/* Prev、Nextボタン */
.SumoGallery .Sarrow {
	width: 45px;
	height: 50px;
	font-family: FontAwesome;
	color: rgba(255, 255, 255, 1);
	font-size: 25px;
	text-align: center;
	line-height: normal;
	background: rgba(0, 0, 0, 0.75);
	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 {
	display: block;
	left: 0;
}
.SumoGallery .Sarrow.r {
	display: block;
	left: auto;
	right: 0;
}
.SumoGallery .Sarrow span {
	width: 100%;
	height: 100%;
	display: block;
}
.SumoGallery .Sarrow.l span:after {
	content: "\f053";
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin-left: -3px;
}
.SumoGallery .Sarrow.r span:after {
	content: "\f054";
	position: absolute;
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	margin-left: 3px;
}
.SumoGallery .Sarrow:hover {
	color: rgba(255, 255, 255, 0.8);
}
.SumoGallery .Sarrow.last-item {
	color: rgba(255, 255, 255, 0.5);
	background: rgba(0, 0, 0, 0.25);
	pointer-events: none;
	cursor: default;
}
@media screen and (max-width: 719px) {
	.SumoGallery .Sarrow {
		width: 35px;
		height: 40px;
		font-size: 20px;
		font-weight: normal;
		line-height: 40px;
	}
	.SumoGallery .Sarrow:hover {
		color: rgba(255, 255, 255, 1);
	}
}

/* サムネイルエリア */
.SumoGallery .toggle-thumbs {
	width: 50px;
	height: 20px;
	font-family: FontAwesome;
	background: #444;
	color: #f0f0f0;
	font-size: 12px;
	line-height: normal;
	border-radius: 3px;
	position: absolute;
	right: 10px;
	bottom: 70px;
	padding: 0 5px;
	z-index: 10;
}
.SumoGallery .toggle-thumbs span {
	width: 100%;
	height: 100%;
	display: block;
}
.SumoGallery .toggle-thumbs span:after {
	content: "\f078";
	position: absolute;
	left: 50%;
	top: 3px;
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
.SumoGallery .toggle-thumbs:hover {
	color: #ccc;
}
.SumoGallery .Sfooter {
	height: 50px;
	background: #444;
	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;
}
.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;
	opacity: 0.5;
}
.SumoGallery ul.Sthumbnails li a:hover {
	opacity: 1.0;
}
.SumoGallery ul.Sthumbnails li.sel a {
	opacity: 1.0;
}
.SumoGallery.nothumbs .toggle-thumbs span:after {
	content: "\f077";
	position: absolute;
	left: 50%;
	top: 3px;
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0);
}
.SumoGallery.nothumbs .Sfooter{
	bottom: -74px;
}
.SumoGallery.nothumbs .Sbody {
	bottom: 0;
}
@media screen and (max-width: 719px) {
	.SumoGallery .toggle-thumbs {
		bottom: 35px;
	}
	.SumoGallery .toggle-thumbs:hover {
		color: #f0f0f0;
	}
	.SumoGallery .Sfooter {
		height: 15px;
		display: none;
	}
	.SumoGallery ul.Sthumbnails li {
		margin: 0 5px;
	}
	.SumoGallery ul.Sthumbnails li a {
		width: 12px;
		height: 12px;
		background-color: #ccc;
		background-position: -9999px;
		-webkit-border-radius: 100%;
		border-radius: 100%;
		display: block;
		position: relative;
	}
	.SumoGallery ul.Sthumbnails li a:hover {
		opacity: 0.5;
	}
	.SumoGallery.nothumbs .Sfooter{
		bottom: -39px;
	}
}

/* カウンター */
.SumoGallery .SimgCount {
	height: 74px;
	color: #fff;
	line-height: 74px;
	position: absolute;
	right: 10px;
	bottom: 0;
	display: none;
}
@media screen and (max-width: 719px) {
	.SumoGallery .SimgCount {
		height: 39px;
		line-height: 39px;
	}
}

/* Overflow Hidden
---------------------------------------------- */
.lock {
	overflow: hidden;
}