.intro {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 50;
}
.intro-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f6f6f6;
}
.intro-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 208px;
  height: 50px;
  opacity: 0;
  -moz-transform: translate(-50%, -50%) scale(1.2);
  -ms-transform: translate(-50%, -50%) scale(1.2);
  -webkit-transform: translate(-50%, -50%) scale(1.2);
  transform: translate(-50%, -50%) scale(1.2);
  -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-img {
  position: absolute;
  top: 0px;
  left: 34px;
  -moz-transition: left 0.6s 2s;
  -o-transition: left 0.6s 2s;
  -webkit-transition: left 0.6s;
  -webkit-transition-delay: 2s;
  transition: left 0.6s 2s;
}
.show-intro .intro-img {
  left: 0px;
}
.intro-text {
  position: absolute;
  top: 35px;
  right: 2px;
  opacity: 0;
  -moz-transition: opacity 0.6s 2s;
  -o-transition: opacity 0.6s 2s;
  -webkit-transition: opacity 0.6s;
  -webkit-transition-delay: 2s;
  transition: opacity 0.6s 2s;
}
.show-intro .intro-text {
  opacity: 1;
}
.intro-text2 {
  position: absolute;
  top: 0px;
  right: 0px;
  opacity: 0;
  -moz-transition: opacity 0.6s 2s;
  -o-transition: opacity 0.6s 2s;
  -webkit-transition: opacity 0.6s;
  -webkit-transition-delay: 2s;
  transition: opacity 0.6s 2s;
}
.show-intro .intro-text2 {
  opacity: 1;
}

#intro-logo-img polyline, #intro-logo-img line, #intro-logo-img rect {
  -moz-transition: stroke-dashoffset 1s;
  -o-transition: stroke-dashoffset 1s;
  -webkit-transition: stroke-dashoffset 1s;
  transition: stroke-dashoffset 1s;
}
.show-intro #intro-logo-img polyline, .show-intro #intro-logo-img line, .show-intro #intro-logo-img rect {
  stroke-dashoffset: 0px;
}

#l1 polyline, #l2 polyline {
  stroke-dasharray: 100px;
  stroke-dashoffset: 100px;
}

#i1 line, #i2 line {
  stroke-dasharray: 80px;
  stroke-dashoffset: 80px;
}
.show-intro #i1 line, .show-intro #i2 line {
  -moz-transition-delay: 0.3s;
  -o-transition-delay: 0.3s;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

#i3 line, #i4 line {
  stroke-dasharray: 20px;
  stroke-dashoffset: 20px;
}
.show-intro #i3 line, .show-intro #i4 line {
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

#h1 line {
  stroke-dasharray: 100px;
  stroke-dashoffset: 100px;
}
.show-intro #h1 line {
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

#h2 polyline {
  stroke-dasharray: 150px;
  stroke-dashoffset: 150px;
}
.show-intro #h2 polyline {
  -moz-transition-delay: 0.6s;
  -o-transition-delay: 0.6s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

#h3 polyline {
  stroke-dasharray: 150px;
  stroke-dashoffset: 150px;
}
.show-intro #h3 polyline {
  -moz-transition-delay: 0.9s;
  -o-transition-delay: 0.9s;
  -webkit-transition-delay: 0.9s;
  transition-delay: 0.9s;
}

#o1 rect, #o2 rect {
  stroke-dasharray: 150px;
  stroke-dashoffset: 150px;
}
.show-intro #o1 rect, .show-intro #o2 rect {
  -moz-transition-delay: 0.9s;
  -o-transition-delay: 0.9s;
  -webkit-transition-delay: 0.9s;
  transition-delay: 0.9s;
}

.main {
  padding-top: calc(6vw - 50px);
}

