.slick-dotted.slick-slider.slick-slider {
    max-width: 1250px;
}

.slick-slider {
    position: relative;
    display: block;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.slick-list:focus {
    outline: 0;
}

.slick-list.dragging {
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-list,
.slick-slider .slick-track {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slick-track:after,
.slick-track:before {
    display: table;
    content: '';
}

.slick-track:after {
    clear: both;
}

.slick-loading .slick-track {
    visibility: hidden;
}

.slick-slide {
    display: none;
    float: left;
    min-height: 1px
}

[dir=rtl] .slick-slide {
    float: right;
}

.slick-slide img {
    display: block;
}

.slick-slide.slick-loading img {
    display: none;
}

.slick-slide.dragging img {
    pointer-events: none;
}

.slick-initialized .slick-slide {
    display: block;
}

.slick-loading .slick-slide {
    visibility: hidden;
}

.slick-vertical .slick-slide {
    display: block;
    height: auto;
    border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
    display: none;
}

/* slick-area 自訂箭頭 */
.slick-prev::before,
.slick-next::before {
    display: none;
}

.slick-prev,
.slick-next {
    width: 92px;
    height: 77px;
    z-index: 10;
}

.slick-prev,
.slick-prev:hover,
.slick-prev:focus {
    left: -100px;
    background: url(../images/s4ArrowL.png) no-repeat center center/ contain;
    filter: brightness(1.2);
}

.slick-next,
.slick-next:hover,
.slick-next:focus {
    right: -100px;
    background: url(../images/s4ArrowR.png) no-repeat center center/ contain;
    filter: brightness(1.2);
}

.slick-dotted.slick-slider {
    margin: 0 auto 65px;
    padding-top: 20px;
}

/* slick-area 自訂圓點 */
#slick-area .slick-dots,
#slick-area2 .slick-dots {
    position: relative;
    bottom: 0;
}

#slick-area .slick-dots li,
#slick-area .slick-dots li button {
    width: 130px;
    height: 130px;
    padding: 0;
    margin: 0;
}

#slick-area2 .slick-dots li,
#slick-area2 .slick-dots li button{
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 0;
}

#slick-area2 .slick-dots li button{
    background: url(../images/s4Icon.png) no-repeat center center /contain;
}

#slick-area2 .slick-dots li:hover button,
#slick-area2 .slick-dots li.slick-active button {
    background: url(../images/s4Icon_hov.png) no-repeat center center /contain;
}

.slick-dots li button:before{
    content: '';
}

#slick-area .slick-dots li:nth-of-type(1) button{
    background: url(../images/s4Dot1.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(1):hover button,
#slick-area .slick-dots li:nth-of-type(1).slick-active button {
    background: url(../images/s4Dot1_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(2) button{
    background: url(../images/s4Dot2.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(2):hover button,
#slick-area .slick-dots li:nth-of-type(2).slick-active button {
    background: url(../images/s4Dot2_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(3) button{
    background: url(../images/s4Dot3.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(3):hover button,
#slick-area .slick-dots li:nth-of-type(3).slick-active button {
    background: url(../images/s4Dot3_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(4) button{
    background: url(../images/s4Dot4.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(4):hover button,
#slick-area .slick-dots li:nth-of-type(4).slick-active button {
    background: url(../images/s4Dot4_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(5) button{
    background: url(../images/s4Dot5.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(5):hover button,
#slick-area .slick-dots li:nth-of-type(5).slick-active button {
    background: url(../images/s4Dot5_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(6) button{
    background: url(../images/s4Dot6.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(6):hover button,
#slick-area .slick-dots li:nth-of-type(6).slick-active button {
    background: url(../images/s4Dot6_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(7) button{
    background: url(../images/s4Dot7.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(7):hover button,
#slick-area .slick-dots li:nth-of-type(7).slick-active button {
    background: url(../images/s4Dot7_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(8) button{
    background: url(../images/s4Dot8.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(8):hover button,
#slick-area .slick-dots li:nth-of-type(8).slick-active button {
    background: url(../images/s4Dot8_hov.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(9) button{
    background: url(../images/s4Dot9.png) no-repeat center center /contain;
}

#slick-area .slick-dots li:nth-of-type(9):hover button,
#slick-area .slick-dots li:nth-of-type(9).slick-active button {
    background: url(../images/s4Dot9_hov.png) no-repeat center center /contain;
}

/* 第二個輪播 */

#slick-area2{
    max-width: 701px;
}

@media (max-width: 1024px) {
    /* media-tablet */
    #slick-area .slick-prev,
    #slick-area .slick-prev:hover,
    #slick-area .slick-prev:focus {
        left: 0;
    }

    #slick-area .slick-next,
    #slick-area .slick-next:hover,
    #slick-area .slick-next:focus {
        right: 0;
    }
}

@media (max-width: 800px) {

    #slick-area2 .slick-prev,
    #slick-area2 .slick-prev:hover,
    #slick-area2 .slick-prev:focus {
        left: 0;
    }

    #slick-area2 .slick-next,
    #slick-area2 .slick-next:hover,
    #slick-area2 .slick-next:focus {
        right: 0;
    }

    .slick-dotted.slick-slider {
        max-width: 98vw;
        margin: 0 auto 30px;
    }
}

@media (max-width: 450px) {

    #slick-area .slick-prev,
    #slick-area .slick-next,
    #slick-area2 .slick-prev,
    #slick-area2 .slick-next {
        display: none !important;
    }

    #slick-area .slick-slide[data-slick-index="0"] img{
        content: url(../images/s4Img1_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="1"] img{
        content: url(../images/s4Img2_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="2"] img{
        content: url(../images/s4Img3_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="3"] img{
        content: url(../images/s4Img4_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="4"] img{
        content: url(../images/s4Img5_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="5"] img{
        content: url(../images/s4Img6_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="6"] img{
        content: url(../images/s4Img7_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="7"] img{
        content: url(../images/s4Img8_mo.png);
    }
    #slick-area .slick-slide[data-slick-index="8"] img{
        content: url(../images/s4Img9_mo.png);
    }

    #slick-area .slick-dots li,
    #slick-area .slick-dots li button {
        width: 24vw;
        height: 24vw;
    }
}