@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Noto+Serif+TC:wght@200;300;400;500;600;700;900&display=swap");
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,400;1,500&display=swap');

.main-content-wrap,.paragraph,.intro_title,.title,footer{ font-family:'Noto Serif TC',serif; }
.main-content-wrap{ padding-left: unset;}

/*nav-bar------------------------------------------------------------------- */
nav{ position: fixed; top: 50%; right: 20px; transform: translateY(-50%); z-index: 999;filter: drop-shadow(0px 3px 2px rgba(0,0,0,0.4)); }
.media-link{
    display: flex;
    flex-direction: column;
    background: #e71222;
    justify-content: center;
    border-radius:30px;
    width: 48px;
    margin-bottom: 10px;
}
.media-link a{
    text-decoration: none;
}
.go-top{
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #e71222;
    border-radius:30px;
}
.tab-opt a{
    position: relative;
    text-align: center;
    padding: 10px 0px;
    font-size: 1.2rem;
    color:#fff ;
    padding: 15px 0px;
    filter: drop-shadow( inset 2px 3px 5px rgba(0,0,0,0.5));
    transition: 0.3s;
}
.tab-opt a:hover{color: #d4b248;}
.media-link a::after{ content:'';width:100%;height:100%;border-width: 0; border-right: 1px solid; border-image: linear-gradient(rgba(255, 255, 255, 0),#fff, rgba(255, 255, 255, 0)) 1 100%;position: absolute;right: 0;bottom: 0;pointer-events: none;transform: rotateZ(-90deg);}
.media-link a:first-of-type::after{display: none;}
.media-link a span {display: none;}
@media screen and (max-width: 600px) {
    nav{ top: unset; left: 0px; right:0px;bottom: 0px; z-index: 999;filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.5));transform: translateY(0%); }
    .media-link{ flex-direction: row; justify-content: space-around; align-self: center; border-radius: 0px; width: 100%; margin-bottom:0px; }
    .media-link a{ width: 100%; display: flex; flex-direction: column;}
    .media-link a span {display: inline; font-size: 12px; margin-top: 6px;}
    .media-link .icon-arrow-up{display: block;}
    .go-top{display: none;}
    .media-link a::after{transform: rotateZ(180deg);}
}

.num{writing-mode: horizontal-tb; transform: translate(-10px,5px);}
@media screen and (max-width:375px) {
    .num{display: contents;}
}
/* -- section_1 封面 員林奇蹟 ------------------------------------------------------------------- */
#cover-section{
    max-width: unset;
    width: 100%;
    height: 100vh;
    padding: 0;
    background-image: url(../image/bg.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}
@media screen and (max-width:1239px){
    #cover-section{
        background-image: url(../image/bg-mobile.png);
    }
}
@media screen and (max-width:375px){
    #cover-section{
        background-position-y: 55%;
        background-size: cover;
    }
}
#cover-section .uk-container{
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
  
/* @media screen and (max-width:1239px){
    #cover-section div:first-child{
        top: 25%;
    }
} */

#cover-section .title{
    height: 100%;
}

#cover-section h1{
    background-image: url(../image/slogan.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 100%; 
    height: 370px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    margin: 0;
    margin-bottom: 1rem;
}
@media screen and (max-width:640px){
    #cover-section h1{
        background-size: 90%;
        height: 150px;
        padding-top: 30%;
    }
}

#cover-section .imgbox{
    display: block;
    text-align: center;
    margin: auto;
}

#cover-section .imgbox img{
    width: 450px;
    margin-bottom:0.75rem;
}

@media screen and (max-width:640px){
    #cover-section h1{
        margin-bottom:0.25rem;
    }
    #cover-section .imgbox img{
        width: 60%;
        margin-bottom:0.5rem;
    }
}

#cover-section .pic_box{
    width: 30px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 40px;
    position: relative;
    margin: auto;
    margin-top: 50px;
}

#cover-section .pic_box::after{
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 99em;
    background-color: #fff;
    display: block;
    margin: auto;
    margin-top: 10px;
}

#cover-section .pic i{
    font-size: 1rem;
}

