#goTop {
  position: fixed;
  right: 2vw;
  bottom: 12vh;
  z-index: 10;
  padding: 8px 12px;
  border-radius: 50%;
  background-color: #4c352c;
  border: 2px solid #4c352c;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.5s;
}

#goTop:hover {
  background-color: transparent;
  color: #4c352c;
}

/* youtube */

@media (min-width: 768px) {

  .google_map iframe {
    width: 100%;
    height: 70vh;
  }
}

/* video2 */

/* 圖說文字 */
.img_info_wrap {
  position: relative;
}

.img_info {
  position: absolute;
  right: 0px;
  bottom: 20px;
  font-size: 1rem;
  color: #eee;
  /* font-weight: bold; */
  /* letter-spacing: 0.05rem; */
  /* text-shadow: 1px 1px 2px #000; */
  background-color: rgba(0, 0, 0, 0.6);
  padding: 5px 10px 6px;
}

@media (max-width: 768px) {
  .img_info {
    font-size: 0.8rem;
  }
}

/* 左右滑動 大圖*/

@keyframes swipe {
  0% {
    transform: translateX(-5px);
  }
  25% {
    transform: translateX(5px);
  }
  50% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(-5px);
  }
}

.translate-unset {
  transform: unset;
}

/* slick */

/* swiper */
.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: unset;
  bottom: 30px;
  left: unset;
  width: 30px;
  height: 30px;
  background-size: cover;
  --swiper-theme-color: #fff;
}

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after,
.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  /* content: ""; */
  font-size: 1.6rem;
}

.swiper-button-prev {
  right: 60px;
  /* background-image: url(../images/prev-38.svg); */
}

.swiper-button-next {
  right: 20px;
  /* background-image: url(../images/next-38.svg); */
}

@media (max-width: 768px) {
  .swiper-button-prev,
  .swiper-button-next {
    bottom: 40%;
  }

  .swiper-button-prev {
    right: unset;
    left: 10px;
  }

  .swiper-button-next {
    right: 10px;
  }
}

.swiper-horizontal > .swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 0%;
}

.swiper-pagination {
  bottom: -4% !important;
  width: 50% !important;
  text-align: right !important;
  z-index: 5;
}

.swiper-pagination-bullet {
  width: 60px;
  height: 8px;
  border-radius: 0;
  background-color: #cccccc;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #ce9d5a;
}

.swiper-pagination-bullet:last-child {
  margin-right: 0 !important;
}

@media (max-width: 768px) {

  #contact-form {
    width: 90% !important;
    top: 16%;
    padding: 20% 0% !important;
  }
}

/* #fullpage{
 padding-top: calc(48px + 0.5rem);
} */

/*bnnaer*/
.bannerBox {
  height: 101vh;
  /* text-align: center; */
  background-color: #ebd0b3;
  /* background-image: url(../images/bg.jpg); */
  background-image: url(../images/banner_bg.jpg);
  background-position: top;
  background-size: cover;
}

.bannerBox:after {
  content: "";
  transition: 0.5s all;
  animation-name: fadeDown;
  animation-duration: 1s;
  animation-delay: 1s;

  animation-fill-mode: both;
}

.banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 2% 0 0;
  /* padding-left: 1rem; */
  width: 100%;
  height: 100vh;
  transition: 0.2s all;
  animation-name: fadeDown;
  animation-duration: 2s;

  animation-fill-mode: backwards;
}

.banner:before {
  position: absolute;
  bottom: 3%;
  left: 3%;
  color: #717071;
  content: "";
  font-size: 10px;
  transition: 0.2s all;
  animation-name: fadeUp;
  animation-duration: 1s;
  animation-delay: 1.8s;

  animation-fill-mode: both;
}

.banner .banner_bg2 {
  position: absolute;
  bottom: -5%;
  width: 100%;
}

.banner .top_txt {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40%;
}

.banner .top_txt img {
  width: 100%;
}

/* desktop */

/* p7 swiper  */
.swiper {
  width: 100%;
}

.swiper img {
  width: 100%;
}

@media (max-width: 1024px) {
  .banner {
    flex-direction: column;
  }
}

@media (max-width: 1023px) {
  .banner {
    flex-direction: column;
  }
}

