@charset "UTF-8";

.newsList {
    display: block;
    width: 100%;
    margin: 0 auto 10px auto;
}

.newsList__inner {
    max-width: 1500px;
}

/****分類選單****/
.newsList__inner__menu {
    display: block;
    width: 100%;
    margin: 0 auto 100px auto;
    overflow: hidden;
}

.newsList__inner__menu::before,
.newsList__inner__menu::after {
    content: '';
    position: absolute;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: rgba(21, 25, 18, .2);
}

.newsList__inner__menu::before {
    top: 0;
}

.newsList__inner__menu::after {
    bottom: 0;
}

.newsList__inner__menu__list {
    display: flex;
    align-items: stretch;
    align-content: stretch;
    justify-items: center;
    justify-content: center;
    width: calc(100% - 160px);
    max-width: 950px;
    margin: 0 auto;
}

.newsList__inner__menu__list .slick-prev {
    left: min(-80px, calc(max(-750px, calc(-50vw + 35px)) + 475px));
}

.newsList__inner__menu__list .slick-next {
    right: min(-80px, calc(max(-750px, calc(-50vw + 35px)) + 475px));
}

.newsList__inner__menu__list__item {
    display: flex;
    align-items: stretch;
    align-content: stretch;
    justify-items: center;
    justify-content: center;
    width: auto;
    height: 100%;
    min-height: 80px;
    padding: 0 10px;
    flex: 0 0 auto;
}

.newsList__inner__menu__list__item.slick-slide {
    display: flex;
}

.newsList__inner__menu__list__item__link {
    display: flex;
    align-items: center;
    align-content: center;
    justify-items: center;
    justify-content: center;
    width: auto;
    min-width: 80px;
    height: auto;
    font-size: 16px;
    line-height: 1.2;
    color: #151912;
}

.newsList__inner__menu__list__item__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 3px;
    background: #0e3305;
    transform-origin: center;
    transform: scale(0);
}

.newsList__inner__menu__list__item:hover .newsList__inner__menu__list__item__link::after,
.newsList__inner__menu__list__item.active .newsList__inner__menu__list__item__link::after {
    transform: scale(1);
    transition: transform .4s ease-in-out;
}

.newsList__inner__menu__select {
    display: none;
}

/****最新消息容器****/
.newsList__inner__box {
    left: -30px;
    display: flex;
    flex-wrap: wrap;
    justify-items: flex-start;
    justify-content: flex-start;
    justify-content: flex-start;
    justify-content: flex-start;
    width: calc(100% + 60px);
    margin: 0 auto 40px auto;
}

.newsList__inner__box__item {
    width: calc(33.33% - 60px);
    margin: 0 30px 110px 30px;
    animation-name: fadeInUp;
}

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

    /****最新消息容器****/
    .newsList__inner__box {
        left: -15px;
        width: calc(100% + 30px);
    }

    .newsList__inner__box__item {
        width: calc(33.33% - 30px);
        margin: 0 15px 80px 15px;
    }
}

@media screen and (max-width: 991px) {
    .newsList {
        margin: 0 auto 20px auto;
    }

    /****最新消息容器****/
    .newsList__inner__box {
        margin: 0 auto 20px auto;
    }

    .newsList__inner__box__item {
        width: calc(50% - 30px);
        margin: 0 15px 60px 15px;
    }
}

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

    /****分類選單****/

    .newsList__inner__menu::before,
    .newsList__inner__menu::after {
        display: none;
    }

    .newsList__inner__menu__list {
        display: none;
    }

    .newsList__inner__menu__select {
        display: block;
    }
}

@media screen and (max-width: 575px) {
    .newsList {
        margin: 0 auto 30px auto;
    }

    /****分類選單****/
    .newsList__inner__menu {
        margin: 0 auto 40px auto;
    }

    /****最新消息容器****/
    .newsList__inner__box {
        left: 0;
        width: 100%;
        margin: 0 auto;
    }

    .newsList__inner__box__item {
        width: 100%;
        margin: 0 0 40px 0;
    }
}



/****IOS樣式****/
@supports (-webkit-touch-callout: none) {}