#cover-section .pic{
    margin: unset;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    text-align: center;
    color: #fff;

    animation-name: updown;
    animation-duration: .5s;
    animation-direction:alternate;
    animation-iteration-count: infinite; 
    animation-timing-function:ease-in-out;
}

@keyframes updown{
    from{
        bottom: 10px;
    }
    to{
        bottom: 2px;
    }
}

/* -- section_1 end ------------------------------------------------------------------- */
/* -- section_2 184重劃區 ------------------------------------------------------------- */
#skyview-section{
    background-image: url(../image/skyview.jpg);
    max-width: unset;
    width: 100%;
    height: calc(100vh + -250px);
    padding: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
}
#skyview-section .text_box{
    position: absolute;
    top: 10%;
    left: 10%;
}
#skyview-section h2{
    font-size: 2.2rem;
    color: #fff;
    font-family: 'Noto Serif TC',serif;
    font-weight: 700;
}
#skyview-section p{
    width: 55%;
    color: #fff;
    font-size: 18px;
    line-height: 2;
    font-weight: 500;
}
@media screen and (max-width: 959px){
    #skyview-section p{
        width: 80%;
    }
}
@media screen and (max-width: 767px){
    #skyview-section p{
        font-size: 16px;
    }
}
@media screen and (max-width: 600px){
    #skyview-section p{
        width: 90%;
    }
}
/* -- section_2 end ------------------------------------------------------------------- */
/* -- section_3 漫步圓林園，員林人的綠翡翠 ------------------------------------------------------ */
.environment{
    background-image: url(../image/s2-bg.jpg);
}

.environment article:last-child{
    padding-bottom: 100px;
}
@media screen and (max-width: 959px){
    .environment article:first-child{
        flex-direction: column-reverse;
        padding-bottom: unset;
    }
    .environment article:last-child{
        margin-top: unset;
        padding-top: unset;
    }
}
.environment .img_box{
    position: relative;
    height: 100%;
}
.environment .img_box:first-child .slideimg1{
    position: relative;
    height: auto;
}
.environment .img_box:first-child .slideimg1::after{
    content: "圓林園實景照片";
    font-size: 14px;
    position: absolute;
    right: 0;
    bottom: 0;
    color: #fff;
    padding: 10px;
}
@media screen and (max-width: 959px){
    .environment .img_box:first-child::after{
        right: 0;
    }
}
.environment .img_box:last-child .slideimg2{
    position: relative;
    height: auto;
}
.environment .img_box:last-child .slideimg2::after{
    content: "情境示意圖僅供參考";
    font-size: 14px;
    position: absolute;
    right: 0;
    bottom: 0%;
    color: #fff;
    padding: 10px;
}

.environment article:last-child .img_box li{
    width: 115%;
    margin-left: -15%;
}
@media screen and (max-width: 959px){
    .environment article:last-child .img_box li{
        width: unset;
        margin-left: unset;
    }
}

.environment .intro_title{ 
    font-weight: 700; 
    font-size: 2.2rem; 
    writing-mode: vertical-rl;
    margin-left: 30px; 
    color: #333;
}

.environment .a2 .intro_title{
    justify-content: center;
}

@media screen and (max-width: 959px){
    .environment .intro_title{ 
        writing-mode: unset;
        text-align: center;
        margin: unset;
    }
}

@media screen and (max-width: 767px){
    .environment .intro_title{ 
        font-size: 2rem; 
    }
}

.environment .para2{ 
    padding-top: 5.6rem; 
}
.environment .para2 span{
    display: contents;
    color: #d4b248;
}
.environment .para3{
    display: contents;
    color: #d4b248;
}
.environment .paragraph{ 
    color: #333;
    font-size:18px; 
    writing-mode: vertical-rl; 
    padding-top: 1.6rem;
    line-height: 2;
    font-weight: 500;
}
@media screen and (max-width: 767px){
    .environment .paragraph{ 
        font-size:16px; 
    }
}
@media screen and (max-width: 959px){
    .environment .paragraph{ 
        writing-mode: unset; 
        text-align: center;
        padding-top: unset;
    }
}

