@charset "UTF-8";

.ticker-wrap {
  display: flex;
  width: 100%;
}
.ticker {
  display: flex !important;
  width: 100%;
  height: 60px;
  font-size: 16px;
  background: #fff;
  line-height: 60px;
  padding: 0 1em 0 6px;
  overflow: hidden;
}
.ticker ul {
  position: relative;
  list-style: none;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
.ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-right: 0;
  opacity: 0;
  visibility: hidden;
}
.ticker-item.run {
  visibility: visible;
}
.ticker-item a {
  display: inline-block;
  width: auto;
  white-space: nowrap;
  text-decoration: none;
  transition: transform 5s linear;
}
.ticker-item a .ticker-date {
  padding: 5px 20px;
  border-right: 1px solid #ccc;
  color: #909090;
}
.ticker-item a .ticker-title {
  padding: 5px 0 5px 20px;
}

@media screen and (max-width: 980px) {
  body#green > main #pickup-news .news_messages {
      width: 100%;
  }
  .ticker-item a .ticker-date {
    padding: 4px 15px;
  }
  .ticker-item a .ticker-title {
    padding: 4px 0 4px 15px;
  }
}

@media screen and (max-width: 599px) {
  body#green > main #pickup-news .news_messages {
    width: 122%;
    height: 8vw;
  }
  .ticker {
    height: 8vw;
    font-size: 2.7vw;
    line-height: 8vw;
    padding: 0 .75em 0 .5em;
  }
  .ticker-item a .ticker-date {
    padding: 4px;
  }
  .ticker-item a .ticker-title {
    padding: 4px;
  }
}
.ticker-new {
  color: red;
  animation: blink 1s ease-in-out infinite alternate;
}
.fadeInDown {
  opacity: 0;
}
.fadeInDown.run {
  animation: fadeInDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}
.fadeOutDown {
  opacity: 1;
}
.fadeOutDown.run {
  animation: fadeOutDown 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) forwards;
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeOutDown {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(30px);
  }
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
