/*指定した幅、高さだけ表示*/
#mask {
	width: 320px;
         margin: 0 auto;
	height: 120px;
	overflow: hidden;/*指定した幅だけ見える*/
	position: relative;
}


ul#photo {
	top: 0;
	left: 0;
	width: 1280px;/*アニメーションさせる画像の合計幅*/
	height: 120px;/*写真縦*/
	position: absolute;
}

/*写真を横一列に配置*/
ul#photo li {
	width: 320px;
	height: 120px;
	float: left;
	list-style: none;
	
}

/*アニメーション定義*/
@-webkit-keyframes Slide {
	0% {left: 0;}/*0で始まり・・・*/
	20% {left: 0;}
	25% {left: -320px;}/*20秒の25％、つまり5秒進んだら-239pxずらす*/

	45% {left: -320px;}
	50% {left: -640px;}

	70% {left: -640px;}
	75% {left: -960px;}

	95% {left: -960px;}
	100% {left: 0;}/*20秒の100％、つまり20秒になったら0、初期の場所へ。*/
}
ul#photo {
	-webkit-animation-name: Slide;/*定義したアニメーションの呼び出し*/
	-webkit-animation-duration: 20s;/*アニメーションは『合計』で何秒か*/
	-webkit-animation-iteration-count:infinite;/*『infinite』無制限に繰り替えす*/
}

/* ■■■■ topbar ■■■■ */
.topbar {
  position: relative;
  border-bottom: 1px solid #300303;
  border-top: 1px solid #1c1717;
  width : auto;
  height: 42px;
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7db9e8), color-stop(50%,#207cca), color-stop(51%,#2989D8), color-stop(100%,#1E5799));
}
.topbar2 {
  position: relative;
  border-bottom: 1px solid #300303;
  border-top: 1px solid #1c1717;
  width : auto;
  padding :5px;
  background: -moz-linear-gradient(top,#1e5799 0%,#7db9e8 50%,#1e5799);
  background: -webkit-gradient(linear, left top, left bottom,from(#1e5799),color-stop(0.50,#7db9e8),to(#1e5799));
}

/*

h2 {
  position: absolute;
  margin-bottom: 10px;
  margin-left: 5px;
  width: auto;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  line-height: 42px;
  text-align: left;
  text-shadow: 0 1px 1px rgba(0,0,0,3);
}

*/



.button_r {
  display: block;
  position: absolute;
  top: 6px;
  right: 5px;
  width: 100px;
  height: 28px;
  line-height: 28px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7db9e8), color-stop(50%,#207cca), color-stop(51%,#2989D8), color-stop(100%,#1E5799));
  border-color: #300303 #300303 #300303;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px 1px 0;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0px;
  text-decoration: none;
}

.button_l {
  display: block;
  position: absolute;
  top: 6px;
  left: 5px;
  width: 100px;
  height: 28px;
  line-height: 28px;
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7db9e8), color-stop(50%,#207cca), color-stop(51%,#2989D8), color-stop(100%,#1E5799));
  border-color: #300303 #300303 #300303;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px 1px 0;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0px;
  text-decoration: none;
}

.button_cl {
  display: block;
  position: absolute;
  top: 6px;
  left: 5px;
  width: 100px;
  height: 28px;
  line-height: 28px;
  background-color : #000000;
  border-color: #300303 #300303 #300303;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px 1px 0;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: rgba(0, 0, 0, 0.4) 0px -1px 0px;
  text-decoration: none;
}


/* ボタン下のハイライトの表現 */
.button:after {
  position: absolute;
  top: 0;
  left: 0;
  content: "";
  display: block;
  height: 100%;
  width: 100%;
  padding: 0 2px 1px 0;
  border-bottom: 1px solid #9aabc7;
  border-radius: 4px;
}