@charset "utf-8";

/*html{ overflow-x:hidden!important;}
body{ overflow-x:hidden!important;}*/

.backtop {
  position: fixed;
  z-index: 99;
  width: 48px;
  height: 48px;
  left: 100%;
  top: 100%;
  margin-top: -130px;
  margin-left: -64px;
  padding: 10px;
  background-color: rgba(000, 000, 000, 0.5);
  text-align: center;
  color: #fff;
  font-size: 1.3rem;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: background 0.3s; /* Safari */
  transition: background 0.3s;
}
.backtop:hover {
  background-color: #f4e227;
}

@media (min-width: 992px) {
  .backtop {
    margin-top: -130px;
  }
}

/*==========header css==========*/
.social_content {
  position: fixed;
  z-index: 99;
  top: 100%;
  left: 0;
  margin-top: -68px;
  height: 68px;
  width: 100%;
  background-color: #f4e227;
  text-align: center;
}
.social_content .social_item {
  float: left;
  width: 25%;
  margin: 8px 0;
}
.social_content .social_item a {
  color: #000;
  font-size: 1.3rem;
  text-decoration: none;
}
.social_content .social_item a:hover {
  color: #fff;
}

.social_content .social_item a span {
  font-size: 0.8rem;
  display: block;
}

@media (min-width: 992px) {
  .social_content {
    position: fixed;
    z-index: 99;
    top: 33%;
    left: 100%; /* margin-top:-350px;*/
    margin-left: -90px;
    width: 330px;
    padding: 15px;
    border-radius: 30px;
    background-color: transparent;
    text-align: center;
  }
  .social_content .social_item {
    float: none;
    text-align: center;
    border-bottom: 1px solid #f4e227;
    padding: 15px 8px;
  }
  .social_content .social_item:last-child {
    border-bottom: none;
  }
  .social_content .social_item a {
    color: #f4e227;
  }
  .social_item_fb {
    padding-left: 3px;
  }
}
@media (min-width: 1920px) {
  .social_content {
    top: 32%;
  }
}

/*========================================================
                     共通css
=========================================================*/
.view_lg {
  display: none;
}
.view_sm {
  display: block;
}
@media (min-width: 768px) {
  .view_sm {
    display: none;
  }
  .view_lg {
    display: block;
  }
}

/*========================================================
                     top_banner
=========================================================*/
.top_banner {
  position: relative;
  background: url(../img/top_banner_bg.jpg) top center no-repeat;
  background-size: cover;
  padding: 37% 0 53% 0;
}
.top_banner img {
  width: 100%;
}
.top_banner .text_block {
  padding: 0 3%;
}
.top_banner .title {
}
.top_banner .decotext_block .logo {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
}
.top_banner .decotext_block .logo img {
  max-width: 30%;
  margin: 0 auto;
  display: block;
}
.top_banner .decotext_block .decotext {
  position: absolute;
  bottom: 10px;
  right: 20px;
  max-width: 30%;
}

@media (min-width: 768px) {
  .top_banner {
    padding: 14% 0 16% 0;
  }
  .top_banner .text_block {
    padding: 0 25%;
  }
  .top_banner .decotext_block .logo {
    bottom: 24px;
  }
  .top_banner .decotext_block .logo img {
    max-width: 16%;
  }
  .top_banner .decotext_block .decotext {
    bottom: 30px;
    right: 30px;
    max-width: 15%;
  }
}

/*========================================================
                     360
=========================================================*/
/*.panorama_block{ position:relative;}
.panorama_block img{ width:100%;}*/
@media (min-width: 768px) {
}

/*========================================================
                     內頁區塊
=========================================================*/
.top_block {
}
.top_block img {
  width: 100%;
}
.top_block .container-fluid {
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .top_block .container-fluid {
    padding: 80px 100px;
  }
}
@media (min-width: 1024px) {
  .top_block .container-fluid {
    padding: 80px 190px;
  }
}

