

.ja-ss-sprite img {
  width: auto;
  background: none;
  display: block;
}
.ja-ss-item-bg {
  position: relative;
  z-index: 1;
}
.ja-ss-sprite,
.ja-ss-desc {
  position: absolute;
  z-index: 2;
  opacity: 0;
}

.leftright .ja-ss-sprite.first {
  bottom: 10%;
  right: -10%;
}
.leftright .ja-ss-sprite.second {
  bottom: 10%;
  right: 110%;
}
.active.leftright .ja-ss-sprite.first {
  right: 40%;
}
.active.leftright .ja-ss-sprite.second {
  right: 60%;
}

.leftleft .ja-ss-sprite.first,
.leftleft .ja-ss-sprite.second {
  bottom: 20%;
  right: -10%;
}
.active.leftleft .ja-ss-sprite.first {
  right: 40%;
}
.active.leftleft .ja-ss-sprite.second {
  right: 60%;
}

.rightright .ja-ss-sprite.first,
.rightright .ja-ss-sprite.second {
  bottom: 20%;
  right: 110%;
}
.active.rightright .ja-ss-sprite.first {
  right: 40%;
}
.active.rightright .ja-ss-sprite.second {
  right: 60%;
}

.updown .ja-ss-sprite.first {
  right: 40%;
  bottom: -10%;
}
.updown .ja-ss-sprite.second {
  right: 60%;
  bottom: 110%;
}
.active.updown .ja-ss-sprite.first {
  bottom: 20%;
}
.active.updown .ja-ss-sprite.second {
  bottom: 20%;
}

.downdown .ja-ss-sprite.first {
  right: 40%;
  bottom: 110%;
}
.downdown .ja-ss-sprite.second {
  right: 60%;
  bottom: 110%;
}
.active.downdown .ja-ss-sprite.first {
  bottom: 20%;
}
.active.downdown .ja-ss-sprite.second {
  bottom: 20%;
}

.rupdown .ja-ss-sprite.first {
  -webkit-transform-origin: -200% 70%;
  -moz-transform-origin: -200% 70%;
  -o-transform-origin: -200% 70%;
  transform-origin: -200% 70%;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  right: 40%;
  bottom: 20%;
}
.rupdown .ja-ss-sprite.second {
  -webkit-transform-origin: 200% 70%;
  -moz-transform-origin: 200% 70%;
  -o-transform-origin: 200% 70%;
  transform-origin: 200% 70%;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  right: 60%;
  bottom: 20%;
}
.active.rupdown .ja-ss-sprite.first,
.active.rupdown .ja-ss-sprite.second {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.rupup .ja-ss-sprite.first {
  -webkit-transform-origin: -200% 70%;
  -moz-transform-origin: -200% 70%;
  -o-transform-origin: -200% 70%;
  transform-origin: -200% 70%;
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);
  right: 40%;
  bottom: 20%;
}
.rupup .ja-ss-sprite.second {
  -webkit-transform-origin: 200% 70%;
  -moz-transform-origin: 200% 70%;
  -o-transform-origin: 200% 70%;
  transform-origin: 200% 70%;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  transform: rotate(90deg);
  right: 60%;
  bottom: 20%;
}
.active.rupup .ja-ss-sprite.first,
.active.rupup .ja-ss-sprite.second {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.active .ja-ss-sprite {
  opacity: 1;
}
.ja-ss-desc {
  right: -20%;
  top: 20%;
  opacity: 0;
  background: #FFF;
  width: 45%;
}
.active .ja-ss-desc {
  right: 70px;
}
.active .ja-ss-desc {
  opacity: 1;
}

.custom .ja-ss-item {
  opacity: 0;
}
.custom .ja-ss-item.curr {
  opacity: 1;
}
.custom .ja-ss-item.prev {
  right: -100%;
}
.custom .ja-ss-item.next {
  right: 100%;
}
.custom .ja-ss-item.curr {
  right: 0%;
}