@media (max-width: 769px) {
  #body {
    overflow-x: hidden !important;
  }
}

/* txt effect */

/* new txt effect */

/* p2知森堂 */
.section.ab {
  padding: 20vh 0;
  position: relative;
}

.section.ab .wrap {
  width: 90%;
  margin: auto;
  position: relative;
}

.section.ab .s2_slogan {
  width: 100%;
  margin: auto;
}

.section.ab .title {
  position: relative;
  width: 90%;
}

.section .s2_txt_bg_wrap {
  position: relative;
  width: 90%;
  display: flex;
  justify-content: flex-end;
}

.section .s2_txt_bg {
  width: 70%;
}

.section .s2_txt {
  position: absolute;
  top: 0;
  right: 0;
  width: 70%;
}

.asset {
  position: absolute;
}

.asset.left1 {
  top: 30%;
  left: 0;
  width: 25%;
}

.asset.right1 {
  bottom: -60%;
  right: 0;
  width: 35%;
}

/* p3 */
.section3 .swiper {
  width: 50%;
  margin: unset;
}

.section3 .price {
  width: 65%;
  margin: auto;
  margin-top: 10rem;
}

/* p4 */
.section4 .left2 {
  position: absolute;
  left: 0;
  bottom: 0%;
  width: 40%;
}

.section4 .right2 {
  position: absolute;
  right: 0;
  bottom: -5%;
  width: 60%;
}

.section.ab.section4 .title {
  /* width: 80%; */
  margin: auto;
}

.section4 .map {
  width: 80%;
  margin: 0 auto 5rem;
}

.section4 .s4_txt_bg_wrap {
  width: 90%;
  /* margin: auto; */
  display: flex;
  justify-content: flex-end;
}

.section4 .s4_txt_bg_wrap .s4_txt_bg,
.section4 .s4_txt_bg_wrap .s4_txt {
  width: 55%;
}

.section4 .s4_txt_bg_wrap .s4_txt_bg {
  position: absolute;
  top: 0;
  right: 0;
}

/* p5 */
.section5 .s5_slogan {
  width: 100%;
}

.section5 .title.s5_title {
  width: 90%;
  margin: auto;
}

.section5 .s5_tools {
  width: 90%;
  margin: auto;
}

@media (max-width: 768px) {
  /* p2知森堂 */
  .section.ab {
    padding: 0vh 0 5vh;
  }

  .section.ab .title {
    width: 100%;
    margin: auto;
    margin-top: 5vh;
  }

  .section .s2_txt_bg_wrap {
    width: 100%;
    justify-content: center;
    margin-top: 5vh;
  }

  .section .s2_txt_bg {
    width: 100%;
  }

  .section .s2_txt {
    width: 100%;
    right: unset;
  }

  /* p3 */
  .section3 .swiper {
    width: 100%;
    margin-top: 2rem;
  }

  .swiper-pagination {
    bottom: -10% !important;
    width: 100% !important;
    text-align: right !important;
  }

  .swiper-pagination-bullet {
    width: 20px;
    height: 8px;
    border-radius: 0;
    opacity: 1;
  }

  .section3 .price {
    width: 90%;
    margin-top: 5rem;
  }

  /* p4 */
  .section4 .left2 {
    left: 0;
    bottom: 25%;
    width: 35%;
  }

  .section4 .right2 {
    bottom: 5%;
    width: 60%;
  }
  .section.ab.section4 .title {
    margin-top: 2rem;
  }

  .section4 .map {
    width: 100%;
    margin: 2rem auto 2rem;
  }

  .section4 .s4_txt_bg_wrap {
    width: 100%;
    margin: auto;
  }

  .section4 .s4_txt_bg_wrap .s4_txt_bg,
  .section4 .s4_txt_bg_wrap .s4_txt {
    width: 100%;
  }

  /* p5 */
  .section5 .s5_tools {
    width: 100%;
    margin-top: 2rem;
  }
}

#p4 .swiper.mb_show {
  position: absolute;
  width: 90%;
  bottom: 7%;
  left: 5%;
}