.environment article .text_box{
    margin-top: 50px;
}
.environment article:first-child .text_box{
    padding-left: 50px;
}
@media screen and (max-width: 959px){
    .environment article:first-child .text_box{
        padding-left: unset;
        display: inline-block;
    }
}
.environment article:last-child .text_box{
    padding-right: 50px;
}
@media screen and (max-width: 959px){
    .environment article:last-child .text_box{
        padding-right: unset;
    }
}
.environment .text_box{
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

@media screen and (max-width: 959px){
    .environment .text_box{
        justify-content: center;
        padding-left: unset;
    }
}

.environment .text_box .text_content{
    justify-content: center;
    display: flex;
}

.slick-list{
    /* width: 115%; */
    width: 100%;
}
@media screen and (max-width:959px){
    .slick-list{
        width: unset;
    }
}


.environment .a1.uk-container{  
    margin-left: unset;
    padding: 70px 10% 0;
}
@media screen and (max-width:959px){
    .environment .a1.uk-container{  
        padding: 0 10% 0;
    }
}

.environment .a2.uk-container{  
    margin-left: unset;
    padding: 0 10% 20px;
}

#environment2 article:nth-child(2){
    padding-bottom: 50px;
}

/* -- section_3 end ------------------------------------------------------------------- */
/* -- section_5 封底 萬眾矚目 ------------------------------------------------------ */

#back-cover-section{
    width: 100%;
    height: 700px;
    position: relative;
    background-image: url(../image/darkcurtain.jpg);
    background-repeat: repeat-x;
    background-size: contain;
    /* overflow-y: hidden; */
}
@media screen and (max-width:375px){
    #back-cover-section{
        height: 600px;
    }
}

#effect {
    position: relative;
    height: 630px;
}
#effect #curtain1, #effect #curtain2 {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
    height: 100%;
    width: 51%;
    transition: 1s;
    z-index: 2;
}
#effect #curtain1.active, #effect #curtain2.active {
    width: 10%;
}
#effect #curtain1 {
    left: 0;
}
#effect #curtain2 {
    right: 0;
}


@media screen and (max-width:375px){
    #back-cover-section .leftcurtain,
    #back-cover-section .rightcurtain{
            height: 530px;
    }
}

#back-cover-section .rightcurtain img,
#back-cover-section .leftcurtain img{
        width: 100%;
        height: 100%;
}
#back-cover-section .logo_bg{
    margin: 0px auto;
    display: block;
    width: 60%;
    height: 620px;
}

@media screen and (max-width: 959px){
    #back-cover-section .logo_bg{
        width: 90%;
    }
}
@media screen and (max-width:375px){
    #back-cover-section .logo_bg{
        height: 500px;
    }
}
#back-cover-section .slogan{
    margin: auto;
    position: absolute;
    top: 15%;
    left: 0;
    right: 0;
}
@media screen and (max-width: 767px){
    #back-cover-section .slogan{
        width: 50%;
        top: 20%;
    }
}
@media screen and (max-width: 479px){
    #back-cover-section .slogan{
        width: 60%;
        top: 25%;
    }
}


/* -- section_5 end ------------------------------------------------------------------- */
/* -- section_6 預約鑑賞 --------------------------------------------------------------- */

#contact-form{
    width: 100%;
    height: auto;

    background-image: url(../image/s4_bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(0, 0, 0, .5);
    background-blend-mode: multiply;
}

#contact-form .title{
    width: 100%;
    font-size: 2.2rem;
    color: #fff;
    text-align: center;
    font-weight: 700;
    letter-spacing: 10px;
    text-indent:10px;
    display: flex;
    justify-content: center;
    align-items:center;
    padding-left: unset;
    padding-right: unset;
    padding-bottom: 0;
}
@media screen and (max-width: 767px){
    #contact-form .intro_title{
        font-size: 2rem;
        width: 100%;
    }
}
@media screen and (max-width: 375px){
    #contact-form .intro_title{
        font-size: 1.8rem;
        letter-spacing: 4px;
        text-indent:4px;
    }
}

