﻿
/*過場動畫*/

.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: 400px;
    display: block;
    position: relative;
    margin: 0 auto;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
 
}
.loading-log span:nth-child(2){
    width: 100%;
    height: 100%;
    background-color: #fff;
    position: absolute;
    top: -0;
    left: 0;
    opacity: 1;
    animation: loading_anima .7s linear 0s 1 both;
}
.loading-log span:nth-child(3){
    width: 40px;
    height: 100px;
    transform: rotateZ(30deg);
    background-color: #fff;
    position: absolute;
    top: 70%;
    left: 110%;
    opacity: 0.3;
    animation: loading_anima2 1.7s ease 0.5s infinite alternate;
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 2s linear 0s 1 forwards;

}
@keyframes loading_anima {
    0%{

    }
    to{
        opacity: 0;
    }
}
@keyframes loading_anima2 {
    0%{
        left: 110%;
    }
    30%{
        left: 110%;
    }
    70%{
        left: 45%;
    }
    to{
        left: 45%;
    }
}

/*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: 800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.fancybox-img-box{
    width: 100%;
    height: 600px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}
.fancybox-article{
    max-height: calc(100vh - 700px);
    overflow: auto;
}
.fancybox-article-title{
    font-size: 20px;
    color: #FFF;
    letter-spacing: 2px;
}
.fancybox-article-p{
    font-size: 16px;
    display: block;
    color: #FFF;
}

.fancybox-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.6);
    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);
}
.confirm-info-p:last-child {
    margin-bottom: 0;
}
.confirm-status {
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 20px;
}
.confirm-status-save, .confirm-status-no {
    width: 100px;
    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;
    border-radius: 5px;
}
.confirm-status-save:hover, 
.confirm-status-no:hover{
    background-color: #93a7b0;
    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: 550px){
    .loading-logo-box{
        width: 200px;
    }
    .loading-logo-box img{
        max-width: 100%;
    }
    .loading-log span:nth-child(3){
        width: 10px;
    }
}








html,
body {
    font-family: "微軟正黑體", "Arial","Verdana",  "Microsoft JhengHei", "Geneva", "sans-serif";
}
a:hover{
    text-decoration: none;
}
:root {
    --mainColor: #93a7b0;
    --mainTextColor: #555;
}
.edit-box b{
    font-weight: bold;
}
.edit-box ol,.edit-box ul{
    margin-left: 40px
}
.edit-box ol { list-style-type: decimal }
.edit-box ol ul,.edit-box ul ol,.edit-box ul ul,.edit-box ol ol {
    margin-top: 0; margin-bottom: 0 
}
.edit-box ul{
    list-style-type: circle;
}
.edit-box li { display: list-item }

.edit-box iframe{
    width: 100%;
    box-sizing: border-box;
}
.edit-box td,
.edit-box table{
    max-width: 100%!important;
    box-sizing: border-box;
}
:-webkit-autofill {
    -webkit-text-fill-color: #000 !important;
    transition: background-color 5000s ease-in-out 0s;
}
.edit-box sup{
    vertical-align: super;
}
img {
    max-width: 100%;
}
@media only screen and (max-width: 1000px){
    .edit-box *{
        width: initial;
    }
}
/*---------------------------------------------------------*/
.bc-span-all{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all .3s linear;
}
.bg-color-000{
    background-color: #000;
}
.header-style{
    padding-top: 15px;
    padding-bottom: 20px;
    font-size: 0;
    background-color: #93a7b0;
    transition: all .3s linear;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
#index .header-style{
    background-color: transparent;
    box-shadow: 0 0 0px rgba(0,0,0,0);
}
#index .header-style.header2{
    background-color: #93a7b0;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}
