.news-ticker {
    position: absolute;
    top: 0;
    left: 0;
    height: 40px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: #005BAC;
    opacity: 0.85;
    z-index: 100;
    transition: .3s all;
}
.news-ticker:hover {
    opacity: 1.0;
}
.news-ticker a {
    display: inline-block;
    margin-left: 50px;   /* ← 左端にくっつかないための余白 */
    text-decoration: none;
    /*
    padding-left: 100%;
    animation: ticker .4s linear forwards;
    */
    color: #FFF;
    font-size: 15px;
    font-weight: 400;
    line-height: 40px;
    height: 50px;
    width: 100%;
}

/*
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}
*/


@media screen and (max-width: 1024px) {

.news-ticker a {
    margin-left: 20px;
}

}

@media screen and (max-width: 728px) {

.news-ticker a {
    position: absolute;
    display: inline-block;
    padding-left: 0; /* 画面外右からスタート */
    right: -100%; /* 画面外右からスタート */
    margin-left: 15px;   /* ← 左端にくっつかないための余白 */
    text-decoration: none;
    animation: ticker-sp 6s linear infinite; /* スピード調整可 */
    color: #FFF;
    font-size: 13px;
    font-weight: 400;
    line-height: 40px;
    height: 50px;
    width: 100%;
}

}

@keyframes ticker-sp {
    from { right: -100%; }    /* 右端の外からスタート */
    to   { right: 100%; }     /* 左端を超えて完全に流れる */
}
