.intro {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  background: #545859;
  width: 100%;
  height: 100%;
}
.intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  opacity: 0;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.show-intro .intro-logo {
  opacity: 1;
}

.intro-stroke {
  position: absolute;
  left: 50%;
  -moz-transition: left 0.8s 2.2s;
  -o-transition: left 0.8s 2.2s;
  -webkit-transition: left 0.8s;
  -webkit-transition-delay: 2.2s;
  transition: left 0.8s 2.2s;
}
.show-intro .intro-stroke {
  left: 0;
}

.intro-img {
  position: absolute;
  left: 0;
  width: 34px;
}
.intro-img path, .intro-img line, .intro-img circle, .intro-img polyline {
  stroke-dasharray: 250px;
  stroke-dashoffset: 250px;
}
.show-intro .intro-img path, .show-intro .intro-img line, .show-intro .intro-img circle, .show-intro .intro-img polyline {
  stroke-dashoffset: 0px;
}

.intro1 path, .intro1 line, .intro1 circle, .intro1 polyline {
  -moz-transition: stroke-dashoffset 2s linear;
  -o-transition: stroke-dashoffset 2s linear;
  -webkit-transition: stroke-dashoffset 2s linear;
  transition: stroke-dashoffset 2s linear;
}

.intro2 path, .intro2 line, .intro2 circle, .intro2 polyline {
  -moz-transition: stroke-dashoffset 2s linear 0.7s;
  -o-transition: stroke-dashoffset 2s linear 0.7s;
  -webkit-transition: stroke-dashoffset 2s linear;
  -webkit-transition-delay: 0.7s;
  transition: stroke-dashoffset 2s linear 0.7s;
}

.intro3 path, .intro3 line, .intro3 circle, .intro3 polyline {
  -moz-transition: stroke-dashoffset 2s linear 0.9s;
  -o-transition: stroke-dashoffset 2s linear 0.9s;
  -webkit-transition: stroke-dashoffset 2s linear;
  -webkit-transition-delay: 0.9s;
  transition: stroke-dashoffset 2s linear 0.9s;
}

.intro4 path, .intro4 line, .intro4 circle, .intro4 polyline {
  -moz-transition: stroke-dashoffset 2s linear 1.3s;
  -o-transition: stroke-dashoffset 2s linear 1.3s;
  -webkit-transition: stroke-dashoffset 2s linear;
  -webkit-transition-delay: 1.3s;
  transition: stroke-dashoffset 2s linear 1.3s;
}

.intro5 path, .intro5 line, .intro5 circle, .intro5 polyline {
  -moz-transition: stroke-dashoffset 2s linear 1.9s;
  -o-transition: stroke-dashoffset 2s linear 1.9s;
  -webkit-transition: stroke-dashoffset 2s linear;
  -webkit-transition-delay: 1.9s;
  transition: stroke-dashoffset 2s linear 1.9s;
}

