@import url(index_header.css);

/*==========================================================================*/

body {
  font-family: "微軟正黑體", Geneva, sans-serif;
  overflow-x: hidden;
}

.footer {
  color: #fff;
  background-color: #131018;
  text-align: center;
  padding: 18px 15px;
  margin-bottom: 67px;
}
.footer a {
  color: #ffd95a;
}
@media (min-width: 992px) {
  .footer {
    margin-bottom: 0;
  }
}

.share {
  margin: 8px 0;
}
.share img {
  margin: 0 2px;
}

.backtop {
  position: fixed;
  z-index: 99;
  width: 48px;
  height: 48px;
  left: 100%;
  top: 100%;
  margin-top: -130px;
  margin-left: -64px;
  padding: 7px;
  background-color: rgba(55, 53, 65, 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: #373541;
}

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

/*========================================================
                     header css
=========================================================*/
.fadeInRight {
  -webkit-animation: fadeInRight 0.4s; /* Safari 4+ */
  -moz-animation: fadeInRight 0.4s; /* Fx 5+ */
  -o-animation: fadeInRight 0.4s; /* Opera 12+ */
  animation: fadeInRight 0.4s; /* IE 10+, Fx 29+ */
}

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

.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 #373541;
    padding: 15px 8px;
  }
  .social_content .social_item:last-child {
    border-bottom: none;
  }
  .social_content .social_item a {
    color: #373541;
  }
  .social_item_fb {
    padding-left: 3px;
  }
}
@media (min-width: 1920px) {
  .social_content {
    top: 30%;
  }
}

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

/*.prev-alt{ background-color:transparent; color:#fff; text-shadow: 0px 0px 5px #000, 0px 0px 10px #333, 0px 0px 15px #555; position:absolute; z-index:555; cursor:pointer; top:50%; left:0%; padding:14px 15px 16px 15px; transform:translate(0,-50%); opacity:0.75;}
.prev-alt:hover{ opacity:1;}
.next-alt{ background-color:transparent; color:#fff; text-shadow: 0px 0px 5px #000, 0px 0px 10px #333, 0px 0px 15px #555; position:absolute; z-index:555; cursor:pointer; top:50%; left:100%; padding:14px 15px 16px 15px; transform:translate(-100%,-50%); opacity:0.75;}
.next-alt:hover{ opacity:1;}*/

