@charset "utf-8";




/*----------------------banner開始---------------------------*/

.banner {
    position: relative;
}

.favorite,
.scrolldown {
    position: absolute;
    cursor: pointer;
    overflow: hidden;
}

.favorite {
    top: 120px;
    left: 50px;
}

.favorite p,
.scrolldown p {
    margin-bottom: 12px;
}

.scrolldown p {
    letter-spacing: 5px;
}


.scrolldown {
    bottom: 7vh;
    left: 50px;
    text-align: center;
}



.banner_img {
    margin-left: 130px;
    margin-right: 3vw;
    opacity: 0;
}

.banner_slide {
    width: 50px;
    height: 90px;
    position: absolute;
    bottom: -45px;
    left: calc(50% - 25px);
    cursor: pointer;
}

.banner_slide span {
    display: block;
    width: 1px;
    background-color: #000;
    margin-left: calc(50% - 1px);
}



/*----------------------banner結束---------------------------*/


/*----------------------content開始---------------------------*/

.contnet {
    margin-top: 100px;
}



/*._title*/

._title {
    text-align: center;
}

._title h2 {
    font-family: 'JosefinSans-Bold';
    font-size: 3rem;
    letter-spacing: 1px;

    overflow: hidden;
}

._title h2 span {
    display: block;
}

._title p {
    font-family: "微軟正黑體";
    font-size: 1.25rem;
    margin-top: 15px;
    letter-spacing: 1px;
    overflow: hidden;
}

._title p span {
    display: block;
}

._title>span {
    display: none;
}



/*.menu_list*/

.menu_list_bg {
    margin-top: 35px;
    overflow: hidden;
}

.menu_list {
    display: flex;
    justify-content: center;
    font-family: "微軟正黑體";
    font-size: .875rem;
    letter-spacing: 1px;
}

.menu_list ul {
    display: inline-block;
}

.menu_list ul li {
    display: inline-block;
    margin-right: 15px;
}

.menu_list ul li:last-child {
    margin-right: 0;
}

.menu_list ul li p {
    transition: all .5s ease;
    font-weight: 400;
}

.menu_list ul li:hover p,
.menu_list ul li.active p {
    /*font-weight:900;*/
    transition: all .8s ease;
}

.menu_list ul li:after {
    content: "";
    display: block;
    width: 0%;
    height: 2px;
    background-color: #6f0064;
    margin-top: 5px;
    margin-left: 50%;
    transition: all .5s ease;
}

.menu_list ul li:hover:after,
.menu_list ul li.active:after {
    width: 100%;
    margin-left: 0;
    transition: all .5s ease;
}

.menu_list>span {
    margin-left: 25px;
}

.icon-magnifier {
    color: #b3b3b3;
}



/*----------------row設定開始----------------------------------*/

.row {
    width: 80%;
    max-width: 1110px;
    margin: auto;
    display: flex;
    align-items: center;
    margin-bottom: 90px;
}



/*頭尾設定*/

.row:last-child {
    margin-bottom: 0;
}



/*頭尾設定*/

.catedata{
    margin-top: 95px;
}


.row:nth-child(even) {
    flex-direction: row-reverse;
}

.row_img_box_bg,
.row_text_bg {
    width: 50%;
}



/*圖片設定*/

.row_img_box_bg {
    overflow: hidden;
    padding-top: 30px;
}

.row_img_box {
    position: relative;
    transform: translateX(100%);

}

.row:nth-child(odd) .row_img_box {
    padding-right: 15px;
    text-align: right;
    transform: translateX(100%);
}

.row:nth-child(even) .row_img_box {
    padding-left: 15px;
    text-align: left;
    transform: translateX(-100%);
}

.row_img {
    overflow: hidden;
    max-width: 540px;
    max-height: 420px;
    display: flex;
    justify-content: center;
}

.row:nth-child(odd) .row_img_box {
    margin-left: auto;
}

.row_img img {
    width: auto;
    height: 100%;
    max-height: 420px;
    transition: all .5s ease;
}

.row_img img:hover {
    transform: scale(1.1);
    transition: all .5s ease
}

._date {
    background-color: #fff;
    position: absolute;
    top: -30px;
    color: #999999;
    padding-bottom: 30px;
}

.row:nth-child(odd) ._date {
    right: 15px;
    padding-left: 30px;
}

.row:nth-child(even) ._date {
    left: 15px;
    padding-right: 30px;
}

._date h2 {
    font-family: 'JosefinSans-SemiBold';
    font-size: 3rem;
    /*letter-spacing: 1px;*/
}

._date p {
    font-family: 'JosefinSans-Bold';
    font-size: .75rem;
    letter-spacing: 1px;
}



/*文字設定*/

.row_text_bg {
    overflow: hidden;
    display: table;
}

.row_text {
    width: 100%;
    max-width: 470px;
}

.row:nth-child(odd) .row_text {
    padding-left: 80px;
    transform: translateX(-100%);
}

.row:nth-child(even) .row_text {
    padding-right: 80px;
    transform: translateX(120%);
    margin-left: auto;
}


