@charset "utf-8";
/*-----------------------------------------------*
	photo.css
 *-----------------------------------------------*/

#headline
{
	margin: 0;
}

#refine
{
	position: relative;
	margin: 0 0 0 20px;
	display: none;
}

#photo-base #refine table
{
	margin: 0;
	border-color: #DD9;
}
#photo-base #refine table th
{
	margin: 0;
	background-color: #BB7;
}

#refine caption
{
	text-align: left;
	padding: 5px 20px;
}

#refine label
{
	margin-right: 0.5em;
}
#refine label:hover
{
	color: #FA0;
}

#photo-base
{
}

#photolist{
	padding: 0 20px;
	color:#555;
	overflow: auto;
}

#photo-base:fullscreen { background: #050; width: 100%; height: 100%; }
#photo-base:fullscreen #refine-base{ position: absolute; width: 100%; background: rgba(0,0,0,0.5);}
#photo-base:fullscreen #refine{ width: 100%; }
#photo-base:fullscreen #photolist{ margin-top: 80px; height: calc(100% - 80px);}

#photo-base:-webkit-full-screen { background: #050; width: 100%; height: 100%; }
#photo-base:-webkit-full-screen #refine-base{ position: absolute; width: 100%; background: rgba(0,0,0,0.5);}
#photo-base:-webkit-full-screen #refine{ width: 100%; }
#photo-base:-webkit-full-screen #photolist{ margin-top: 80px; height: calc(100% - 80px);}

#photo-base:-moz-full-screen { background: #050; width: 100%; height: 100%; }
#photo-base:-moz-full-screen #refine-base{ position: absolute; width: 100%; background: rgba(0,0,0,0.5);}
#photo-base:-moz-full-screen #refine{ width: 100%; }
#photo-base:-moz-full-screen #photolist{ margin-top: 80px; height: calc(100% - 80px);}

#photo-base:-ms-fullscreen { background: #050; width: 100%; height: 100%; }
#photo-base:-ms-fullscreen #refine-base{ position: absolute; width: 100%; background: rgba(0,0,0,0.5);}
#photo-base:-ms-fullscreen #refine{ width: 100%; }
#photo-base:-ms-fullscreen #photolist{ margin-top: 80px; height: calc(100% - 80px);}


#photo-base .frame
{
	width: 120px;
	height: 120px;
	margin: 5px 0px;
	padding: 10px;
	background: #DDC;

	display:-webkit-box;
	display:-moz-box;
	display:-ms-flexbox;
	display:-webkit-flex;
	display:flex;

	-webkit-box-pack:center;
	-moz-box-pack:center;
	-ms-flex-pack:center;
	-webkit-justify-content:center;
	justify-content:center;

	-webkit-box-align:center;
	-moz-box-align:center;
	-ms-flex-align:center;
	-webkit-align-items:center;
	align-items:center;
}

#photo-base section
{
	overflow: hidden;
}

#photo-base .photo
{
	float: left;
	display: block;
	width: 140px;
	margin: 5px;
	padding: 5px;
	text-align: center;
	border: solid 1px #EEE;
	font-size: small;
	text-decoration: none;
	overflow: hidden;
	background: #FFF;
}

#photo-base .photo h4
{
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

#photo-base .photo dt
{
	display: none;
}

#photo-base .photo .info
{
	display: none;
}

#photo-base .photo:hover .frame
{
	background: #EED;
}

/* 写真表示 */
#js-photo
{
	position: fixed;
	z-index: 111;
	top: 0;
	left: 0;
	background: rgba(0,0,0,0.9);
	text-align: center;
}

#js-photo .title
{
	padding: 20px 0;
	font-size : 200%;
	color : #FFF;
}

#js-photo .picture
{
	border: solid 10px #FFF;
}

#js-photo .info
{
	position: absolute;
	bottom: 0;
	margin: 0 100px;
	padding: 10px 40px;
	color: #FFF;
	background: rgba(0,0,0,0.8);
	line-height: 1.2;
	width: calc(100% - 80px - 200px);
}
#js-photo .info #info_mark
{
	display: block;
	position: relative;
	left: -32px;
}

#js-photo .info .title
{
	padding: 5px 0;
	font-size: x-large;
	background: rgba(255,255,255,0.2);
}

#js-photo .info dt
{
	float: left;
	clear: left;
	margin-bottom: 2px;
	padding: 5px;
	width: 10em;
	color: #FF5;
	text-align: center;
	background: rgba(255,255,255,0.2);
}
#js-photo .info .category
{
	color: #888;
}

#js-photo .info dd
{
	margin: 2px 0;
	padding: 5px;
	margin-left: 12em;
	text-align: left;
}

#js-prev
,#js-next
{
	position: absolute;
	box-sizing: border-box;
	margin: 50px 0;
	padding: 0;
	top: 0;
	width: 20%;
	height: calc(100% - 50px * 2);
	font-size: 200px;
	color: #FFF;
	background: rgba(0, 0, 0, 1);
	opacity: 0;
	transition: opacity 500ms;
	cursor: default;
}

#js-prev
{
	left: 0;
	padding-right: 50px;
	text-align: right;
}

#js-next
{
	right: 0;
	padding-left: 50px;
	text-align: left;
}

#js-prev:hover
,#js-next:hover
{
	opacity: 0.5;
}

#js-close
{
	position: absolute;
	top: 20px;
	right: 20px;
	width: 20px;
	height: 20px;
	border: solid 4px #555;
}
#js-close:before
,#js-close:after
{
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	width: 20px;
	border-top: solid 3px;
}
#js-close:before
{
	transform: rotate(45deg);
}
#js-close:after
{
	transform: rotate(-45deg);
}
#js-close:hover
,#js-close:hover:before
,#js-close:hover:after
{
	border-color: #FFF;
}

#js-refine-title
{
	display: inline-block;
	text-align: left;
	padding: 5px 20px;
	color: #FFF;
	background: #DD9;
}

