@charset"utf-8";

.restaurant{
    text-align: center;
}


/*最初のスライド写真*/
.img-wrap {
    overflow: hidden;
    position: relative;
}
.img-wrap img{
    max-width: 100%;
    width: 100%;
    padding: 0 100px 100px 100px;
}
.img-wrap:before,
.img-wrap:after {
    animation: 2s cubic-bezier(.4, 0, .2, 1) forwards;
    background: #fff;
    content: '';
    left: 0;
    pointer-events: none;
    position: absolute;
    right: 0;
    z-index: 1;
}

.img-wrap:before {
    animation-name: img-wrap-before;
    top: 0;
    bottom: 50%;
}

.img-wrap:after {
    animation-name: img-wrap-after;
    top: 50%;
    bottom: 0;
}

@keyframes img-wrap-before {
    100% {
        transform: translateX(100%);
    }
}

@keyframes img-wrap-after {
    100% {
        transform: translateX(-100%);
    }
}




/*レストランイメージ写真スライド*/
/*スライド写真*/
.floor-fhoto{
    padding-top: 80px;
}
.slide {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    text-align: center;

}

.slide img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    height: auto;
    opacity: 0;
}

@keyframes thumb1 {
    0% {
        filter: grayscale(0%);
    }

    6% {
        filter: grayscale(100%);
    }

    10% {
        filter: grayscale(100%);
    }

    28% {
        filter: grayscale(100%);
    }

    37% {
        filter: grayscale(0%);
    }

    100% {
        filter: grayscale(0%);
    }
}

@keyframes thumb2 {
    0% {
        filter: grayscale(0%);
    }

    6% {
        filter: grayscale(100%);
    }

    10% {
        filter: grayscale(100%);
    }

    28% {
        filter: grayscale(100%);
    }

    37% {
        filter: grayscale(0%);
    }

    100% {
        filter: grayscale(0%);
    }
}

@keyframes thumb3 {
    0% {
        filter: grayscale(0%);
    }

    6% {
        filter: grayscale(100%);
    }

    10% {
        filter: grayscale(100%);
    }

    28% {
        filter: grayscale(100%);
    }

    37% {
        filter: grayscale(0%);
    }

    100% {
        filter: grayscale(0%);
    }
}

@keyframes thumb4 {
    0% {
        filter: grayscale(0%);
    }

    6% {
        filter: grayscale(100%);
    }

    10% {
        filter: grayscale(100%);
    }

    28% {
        filter: grayscale(100%);
    }

    37% {
        filter: grayscale(0%);
    }

    100% {
        filter: grayscale(0%);
    }
}

@keyframes thumb5 {
    0% {
        filter: grayscale(0%);
    }

    6% {
        filter: grayscale(100%);
    }

    10% {
        filter: grayscale(100%);
    }

    28% {
        filter: grayscale(100%);
    }

    37% {
        filter: grayscale(0%);
    }

    100% {
        filter: grayscale(0%);
    }
}

@keyframes slideshow1 {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    28% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideshow2 {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    28% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideshow3 {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    28% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}

@keyframes slideshow4 {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    28% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

@keyframes slideshow5 {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    28% {
        opacity: 1;
    }

    38% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }

}

.thumbnail {
    list-style: none;
    display: flex;
    padding: 0;
    margin-top: 0px;
    justify-content: center;
}

input[type="radio"] {
    display: none;
}

.thumbnail img {
    display: block;
    width: 100px;
    height: 50px;
    object-fit: cover;
    margin: 10px;
    cursor: pointer;
}

/*ページを開いたとき＆一つ目のサムネイルをクリックしたとき*/
#img1:checked ~ .thumbnail label[for="img1"] img {
    animation: thumb1 40s linear infinite both;
    animation-delay: 0s;
    cursor: auto;
}

#img1:checked ~ .thumbnail label[for="img2"] img {
    animation: thumb1 40s linear infinite both;
    animation-delay: 8s;
}

#img1:checked ~ .thumbnail label[for="img3"] img {
    animation: thumb1 40s linear infinite both;
    animation-delay: 16s;
}

#img1:checked ~ .thumbnail label[for="img4"] img {
    animation: thumb1 24s linear infinite both;
    animation-delay: 24s;
}