.top {
  height: calc(100vh - 150px);
  margin-bottom: 50px;
}
.top-images {
  overflow: hidden;
}
.top-images li {
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -moz-transition: -moz-transform 8s;
  -o-transition: -o-transform 8s;
  -webkit-transition: -webkit-transform 8s;
  transition: transform 8s;
}
.top-images li.show-img {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}
.top-images li:nth-child(1) {
  background-position: 20% 70%;
}
.top-images li:nth-child(2) {
  background-position: 85% 65%;
}
.top-images li:nth-child(3) {
  background-position: 50% 50%;
}
.top-slogan li {
  position: absolute;
  z-index: 5;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
  max-width: 270px;
}
.top-slogan li.show-text {
  opacity: 1;
}
.top-slogan li:nth-child(1) {
  top: 30%;
  right: 5%;
}
.top-slogan li:nth-child(2) {
  top: 30%;
  left: 7%;
}
.top-slogan li:nth-child(3) {
  bottom: 43%;
  right: 10%;
}
.top-slogan-top, .top-slogan-bottom {
  display: flex;
  -webkit-align-items: baseline;
  align-items: baseline;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-size: 1.75em;
  color: #FFF;
  white-space: nowrap;
  -moz-transition: clip-path 1s;
  -o-transition: clip-path 1s;
  -webkit-transition: clip-path 1s;
  transition: clip-path 1s;
}
.show-text .top-slogan-top, .show-text .top-slogan-bottom {
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
}
.top-slogan-top {
  clip-path: polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%);
}
.top-slogan-bottom {
  clip-path: polygon(100% 0%, 100% 100%, 100% 100%, 100% 0%);
}
.top-slogan-top:after, .top-slogan-bottom:before {
  content: "";
  height: 1px;
  min-width: 50px;
  width: 100%;
  display: block;
  background: #FFF;
  opacity: 0.3;
}
.top-slogan-top:after {
  margin-left: 10px;
}
.top-slogan-bottom:before {
  margin-right: 10px;
}
.top-slogan-small {
  position: relative;
  font-size: 0.75rem;
  color: #ccc;
  margin-top: 20px;
  opacity: 0;
  top: 20px;
  -moz-transition: top 0.6s 1s, opacity 0.6s 1s;
  -o-transition: top 0.6s 1s, opacity 0.6s 1s;
  -webkit-transition: top 0.6s, opacity 0.6s;
  -webkit-transition-delay: 1s, 1s;
  transition: top 0.6s 1s, opacity 0.6s 1s;
}
.show-text .top-slogan-small {
  opacity: 1;
  top: 0px;
}