/*========================================================
                     top_banner
=========================================================*/
.video_block {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video_block iframe {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

.pc {
  display: none;
}

.mb {
  display: block;
}
.top_banner_block {
  background: url(../img/top_banner_bg.png) top center no-repeat;
  background-size: cover;
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.top_banner_block .box {
  width: 85%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
}
.top_banner_block .box .text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15%;
  width: 100%;
}
.top_banner_block .logo {
  width: 45%;
  margin-bottom: 5%;
}
.s1-t1 {
  width: 50%;
}
.s1-t2 {
  width: 100%;
  margin: 8% 0;
}
.s1-t3 {
  width: 60%;
}
.s1-p1 {
  position: absolute;
  bottom: -4%;
  width: 120%;
}
.s1-p1 img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top_banner_block {
    height: 100%;
  }
  .top_banner_block .box {
    justify-content: end;
  }
  .top_banner_block .box .text-box {
    margin: 10% 0;
    width: 80%;
  }
  .s1-p1 {
    position: relative;
    width: 100%;
  }
}

@media screen and (min-width: 1200px),
  screen and (min-width: 1024px) and (max-height: 600px) {
  .top_banner_block {
    height: 100vh;
  }
  .top_banner_block .box {
    width: 90%;
    flex-direction: row-reverse;
  }
  .top_banner_block .box .text-box {
    margin: unset;
    width: 50%;
  }
  .s1-p1 {
    width: 50%;
    align-self: end;
  }
  .top_banner_block .logo {
    width: 30%;
  }
  .s1-t1 {
    width: 35%;
  }
  .s1-t2 {
    width: 80%;
  }
  .s1-t3 {
    width: 40%;
  }
}

/* 選單css */
.rd-mobilepanel_toggle.active span {
  background-color: #373541;
}
.rd-mobilepanel_toggle span:after,
.rd-mobilepanel_toggle span:before,
.rd-mobilepanel_toggle span {
  background-color: #373541;
}
.rd-mobilepanel_toggle.active span:before,
.rd-mobilepanel_toggle.active span:after {
  background-color: #373541;
}
.rd-mobilemenu_ul {
  background: #373541;
}

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

.top_block .text_block {
  padding: 10% 4%;
}
.top_block .text_block .title {
  max-width: 50%;
  padding-bottom: 10%;
}
.top_block .text_block .textbox .subtitle {
  max-width: 40%;
  padding-bottom: 10px;
}
.top_block .text_block .textbox .text p {
  font-size: 0.9rem;
}

.block1 {
  background: url(../img/block1_bg.jpg) bottom center no-repeat;
  background-size: cover;
  min-height: 60vh;
}
.block1 .text_block {
  padding-top: 4%;
}
.block1 .text_block .title {
  padding-bottom: 2%;
}
.block1 .text_block .title {
  max-width: 100%;
}

.block3 {
  background: url(../img/block3_bg.jpg) top right no-repeat;
  background-size: cover;
}
.block3 .textbox .text p {
  color: #fff;
}
.block3 .pic_block {
  position: relative;
}
.block3 .row,
.block4 .row {
  margin-left: 0;
  margin-right: 0;
}

.block4 .text_block .text_line {
  background: url(../img/block4_text_line.jpg) left top repeat-x;
  background-size: cover;
  width: 63%;
  height: 1px;
  margin: 4% 0 4% -12%;
}
.top_block.block4 .text_block .title {
  padding-bottom: 0;
}
.block5 {
  background: #586365;
  padding: 3% 0;
}
.top_block.block5 .text_block {
  padding: 6%;
}
.top_block.block5 .text_block .textbox .subtitle {
  max-width: 70%;
}

@media (min-width: 768px) {
  .top_block .text_block {
    padding: 7% 6%;
  }
  .top_block .text_block .title {
    max-width: 58%;
  }
  .top_block .text_block .textbox .subtitle {
    max-width: 35%;
  }
  .top_block .text_block .textbox .text p {
    font-size: 0.9rem;
  }

  .block1 {
    min-height: 100vh;
  }
  .block1 .text_block .title {
    max-width: 50%;
  }
  .block3 .pic_block .pic img {
    max-width: 70%;
    position: absolute;
    bottom: 0;
    left: 25%;
  }
  .top_block.block5 .text_block .title {
    max-width: 65%;
  }
  .top_block.block5 .text_block .textbox .subtitle {
    max-width: 69%;
  }
}
@media (min-width: 1440px) {
  .top_block .text_block .title {
    max-width: 45%;
  }
  .top_block .text_block .textbox .subtitle {
    max-width: 30%;
  }
  .top_block .text_block .textbox .text p {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .block3 .pic_block .pic img {
    max-width: 60%;
  }
  .top_block.block5 .text_block .title {
    max-width: 54%;
  }
  .top_block.block5 .text_block .textbox .subtitle {
    max-width: 52%;
  }
}

/*========================================================
                     360
=========================================================*/
.panorama_block {
  position: relative;
}
.panorama_block .panorama {
  height: 80vh;
}

.panorama_cover {
  position: absolute;
  top: 10%;
  left: 10px;
  text-align: center;
  z-index: 10;
}
.panorama_cover img {
  max-width: 85%;
}
.panorama_icon {
  position: absolute;
  text-align: right;
  bottom: 7px;
  right: 7px;
  z-index: 10;
}
.panorama_icon img {
  max-width: 35%;
}

@media (min-width: 768px) {
  .panorama_block .panorama {
    height: 100vh;
  }
  .aerial_block {
    position: relative;
  }
}
@media (min-width: 1440px) {
  .panorama_block .panorama {
    height: 60vh;
  }
  .panorama_cover {
    top: 10px;
  }
  .panorama_cover img {
    max-width: 100%;
  }
}

/*========================================================
                         contact
=========================================================*/

.contact_section {
  background: url(../img/contact_bgs.jpg) left bottom no-repeat;
  background-size: cover;
  padding-bottom: 35%;
}
.top_block.contact_section .text_block {
  padding: 0% 4% 7% 4%;
}
.top_block.contact_section .text_block .title {
  max-width: 60%;
  padding-bottom: 6%;
  margin: 0 auto;
}
.top_block.contact_section .text_block .text {
  max-width: 100%;
}

.contact_section_wrapper {
  margin: 0 auto;
  padding: 15px;
  background-color: #fff;
  box-shadow: 1px 1px 14px #b9b1a2;
}

/*表單樣式*/
#form1 .form-group {
  margin-bottom: 15px;
}
#form1 .form-control {
  border: 1px solid #42434b;
}
#form1 .col-agree span {
  text-decoration: underline;
  color: #42434b;
}
#form1 .form-btn {
  text-align: center;
}
#form1 .btn-send {
  margin-top: 20px;
  padding: 7px 30px;
  color: #fff;
  font-size: 1.2rem;
  background-color: #e96000;
  border-radius: 7px;
  width: 100%;
}
#form1 .btn-send:hover {
  cursor: pointer;
  background-color: #af4700;
  transition: all 0.3s;
}
#form1 input::placeholder {
  color: #42434b;
}
.map_block {
  line-height: 0;
}
.map_block iframe {
  width: 100%;
  height: 60vh;
}

@media (min-width: 768px) {
  .contact_section {
    background: url(../img/contact_bg.jpg) left bottom no-repeat;
    background-size: cover;
    padding-bottom: 0;
  }
  .contact_section_wrapper {
    max-width: 960px;
    padding: 30px 40px;
  }
  .top_block.contact_section .text_block {
    padding: 0;
  }
  .top_block.contact_section .text_block .title {
    max-width: 75%;
    padding-bottom: 3%;
  }
  .top_block.contact_section .text_block .text {
    max-width: 75%;
  }
}

@media (min-width: 1400px) {
  .contact_section_wrapper {
    max-width: 1376px;
    padding: 60px;
  }
}

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

/*------------------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 #443e89;
  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: #443e89;
  transition: all 0.3s;
}

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

/*========================================================
                  隱私權聲明
=========================================================*/
.fancybox-container {
  z-index: 9999999;
}
.modal-body {
  overflow-y: auto;
  padding: 20px;
}
.modal-header {
  border-bottom: none;
}
.modal-body h3 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.modal-body p span {
  font-weight: bold;
  font-size: 1.1rem;
}
.modal-dialog {
  margin-bottom: 80px;
}

@media (min-width: 576px) {
  .modal-body {
    padding: 20px 40px;
  }
  .modal-dialog {
    max-width: 1000px;
  }
}
@media (min-width: 1024px) {
  .modal-dialog {
    max-width: 1200px;
    margin-bottom: 0;
  }
}
