@charset "utf-8";


/* -----photo garally css ------- */
/*ギャラリー全体のコンテナー*/
#stageg {
	position: static;
	width: 404px;
	height: 391px;
	margin: 0 auto;
	margin-top: 5px;
	margin-left: 5px;
	/* background-color: red; */
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
}
#stageg::-webkit-scrollbar {
	display: none;
	height: 0 !important;
}

#frameg {
	/*position: relative;
	position: static;*/
	position:absolute;
	top:0;
	 width: 4444px;
	height: 351px;
	margin: 0 auto;
	/* background-color: blue; */
}

#frameg>*, #stageg {
	-webkit-transform: translateZ(0px);
}
/*初期画面*/
#screen1 #title1, .comments {
 	display: none;
}
#screen1 {
	/*position: absolute;*/
	left: 0px;
	top: 0px;
	width: 404px;
	height: 304px;
	/* background-color: #CCC; */
}
/*初期画面上の文字*/
#screen1 #s_title1 {
 	position: absolute;
	top: 90px;
	left: 80px;
	color: white;
	opacity: 1;
	z-index: 5500;
}
#screen1 p #s_title1  {
	font-size: 18px;
	z-index: 5500;
}

/*初期画面上のコメント文字*/
#screen1 span#come p {
	left: 70px;
	margin-top: 0px;
	margin-left: 10px;
	padding: 0;
	line-height: 1em;
	z-index: 5500;
}
#screen1 img {
	/* left:50px; */
	margin-bottom: 0;
	padding: 0;
	width: 404px;
	height: 304px;
	border-radius: 4px;
	z-index: 5000;
}
#mask {
	display: block;
	position:absolute;
	width: 404px;
	height: 304px;
	top: 0;
	left: 0;
	background-color: black;
	opacity: 0.4;
	border-radius: 4px;
	z-index: 5100;
}
#dammy {
	display: none;
}


/*ラジオボタンを非表示に*/
#r1, #r2, #r3, #r4, #r5, #r6, #r7, #r8, #r9, #r10 {
	display: none;
}
/*表示写真用divを画面下部に125px間隔でサムネイルとして一列に並べる*/
.s_photogs {
	/*position:absolute;
	position: relative;
	position: static;*/
	position:relative;
	top: 0;
	margin: 0;
	padding: 0;
	float: left;
	width: 404px;
	background-color: white;
	-webkit-overflow-scrolling: touch;
}
/* #screen1, #photog1,#photog2,#photog3,#photog4,#photog5,#photog6,#photog7,#photog8,#photog9,#photog10 */
#ppc {
	clear: both;
}

/*写真をサムネイルサイズにし、transitionをセット*/
#photog1 img,#photog2 img,#photog3 img,#photog4 img,#photog5 img,#photog6 img,#photog7 img,#photog8 img,#photog9 img,#photog10 img, #screen1 img {
	width: 404px;
	height: 304px;
	cursor: pointer;
	top: 0;
	left: 0;
	margin-bottom: 0;
	padding: 0;
	background: none;
	vertical-align:bottom; /* 画像の下に余白が出ないように */
	border-radius: 4px;
}
/* 写真の下コメント*/
.s_comments {
	/*position:absolute;*/
	display: block;
	/*top: 616px;*/
	margin-top: 0;
	line-height: 1em;
	opacity: 1;
	left: 2em;
	width: 372px;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #666;
	color: #eee;
	text-align: left;
	padding: 5px;
	padding-left: 15px;
	padding-right: 15px;
}
