/*英文字體*/

.cormorant-infant-light {
    font-family: "Cormorant Infant", serif;
    font-weight: 300;
    font-style: normal;
}

.cormorant-infant-regular {
    font-family: "Cormorant Infant", serif;
    font-weight: 400;
    font-style: normal;
}

.cormorant-infant-medium {
    font-family: "Cormorant Infant", serif;
    font-weight: 500;
    font-style: normal;
}

.cormorant-infant-semibold {
    font-family: "Cormorant Infant", serif;
    font-weight: 600;
    font-style: normal;
}

.cormorant-infant-bold {
    font-family: "Cormorant Infant", serif;
    font-weight: 700;
    font-style: normal;
}

.cormorant-infant-light-italic {
    font-family: "Cormorant Infant", serif;
    font-weight: 300;
    font-style: italic;
}

.cormorant-infant-regular-italic {
    font-family: "Cormorant Infant", serif;
    font-weight: 400;
    font-style: italic;
}

.cormorant-infant-medium-italic {
    font-family: "Cormorant Infant", serif;
    font-weight: 500;
    font-style: italic;
}

.cormorant-infant-semibold-italic {
    font-family: "Cormorant Infant", serif;
    font-weight: 600;
    font-style: italic;
}

.cormorant-infant-bold-italic {
    font-family: "Cormorant Infant", serif;
    font-weight: 700;
    font-style: italic;
}

/*英文字體end*/

/*menu滑入效果*/

.menuBT {
    display: inline-block;
    position: relative;
    padding-top: 5px;
}

.menuBT::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #f89622;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.menuBT:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.menuBT:hover {
    text-decoration: none !important;
}



/*menu滑入效果end*/

/*第二層menu*/

.sec {
    display: none;
    transition: 0.3s ease all;
    -webkit-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    -ms-transform: 0.3s ease all;

}

.sec ul.secmenu {
    display: table;
    width: 175px;
    background-color: #ffffffd1;
    position: absolute;
    left: -23px;
}

.sec ul.secmenu li {
    padding: 5px;
    border-bottom: 1px solid #b4b4b4;
    width: 90%;
    margin: auto;
    display: table;
    float: none;
    text-align: center;
}

.sec ul.secmenu li:last-child {
    border-bottom: none;
}

.sec ul.secmenu li a {
    color: #333;
    transition: 0.3s ease all;
    -webkit-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    -ms-transform: 0.3s ease all;
}

.sec ul.secmenu li a:hover {
    color: #333;
    font-weight: bold;
    transition: 0.3s ease all;
    -webkit-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    -ms-transform: 0.3s ease all;
}

.rightmenu li:hover .sec {
    display: block;
    transition: 0.3s ease all;
    -webkit-transition: 0.3s ease all;
    -o-transition: 0.3s ease all;
    -ms-transform: 0.3s ease all;
}

.havesec {
    color: #fff;
    cursor: pointer;
}

.mo_sec {
    display: none;
}

.havesec .arrowBox {
    width: 25px;
    height: 25px;
    float: right;
    background-image: url(../img/expand_more_white.svg);
    transform: rotate(0deg);
    transition: all 0.6s;
    cursor: pointer;
}

.havesec .arrowBox_less {
    transform: rotate(180deg);
}

ul.mo_secmenu {
    margin-top: 10px;
}

ul.mo_secmenu li {
    margin-bottom: 5px;
    padding-left: 10px;
}

ul.mo_secmenu li a {
    color: #bebebe;
}

/*第二層menu_end*/

/* 使用 */

.content {
    animation: zy 2.5s .15s linear infinite;
    -moz-animation: zy 2.5s .15s linear infinite;
    /* Firefox */
    -webkit-animation: zy 2.5s .15s linear infinite;
    /* Safari and Chrome */
    -o-animation: zy 2.5s .15s linear infinite;
    /* Opera */
}

@-webkit-keyframes zy {
    10% {
        transform: rotate(15deg);
    }
    20% {
        transform: rotate(-10deg);
    }
    30% {
        transform: rotate(5deg);
    }
    40% {
        transform: rotate(-5deg);
    }
    50%,
    100% {
        transform: rotate(0deg);
    }
}

/*---------------------------------內頁banner*/

.navbar-desctop {
    background-color: #fff !important;
}

.pp-section {
    background: #fff;
}

.bannerArea {
    position: relative;
}

.parallax {
    background-image: url("../img/story/banner.jpg");
    background-attachment: fixed;
    height: 200px;
    width: 100%;
    background-size: contain;
    opacity: .4;
    transition: all 3s .5s ease;
}

