﻿.index-title-box p{
    font-size: 3.75rem;
    letter-spacing: 0.06em;
    font-family: "Roboto";
    font-weight: 700;
    line-height: 1;
    color: #000;
}
.index-title-box h2,
.index-title-box h3{
    font-family: "Noto Sans TC";
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-top: 0.3125rem;
    color: #666;
}
.index-title-box h3{
    font-size: 1.25rem;
}
.index-title-center{
    text-align: center;
}
.index-title-white.index-title-box p{
    color: #fff;
}
.index-title-white.index-title-box h2,
.index-title-white.index-title-box h3{
    color: #ccc;
}


.main-paddingTop{
    padding-top: 80px;
    min-height: calc(100vh - 80px);
    background-color: #f5f5f5;
}
.main-path{
    font-family: "Noto Sans TC";
    font-size: 0.875rem;
    color: #00286e;
    letter-spacing: 0.06em;
    line-height: 2;
    display: inline-block;
    vertical-align: middle;
}
.main-path-a{
    color: #666;
    margin-right: 30px;
    position: relative;
}
.main-path-a span{
    position: absolute;
    top: 0;
    left: calc(100% + 8px);
    display: block;
}








/*過場動畫*/

.dt-loading-2 {
    width: 100%;
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    z-index: 99999;
    transition: all .4s linear;
    background-color: #FFF;
}

.laying-2 {
   display: table-cell;
   vertical-align: middle;
}

.loading-logo-box{
    width: 500px;
    max-width: 60vw;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
    animation: fade ease 1.5s 0s 1 both;
}
.loading-log2{
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    animation: fadeInUp ease .75s .75s 1 both;
}

/*fancy-box*/

.fancybox-table{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.fancybox-table.active{
    display: table;
}
.fancybox-table-mid{
    display: table-cell;
    vertical-align: middle;
}
.fancybox-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    font-size: 0;
    position: relative;
    z-index: 3;
    background-color: #fff;
    box-sizing: border-box;
    border-top: 10px solid #00286e;
    padding: 100px;
}
.fancybox-article-all-box{
    height: calc(100vh - 200px - 10px - 100px);
    overflow-y: auto;
    box-sizing: border-box;
    padding-right: 5px;
}
.fancybox-img-box{
    width: calc((420 / 570) * (100vh - 200px - 10px - 100px));
    max-width: 420px;
    height: calc(100vh - 200px - 10px - 100px);
    max-height: 570px;
    display: inline-block;
    vertical-align: top;
}
.fancybox-article-box{
    width: calc(100% - ((420 / 570) * (100vh - 200px - 10px - 100px)));
    min-width: calc(100% - 420px);
    display: inline-block;
    vertical-align: top;
    box-sizing: border-box;
    padding-left: 80px;
}
.fancybox-article-name p{
    font-family: "Noto Sans TC";
    font-weight: 700;
    font-size: 36px;
    line-height: 1;
    color: #00286e;
    display: inline-block;
    vertical-align: bottom;
}
.fancybox-article-name span{
    font-family: "Noto Sans TC";
    font-size: 16px;
    line-height: 1;
    color: #666;
    display: inline-block;
    vertical-align: bottom;
    margin-left: 30px;
}
.fancybox-article-text-box{
    margin-top: 40px;
}
.fancybox-article-text-title{
    font-family: "Noto Sans TC";
    /* font-weight: 700; */
    font-size: 24px;
    line-height: 1;
    color: #000;
    letter-spacing: 0.06em;
}
.fancybox-article-text{
    font-family: "Noto Sans TC";
    font-size: 18px;
    line-height: 1.4;
    color: #666;
    margin-top: 20px;
    letter-spacing: 0.06em;
}
.fancybox-article-all-box::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    background-color: transparent;
    box-sizing: border-box;
    padding: 0 10px;
    margin-left: 10px;
}
.fancybox-article-all-box::-webkit-scrollbar {
    width: 6px;
    background-color: transparent;
}
.fancybox-article-all-box::-webkit-scrollbar-thumb {
    background-color: #666;
    border-radius: 3px;
}


.fancybox-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
}
.fancybox-close{
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ddd;
    cursor: pointer;
    z-index: 3;
}
.body-close{
    overflow: hidden;

}
.body-close::-webkit-scrollbar{
    display:none;
}

.fancybox-link{
    position: fixed;
    text-align: center;
    top: calc(50% - 31px);
}
.news-prev{
    right: calc(50% + 427px);
}
.news-next{
    left: calc(50% + 427px);
}
.fancybox-link i{
    font-size: 24px;
    color: #FFF;
    display: block;
    margin-bottom: 10px;
}
.fancybox-link p{
    font-size: 18px;
    color: #FFF;
}
.fancybox-block{
    width: 100%;
    max-height: 100vh;
    overflow: auto;

}
.fancybox-block::-webkit-scrollbar{
    display:none;
}


/*----------------------------*/

.rwd-menu-class-list{
    width: 100%;
    height: 46px;
    border: 1px solid #888;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    display: none;
    line-height: 46px;
    position: relative;
    box-sizing: border-box;
}
.rwd-menu-class-list:after {
    content: '';
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #888;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: calc(50% - 5px);
    right: 5%;
    box-sizing: border-box;
}

