
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");



/*========================================================
                         基本設定
=========================================================*/

body {
	font-family: 'Noto Serif TC', "微軟正黑體", Arial, Verdana, Helvetica, sans-serif;
    font-weight: 400;
	line-height: 32px;
    font-size: 1rem;
    color: #4D4D4D;
    overflow-x: hidden;
}
@media (max-width: 991px){
    body {
        margin-bottom: 79px;
    } 
}
/* google recaptcha 隱藏 */
    .grecaptcha-badge{ 
     visibility:hidden;
}


/*========================================================
                         動畫設定
=========================================================*/

.amin-01 {
    transform-origin: left top;
    animation: amin-01 2.5s infinite alternate-reverse ease-in-out;
}
@keyframes amin-01 {
    0% {
        transform: skewY(-3deg);
    }
    100% {
        transform: skewY(0);
    }
}

.amin-02 {
    transform-origin: 60% 80%;
    animation: amin-02 1.5s ease-in-out infinite alternate;
}
@keyframes amin-02 {
    0% {
        transform: rotate(3deg);
    }
    100% {
        transform: rotate(0);
    }
}

.amin-03 {
    transform: skew(-3deg);
    transform-origin: 60% 100%;
    animation: amin-03 2s ease-in-out infinite alternate;
}
@keyframes amin-03 {
    to {
        transform: rotate(0);
    }
}


.amin-04 {
    -webkit-transform: translateY(2px) scaleX(1);
    transform: translateY(2px) scaleX(1);
    -webkit-animation: amin-04 1s ease-in-out infinite alternate;
    animation: amin-04 1s ease-in-out infinite alternate
}
@keyframes amin-04 {
    to {
        -webkit-transform: translateY(-2px) scaleX(.7);
        transform: translateY(-2px) scaleX(.7)
    }
}

.amin-05 {
    transform: rotate(-1deg) skew(1deg);
    transform-origin: 60% 95%;
    -webkit-animation: amin-05 1.5s ease-in-out infinite alternate;
    animation: amin-05 1.5s ease-in-out infinite alternate;
}
@keyframes amin-05 {
    to {
        transform: rotate(0);
    }
}


/*========================================================
                       統一設定
=========================================================*/

.s-pc {
   display: none; 
}
.s-m {
   display: block; 
}
@media (min-width: 1200px) {
    .s-pc {
       display: block; 
    }
    .s-m {
       display: none; 
    }
}

.f1 {
    position: absolute;
    right: 15px;
    bottom: -10px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
}
@media (min-width: 1200px) {
    .f1 {
        right: 20px;
        bottom: -5px;
        font-size: 1rem;
    }
}

/*========================================================
                         區塊1
=========================================================*/