#contact-form .title div:first-child{
    width: 35%;
    height: 1px;
    background-color: #fff;
    margin-left: 5%;
}
#contact-form .title div:nth-child(2){
    width: 30%;
}
@media screen and (max-width: 767px){
    #contact-form .title div:nth-child(2){
        font-size: 2rem;
    }
}
@media screen and (max-width: 639px){
    #contact-form .title div:nth-child(2){
        width: 100%;
    }
}
#contact-form .title div:last-child{
    width: 35%;
    height: 1px;
    background-color: #fff;
    margin-right: 5%;
}

#contact-form label.name::after,
#contact-form label.mobile::after {
    content: '*';
    color: red;
}

#contact-form label.gender::after,
#contact-form label.time::after {
    content: "*";
    color: transparent;
}

#contact-form label{
    display: block;
    color: #fff;
    margin: auto;
    font-size: 24px;
    font-weight: 700;

    width: 1000px;
}

@media screen and (max-width: 767px){
    #contact-form label{
        font-size: 18px;
    }
}

#contact-form .ipt_name,
#contact-form .ipt_mobile,
#contact-form .ipt_time,
#contact-form .slt_gender{
    display: block;
    margin: auto;
    border-radius: 10px;
    height: 30px;
    margin-top: 10px;
    margin-bottom: 20px;
    outline: none;
    width: 1000px;
    font-size: 20px;
    border: none;
}
@media screen and (max-width: 767px){
    #contact-form .ipt_name,
    #contact-form .ipt_mobile,
    #contact-form .ipt_time,
    #contact-form .slt_gender{
        font-size: 16px;
    }
}

#contact-form .slt_gender{
    width: 1004px;
    height: 32px;
}

@media screen and (max-width: 1200px){
    #contact-form label{
        width: 800px;
    }
    #contact-form .ipt_name,
    #contact-form .ipt_mobile,
    #contact-form .ipt_time{
        width: 800px;
    }
    #contact-form .slt_gender{
        width: 808px;
    }
}
@media screen and (max-width: 959px){
    #contact-form label{
        width: 80%;
    }
    #contact-form .ipt_name,
    #contact-form .ipt_mobile,
    #contact-form .ipt_time{
        width: 80%;
    }
    #contact-form .slt_gender{
        width: calc(80% + 8px);
    }
}
@media screen and (max-width:375px){
    #contact-form label{
        width: 100%;
    }
    #contact-form .ipt_name,
    #contact-form .ipt_mobile,
    #contact-form .ipt_time{
        width: 100%;
    }
    #contact-form .slt_gender{
        width: calc(100% + 8px);
    }
}
#contact-form .send,
#contact-form .clear{
    background-color: #e71222;
    color: #fff;
    width: 140px;
    height: 50px;
    outline: none;
    font-size: 22px;
    font-weight: 700;
    border-radius: 10px;
    margin: 5px;
    margin-top: 30px;
    cursor: pointer;
    border: none;
    transition: .3s;
}
#contact-form .send:hover,
#contact-form .clear:hover{
    background-color: #fff;
    color: #e71222;
}

@media screen and (max-width: 399px){
    #contact-form .send,.clear{
        margin: unset;
        margin-top: 30px;
    }
}

/* -- section_6 end ------------------------------------------------------------------- */
/* -- section_7 map ------------------------------------------------------------------- */

/* -- section_7 end ------------------------------------------------------------------- */
/* -- section_8 footer ---------------------------------------------------------------- */

#footer{
    color: #fff;
    background-image: url(../image/s3_bg.png);
    -webkit-filter: saturate(90%); /* Safari */
    filter: saturate(90%);
    /* background-color: #bd0211; */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    font-family: 'Noto Serif TC',serif;
    background-size: cover;
    line-height: 1.6;
}
@media screen and (max-width: 600px){
    footer{
        margin-bottom: 65px;
    }
}

#footer .copyright {
    display: flex;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 14px;
    color: #fff;
}

.copyright img {
    height: 14px;
    width: auto;
    transform: translateY(-2px);
}

#footer span{
    font-size: 14px;
}

@media screen and (max-width: 375px){
    #footer span{
        font-size: 12px;
        font-weight: 600;
    }
}

@media screen and (max-width: 518px){
    .br{ display: none;}
}


.slick-track{
    display: flex;
    align-items: center;
    justify-content: center;
}