@charset "utf-8";

body {
  /*font-family:"jf金萱鮮摘", Geneva, sans-serif; */
  overflow-x: hidden;
}

.footer {
  color: #fff;
  background-color: #004284;
  text-align: center;
  padding: 18px 15px;
  margin-bottom: 60px;
}
.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: 10px;
  background-color: rgba(0, 66, 132, 0.6);
  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: #004284;
}

@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: #004284;
  text-align: center;
}
.social_content .social_item {
  float: left; /*width:25%;*/
  width: 33.3%;
  margin: 8px 0;
}
.social_content .social_item a {
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
}
.social_content .social_item a:hover {
  color: #277dc4;
}

.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-left: -116px;
    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 #004284;
    padding: 8px;
  }
  .social_content .social_item:last-child {
    border-bottom: none;
  }
  .social_content .social_item a {
    color: #004284;
  }
  .social_item_fb {
    padding-left: 3px;
  }
}
@media (min-width: 1920px) {
  .social_content {
    top: 30%;
  }
}

/*========================================================
                     main css
=========================================================*/
.view_lg {
  display: none;
}
@media (min-width: 992px) {
  .view_sm {
    display: none;
  }
  .view_lg {
    display: block;
  }
}

/*.container-fluid{ max-width:1280px; padding:10px 20px;}
@media (min-width:1920px){.container-fluid{ max-width:1500px; padding:10px 90px;}}*/

/*.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
=========================================================*/
/* 電腦版（桌機 ≥1025px） */
.top_banner_block {
  background: url('../img/top_banner_bg-pc.jpg') center center no-repeat;
  background-size: cover;
  height: 110vh; /* 稍微高一點避免裁切 */
}

/* 平板（768px～1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
  .top_banner_block {
    background: url('../img/top_banner_bg-pc.jpg') center 30% no-repeat;
    background-size: cover;
    height: 105vh; /* 視覺高度可略低於桌機 */
  }
}

/* 手機（小於768px） */
@media (max-width: 767px) {
  .top_banner_block {
    background: url('../img/top_banner_bg-m.jpg') center 35% no-repeat;
    background-size: cover;
    height: 100vh;
  }
}

@keyframes bird {
  0% {
    transform: translateX(0%);
  }
  50% {
    transform: translateX(15%);
  }
  100% {
    transform: translateX(0%);
  }
}

@media (min-width: 768px) {
  .top_banner_block {
    padding: 9.3% 0;
  }
  .top_banner_block .logo_block {
    max-width: 45%;
  }
  .top_banner_block .logo_block .logo {
    padding-bottom: 10%;
  }
  .top_banner_block .deco_block {
    right: 20%;
    top: 12%;
    max-width: 22%;
  }
}

/*========================================================
                     內頁設定
=========================================================*/
.top_block {
}
.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-bottom: 20px;
}
.top_block .text_block .title h2 {
  font-family: "標楷體", Geneva, sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: #80583d;
}
.top_block .text_block .text p {
  color: #000;
  line-height: 1.7rem;
}
.top_block .pic {
  margin-bottom: 15px;
}

.top_block .pic {
  position: relative;
}
.top_block .pic .pictext {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: "標楷體", Geneva, sans-serif;
  color: #fff;
  text-shadow: 1px 1px 4px #0e3b68;
  z-index: 10;
}
.top_block .pic.style2 .pictext {
  left: auto;
  right: 10px;
}

