@charset "utf-8";
/* CSS Document */
/*【default】*/
/*--------------------------------------------整體預設架構----------------------------------------*/
#slider {
    position: fixed;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}
#slider .bx-wrapper,
#slider .bx-viewport,
#slider .bxslider,
#slider .bxslider > li,
#slider .bxslider > li > a {
    height: 100%;
}
#slider .bxslider a {
    display: block;
}
#slider img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#slider .bxslider > li {
    position: relative;
}
/* 客製 圖片內文 */
#slider .info {
    position: absolute;
    color: white;
}
/*--------------------------title-----------------------------------*/
.title h1{
    color: #838383;
    margin: 1em 2em 1em 10%;
    text-align: left;
    border-left: 10px solid #585858;
    padding-left: 10px;
}
.title h1 span{
    color: #c97146;
}
/*-------------------------article----------------------------------*/
article p{
    letter-spacing: 3px;
    line-height: 2.5em;
}

/* 圖文連結 1格 */
section.photo1{
    padding: 50px 8%;
    background-color: rgba(241, 212, 209, 0.05);
    display: flex;
    align-items: center;
}
section.photo1 > * {
    flex: 0 0 50%;
}
section.photo1 figure img{
    display: block;
    width: 100%;
    height: 22vw;
    object-fit: cover;
}

section.photo1 h2 {
    letter-spacing: 42px;
    padding-left: 42px;
    margin-bottom: 8px;
}
section.photo1 p {
    margin: 8px 0 16px;
    color: #999;
    letter-spacing: 1px;
}
section.photo1 .info a,
section.photo1 .info a:visited {
    color: #666;
    text-decoration: none;
}
section.photo1 .info a:hover,
section.photo1 .info a:active {
    color: #000;
    text-decoration: underline;
}




/* 方格圖片連結 2格 */
section.photo2{
    padding: 50px 0;
    background-color: rgba(241, 212, 209, 0.05);
}
section.photo2 .figureBox{
    margin: 0 auto;
}
section.photo2 .figureBox figure{
    width: 38%;
    float: left;
}
section.photo2 figure .mask{
    height: 38vw;
    overflow: hidden;
}
section.photo2 .figureBox figure .photo{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
}
section.photo2 .figureBox figure .photo:hover{
    transform: scale(1.2);
}
section.photo2 .figureBox figure h2{
    color: #353538;
    text-align: left;
    border-left: 10px solid #666;
    padding-left: 10px;
    margin-top: 30px;
}


/* 方格圖片連結 3格 */
section.photo3{
    padding: 50px 0;
    background-color: rgba(241, 212, 209, 0.05);
}
section.photo3 .figureBox{
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}
section.photo3 figure .mask{
    height: 450px;
    overflow: hidden;
}
section.photo3 .figureBox figure .photo{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.5s ease;
}
section.photo3 .figureBox figure .photo:hover{
    transform: scale(1.2);
}
section.photo3 .figureBox figure h2{
    color: #353538;
    padding-top: 30px;
}

#section2{
    padding: 8% 0;
}
#section2 article{
    width: 40%;
    margin: 0 auto;
    padding: 4% 0;
}
/*more按鈕*/
/*
    #section2 .btn{
        background-color: palegoldenrod;
        border: 1px solid palegoldenrod;
    }
    #section2 .btn h5.mask{
        color: #353538;
    }
    #section2 .btn:hover{
        background-color:  #fff;
        border: 1px solid #353538;
    }
*/
    .btn{
        background-color: #d8b66a;
        border: 1px solid #9a7c26;
        margin-top: 20px;
    }
    .btn h5.mask{
        color: #fff;
    }
    .btn:hover{
        background-color:  #fff;
        border: 1px solid #353538;
    }
    .btn:hover h5{
        color: #353538;
    }
    #section3{
        position: relative;
        background-attachment: fixed;
        background-size:cover;
        height: 600px;
    }
    #section3 .title h1 {
        margin-top: 1em;
    }
    #section3 .triangle{
        width: 0;
        height: 0;
        border-left: 200px solid transparent;
        border-right: 200px solid transparent;
        border-top: 200px solid rgb(244, 240, 237);
        margin: 0 auto;
        position: relative;
        top: 0;
    }
    #section3 .word{
        position: relative;
        margin-top: -200px;
    }
    #section4{
    	/*height: 700px;*/
        padding: 50px 0;
    	position: relative;
    }
    #section4 .title{
        margin-bottom: 50px;
    }
    #ani{
    	overflow: hidden;
    }
    #section4 .bx-wrapper {
        background: rgba(255,255,255,0.5);
        padding: 15px 0;
        margin-bottom: 30px;
        box-shadow: none;
    }
    #section4 .buttonMore{
    	margin:0 auto;
    }
    #section3 .btn{
        margin-top: 30px;
        /* background-color: #666; */
    }

