.inline-img {
  height: 35px;
  opacity: 0.5;
}

/*list */
.top {
  position: relative;
}
.top:after {
  content: "";
  display: block;
  clear: both;
}
.top-img {
  position: relative;
  width: 60%;
}
.top-img img {
  width: 100%;
}
.top-img-decoline {
  width: 0%;
  height: 3px;
  background: #FFF;
  position: absolute;
  bottom: 10%;
  right: -20%;
  -moz-transition: width 0.6s 1s;
  -o-transition: width 0.6s 1s;
  -webkit-transition: width 0.6s;
  -webkit-transition-delay: 1s;
  transition: width 0.6s 1s;
}
.show .top-img-decoline {
  width: 40%;
}
.top-slogan {
  position: absolute;
  font-size: 3em;
  color: #333;
  line-height: 1.2;
  top: 20%;
  left: 65%;
  right: 0;
  opacity: 0;
  margin-top: 40px;
  -moz-transition: opacity 0.6s 1s, margin 0.6s 1s;
  -o-transition: opacity 0.6s 1s, margin 0.6s 1s;
  -webkit-transition: opacity 0.6s, margin 0.6s;
  -webkit-transition-delay: 1s, 1s;
  transition: opacity 0.6s 1s, margin 0.6s 1s;
}
.show .top-slogan {
  opacity: 1;
  margin-top: 0;
}

.sort {
  position: relative;
  float: right;
  margin-top: -10%;
  width: 20%;
  padding: 20px;
}
.sort:before {
  content: "";
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 0;
  background: #000;
  -moz-transition: height 0.6s 1s, top 0.6s 1s;
  -o-transition: height 0.6s 1s, top 0.6s 1s;
  -webkit-transition: height 0.6s, top 0.6s;
  -webkit-transition-delay: 1s, 1s;
  transition: height 0.6s 1s, top 0.6s 1s;
}
.sort.show:before {
  height: 100%;
  top: 0;
}
.sort-text {
  position: relative;
  font-size: 0.75em;
  color: #666;
  border-bottom: #333 solid 1px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.sort-btn {
  position: relative;
  font-size: 0.875em;
  line-height: 2.5;
}
.sort-btn a {
  position: relative;
  display: block;
}
.sort-btn a.active {
  color: #fff;
}
.sort-text, .sort-btn {
  opacity: 0;
  -moz-transition: opacity 0.6s 1.3s;
  -o-transition: opacity 0.6s 1.3s;
  -webkit-transition: opacity 0.6s;
  -webkit-transition-delay: 1.3s;
  transition: opacity 0.6s 1.3s;
}
.show .sort-text, .show .sort-btn {
  opacity: 1;
}

