@charset "utf-8";


#main{
	width:959px;
	height:288px;
	margin:0 auto;
	border:#fff thin solid;
	padding:20px;
}
h2{
	font-size:140%;
	color:#fff;
	margin:0 0 20px 0;
}
#main .a01{
	width:313px;
	height:198px;
	float:left;
}
#main .a02{
	width:313px;
	height:198px;
	margin:0 10px;
	float:left;
}





.photo-show { 
    height: 500px; /*表示したい大きさ*/
    margin: auto; /*縦余白30pxは任意*/
    position: relative;
    overflow:hidden;
    width:100%;
}

.photo-show img { 
    animation: show 24s infinite;/*全体の秒数*/
    -webkit-animation: show 24s infinite;
    height: auto;
    opacity: 0;
    position: absolute; /*画像を全て重ねる*/
    left:50%;
    width:1300px;
    height:500px;
    margin-left:-650px;
}

/*アニメーション*/

@keyframes show {
    0% {opacity:0}
    5% {opacity:1}
    10% {opacity:1}
    20% {opacity:0}
 }

@-webkit-keyframes show {
    0% {opacity:0}
    5% {opacity:1}
    10% {opacity:1}
    20% {opacity:0}
}

/*各画像のアニメーションの開始時間をずらす*/

.photo-show img:nth-of-type(1) {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}

.photo-show img:nth-of-type(2) {
    animation-delay: 6s;
    -webkit-animation-delay: 6s;
}

.photo-show img:nth-of-type(3) {
    animation-delay: 12s;
    -webkit-animation-delay: 12s;
}

.photo-show img:nth-of-type(4) {
    animation-delay: 18s;
    -webkit-animation-delay: 18s;
}