/* .full_bg_img {
    background-image: url(../images/06full_bg.jpg);
    background-size: cover;
    background-position: top;
    background-repeat: repeat;
    background-attachment: fixed;
} */

/* txt effect mobile */
@media (max-width: 767px) {
  /* new effect */

  /* .full_bg_img {
        background-image: url(../images/06full_bg.jpg);
        background-size: cover;
        background-position: top;
        background-repeat: no-repeat;
        background-attachment: fixed;
    } */
}

/* info link */

/* case_info */
.info_map_wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 80%;
  margin: auto;
}

/* google map */
.google_map {
  width: 45%;
}

.google_map iframe {
  width: 100%;
  height: 100%;
}

.case_info_wrap {
  text-align: left;
  font-size: 1.3rem;
  margin-top: 30px;
  color: #6b411a;
  font-weight: bold;
  width: 50%;
}

.case_info_wrap p {
  display: flex;
}

.case_info_wrap .bold {
  margin-right: 40px;
}

.case_info_wrap .bold::after {
  position: absolute;
  content: "";
  right: -22px;
  top: 10%;
  height: 80%;
  width: 2px;
  background-color: #6b411a;
}

/* form */

.form-control {
  display: inline-block;
  text-indent: 5px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #a57444;
  border-radius: 0;
  padding: 0.8rem 0.75rem;
  height: auto;
}

select.form-control {
  display: inline-block;
  text-indent: 0;
}

.county,
.district {
  display: inline-block;
  padding: 0.8rem 0.75rem;
  height: auto;
  border: none;
  border-bottom: 2px solid #a57444;
  border-radius: 0;
  background-color: transparent;
  background-clip: padding-box;
  color: #495057;
  font-weight: 400;
  font-size: 1rem;
  /* line-height: 1.5; */
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out;
}

.district {
  margin-right: 0;
}

@media only screen and (max-width: 428px) and (max-height: 926px) and (-webkit-device-pixel-ratio: 3) {
  @media (max-width: 768px) {
    .form-control {
      text-indent: 2px;
    }

    select.form-control {
      text-indent: 5px;
    }

    .county,
    .district {
      text-indent: 5px;
    }
  }
}

@media only screen and (max-width: 428px) and (max-height: 926px) and (-webkit-device-pixel-ratio: 2) {
  @media (max-width: 768px) {
    .form-control {
      text-indent: 2px;
    }

    select.form-control {
      text-indent: 5px;
    }

    .county,
    .district {
      text-indent: 5px;
    }
  }
}

.form_info {
  margin: 40px auto;
  color: #222;
  text-align: left;
  font-size: 0.7rem;
  font-weight: bold;
}

.form_info p {
  margin-top: 5px;
  margin-bottom: 0;
  text-align: justify;
  display: flex;
  flex-direction: column;
}

#contact-form {
  display: block !important;
  margin: auto;
  padding: 10% 0;
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
}

#contact-form h2 {
  letter-spacing: 0.4rem;
  font-weight: bold;
  color: #4c352c;
  margin-bottom: 5rem;
  text-align: center;
  font-size: 3rem;
  border-radius: 40px;
  border: 3px solid #4c352c;
  padding: 10px 0;
}

#contact-form input::placeholder,
#contact-form select {
  color: #a57444;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 1.1px;
}

.form-group,
#city_selector {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.form-control {
  display: inline;
  width: 48%;
}

.county,
.district {
  display: inline;
  width: 48%;
}

.agree_personal_information_div {
  margin: 10px auto 0;
  color: #a57444;
  font-weight: bold;
  text-align: left;
  letter-spacing: 0rem;
}

label[for="agree_personal_information"] {
  margin-left: 5px;
  letter-spacing: 0.1rem;
}

#send_data_button2,
#send_data_button {
  padding: 1rem 0;
  width: 100%;
  border-radius: 40px;
  background-color: #a57444;
  color: #fff;
  font-weight: bold;
  border: 2px solid #a57444;
  letter-spacing: 0.2rem;
  transition: 0.5s;
}

@media (min-width: 768px) {
  #send_data_button2:hover,
  #send_data_button:hover {
    background-color: transparent;
    /* border: 2px solid #a57444; */
    color: #a57444;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {

  .form-control {
    /* height: 35px; */
  }

  .county,
  .district {
    /* height: 35px; */
  }

  #send_data_button2,
  #send_data_button {
    /* padding: 5px 0; */
  }
}

