﻿<style type="text/css">
.sample {
    position: fixed;
    width: 800px;
    height: 300px;
    background: #000000;
    z-index: -1;
}
.sample li {
    position: absolute;
    width: 800px;
    height: 300px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    -webkit-animation: anime 60s linear 0s infinite ;
    animation: anime 60s linear 0s infinite ;
}
.sample li:nth-child(1) { 
    background-image: url(photo3.gif)   /* 背景画像を入力して下さい */
}
.sample li:nth-child(2) {
    background-image: url(photo4.gif);
    -webkit-animation-delay: 10s;
    animation-delay: 10s;
}
.sample li:nth-child(3) {
    background-image: url(photo2.gif);
    -webkit-animation-delay: 20s;
    animation-delay: 20s;
}
.sample li:nth-child(4) {
    background-image: url(photo1.gif);
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}
@-webkit-keyframes anime { 
    0% {
        -webkit-animation-timing-function: ease-in;
        opacity: 0;
    }
    10% {
        -webkit-transform: scale(1);
        opacity: 1;
    }
    40% {
        -webkit-transform: scale(1);
            -webkit-animation-timing-function: ease-out;
        opacity: 1;
    }
    50% {
        -webkit-transform: scale(1);
        opacity: 0;
    }
    100% { opacity: 0 }
}
@keyframes anime { 
    0% {
        animation-timing-function: ease-in;
        opacity: 0;
    }
    10% {
        transform: scale(1);
        opacity: 1;
    }
    40% {
        transform: scale(1);
            animation-timing-function: ease-out;
        opacity: 1;
    }
    50% {
        transform: scale(1);
        opacity: 0;
    }
    100% { opacity: 0 }
}
.coment {
 font-size:20px; 
 text-align:center;
 padding-top:220px;
 font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
 font-weight:700;
 color:#ffffff;
 text-shadow:2px 2px #000000;
}


</style>