/*--------------confirm-block--------------*/
.confirm-block{    
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.confirm-box{
    max-width: 500px;
    min-width: 200px;
    width: 400px;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.confirm-info-box{
    position: relative;
}
.confirm-out{
    width: 20px;
    height: 20px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #FFF;
    top: 4%;
    right: 4%;
    cursor: pointer;
}
.confirm-out span{
    width: 15px;
    height: 1px;
    background-color: #FFF;
    display: block;
    margin: 0 auto;
    position: relative;
}
.confirm-out{
    z-index: 6;
}
.confirm-out span:nth-child(1){
    top: 9px;
    left: 0.5px;
    transform: rotate(45deg);
}
.confirm-out span:nth-child(2){
    top: 8px;
    left: 0.5px;
    transform: rotate(-45deg);
}
.confirm-info-title{
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    transform: scaleY(1.05);
}
.confirm-info-p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    letter-spacing: 1px;
    transform: scaleY(1.05);
    word-break: break-all;
}
.confirm-info-p:last-child {
    margin-bottom: 0;
}
.confirm-info-p > a{
    color: #00286e;
}
.confirm-status {
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 20px;
}
.confirm-status-save, .confirm-status-no {
    width: 160px;
    max-width: 100%;
    display: inline-block;
    margin: 0 auto;
    transition: all .5s ease;
    cursor: pointer;
    background-color: inherit;
    color: #000;
    font-size: 14px;
    padding: 8px 0;
    letter-spacing: 1px;
    border: 1px solid #999;
    margin: 15px;
    outline: none;
}
.confirm-status-save:hover, 
.confirm-status-no:hover{
    background-color: #555;
    color: #fff;
}
@media only screen and (max-width: 520px){

    .confirm-box{
        width: 95%;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 30px 20px;
    }
    .confirm-info-p{
        font-size: 14px;
    }
}
/*--------------noInformation--------------*/
.noInformation{
    display: block;
    font-size: 12px;
}



@media only screen and (max-width: 1200px){
    .fancybox-box{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    .index-title-box p{
        font-size: 2.5rem;
    }
    .index-title-box h2,
    .index-title-box h3{
        font-size: 1.25rem;
    }

    .main-paddingTop{
        padding-top: 50px;
        min-height: calc(100vh - 50px);
    }

    
    .fancybox-box{
        width: 750px;
        padding: 60px;
    }
    .fancybox-img-box {
        width: calc((420 / 570) * (100vh - 120px - 10px - 100px));
        height: calc(100vh - 120px - 10px - 100px);
        max-width: 252px;
        max-height: 342px;
    }
    .fancybox-article-box {
        width: calc(100% - ((420 / 570) * (100vh - 120px - 10px - 100px)));
        min-width: calc(100% - 252px);
        padding-left: 40px;
    }
    .fancybox-article-all-box{
        height: calc(100vh - 120px - 10px - 100px);
    }
}
@media only screen and (max-width: 768px){
    .index-title-box p{
        font-size: 1.75rem;
    }
    .index-title-box h2,
    .index-title-box h3{
        font-size: 1.125rem;
        letter-spacing: 0.1em;
    }
    .main-path{
        font-size: 0.65rem;
    }
    .main-path-a {
        margin-right: 15px;
    }
    .main-path-a span {
        left: calc(100% + 2px);
    }

    
    .fancybox-box{
        width: 550px;
        padding: 30px;
    }
    .fancybox-img-box {
        width: calc((420 / 570) * (100vh - 60px - 10px - 100px));
        height: calc(100vh - 60px - 10px - 100px);
        max-width: 126px;
        max-height: 171px;
    }
    .fancybox-article-box {
        width: calc(100% - ((420 / 570) * (100vh - 60px - 10px - 100px)));
        min-width: calc(100% - 126px);
        padding-left: 20px;
    }
    .fancybox-article-all-box{
        height: calc(100vh - 60px - 10px - 100px);
    }
    .fancybox-article-name p{
        font-size: 28px;
    }
    .fancybox-article-name span{
        margin-left: 20px;
    }
    .fancybox-article-text-box{
        margin-top: 20px;
    }
    .fancybox-article-text-title{
        font-size: 20px;
    }
    .fancybox-article-text{
        font-size: 16px;
        margin-top: 10px;
    }
}
@media only screen and (max-width: 550px){
    .index-title-box p{
        font-size: 1.25rem;
    }
    .index-title-box h2,
    .index-title-box h3{
        font-size: 1rem;
        letter-spacing: 0.06em;
        margin-top: 0;
    }

    
    .fancybox-box{
        width: calc(100vw - 40px);
        padding: 20px;
    }
    .fancybox-all-box{
        max-height: calc(100vh - 100px - 10px - 40px);
        overflow: auto;
    }
    .fancybox-img-box{
        width: 126px;
        max-width: 100%;
        height: calc((570 / 420) * 126px);
        max-height: initial;
        display: block;
    }
    .fancybox-article-box{
        width: 100%;
        min-width: initial;
        padding-left: 0;
        margin-top: 20px;
    }
    .fancybox-article-all-box{
        height: initial;
        overflow: initial;
    }
    .fancybox-article-name p {
        font-size: 20px;
    }
    .fancybox-article-name span {
        margin-left: 10px;
        font-size: 14px;
    }
    .fancybox-article-text-title {
        font-size: 18px;
    }
    .fancybox-article-text {
        font-size: 14px;
        margin-top: 5px;
    }
}


@media only screen and (min-width: 769px){
    .index-title-box p,
    .index-title-box h2{
        opacity: 0;
    }
    .index-title-box.anima p{
        animation: fadeInUp 1.4s ease 0s 1 both;
    }
    .index-title-box.anima h2{
        animation: fade 1.4s ease .3s 1 both;
    }
}