.header-logo-box img{
    width: 100px;
}
.header-slogan{
    display: inline-block;
    color: var(--white);
    font-size: 14px;
    letter-spacing: 0.06em;
    font-family: PMingLiU;
    vertical-align: bottom;
    position: relative;
    bottom: -4px;
    margin-left: 20px;
}
.header-slogan span{
    font-size: 12px;
}
.header-menu-box{
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: column;
    vertical-align: bottom;
    transition: all .3s linear;
}
#index .header-menu-box{
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
}
#index .header2 .header-menu-box{
    justify-content: center;
    -webkit-justify-content: center;
}
.header-style ul{
    margin: 0;
    padding: 0;
}
.header-style ul>li {
    display: inline-block;
    text-align: center;
}
.header-menu-title{
    color: var(--white);
    font-size: 14px;
    letter-spacing: 0.06em;
    margin: 0 15px;
    position: relative;
    cursor: pointer;
}
.header-menu-title:after{
    content: '';
    width: 0%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    background-color: #fff;
    transition: all .3s linear;
}
.header-url-box{
    text-align: right;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: flex-end;
    -webkit-justify-content: flex-end;
    flex-direction: row;
}
.header-url{
    color: var(--white);
    font-size: 16px;
    display: inline-block;
    margin-left: 20px;
    vertical-align: bottom;
    transition: all .3s linear;
}
.header-menu-box.col-md-auto{
    position: static;
}
.header-service .header-menu-title:before{
    content: '';
    display: block;
    width: 100%;
    height: 50px;
    position: absolute;
    top: 100%;
    left: 0;
    opacity: 0;
    pointer-events: none;
    cursor: unset;
}
.header-service-class-box{
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 40px;
    padding-bottom: 20px;
    background-color: rgba(40,45,48,0.8);
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all .3s linear;
}
.header-service:hover .header-menu-title:before,
.header-service:hover .header-service-class-box{
    opacity: 1;
    pointer-events: auto;
}
.header-service-class{
    display: inline-block;
    vertical-align: top;
    margin: 0 20px;
}
.header-service-class p{
    font-size: 18px;
    letter-spacing: 0.06em;
    color: var(--white);
    line-height: 50px;
    font-family: 'Noto Serif TC';
    margin-bottom: 0;
    position: relative;
    transition: all .3s linear;
}
.header-service-class-img{
    width: 280px;
    height: 180px;
    display: block;
    overflow: hidden;
}
.header-service-class-img span{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
}

.banner-scroll-box{
    bottom: 40px;
    left: 0;
    width: 100%;
    text-align: center;
}
.banner-scroll{
    display: inline-block;
}
.banner-scroll span{
    display: block;
    color: var(--white);
    line-height: 1.4;
    font-family: DFKai-sb;
    outline: none;
}
span.banner-scroll-en{
    font-family: "roboto";
    font-size: 12px;
    margin-top: 5px;
    transition: all .3s linear;
}
.index-about-box{
    background-color: var(--mainColor);
    padding-top: 150px;
    font-size: 0;
    position: relative;
}
.index-about-left-box,
.index-about-right-box{
    padding: 0;
}
.index-about-right-box{
    display:         flex;
    display: -webkit-flex;
    align-items: flex-end;
    -webkit-align-items: flex-end;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction: row;
}
.index-about-left-img{
    width: 50%;
    height: calc((33.333333vw / 2) * (800 / 300));
}
.index-about-right-img{
    height: calc(66.666667vw * (600 / 1300));
}
.index-about-left-img .bc-span-all{
    background-position: 0% 50%;
}
.index-about-text-box{
    position: absolute;
    bottom: 5%;
    left: 0;
    background-color: var(--mainColor);
    width: 800px;
    padding: 50px 0;
    padding-left: 228px;
    box-shadow: 5px 10px 5px rgba(0, 0, 0, 0.3);
}
.index-about-all-box{
    margin-right: 0;
    margin-left: 0;
}
.index-title-text{
    font-size: 32px;
    letter-spacing: 0.06em;
    font-family: 'Shadows Into Light';
    color: var(--white);
}
.index-title-text span{
    margin-left: 25px;
}
.index-about-text{
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 30px;
    padding-left: 50px;
    margin-top: 10px;
    color: var(--white);
}