.intro-text {
  width: 50px;
  position: absolute;
  right: 0;
  opacity: 0;
  -moz-transform: translateY(10px);
  -ms-transform: translateY(10px);
  -webkit-transform: translateY(10px);
  transform: translateY(10px);
}
.show-intro .intro-text {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.intro-text1 {
  -moz-transition: opacity 0.6s 3s, -moz-transform 0.6s 3s;
  -o-transition: opacity 0.6s 3s, -o-transform 0.6s 3s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  -webkit-transition-delay: 3s, 3s;
  transition: opacity 0.6s 3s, transform 0.6s 3s;
}

.intro-text2 {
  -moz-transition: opacity 0.6s 3.4s, -moz-transform 0.6s 3.4s;
  -o-transition: opacity 0.6s 3.4s, -o-transform 0.6s 3.4s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  -webkit-transition-delay: 3.4s, 3.4s;
  transition: opacity 0.6s 3.4s, transform 0.6s 3.4s;
}

.top {
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.top-img li {
  -moz-transition: -moz-transform 8s;
  -o-transition: -o-transform 8s;
  -webkit-transition: -webkit-transform 8s;
  transition: transform 8s;
}
.top-img li:nth-child(1) {
  width: 105%;
  -moz-transform: translateX(-5%);
  -ms-transform: translateX(-5%);
  -webkit-transform: translateX(-5%);
  transform: translateX(-5%);
}
.top-img li:nth-child(1).show-img {
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.top-img li:nth-child(2) {
  background-position: 80% 60%;
  height: 108%;
  -moz-transform: translateY(-8%);
  -ms-transform: translateY(-8%);
  -webkit-transform: translateY(-8%);
  transform: translateY(-8%);
}
.top-img li:nth-child(2).show-img {
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.top-img li:last-child {
  background-position: 5% 70%;
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.top-img li:last-child.show-img {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.top-slogan li {
  position: absolute;
  font-size: 1rem;
  width: fit-content;
  text-shadow: 0 0 5px #666;
  z-index: 5;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
  bottom: 15%;
  left: 8%;
}
.top-slogan li.show-text .top-t, .top-slogan li.show-text .top-b {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.top-slogan li.show-text .top-dot {
  opacity: 1;
}
.top-slogan li.show-text .top-content {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.top-text {
  font-size: 1.5rem;
}
.top-t {
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
  -moz-transition: clip-path 0.6s;
  -o-transition: clip-path 0.6s;
  -webkit-transition: clip-path 0.6s;
  transition: clip-path 0.6s;
}
.top-b {
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
  -moz-transition: clip-path 0.6s;
  -o-transition: clip-path 0.6s;
  -webkit-transition: clip-path 0.6s;
  transition: clip-path 0.6s;
}
.top-dot {
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.top-content {
  margin-top: 20px;
  font-size: 14px;
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: opacity 0.6s 0.4s, -moz-transform 0.6s 0.4s;
  -o-transition: opacity 0.6s 0.4s, -o-transform 0.6s 0.4s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  -webkit-transition-delay: 0.4s, 0.4s;
  transition: opacity 0.6s 0.4s, transform 0.6s 0.4s;
}
.top-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  display: inline-block;
  margin: 0 10px 5px;
  border-radius: 50%;
}

.profile-wrap {
  padding: 0 8%;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.profile-image {
  width: 27%;
}
.profile-image img {
  width: 100%;
}
.profile-inner {
  width: 50%;
  z-index: 1;
}
.profile-slogan {
  font-size: 1.5rem;
  color: #FFF;
  font-family: "Fira Sans", "Mukta", serif;
  font-weight: 300;
  padding-bottom: 40px;
  padding-left: 80px;
}
.profile-slogan .en.show:after {
  width: 75px;
}
.profile-slogan .en:after {
  content: "";
  width: 0px;
  height: 1px;
  background: #EF6A00;
  display: inline-block;
  margin-left: 15px;
  -moz-transition: width 0.6s linear 0.4s;
  -o-transition: width 0.6s linear 0.4s;
  -webkit-transition: width 0.6s linear;
  -webkit-transition-delay: 0.4s;
  transition: width 0.6s linear 0.4s;
}
.profile-text {
  padding-left: 80px;
}

.concept {
  position: relative;
}
.concept-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(50% + 100px);
  background: #404040;
  z-index: -1;
}
.concept-wrap {
  padding: 0 8%;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.concept-inner {
  width: 50%;
}
.concept-text {
  opacity: 0;
  -moz-transform: translateY(30px);
  -ms-transform: translateY(30px);
  -webkit-transform: translateY(30px);
  transform: translateY(30px);
}
.show .concept-text {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -moz-transition: opacity 0.6s 0.4s, -moz-transform 0.6s 0.4s;
  -o-transition: opacity 0.6s 0.4s, -o-transform 0.6s 0.4s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  -webkit-transition-delay: 0.4s, 0.4s;
  transition: opacity 0.6s 0.4s, transform 0.6s 0.4s;
}
.concept-img {
  width: 45%;
}
.concept-img img {
  width: 100%;
}

.project {
  padding-top: 200px;
}
.project-inner {
  padding: 0 8%;
}
.project-wrap {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.project-list {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.project-item {
  width: 50%;
}
.project-item a {
  display: block;
  height: 40vw;
  width: 100%;
  display: -ms-flexbox;
  display: flex;
}
.project-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;
}
.active .project-img {
  opacity: 1;
}
.project-img1-1 {
  background-position: 50% 90%;
}
.project-img2-1 {
  background-position: 100% 50%;
  -webkit-filter: grayscale(0.2);
  filter: grayscale(0.2);
}
.project-info {
  position: relative;
  width: 100%;
}
.project-text {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 20px;
  text-shadow: 0 0 3px #333;
}
.project-text .en {
  font-family: "Fira Sans", "Mukta", serif;
  font-size: 20px;
}
.project-text .tw {
  font-size: 0.875em;
}
.show .project-text .tw:before {
  width: 20px;
}
.project-text .tw:before {
  content: "";
  width: 0px;
  height: 1px;
  background: #EF6A00;
  display: block;
  margin: 5px 0px 5px 1px;
  -moz-transition: width 0.6s linear 0.4s;
  -o-transition: width 0.6s linear 0.4s;
  -webkit-transition: width 0.6s linear;
  -webkit-transition-delay: 0.4s;
  transition: width 0.6s linear 0.4s;
}
.project-line {
  position: absolute;
  top: 0;
  left: 50%;
  height: 0%;
  width: 1px;
  background: rgba(64, 64, 64, 0.5);
  z-index: 4;
  -moz-transition: height 0.6s linear;
  -o-transition: height 0.6s linear;
  -webkit-transition: height 0.6s linear;
  transition: height 0.6s linear;
}
.project-line.show {
  height: 100%;
}

.bg-img {
  background-image: url("../images/index/bg.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 80vh;
}

.news-wrap {
  padding: 0 8%;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.news-title {
  width: 15%;
}
.news-list {
  width: 85%;
  display: -ms-flexbox;
  display: flex;
}
.news-item {
  width: 35%;
  margin-left: 15%;
}
.news-item:nth-child(1) {
  margin-top: 100px;
}
.news-item:nth-child(1) .news-img img {
  clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
}
.news-item:nth-child(1) .news-img img.show {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.news-item:last-child .news-img img {
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}
.news-item:last-child .news-img img.show {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.news-item a:hover .news-date {
  color: #EF6A00;
  letter-spacing: 0.3em;
}
.news-item a:hover .deco-text {
  letter-spacing: 0.3em;
}
.news-item .deco-text {
  -moz-transition: letter-spacing 0.6s;
  -o-transition: letter-spacing 0.6s;
  -webkit-transition: letter-spacing 0.6s;
  transition: letter-spacing 0.6s;
}
.news-img {
  position: relative;
}
.news-img img {
  width: 100%;
  -moz-transition: clip-path 0.6s 0.4s;
  -o-transition: clip-path 0.6s 0.4s;
  -webkit-transition: clip-path 0.6s;
  -webkit-transition-delay: 0.4s;
  transition: clip-path 0.6s 0.4s;
}
.news-date {
  position: absolute;
  right: -25px;
  top: 0;
  color: #EF6A00;
  font-size: 0.875em;
  letter-spacing: 0.2em;
  -webkit-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  -moz-transition: letter-spacing 0.6s;
  -o-transition: letter-spacing 0.6s;
  -webkit-transition: letter-spacing 0.6s;
  transition: letter-spacing 0.6s;
}
.news-bg {
  width: 100%;
  height: 80%;
  background: #404040;
  position: absolute;
  top: -25px;
  left: -25px;
  z-index: -1;
}
.news-text {
  padding: 20px 0;
}

.contact-img {
  background-image: url(../images/index/contact.jpg);
  background-size: cover;
  background-position: 30% 75%;
  background-repeat: no-repeat;
  height: 40vw;
}
.contact-wrap {
  padding: 80px 8%;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  position: relative;
}
.contact-wrap.show:after {
  height: 100%;
}
.contact-wrap:after {
  content: "";
  width: 100%;
  height: 0%;
  background: #404040;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  -moz-transition: height 0.6s;
  -o-transition: height 0.6s;
  -webkit-transition: height 0.6s;
  transition: height 0.6s;
}
.contact-title {
  width: 20%;
}
.contact-inner {
  width: 80%;
  display: -ms-flexbox;
  display: flex;
}
.contact-list {
  width: 40%;
  max-width: 400px;
  margin-left: 10%;
}
.contact-item {
  display: -ms-flexbox;
  display: flex;
  position: relative;
  padding: 8px 0 8px 28px;
  font-size: 0.875em;
}
.contact-item i {
  color: #EF6A00;
  position: absolute;
  left: 0;
}
.contact-item a, .contact-item span {
  margin-top: -4px;
}

@media screen and (max-width: 1100px) {
  .top-slogan li {
    left: 5%;
  }
  .top-text {
    font-size: 20px;
  }
  .top-dot {
    width: 4px;
    height: 4px;
  }

  .profile-wrap {
    padding: 0 5%;
  }
  .profile-image {
    width: 42%;
  }
  .profile-inner {
    width: 50%;
  }
  .profile-slogan {
    padding-left: 60px;
  }
  .profile-text {
    padding-left: 60px;
  }

  .concept-bg {
    height: calc(50% + 50px);
  }
  .concept-wrap {
    padding: 0 5%;
    -webkit-flex-flow: column-reverse;
    flex-flow: column-reverse;
  }
  .concept-inner {
    width: 100%;
  }
  .concept-img {
    width: 55%;
    margin-bottom: 50px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    -moz-transition: clip-path 0.6s;
    -o-transition: clip-path 0.6s;
    -webkit-transition: clip-path 0.6s;
    transition: clip-path 0.6s;
  }
  .concept-img.show {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }

  .project-inner {
    padding: 0 5%;
  }
  .project-item a {
    height: 55vw;
  }

  .news-wrap {
    padding: 0 5%;
    -webkit-flex-flow: column;
    flex-flow: column;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
  .news-list {
    width: 95%;
  }
  .news-item {
    width: 40%;
    margin-left: 10%;
  }
  .news-item:nth-child(1) {
    margin-left: 25px;
    margin-right: calc(10% - 25px);
  }
  .news-item:last-child {
    margin-top: -50px;
  }

  .contact-img {
    height: 50vw;
  }
  .contact-wrap {
    padding: 60px 5%;
    -webkit-justify-content: center;
    justify-content: center;
  }
  .contact-title {
    width: unset;
  }
  .contact-inner {
    display: block;
  }
  .contact-list {
    max-width: unset;
    width: 80%;
    margin-left: 20%;
  }
}
@media screen and (max-width: 800px) {
  .profile-wrap {
    -webkit-flex-flow: column-reverse;
    flex-flow: column-reverse;
  }
  .profile-image {
    width: 80%;
  }
  .profile-img1 {
    clip-path: polygon(0% 0%, 100% 0%, 100% 0%, 0% 0%);
    -moz-transition: clip-path 0.6s;
    -o-transition: clip-path 0.6s;
    -webkit-transition: clip-path 0.6s;
    transition: clip-path 0.6s;
  }
  .profile-img1.show {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .profile-img2 {
    clip-path: polygon(0% 100%, 100% 100%, 100% 100%, 0% 100%);
    -moz-transition: clip-path 0.6s;
    -o-transition: clip-path 0.6s;
    -webkit-transition: clip-path 0.6s;
    transition: clip-path 0.6s;
  }
  .profile-img2.show {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
  }
  .profile-inner {
    width: 80%;
    padding-bottom: 100px;
  }
  .profile-slogan {
    padding-left: unset;
  }
  .profile-text {
    padding-left: unset;
  }

  .concept-bg {
    height: 100%;
    bottom: unset;
    top: 50%;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .concept-inner {
    width: 80%;
    margin: auto;
  }
  .concept-img {
    display: none;
  }

  .news-title {
    margin: auto;
    width: fit-content;
  }
  .news-list {
    display: block;
    margin: auto;
  }
  .news-item {
    width: 60%;
  }
  .news-item:nth-child(1) {
    margin: 100px auto 0;
  }
  .news-item:last-child {
    margin: 100px auto 0;
  }
}
@media screen and (max-width: 640px) {
  .top-img li:nth-child(1) {
    background-position: 40% 50%;
  }
  .top-slogan li {
    bottom: unset;
    top: 50%;
    left: 0;
    width: 90%;
    margin: 0 5%;
    text-align: center;
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  .top-big span {
    display: block;
  }
  .top-t {
    clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
    -moz-transition: clip-path 1.8s;
    -o-transition: clip-path 1.8s;
    -webkit-transition: clip-path 1.8s;
    transition: clip-path 1.8s;
  }
  .top-b {
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);
    -moz-transition: clip-path 1.8s;
    -o-transition: clip-path 1.8s;
    -webkit-transition: clip-path 1.8s;
    transition: clip-path 1.8s;
  }
  .top-dot {
    margin: 13px auto;
    opacity: 0;
    -moz-transition: opacity 1s;
    -o-transition: opacity 1s;
    -webkit-transition: opacity 1s;
    transition: opacity 1s;
  }
  .top-content {
    display: none;
  }

  .profile {
    padding-bottom: 100px;
  }
  .profile-wrap {
    padding: 0 25px;
  }
  .profile-image {
    width: 100%;
  }
  .profile-inner {
    width: 100%;
  }
  .profile-slogan {
    font-size: 22px;
  }
  .profile-slogan .en.show:after {
    width: 45px;
  }
  .profile-slogan .en:after {
    display: block;
    margin-left: unset;
    margin-top: 30px;
  }

  .concept {
    padding: 100px 0;
  }
  .concept-wrap {
    padding: 0 25px;
  }
  .concept-inner {
    width: 100%;
  }

  .project {
    padding-top: 100px;
  }
  .project-inner {
    padding: 0 25px;
  }
  .project-item {
    width: 100%;
  }
  .project-item:last-child {
    opacity: 1;
  }
  .project-item a {
    height: 400px;
  }
  .project-img {
    opacity: 1;
    height: 50%;
  }
  .project-img1-1 {
    background-position: 40% 50%;
    top: -10px;
  }
  .project-img2-1 {
    background-position: 60% 65%;
    top: unset;
    bottom: -10px;
  }
  .project-line {
    display: none;
  }

  .bg-img {
    background-attachment: scroll;
    background-position: 35% 50%;
    position: relative;
    height: 60vh;
  }
  .bg-img:after {
    content: "";
    width: 100%;
    height: 100%;
    background: #545859;
    position: absolute;
    top: 0;
    left: 0;
    -moz-transition: width 0.6s;
    -o-transition: width 0.6s;
    -webkit-transition: width 0.6s;
    transition: width 0.6s;
  }
  .bg-img.show:after {
    width: 0;
  }

  .news-wrap {
    padding: 0 25px;
  }
  .news-item {
    width: calc(100% - 25px);
  }

  .contact-wrap {
    padding: 50px 25px;
    display: block;
  }
  .contact-inner {
    width: 100%;
    margin-top: 50px;
  }
  .contact-list {
    width: 100%;
    margin-left: unset;
  }
}
@media screen and (max-width: 200px) {
  .project-text p {
    white-space: unset;
  }
}
