@charset "UTF-8";
/* CSS Document */
/*===メイン==============================*/
/* clearfix(削除不可) */
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
.clearfix::after {
	content: "";
	display: block;
	width: 33%;
}
/* for macIE \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
#gallery_list {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: -20px;
}
#gallery_list li {
	width:  calc(100% / 4 - 20px);
	margin: 0 1% 20px;
	font-size: 0;
}
#gallery_list li a {
	display: block;
	position: relative;
	overflow: hidden;
	min-height: 0%;
	width: 100%;
}
#gallery_list li a::before {
	content: '';
	display: block;
	padding-top: 75%;
}
#gallery_list li a img {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 15px;
}
#gallery_list li p.detail_text {
	padding: 3px;
	font-size: 1rem;
	margin-top: 5px;
	position: relative;
	padding-left: 15px;
}
.detail_text:before {
	content: '';
	position: absolute;
	display: block;
	width: 8px;
	height: 1em;
	background: linear-gradient(to bottom, #f6e87d 0%, #f6e87d 50%, #70b4db 50%, #70b4db 100%);
	top: 0.3em;
	left: 0;
	transform: translateY(50%);
}
#gallery_list li a:hover img {
	transform: translate(-50%, -50%) scale(1.1);
}
@media (max-width: 750px) {
	#gallery_list {
		justify-content: space-between;
	}
	#gallery_list li {
		width: 49%;
		margin: 0 0 20px;
	}
}
@media (max-width: 450px) {
	#gallery_list li {
		margin: 0 0 10px;
	}
}
/*---------------------------------
	       /Base CSS 
---------------------------------*/
/*---------------------------------
	      Pager style
---------------------------------*/
.pager_link {
	text-align: right;
	padding: 10px;
}
/*ページャーボタン*/
.pager_link a {
	border: 1px solid #aaa;
	border-radius: 5px 5px 5px 5px;
	color: #333;
	font-size: 12px;
	padding: 3px 7px 2px;
	text-decoration: none;
	margin: 0 1px;
}
/*現在のページ、オーバーボタン*/
.pager_link a.current, .pager_link a:hover {
	background: #999;
	color: #FFFFFF;
}
.overPagerPattern {
	padding: 0 2px;
}
/*---------------------------------
	      /Pager style
---------------------------------*/