div.u_popup {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 16px;
  transition: 0.4s;
  width: 400px;
  z-index: 5;
}
div.u_popup2 {
  width: 240px;
}
@media screen and (max-width: 560px) {
  div.u_popup {
    width: 100%;
    padding: 10px 10px 60px;
  }
  .u_popup.u_fixbanner {
    width: 70%;
  }
}
div.popup1 {
  -webkit-animation-name: popup;
          animation-name: popup;
  -webkit-animation-duration: 15s;
  animation-duration: 15s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  transform: translate3d(0, 100%, 0);
}
@-webkit-keyframes popup {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  30% {
    transform: translate3d(0, 100%, 0);
  }
  35% {
    transform: translate3d(0, 0, 0);
  }
  90% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 100%, 0);
  }
}
@keyframes popup {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  30% {
    transform: translate3d(0, 100%, 0);
  }
  35% {
    transform: translate3d(0, 0, 0);
  }
  90% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 100%, 0);
  }
}

div.popup2 {
  -webkit-animation-name: popup2;
          animation-name: popup2;
  -webkit-animation-duration: 20s;
  animation-duration: 20s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  transform: translate3d(0, 100%, 0);
}
@-webkit-keyframes popup2 {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  45% {
    transform: translate3d(0, 100%, 0);
  }
  50% {
    transform: translate3d(0, 0, 0);
  }
  90% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 100%, 0);
  }
}
@keyframes popup2 {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  45% {
    transform: translate3d(0, 100%, 0);
  }
  50% {
    transform: translate3d(0, 0, 0);
  }
  90% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 100%, 0);
  }
}
div.u_popup a {
  display: block;
  padding: 8px 8px 8px 68px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.7);
  text-decoration: none;
  color: #fff;
  position: relative;
  margin-top: 16px;
}
div.u_popup a.fiximg {
  padding: 0;
  margin-top: 0;
}

div.u_popup a.fiximg::before {
  content: none;
}

div.u_popup a:after {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  background: #fff;
  color: rgba(0, 0, 0, 0.87);
  font-size: 10px;
  padding: 0 4px;
}
div.u_popup a.news:after {
  content: "NEWS";
}
div.u_popup a.event:after {
  content: "EVENT";
}

div.u_popup a:before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 8px;
  height: 8px;
  border-top: 1px solid #fff;
  border-right: 1px solid #fff;
  transform: rotate(45deg);
}
div.u_popup a.image {
  padding: 8px;
}
span.u_popup_close {
  position: absolute;
  top: 16px;
  right: 16px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  color: #fff;
  font-weight: 700;
}
div.u_popup span.u_popup_close {
  top: 8px;
  right: 8px;
}
div.u_popup_none {
  opacity: 0;
  z-index: -3;
}

div.u_popup_item {
  position: fixed;
  bottom: 0;
  left: 0;
  padding: 8px;
  transition: 0.4s;
  -webkit-animation-name: popupitem;
          animation-name: popupitem;
  -webkit-animation-duration: 10s;
  animation-duration: 10s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  transform: translate3d(0, 100%, 0);
  display: flex;
  flex-wrap: wrap;
  background: rgba(0, 0, 0, 0.2);
  width: 400px;
  z-index: 5;
}
@media screen and (max-width: 769px) {
  div.u_popup_item {
    width: 100%;
  }
}
div.u_popup_item p {
  width: calc(100% / 3);
  padding: 8px;
  margin: 0;
}
div.u_popup_item p:nth-child(1) {
  width: 100%;
  text-align: center;
  font-weight: 700;
  color: #fff;
}
div.u_popup_item p img {
  width: 100%;
}
div.u_popup_item p a {
  display: block;
  position: relative;
}
div.u_popup_item p a span {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.1);
  color: #fff;
  font-weight: 700;
}
@-webkit-keyframes popupitem {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  20% {
    transform: translate3d(0, 0, 0);
  }
  90% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}
@keyframes popupitem {
  0% {
    transform: translate3d(0, 100%, 0);
  }
  20% {
    transform: translate3d(0, 0, 0);
  }
  90% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

div.contents_popup.u_popup{
  width: 320px;
}

@media screen and (max-width: 640px) {
  div.contents_popup.u_popup{
    width: 50%;
  }
  
}

div.u_popup div.pop_double{
  display: flex;
  flex-wrap: wrap;
}
div.u_popup div.pop_double a{
  width: 50%;
}