.video_block {
  line-height: 0;
}
.video_block iframe {
  width: 100%;
  height: 450px;
}
@media (min-width: 768px) {
  .video_block iframe {
    height: 100vh;
  }
}

.top_block .text_block {
  text-align: center;
  padding: 40px 15px;
  background: url(../img/bg1.jpg) top center no-repeat;
  background-size: cover;
  font-family: "華康儷中黑(P)", Geneva, sans-serif;
  text-shadow: 0 0 7px #a52401;
}
.top_block .text_block .title h2 {
  color: #fff100;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 2.2rem;
}
.top_block .text_block .text p {
  color: #fff;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 0;
  font-size: 0.9rem;
}
.top_block .text_block .text_line {
  max-width: 350px;
  margin: 0 auto;
  display: block;
}

.top_block .pic_block .pic {
  position: relative;
}
.top_block .pic_block .pic .text {
  position: absolute;
  left: 15px;
  bottom: 15px;
  color: #fff;
  font-size: 0.8rem;
}

.block3 {
  background: url(../img/bg2.jpg) top center no-repeat;
  background-size: cover;
}
.block3 .pic_block {
  padding: 30px 0;
}
.block3 .pic_block img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.block4 .text_block .text_line {
  max-width: 200px;
}
.block4 .pic_block .pic .text {
  color: #000;
}

.block6 {
  background: url(../img/bg1.jpg) top center no-repeat;
  background-size: cover;
}
.block6 .pic_block {
  padding: 30px 15px;
}
.block6 .pic_block img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.info_block {
  background: url(../img/info_bg.jpg) top center no-repeat;
  background-size: cover;
}
.info_block .logo {
  padding-bottom: 20px;
}
.info_block .logo img {
  max-width: 50%;
  margin: 0 auto;
  display: block;
}
.info_block .textbox {
  background: url(../img/info_text_bg.jpg) top center no-repeat;
  background-size: cover;
  padding: 10px;
  margin: 20px auto;
}
.info_block .textbox .text {
  border: 1px solid #fff100;
  padding: 10px;
}
.info_block .textbox .text p {
  color: #fff;
  text-align: center;
  margin: 0;
  font-weight: bold;
}
.info_block .info_list {
  max-width: 750px;
  margin: 0 auto;
  display: block;
}
.info_block .info_list ul {
  list-style: none;
  padding: 0;
}
.info_block .info_list ul li {
  padding-bottom: 7px;
  font-size: 1rem;
  color: #4f2d08;
  font-weight: bold;
}

@media (min-width: 768px) {
  .top_block .text_block {
    padding: 5% 3%;
  }
  .top_block .text_block .text h2 {
    font-size: 2.5rem;
  }
  .top_block .text_block .text p {
    font-size: 1.2rem;
    line-height: 2rem;
  }
  .top_block .text_block .text_line {
    max-width: 400px;
  }
  .top_block .pic_block .pic .text {
    font-size: 1rem;
  }

  .block6 .pic_block {
    padding: 70px 0;
  }
  .block6 .pic_block img {
    max-width: 75%;
  }

  /*.info_block .logo{ padding-bottom:50px;}*/
  .info_block .logo img {
    max-width: 40%;
  }
  .info_block .textbox {
    max-width: 90%;
  }
  .info_block .textbox .text {
    padding: 20px;
  }
  .info_block .textbox .text p {
    font-size: 1.3rem;
    line-height: 2rem;
  }
  .info_block .info_list {
    max-width: 450px;
  }
  .info_block .info_list ul li {
    font-size: 1.1rem;
  }
}
@media (min-width: 1920px) {
  .top_block .text_block .text p {
    font-size: 1.6rem;
    line-height: 3rem;
  }
  .block3 .pic_block img {
    max-width: 75%;
  }
  .block6 .pic_block img {
    max-width: 55%;
  }

  .info_block {
    padding: 30px 0;
  }
  .info_block .logo {
    padding-bottom: 50px;
  }
  .info_block .logo img {
    max-width: 20%;
  }
  .info_block .textbox {
    max-width: 50%;
  }
  .info_block .textbox .text p {
    font-size: 1.6rem;
    line-height: 3rem;
  }
  .info_block .info_list ul li {
    font-size: 1.3rem;
  }
}

