/* --- ナビゲーションバー --- */
div.nav {
width: 100%; /* ナビゲーションの幅 */
background: url(http://colpa.ciao.jp/vidimg/haike.png) repeat 0 100%; 
border-top: 1px #FFCD96 solid; /* 上境界線 */
border-bottom: 1px #FFCD96 solid; /* 下境界線 */
font-size: 100%;
}

/* --- メニューエリア --- */
div.nav ul.nl {
width: 800px; /* メニューの幅 */
margin: 0 auto; /* センターに配置 */
padding: 0;
background: url(http://colpa.ciao.jp/vidimg/haike.png) repeat 0 100%; 
border-right: 1px #FFCD96 solid; /* メニューの右境界線 */
list-style-type: none;
text-align: center;
}

/* --- メニュー項目 --- */
div.nav ul.nl li {
width: 20%; /* 項目の幅 */
float: left;
}

/* --- リンク --- */
div.nav ul.nl li a {
display: block;
position: relative; /* IE6用 */
padding: 8px 2px; /* リンクエリアのパディング（上下、左右） */
border-left: 1px #FFCD96 solid; /* リンクエリアの左境界線 */
text-decoration: none; /* テキストの下線（なし） */
}
/* --- ポイント時の設定 --- */
div.nav ul.nl li a:hover {
background-color: 6A493A; /* ポイント時の背景色 */
text-decoration: underline; /* テキストの下線（あり） */
}

/* --- clearfix --- */
.clearFix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearFix {
min-height: 1px;
}
a:link { color: FFCD96; }
a:visited { color: FFCD96; }
a:hover { color: FFCD96; }
a:active { color: FFCD96; }



/*ギャラリー全体のコンテナー*/
#stage {
	position: relative;
	background: url(http://colpa.ciao.jp/vidimg/haike2.png) repeat 0 100%; 
	max-width: 800px;
	margin: 0 auto;
	overflow:hidden;
}
/*全サムネイルのコンテナー animation設定*/
#thumbs {
	width: 200%;
	left: -45%;
	animation:recipro ease 12s infinite;
}
/*サムネイルのマウスオーバーでポインターを手のひら*/
#thumbs:hover {
	animation-play-state:paused;
}
#thumbs img {
	width:10%;
}
/*表示写真の初期配置（全部透明に）とtransition(fade)設定*/
.photo {
	position: absolute;
	left: 0;
	top: 0;
}
.photo img {
	width:100%;
	opacity: 0;
	-webkit-transition: opacity 1s ease;
	-moz-transition: opacity 1s ease;
	-o-transition: opacity 1s ease;
	transition: opacity 1s ease;
}
/* クリックされたサムネイルの対応写真を表示 */
.photo:target > img {
	opacity:1; 
}

/* サムネイル群の左右往復animation */
@keyframes recipro {
	0% { margin-left:0%; }
	50% { margin-left:-98%; }
	100% { margin-left:0%; }
}