@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200..900&display=swap");
.work-top {
  position: relative;
}
.work-top:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0;
  -moz-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  -webkit-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.work-top.show:after {
  opacity: 0.3;
}
.work-pic {
  width: 100%;
  height: 60vh;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  margin-top: 25vh;
}
.work-title {
  position: absolute;
  bottom: calc(60vh + 30px);
  left: 25%;
}
.work-title:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -60px;
  width: 1px;
  height: 60px;
  background-color: #666;
}
.work-title-s {
  letter-spacing: 0.2em;
  margin-bottom: 5px;
}
.work-title-b {
  font-size: 20px;
  margin-bottom: 10px;
}
.work-title-b .en {
  font-size: 14px;
}
.work-content {
  width: 85%;
  max-width: 900px;
  margin: 80px auto;
}
.work-content img {
  width: 100%;
}
.work-content img,
.work-content p,
.work-content h3 {
  margin-bottom: 30px;
}
.work-content h3 {
  margin-top: 50px;
}
.work-content p {
  line-height: 1.5em;
}
.work-box {
  display: flex;
  margin-bottom: 80px;
}
.work-intro {
  width: 50%;
  margin-right: 8%;
}
.work-intro li {
  position: relative;
  padding-left: 180px;
  margin-bottom: 10px;
}
.work-intro li:last-child {
  margin-bottom: 0;
}
.work-intro .text {
  position: absolute;
  top: 0;
  left: 0;
}
.work-intro .text:before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 1px;
  background-color: #666;
  margin-right: 15px;
  margin-bottom: 3px;
}
.work-in {
  width: calc(1100px - (25vw - (100vw - 1100px) * 0.5)*2);
  line-height: 1.8em;
  margin: auto;
}
.work-intro + .work-in {
  width: 42%;
}
.work-bt {
  display: flex;
  justify-content: center;
  margin-bottom: 80px;
}
.work .button {
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -moz-transition: -moz-transform 0.3s 0.2s;
  -o-transition: -o-transform 0.3s 0.2s;
  -webkit-transition: -webkit-transform 0.3s;
  -webkit-transition-delay: 0.2s;
  transition: transform 0.3s 0.2s;
}
.work .button:before {
  background-color: #fff;
}
.work .button:after {
  background-color: #fff;
}
.work .button-box:before {
  background-color: #fff;
}
.work .button-box:after {
  background-color: #fff;
}

.work-top .work-pic {
  opacity: 0;
  background-size: 110%;
  -moz-transition: opacity 1s, background 0.8s;
  -o-transition: opacity 1s, background 0.8s;
  -webkit-transition: opacity 1s, background 0.8s;
  transition: opacity 1s, background 0.8s;
}
.work-top .work-title-s {
  overflow: hidden;
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.5s, -moz-transform 0.8s ease-in-out;
  -o-transition: opacity 0.5s, -o-transform 0.8s ease-in-out;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.8s ease-in-out;
  transition: opacity 0.5s, transform 0.8s ease-in-out;
}
.work-top .work-title-b {
  overflow: hidden;
}
.work-top .work-title-b span {
  display: inline-block;
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: opacity 0.8s, -moz-transform 0.8s;
  -o-transition: opacity 0.8s, -o-transform 0.8s;
  -webkit-transition: opacity 0.8s, -webkit-transform 0.8s;
  transition: opacity 0.8s, transform 0.8s;
  -moz-transition-delay: 0.5s;
  -o-transition-delay: 0.5s;
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}
.work-top .work-title:after {
  -moz-transform: scaleY(0);
  -ms-transform: scaleY(0);
  -webkit-transform: scaleY(0);
  transform: scaleY(0);
  -moz-transform-origin: center top;
  -ms-transform-origin: center top;
  -webkit-transform-origin: center top;
  transform-origin: center top;
  -moz-transition: -moz-transform 0.5s ease-in-out;
  -o-transition: -o-transform 0.5s ease-in-out;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}
.work-top.open .work-pic {
  background-size: 100%;
  opacity: 1;
}
.work-top.open .work-title-s {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.work-top.open .work-title-b span {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.work-top.open .work-title:after {
  -moz-transform: scaleY(1);
  -ms-transform: scaleY(1);
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}

.work-intro li {
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.5s, -moz-transform 0.8s;
  -o-transition: opacity 0.5s, -o-transform 0.8s;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.8s;
  transition: opacity 0.5s, transform 0.8s;
}
.work-intro.open li {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.work-in {
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: opacity 0.5s, -moz-transform 0.8s;
  -o-transition: opacity 0.5s, -o-transform 0.8s;
  -webkit-transition: opacity 0.5s, -webkit-transform 0.8s;
  transition: opacity 0.5s, transform 0.8s;
  -moz-transition-delay: 1s;
  -o-transition-delay: 1s;
  -webkit-transition-delay: 1s;
  transition-delay: 1s;
}
.work-in.open {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.move-top {
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
  -moz-transition: -moz-transform 1.2s, opacity 1s;
  -o-transition: -o-transform 1.2s, opacity 1s;
  -webkit-transition: -webkit-transform 1.2s, opacity 1s;
  transition: transform 1.2s, opacity 1s;
}
.move-top.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

@media screen and (max-width: 1310px) {
  .work-in {
    width: calc(85vw - (25vw - (100vw - 85vw) * 0.5)*2);
  }
}
@media screen and (max-width: 1100px) {
  .work-pic {
    height: 400px;
    background-attachment: unset;
    margin-top: 250px;
  }
  .work-title {
    bottom: calc(400px + 30px);
    left: 15%;
  }
  .work-content {
    margin: 50px auto 80px;
  }
  .work-box {
    display: block;
    margin-bottom: 50px;
  }
  .work-intro {
    width: 100%;
    margin-right: 0;
  }
  .work-intro .text:before {
    background-color: #ccc;
  }
  .work-in {
    width: calc(85vw - (15vw - (100vw - 85vw) * 0.5)*2);
  }
  .work-intro + .work-in {
    margin-top: 30px;
    width: auto;
  }
  .work .button {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    -moz-transition: -moz-transform 0.3s 0.2s;
    -o-transition: -o-transform 0.3s 0.2s;
    -webkit-transition: -webkit-transform 0.3s;
    -webkit-transition-delay: 0.2s;
    transition: transform 0.3s 0.2s;
  }
  .work .button:before {
    background-color: #000;
  }
  .work .button:after {
    background-color: #000;
  }
  .work .button-box:before {
    background-color: #000;
  }
  .work .button-box:after {
    background-color: #000;
  }

  .work-top .work-pic {
    background-size: cover;
  }
  .work-top.open .work-pic {
    background-size: cover;
  }
}
@media screen and (max-width: 860px) {
  .work-content {
    width: unset;
    margin: 50px 30px;
  }
  .work-bt {
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 640px) {
  .work-pic {
    height: 300px;
  }
  .work-title {
    bottom: calc(300px + 30px);
  }
  .work-title-b {
    font-size: 24px;
  }
  .work-intro li {
    padding-top: 25px;
    padding-left: 20px;
    margin-bottom: 15px;
  }
  .work-intro li .text {
    font-weight: 600;
  }
  .work-intro li .text:before {
    margin-right: 10px;
  }
  .work-content img,
  .work-content p,
  .work-content h3 {
    margin-bottom: 20px;
  }
}
@media screen and (max-width: 460px) {
  .work-content {
    margin: 50px 15px;
  }
  .work-pic {
    margin-top: 200px;
  }
  .work-title-b {
    font-size: 20px;
  }
}
