@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: 23%;
	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%);
}
#gallery_list li p.detail_text {
	padding: 3px 3px 5px;
	font-size: 0.93rem;
	margin-top: 0;
	border-bottom: 1px solid #ddd;
	margin-bottom: 5px;
}
#gallery_list li p.detail_text:first-letter {
	color: #0661C9;
}
#gallery_list li a:hover img {
	transform: translate(-50%, -50%) scale(1.1);
}
#gallery_list li .flex {
	display: flex;
	justify-content: space-between;
	width: 100% !important;
	border-bottom: 1px solid #ddd;
}
#gallery_list li .flex .detail_text {
	font-size: 0.85rem;
	border-bottom: none;
	padding: 0 3px;
}
#gallery_list li .flex .detail_text:first-letter {
	color: #333;
}
@media (max-width: 815px) {
	#gallery_list li .flex .detail_text {
		font-size: 0.75rem;
	}
}
@media (max-width: 750px) {
	#gallery_list {
		justify-content: space-between;
	}
	#gallery_list li {
		width: 48.5%;
		margin: 0 0 20px;
	}
}
@media (max-width: 450px) {
	#gallery_list li {
		margin: 0 0 10px;
	}
	#gallery_list li p.detail_text {
		font-size: 0.8rem;
	}
}
@media (max-width: 350px) {
	#gallery_list li .flex .detail_text {
		font-size: 0.7rem;
	}
}
@media (max-width: 330px) {
	#gallery_list li .flex .detail_text {
		font-size: 0.65rem;
	}
}
/*---------------------------------
	       /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
---------------------------------*/