.banner-fixed {
  position: fixed;
  bottom: 150px;
  right: 30px;
  width: 250px;
  padding: 30px 0 0 0;
  background-color: transparent;
  transition: 1s ease-in-out;
  opacity: 0;
  z-index: 9999;
}

.banner-fixed02 {
  right: -100%;
  transition: all 2s ease;
}
.banner-fixed.is-fixed {
  opacity: 1;
}
@media only screen and (max-height: 769px) {
  .banner-fixed.is-fixed {
    right: 50px;
  }
}
@media only screen and (max-width: 1023px) and (max-height: 850px) {
  .banner-fixed.is-fixed {
    right: 80px;
  }
}
@media only screen and (max-width: 767px) and (max-height: 850px) {
  .banner-fixed.is-fixed {
    right: 55px;
  }
}
.banner-fixed.js_active {
  right: 30px;
  opacity: 1;
}
@media only screen and (max-height: 769px) {
  .banner-fixed.js_active {
    right: 50px;
  }
}

@media only screen and (max-width: 1023px) and (max-height: 850px) {
  .banner-fixed.js_active {
    right: 80px;
  }
}
@media only screen and (max-width: 767px) and (max-height: 850px) {
  .banner-fixed.js_active {
    right: 55px;
  }
}


.banner-fixed a {
  transition: opacity 0.3s ease;
}
.banner-fixed a:hover {
  opacity: 0.7;
}
.banner-fixed #spshow {
  display: none;
}

.banner-fixed_close {
  padding: 0;
  position: absolute;
  top: 11px;
  right: -22px;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  outline: none;
  z-index:10;
}
.banner-fixed_close {
  width: 48px;
  height: 48px;
  display:block;
}

.banner-fixed_close:hover {
  cursor: pointer;
}

.banner-fixed_link {
  text-decoration: none;
}

.banner-fixed_link p {
  color: initial;
  text-align: center;
  font-weight: 400;
}

@media only screen and (max-width: 690px) {
  .banner-fixed {
    width: 35%;
    bottom: 30px;
    right: 15px;
  }
  .banner-fixed02 {
    right: -100%;
  }
  .banner-fixed.is-fixed {
    opacity: 1;
  }
  .banner-fixed.js_active {
    right: 15px;
  }
  .banner-fixed_close {
    width: 38px;
    height: 38px;
    right: -15px;
    top: 16px;
  }
}
@media only screen and (max-width: 690px) and (max-height: 419px) {
  .banner-fixed.js_active {
    right: 45px;
  }
}
.banner-fixed_close img {
  width:100%;
  height:auto;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
