@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;
}

.choice {
  position: absolute;
  display: flex;
  align-items: center;
  width: 70%;
  margin: 0 15%;
  top: 120px;
}
.choice-bn {
  cursor: pointer;
  position: relative;
  padding: 5px;
}
.choice-bn:hover {
  color: #666;
}

.news {
  margin-bottom: 300px;
}
.news-in {
  position: relative;
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
}
.news-photo {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  -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;
}
.news-photo img {
  width: 100%;
  z-index: -2;
}
.news-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;
}
.news-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 .news-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 .news-photo:after {
  -moz-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1);
}
.news-photo.move:before {
  margin-top: -25%;
}
.news-photo.movea:before {
  margin-top: -75%;
}
.news-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;
}
.news-contents p {
  margin-bottom: 20px;
}
.news-contents p:last-child {
  margin-bottom: unset;
}
.show .news-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;
}
.news-type {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 3px;
}
.news-title {
  font-size: 16px;
  letter-spacing: 3px;
}
.news-information {
  color: #aaa;
}
.news-information span {
  display: block;
  line-height: 1.8;
  margin-bottom: 10px;
}
.news-information span:last-child {
  margin-bottom: unset;
}

.info {
  position: relative;
}
.info-in {
  position: relative;
  display: flex;
  width: 100%;
  padding-bottom: 100px;
  margin-bottom: 200px;
  border-bottom: solid 1px rgba(51, 51, 51, 0);
}
.info-in:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: unset;
}
.info-in.show {
  border-bottom: solid 1px #333;
}
.info-in.show:last-child {
  border-bottom: unset;
}
.info-in.active .info-content:nth-child(1):before {
  left: calc(100% - 30px);
}
.info-info {
  display: flex;
  flex-flow: column;
  align-items: flex-end;
}
.info-info:nth-child(1) {
  width: 40%;
}
.info-info:nth-child(1) .info-img:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #191919;
  z-index: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
  -moz-transition: -moz-transform 1s;
  -o-transition: -o-transform 1s;
  -webkit-transition: -webkit-transform 1s;
  transition: transform 1s;
}
.info-info:nth-child(1) .info-img img {
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -moz-transition: -moz-transform 0.6s;
  -o-transition: -o-transform 0.6s;
  -webkit-transition: -webkit-transform 0.6s;
  transition: transform 0.6s;
}
.show .info-info:nth-child(1) .info-img:before {
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -moz-transition-delay: 0.2s;
  -o-transition-delay: 0.2s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}
.show .info-info:nth-child(1) .info-img img {
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.info-info:nth-child(2) {
  width: calc(60% - 40px);
  height: fit-content;
  margin: auto 0 0 20px;
  padding: 20px;
  background-color: #111;
  opacity: 0;
  -moz-transform: translateX(-20px);
  -ms-transform: translateX(-20px);
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  -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-info:nth-child(2).show {
  opacity: 1;
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -webkit-transform: translateX(0);
  transform: translateX(0);
}
.info-img {
  position: relative;
  overflow: hidden;
}
.info-img img {
  width: 100%;
}
.info-title {
  width: 90px;
  height: 20px;
  padding: 30px;
  color: #fff;
  background-color: #111;
  opacity: 0;
  -moz-transform: translateY(-20px);
  -ms-transform: translateY(-20px);
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
  -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;
}
.show .info-title {
  opacity: 1;
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.info-content {
  position: relative;
}
.info-content:nth-child(1) {
  width: 100%;
  color: #fff;
  line-height: 3;
  text-align: end;
  border-bottom: solid 1px #d29a26;
}
.info-content:nth-child(1):before {
  content: "";
  position: absolute;
  width: 30px;
  height: 6px;
  left: 0;
  bottom: -3px;
  background-color: #d29a26;
  -moz-transition: left 0.6s;
  -o-transition: left 0.6s;
  -webkit-transition: left 0.6s;
  transition: left 0.6s;
}
.info-content:nth-child(2) {
  display: flex;
  margin: 20px 0 0;
}
.info-contentin {
  position: relative;
  width: 150%;
  padding: 0 20px 0 0;
  display: flex;
  flex-flow: column;
  align-items: flex-end;
}
.info-contentin p {
  display: block;
  margin: auto;
  text-align: justify;
}
.info-button {
  position: relative;
  display: inline-block;
  width: 60px;
  padding: 10px;
  margin: auto 0 auto auto;
  color: #eee;
  text-align: center;
  background-color: #333;
}
.info-button:hover {
  color: #666;
  background-color: #ddd;
}

.close .info-img {
  -webkit-filter: brightness(0.5);
  filter: brightness(0.5);
}
.close .info-title {
  background-color: transparent;
}

@media screen and (max-width: 1200px) {
  .choice {
    width: calc(100% - 100px);
    margin: 0 50px;
  }

  .limit {
    width: calc(100% - 100px);
  }
}
@media screen and (max-width: 900px) {
  .limit {
    width: calc(100% - 100px);
    margin: 200px auto;
  }

  .news {
    margin-bottom: 30px;
  }
  .news-title, .news-information, .news-photo {
    display: none;
  }
  .news-contents {
    width: 100%;
    margin: 0;
    text-align: center;
  }

  .info {
    width: 80%;
    padding: 10%;
    background-color: #111;
  }
  .info-in {
    display: block;
    padding-bottom: 50px;
    margin-bottom: 100px;
  }
  .info-info:nth-child(1) {
    width: 100%;
    flex-flow: row;
  }
  .info-info:nth-child(2) {
    width: 100%;
    padding: 30px 0;
    margin: 0;
  }
  .info-info:nth-child(2) .info-img {
    display: none;
  }
  .info-title {
    position: absolute;
    background-color: transparent;
  }
  .info-contentin {
    width: 100%;
    padding: 0;
    align-items: center;
  }
  .info-contentin p {
    text-align: center;
  }
  .info-content:nth-child(1) {
    text-align: center;
  }
  .info-content:nth-child(2) {
    width: 100%;
  }
  .info-button {
    margin: 20px auto 0;
  }
}
@media screen and (max-width: 640px) {
  .limit {
    width: calc(100% - 40px);
    margin: 200px auto;
  }

  .choice {
    width: calc(100% - 40px);
    margin: 0 20px;
  }

  .info {
    width: 100%;
    padding: 0;
    background-color: #f0ebe5;
  }
  .info-in {
    border-bottom: unset;
    padding-bottom: 0;
  }
  .info-in.show {
    border-bottom: unset;
  }
  .info-info:nth-child(1) .info-img:before {
    background-color: #948b81;
  }
  .info-info:nth-child(2) {
    width: calc(100% - 60px);
    padding: 30px;
    background-color: #ded8d1;
  }
  .info-content:nth-child(1) {
    color: #7f725f;
    border-bottom: solid 1px #948b81;
  }
  .info-content:nth-child(1):before {
    background-color: #948b81;
  }
  .info-button {
    background-color: rgba(240, 235, 229, 0);
    border: solid 1px #ccc6be;
    color: #696558;
  }
  .info-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  .close .info-img {
    -webkit-filter: contrast(0.5);
    filter: contrast(0.5);
  }
}
