body{
  background-color: #FCF8F4;
}
.header{
  background-color: #ffffff;
}


/* google-start */
#google{
  padding: 100px 0;
  background: url(../pics/contact-backimg.png) no-repeat;
  background-position: center;
  background-size: cover;
}
.googlecontainer{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.googlecontainer .title{
  margin-bottom: 50px;
}
.googlecontainer .title ul{
  display: flex;
  justify-content: center;
  column-gap: 6em;
}
.googlecontainer .title ul li{
  font-size: 32px;
  color: rgba(123,43,38,0.5);
  line-height: 45px;
  font-weight: bold;
  position: relative;
  cursor: pointer;
}
.googlecontainer .title ul li::before{
  content: '';
  position: absolute;
  top: 0;
  left: -60px;
  width: 45px;
  height: 45px;
  background: url(../pics/contact-line.png) no-repeat;
  background-position: center;
  background-size: cover;
}
.googlecontainer .title ul li:first-child::before{
  display: none;
}

.googlecontainer .content iframe{
  border: 8px solid #ffffff;
  border-radius: 25px;
  width: 100%;
}
.googlecontainer .content div ul{
  display: flex;
  flex-direction: column;
  row-gap: 4.5em;
}
.googlecontainer .content div h4{
  font-size: 18px;
  color: #7B2B26;
  line-height: 25px;
}
.googlecontainer .content div p{
  font-size: 16px;
  color: #333333;
  line-height: 25px;
}
.googlecontainer .content div a{
  font-size: 16px;
  color: #333333;
  line-height: 25px;
}
.googlecontainer .content div a:hover{
  color: #7B2B26;
}

.googlecontainer .title ul li.cur{
  color: #7B2B26;
}
.googlecontainer .title ul li.cur::after{
  content: '';
  width: 50px;
  height: 2px;
  background-color: #7B2B26;
  position: absolute;
  bottom: -10px;
  left: 36%;
}
.googlecontainer .content{
  display: none;
}
.googlecontainer .content.cur{
  display: block;
}

/* google-end */


/* 聯繫我們-start */
#contactus{
  padding: 80px 0;
  background-color: #ffffff;
  margin-top: -30px;
  border-radius: 50px 50px 0 0;
}
.contactuscontainer{
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.contactuscontainer h2{
  font-size: 32px;
  color: #7B2B26;
  line-height: 45px;
  text-transform: uppercase;
  text-align: center;
}
.contactuscontainer h3{
  font-size: 32px;
  color: #333333;
  line-height: 45px;
  margin-top: 0;
  text-align: center;
  font-weight: bold;
}
.contactuscontainer .form{
  margin-top: 50px;
}
.contactuscontainer .form>ul{
  display: flex;
  flex-wrap: wrap;
  column-gap: 5em;
  row-gap: 2em;
}
.contactuscontainer .form>ul>li{
  width: 47%;
}
.contactuscontainer .form label{
  font-size: 14px;
  color: rgba(0,0,0,0.8);
  line-height: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}
.contactuscontainer .form input{
  width: 100%;
  border: 1px solid #A7B0B5;
  border-radius: 10px;
  padding: 10px;
  outline: none;
}
.contactuscontainer .form input::placeholder,textarea::placeholder{
  color: #A7B0B5;
}
.contactuscontainer .form input:focus{
  border: 1px solid #7B2B26;
}
.contactuscontainer .form>ul>li:last-child{
  width: 100%;
}
.contactuscontainer .form>ul>li:last-child textarea{
  height: 100px;
  width: 100%;
  padding: 10px;
  outline: none;
  border: 1px solid #A7B0B5;
  border-radius: 10px;
  resize: none;
}
.contactuscontainer .form>ul>li:last-child textarea:focus{
  border: 1px solid #7B2B26;
}
.contactuscontainer .form button{
  width: 17%;
}


/* 篩選 */
.contactuscontainer .select-project{
  position: relative;
}
.select-project .select-box{
  display: flex;
  position: absolute;
  top: 100%;
  left: 0%;
  z-index: 7;
  background: #FFFFFF;
  box-shadow: 0px 8px 20px 0px rgba(181,145,116,0.5);
  border-radius: 10px;
  width: 100%;
}
.select-project .select-box ul{
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-bottom: 0;
  padding: 5px 15px;
  border-right: 1px solid #E2CCA7;
}
.select-project .select-box ul li{
  font-size: 16px;
  color: #777777;
  line-height: 40px;
  cursor: pointer;
  line-height: 45px;
  font-weight: bold;
  padding: 0 25px;
}
.select-project .select-box ul li:hover{
  color: #7B2B26;
}
.select-project .select-change{
  width: 50%;
}
.select-project .select-change ul{
  width: 100%;
  border: none;
}
.select-project .select-change ul li{
  font-size: 15px;
  color: #777777;
  line-height: 40px;
  font-weight: normal;
}
.select-project .select-box .select-link li{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.select-project .select-box .select-link li img{
  padding-bottom: 3px;
}
.select-project .selectedOne{
  width: 100%;
  border: 1px solid #A7B0B5;
  border-radius: 10px;
  padding: 10px 15px 10px 10px;
  color: #A7B0B5;
  position: relative;
}
.select-project .selectedOne.print{
  color: #333333;
}
.select-project .selectedOne::after{
  background: url(../pics/menu_arrow.png) no-repeat;
  content: '';
  width: 17px;
  height: 17px;
  position: absolute;
  top: 12px;
  right: 15px;
  background-size: cover;
  background-position: center;
}
.select-project .selectedOne.rotated::after {
  transform: rotate(90deg);
  top: 9px;
}


.select-project .select-box li.cur{
  color: #7B2B26;
  position: relative;
}
.select-project .select-box li.cur::after{
  content: '';
  width: 25%;
  height: 1px;
  background-color: #7B2B26;
  position: absolute;
  bottom: 11%;
  left: 11%;
}

.select-project .select-change .change-box{
  display: none;
}
.select-project .select-change .change-box.cur{
  display: flex;
}
.select-project .select-change .change-box li.cur{
  color: #7B2B26;
}

.contactuscontainer .form>div{
  width: 100%;
  text-align: center;
  margin-top: 50px;
}

@media screen and (min-width:768px) {
  #brandoverlay,.mobile-brand{
    display: none;
  } 
}


/* 聯繫我們-end */


/* 手機端 */
@media screen and (max-width:768px) {
  .mobilecontainer{
    background-color: #ffffff;
  }

  /* google */
  #google{
    padding: 50px 0;
  }
  .googlecontainer .title ul li{
    font-size: 17px;
    line-height: 30px;
  }
  .googlecontainer .title ul li::before{
    width: 30px;
    height: 30px;
  }
  .googlecontainer .content iframe{
    border: 4px solid #ffffff;
  }
  .googlecontainer .content div ul{
    row-gap: 2em;
  }
  .googlecontainer .content div ul li{
    text-align: center;
  }
  .googlecontainer .content div h4{
    font-weight: bold;
  }
  .googlecontainer .content div a{
    font-size: 15px;
  }

  /* 聯繫我們 */
  #contactus{
    padding: 20px 0 50px 0;
    border-radius: 20px 20px 0 0;
  }
  .contactuscontainer h2{
    font-size: 25px;
    line-height: 30px;
  }
  .contactuscontainer h3{
    font-size: 25px;
    line-height: 30px;
  }
  .contactuscontainer .form>ul>li{
    width: 100%;
    text-align: center;
  }
  .contactuscontainer .form label{
    text-align: center;
    font-size: 16px;
  }
  .select-project .selectedOne{
    text-align: left;
    padding: 15px 15px 15px 15px;
    border-radius: 8px;
    font-size: 15px;
  }
  .select-project .selectedOne::after{
    top: 17px;
  }
  .contactuscontainer .form input{
    padding: 15px;
    border-radius: 8px;
  }
  .contactuscontainer .form>ul>li:last-child textarea{
    border-radius: 8px;
    padding: 15px;
  }
  .contactuscontainer .form input::placeholder,textarea::placeholder{
    font-size: 15px;
  }
  .contactuscontainer .form button{
    width: 40%;
  }
  .contactuscontainer .form>div{
    margin-top: 20px;
  }

  /* 選擇服務 */
  .select-project .select-box{
    display: none !important;
  }

  #brandoverlay{
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: 90%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 999;
    display: none; /* 默认隐藏 */
    margin-top: 0;
  }
  .mobile-brand{
    position: fixed;
    bottom: -100%; /* 初始位置在屏幕外 */
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    border-radius: 20px 20px 0 0;
    margin-top: 0;
  }
  .mobile-brand .brandtop{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #E2CCA7;
    align-items: center;
    padding: 10px;
    height: 60px;
  }
  .mobile-brand .brandtop .tit{
    font-size: 17px;
    color: #333333;
    line-height: 20px;
    font-weight: bold;
    padding-left: 13px;
  }
  .mobile-brand .brandtop .enter{
    font-size: 18px;
    font-weight: bold;
    color: #7B2B26;
    line-height: 20px;
    cursor: pointer;
  }

  .brandbox{
    display: flex;
    z-index: 7;
    background: #FFFFFF;
    /* box-shadow: 0px 8px 20px 0px rgba(181,145,116,0.5); */
    border-radius: 10px;
    width: 100%;
  }
  .brandbox ul{
    display: flex;
    flex-direction: column;
    width: 50%;
    margin-bottom: 0;
    padding: 5px 0 0 25px;
    border-right: 1px solid #E2CCA7;
  }
  .brandbox ul li{
    font-size: 18px;
    color: #777777;
    cursor: pointer;
    line-height: 55px;
    font-weight: bold;
    height: 55px;
    text-align: left;
  }
  .brandbox ul li:hover{
    color: #7B2B26;
  }
  .brandbox li.cur{
    color: #7B2B26;
  }
  
  .brandbox{
    height: 350px;
  }
  .brandbox .select-change ul li{
    font-size: 17px;
    line-height: 55px;
    height: 55px;
    text-align: left;
  }
  .brandbox .select-change{
    width: 50%;
  }
  .brandbox .select-change ul{
    width: 100%;
    border: none;
  }
  .brandbox .select-change ul li{
    font-size: 15px;
    color: #777777;
    line-height: 40px;
    font-weight: normal;
  }
  .brandbox .select-change .change-box{
    display: none;
  }
  .brandbox .select-change .change-box.cur{
    display: flex;
  }
  .brandbox .select-change .change-box li.cur{
    color: #7B2B26;
  }

  .select-project .selectedOne.rotated::after {
    transform: rotate(90deg);
    top: 14px;
  }
}