/* CSS Document */

#detail{}
	#detail > time{
		display: block;
		color: #666;
		font-size: 1.4rem;
		font-weight: normal;
		text-align: right;
		}

#file{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	margin-top: 1em;
	}
	#file h3{
		margin: 0;
		font-size: 1.2em;
		}
	#file p{
		margin-top: 1em;
		line-height: 1.4em;
		}
	#file a{
		position: absolute;
		width: 100%;
		height: 100%;
		border: 1px solid #ccc;
		font-size: 0;
		}
		#file a:hover,
		#file a:active{
			border-color: #0068b6;
			}
#pagination {}
	#pagination [rel="prev"] {
		padding-right: 1em;
		}
	#pagination [rel="next"] {
		padding-left: 1em;
		}
	#pagination a {
		border-radius: 6px;
		}

.fr-view{
	overflow: hidden;
	}


.gallery{
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-ms-flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-flex-pack: center;
	-webkit-justify-content: center;
	justify-content: center;
	}
	.gallery img{
		border: 1px solid #eee;
		}
	.gallery a:hover img{
		-webkit-box-shadow: 1px 1px 7px rgba(0,0,0,0.14);
		-moz-box-shadow: 1px 1px 7px rgba(0,0,0,0.14);
		box-shadow: 1px 1px 7px rgba(0,0,0,0.14);
		transform: scale(1.005);
		-webkit-transform: scale(1.005);
		-o-transform: scale(1.005);
		-ms-transform: scale(1.005);
		-moz-transform: scale(1.005);
		-webkit-transition-duration: 350ms;
		-moz-transition-duration: 350ms;
		-o-transition-duration: 350ms;
		transition-duration: 350ms;
		border: 1px solid #fff;
		}

.file{}
	.file li{
		list-style: none;
		}


/* for mobile */
@media (max-width: 767px) {
/*767以下px*/
#detail{
	margin-top: 1em;
	}
#file{}
	#file > figure{
		width: 40%;
		}
	#file > div{
		width: 60%;
		padding: 1em;
		}
}
@media (max-width: 767px) and (orientation:portrait) {
/*767px以下 縦向き*/
}
@media (max-width: 767px) and (orientation:landscape) {
/*767px以下 横向き*/
}


/* for TabletPC */
@media (min-width: 768px) {
/*768px以上*/
#subject {
	padding: 3em 0 2em;
	}
	#subject h2 {
		margin: 0 auto;
		}
#detail{
	padding: 0;
	}
	#detail h3 {
		margin-top: 0;
		}
#file{}
	#file > figure{
		width: 20%;
		}
	#file > div{
		width: 80%;
		padding: 1em;
		}
.gallery{}
	.gallery figure{
		width: calc(33.33% - 1em);
		margin-left: 1.5em;
		}
		.gallery figure:nth-of-type(3n+1){
			margin-left: 0;
			}
		.gallery figure:nth-of-type(n+4){
			margin-top: 1.5em;
			}
		.gallery figure:nth-of-type(n+4):nth-of-type(3n+1):last-child{
			margin-right: auto;
			}
		.gallery figure:nth-of-type(n+4):nth-of-type(3n+2):last-child{
			margin-right: auto;
			}
.file{}
	.file li{
		padding: 0.5rem 0;
		}
}


/* for PC */
@media (min-width: 960px) {
/*960px以上*/
#file{}
	#file > div{
		padding: 1.5em;
		}
}


/* ie */
@media all and (-ms-high-contrast: none){}



