@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");
@import url("https://fonts.googleapis.com/css?family=Didact+Gothic");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Langar&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Ruluko&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat&family=Noto+Sans+TC:wght@300&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Tangerine&display=swap");
.main {
  overflow: hidden;
}

.limit {
  position: relative;
  width: 70%;
  margin: 200px auto 150px;
}

@-moz-keyframes imgmask {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
@-webkit-keyframes imgmask {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
@keyframes imgmask {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}
.info-in {
  position: relative;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
}
.info-inner {
  display: flex;
  flex-flow: wrap;
  width: 80%;
  margin: auto;
}
.info-photo {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}
.info-photo img {
  width: 100%;
  z-index: -2;
}
.info-photo:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 75%;
  right: 0;
  opacity: 0;
  z-index: -2;
  background-color: rgba(0, 0, 0, 0.5);
  -moz-transform-origin: left 50%;
  -ms-transform-origin: left 50%;
  -webkit-transform-origin: left 50%;
  transform-origin: left 50%;
  -moz-transform: translate(50%, -200px) scale(0, 1);
  -ms-transform: translate(50%, -200px) scale(0, 1);
  -webkit-transform: translate(50%, -200px) scale(0, 1);
  transform: translate(50%, -200px) scale(0, 1);
  -moz-transition: -moz-transform 0.8s, opacity 0.8s, margin-top 0.8s;
  -o-transition: -o-transform 0.8s, opacity 0.8s, margin-top 0.8s;
  -webkit-transition: -webkit-transform 0.8s, opacity 0.8s, margin-top 0.8s;
  transition: transform 0.8s, opacity 0.8s, margin-top 0.8s;
}
.info-photo:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #191919;
  z-index: -1;
  -moz-transform-origin: left 50%;
  -ms-transform-origin: left 50%;
  -webkit-transform-origin: left 50%;
  transform-origin: left 50%;
  -moz-transform: scale(1, 1);
  -ms-transform: scale(1, 1);
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.show .info-photo:before {
  -moz-transform: translate(50%, -200px) scale(1, 1);
  -ms-transform: translate(50%, -200px) scale(1, 1);
  -webkit-transform: translate(50%, -200px) scale(1, 1);
  transform: translate(50%, -200px) scale(1, 1);
  opacity: 1;
}
.show .info-photo:after {
  -moz-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}
.info-photo.move:before {
  margin-top: -25%;
}
.info-photo.movea:before {
  margin-top: -75%;
}
.info-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: -1;
}
.info-img img {
  width: 100%;
  -webkit-filter: saturate(0.7);
  filter: saturate(0.7);
  -moz-transition: -moz-transform 0.6s, filter 0.6s;
  -o-transition: -o-transform 0.6s, filter 0.6s;
  -webkit-transition: -webkit-transform 0.6s, filter 0.6s;
  transition: transform 0.6s, filter 0.6s;
}
.info-img:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -moz-transform-origin: left 50%;
  -ms-transform-origin: left 50%;
  -webkit-transform-origin: left 50%;
  transform-origin: left 50%;
  -moz-transition: -moz-transform 0.8s, opacity 0.8s;
  -o-transition: -o-transform 0.8s, opacity 0.8s;
  -webkit-transition: -webkit-transform 0.8s, opacity 0.8s;
  transition: transform 0.8s, opacity 0.8s;
  z-index: 1;
}
.info-text {
  position: absolute;
  top: 20px;
  left: 20px;
  text-align: center;
  -moz-transition: letter-spacing 0.6s, background-color 0.6s;
  -o-transition: letter-spacing 0.6s, background-color 0.6s;
  -webkit-transition: letter-spacing 0.6s, background-color 0.6s;
  transition: letter-spacing 0.6s, background-color 0.6s;
}
.info-content {
  position: relative;
  margin: auto;
  display: flex;
  align-items: unset;
  justify-content: center;
}
.info-content:hover .info-img {
  cursor: auto;
}
.info-content:hover .info-img img {
  -webkit-filter: saturate(1);
  filter: saturate(1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.info-content:hover .info-img:before {
  opacity: 1;
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.info-content:hover .info-text {
  cursor: crosshair;
  letter-spacing: 5px;
}
.info-content:hover .info-name:before {
  -moz-transform: scaleX(1);
  -ms-transform: scaleX(1);
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
  background-color: #aaaaaa;
}
.info-contents {
  position: relative;
  width: 85%;
  margin: 0 15% 0 0;
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: -moz-transform 0.8s, opacity 0.8s;
  -o-transition: -o-transform 0.8s, opacity 0.8s;
  -webkit-transition: -webkit-transform 0.8s, opacity 0.8s;
  transition: transform 0.8s, opacity 0.8s;
}
.info-contents p {
  margin-bottom: 20px;
}
.info-contents p:last-child {
  margin-bottom: unset;
}
.show .info-contents {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -moz-transition: -moz-transform 0.8s, opacity 0.8s;
  -o-transition: -o-transform 0.8s, opacity 0.8s;
  -webkit-transition: -webkit-transform 0.8s, opacity 0.8s;
  transition: transform 0.8s, opacity 0.8s;
}
.info-contentin {
  width: calc(50% - 10px);
  opacity: 0;
  -moz-transform: translateY(20px);
  -ms-transform: translateY(20px);
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -moz-transition: -moz-transform 0.8s, opacity 0.8s;
  -o-transition: -o-transform 0.8s, opacity 0.8s;
  -webkit-transition: -webkit-transform 0.8s, opacity 0.8s;
  transition: transform 0.8s, opacity 0.8s;
}
.info-contentin:nth-child(odd) {
  margin-right: auto;
  margin-bottom: 20px;
}
.info-contentin:nth-child(even) {
  margin-left: auto;
}
.info-contentin.show {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -moz-transition: -moz-transform 0.8s, opacity 0.8s;
  -o-transition: -o-transform 0.8s, opacity 0.8s;
  -webkit-transition: -webkit-transform 0.8s, opacity 0.8s;
  transition: transform 0.8s, opacity 0.8s;
}
.info-type {
  font-size: 12px;
  color: #aaa;
}
.info-name {
  position: relative;
}
.info-name:before {
  content: "";
  position: absolute;
  width: calc(100% + 10px);
  height: 1px;
  margin-left: -7.5px;
  margin-top: 25px;
  background-color: rgba(170, 170, 170, 0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -moz-transition: -moz-transform 0.6s, opacity 0.6s;
  -o-transition: -o-transform 0.6s, opacity 0.6s;
  -webkit-transition: -webkit-transform 0.6s, opacity 0.6s;
  transition: transform 0.6s, opacity 0.6s;
}
.info-title {
  font-size: 16px;
}
.info-information {
  display: inline-block;
}
.info-information span {
  display: block;
  line-height: 1.8;
  margin-bottom: 10px;
}
.info-information span:last-child {
  margin-bottom: unset;
}

.consult {
  position: relative;
  width: 144%;
  left: -22%;
}
.consult-in {
  position: relative;
  width: 100%;
  height: 30vw;
  background-position: center;
  background-attachment: fixed;
}

.content {
  margin-bottom: 200px;
}

@media screen and (max-width: 1200px) {
  .limit {
    width: calc(100% - 100px);
  }
}
@media screen and (max-width: 900px) {
  .info-inner {
    width: 100%;
  }
  .info-in {
    flex-flow: column-reverse;
  }
  .info-photo {
    display: none;
  }
  .info-photo:before {
    top: 0;
  }
  .show .info-photo:before {
    width: calc(100% + 200px);
    -moz-transform: translate(100px, -200px) scale(1, 1);
    -ms-transform: translate(100px, -200px) scale(1, 1);
    -webkit-transform: translate(100px, -200px) scale(1, 1);
    transform: translate(100px, -200px) scale(1, 1);
    opacity: 1;
    -moz-transition: -moz-transform 0.8s, opacity 0.8s;
    -o-transition: -o-transform 0.8s, opacity 0.8s;
    -webkit-transition: -webkit-transform 0.8s, opacity 0.8s;
    transition: transform 0.8s, opacity 0.8s;
  }
  .info-contents {
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .info-information {
    display: none;
  }

  .content {
    margin-bottom: 30px;
  }
}
@media screen and (max-width: 640px) {
  .limit {
    width: calc(100% - 40px);
    margin: 200px auto 100px;
  }

  .info-inner {
    width: 80%;
  }
  .info-photo {
    height: 50vw;
    overflow: hidden;
  }
  .info-photo img {
    z-index: 0;
  }
  .info-photo:after {
    z-index: 0;
  }
  .info-contentin {
    width: 100%;
    margin-bottom: 30px;
  }
  .info-contentin:nth-child(odd), .info-contentin:nth-child(even) {
    margin-right: unset;
    margin-left: unset;
  }
  .info-contentin:nth-child(odd) .info-content, .info-contentin:nth-child(even) .info-content {
    flex-flow: column;
  }
  .info-contentin:last-child {
    margin-bottom: unset;
  }
  .info-img {
    width: 100%;
  }
  .info-text {
    top: 10px;
    color: #fff;
  }
  .info-content {
    position: relative;
    margin: auto;
    display: flex;
    align-items: unset;
    justify-content: center;
  }
  .info-content:hover .info-img {
    cursor: auto;
  }
  .info-content:hover .info-img img {
    -webkit-filter: saturate(1);
    filter: saturate(1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
  }
  .info-content:hover .info-img:before {
    opacity: 1;
    -moz-transform: scaleX(1);
    -ms-transform: scaleX(1);
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  .info-content:hover .info-open {
    border-width: 0;
  }
  .info-content:hover .info-name:before {
    -moz-transform: scaleX(0);
    -ms-transform: scaleX(0);
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
  }
  .info-content:hover .info-name:after {
    opacity: 0;
  }
}
@media screen and (max-width: 450px) {
  .info-inner {
    width: 100%;
  }
}
