/* photogallery
------------------------------------------------------------------------------*/

.gallery-list {
	list-style: none;
	margin: 0;
	overflow: hidden;
	padding: 0;
}

.gallery-list li {
	background: #f7f7f7;
	float: left;
	margin: 1%;
	padding: 1%;
	width: 29.3%;
}

.gallery-list .fit-img {
	height: 200px;
	margin: 4px;
}

.gallery-list .f {
	display: block;
}


@media screen and (max-width: 767px) {
	.gallery-list li {
		width: 46%;
	}

	.gallery-list .fit-img {
		height: 120px;
	}
}


/*
 colorbox関連の 上書き用CSS
*/
#cboxOverlay {
	background: #000;
}

#cboxLoadedContent {
	background: #fff;
}

#cboxLoadedContent {
	padding: 0;
	overflow: auto;
	-webkit-box-shadow: 0px 1px 10px #000;
	box-shadow: 0px 1px 10px #000;
}

#cboxContent {
}

#cboxPrevious, #cboxNext, #cboxSlideshow, #cboxCurrent, #cboxClose {
	position: absolute;
	border: 0;
	background: none;
	color: #fff;
}

#colorbox, #cboxOverlay, #cboxWrapper {
	overflow: visible;
}

#cboxTitle {
	bottom: -8px;
	color: #fff;
	position: relative;
	top: unset;
}

#cboxPrevious,
#cboxNext {
	top: calc(50% - 40px);
	border-radius: 2px;
	width: 40px;
	height: 80px;
	color: #fff;
}

#cboxPrevious:hover,
#cboxNext:hover {
	background: rgba(0, 0, 0, .6);
}

#cboxPrevious {
	left: calc(0% - 45px);
}

#cboxNext {
	left: calc((100% - 40px) + 45px);
}

#cboxPrevious i,
#cboxNext i {
	font-size: 24px;
}

#cboxCurrent {
	top: -30px;
	padding: 2px 0;
	left: 0;
	background: none;
	border: none;
	color: #fff;
	font-size: 15px;
}

#cboxClose {
	top: -45px;
	right: 0;
	width: 40px;
	height: 40px;
	border-radius: 2px;
	font-size: 38px;
	line-height: 1;
	text-align: center;
	text-indent: 0;
}

#cboxClose:hover {
	background: rgba(0, 0, 0, .6);
}


@media screen and (max-width: 767px) {
  /*--- 表示領域が767px以下の場合に適用するスタイル ---*/
	#cboxCurrent {
		top: calc(1.8vmin * (-2.5));
		line-height: 1;
		padding: 0;
		font-size: 1.8vmin;
	}

	#cboxPrevious,
	#cboxNext {
		top: calc(50% - 30px);
		width: 30px;
		height: 60px;
	}

	#cboxPrevious i,
	#cboxNext i {
		font-size: 20px;
	}

	#cboxPrevious {
		left: calc(0% - 30px);
	}

	#cboxNext {
		left: calc((100% - 30px) + 30px);
	}

	#cboxClose {
		top: -41px;
		width: 36px;
		height: 36px;
		font-size: 34px;
	}

	#cboxTitle {
		/* bottom: -8px; */
		font-size: min(3.2vmin, 14px);
	}
}