@media (min-width:1441px) {
    section.photo2 .figureBox figure:first-child{
        margin: 20px 2% 20px 10%
    }
    section.photo2 .figureBox figure:last-child{
        margin: 20px 10% 20px 2%
    }

    section.photo3 figure > * {
        width: 450px;
    }
}

@media (min-width:1025px) AND (max-width:1440px) {
    section.photo2 .figureBox{
        width: 1000px;
    }
    section.photo2 figure .mask{
        height: 30vw;
    }
    section.photo3 .figureBox{
        width: 1000px;
    }
    section.photo3 figure > * {
        width: 300px;
    }
    section.photo3 figure .mask{
        height: 300px;
    }
}

@media (min-width:1025px) {
    section.photo2 .figureBox {
        display: flex;
    }
    section.photo2 .figureBox figure {
        flex: 1;
    }
    section.photo2 figure > * {
        margin: 0 auto;
    }

    section.photo3 .figureBox figure {
        flex: 1 1 300px;
        padding: 10px 10px 30px 10px;
    }
    section.photo3 figure > * {
        margin: 0 auto;
    }
}

/*熒幕尺寸【小於】1025時頁面顯示---平板*/
@media (max-width:1024px) {
    .bx-wrapper .bx-caption {
        display: none;
    }
    section.photo2 .figureBox figure {
        width: 46%;
        margin: 2%;
    }
    section.photo2 figure .mask {
        height: 46vw;
    }
    section.photo3 .figureBox figure{
        width: 46%;
        margin: 2%;
        float: left;
    }
    section.photo3 figure .mask {
        height: 46vw;
    }
    section.photo3 .figureBox figure h2 {
        padding-top: 20px;
    }
    #section2{
        padding: 10% 0;
    }
    #section2 article{
        width: 80%;
        padding: 6% 0;
    }
    #section3{
        background:url(../img/s3_bg.jpg) center no-repeat;
        background-attachment: initial;
        background-size:cover;
    }
}

@media (max-width: 575px) {
    section.photo1 {
        display: block;
        position: relative;
        padding: 0;
        margin: 50px 6%;
    }
    section.photo1 figure img{
        height: 50vw;
    }
    section.photo1 .info{
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 50vw;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        /*
        text-shadow: -1px -1px 1px #ffffff;
        text-shadow: 0 0 20px #000000;
        */
        color: #fff;
    }
    section.photo1 h2 {
        font-weight: normal;
    }
    section.photo1 p {
        color: #fff;
    }
    section.photo1 .info a,
    section.photo1 .info a:visited {
        color: #fff;
    }
    section.photo1 .info a:hover,
    section.photo1 .info a:active {
        color: #fff;
    }
}


/*熒幕尺寸【小於】481時頁面顯示---手機*/
@media (max-width: 480px) {
    section.photo2{
        padding:12% 0;
    }
    section.photo2 .figureBox{
        width: auto;
    }
    section.photo2 .figureBox figure{
        width: 300px;
        margin: 11% auto;
        float: none;
    }
    section.photo2 figure .mask{
        height: 300px;
    }

    section.photo3{
        padding:12% 0;
    }
    section.photo3 .figureBox{
        width: auto;
    }
    section.photo3 .figureBox figure h2 {
        height: 96px;
        box-sizing: border-box;
        overflow-y: auto;
        padding-top: 0;
        margin-top: 10px;
    }
    /*
    section.photo3 .figureBox figure{
        width: 300px;
        margin: 11% auto;
        float: none;
    }
    section.photo3 figure .mask{
        height: 300px;
    }
    */
    #section2{
        padding: 12% 0 18% 0;
    }
    #section2 article{
        width: 80%;
        padding: 8% 0;
    }
    #section3 {
        height: 500px;
    }
    #section3 .triangle{
        border-left: 150px solid transparent;
        border-right: 150px solid transparent;
        border-top: 150px solid #fff;
    }
    #section3 .word{
        margin-top: -150px;
    }
}
