@import url(https://fonts.googleapis.com/earlyaccess/cwtexyen.css);
@import url("https://fonts.googleapis.com/css?family=Montserrat");
@import url("https://fonts.googleapis.com/css?family=Playfair+Display");
@import url("https://fonts.googleapis.com/css2?family=Nanum+Gothic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond&family=Nanum+Gothic&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200&display=swap");
header {
  -moz-transform: translateY(-210px);
  -ms-transform: translateY(-210px);
  -webkit-transform: translateY(-210px);
  transform: translateY(-210px);
}

.main {
  margin: 100px auto;
}

.bg {
  position: absolute;
  right: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.bg .pic {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background-size: cover;
  background-position: center;
}

.top {
  position: relative;
  height: 100vh;
}

.top-slogan {
  position: sticky;
  top: calc(50vh - 40px);
  color: #fff;
  font-size: 26px;
  line-height: 1.5em;
  text-align: center;
  z-index: 2;
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}
.top-slogan.show {
  -moz-transform: translateY(-75px);
  -ms-transform: translateY(-75px);
  -webkit-transform: translateY(-75px);
  transform: translateY(-75px);
}

.bn-back {
  cursor: pointer;
  position: fixed;
  display: inline-block;
  width: 40px;
  margin-left: 10px;
  bottom: 17px;
  right: 60px;
}
.bn-back img {
  width: 100%;
}
.bn-back:hover img {
  opacity: 0.6;
}

.work {
  position: relative;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 50px;
  overflow: hidden;
}
.work img {
  width: 100%;
}
.work li {
  margin: 0 0 20px 0;
}
.work .two {
  display: flex;
}
.work .two img {
  width: calc(50% - 10px);
}
.work .two img:first-child {
  margin: 0 auto 0 0;
}
.work .two img:last-child {
  margin: 0 0 0 auto;
}

@-moz-keyframes showHide {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}
@-webkit-keyframes showHide {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}
@keyframes showHide {
  0% {
    width: 100%;
  }
  100% {
    width: 0;
  }
}
@-moz-keyframes L {
  0% {
    width: 0%;
    height: 0%;
  }
  50% {
    width: 30%;
  }
  100% {
    height: 29%;
  }
}
@-webkit-keyframes L {
  0% {
    width: 0%;
    height: 0%;
  }
  50% {
    width: 30%;
  }
  100% {
    height: 29%;
  }
}
@keyframes L {
  0% {
    width: 0%;
    height: 0%;
  }
  50% {
    width: 30%;
  }
  100% {
    height: 29%;
  }
}
.info {
  position: relative;
  padding: 100px 0;
  margin: 0 0 5%;
}
.info-content {
  position: relative;
  width: 500px;
  margin: auto;
}
.info-name {
  position: relative;
  margin: 0 auto 60px;
  font-size: 20px;
  opacity: 0;
  -moz-transition: all 0.6s;
  -o-transition: all 0.6s;
  -webkit-transition: all 0.6s;
  transition: all 0.6s;
}
.info-name.show {
  opacity: 1;
}
.info-name.show:before {
  -moz-animation: showHide 2s ease-in-out;
  -webkit-animation: showHide 2s ease-in-out;
  animation: showHide 2s ease-in-out;
}
.info-name:before {
  content: "";
  position: absolute;
  height: 100%;
  right: 0;
  background: #191919;
  z-index: 1;
}
.info-name:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  right: 0;
  bottom: 8px;
  background: #666;
  z-index: -1;
}
.info-name p {
  position: relative;
  width: fit-content;
  padding: 0 10px 0 0;
  background: #191919;
}
.info-name .type {
  color: #aaa;
}
.info-text {
  color: #aaa;
  margin: auto;
  text-align: justify;
}
.info-text:after {
  content: "";
  position: absolute;
  width: 30%;
  max-width: 130px;
  height: 29%;
  max-height: 100px;
  bottom: -4vw;
  left: -15%;
  opacity: 0;
  border-left: solid 1px #444;
  border-bottom: solid 1px #444;
  z-index: -1;
  -moz-transform: scale(0, 0);
  -ms-transform: scale(0, 0);
  -webkit-transform: scale(0, 0);
  transform: scale(0, 0);
  -moz-transition: opacity 1s ease-in-out 0.2s;
  -o-transition: opacity 1s ease-in-out 0.2s;
  -webkit-transition: opacity 1s ease-in-out;
  -webkit-transition-delay: 0.2s;
  transition: opacity 1s ease-in-out 0.2s;
}
.info-text.show:after {
  opacity: 1;
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}
.info-text p {
  margin-bottom: 20px;
  opacity: 0;
  -moz-transform: translateX(20px);
  -ms-transform: translateX(20px);
  -webkit-transform: translateX(20px);
  transform: translateX(20px);
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.info-text p.show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.info-text p:last-child {
  margin-bottom: 0;
}

.mo {
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: all 0.6s ease-in-out;
  -o-transition: all 0.6s ease-in-out;
  -webkit-transition: all 0.6s ease-in-out;
  transition: all 0.6s ease-in-out;
}
.mo.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media screen and (max-width: 1200px) {
  header {
    -moz-transform: translateY(0px);
    -ms-transform: translateY(0px);
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }

  .scrolltop {
    bottom: 19px;
    right: 20px;
  }

  .bn-back {
    bottom: 60px;
    right: 14px;
  }

  .nav-box li:before {
    display: block;
  }
}
@media screen and (min-width: 801px) {
  .info-text.show:after {
    -moz-animation: L 1.2s ease-in-out;
    -webkit-animation: L 1.2s ease-in-out;
    animation: L 1.2s ease-in-out;
  }
}
@media screen and (max-width: 800px) {
  .info {
    padding: 30px 0 0;
  }
  .info-content {
    width: 90%;
  }
  .info-name {
    margin: 0 auto 40px;
  }
  .info-text:after {
    position: relative;
    display: block;
    width: 30px;
    height: 3px;
    bottom: unset;
    left: unset;
    margin: 20px 0 0 0;
    border-left: unset;
    border-bottom: unset;
    background: #ddd;
  }
}
@media screen and (max-width: 720px) {
  .name {
    width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .main {
    width: 100%;
    margin: 30px auto;
  }

  .info {
    padding: 0;
    margin: 80px 0 5%;
  }
  .info-name {
    margin: 0 auto 30px;
  }

  .work {
    margin: 0 auto;
  }
  .work .two {
    display: block;
  }
  .work .two img {
    width: 100%;
  }
  .work .two img:first-child {
    margin: 0 0 20px 0;
  }
  .work .two img:last-child {
    margin: 0;
  }
}