.index-news-box{
    background-color: var(--mainColor);
    padding-top: 100px;
    padding-bottom: 300px;
    font-size: 0;
    position: relative;
}
.index-news-all-box{
    max-width: 1460px;
    position: relative;
    padding: 0;
    z-index: 1;
}
.index-news-info-box{
    width: 1000px;
    max-width: 100%;
    border-top-color: var(--white) !important;
    margin-top: 50px;
}
.index-news-info{
    padding: 30px 25px;
    margin: 0;
    border-bottom-color: var(--white) !important;
    transition: all .3s linear;
}
.index-news-info span{
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--white);
    padding: 0;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.index-news-info span:nth-child(1){
    font-family: 'roboto';
}
.index-news-more-box{
    margin-top: 40px;
    padding-right: 150px;
    text-align: right;
}
.index-news-more{
    font-size: 16px;
    letter-spacing: 0.06em;
    color: var(--white);
    display: inline-block;
    font-family: "roboto";
    transition: all .3s linear;
}
.index-news-more span{
    width: 60px;
    display: inline-block;
    vertical-align: bottom;
    background-color: #fff;
    height: 1px;
    margin-bottom: 7px;
    margin-left: 10px;
    position: relative;
    transition: all .3s linear;
}
.index-news-more span:after{
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    border-left: 4px solid transparent;
    border-bottom: 5px solid #fff;
    border-right: 4px solid transparent;
}
.index-news-bc-box{
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
    pointer-events: none;
    z-index: 0;
}
.index-news-bc-box .bc-span-all{
    background-size: contain;
    background-position: right;
}
.index-service-box{
    font-size: 0;
    background-color: rgba(166, 195, 209, 1);
}
.index-service-box .row{
    margin: 0;
}
.index-service-box .col{
    padding: 0;
}
.index-service-btn{
    width: 100%;
    background-color: transparent;
    border: none;
    outline: none;
    height: calc((100vw / 4) * (580 / 480));
    padding: 0;
    font-size: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 0;
    transition: all .3s linear;
}
.index-service-btn.btn-primary:hover {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}
.index-service-btn.btn-primary:focus, .index-service-btn.btn-primary.focus{
    box-shadow: none;
}
.index-service-btn.btn-primary:not(:disabled):not(.disabled):active, .index-service-btn.btn-primary:not(:disabled):not(.disabled).active,
.show > .index-service-btn.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: transparent;
    border-color: transparent;
}
.index-service-btn.btn-primary:not(:disabled):not(.disabled):active:focus, .index-service-btn.btn-primary:not(:disabled):not(.disabled).active:focus,
.show > .index-service-btn.btn-primary.dropdown-toggle:focus {
    box-shadow: none;
}
.index-service-btn-text{
    font-size: 18px;
    letter-spacing: 0.06em;
    font-weight: bold;
    color: var(--white);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 50px;
    text-align: center;
    background-color: rgba(166, 195, 209, 1);
    transition: all .3s linear;
}
.collapsed .index-service-btn-text{
    background-color: rgba(166, 195, 209, 0.8);
}
.collapsed{
    pointer-events: auto;
}
.rwd-index-service-btn-box .index-service-btn{
    height: 50px;
    display: block;
    position: relative;
}
.rwd-index-service-btn-box{
    display: none;
}
.index-service-menu-box{
    background-color: rgba(166, 195, 209, 1);
}
.index-service-menu{
    width: 1460px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}
.index-service-info-box{
    width: 1280px;
    max-width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 80px 150px;
    position: relative;
}
.index-service-info{
    margin-bottom: 40px;
    display: block;
    cursor: pointer;
}
.index-service-info:last-child{
    margin-bottom: 0;
}
.index-service-info-title{
    position: absolute;
    left: 0;
    top: calc(50% - 43px);
}
.index-service-info-title span{
    font-size: 36px;
    letter-spacing: 0.2em;
    font-weight: bold;
    color: var(--white);
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr ;
}
.index-service-info-img{
    width: 180px;
    height: 130px;
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
}
.index-service-info-text-box{
    width: calc(100% - 180px);
    display: inline-block;
    vertical-align: middle;
    padding-left: 15px;
}
.index-service-info-name{
    font-size: 18px;
    letter-spacing: 0.06em;
    font-weight: bold;
    color: var(--white);
}
.index-service-info-text{
    font-size: 14px;
    letter-spacing: 0.06em;
    line-height: 26px;
    color: var(--mainTextColor);
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    transition: all .3s linear;
}

.index-instagram-box{
    background-color: #93a7b0;
}
.index-instagram-all-box.container{
    width: 1460px;
    max-width: 100%;
    padding: 80px 0;
    text-align: center;
}
.index-instagram-title-box i{
    font-size: 36px;
    letter-spacing: 0.06em;
    display: inline-block;
    color: var(--white);
    margin-right: 5px;
}
.index-instagram-title-box .index-title-text{
    display: inline-block;
}
.index-instagram-img-box{
    width: 20%;
    display: inline-block;
    vertical-align: middle;
}
.index-instagram-img-a{
    display: block;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
}
.index-instagram-img-a:hover span>span{
    transform: scale(1.1);
}
.index-instagram-img-a span>span{
    transition: all .3s linear;
}
.index-instagram-img-a span{
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}
.index-instagram-img-a>span img{
    height: 100%;
    left: 0;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}
