@import url(news.css);
@import url(products.css);

/*@import url(album.css);*/

.site-main section {}

.site-main .content-box {
    position: relative;
}


/******************************* ↓ ABOUT ↓ ********************************/

.about-sect .sect-title {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 350px;
    background: #FFF3F6;
}

.about-sect .sect-title .txt {
    content: '';
    width: 139px;
    height: 23px;
    display: block;
    background: url(../images/index/aboot_title.png) no-repeat;
    margin: auto;
    left: 0px;
    right: 0px;
    top: 60px;
    position: relative;
}

.about-sect .sect-title img {
    margin: auto;
    display: block;
    padding: 100px 0;
}

.about-sect .content-box {
    background: #FFF3F6 url(../images/index/aboot.jpg) no-repeat 100% 0;
    background-size: auto 100%;
    padding: 60px 60px 54px 405px;
}

.about-sect .editor {
    max-width: 345px;
    color: #444;
    font-size: 15px;
    line-height: 2;
    margin-bottom: 40px;
    height: 175px;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-sect .more {
    border: 1px solid #FC7382;
    color: #5E5E5E;
    /* background: url(../images/index/about_more_arrow.png) no-repeat 100% 50%;*/
    line-height: 30px;
    font-weight: 600;
    font-family: '微軟正黑體', 'Trykker', serif;
    font-size: 20px;
    padding: 2px 0;
    width: 100%;
    max-width: 260px;
    padding-right: 20px;
    border-radius: 0px;
}

.about-sect .more:hover {
    background: #FC7382;
    color: #fff;
}

.about-sect .more:before {
    content: "";
    display: block;
    border: 1px solid #ccc;
    position: absolute;
    z-index: 1;
    pointer-events: none;
    max-width: 260px;
    width: 100%;
    height: 35px;
    margin: -6px -6px;
}

.about-sect .about_bth {
    max-width: 503px;
    right: 0px;
    text-align: left;
}

.about-pic-01 {
    display: none;
}


/******************************* ↑ ABOUT ↑ ********************************/


/******************************* ↓ NEWS ↓ ********************************/

.news-sect {
    border-bottom: 1px solid #D1D1D1;
    margin: auto;
    max-width: 1440px;
    padding: 20px 0 50px;
}

.news-sect .content-box {
    padding-left: 0px;
}

.news-sect .txt {
    color: #595555;
    font-size: 30px;
    text-align: left;
    padding: 50px 0 30px;
    line-height: 1;
    max-width: 375px;
    top: 0;
    margin: auto;
    font-family: 'Times New Roman', serif;
}

.news-sect .txt .btn {
    background: #FC7382;
    max-width: 130px;
    color: #fff;
    font-family: 'Trykker', serif;
    font-size: 13px;
    line-height: 36px;
    padding: 0px 16px;
    margin: -5px 5px 0;
}

.news-sect .txt .btn:hover {
    background: #414141;
}

.news-list {
    margin: 0;
}

.news-list li:nth-child(2n+1) {
    clear: left;
}

.news-list .item {
    padding: 0;
    float: left;
    width: 50%;
}

.news-list .item a {
    margin: 0;
    background: #F6F6F6;
}

.news-list .item:nth-child(4) a,
.news-list .item:nth-child(8) a {
    background: #F6F6F6;
}

.news-list .item:nth-child(2) a,
.news-list .item:nth-child(3) a,
.news-list .item:nth-child(6) a,
.news-list .item:nth-child(7) a {
    background: #FFF3F6;
}

.news-list .pic {
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.news-list .txt {
    margin-left: 250px;
    padding: 45px 20px 10px 40px;
}

.news-list .line {
    display: block;
    border-top: 1px solid #666;
    width: 50px;
    position: relative;
    top: 0px;
}

.news-list .item:first-child .line,
.news-list .item:last-child .line {
    border-top-color: #2E414A;
}

.news-list .item:first-child .title,
.news-list .item:last-child .title,
.news-list .item:first-child .description,
.news-list .item:last-child .description {
    color: #2D404A;
}

.news-list .date {
    color: #727272;
}

.news-list .item:first-child .date,
.news-list .item:last-child .date {
    color: #925F47;
}

.news-list .item a .more {
    opacity: 0.6;
    background-color: #FC7382;
}

.news-list .item a:hover .more {
    opacity: 0.9;
}

.news-list .item:first-child .more,
.news-list .item:nth-child(4) .more,
.news-list .item:nth-child(5) .more,
.news-list .item:last-child .more {
    background-color: #666;
}

.news-list .txt {
    margin-left: 280px;
    padding: 45px 60px 10px 20px;
    max-height: 215px;
}

.news-list .description {
    height: 70px;
}


/******************************* ↑ NEWS ↑ ********************************/


/******************************* ↓ PRODUCTS ↓ ********************************/

.products-sect .sect-title {
    text-align: center;
    /* border: 1px solid #666;*/
    max-width: 300px;
    margin: 80px auto 60px;
    position: relative;
}

.products-sect .sect-title .txt {
    display: inline-block;
    color: #545454;
    font-family: 'Times New Roman', serif;
    font-size: 28px;
    background: #fff;
    padding: 0 10px;
    position: relative;
    line-height: 2;
    top: 10px;
}

.products-sect .sect-title .ibtn.more {
    text-align: center;
    background: url(../images/index/products_title.png) no-repeat;
    max-width: 255px;
    position: relative;
    width: 255px;
    height: 62px;
}

.products-sect .sect-title:hover .ibtn.more {
    background-position: 0 90%;
}

.products-list .more,
.teacher-list .more {
    display: block;
    background: url(../images/products/pd_ed.png);
    width: 48px;
    height: 48px;
    position: absolute;
    z-index: 55;
    right: 0%;
    margin: -55px 10px;
    padding: 0px;
}

.products-list .item {
    width: 25%;
}

.products-list pic:hover {
    border: 1px solid #FC7382;
}

.products-list .pic:before {
    content: "";
    background: url(../images/pd_after.png) no-repeat 100% 100%;
    display: block;
    position: absolute;
    z-index: 50;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    transition: all 0.3s;
}

.products-list .box .more {
    border-radius: 100%;
    width: 48px;
    height: 48px;
    border: 1px solid #000;
    background: #fff;
    position: absolute;
    top: -55px;
    right: 0%;
    margin-right: 10px;
    z-index: 3;
}

.products-list .item:nth-child(4n+1) {
    clear: left;
}

.products-list .item:nth-child(3n+1) {
    clear: none;
}


/******************************* ↑ PRODUCTS ↑ ********************************/


/******************************* ↓ ALBUM ↓ ********************************/

.site-main .album-sect {
    padding: 50px 0;
}

.album-sect .top-btn {
    text-align: right;
    padding: 5px;
}

.album-sect .more {
    background-image: url(../images/index/album_more.png);
    width: 126px;
    height: 30px;
}

.album-sect .content-box:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    pointer-events: none;
    border: 10px solid #444;
}

.album-list {
    margin: 0;
}

.album-list .item {
    float: left;
}

.album-list .item a {
    margin: 0 auto;
}

.album-list a:hover .pic:before {
    border: 0;
}

.album-list .slick-prev,
.album-list .slick-next {
    text-align: left;
    white-space: normal;
    text-indent: -99999px;
    overflow: hidden;
    border: 0;
    background: url(../images/lightbox_arrow.png) no-repeat;
    width: 66px;
    height: 60px;
    position: absolute;
    top: 50%;
    margin-top: -30px;
    z-index: 20;
}

.album-list .slick-prev {
    background-position: 0 0;
    left: 0;
}

.album-list .slick-next {
    background-position: 100% 0;
    right: 0;
}

.album-list .slick-prev:hover {
    background-position: 0 100%;
}

.album-list .slick-next:hover {
    background-position: 100% 100%;
}

.album-sect .container {
    max-width: 750px;
}


/******************************* ↑ ALBUM ↑ ********************************/

@media screen and (max-width: 1470px) {
    .about-sect .sect-title {
        width: 250px;
        margin: auto;
        padding: 0 20px;
    }
    .about-sect .content-box {
        padding: 30px 36% 30px 340px;
    }
}

@media screen and (max-width: 1350px) {
    .news-sect .sect-title {
        width: 240px;
    }
    .news-list .txt {
        margin-left: 210px;
        padding: 15px 15px 10px 15px;
        max-width: 1000%;
        max-height: 180px;
    }
    .news-list .description {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 1320px) {
    .about-sect .content-box {
        padding: 30px 40% 30px 340px;
    }
}

@media screen and (max-width: 1335px) {
    .about-pic-01 {
        margin: 10px 0;
    }
}

@media screen and (max-width: 1200px) {
    .news-sect .content-box {
        padding-left: 0;
    }
    .news-sect .sect-title {
        width: auto;
        position: relative;
        height: 200px;
    }
    .news-sect .sect-title .txt {
        margin-top: -76px;
    }
}

@media screen and (max-width: 1200px) {
    .news-sect .content-box {
        padding-left: 0;
    }
    .news-sect .sect-title {
        width: auto;
        position: relative;
        height: 200px;
    }
    .news-sect .sect-title .txt {
        margin-top: -76px;
    }
}

@media screen and (max-width: 1146px) {
    .about-sect .editor {
        max-width: 250px;
    }
    .about-sect .about_bth {
        left: 0px;
        text-align: left;
    }
    .about-sect .content-box {
        padding: 30px 20% 30px 300px;
    }
}

@media screen and (max-width: 1047px) {
    .about-sect .content-box {
        background-image: none;
        padding: 30px 0px 30px 290px;
    }
    .about-sect .sect-title {
        position: relative;
        width: auto;
        max-height: 320px;
        margin: 0 -25px;
    }
    .about-sect .content-box {
        padding: 0 25px 20px;
        text-align: center;
    }
    .about-sect .editor {
        margin-top: 20px;
        display: block;
        height: auto;
    }
    .about-sect .more {
        display: block;
        margin: 0 auto;
    }
    .about-sect .editor {
        max-width: none;
    }
}

@media screen and (max-width: 900px) {
    .news-list .item,
    .news-list .pic {
        float: none;
        width: auto;
    }
    .news-list .item a {
        max-width: none;
    }
    .news-list .item:nth-child(2n+1) a,
    .news-list .item:nth-child(2n) a {
        background: none;
    }
    .news-list .item .line {
        top: 10px;
    }
    .news-list .item:nth-child(2n+1) .line {
        border-top-color: #2E414A
    }
    .news-list .item:nth-child(2n) .line {
        border-top-color: #2E414A;
    }
    .news-list .item:nth-child(2n+1) .title,
    .news-list .item:nth-child(2n+1) .description {
        color: #646464;
    }
    .news-list .item:nth-child(2n) .title,
    .news-list .item:nth-child(2n) .description {}
    .news-list .title {
        display: block;
        white-space: nowrap;
        text-overflow: ellipsis;
        height: auto;
        padding-top: 24px;
    }
    .news-list .item:nth-child(2n+1) .date {
        color: #727272;
    }
    .news-list .item:nth-child(2n) .date {}
    .news-list .item:nth-child(2n+1) .more {
        background-color: #aaa;
        margin: -5px 0;
    }
    .news-list .item:nth-child(2n) .more {
        background-color: #FC7382;
    }
}

@media screen and (max-width: 860px) {
    .products-list .item {
        width: 50%;
        padding: 0 10px;
    }
    .products-list .item:nth-child(4n+1) {
        clear: none;
    }
    .products-list .item:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width: 640px) {
    .products-list {
        margin-top: 0;
    }
}

@media screen and (max-width: 480px) {
    .news-sect .content-box {
        max-width: 330px;
        margin: 0 auto;
    }
    .news-list .pic {
        float: none;
    }
    .news-list .txt {
        margin-left: 0;
        /* padding-bottom: 20%;*/
    }
    .news-list .title {
        display: -webkit-box;
        white-space: normal;
        text-overflow: ellipsis;
        height: auto;
        padding-top: 0;
    }
    .news-list .description {
        height: auto;
    }
    .news-sect .txt .btn {
        margin: 0px;
    }
}

@media screen and (max-width: 358px) {
    .about-sect .more:before {
        max-width: 250px;
        width: 80%;
    }
    .about-sect .sect-title img {
        padding: 100px 0 0px;
    }
}
