@charset 'utf-8';
/* CSS Document */
.top
{
	float:right;
	font-size:10px;
}


<!--スライド-->

#textarea{
	width:600px;
    margin-left:auto;
    margin-right:auto;
    }
		
.textarea{
	width:600px;
    margin-left:auto;
    margin-right:auto;
    }

.photo-show { 
 height: 630px; /*表示したい大きさ*/
    /*margin: 30px auto; /*縦余白は任意*/
    position: relative;
    width: 600px; /*表示したい大きさ、height と合わせる*/
}

/*各画像のアニメーションの合計秒数*/
.photo-show img { 
    animation: show 27s infinite;
    -webkit-animation: show 27s infinite;
    height: auto;
    max-width: 100%;
    opacity: 0;
    position: absolute; /*画像を全て重ねる*/
}

/*アニメーション*/

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

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

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

/*1枚目*/
.photo-show img:nth-of-type(1) {
    animation-delay: 0s;
    -webkit-animation-delay: 0s;
}
/*2枚目*/
.photo-show img:nth-of-type(2) {
    animation-delay: 9s;
    -webkit-animation-delay: 9s;
}
/*3枚目*/
.photo-show img:nth-of-type(3) {
    animation-delay: 15s;
    -webkit-animation-delay: 15s;
}
/*4枚目*/
.photo-show img:nth-of-type(4) {
    animation-delay: 22s;
    -webkit-animation-delay: 22s;
}


<!--スライド-->