.index-instagram-info-box{
    margin-right: 0;
    margin-left: 0;
    margin-top: 50px;
}
.index-instagram-more-box.row{
    margin: 0;
    margin-top: 50px;
}
.index-instagram-more{
    width: 100px;
    transition: all .3s linear;
}
.index-instagram-more p{
    font-size: 18px;
    letter-spacing: 0.06em;
    color: var(--white);
    font-family: "roboto";
    margin-bottom: 0;
}
.index-instagram-more span{
    width: 100%;
    height: 1px;
    background-color: var(--white);
    position: relative;
    margin-top: 8px;
    display: block;
}
.index-instagram-more span:after{
    content: '';
    display: block;
    position: absolute;
    left: calc(50% - 5px);
    bottom: 0;
    border-left: 5px solid transparent;
    border-bottom: 6px solid #fff;
    border-right: 5px solid transparent;
    transition: all .3s linear;
}
.index-map-box{
    display: block;
    font-size: 0;
    width: 100%;
    height: calc(100vw * (400 / 1920));
}
.index-map-box iframe{
    width: 100%;
    height: 100%;
}


.page-path-box{
    padding: 25px 0;
}
.page-path{
    display: inline-block;
    vertical-align: middle;
    position: relative;
    font-size: 14px;
    letter-spacing: 0.06em;
    color: var(--white);
    line-height: 20px;
    margin-right: 15px;
    transition: all .3s linear;
}
.page-path:after{
    content: '\f105';
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    display: block;
    font-size: 14px;
    position: absolute;
    right: -12px;
    top: 0;
    color: var(--white);
}
.page-path:last-child:after{
    display: none;
}
.rwd-header-url-box{
    display: none;
}
.rwd-menu{
    width: 30px;
    max-width: 100%;
    position: absolute;
    left: 50px;
    z-index: 99999;
    display: none;
    top: calc(50% - 7px);
}
.rwd-menu span{
    width: 100%;
    display: block;
    margin: 0 auto;
    height: 2px;
    background-color: #fff;
    position: relative;
}

