@charset "UTF-8";
@import "../../common/css/common.sp.css";

/* ---------------------------------------------------------
	CSS Document gallery
--------------------------------------------------------- */

#gallery {
	margin: 0 3vw 50px 5vw;
}

#gallery h2 {
	height: 60px;
	margin-bottom: 20px;
	background: #004c7c;
	background-size: 5px 5px;
	background-color: #C0BEB4;
	background-image: -webkit-gradient(linear, 0 0, 0 100%, color-stop(0.5, #C6C4BA), color-stop(0.5, transparent), to(transparent));
	background-image: -moz-linear-gradient(#C6C4BA 50%, transparent 50%, transparent);
	background-image: -o-linear-gradient(#C6C4BA 50%, transparent 50%, transparent);
	background-image: linear-gradient(#c6c4ba 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0));
	font-weight: normal;
	font-size: 22px;
	line-height: 60px;
	letter-spacing: 2px;
}

#gallery .section {
	margin-top: 30px;
	font-size: 0;
}

#gallery h3 {
	height: 45px;
	margin-right: 2vw;
	margin-bottom: 15px;
	border-bottom: dotted 4px #c6c4ba;
	font-weight: normal;
	font-size: 22px;
	line-height: 1.5;
	letter-spacing: 2px;
}

#gallery ul {
	column-count: 2;
	column-gap: 0;
}

#gallery ul:after {
	display: none;
}

#gallery li {
	margin-right: 2vw;
	margin-bottom: 2vw;
	-webkit-column-break-inside: avoid;
	page-break-inside: avoid;
	break-inside: avoid;
}

/*
#gallery li.sp_big {
	width: 100%;
}

#gallery ul {
	text-align: left;
}

#gallery li {
	display: inline-block;
	vertical-align: top;
	width: 32%;
	margin-right: 2%;
	margin-bottom: 6px;
}

#gallery li:nth-child(3n) {
	margin-right: 0;
}

#gallery li a {
	display: block;
	height: 0;
	overflow: hidden;
	padding-bottom: 100%;
	background: #222;
	position: relative;
}

#gallery li img {
	max-height: 100%;
	-webkit-transform: translateY(-50%) translateX(-50%);
	transform: translateY(-50%) translateX(-50%);
	opacity: 0;
	-webkit-transition: opacity 0.6s;
	transition: opacity 0.6s;
	position: absolute;
	top: 50%;
	left: 50%;
}
*/