#img1:checked ~ .thumbnail label[for="img5"] img {
    animation: thumb1 40s linear infinite both;
    animation-delay: 32s;
}

#img1:checked ~ .slide img {
    animation: slideshow1 40s linear infinite;
}

#img1:checked ~ .slide img:nth-child(1) {
    animation-delay: 0s;
}

#img1:checked ~ .slide img:nth-child(2) {
    animation-delay: 8s;
}

#img1:checked ~ .slide img:nth-child(3) {
    animation-delay: 16s;
}

#img1:checked ~ .slide img:nth-child(4) {
    animation-delay: 24s;
}

#img1:checked ~ .slide img:nth-child(5) {
    animation-delay: 32s;
}

/*二つ目のサムネイルをクリックしたとき*/
#img2:checked ~ .thumbnail label[for="img1"] img {
    animation: thumb2 40s linear infinite both;
    animation-delay: 32s;
}

#img2:checked ~ .thumbnail label[for="img2"] img {
    animation: thumb2 40s linear infinite both;
    animation-delay: 0s;
    cursor: auto;
}

#img2:checked ~ .thumbnail label[for="img3"] img {
    animation: thumb2 40s linear infinite both;
    animation-delay: 8s;
}

#img2:checked ~ .thumbnail label[for="img4"] img {
    animation: thumb2 40s linear infinite both;
    animation-delay: 16s;
    cursor: auto;
}

#img2:checked ~ .thumbnail label[for="img5"] img {
    animation: thumb2 40s linear infinite both;
    animation-delay: 24s;
}

#img2:checked ~ .slide img {
    animation: slideshow2 40s linear infinite;
}


#img2:checked ~ .slide img:nth-child(1) {
    animation-delay: 32s;
}

#img2:checked ~ .slide img:nth-child(2) {
    animation-delay: 0s;
}

#img2:checked ~ .slide img:nth-child(3) {
    animation-delay: 8s;
}

#img2:checked ~ .slide img:nth-child(4) {
    animation-delay: 16s;
}

#img2:checked ~ .slide img:nth-child(5) {
    animation-delay: 24s;
}

/*二つ目のサムネイルをクリックしたとき*/
#img3:checked ~ .thumbnail label[for="img1"] img {
    animation: thumb3 40s linear infinite both;
    animation-delay: 24s;
}

#img3:checked ~ .thumbnail label[for="img2"] img {
    animation: thumb3 40s linear infinite both;
    animation-delay: 32s;
}

#img3:checked ~ .thumbnail label[for="img3"] img {
    animation: thumb3 40s linear infinite both;
    animation-delay: 0s;
    cursor: auto;
}

#img3:checked ~ .thumbnail label[for="img4"] img {
    animation: thumb2 40s linear infinite both;
    animation-delay: 8s;
    cursor: auto;
}

#img3:checked ~ .thumbnail label[for="img5"] img {
    animation: thumb2 40s linear infinite both;
    animation-delay: 16s;
}

#img3:checked ~ .slide img {
    animation: slideshow3 40s linear infinite;
    animation-delay: 8s;
}



#img3:checked ~ .slide img:nth-child(1) {
    animation-delay: 24s;
}

#img3:checked ~ .slide img:nth-child(2) {
    animation-delay: 32s;
}

#img3:checked ~ .slide img:nth-child(3) {
    animation-delay: 0s;
}

#img3:checked ~ .slide img:nth-child(4) {
    animation-delay: 8s;
}

#img3:checked ~ .slide img:nth-child(5) {
    animation-delay: 16s;
}



/*二つ目のサムネイルをクリックしたとき*/
#img4:checked ~ .thumbnail label[for="img1"] img {
    animation: thumb4 40s linear infinite both;
    animation-delay: 16s;
}

#img4:checked ~ .thumbnail label[for="img2"] img {
    animation: thumb4 40s linear infinite both;
    animation-delay: 24s;
    cursor: auto;
}

#img4:checked ~ .thumbnail label[for="img3"] img {
    animation: thumb4 40s linear infinite both;
    animation-delay: 32s;
}