.page-title {
  margin-top: -60px;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.page-title.show {
  opacity: 1;
}
.page-title p {
  font-size: 0.875em;
}

.list {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -4%;
}
.list-item {
  position: relative;
  width: calc((100% - 24%) / 3);
  padding: 10px;
  border: #333 solid 1px;
  box-sizing: border-box;
  margin: 4%;
}
.list-item:hover img {
  -moz-transform: scale(1.5);
  -ms-transform: scale(1.5);
  -webkit-transform: scale(1.5);
  transform: scale(1.5);
}
.list-new:before {
  content: "NEW";
  position: absolute;
  right: 15px;
  top: 15px;
  color: #ff0000;
  z-index: 2;
  font-family: "Hind", Arial, Helvetica, sans-serif;
  font-size: 1em;
  letter-spacing: 0;
  text-shadow: black 1px 1px 10px;
}
.list-img {
  position: relative;
  overflow: hidden;
}
.list-img img {
  width: 100%;
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}
.list-name {
  position: relative;
  margin-top: 10px;
  padding-left: 15px;
  font-size: 0.875em;
  opacity: 0;
  -moz-transition: opacity 0.6s 1s;
  -o-transition: opacity 0.6s 1s;
  -webkit-transition: opacity 0.6s;
  -webkit-transition-delay: 1s;
  transition: opacity 0.6s 1s;
}
.show .list-name {
  opacity: 1;
}
.list-name:before, .list-name:after {
  content: "";
  width: 4px;
  height: 8px;
  background: #666;
  position: absolute;
  left: 0;
  -moz-transition: -moz-transform 0.3s;
  -o-transition: -o-transform 0.3s;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
}
.list-name:before {
  bottom: 50%;
  -moz-transform-origin: right bottom;
  -ms-transform-origin: right bottom;
  -webkit-transform-origin: right bottom;
  transform-origin: right bottom;
}
.list-name:after {
  top: 50%;
  -moz-transform-origin: right top;
  -ms-transform-origin: right top;
  -webkit-transform-origin: right top;
  transform-origin: right top;
}
a:hover .list-name {
  color: #ccc;
}
a:hover .list-name:before {
  background: #ccc;
  -moz-transform: translateX(5px) rotate(-45deg);
  -ms-transform: translateX(5px) rotate(-45deg);
  -webkit-transform: translateX(5px) rotate(-45deg);
  transform: translateX(5px) rotate(-45deg);
}
a:hover .list-name:after {
  background: #ccc;
  -moz-transform: translateX(5px) rotate(45deg);
  -ms-transform: translateX(5px) rotate(45deg);
  -webkit-transform: translateX(5px) rotate(45deg);
  transform: translateX(5px) rotate(45deg);
}

/*lightbox */
.overlay, .overlay-info {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  background: rgba(17, 17, 17, 0.9);
  z-index: 20;
  display: none;
}

.viewport {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80vw;
  height: 70vh;
  max-width: 93.33333vh;
  max-height: 60vw;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.viewport-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 0;
  background: #222;
  -moz-box-shadow: 0px 0px 20px 5px #000;
  -webkit-box-shadow: 0px 0px 20px 5px #000;
  box-shadow: 0px 0px 20px 5px #000;
  -moz-transition: height 0.6s, width 0.6s 0.6s;
  -o-transition: height 0.6s, width 0.6s 0.6s;
  -webkit-transition: height 0.6s, width 0.6s;
  -webkit-transition-delay: 0s, 0.6s;
  transition: height 0.6s, width 0.6s 0.6s;
}
.show-overlay .viewport-bg {
  width: 100%;
  height: 100%;
}
.viewport img {
  max-width: 100%;
  max-height: 100%;
  margin: auto;
}

.product-img {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.product-info {
  position: relative;
  width: 100%;
  height: 100%;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
}
.product-content {
  margin: auto;
  padding: 0 10px;
}
.product-text {
  font-size: 0.875em;
}
.product-prev, .product-next {
  position: absolute;
  top: 50%;
  padding: 10px;
  margin: -30px;
  cursor: pointer;
  opacity: 0;
  z-index: 1;
}
.product-prev img, .product-next img {
  background: #000;
  padding: 5px;
}
.show-overlay .product-prev, .show-overlay .product-next {
  opacity: 1;
  -moz-transition-delay: 0, 1s;
  -o-transition-delay: 0, 1s;
  -webkit-transition-delay: 0, 1s;
  transition-delay: 0, 1s;
}
.product-prev {
  left: 0px;
  -moz-transition: left 0.3s, opacity 0.6s 0s;
  -o-transition: left 0.3s, opacity 0.6s 0s;
  -webkit-transition: left 0.3s, opacity 0.6s;
  -webkit-transition-delay: 0s, 0s;
  transition: left 0.3s, opacity 0.6s 0s;
}
.product-next {
  right: 0px;
  -moz-transition: right 0.3s, opacity 0.6s 0s;
  -o-transition: right 0.3s, opacity 0.6s 0s;
  -webkit-transition: right 0.3s, opacity 0.6s;
  -webkit-transition-delay: 0s, 0s;
  transition: right 0.3s, opacity 0.6s 0s;
}

.remarks {
  color: #ffffff;
  font-size: 0.875em;
  margin-top: 20px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 5;
  opacity: 0;
  -moz-transition: opacity 0.6s 0s;
  -o-transition: opacity 0.6s 0s;
  -webkit-transition: opacity 0.6s;
  -webkit-transition-delay: 0s;
  transition: opacity 0.6s 0s;
}
.show-overlay .close {
  opacity: 1;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}

.swiper-container {
  padding: 40px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  opacity: 0;
  -moz-transition: opacity 1s 0s;
  -o-transition: opacity 1s 0s;
  -webkit-transition: opacity 1s;
  -webkit-transition-delay: 0s;
  transition: opacity 1s 0s;
}
.show-overlay .swiper-container {
  opacity: 1;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}
.swiper-slide {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  -ms-flex-direction: row-reverse;
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}

.zoom {
  opacity: 0;
}
.zoom-control {
  position: absolute;
  bottom: -35px;
  right: 0px;
  left: 0px;
  text-align: center;
}
.zoom-in, .zoom-out {
  display: inline-block;
  cursor: pointer;
  padding: 5px;
}

.viewer-container {
  background: none;
}

.information {
  margin-top: 70px;
}
.information a {
  margin-right: 20px;
  color: #FFF;
  font-size: 1em;
  display: inline-block;
}
.information a:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  border-top: transparent solid 5px;
  border-bottom: transparent solid 5px;
  border-left: #FFF solid 5px;
  margin-right: 10px;
}
.information a:hover {
  color: #999;
}
.information-container {
  position: relative;
  padding: 40px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  font-size: 0.875em;
  opacity: 0;
  -moz-transition: opacity 1s 0s;
  -o-transition: opacity 1s 0s;
  -webkit-transition: opacity 1s;
  -webkit-transition-delay: 0s;
  transition: opacity 1s 0s;
}
.show-overlay .information-container {
  opacity: 1;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}
.information-container p {
  margin-bottom: 20px;
}
.information-container h2 {
  margin-bottom: 20px;
}
.information-list {
  list-style: decimal outside;
  margin-left: 20px;
}
.information-list li {
  margin-bottom: 10px;
}
.information-text {
  margin-bottom: 40px;
}
.information-text:last-child {
  margin-bottom: 0;
}

.top-img:after, .list-img:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #111;
  z-index: 1;
  -moz-transition: width 0.3s;
  -o-transition: width 0.3s;
  -webkit-transition: width 0.3s;
  transition: width 0.3s;
}
.show .top-img:after, .show .list-img:after {
  width: 0;
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}
.top-img:before, .list-img:before {
  content: "";
  position: absolute;
  top: 0;
  width: 8px;
  height: 0;
  z-index: 2;
  background: #333;
}
.show .top-img:before, .show .list-img:before {
  -moz-animation: showimage 1s;
  -webkit-animation: showimage 1s;
  animation: showimage 1s;
}