.block1 {
  background: url(../img/block1_bg.jpg) top center no-repeat;
  background-size: cover;
}
.block2 {
  background: url(../img/block2_bgs.jpg) top left no-repeat;
  background-size: 100%;
  position: relative;
  overflow: hidden;
  padding-top: 14%;
}
.block2 .text_block {
  position: relative;
}
.block2 .block2_leaf1 {
  position: absolute;
  width: 40px;
  opacity: 0;
  animation-name: leaf1;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

.block2 .block2_leaf2 {
  position: absolute;
  width: 36px;
  opacity: 0;
  animation-name: leaf2;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}
.block2 .block2_leaf3 {
  position: absolute;
  width: 20px;
  opacity: 0;
  animation-name: leaf3;
  animation-duration: 5s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}

@keyframes leaf1 {
  0% {
    left: 10vw;
    top: 3vh;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: 24vw;
    top: 30vh;
    -webkit-transform: rotate(180deg);
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 12vw;
    top: 60vh;
    opacity: 0;
  }
}

@keyframes leaf2 {
  0% {
    left: 32vw;
    top: 3vh;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    left: 16vw;
    top: 20vh;
    -webkit-transform: rotate(90deg);
  }
  90% {
    opacity: 1;
  }
  100% {
    left: 32vw;
    top: 56vh;
    opacity: 0;
  }
}
@keyframes leaf3 {
  0% {
    right: 32vw;
    top: 3vh;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    right: 16vw;
    top: 25vh;
    -webkit-transform: rotate(120deg);
  }
  90% {
    opacity: 1;
  }
  100% {
    right: 32vw;
    top: 65vh;
    opacity: 0;
  }
}

.block3 {
  background: url(../img/block3_bg.jpg) top center no-repeat;
  background-size: cover;
  position: relative;
}
.block3 .text_block {
  position: relative;
}
.block3 .deco_block {
  position: absolute;
  right: 0;
  top: 0;
  max-width: 28%;
}
.block4 {
  background: url(../img/block4_bg.jpg) top center no-repeat;
  background-size: cover;
  position: relative;
}
.block4 .deco_block {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 16%;
}
.block5 {
  background: url(../img/block5_bg.jpg) top center no-repeat;
  background-size: cover;
}

.block6 {
  background: url(../img/block6_bg.jpg) top center no-repeat;
  background-size: cover;
}
.block6 .left {
}
.block6 .left .designer {
  max-width: 60%;
  margin: 0 auto;
  display: block;
}

.block6 .right {
  padding: 0;
}
.block6 .right .text_block .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.block6 .right .text_block .title {
  max-width: 80%;
}
.block6 .right .text_block .text {
  padding: 0 0 0 5%;
}
.block6 .right .text_block .pic {
  position: relative;
  text-align: center;
}
.block6 .right .text_block .pic img {
  max-width: 40%;
}
.block6 .right .text_block .pic .build {
}
.block6 .right .text_block .pic .light {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  mix-blend-mode: overlay;
  animation-name: lighting;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-delay: 1s;
}
@keyframes lighting {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.block7 {
  background: url(../img/block7_bgs.jpg) top center no-repeat;
  background-size: cover;
  padding: 5% 0;
}
.block7 .text_block {
  text-align: left;
  padding-bottom: 7%;
}
.block8 {
  background: url(../img/block8_bg.jpg) top center no-repeat;
  background-size: cover;
}
.block8 .text_block {
  text-align: left;
  padding-bottom: 30px;
}
.top_block.block8 .text_block h2,
.block8 .text_block .text p {
  color: #fff;
}
.block8 .text_block .logo {
  max-width: 25%;
  margin: 0 auto;
}
.block8 .pic_block .case-row .casebox {
  background: url(../img/block8_case_bg.jpg) top center no-repeat;
  background-size: cover;
  padding: 12px 0 10px 0;
  box-shadow: 1px 1px 15px #f4f408;
  margin: 0 0 30px 0;
}
.block8 .pic_block .case-row .casebox .text {
  text-align: center;
  font-weight: bold;
  color: #000;
  font-size: 0.8rem;
  padding-top: 5px;
}

@media (min-width: 768px) {
  .top_block .text_block .title h2 {
    font-size: 1.4rem;
  }
  .block2 {
    background: url(../img/block2_bg.jpg) top center no-repeat;
    background-size: cover;
    padding-top: 0;
  }
  .block2 .text_block .content {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 98%;
  }
  .block2 .block2_leaf1 {
    width: 40px;
  }
  .block2 .block2_leaf2 {
    width: 30px;
  }
  .block3 .text_block .content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding-left: 20px;
  }
  .block3 .deco_block {
    max-width: 10%;
  }
  .block4 .text_block {
    padding-top: 10%;
  }
  .block5 .text_block {
    padding: 0 0 0 2%;
    position: relative;
  }

  .block6 .left {
    position: relative;
  }
  .block6 .left .designer {
    position: absolute;
    bottom: 0;
    margin-bottom: -12.5%;
    left: 5%;
    max-width: 100%;
  }
  .block6 .right {
    padding: 0 0 0 7%;
  }
  .block6 .right .text_block .title {
    max-width: 60%;
  }
  .block6 .right .text_block .pic {
    text-align: left;
  }
  .block6 .right .text_block .pic img {
    max-width: 70%;
  }

  .block7 {
    background: url(../img/block7_bg.jpg) top center no-repeat;
    background-size: cover;
  }
  .block7 .text_block {
    text-align: center;
  }
  .block7 .text_block .text {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }

  .block8 .text_block {
    text-align: center;
  }
  .block8 .text_block .text {
    text-align: center;
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }
  .block8 .text_block .logo {
    max-width: 13%;
  }
  .block8 .pic_block .case-row .casebox {
    margin: 0 10px 30px 10px;
    max-width: 80%;
  }
}
@media (min-width: 1280px) {
  .top_block .text_block .title h2 {
    font-size: 2rem;
  }
  .block3 .deco_block {
    max-width: 20%;
  }
}

@media (min-width: 1920px) {
  .top_block .text_block .title h2 {
    font-size: 2.3rem;
  }
  .block2 .text_block .content {
    max-width: 80%;
    padding: 10px;
  }
  .block5 .text_block {
    padding: 2% 0 0 3%;
  }
  .block5 .text_block .pic {
    position: absolute;
    bottom: 0;
    left: 7%;
    z-index: 10;
  }
  .block6 .left .designer {
    margin-bottom: -15.5%;
    left: 5%;
  }
  .block7 .text_block .text {
    max-width: 35%;
  }
  .block8 .pic_block .case-row .casebox .text {
    font-size: 1.3rem;
  }
  .block8 .text_block .text {
    max-width: 50%;
  }
}

/*輪播設定*/
.slider .slide_item {
  position: relative;
}
.slider .slide_item img {
  max-width: 100%;
}
.slider .slide_item .pictext {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-family: "標楷體", Geneva, sans-serif;
  color: #fff;
  z-index: 10;
}
.slick-prev {
  left: 10px;
  z-index: 10;
}
.slick-next {
  right: 10px;
}
.block4 .slider .slide_item .pictext {
  right: auto;
  left: 10px;
}
.block4 .slider .slide_item .pictext.gray {
  color: #606060;
}

@media (min-width: 768px) {
  .slider .slide_item img {
    max-width: 99%;
    margin: 0 auto;
  }
}

/*========================================================
                     360
=========================================================*/
.panorama_block {
  position: relative;
}

.panorama_cover {
  position: absolute;
  z-index: 99;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  width: 100%;
  height: 100%;
  padding-top: 30vh;
  text-align: center;
}
@media (min-width: 992px) {
  .panorama_cover {
    display: none;
  }
}

/*========================================================
                         contact
=========================================================*/

.contact_block {
  background: url(../img/contact_bgs.jpg) top left no-repeat;
  background-size: cover;
}
.contact_block .text_block {
  padding-bottom: 60px;
}
.contact_block .text_block .logo_box {
  margin: 0 auto 2% auto;
  max-width: 60%;
  border-bottom: 1px solid #fff;
}
.contact_block .text_block .logo {
  padding-bottom: 16%;
}
.contact_block .text_block .text {
  padding-bottom: 4%;
}
.contact_block .text_block .info_text p {
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.5rem;
  text-shadow: 1px 1px 6px #02335d;
}

.contact_block .form_block .form_title {
  border-bottom: 1px solid #004284;
  margin-bottom: 15%;
}
.contact_block .form_block .form_title h2 {
  color: #004284;
  font-family: "華康儷中宋(P)", Geneva, sans-serif;
  padding-bottom: 7px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 6px;
}

/*#form1 .form-group{
	position:relative;
	padding-bottom:3px;
}
#form1 .form-group label {
	position:absolute;
	top:5px;
	left:0;
    color:#004284;
}
#form1 input,#form1 textarea{
	padding-left:80px;
}

#form1 .form-group.for_gender label{
	position:static;
}
#form1 .form-group.for_gender{
	padding-bottom:16px;
	color:#004284;
}
#form1 .form-group.for_gender input{
	padding:0;
}





.form-check-input:checked{
	background-color:#000;
}
#form1 .form-group.for_agree label{ position:static;}

#form1 .form-control {
    border-radius:0;
    border:none;
    border-bottom:1px solid #004284;
	background: transparent;
    color: #111;
}
#form1 .form-group.for_agree label{
	position:unset;
	text-align:left;
}
#form1 .custom-control-label a{
	color:#004284;
	text-decoration:none;
	border-bottom:1px solid #004284;
	padding:2px 0;
	transition:all .3s;
}
#form1 .form-group .for_check{
    position: relative;
    display: block;
    min-height: 1.5rem;
	padding-bottom:25px;
}*/
/*#form1 .custom-control-label {
    position: relative;
    margin-bottom: 0;
    vertical-align: top;
}
#form1 .custom-control-label::before {
    border-radius: 0;
    border: 1px solid #C2C0BE;
    background-color: transparent;
    color: #000;
    margin-top: 4px;
}
#form1 .custom-control-label::after {
    margin-top: 4px;
}
#form1 .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #424866;
}*/

/*#form1 .form-group .for_btn{
	text-align:center;
}
#form1 .btn-send {
	color:#004284;
	border-radius:0;
	border-bottom:1px solid #004284;
	transition:all .3s;
	padding:2px 5px;
}
#form1 .custom-control-label a:hover,#form1 .btn-send:hover {
    background-color:#004284;
	color:#fff;
}
*/

#form1 .form-group {
  position: relative;
}