.row_text h2 {
    font-family: "MyriadPro-Regular", "微軟正黑體";
    font-weight: bold;
    font-size: 1.3125rem;
    letter-spacing: 1px;
    line-height: 1.5;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.row_text p {
    font-family: '微軟正黑體';
    font-size: .875rem;
    letter-spacing: 1px;
    line-height: 1.5;
    color: #484848;
    margin-top: 30px;
}

.row_text>p {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.read_me {
    width: 160px;
    height: 40px;
    background-color: #7a006e;
    margin-top: 60px;
    cursor: pointer;
    transition: .5s ease;
}

.read_me p {
    color: #fff;
    font-size: .75rem;
    font-family: 'MyriadPro-Regular';
    letter-spacing: 1px;
    padding-top: 12px;
    text-align: center;
}

.read_me:hover {
    transform: scaleX(1.1);
    transition: .5s ease;
}



/*---------------------------row設定結束---------------------*/


/*----------------------content結束---------------------------*/


/*初進場動畫---------------*/

.banner_img {
    animation: fadeIn 1.5s both .2s;
}

.favorite div,
.scrolldown div {
    transform: translateX(-100%);
    animation: left_slidein 1s both .5s;
}

.banner_slide span {
    animation: slideLine .8s both 1s;
}

@keyframes slideLine {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

._title h2 span {
    animation: top_slidein .8s both 1.4s;
}

._title p span {
    animation: top_slidein .8s both 1.8s;
}

.menu_list {
    animation: top_slidein .8s both 2s;
}



/*---------------------------waypoint專區-------------------------*/

.show .row_img_box {
    animation: allin0 1.5s forwards;
}

.show .row_text {
    animation: allin0 1.5s forwards;
}



/*---------max-width: 1024px--------------------------------------------------------*/

@media only screen and (max-width: 1024px) {
    
    .favorite {
        display: none;
    }

    .scrolldown {
        display: none;
    }

    .banner_img {
        margin-left: 40px;
        margin-right: 0;
        height: calc(100vh - 310px);
        position: relative;
        overflow: hidden;
    }

    .banner_img img.b-lazy.b-loaded {
        width: auto;
        height: 100%;
    }

    .banner_slide {
        bottom: -35px;
    }

    .banner_slide span {
        height: 70px;
    }


    /*.contnet----------------*/
    .contnet {
        margin-top: 70px;
        padding: 0 20px;
    }

    ._title {
        overflow: hidden;
    }

    ._title h2{
        font-size: 2.5rem;
    }

    ._title>span {
        transform: translateY(100%);
        display: block;
        margin-top: 15px;
        animation: allin0 .6s both 2s
    }

    .menu_list_bg {
        margin-top: 15px;
    }

    .menu_list ul {
        display: block;
        width: 300px;
        margin: auto;
    }

    .menu_list ul li:hover:after {
        width: 0%;
        margin-left: 0;
        transition: all .5s ease;
    }

    .menu_list>span {
        display: none;
    }

    .menu_list {
        animation: top_slidein .8s both 2s;
    }

    /*.row設定------------*/
    .row,
    .row:nth-child(even) {
        width: 100%;
        margin-bottom: 6vh;
        flex-direction: column;
    }

    .row:nth-child(3) {
        margin-top: 60px;
    }

    .row_img_box_bg,
    .row_text_bg {
        width: 100%;
    }

    /*圖片設定*/
	.row_img_box_bg{
		display: flex;
	}

	.row_img_box{
		margin: auto;
	}

    .row:nth-child(odd) .row_img_box,
    .row:nth-child(even) .row_img_box {
        padding: 0;
        transform: translateX(-200%);
        max-width: 100%;
        max-height: 100%;
    }

    .row:nth-child(odd) ._date,
    .row:nth-child(even) ._date {
        right: -1px;
        left: auto;
        padding: 0;
        /*先將原本的歸零*/
        padding-left: 15px;
        padding-bottom: 15px;
    }
    /*文字設定*/
    .row:nth-child(odd) .row_text,
    .row:nth-child(even) .row_text {
        padding: 0;
        margin: auto;
        margin-top: 3vh;
        transform: translateX(160%);
    }

    .row_text {
        text-align: center;
    }

    .row_text p {
        margin-top: 20px;
    }


    .read_me {
        margin: auto;
        margin-top: 2vh;
    }
}


@media only screen and (min-width: 701px) {
    .selectMenu {
        display: none;
    }
}

@media only screen and (max-width: 700px) {

    /*下拉式選單*/
    .menu_list_bg {
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }

    .menu_list {
        border: 1px solid rgba(0, 0, 0, .1);
        height: 40px;
        text-align: center;
        display: block;
        position: relative;
        z-index: 1;
    }

    .selectMenu,
    .menu_list ul li {
        display: block;
        width: 100%;
        height: 100%;
        padding-top: 12px;
    }

	.selectMenu:after{
		font-family: 'icomoon';
		content: "\e904";
		font-size: .75rem;
		margin-left: 5px;
	}

    .selectMenu.open {
        background-color: rgb(111, 0, 100);
        color: #fff;
        border-radius: 3px;
    }

    .menu_list ul {
        display: none;
        width: 100%;
        margin-top: 1px;
    }

    .menu_list ul li {
        width: 100%;
        height: 40px;
        margin-right: 0;
        background-color: rgba(255, 255, 255, .8);
    }

    .menu_list ul li:not(:first-child) {
        border-top: 1px solid rgba(0, 0, 0, .1);
    }

    .menu_list ul li:hover {
        background-color: #960087;
        color: #fff;
    }

	/*.row文字設定------*/
    .row_text h2{
		font-size: 1.125rem;
    }


    /*新聞內容在手機板時隱藏*/
    .row_text>p {
        display: none;
    }

	/*因應圖片大小設定*/
	.row_img img {
        width: 100%;
		
    }
}