@charset "utf-8";
/* CSS Document */
/*【default】*/
/*--------------------------------------------整體預設架構----------------------------------------*/
/*--------------------------title-----------------------------------*/
    .title h1{
        color: #333;
    }
    .title h1 span{
        color: #5b26b5;
    }
/*-------------------------article----------------------------------*/
    article p{
        letter-spacing: 3px;
        line-height: 2.5em;
    }
/*---------------------------------------------------main-----------------------------------------*/
/*---------------------------section1-------------------------------*/
#section1{
    padding: 8% 0;
    background-color: rgba(255, 255, 255, 0.57);
}
/*-----------------figureBox------------------*/
#section1 .figureBox{
    width: 1440px;
    margin: 0 auto;
}
#section1 .figureBox figure{
    width: 450px;
    margin: 7% 15px;
    float: left;
}
#section1 .figureBox .mask{
    height: 300px;
    overflow: hidden;
}
/*---照片(photo)---*/
#section1 .figureBox figure .photo{
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: transform 0.5s ease;
}
#section1 .figureBox figure .photo:hover{
    transform: scale(1.2);
}

/*---文字(h2)---*/
#section1 .figureBox figure h2{
    color: #353538;
    padding-top: 30px;
}
/*---------------------------section2-------------------------------*/
    #section2{
        padding: 8% 0;
    }
    #section2 article{
        width: 40%;
        margin: 0 auto;
        padding: 4% 0;
    }
/*--------------------btn---------------------*/
/*more按鈕*/
/*
    #section2 .btn{
        background-color: palegoldenrod;
        border: 1px solid palegoldenrod;
    }
    #section2 .btn p.mask{
        color: #353538;
    }
    #section2 .btn:hover{
        background-color:  #fff;
        border: 1px solid #353538;
    }
*/
/*---------------------------section3-------------------------------*/
    #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-------------------------------*/
    #section4{
    	/*height: 700px;*/
        padding: 50px 0;
    	position: relative;
    }
    #section4 .title{
        margin-bottom: 50px;
    }
    #ani{
    	overflow: hidden;
    }
    #section4 .bx-wrapper {
        background: #888686;
        padding: 15px 0;
        margin-bottom: 30px;
        box-shadow: none;
    }
    #section4 .bx-wrapper a {
        line-height: 400px;
    }
    #section4 .bx-wrapper img {
        height: auto;
        max-width: 100%;
        max-height: 400px;
        vertical-align: middle;
        display: inline-block;
    }
    #section4 .buttonMore{
    	margin:0 auto;
    }
/*--------------------btn---------------------*/
/*more按鈕*/
    #section3 .btn{
        margin-top: 30px;
        /* background-color: #666; */
    }

@media (min-width:1441px) {
    #section1 figure > * {
        width: 450px;
    }
}

@media (min-width:1025px) AND (max-width:1440px) {
    #section1 .figureBox{
        width: 1000px;
    }
    #section1 figure > * {
        width: 300px;
    }
    #section1 .figureBox .mask{
        height: 200px;
    }
}

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

/*熒幕尺寸【小於】1025時頁面顯示---平板*/
@media (max-width:1024px) {
/*---------------------------------------------------main-----------------------------------------*/
/*---------------------------section1-------------------------------*/
    #section1{
        padding:10% 0;
    }
    #section1 .figureBox{
        width: auto;
    }
    #section1 .figureBox figure{
        width: 450px;
        margin: 9% auto;
        float: none;
    }
    #section1 .figureBox .mask{
        height: 300px;
    }
/*---------------------------section2-------------------------------*/
    #section2{
        padding: 10% 0;
    }
    #section2 article{
        width: 80%;
        padding: 6% 0;
    }
/*---------------------------section3-------------------------------*/
    #section3{
        background:url(../img/s3_bg.jpg) center no-repeat;
        background-attachment: initial;
        background-size:cover;
    }
}

@media (max-width: 767px) {
    #section4 .bx-wrapper a {
        line-height: 300px;
    }
    #section4 .bx-wrapper img {
        max-height: 300px;
    }
}

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

    }
    #section1 .figureBox .mask{
        height: 200px;
    }
/*---------------------------section2-------------------------------*/
    #section2{
        padding: 12% 0 18% 0;
    }
    #section2 article{
        width: 80%;
        padding: 8% 0;
    }
/*-----------------------------------section3------------------------------------*/
    #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;
    }
    #section4 .bx-wrapper a {
        line-height: 200px;
    }
    #section4 .bx-wrapper img {
        max-height: 200px;
    }
}