@media (max-width: 768px) {
  .info_map_wrap {
    flex-direction: column;
    width: 90%;
  }

  .case_info_wrap {
    width: 100%;
    font-size: 0.8rem;
  }

  .case_info_wrap .bold {
    margin-right: 15px;
  }

  .case_info_wrap .bold::after {
    right: -8px;
  }

  .google_map {
    width: 100%;
    height: 30vh;
  }

  /* info link */

  /* form */
  #contact-form h2 {
    font-size: 1.2rem;
  }

  .form-group {
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  #city_selector {
    margin-top: 10px;
  }

  .county,
  .district {
    /* height: 45px; */
  }

  .form-control {
    display: inline;
    margin: 10px 0;
    width: 100%;
    /* height: 45px; */
  }

  .form_info {
    margin-top: 20px;
  }

  .form_info p {
    line-height: 1.2rem;
  }
}

@media (max-width: 380px) {
  .county,
  .district {
    /* height: 40px; */
  }

  .form-control {
    display: inline;
    /* height: 40px; */
  }
}

@media (max-width: 360px) {

  /* form */
  .county,
  .district {
    /* height: 35px; */
  }

  .form-control {
    /* height: 35px; */
  }

  input::placeholder,
  select.form-control {
    font-size: 1rem;
  }

  .form_info {
    margin-top: 20px;
  }

  .form_info p {
    font-size: 0.8rem;
    line-height: 1.2rem;
  }

  label[for="agree_personal_information"] {
    font-size: 0.8rem;
  }

  #send_data_button2,
  #send_data_button {
    font-size: 0.8rem;
  }
}

/*footer*/

@media (max-width: 768px) {

  header {
    padding-bottom: 10%;
    background: -webkit-linear-gradient(
      top,
      rgba(0, 166, 186, 0) 0%,
      #ecb01f 80%
    );
    background: -o-linear-gradient(top, rgba(0, 166, 186, 0) 0%, #ecb01f 80%);
    background: linear-gradient(to top, rgba(0, 166, 186, 0) 0%, #ecb01f 80%);
  }

  body {
    font-size: 16px;
  }

  .bannerBox {
    background-image: url("../images/banner_bg_mb.jpg");
  }

  .banner {
    /* padding: 10% 5% 0; */
    /* width: 90%; */
  }

  .banner .top_txt {
    width: 100%;
  }

  .banner_bg2_mb {
    position: absolute;
    bottom: 0;
    width: 100%;
  }

  .bannerBox:after {
    position: absolute;
    bottom: 8%;
    left: 50%;
    color: #717071;
    content: "";
    font-size: 10px;
    transform: translateX(-50%);
  }
}

.section .content {
  width: 70%;
  margin: auto;
  padding: 5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) and (max-width: 1300px) {
  .section .content {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .section .content {
    flex-direction: column;
    padding: 3rem 0;
    width: 90%;
  }
}

/* 聚光燈 */

@keyframes flash {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes light {
  0% {
    opacity: 1;
    margin-top: 0%;
  }
  12% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    margin-top: -1500%;
    opacity: 0;
  }
}

@media (min-width: 992px) {
  /*.aerial_section h2{ left:50%; font-size: 4rem;}*/
}

@media (max-width: 768px) {
  .section.mb_show .content {
    align-items: flex-start;
  }
}

#form {
  /* background-color: #919d9e; */
}

/* 團隊 */

/* 建築外觀 */
/* .exterior_wrap.bg_light1 {
  background: transparent;
  background-color: #213530;
} */

/* 工藝 */

@media (max-width: 768px) {
  /* 團隊 */

  /* 建築外觀 */
}

/* 情境圖 */

@media (min-width: 768px) {
  /* 醫院 */

  /* 環境 */
}

/* 新版型0729 */

/* 企業0730 */

/* 團隊0730 */

/* 工藝0730 */

@media (max-width: 768px) {

  .section.mb_show .swiper {
    width: 80%;
    margin: auto;
    margin-bottom: 10vh;
  }
}
