.work-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: url("../images/project/bg.jpg") no-repeat center;
  background-size: cover;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.show .work-wrap {
  opacity: 1;
}
.work-list {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.work-item {
  width: 50%;
}
.work-item a {
  height: 100vh;
  min-height: 400px;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.work-item.onhover {
  opacity: 0.5;
}
.work-info {
  width: 100%;
  margin: 25px;
  text-shadow: 0 1px 3px #000;
}
.work-info span {
  display: block;
}
.work-info .tw {
  font-size: 0.875em;
  color: #ccc;
}
.work-info .en {
  font-family: "Nanum Myeongjo", serif;
  font-size: 1.25em;
  color: #FFF;
}
.work-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -1;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
  pointer-events: none;
}
.work-item:hover .work-img {
  opacity: 1;
}
.work-line {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  background: #FFF;
  opacity: 0.5;
}

.landscape {
  text-align: right;
}
.landscape .work-info {
  -moz-transform: translateX(-20px);
  -ms-transform: translateX(-20px);
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
}
.landscape .tw:before {
  content: "";
  width: 60px;
  height: 1px;
  background: #FFF;
  opacity: 0.5;
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  box-shadow: 0 1px 3px #000;
}
.landscape:hover .tw:before {
  -moz-animation: line-landscape 2s infinite;
  -webkit-animation: line-landscape 2s infinite;
  animation: line-landscape 2s infinite;
}

.interior .work-info {
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
}
.interior .tw:after {
  content: "";
  width: 60px;
  height: 1px;
  background: #FFF;
  opacity: 0.5;
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  box-shadow: 0 1px 3px #000;
}
.interior:hover .tw:after {
  -moz-animation: line-interior 2s infinite;
  -webkit-animation: line-interior 2s infinite;
  animation: line-interior 2s infinite;
}

.work-info {
  opacity: 0;
  -moz-transition: opacity 0.6s 0.6s, -moz-transform 0.6s 0.6s;
  -o-transition: opacity 0.6s 0.6s, -o-transform 0.6s 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  -webkit-transition-delay: 0.6s, 0.6s;
  transition: opacity 0.6s 0.6s, transform 0.6s 0.6s;
}
.show .work-info {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

@-moz-keyframes line-landscape {
  0% {
    width: 60px;
    margin-right: 10px;
  }
  50% {
    width: 0;
    margin-right: 70px;
  }
  51% {
    width: 0;
    margin-right: 10px;
  }
  100% {
    width: 60px;
    margin-right: 10px;
  }
}
@-webkit-keyframes line-landscape {
  0% {
    width: 60px;
    margin-right: 10px;
  }
  50% {
    width: 0;
    margin-right: 70px;
  }
  51% {
    width: 0;
    margin-right: 10px;
  }
  100% {
    width: 60px;
    margin-right: 10px;
  }
}
@keyframes line-landscape {
  0% {
    width: 60px;
    margin-right: 10px;
  }
  50% {
    width: 0;
    margin-right: 70px;
  }
  51% {
    width: 0;
    margin-right: 10px;
  }
  100% {
    width: 60px;
    margin-right: 10px;
  }
}
@-moz-keyframes line-interior {
  0% {
    width: 60px;
    margin-left: 10px;
  }
  50% {
    width: 0;
    margin-left: 70px;
  }
  51% {
    width: 0;
    margin-left: 10px;
  }
  100% {
    width: 60px;
    margin-left: 10px;
  }
}
@-webkit-keyframes line-interior {
  0% {
    width: 60px;
    margin-left: 10px;
  }
  50% {
    width: 0;
    margin-left: 70px;
  }
  51% {
    width: 0;
    margin-left: 10px;
  }
  100% {
    width: 60px;
    margin-left: 10px;
  }
}
@keyframes line-interior {
  0% {
    width: 60px;
    margin-left: 10px;
  }
  50% {
    width: 0;
    margin-left: 70px;
  }
  51% {
    width: 0;
    margin-left: 10px;
  }
  100% {
    width: 60px;
    margin-left: 10px;
  }
}
@media screen and (max-width: 1300px) {
  .work-item {
    text-align: center;
    width: 100%;
  }
  .work-item a {
    height: 50vh;
    min-height: 0;
  }
  .work-item.onhover {
    opacity: 1;
  }
  .work-line {
    width: 100%;
    height: 1px;
    top: 50%;
    left: 0;
  }

  .landscape a {
    -webkit-align-items: flex-end;
    align-items: flex-end;
  }
  .landscape .work-sort {
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }
  .landscape .tw:before {
    display: block;
    width: 1px;
    height: 0px;
    margin: 10px auto 10vh;
  }

  .interior a {
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
  .interior .tw:after {
    display: block;
    width: 1px;
    height: 0px;
    margin: 10vh auto 10px;
  }

  @-moz-keyframes line-landscape {
    0% {
      height: 0px;
      margin-bottom: 10vh;
    }
    50% {
      height: 60px;
      margin-bottom: 10vh;
    }
    99% {
      height: 0px;
      margin-bottom: calc(10vh + 60px);
    }
    100% {
      height: 0px;
      margin-bottom: 10vh;
    }
  }
  @-webkit-keyframes line-landscape {
    0% {
      height: 0px;
      margin-bottom: 10vh;
    }
    50% {
      height: 60px;
      margin-bottom: 10vh;
    }
    99% {
      height: 0px;
      margin-bottom: calc(10vh + 60px);
    }
    100% {
      height: 0px;
      margin-bottom: 10vh;
    }
  }
  @keyframes line-landscape {
    0% {
      height: 0px;
      margin-bottom: 10vh;
    }
    50% {
      height: 60px;
      margin-bottom: 10vh;
    }
    99% {
      height: 0px;
      margin-bottom: calc(10vh + 60px);
    }
    100% {
      height: 0px;
      margin-bottom: 10vh;
    }
  }
  @-moz-keyframes line-interior {
    0% {
      height: 0px;
      margin-top: 10vh;
    }
    50% {
      height: 60px;
      margin-top: 10vh;
    }
    99% {
      height: 0px;
      margin-top: calc(10vh + 60px);
    }
    100% {
      height: 0px;
      margin-top: 10vh;
    }
  }
  @-webkit-keyframes line-interior {
    0% {
      height: 0px;
      margin-top: 10vh;
    }
    50% {
      height: 60px;
      margin-top: 10vh;
    }
    99% {
      height: 0px;
      margin-top: calc(10vh + 60px);
    }
    100% {
      height: 0px;
      margin-top: 10vh;
    }
  }
  @keyframes line-interior {
    0% {
      height: 0px;
      margin-top: 10vh;
    }
    50% {
      height: 60px;
      margin-top: 10vh;
    }
    99% {
      height: 0px;
      margin-top: calc(10vh + 60px);
    }
    100% {
      height: 0px;
      margin-top: 10vh;
    }
  }
}
