@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300&display=swap');

/* 黑體
    font-family: 'Noto Sans TC', sans-serif;
*/
/* 明體
    font-family: 'Noto Serif TC', serif;
*/
* {
    position: relative;
    /*border: 1px solid red;*/

    box-sizing: border-box;
}

body {
    font-size: 1rem;
    background-color: #f3f3f3;

}


section {
    padding: 0 18%;
    /*margin: 0 -15px;*/
}



a {
    color: #333;
}

a:hover,
a:focus {
    color: #999;
    text-decoration: none;
}

button:focus,
a:focus {
    outline: none;
}

ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
}




p {
    text-align: justify;
}

.innerImg {
    width: 100%;
    padding-top: 50%;
}

.innerImg .image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fancybox-navigation {
    height: 100vh;
}



/*UNIT CSS*/


.unit_title {
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;
    z-index: 2;
}

.unit_title:before {
    content: '';
    position: absolute;
    /*left: -25px;*/
    left: 0;
    top: -30px;
    width: 90px;
    height: 90px;

    border: 10px solid #00bed6;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;

}

.unit_title .title {
    margin: 0;
    padding: 0px;
    padding-left: 25px;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 1px;
}

.unit_title .title b {
    padding-top: 15px;
    background-color: #f3f3f3;

}

.unit_title .title span {
    display: block;
    font-size: 12px;
    color: #999999;
    text-align: end;
    z-index: 4;
    line-height: 2;
    letter-spacing: 2px;
}



/* 單元標題 相對位置在 左側 */

.unit_title {
    position: absolute;
    left: 7vw;
    top: 30px;
}

.unit_more {
    position: absolute;
    bottom: 20%;
    left: 7.5vw;
}


.unit-dotButton {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 150px;
    font-size: 10px;
    background-color: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
    text-align: center;
    z-index: 0;
    transition: all .4s ease-out;
}

.unit-dotButton:hover {
    color: #fff;
}

.unit-dotButton:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
    /*background: #000;*/
    -webkit-background-size: contain;
    background-size: contain;
    background-position: center;
    background-image: url(../images/dot_more.png);
}

.unit-dotButton:hover:before {
    background-image: url(../images/dot_more_w.png);
}

.unit-dotButton:after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #00bed6;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    opacity: 0;
    transform: translateZ(0) scaleX(.7);
    transform-origin: left;
    transition: transform 0s ease .4s, opacity .4s ease-out;
}

.unit-dotButton:hover:after {
    transform: translateZ(0) scaleX(1);
    opacity: 1;
    transition: transform .4s cubic-bezier(.215, .61, .355, 1), opacity .2s ease-in-out;
}






/* 單元 li 連結 */

.content-links {

    display: flex;
}

.content-links li+li:before {
    content: "/";
    margin: 0 1em;
}

.util-link {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 0 .2em;
    z-index: 0;
    overflow: hidden;
    transition: all .4s ease-out;
}

.util-link:hover {
    color: #fff;
    transition: all .4s cubic-bezier(.215, .61, .355, 1);
}

.util-link:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: #333;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: -1;
    opacity: 0;
    transform: translateZ(0) scaleX(.7);
    transform-origin: left;
    transition: transform 0s ease .4s, opacity .4s ease-out;
}

.util-link:hover:before {
    transform: translateZ(0) scaleX(1.05);
    opacity: 1;
    transition: transform .4s cubic-bezier(.215, .61, .355, 1), opacity .2s ease-in-out;
}


/*單元頁面的外框*/
.Area {
    margin-top: 15%;
    margin-bottom: 10%;
    min-height: 80vh;
    width: 100%;
    overflow: hidden;
}



.Area .titleBox {
    width: 100%;
    /*padding-top: 5rem;*/
    padding-bottom: 1rem;
    border-bottom: 3px #333 solid;
    margin-bottom: 2rem;
}

.Area .titleBox span {
    letter-spacing: 2px;
    font-size: 3rem;
    font-weight: 100;
}

.Area .titleBox b {
    font-size: 1rem;
    font-family: 'Prata', serif;
    font-weight: 100;
}


@media(max-width: 991px) {
    section {
        padding: 10% 5%;
    }

    .unit-dotButton {
        width: 60px;
        height: 100px;
    }

    .unit_title {

        position: relative;
        margin: 10% auto 5%;
        transform: translateX(-30px);

    }



    .unit_more {
        position: relative;
    }

    .Area .unit_title {
        margin-bottom: 20%;
    }

    .Area .titleBox {
        padding-bottom: 10px;
    }

    .Area .titleBox span {
        font-size: 2rem;
    }

}




/*dots樣式*/
.slick-dots {

    z-index: 100;
}

.slick-dots li {
    width: 50px;
    text-align: center;
}

.slick-dots li:before {
    text-align: center;
    width: 100%;
    display: block;
}



.slick-dots li button {
    width: 50px
}

/*.slick-dotted.slick-slider {
    margin: 0;
}*/



.slick-dots li.slick-active button:before {
    background-color: #888;
}


.slick-dots li button:before {
    content: '';
    width: 100%;
    display: inline-block;
    height: 5px;
    background-color: #00bed6;
    opacity: 0.7;
}