.rwd-menu-style1> span:nth-child(even){
    margin: 4px auto;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(1){
    transform: scale(1);
    transform-origin: left;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(3){
    transform: scale(1);
    transform-origin: right;
    transition: all .4s linear;
}
.rwd-menu-style1> span:nth-child(4){
    top: -19px;
    transform:  scale(0,1) rotate(-45deg);
}
.rwd-menu-style1> span:nth-child(4){
    display: none;
}
.rwd-menu-style1 .rwd-menu-bth-line{
    transform: rotate(-45deg);
}
.rwd-menu-style1 .rwd-menu-bth-line2{
    transform: rotate(45deg);
}
.rwd-menu-style1 .rwd-menu-bth-line,
.rwd-menu-style1 .rwd-menu-bth-line2{
    position: absolute;
    top: 6px;
    left:0;
    width: 100%;
}
.rwd-menu-style1 .rwd-menu-bth-line span,
.rwd-menu-style1 .rwd-menu-bth-line2 span{
    transform:  scale(0,1);
    transition: all .5s ease;
    position: relative;
}
.rwd-menu-style1.active .rwd-menu-bth-line span,
.rwd-menu-style1.active .rwd-menu-bth-line2 span{
    transform:  scale(1,1) ;
    transition-delay: .1s;
}
.rwd-menu-style1.active> span:nth-child(1),
.rwd-menu-style1.active> span:nth-child(2),
.rwd-menu-style1.active> span:nth-child(3){
    transform: scale(0,1);
}
.rwd-menu-style1.active> span:nth-child(odd){
    transform: scale(0);
    transition: all .4s linear;
    transition-delay: 0s;
}


/*hover*/

.header-style ul>li.active .header-menu-title,
.header-style ul>li:hover .header-menu-title{
    color: #fff;
}
.header-style ul>li.active .header-menu-title:after,
.header-style ul>li:hover .header-menu-title:after{
    width: 100%;
}
.header-url:hover{
    color: #0f4058;
}
.header-service-class:hover .header-service-class-img span{
    transform: scale(1.1);
}
.header-service-class:hover p{
    color: #a6c3d1;
}
@keyframes scroll-t-r {
    0%{
    }
    to {
        transform: translateY(20px);
    }
}
@keyframes more-rl-r {
    0%{
        transform: translateX(0px);
    }
    to {
        transform: translateX(10px);
    }
}
.banner-scroll span{
    animation: scroll-t-r 1s linear 0s infinite alternate;
}
.banner-scroll:hover span.banner-scroll-en{
    letter-spacing: 0.2em;
}
.index-news-info:hover{
    background-color: rgba(40,45,48,0.4);
}
.index-news-more:hover{
    letter-spacing: 0.16em;
    color: #fff;
}
.index-news-more:hover span{
    width: 50px;
    animation: more-rl-r 1s linear 0s infinite alternate;
}
.index-service-btn:hover .bc-span-all{
    transform: scale(1.1);
}
.index-service-btn:hover .index-service-btn-text{
    bottom: 25px;
}
.index-service-info:hover .bc-span-all{
    transform: scale(1.1);
}
.index-service-info:hover .index-service-info-text{
    color: #40738a;
}
.index-instagram-more:hover{
    transform: scale(1.1);
}
.index-instagram-more:hover span:after{
    left: calc(100% - 10px);
}
a.page-path:hover{
    color: #282d30;
}
#index .header-style:hover{
    background-color: #93a7b0;
}









@media only screen and (max-width: 1460px){
    .index-news-all-box{
        padding: 0 20px;
    }
    .index-service-info-title{
        left: 40px;
    }
    .index-instagram-all-box.container{
        width: 1200px;
    }
}
@media only screen and (max-width: 1200px){
    .index-about-text-box{
        width: 700px;
        padding: 20px 0;
        padding-left: 150px;
    }
    .index-instagram-all-box.container{
        width: 1000px;
    }
}
@media only screen and (max-width: 1000px){
    
    .header-url-box{
        display: none;
    }
    .header-logo-box{
        text-align: center;
    }
    .rwd-menu{
        display: block;
    }
    .header-menu{
        width: 100%;
        height: calc(100vh - 79px);
        position: fixed;
        top: 79px;
        left: 0;
        z-index: 3;
        display:         flex;
        display: -webkit-flex;
        align-items: center;
        -webkit-align-items: center;
        justify-content: center;
        -webkit-justify-content: center;
        flex-direction:column;
        background-color: rgba(0,0,0,0.8);
        opacity: 0;
        pointer-events: none;
        transition: all .3s linear;
    }
    .header-menu.open{
        opacity: 1;
        pointer-events: auto;
    }
    #index .header-menu{
        height: 100vh;
        top: 0;
    }
    #index .header2 .header-menu{
        height: calc(100vh - 79px);
        top: 79px;
    }
    .rwd-header-url-box{
        display: block;
    }
    .header-url{
        margin: 0 10px;
    }
    .header-menu-title{
        font-size: 16px;
    }
    .header-menu> li{
        display: block;
        margin: 0;
        margin-bottom: 20px;
        pointer-events: none;
    }
    .header-menu.open> li{
        pointer-events: auto;
    }
    .header-menu> li:last-child{
        margin-bottom: 0;
    }
    .header-service-class-box{
        position: static;
        opacity: 1;
        padding: 0;
        pointer-events: none;
        background-color: transparent;
        margin-top: 5px;
    }
    .header-menu.open> li .header-service-class-box{
        pointer-events: auto;
    }
    .header-service-class{
        display: block;
        padding: 0;
    }
    .header-service-class-img{
        display: none;
    }
    .header-service-class p{
        font-size: 14px;
        line-height: 2;
        pointer-events: none;
    }
    .index-banner-box.vh-100,
    .index-banner-list-box .vh-100{
        height: calc(1080 / 1920 * 100vw) !important;
    }
    .banner-scroll-box{
        display: none;
    }
    .header-service .header-menu-title:before{
        display: none;
    }
    .header-service:hover .header-service-class-box{
        pointer-events: all;
    }
    .index-instagram-all-box.container{
        width: 750px;
    }
}
@media only screen and (max-width: 992px){
    .index-about-box{
        padding-top: 100px;
    }
    .index-about-left-box{
        display: inline-block;
        vertical-align: bottom;
        width: calc(33.333333vw / 2);
    }
    .index-about-right-box{
        display: inline-flex;
        display: -webkit-inline-flex;
        vertical-align: bottom;
        width: calc(100vw - (33.333333vw / 2));
    }
    .index-about-left-img.w-50{
        width: 100% !important;
    }
    .index-about-text-box{
        max-width: 100%;
        bottom: inherit;
        top: 0;
        box-shadow: none;
        padding: 20px 0;
        padding-left: calc((33.333333vw / 2) + 20px);
        background-color: transparent;
    }
    .index-about-text{
        padding-left: 0;
    }
    .index-news-bc-box{
        padding: 0;
        width: 60vw !important;
        height: 100% !important;
        top: inherit;
        left: inherit;
        bottom: 0;
        right: 0;
    }
    .index-service-info-box{
        padding-right: 40px;
    }
}
@media only screen and (max-width: 768px){
    .index-about-text-box{
        padding: 10px 0;
        padding-left: calc((33.333333vw / 2) + 20px);
    }
    .index-title-text{
        font-size: 26px;
    }
    .index-about-text{
        margin-top: 0;
    }
    .index-news-box{
        padding-top: 50px;
        padding-bottom: 150px;
    }
    .index-news-info{
        padding: 20px 10px;
    }
    .index-news-info span.col-2{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .index-news-info span.col-10{
        flex: 0 0 100%;
        max-width: 100%;
    }
    .index-service-info-box{
        padding: 40px 20px;
    }
    .index-service-info-title{
        position: static;
        margin-bottom: 20px;
    }
    .index-service-info-title span{
        -webkit-writing-mode: inherit;
        writing-mode: inherit;
    }
    .index-map-box{
        height: 200px;
    }
    .index-instagram-all-box.container{
        width: 550px;
    }
    .index-instagram-img-box{
        width: 50%;
    }
}
@media only screen and (max-width: 550px){
    .header-slogan{
        font-size: 12px;
        margin-left: 10px;
        bottom: -2px;
    }
    .header-logo-box img{
        width: 80px;
    }
    .rwd-menu{
        left: 20px;
    }
    .header-menu {
        height: calc(100vh - 70px);
        top: 70px;
    }
    #index .header2 .header-menu {
        height: calc(100vh - 70px);
        top: 70px;
    }
    .index-about-text-box{
        width: inherit;
        padding: 10px;
        left: calc((100vw - 350px) / 2);
    }
    .index-title-text{
        font-size: 20px;
    }
    .index-about-text{
        font-size: 12px;
        line-height: 2;
        margin-top: 0;
    }
    .index-title-text span{
        margin-left: 5px;
    }
    .index-about-box{
        padding-top: 150px;
    }
    .index-news-box{
        padding-top: 20px;
        padding-bottom: 80px;
    }
    .index-news-info-box{
        margin-top: 20px;
    }
    .index-news-bc-box{
        width: 60vw !important;
    }
    .index-news-more-box{
        padding-right: 0;
        text-align: left;
        margin-top: 20px;
    }
    .index-news-more{
        font-size: 14px;
    }
    .index-news-info{
        padding: 10px 0;
    }
    .index-news-info span{
        font-size: 12px;
    }
    .rwd-index-service-btn-box{
        display: block;
    }
    .index-service-btn-box{
        display: none;
    }
    .index-service-box{
        background-color: rgba(166, 195, 209, 0.8);
    }
    .rwd-index-service-btn-box .btn{
        width: 100%;
        font-size: 18px;
        pointer-events: auto;
        box-shadow: none;
        font-weight: bold;
    }
    .rwd-index-service-btn-box .btn-secondary:not(:disabled):not(.disabled):active, 
    .rwd-index-service-btn-box .btn-secondary:not(:disabled):not(.disabled).active, 
    .rwd-index-service-btn-box.show > .btn-secondary.dropdown-toggle,
    .rwd-index-service-btn-box .btn-secondary:hover {
        background-color: #407792;
        border: none;
    }
    .rwd-index-service-btn-box .btn-secondary:not(:disabled):not(.disabled):active:focus, 
    .rwd-index-service-btn-box .btn-secondary:not(:disabled):not(.disabled).active:focus, 
    .rwd-index-service-btn-box.show > .btn-secondary.dropdown-toggle:focus{
        box-shadow: none;
    }
    .index-service-btn.dropdown-toggle::after{
        position: absolute;
        right: 20px;
        top: calc(50% - 3px);
    }
    .rwd-index-service-btn-box .dropdown-menu{
        width: 100%;
        padding: 0;
        margin: 0;
        left: 4px;
    }
    .rwd-index-service-btn-box .dropdown-menu>div{
        width: 100%;
    }
    .index-service-info-title span{
        font-size: 24px;
    }
    .index-service-info-img{
        width: 100px;
        height: 72.22px;
    }
    .index-service-info-text-box {
        width: calc(100% - 100px);
    }
    .index-service-info-name{
        font-size: 14px;
    }
    .index-service-info-text{
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .index-instagram-all-box.container{
        width: 95%;
        padding: 30px 0;
    }
    .index-instagram-more-box.row,
    .index-instagram-info-box{
        margin-top: 20px;
    }
    .index-instagram-more {
        width: 80px;
    }
    .index-instagram-more p{
        font-size: 14px;
    }
    .header-style {
        padding-top: 10px;
        padding-bottom: 10px;
    }    
}
@media only screen and (max-width: 400px){
    .index-news-box{
        padding-bottom: 30px;
    }
    .header-slogan{
        margin-left: 5px;
    }
    .rwd-menu {
        width: 20px;
    }
    .index-about-text{
        line-height: 1.6;
    }
    .index-about-text-box{
        left: 0
    }
}






/*<-------------動畫------------->*/
@media only screen and (min-width: 1001px){
    .index-about-left-img,
    .index-about-right-box,
    .index-about-text-box,
    .index-news-box .index-title-text,
    .index-news-info-box,
    .index-news-info,
    .index-news-more-box,
    .index-news-bc-box,
    .index-service-box .col,
    .index-service-info-box,
    .index-instagram-title-box,
    .index-instagram-info-box,
    .index-instagram-more p,
    .index-instagram-more span,
    .page-path{
        opacity: 0;
    }
    .index-about-all-box.anima .index-about-right-box{
        animation: fadeInRight 1.4s ease 0s 1 both;
    }
    .index-about-all-box.anima .index-about-left-img{
        animation: fadeInLeft 1s ease 0.2s 1 both;
    }
    .index-about-all-box.anima .index-about-text-box{
        animation: fadeInDown 1s ease 0.4s 1 both;
    }
    .index-news-box.anima .index-news-info-box,
    .index-news-box.anima .index-news-info{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-news-box.anima .index-news-more-box{
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .index-news-box.anima .index-news-bc-box{
        animation: fade 1s ease 0.2s 1 both;
    }
    .index-news-box.anima .index-title-text.anima{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-service-box.anima .col:nth-child(1){
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-service-box.anima .col:nth-child(2){
        animation: fadeInDown 1s ease 0.1s 1 both;
    }
    .index-service-box.anima .col:nth-child(3){
        animation: fadeInDown 1s ease 0.2s 1 both;
    }
    .index-service-box.anima .col:nth-child(4){
        animation: fadeInDown 1s ease 0.3s 1 both;
    }
    .index-service-box.anima .index-service-info-box{
        animation: fade 1s ease 0s 1 both;
    }
    .index-instagram-box.anima .index-instagram-title-box{
        animation: fadeInDown 1s ease 0s 1 both;
    }
    .index-instagram-box.anima .index-instagram-info-box{
        animation: fade 1s ease 0.2s 1 both;
    }
    .index-instagram-box.anima .index-instagram-more p{
        animation: fadeInUp 1s ease 0.3s 1 both;
    }
    .index-instagram-box.anima .index-instagram-more span{
        animation: fadeInUp 1s ease 0.4s 1 both;
    }
    .page-path-box.anima .page-path:nth-child(1){
        animation: fadeInLeft 1s ease 0s 1 both;
    }
    .page-path-box.anima .page-path:nth-child(2){
        animation: fadeInLeft 1s ease 0.1s 1 both;
    }
    .page-path-box.anima .page-path:nth-child(3){
        animation: fadeInLeft 1s ease 0.2s 1 both;
    }
    .page-path-box.anima .page-path:nth-child(4){
        animation: fadeInLeft 1s ease 0.3s 1 both;
    }
}