#form1 label {
  color: #004284;
  text-align: left;
  margin-bottom: 0;
  position: absolute;
  left: 11px;
  top: 5px;
}
#form1 .for_gender label {
  position: unset;
}
#form1 .for_check label {
  position: unset;
}

#form1 .form-control {
  background: transparent;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #004284;
  padding-left: 75px;
}
#form1 input,
#form1 textarea {
  color: #111;
}

#form1 .form-group.for_btn {
  text-align: center;
}
#form1 .btn-send {
  color: #004284;
  border-radius: 0;
  border-bottom: 1px solid #004284;
  transition: all 0.3s;
  padding: 2px 5px;
}
#form1 .custom-control-label a {
  color: #004284;
  text-decoration: none;
  border-bottom: 1px solid #004284;
  padding: 2px 0;
  transition: all 0.3s;
}
#form1 .custom-control-label::before {
  border-radius: 0;
  border: 1px solid #c2c0be;
  background-color: transparent;
  color: #000;
  margin-top: 4px;
}
#form1 .custom-control-label::after {
  margin-top: 4px;
}
#form1
  .custom-checkbox
  .custom-control-input:checked
  ~ .custom-control-label::after {
  background-color: #424866;
}
#form1 .custom-control-label a:hover,
#form1 .btn-send:hover {
  background-color: #004284;
  color: #fff;
}

