/* CSS Document */

#contents{}
	#contents section{
		position: relative;
		background: rgba(217,217,217,0.5);
		padding-bottom: 4em;
		}
		#contents section > *{
			width: 100%;
			}
	#contents h3{
		padding: 0.8em;
		background: #4c4948;
		color: #fff;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
		}
	#contents figure{
		margin: 0;
		}
		#contents figure a{
			display: block;
			}
	#contents .center{
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		}


/* for mobile */
@media (max-width: 767px) {
/*767px以下*/
#contents{}
	#contents section+section{
		margin-top: 2em;
		}
	#contents section div{
		padding: 0.8em;
		}
	#contents .thumb {
		padding-top: 33.33%;
		}
}
@media (max-width: 767px) and (orientation:portrait) {
/*767px以下 縦向き*/
}
@media (max-width: 767px) and (orientation:landscape) {
/*767px以下 横向き*/
}


/* for tablet */
@media (min-width: 768px) {
/*768px以上*/
#contents{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	}
	#contents section{
		margin: 0;
		}
		#contents section > *{
			order: 1;
			}
		#contents section div{
			padding: 1em;
			}
		#contents section figure{
			order: 0;
			}
	#contents .thumb{
		padding-top: 66.66%;
		}
}
@media (min-width: 768px) and (max-width: 991px) {
/*768px～991px*/
#contents{}
	#contents section{
		width: calc(33.33% - 1em);
		}
		#contents section:nth-child(3n+2){
			margin: 0 1.5em;
			}
		#contents section:nth-child(4n){
			margin-top: 1.5em;
			}
}
@media (max-width: 991px) {
/*991px以下*/
}


/* for PC */
@media (min-width: 992px) {
/*992px以上*/
#contents{}
	#contents section{
		width: calc(33.33% - 1.5em);
		}
		#contents section:nth-child(3n+2){
			margin: 0 2em;
			}
		#contents section:nth-child(4n){
			margin-top: 2em;
			}
}
@media (min-width: 992px) and (max-width: 1199px) {
/*992px～1200px*/
}
@media (min-width: 1200px) {
/*1200px以上*/
}


/* ie */
@media all and (-ms-high-contrast: none){}


