@CHARSET "UTF-8";


body {
	font-family:"游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial;
	background:#000;
	margin:0;
	padding:0;
}

#page {
	margin-left:auto;
	margin-right:auto;
}

#navigation {
	width:100%;
	height:20px;
	float:left;
}

.btn_close {
	text-indent:-9999px;
	background-image:url(img/close.png);
	background-repeat:no-repeat;
	float:right;
	width:60px;
	height:20px;
}

.btn_pre {
	text-indent:-9999px;
	background-image:url(img/previous.png);
	background-repeat:no-repeat;
	float:right;
	width:60px;
	height:20px;
}

.btn_next {
	text-indent:-9999px;
	background-image:url(img/next.png);
	background-repeat:no-repeat;
	float:right;
	width:60px;
	height:20px;
}

#thumbs {
	white-space: nowrap;
	overflow-x:scroll;
	overflow-y:hidden;
	border:#999 1px solid;
	display:flex;
}

#thumbs img, #largeImage {
	border: 1px solid gray;
	padding: 4px;
	background-color:#000;
	cursor: pointer;
}

#thumbs img {
	float: left;
	margin-right: 6px;
}

#thumbs img:hover {
	float: left;
	margin-right: 6px;
	opacity:0.7;
}

#description {
	background: black;
	color: white;
	position: absolute;
	bottom:0;
	padding: 10px 20px;
	width: 100%;
	opacity:0.7;
}

#panel {
	position: relative;
}


h1, h2 {
	color: #FFF;
	margin-left:20px;
}

h2 { font-size: 20px; line-height: 30px; }
h2 a { background-color: #F5FF4C; color: #333; text-decoration: none; padding: 5px;}
h2 a:hover { background-color: #d5dd42; }



/* ********* For PC ********* */
@media (min-width: 770px) {

body {
	color: #63665F;
	background:transparent;
}

#navigation { display:none; }

h1, h2 { font-size: 130%; }

#page {
	width: 810px;
	background-color:transparent;
}

#thumbs {
	width:809px;
	height:140px;
}

#panel { width:800px; }

#panel img { width:800px; }

}

@media (max-width: 769px) {

body {
	color: #FFF;
	background:#000;
}

#navigation { display:block; }

h1, h2 { font-size: 100%; }

#page {
	width: 90%;
	margin-left:auto;
	margin-right:auto;
}

#thumbs {
	width:90%;
	height:120px;
}

#panel { width:90%; }

#panel img { width:90%; }

}

@media (min-width: 481px) and (max-width: 767px) {

body {
	color: #FFF;
	background:#000;
}

#navigation { display:block; }

h1, h2 { font-size: 100%; }

#page {
	width: 90%;
	margin-left:auto;
	margin-right:auto;
}

#thumbs {
	width:90%;
	height:120px;
}

#panel { width:90%; }

#panel img { width:90%; }

}

@media (max-width: 480px) {

body {
	color: #FFF;
	background:#000;
}

#navigation { display:block; }

h1, h2 { font-size: 100%; }

#page {
	width: 90%;
	margin-left:auto;
	margin-right:auto;
}

#thumbs {
	width:90%;
	height:120px;
}

#panel { width:90%; }

#panel img { width:90%; }

}

@media (max-width: 320px) {

body {
	color: #FFF;
	background:#000;
}

#navigation { display:block; }

h1, h2 { font-size: 100%; }

#page {
	width: 90%;
	margin-left:auto;
	margin-right:auto;
}

#thumbs {
	width:90%;
	height:120px;
}

#panel { width:90%; }

#panel img { width:90%; }
}

/* Retina Display */

@media only screen and (-webkit-min-device-pixel-ratio: 2),
 	only screen and (-moz-min-device-pixel-ratio: 2),
  	only screen and (-o-min-device-pixel-ratio: 2/1),
  	only screen and (min-device-pixel-ratio: 2),
  	only screen and (min-resolution: 2dppx) {
		
body {
	background-color:#000;
	color:#FFF;
}

#navigation {
	display:block;
	height:40px;
	margin-top:40px;
}

.btn_close {
	background-image:url(img/close_@2x.png);
	background-size: 120px 40px;
	width:120px;
	height:40px;
}

.btn_pre {
	background-image:url(img/previous_@2x.png);
	background-size: 120px 40px;
	width:120px;
	height:40px;
}

.btn_next {
	background-image:url(img/next_@2x.png);
	background-size: 120px 40px;
	width:120px;
	height:40px;
}

#thumbs {
	white-space: nowrap;
	overflow-x:scroll;
	overflow-y:hidden;
	border:#999 1px solid;
	display:flex;
	
	-webkit-scrollbar-thumb:horizontal;
	-webkit-scrollbar:horizontal;
	-webkit-overflow-scrolling: touch;
}

}