#img4:checked ~ .thumbnail label[for="img4"] img {
    animation: thumb4 40s linear infinite both;
    animation-delay: 0s;
    cursor: auto;
}

#img4:checked ~ .thumbnail label[for="img5"] img {
    animation: thumb4 40s linear infinite both;
    animation-delay: 8s;
}

#img4:checked ~ .slide img {
    animation: slideshow4 40s linear infinite;
}



#img4:checked ~ .slide img:nth-child(1) {
    animation-delay: 16s;
}

#img4:checked ~ .slide img:nth-child(2) {
    animation-delay: 24s;
}

#img4:checked ~ .slide img:nth-child(3) {
    animation-delay: 32s;
}

#img4:checked ~ .slide img:nth-child(4) {
    animation-delay: 0s;
}

#img4:checked ~ .slide img:nth-child(5) {
    animation-delay: 8s;
}

/*二つ目のサムネイルをクリックしたとき*/
#img5:checked ~ .thumbnail label[for="img1"] img {
    animation: thumb5 40s linear infinite both;
    animation-delay: 8s;
}

#img5:checked ~ .thumbnail label[for="img2"] img {
    animation: thumb5 40s linear infinite both;
    animation-delay: 16s;
}

#img5:checked ~ .thumbnail label[for="img3"] img {
    animation: thumb5 40s linear infinite both;
    animation-delay: 24s;
    cursor: auto;
}

#img5:checked ~ .thumbnail label[for="img4"] img {
    animation: thumb5 40s linear infinite both;
    animation-delay: 32s;
}

#img5:checked ~ .thumbnail label[for="img5"] img {
    animation: thumb5 40s linear infinite both;
    animation-delay: 0s;
    cursor: auto;
}

#img5:checked ~ .slide img {
    animation: slideshow5 40s linear infinite;
    animation-delay: 8s;
}




#img5:checked ~ .slide img:nth-child(1) {
    animation-delay: 8s;
}

#img5:checked ~ .slide img:nth-child(2) {
    animation-delay: 16s;
}

#img5:checked ~ .slide img:nth-child(3) {
    animation-delay: 24s;
}

#img5:checked ~ .slide img:nth-child(4) {
    animation-delay: 32s;
}

#img5:checked ~ .slide img:nth-child(5) {
    animation-delay: 0s;
}

@media (max-width: 1024px) {

    /*タブレット用*/
    .slide img {
        width: 70%;
    }
}
@media (max-width: 670px) {
    .slide {
        height: 300px;
    }

    .slide img {
        width: 100%;
        max-width: 100%;
        height: auto;
        top: 40%;
    }
    .thumbnail img {
        width: 50px;
        height: 25px;
    }

    .course p{
        font-size: 15px;
    }
}


.course p{
    font-size: 15px;
}










.restaurant-main{
    margin-top: 180px;
    text-align: center;
    font-family: yu gothic;
}
.restaurant-main p{
    text-align: center;
    margin: 50px 0;
    font-family: yu gothic;
    font-size:30px;
}

.restaurant-text{
    font-family: yu gothic;
    padding: 50px 0;
    font-size: 15px;
    text-align: center;
}
.restaurant-name{
    font-family: yu gothic;
    color: darkred;
    font-size: 30px;
    text-align: center;
    padding: 30px 0 0 0;
    color: darkred;
    font-weight: lighter;
    text-align: center;
}
.jikan{
    font-family: yu gothic;
    color: darkred;
    font-size: 20px;
    text-align: center;
    padding-bottom: 30px;
}
.lunce-name{
    font-family: yu gothic;
    color: darkred;
    font-size: 55px;
    text-align: center;
    padding: 30px 0 0 0;
    color: dimgray;
    font-weight: lighter;
    text-align: center;
}

.lunce img{
    width: 500px;
    height: 500px;
    padding: 30px;
}
.lunce-text{
    font-family: yu gothic;
    font-size: 15px;
    text-align: center;
    
}

.lunce-text a{
    text-decoration: underline;
    font-size: 18px;
}
.lunce a{
    color: darkred;
}
.dinner a{
    color: darkred;
}
.dinner img{
    width: 500px;
    height: 500px;
    padding: 30px;
}