.active .parallax {
    background-image: url("../img/story/banner.jpg");
    background-attachment: fixed;
    height: 450px;
    width: 100%;
    background-size: contain;
    opacity: 1;
    transition: all 3s .5s ease;

}

.pattArea {
    position: absolute;
    left: 10%;
    top: 200px;
}

.egl {
    writing-mode: vertical-rl;
    font-size: 36px;
    float: left;
    margin-top: -20px;
    opacity: 0;
    transition: all 3s .5s ease;

}

.active .egl {
    writing-mode: vertical-rl;
    font-size: 36px;
    margin-top: 0;
    float: left;
    opacity: 1;
    transition: all 3s .5s ease;

}

.pageTT {
    float: left;
    margin-left: 50px;
    font-size: 30px;
    opacity: 0;
    transition: all 3s .5s ease;
}

.active .pageTT {
    float: left;
    margin-left: 0;
    font-size: 30px;
    opacity: 1;
    transition: all 3s .5s ease;
}

/*線條動態*/

svg {
    margin-left: 20px;
    float: left;
    display: table;
    width: 40px;
    margin-top: -20px;
    opacity: 0;
    transition: all 3s .5s ease;
}

.active svg {
    margin-left: 20px;
    float: left;
    display: table;
    width: 40px;
    margin-top: 0;
    opacity: 1;
    transition: all 3s .5s ease;
}

#path {
    animation: move 3s linear forwards;
    stroke-dasharray: 150px, 150px;
    opacity: 0;
}

.active #path {
    animation: move 3s linear forwards;
    stroke-dasharray: 150px, 150px;
    opacity: 1;
    /*    transition-delay: 3s*/
}

@keyframes move {
    0% {
        stroke-dashoffset: 150px;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/*線條動態END*/

.pagepath {
    position: absolute;
    right: 8%;
    bottom: 20px;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 0;
    transition: all 2s 3s ease;
}

.active .pagepath {
    position: absolute;
    right: 10%;
    bottom: 20px;
    font-size: 14px;
    letter-spacing: 2px;
    opacity: 1;
    transition: all 2s 3s ease;
}

.pagepath a {
    color: #333;
}

.pagepath span {
    color: #868686;
}

/*------------------------內頁banner_end*/

/*內頁內容*/

.containArea {
    width: 80%;
    margin: 100px auto;
    margin-top: 180px;
    opacity: 0;
    transition: all 2s 1.5s ease;
}

.active .containArea {
    width: 80%;
    margin: 100px auto;
    margin-top: 100px;
    opacity: 1;
    transition: all 2s 1.5s ease;
}

.people {
    display: none;
}

@media (max-width: 1200px) {
    .parallax {
        height: 150px;
        background-size: cover;
    }
    .active .parallax {
        height: 400px;
        background-size: cover;
    }
    .GOalbum {
        display: none;
    }
    .people {
        display: block;
        position: absolute;
        right: 30px;
        bottom: 20px;
        z-index: 10;

    }

    .people img {
        width: 100px;
    }
}

@media (max-width: 992px) {
    .containArea {
        width: 90%;
    }
    .active .containArea {
        width: 90%;
    }
    .parallax {
        height: 50px;
    }
    .active .parallax {
        height: 300px;
    }
    .pattArea {
        top: 120px;
    }
}

@media (max-width: 600px) {
    .grid figure {
        padding: 5px;
    }
    .pagepath {
        bottom: 0;
    }
    .active .pagepath {
        bottom: 0;
    }
}

@media (max-width: 500px) {
    .pageTT {
        font-size: 27px;
        margin-top: 20px;
        margin-left: 40px;
        opacity: 0;
        transition: all 2s 2s ease;
    }

    .active .pageTT {
        font-size: 27px;
        margin-top: 20px;
        margin-left: 20px;
        opacity: 1;
        transition: all 2s 2s ease;
    }
    .pageTT p {
        font-size: 17px;
        margin-top: 5px;
    }
    .active svg {
        width: 30px;
    }
    .pagepath {
        top: 115px;
        bottom: inherit;
    }
    .active .pagepath {
        top: 115px;
        bottom: inherit;
    }
    .containArea {
        opacity: 0;
        transition: all 2s 2s ease;
    }
    .active .containArea {
        opacity: 1;
        transition: all 2s 2s ease;
    }
}

@media (max-width: 450px) {
    .containArea {
        width: 95%;
    }
}