.slogan-content {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 300;
  font-size: 1.25em;
  color: #000;
  opacity: 0;
  -moz-transform: translateX(40px);
  -ms-transform: translateX(40px);
  -webkit-transform: translateX(40px);
  transform: translateX(40px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.slogan-content.show {
  opacity: 1;
  -moz-transform: translateX(0px);
  -ms-transform: translateX(0px);
  -webkit-transform: translateX(0px);
  transform: translateX(0px);
}

.about-container {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.about-img {
  position: relative;
  width: 40%;
}
.about-img:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f6f6f6;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.about-img.show:after {
  width: 0;
}
.about-img img {
  width: 100%;
}
.about-content {
  width: 30%;
  margin: 0 15%;
}
.about-text {
  margin-bottom: 0;
}

.innerimg-img {
  padding-bottom: 40vw;
  background-size: cover;
  background-position: center;
}

.concept-container {
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
.concept-img {
  position: relative;
  width: 30%;
}
.concept-img:after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #f6f6f6;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.concept-img.show:after {
  width: 0;
}
.concept-img img {
  width: 100%;
}
.concept-content {
  width: 30%;
  margin: 0 20%;
}
.concept-text {
  margin-bottom: 0;
}

.project-title {
  width: fit-content;
  margin: 0 auto 40px;
}
.project-list {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.project-item {
  width: 24%;
  margin: 0.5%;
  text-align: center;
  opacity: 0;
  -moz-transition: opacity 0.6s;
  -o-transition: opacity 0.6s;
  -webkit-transition: opacity 0.6s;
  transition: opacity 0.6s;
}
.project-item.show {
  opacity: 1;
}
.project-img {
  position: relative;
}
.project-img img {
  width: 100%;
}
.project-img:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #f6f6f6;
}
.project-item:nth-child(4n+1) .project-img:after {
  top: 0;
  left: 0;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.project-item:nth-child(4n+2) .project-img:after {
  top: 0;
  left: 0;
  -moz-transition: height 0.6s;
  -o-transition: height 0.6s;
  -webkit-transition: height 0.6s;
  transition: height 0.6s;
}
.project-item:nth-child(4n+3) .project-img:after {
  top: 0;
  right: 0;
  -moz-transition: width 0.6s;
  -o-transition: width 0.6s;
  -webkit-transition: width 0.6s;
  transition: width 0.6s;
}
.project-item:nth-child(4n) .project-img:after {
  bottom: 0;
  left: 0;
  -moz-transition: height 0.6s;
  -o-transition: height 0.6s;
  -webkit-transition: height 0.6s;
  transition: height 0.6s;
}
.project-item.show:nth-child(2n+1) .project-img:after {
  width: 0;
}
.project-item.show:nth-child(2n) .project-img:after {
  height: 0;
}
.project-info {
  background: #f6f6f6;
  padding: 40px 10px;
  line-height: 1.2;
}
.project-name {
  color: #000;
  font-size: 0.875em;
}
.project-text {
  font-size: 0.75em;
}
.project-btn {
  margin: 60px auto 0;
}

.contact-map {
  position: relative;
  padding-bottom: 40%;
  background: #f6f6f6;
}
.contact-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.contact-map:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f6f6f6;
  -moz-transition: height 0.6s;
  -o-transition: height 0.6s;
  -webkit-transition: height 0.6s;
  transition: height 0.6s;
}
.contact-map.show:after {
  height: 0;
}
.contact-container {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-top: 6vw;
}
.contact-title {
  margin: 0;
}
.contact-content {
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  line-height: 40px;
  max-width: 600px;
  font-size: 0.875em;
  opacity: 0;
  -moz-transform: translateY(40px);
  -ms-transform: translateY(40px);
  -webkit-transform: translateY(40px);
  transform: translateY(40px);
  -moz-transition: opacity 0.6s, -moz-transform 0.6s;
  -o-transition: opacity 0.6s, -o-transform 0.6s;
  -webkit-transition: opacity 0.6s, -webkit-transform 0.6s;
  transition: opacity 0.6s, transform 0.6s;
}
.show .contact-content {
  opacity: 1;
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -webkit-transform: translateY(0px);
  transform: translateY(0px);
}
.contact-content li:before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 1px;
  width: 30px;
  margin-right: 10px;
  background: #ccc;
}
.contact-content span {
  display: inline-block;
  width: 60px;
  color: #000;
}
.contact-content .tel {
  order: 2;
}
.contact-content .fax {
  order: 4;
}
.contact-content .add {
  order: 1;
}
.contact-content .mail {
  order: 3;
}

@media screen and (max-width: 1100px) {
  .about-content {
    width: 45%;
    margin: 0 0 0 10%;
  }
  .about-img {
    width: 45%;
  }

  .concept-content {
    width: 45%;
    margin: 0 10% 0 0;
  }
  .concept-img {
    width: 50%;
  }

  .slogan-content {
    font-size: 1.125em;
  }

  .project-item {
    width: 49%;
  }

  .contact-container {
    display: block;
  }
  .contact-title {
    margin: 0 auto 40px;
    width: fit-content;
  }
  .contact-content {
    margin: auto;
    max-width: 550px;
  }
  .contact-map {
    padding-bottom: 60%;
  }
}
@media screen and (max-width: 800px) {
  .about-container, .concept-container {
    display: block;
  }
  .about-img, .concept-img {
    width: auto;
  }
  .about-content, .concept-content {
    width: auto;
    margin: 40px 0 0;
  }

  .project-title, .contact-title {
    width: auto;
  }

  .contact-content {
    margin: 0;
  }
}
@media screen and (max-width: 640px) {
  .top {
    height: calc(100vh - 80px);
    margin: 60px 30px 20px;
  }
  .top-slogan {
    display: none;
  }

  .project-list {
    display: block;
    margin: 0;
  }
  .project-item {
    width: auto;
    margin: 20px 0;
  }
  .project-btn {
    margin-top: 40px;
  }

  .slogan-content {
    font-size: 0.875em;
  }

  .contact-content {
    display: block;
  }
  .contact-content span {
    width: 50px;
  }
  .contact-content li:before {
    width: 20px;
  }
  .contact-map {
    padding-bottom: 100%;
  }
}
@media screen and (max-height: 700px) {
  .top-slogan li {
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
  }
}
@media screen and (max-height: 500px) {
  .top-slogan {
    display: none;
  }
}