/*輪播相關*/
.slide_block {
}
.slide_block .carousel-item {
  position: relative;
}
.slide_block .carousel-item .text {
  position: absolute;
  left: 10px;
  bottom: 10px;
  color: #fff;
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  .slide_block .carousel-item .text {
    font-size: 1rem;
  }
  .top_block .slide_block {
    padding: 0 10%;
    background: url(../img/info_bg.jpg) top center no-repeat;
    background-size: cover;
  }
}

/*========================================================
                     聯絡表單
=========================================================*/
.contact_block {
  background: url(../img/contact_bg.jpg) top center no-repeat;
  padding: 20px 0 60px 0;
}

/*.top_block.contact_block .title_block { padding:0 0 20px 0; border-bottom:1px solid #ffeb00; margin-bottom:30px;}
.contact_block .title_block .title{ max-width:50%; margin:0 auto; display:block; padding-bottom:10%;}
.contact_block .title_block .text{ max-width:90%; margin:0 auto; display:block; padding-bottom:15px;}*/

.form_block {
}
#form1 {
  color: #fff;
}
#form1 .form-group {
  padding-bottom: 15px;
  position: relative;
}
#form1 .form-group label {
  position: absolute;
  top: 7px;
  left: 10px;
  font-weight: bold;
}
#form1 .form-group input,
#form1 .form-group textarea {
}

#form1 .form-control {
}
#form1 .text-checkbox label {
  position: static;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline;
}
#form1 .text-checkbox a {
  color: #fff;
}
#form1 .check-group {
  font-size: 0.9rem;
  color: #fff;
  text-align: center;
  font-weight: bold;
}

#form1 button {
  padding: 7px 20px;
  width: 100%;
  border-radius: 7px;
  font-weight: bold;
  color: #000;
  background: linear-gradient(to bottom, #fee672 0%, #e8b70b 100%);
}
#form1 button:hover {
  opacity: 0.7;
  transition: all 0.3s;
}

/*--google recaptcha 隱藏----*/
.grecaptcha-badge {
  visibility: hidden;
}

@media (min-width: 768px) {
  .contact_block {
    padding: 4%;
  }
  .contact_block .title_block .title {
    max-width: 40%;
  }
  .contact_block .title_block .text {
    max-width: 60%;
  }

  /*.form_block{ padding:20px 0;}*/
  #form1 .check-group {
    font-size: 1rem;
  }
}
@media (min-width: 1920px) {
  .contact_block {
    padding: 4% 15%;
  }
}

/*------------------cookies--------------------*/

#cookies-box {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999999;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 50px 50px;
  width: 100%;
  font-size: 1rem;
  line-height: 36px;
  color: #fff;
  /*	display: none;*/
}
#cookies-box h4 {
  font-size: 1.3rem;
  font-weight: bold;
}
#cookies-box p {
  margin: 0;
}
#cookies-box a {
  color: #fff;
  border-bottom: 2px solid #ee4701;
  padding-bottom: 2px;
  margin: 0 3px;
}
#cookies-box .cookies-btn {
  margin-top: 10px;
  text-align: center;
}
#cookies-box .cookies-btn a {
  display: inline-block;
  width: 140px;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  text-align: center;
}
#cookies-box .cookies-btn a:hover {
  background-color: #ee4701;
}

@media (min-width: 992px) {
  #cookies-box .cookies-btn {
    margin-top: -5px;
    margin-left: 50px;
  }
}

.privacy_block .container-fluid {
  max-width: 1200px;
}
.privacy_block h3 {
  color: #555;
  font-weight: 700;
  border-bottom: 1px solid #ccc;
  padding-bottom: 15px;
  margin-bottom: 15px;
}