@-moz-keyframes showimage {
  0% {
    width: 8px;
    height: 0;
    left: 0;
  }
  30% {
    width: 8px;
    height: 100%;
    left: 0;
  }
  59.9% {
    width: 100%;
    height: 100%;
    left: 0;
  }
  60% {
    width: 100%;
    height: 100%;
    right: 0;
    left: auto;
  }
  99.9% {
    width: 0;
    height: 100%;
    right: 0;
    left: auto;
  }
  100% {
    width: 8px;
    height: 0;
    left: 0;
  }
}
@-webkit-keyframes showimage {
  0% {
    width: 8px;
    height: 0;
    left: 0;
  }
  30% {
    width: 8px;
    height: 100%;
    left: 0;
  }
  59.9% {
    width: 100%;
    height: 100%;
    left: 0;
  }
  60% {
    width: 100%;
    height: 100%;
    right: 0;
    left: auto;
  }
  99.9% {
    width: 0;
    height: 100%;
    right: 0;
    left: auto;
  }
  100% {
    width: 8px;
    height: 0;
    left: 0;
  }
}
@keyframes showimage {
  0% {
    width: 8px;
    height: 0;
    left: 0;
  }
  30% {
    width: 8px;
    height: 100%;
    left: 0;
  }
  59.9% {
    width: 100%;
    height: 100%;
    left: 0;
  }
  60% {
    width: 100%;
    height: 100%;
    right: 0;
    left: auto;
  }
  99.9% {
    width: 0;
    height: 100%;
    right: 0;
    left: auto;
  }
  100% {
    width: 8px;
    height: 0;
    left: 0;
  }
}
@media screen and (max-width: 1400px) {
  .top-img {
    width: 55%;
  }
  .top-slogan {
    font-size: 2.5em;
    left: 60%;
    top: 15%;
  }

  .sort {
    width: 25%;
  }
}
@media screen and (max-width: 1100px) {
  .inline-img {
    height: 25px;
  }

  .top-img {
    width: 50%;
  }
  .top-slogan {
    left: 55%;
    top: -5%;
    font-size: 2em;
  }

  .sort {
    width: 30%;
    margin-top: -20%;
  }
}
@media screen and (max-width: 760px) {
  .top-img, .top-slogan {
    display: none;
  }

  .sort {
    float: none;
    width: auto;
    margin: 0 0 40px 0;
  }
  .sort:before {
    background: #222;
    -moz-transition-delay: 0s;
    -o-transition-delay: 0s;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
  }
  .sort-text, .sort-btn {
    line-height: 30px;
    -moz-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }
  .sort-btn a {
    display: inline-block;
    margin-right: 20px;
  }

  .page-title {
    margin-top: 0;
  }

  .list-item {
    width: 42%;
  }

  .viewport {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    overflow: auto;
    background: #222;
    padding: 0;
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    -moz-transition: -moz-transform 1s 1s;
    -o-transition: -o-transform 1s 1s;
    -webkit-transition: -webkit-transform 1s;
    -webkit-transition-delay: 1s;
    transition: transform 1s 1s;
  }
  .show-overlay .viewport {
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);
    transform: translateX(0);
    -moz-transition-delay: 0.5s;
    -o-transition-delay: 0.5s;
    -webkit-transition-delay: 0.5s;
    transition-delay: 0.5s;
  }
  .viewport-bg {
    display: none;
  }

  .product-img {
    padding-bottom: 147.05882%;
    width: auto;
    float: none;
    background-size: cover;
    background-position: center bottom;
  }
  .product-info {
    float: none;
    width: auto;
  }
  .product-content {
    margin: 0px 0 20px 0;
  }
  .product-prev, .product-next {
    display: none;
  }
  .product-content {
    padding: 0;
  }

  .swiper-container {
    padding: 15px;
    height: auto;
    width: auto;
  }
  .swiper-wrapper {
    display: block;
  }
  .swiper-slide {
    margin: 15px 0;
    display: block;
  }

  .viewer-container {
    display: none;
  }

  .zoom {
    opacity: 1;
  }
  .zoom-control {
    display: none;
  }

  .information-container {
    height: auto;
  }
}
@media screen and (max-width: 480px) {
  .list {
    margin: 0 -2%;
  }
  .list-item {
    width: 46%;
    margin: 2%;
  }
}
@media screen and (orientation: portrait) {
  .list-img {
    opacity: 0;
    -moz-transition: opacity 0.6s;
    -o-transition: opacity 0.6s;
    -webkit-transition: opacity 0.6s;
    transition: opacity 0.6s;
  }
  .show .list-img {
    opacity: 1;
  }
  .list-img:before, .list-img:after {
    content: none;
  }

  .list-name {
    -moz-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
  }
}