/*--google recaptcha 隱藏----*/
.grecaptcha-badge {
  visibility: hidden;
}

@media (min-width: 768px) {
  .contact_block {
    background: url(../img/contact_bg.jpg) top left no-repeat;
    background-size: cover;
  }
  .contact_block .text_block {
    padding-bottom: 0;
  }
  .contact_block .text_block .logo_box {
    max-width: 50%;
  }
  .contact_block .form_block {
    padding: 2% 3%;
  }
}
@media (min-width: 1024px) {
  .top_block.contact_block .container-fluid {
    padding: 80px 60px;
  }
}
@media (min-width: 1920px) {
  .contact_block .form_block {
    padding: 2% 8%;
  }
  .top_block.contact_block .container-fluid {
    padding: 80px 100px;
  }
  #form1 .form-group.for_btn {
    text-align: right;
  }
}

/*------------------cookies--------------------*/

#cookies-box {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 9999999;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 20px;
  width: 100%;
  font-size: 0.8rem;
  line-height: 23px;
  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 #004284;
  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 {
    padding: 50px;
    font-size: 1rem;
    line-height: 36px;
  }
  #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;
}
.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;
  padding: 10px;
}

@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;
  }
}

/*========================================================
                  彈跳視窗
=========================================================*/

/* 彈跳視窗背景 */
.modal {
  display: none; /* 預設隱藏 */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* 半透明黑色背景 */
  overflow: hidden; /* 防止溢出 */
}

/* 彈跳視窗內容 */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  text-align: center;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
	max-width: 900px;
}

/* 關閉按鈕 */
.close-btn {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 32px;
  cursor: pointer;
}

/* 圖片樣式 */
.modal-content img {
  height: auto;
  width: auto;
	max-width: 900px;
  object-fit: contain;
}

/* 手機版微調 */
@media screen and (max-width: 1300px) {
  .modal-content {
    width: 95vw; /* 在手機版時，寬度可達 95% */
    max-height: 80vh;
  }

  .modal-content img {
    max-width: 100%;
    max-height: 70vh; /* 確保圖片在手機上也不超出 */
  }
}
