@import url("https://fonts.googleapis.com/css?family=Poppins&display=swap");
.square-box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.square-list {
  width: 33.33333%;
  position: relative;
  overflow: hidden;
}
.square-list:nth-child(odd) .square-pic {
  opacity: 0.15;
}
.square-list:nth-child(even) {
  cursor: pointer;
}
.square-list:nth-child(even):hover .square-pic {
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  -webkit-filter: unset;
  filter: unset;
}
.square-list:nth-child(10) {
  display: none;
}
.square-pic {
  width: 100%;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  -moz-transition: filter 0.3s, -moz-transform 0.5s ease-in-out;
  -o-transition: filter 0.3s, -o-transform 0.5s ease-in-out;
  -webkit-transition: filter 0.3s, -webkit-transform 0.5s ease-in-out;
  transition: filter 0.3s, transform 0.5s ease-in-out;
}
.square-pic img {
  width: 100%;
}
.square-text {
  position: absolute;
  top: 50%;
  left: 50%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 60%;
  text-align: center;
}
.square-text span {
  letter-spacing: 0.2em;
}

.contact {
  position: relative;
}
.contact-map {
  height: 33.3333vw;
}
.contact #map {
  height: 33.3333vw;
}
.contact-content {
  position: absolute;
  top: 50%;
  right: 15%;
  padding: 5%;
  box-sizing: border-box;
  width: 450px;
  background-color: #1d1d1d;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
.contact-title {
  color: #fff;
  font-size: 24px;
  margin-bottom: 30px;
}
.contact-text {
  font-size: 12px;
}
.contact li {
  margin: 5px 0;
}
.contact li a:hover {
  color: #e2a688;
}
.contact .en {
  color: #999;
  margin-top: 15px;
}

@media screen and (max-width: 1400px) {
  .contact-content {
    right: 5%;
    width: 430px;
  }
}
@media screen and (max-width: 1100px) {
  .square-list {
    width: 50%;
  }
  .square-list:nth-child(odd) {
    margin-right: 50%;
  }
  .square-list:nth-child(odd) .square-pic {
    opacity: 0.15;
  }
  .square-list:nth-child(even) {
    margin-left: 50%;
  }
  .square-list:nth-child(10) {
    display: block;
  }
  .square-pic {
    -webkit-filter: saturate(70%);
    filter: saturate(70%);
  }
  .square-text {
    width: 80%;
  }

  .contact {
    display: flex;
    align-items: center;
  }
  .contact-map {
    width: 50%;
    height: 300px;
  }
  .contact-map #map {
    height: 300px;
  }
  .contact-content {
    width: 50%;
    height: 300px;
    position: relative;
    background-color: #f7f7f7;
    top: unset;
    right: unset;
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  .contact-title {
    color: #e2a688;
  }
  .contact-text {
    color: #1d1d1d;
  }
}
@media screen and (max-width: 640px) {
  .square-list {
    width: 100%;
  }
  .square-list:nth-child(odd) {
    margin-right: 0;
  }
  .square-list:nth-child(even) {
    margin-left: 0;
  }

  .contact {
    display: block;
  }
  .contact-map {
    width: 100%;
    height: 100vw;
  }
  .contact-map #map {
    height: 100vw;
  }
  .contact-content {
    width: 100%;
    height: unset;
    padding: 30px;
  }
}
