﻿@charset "UTF-8";
        * {
            margin: 0;
            padding: 0;
        }

        .box {
            position: relative;
            width: 100%;
        }

        .box .text {
            position: absolute;
            width: 100%;
            text-align: center;
        }

        .text > span {
            position: relative;
            top: 100px;
            color: #000;
            opacity: 0;
            -webkit-animation: albumAnimation 9s linear infinite 0s;
            -moz-animation: albumAnimation 9s linear infinite 0s;
            -o-animation: albumAnimation 9s linear infinite 0s;
            -ms-animation: albumAnimation 9s linear infinite 0s;
            animation: albumAnimation 9s linear infinite 0s;
        }

        .text > span:nth-child(2) {
            -webkit-animation-delay: 3s;
            -moz-animation-delay: 3s;
            -o-animation-delay: 3s;
            -ms-animation-delay: 3s;
            animation-delay: 3s;
        }

                .text > span:nth-child(3) {
            -webkit-animation-delay: 6s;
            -moz-animation-delay: 6s;
            -o-animation-delay: 6s;
            -ms-animation-delay: 6s;
            animation-delay: 6s;
        }


        span.one {
            position: absolute;
            z-index: 1;
            font-size: 100px;
        }

        span.two {
            position: absolute;
            z-index: 1;
            font-size: 100px;
        }

        span.three {
            position: absolute;
            z-index: 1;
            font-size: 100px;
        }


        .sample-box {
             position: relative;
        }

        .text {
             width: 50px;
             height: 50px;
             display: flex;
             justify-content: center;
             align-items: center;
             font-size: 1.5rem;    
             position: absolute;
             top: 0;
             left: 0;
         }
        


    .outline {
  display        : inline-block;
  color          : #ffffff;            /* 文字の色 */
  letter-spacing : 10px;                /* 文字間 */
  text-shadow    : 
       5px  5px 10px #ff0000,
      -5px  5px 10px #ff0000,
       5px -5px 10px #ff0000,
      -5px -5px 10px #ff0000,
       5px  0px 10px #ff0000,
       0px  5px 10px #ff0000,
      -5px  0px 10px #ff0000,
       0px -5px 10px #ff0000;        /* 文字の影 */
}


        @keyframes albumAnimation {
            0% {
                opacity: 0;
                animation-timing-function: ease-in;
            }
            12.5% {
                opacity: 1;
                animation-timing-function: ease-out;
            }
            37.5% {
                opacity: 1
            }
            50% {
                opacity: 0
            }
            100% {
                opacity: 0
            }
        }


@media only screen and (max-width: 800px) {
    * {
        margin: 0;
        padding: 0;
    }

    .box {
        position: relative;
        width: 100%;
    }

        .box .text {
            position: absolute;
            width: 100%;
            text-align: center;
        }

    .text > span {
        position: relative;
        top: 100px;
        color: #000;
        opacity: 0;
        -webkit-animation: albumAnimation 9s linear infinite 0s;
        -moz-animation: albumAnimation 9s linear infinite 0s;
        -o-animation: albumAnimation 9s linear infinite 0s;
        -ms-animation: albumAnimation 9s linear infinite 0s;
        animation: albumAnimation 9s linear infinite 0s;
    }

        .text > span:nth-child(2) {
            -webkit-animation-delay: 3s;
            -moz-animation-delay: 3s;
            -o-animation-delay: 3s;
            -ms-animation-delay: 3s;
            animation-delay: 3s;
        }

        .text > span:nth-child(3) {
            -webkit-animation-delay: 6s;
            -moz-animation-delay: 6s;
            -o-animation-delay: 6s;
            -ms-animation-delay: 6s;
            animation-delay: 6s;
        }


    span.one {
        position: absolute;
        z-index: 1;
        font-size: 30px;
    }

    span.two {
        position: absolute;
        z-index: 1;
        font-size: 30px;
    }

    span.three {
        position: absolute;
        z-index: 1;
        font-size: 30px;
    }


    .sample-box {
        position: relative;
    }

    .text {
        width: 50px;
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.5rem;
        position: absolute;
        top: -100px;
        left: 0;

    }

    .outline {
  display        : inline-block;
  color          : #ffffff;            /* 文字の色 */
  font-size      : 26pt;               /* 文字のサイズ */
  letter-spacing : 10px;                /* 文字間 */
  text-shadow    : 
       5px  5px 10px #ff0000,
      -5px  5px 10px #ff0000,
       5px -5px 10px #ff0000,
      -5px -5px 10px #ff0000,
       5px  0px 10px #ff0000,
       0px  5px 10px #ff0000,
      -5px  0px 10px #ff0000,
       0px -5px 10px #ff0000;        /* 文字の影 */
}


    @keyframes albumAnimation {
        0% {
            opacity: 0;
            animation-timing-function: ease-in;
        }

        12.5% {
            opacity: 1;
            animation-timing-function: ease-out;
        }

        37.5% {
            opacity: 1;
        }

        50% {
            opacity: 0;
        }

        100% {
            opacity: 0;
        }
    }
}