.section1 {
    background-image: url("../img/section1-bg-m.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    padding-top: 60px;
    padding-bottom: 40px;
}
.section1 img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.section1 p {
    text-align: center;
    color: #7B7A7B;
    font-size: 2vw;
    line-height: 4vw;
    padding: 0 30px;
}

.section1 .s-m img:nth-of-type(1) {
    width: 50vw;
}
.section1 .s-m img:nth-of-type(2) {
    width: 30vw;
}

.section1 .s-m img:nth-of-type(3) {
    width: 75vw;
    margin: 10% auto;
}

@media (min-width: 640px) and (max-width: 991px) {
    .section1 .s-m img:nth-of-type(1) {
        width: 40vw;
    }
    .section1 .s-m img:nth-of-type(2) {
        width: 25vw;
    } 
}
@media (min-width: 992px) and (max-width: 1599px) {
    .section1 .s-m img:nth-of-type(1) {
        width: 20vw;
    }
    .section1 .s-m img:nth-of-type(2) {
        width: 15vw;
    } 
    .section1-img img {
        width: 70vw;
    }

    .section1 .s-m img:nth-of-type(3) {
        width: 55vw;
    }
}

@media (min-width: 1200px)   {
    .section1 {
        background-image: url("../img/section1-bg-pc.jpg");
        padding-top: 140px;
        padding-bottom: 140px;
    }
    .section1 p {
        font-size: 0.7rem;
        line-height: 1.8rem;
    }

    .section1 .s-pc img:nth-of-type(2) {
        margin-top: 13.5%;
    }
}
@media (min-width: 1600px)   {
    .section1 {
        padding-top: 160px;
        padding-bottom: 160px;
    }
    .section1 p {
        font-size: 1rem;
        line-height: 2.2rem;
    }
}



/*========================================================
                         區塊2
=========================================================*/

.section2 {
    background-image: url("../img/section2-bg-m.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}
.section2 .row {
    padding-top: 40px;
    padding-bottom: 40px;
}
.section2-img img {
    width: 100%;
}
.section2-txt {

}
.section2-txt p {
    writing-mode: vertical-rl;
    border-left: 1px solid #b2b8be;
    border-right: 1px solid #b2b8be;
    margin: 0 30px 0 0;
    padding: 0 10px 30px 10px;
    font-weight: bold;
}
@media (min-width: 768px)   {
    .section2-txt p {
        font-size: 1.2rem;
    }
}
@media (min-width: 992px)   {
    .section2 {
        background-image: url("../img/section2-bg-pc.jpg");
    }
    .section2-txt p {
        font-size: 1.4rem;
        line-height: 60px;
    }
}
@media (min-width: 1200px)   {
    .section2 {
        padding-top: 100px;
    }
    .section2 .row {
        padding-top: 0px;
        padding-bottom: 0px;
    }
    .section2-1 {
        left: 100px;
    }
    .section2-2 {
        left: 60px;
        top: 100px;
    }
    .section2-3 {
        top: -0px;
    }
    .section2-txt p {
        border-left: 1px solid #9ca1a6;
        border-right: 1px solid #9ca1a6;
        font-size: 1.2rem;
        line-height: 40px;
    }
    .section2-1 .section2-txt {
        margin-top: 60px;
    }
    .section2-3 .section2-txt {
        margin-top: 60px;
    }
}
@media (min-width: 1600px)   {
    .section2-txt p {
        font-size: 1.4rem;
        line-height: 60px;
    }
    .section2-1 {
        left: 160px;
    }
    .section2-2 {
        left: 120px;
    }
}





/*========================================================
                         區塊3
=========================================================*/

.section3 {
    padding-top: 60px;
    padding-bottom: 40px;
    font-weight: bold;
}
.section3-txt {
    margin-bottom: 80px;
}
.section3-txt-1 p {    
    font-size: 2rem;
    font-weight: bold;
}

.section3-txt-1 p b {
    color: #798A70;
}
.section3-txt-1 p b:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 100px;
    height: 1px;
    background-color: #798A70;
    margin: 0 10px;
}
.section3-img-1 .row {
    background-color: #798a70;
    color: #fff;
}
.section3-img-1 .col-3 div {
    writing-mode: vertical-rl;
    position: relative;
    left: 20px;
    top: calc(100% - 110px);
    font-size: 1.3rem;
}
.section3-img-2 {
    background-image: url("../img/section3-img-more.png");
    background-repeat: no-repeat;
    background-position: right 20px;
    padding: 60px 30px 40px 0;
}
@media (max-width: 1199px) {
    .section3-txt {
        margin-bottom: 20px;
    }
    .section3-txt-1 p {    
        font-size: 1.6rem;
        text-align: right;
        margin-bottom: 20px;
    }
    .section3-txt-1 p span {    
        writing-mode: vertical-rl;
    }
    .section3-txt-1 p b:after {
        width: 50px;
        margin-top: -30px;
    }
}
@media (min-width: 1200px) {
    .section3 {
        padding-top: 120px;
        padding-bottom: 60px;
    }
    .section3-img-1 .col-3 div {
        left: 30px;
        top: calc(100% - 130px);
        font-size: 1.5rem;
    }
    .section3-img-2 {
        background-image: url("../img/section3-img-more.png");
        background-repeat: no-repeat;
        background-position: right 40px;
        padding: 60px 180px 40px 0;
    }
}
@media (min-width: 1600px)   {
    .section3 {
        font-size: 1.1rem;
    }
    .section3-img-1 .col-3 div {
        font-size: 1.6rem;
    }
}

/*========================================================
                         區塊4
=========================================================*/

.section4 {
    padding-top: 0px;
}
@media (min-width: 1200px) {
    .section4 {
        padding-top: 0px;
    }
}


/*========================================================
                         區塊5
=========================================================*/

.section5 {
    background-image: url("../img/section5-bg-m.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    padding-top: 60px;
    padding-bottom: 60px;
}
.section5-txt-1 { 
}
.section5-txt-1 p { 
    font-size: 2rem;
    font-weight: bold;
}
.section5-txt-1 p b {
    color: #798A70;
}
.section5-txt-1 p b:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 1px;
    height: 100px;
    background-color: #798A70;
    margin: 0 10px;
}

.section5-txt-2 {
    margin-top: 0px;
    padding-top: 20px;
    padding-bottom: 30px;
    font-size: 1rem;
    font-weight: bold;
}
.section5-txt-2 p {
    margin: 0;
}

.section5-img {
    background-image: url("../img/section3-img-more.png");
    background-repeat: no-repeat;
    background-position: right bottom;
    padding-bottom: 40px;
}



@media (max-width: 1199px) {
    .section5-txt {
        margin-bottom: 20px;
    }
    .section5-txt-1 p {    
        font-size: 1.6rem;
        text-align: right;
        margin-bottom: 20px;
    }
    .section5-txt-1 p span {    
        writing-mode: vertical-rl;
    }
    .section5-txt-1 p b:after {
        width: 50px;
        height: 1px;
        margin-top: -30px;
        
    }
}
@media (min-width: 1200px)   {
    .section5 {
        background-image: url("../img/section5-bg-pc.jpg");
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .section5-txt-2 {
        border-top: 1px solid #808080;
        border-bottom: 1px solid #808080;
        margin-top: 60px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .section5-txt-1 p { 
        writing-mode: vertical-rl;
        text-align: center;
        margin: 0 auto;
    } 
    .section5-txt-1 p b:after {
        margin: 10px 14px 10px 0;
    }
}
@media (min-width: 1600px)   {
    .section5 {
        padding-top: 120px;
        padding-bottom: 100px;
    }
    .section5-txt-2 {
        margin-top: 100px;
        padding-top: 50px;
        padding-bottom: 50px;
        font-size: 1.1rem;
        line-height: 36px;
    }
}


/*========================================================
                         區塊6
=========================================================*/

.section6{position:relative; padding-bottom: 60px;}
.section6-logo{ position:absolute; top:0; right:15px; width: 30%; max-width: 218px;}

.section6-txt{ margin-bottom: 45px;}
.section6-txt h2{
    font-family: "Marcellus", "微軟正黑體", Arial, Verdana, Helvetica, sans-serif; 
    letter-spacing: 0.1rem; 
    font-size: 1.4rem; 
    padding:14vw 0 45px 0;
}
.section6-txt p{font-weight: bold;}

.section6-timeline-lg{ display:none; }

@media (min-width: 1200px) {
    .section6{ padding-bottom: 160px;}
    .section6-logo{ position:absolute; top:0; right:auto; left:0; width:160px;}
    .section6-txt h2{ padding:60px 0 60px calc(1140px - 50vw - 380px);  font-size: 2rem; line-height: 3rem;}
    .section6-txt p{ padding-left:calc(1140px - 50vw - 420px);}

    .section6-timeline{text-align: right; padding-top: 60px;}
    .section6-timeline img{ max-width:932px; width:100%; height:auto; }

    .section6-timeline-lg{ display:block; }
    .section6-timeline-sm{ display:none; }
}

@media (min-width: 1600px){
    .section6-logo{ position:absolute; top:0; right:auto; left:0; width: 218px;}
    .section6-txt h2{ padding:100px 0 160px calc(1140px - 50vw - 120px); font-size: 2.6rem; line-height: 4rem; }
    .section6-txt p{ font-size:1.1rem; line-height: 36px; padding-left:calc(1140px - 50vw - 180px);}

    .section6-timeline{ padding-top: 100px;}
}


/*========================================================
                         區塊7
=========================================================*/

.section7 {
/*    background-image: url("../img/section7-bg-m1.jpg");*/
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}
.section7 h3 {
    font-weight: bold;
}
.section7-txt {
    font-size: 1rem;
    font-weight: bold;
}
.section7-txt ul {
    list-style: none;
    margin: 20px 0 30px 0;
    padding: 0;
}
.section7-txt ul li {
    line-height: 34px;
}

.section7-form h3 {
    margin-bottom: 20px;
}

@media (max-width: 1199px) {
    .section7 h3 {
        text-align: center;
    }
    .section7-info {
        background-image: url("../img/section7-bg-m1.jpg");
        background-size: 100% 100%;
        padding: 60px 15px;
        display: flex;
        flex-wrap: wrap;
    }
    .section7-info h3 {
        margin-top: 40px;
    }
    .section7-form {
        background-image: url("../img/section7-bg-m2.jpg");
        padding: 60px 15px;
    }
    .section7-txt {
        width: 100%;
        order: 2;
    }
    .section7-map {
        width: 100%;
        order: 1;
    }
}
@media (min-width: 1200px) {
    .section7 {
        background-image: url("../img/section7-bg-pc.jpg");
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .section7 > div {
        max-width: 1480px;
    }
    .section7-txt {
        font-size: 1.1rem;
    }
}


/*========================================================
                         表單設定
=========================================================*/

#form1 {
    position: relative;
    font-size: 1.1rem;
    font-weight: bold;
}
.form-control {
    background-color: transparent;
    height: calc(2.5rem + 2px);
    color: #4d4d4d !important;
    font-weight: bold;
    border: none;
    border-bottom: 1px solid #798a70;  
    border-radius: 0;
}
.form-control:focus {
    background-color: transparent;
}

::placeholder {
    color: #4d4d4d !important;
    font-weight: bold;
    opacity: 1 !important;
}
::-ms-input-placeholder {
    color: #4d4d4d !important;
    font-weight: bold;
}

.check-box .btn {
    background-color: #798A70;
    width: 100%;
    text-align: center;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0;
    padding: 0.75rem 1.75rem;
}
.check-box .btn:hover,
.check-box .btn:focus{
    background-color: #6C7765;
}


.custom-control-label {
    color: #798A70;
}
.custom-control-label::before {
    top: 0.5rem;
}
.custom-control-label::after {
    top: 0.5rem;
}

.swal-modal {
    max-width: 400px;
}
.swal-button {
    background-color: #798a70;
    padding: 4px 24px;
}
.swal-button:not([disabled]):hover {
    background-color: #6C7765;
}
.swal-text {
    text-align: center;    
    font-size: 1.1rem;
    font-weight: 500;
}

@media (min-width: 1200px) {
    .form-control {
        height: calc(4rem + 2px);
    }
}


/*========================================================
                         左側選單
=========================================================*/

.icon_Community a.js-btn-icon_Community {
    text-align: center;
    width: 50px;
    line-height: 47px;
    border-radius: 100px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 0;
    cursor: pointer;
    color: #fff;
    background: #000;
    font-size: 22px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.5);
    height: 50px;
    pointer-events: auto;
	overflow: hidden;
    
}

.js-btn-icon_Community:hover,
.js-btn-icon_Community:focus {
    color: #fff;
    background-color: #798A70;
    border-color: #798A70;
}

.js-icon_Community .icon_li {
    position: relative;
    left: -100px;
}
.icon_li_img {
        max-width: 50px;
        width: 100%;
        height: auto;
        display: block;
        position: absolute;
        left: 0;
        z-index: 1;
    }
.js-icon_Community.active .icon_li {
    left: 0;
    pointer-events: auto;
}

.js-icon_Community .icon_li:nth-child(1) {
    transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    -webkit-transition: all 0.1s ease-out;
}

.js-icon_Community .icon_li:nth-child(2) {
    transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
}

.js-icon_Community .icon_li:nth-child(3) {
    transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    -webkit-transition: all 0.5s ease-out;
}


.icon_li a:hover .icon{
 animation: go 3s linear infinite;
}

@keyframes go {
  10% {
    transform: rotate(15deg);
  }
  20% {
    transform: rotate(-10deg);
  }
  30% {
    transform: rotate(5deg);
  }
  40% {
    transform: rotate(-5deg);
  }
  50%,100% {
    transform: rotate(0deg);
  }
}  

@media (max-width: 991.98px){
    .icon_Community {
        width: 100%;
        position: fixed;
        left: auto;
        bottom: 0;
        z-index: 999998;
        pointer-events: none;
    }
    .icon_Community_ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
    }
    .icon_Community_ul .icon_li {
        width: 33.33%;
/*        border-right: 1px solid #fff;*/
    }
    .icon_Community_ul .icon_li:last-child {
        border-right: none;
    }
 .icon_Community_ul .icon_name {
        font-size: 0.8rem;
  		padding-top: 5px;
    }
    .icon_img {
        display: block;
        background-color: #798A70;
        overflow: hidden;
        text-align: center;
        color: #fff;
        position: relative;
        padding: 13px 10px 7px;
        text-decoration: none;
    }
 .icon_Community a{
	  color: #fff;
	  text-decoration:none;
 }
 .icon_Community a img{
	  display: block;
	  margin: 0 auto;
	  width: 22px;
 }
 .icon_Community a:hover{
	  background-color: #236459;
 }
 .icon_Community a:hover img{
	  animation: go 3s linear infinite;
 }
}

@media (min-width: 992px){
    .icon_Community {
        position: fixed;
        right: 0px;
        top: 0;
        z-index: 9998;
        pointer-events: none;
    }
    .icon_Community_ul {
        list-style: none;
        padding: 0;
        display: flex;
/*
        flex-direction: row;
        align-items: flex-end;
*/
    }
    .icon_img {
        background-color: #798A70;
        border: none;
        overflow: hidden;
        text-align: center;
        margin-bottom: 6px;
        width: 50px;
        text-decoration: none;
        border-radius: 0;
        color: #fff;
        transition: all 0.3s ease;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .icon_img.active {
        width: 142px;
    }
    .icon_img.active .icon_name {
        text-indent: 0;
        opacity: 1;
    }
    .icon_img:hover {
        text-decoration: none;
        width: 142px;
    }
    .icon_img:before {
        opacity: 0;

    }
    .icon_img .icon {
        color: #fff;
        font-size: 22px;
        width: 50px;
        line-height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0;
        z-index: 1;
    }
    .icon_img:hover .icon {
        text-decoration: none;
    }
    .icon_img:hover .icon_name {
        opacity: 1;
        text-indent: 0;
    }
    .icon_name {
        position: relative;
        line-height: 50px;
        padding-left: 15px;
        padding-right: 50px;
        transition: all 0.3s ease;
        opacity: 0;
        text-decoration: none;
        color: #fff;
        white-space: nowrap;
        border-radius: 100px;
        overflow: hidden;
        font-family: Arial, "Microsoft JhengHei", sans-serif;
    }
}



/*========================================================
                         快速選單
=========================================================*/

.quick-btn {
    position: fixed;
    bottom: 0;
    z-index: 9999;
    width: 100%;
    background-color: #294b62;
    text-align: center;
}
.quick-btn [class*="col-"] {
    border-right: 1px solid #fff;
}
.quick-btn [class*="col-"]:last-child {
    border-right: none;
}
.quick-btn [class*="col-"] a {
    display: block;
    color: #fff;
    padding-top: 15px;
    padding-bottom: 8px;
	border-left: none;
	text-decoration:none;
	font-size: 0.9rem;
}
.quick-btn [class*="col-"]:hover {
    background-color: #6e99af;
}
.quick-btn [class*="col-"] a i {
    display: block;
}


.quick-modal {
    text-align: center;
    padding: 50px 60px;
}
.quick-modal i {
    display: block;
    font-size: 5rem;
    color: #006263;
    font-weight: bold;
    margin-bottom: 30px;
}
.quick-modal h2 {
    font-size: 1rem;
    font-weight: bold;
}
.quick-modal p {
    font-size: 1.4rem;
    font-weight: bold;
}
.quick-modal .btn {
    width: 100%;
    min-width: 240px;
    background-color: #006263;
	border-color: #2cb1a6;

}
.quick-modal a {
    display: block;
    width: 100%;
    color: #fff;
    padding: 5px;
	text-decoration: none;
}
.quick-modal .btn:hover {
    background-color: #2cb1a6;
	border-color: #006263;
}
#modal1 i {
    transform: rotate(0deg);
}
@media (min-width: 992px) {
	.quick-btn{ display:none;}
}



/*========================================================
                         隱私權聲明
=========================================================*/

.fancybox-container {z-index: 9999999;}
.modal-body{ overflow-y:auto; padding:20px;}
.modal-header{ border-bottom:none;}
.modal-body h2{ text-align:center; margin-bottom:20px;}
.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-body{ padding:20px 80px;}
	.modal-dialog{ max-width: 1200px; margin-bottom:0;}
}
@media (min-width: 992px){
    .fancybox-content {max-width: 80%;}
}