@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&family=League+Spartan:wght@400;500;600;700;800&family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap');

html {
  scroll-behavior: smooth;
}

body{ 
    font-size:14px; 
    font-family: 'Noto Sans TC',Microsoft JhengHei,Arial, Helvetica,sans-serif,nsimsun; 
    font-weight: 500;
    color:#333; 
    position:relative;
    background-color: #fff;
    letter-spacing: 1px;

    /*overflow-y: hidden; */

    width: 100%;
    overflow-x: hidden;
    animation-name: fade-in;
    animation-duration:1s;
    animation-timing-function:ease-in;
}
@keyframes fade-in{
    0%{
        opacity:0;
    }
    100%{
        opacity: 1;
    }
}

body.active{
    overflow: hidden;
}

a{ color:#333;transition: .3s}
a:hover{ color:#3a2960;}
* { 
 -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
 -moz-box-sizing: border-box;    /* Firefox, other Gecko */
 box-sizing: border-box;         /* Opera/IE 8+ */
}
  
/*   html{
    overflow-y: hidden; 
    position:static;
} */


::selection {
    background: #8772b6;
    color: #fff;
}
::-moz-selection {
    background: #8772b6;
    color: #fff;
}


/****** scrollbar ******/
 ::-webkit-scrollbar {
    width: 8px;
    background-color: #E2E2E2;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 8px #E2E2E2;
    background-color: #E2E2E2;
}

::-webkit-scrollbar-thumb {
    background-color: #73629a;
    border-radius: 5px;
}


input,select,
input::placeholder,
select::placeholder {
  font-family: 'Noto Sans TC'
}

/*==============================================*/

/*共用*/

.all_title01{
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 1.5px;
    color: #3e4d6d;

    margin-bottom: 20px;
}

.all_title02{
    font-size: 28px;
    font-weight: 600;
}

.all_title03{
    font-size: 18px;
    font-weight: 500;
}

.all_title04{
    font-size: 22px;
    color: #996c33;
    font-weight: 700;
}

/*-------*/


.all_title_box {
    text-align: center;
    margin: 2.5rem 0;
}


.all_title_box h2{
    font-size: 28px;
    font-weight: 600;
    color: #907fd1;
    position: relative;
    display: inline-flex;
}

.all_title_box h2:after{
    content: "";
    background-color: #907fd1;
    position: absolute;
    top: calc(50% + 3px);
    right: calc(100% + 10px);
    transform: translateY(-50%);
    width: 50px;
    height: 1px;
}

.all_title_box h2:before{
    content: "";
    background-color: #907fd1;
    position: absolute;
    top: calc(50% + 3px);
    left: calc(100% + 10px);
    transform: translateY(-50%);
    width: 50px;
    height: 1px;
}


.all_title_box h3{
    font-size: 24px;
    color: #362577;
}

/*-------*/


.all_introduce_01{
    font-weight: 500;
    font-size: 16px;
    line-height: 30px;
    color: #434343;
    letter-spacing: 1.5px;
}

/*-------*/


.all_width{
    width: 1420px;
    max-width: 90%;
    margin: 0 auto;
}

.top_padding{
    padding-bottom: 130px;
}




.menu{
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 0 8px #3b48754a;
    z-index: 100;
}


.menu_box {
    display: flex;
    gap: 0 10px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}


.menu_logo {
    display: flex;
    gap: 0 20px;
    align-items: center;
}

.menu_logo img{
    width: 146px;
}

.menu_logo h2{
    color: #3a2960;
    font-size: 22px;
    line-height: 28px;
}


.menu_list{
    display: flex;
    gap: 0 25px;
    font-size: 16px;

}

.menu_list a {
    display: flex;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.menu_list a:hover {
    text-decoration: none;
    transform: translateY(3px);
}

.menu_list a:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    display: block;
    height: 100%;
    z-index: -1;
    transition: transform .3s ease-in!important;
    -webkit-transition: transform .3s ease-in!important;
    -o-transition: transform .3s ease-in!important;
    transform-origin: bottom right;
    transform: scaleX(0);
}

.menu_list a:hover:before {
    transform-origin: bottom right;
    transform: scaleX(1);
}

.menu_list a.line:before {
    background-color: #09c232;
}

.menu_list a.phone:before {
    background-color: #fab63d;
}

.menu_list a p{
    color: #fff;
    font-weight: 700;
    padding: 6px 20px;
    font-size: 18px;
}

.menu_list a div{
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;

}

.menu_list a div img{
    width:35px ;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.menu_list a.line{
    background-color: #13d43e;
}

.menu_list a.line div{
    background-color: #09c232;
}


.menu_list a.phone{
    background-color: #f8c849;
}

.menu_list a.phone div{
    background-color: #fab63d;
}


.menu_list a:hover{
   
}


.icon_auto_01 img{ 
    -webkit-animation: icon_auto_01 1s linear infinite;
    animation: icon_auto_01 1s linear infinite;
}

@keyframes icon_auto_01 {
    50%{transform: translate(-50%,-50%)scale(1.15);opacity:.8;} 

}












.footer {
    background-color: #3a2960;
    border-top:8px #f4d429 solid ;
    border-bottom:8px #f4d429 solid ;
    padding: 40px 0;
}

.footer_box {
    display: flex;
    gap: 25px 10px;
    align-items: center;
    justify-content: space-between;
}


.footer_box .left {
    display: flex;
    gap: 5px 10px;
    color: #fff;
    font-size: 16px;
    align-items: flex-start;
    flex-direction: column;
}

.footer_box .left > a{
    color: #fff;
    font-weight: 400;
}

.footer_box .left p{
    padding-top: 20px;
}

.footer_box .left p a{
    color: #fff;
}

.footer_box .left h5{
    color: #fff;
}

.footer_box .left > a:hover,
.footer_box .left p a:hover{
    color: #f4d429;
}




/*logo宣告*/
.logo_copyright{
    text-align: center;
    opacity: 0;
/*    visibility: hidden;*/
    pointer-events: none;
}






.footer_icon {
    display: flex;
    gap: 12px;
    position: fixed;
    right: 1.2rem;
    z-index: 5;
    bottom: 2rem;
    flex-direction: column;
}

.footer_icon a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_icon a img{
    width: 25px;
}

.footer_icon a.line{
    background-color: #07b53b;
}

.footer_icon a.tel{
    background-color: #ebb700;
}

.footer_icon a.fb{
    background-color: #1877f2;
}








/*===================================*/



.i_box1{
/*    background-color: #eeeeee;*/
/*    box-shadow: 0 5px 8px #0000004a;*/
    padding: 50px 0 50px 0;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.i_box1 .bg_img{
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 60%;
}

.all_bg_style {

    background-image: linear-gradient(100deg, #e6e9f0 0%, #a5a5d1 100%);
    background-size: 100% 100%;
    width: 100%;
    animation: bg_auto 5s ease infinite;
    z-index: 1;
}

@keyframes bg_auto{
    0%{
        background-position: 0 50%;
    }
    50%{
        background-position: 100% 50%;
    }
    100%{
        background-position: 0 50%;
    }
}



.i_b1 {

}

.i_b1 .info {
    padding: 3rem 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 1;
}

.i_b1 .info h3{
    font-size: 80px;
    font-weight: 700;
    color: #664dc3;
/*    margin-bottom: 5px;*/
}

.i_b1 .info h3{ 
    -webkit-animation: info_auto_01 2s linear infinite;
    animation: info_auto_01 2s linear infinite;
}

@keyframes info_auto_01 {

    10%{opacity:1;}
    20%{opacity:.6;}
    30%{opacity:1;}
    40%{opacity:.6;}
    50%{opacity:1;} 
}







.i_b1 .info h4{
    font-size: 44px;
    font-weight: 600;
    color: #513a89;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.i_b1 .info h5 {
    font-size: 28px;
    font-weight: 700;
    color: #5a5a5a;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px #b5b5b5 solid;
}

.i_b1 .info p{
    font-size: 18px;
    font-weight: 600;
    color: #777;
    line-height: 32px;
}


.i_b1 .info h2{
    font-size: 60px;
    font-weight: 700;
    color: #6d58bd;
    letter-spacing: 0px;
}

.i_b1 .info h2{ 
    -webkit-animation: info_auto_02 2s linear infinite;
    animation: info_auto_02 2s linear infinite;
}


@keyframes info_auto_02 {
    50%{transform: scale(1);}
    70%{transform: scale(1.05);}
    90%{transform: scale(1);}

}

/*=====================*/

/*=======================*/


@keyframes spin {
  100% { transform: rotate(360deg); }
}
/* 背景wave*/

.wave_box {
    position: absolute;
    left: 0;
    top: 0px;
    transition: opacity 2s cubic-bezier(.25,.25,.75,.75) .5s;
    width: 100%;
    z-index: -1;
    opacity: .15;
    overflow: hidden;
}


.wave_box_img {
    position: relative;
    width: 100%;
    height: 500px;
}


[data-js-ticker].is-move .wave_box_img:after,
[data-js-ticker].is-move .wave_box_img:before {
    animation-play-state: running;
}

.wave_box_img:after, .wave_box_img:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 100%;
    content: "";
    background-repeat: repeat-x;
    background-position: 0 50%;
    background-size: auto 100%;
    z-index: 1;
    animation-play-state: running;
}

.wave_box_img.left:after, .wave_box_img.left:before {
/*    transform: rotate(-10deg);*/

}

.wave_box_img.right:after, .wave_box_img.right:before {
/*    transform: rotate(10deg);*/
    left: -50px;
}

.wave_box_img.center:after, .wave_box_img.center:before {
    transform: rotate(0deg);
}


.wave_box_img.left:before {
    background-image: url(../img/wave_01.svg);
    animation: wave-left-type01 500s cubic-bezier(.25,.25,.75,.75) infinite both paused;
}

.wave_box_img.left:after {
    background-image: url(../img/wave_02.svg);
    animation: wave-left-type02 80s cubic-bezier(.25,.25,.75,.75) infinite both paused;
}

@keyframes wave-left-type01 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -6261px;
    }
}

@keyframes wave-left-type02 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: -6261px;
    }

}

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

.wave_box_img.right:before {
    background-image: url(../img/wave_01.svg);
    animation: wave-left-type03 500s cubic-bezier(.25,.25,.75,.75) infinite both paused;
}

.wave_box_img.right:after {
    background-image: url(../img/wave_02.svg);
    animation: wave-left-type04 80s cubic-bezier(.25,.25,.75,.75) infinite both paused;
}

@keyframes wave-left-type03 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 6261px;
    }
}

@keyframes wave-left-type04 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 6261px;
    }

}

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

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

.wave_box_img.center:before {
    background-image: url(../img/wave_01.svg);
    animation: wave-left-type03 500s cubic-bezier(.25,.25,.75,.75) infinite both paused;
}

.wave_box_img.center:after {
    background-image: url(../img/wave_02.svg);
    animation: wave-left-type04 80s cubic-bezier(.25,.25,.75,.75) infinite both paused;
}

@keyframes wave-left-type03 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 6261px;
    }
}

@keyframes wave-left-type04 {
    0% {
        background-position-x: 0;
    }
    100% {
        background-position-x: 6261px;
    }

}

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



/*---*/

.i_box2{
    border-bottom: 1px #eee solid;
}

.i_b2 {
    display: flex;
    gap: 20px 50px;
    padding: 40px 0;
    align-items: center;
}

.i_b2>.img{
    width: calc(50% - 25px);
}

.i_b2>.img img{
    width: 500px;
    max-width: 100%;
    margin: 0 auto;
}

.i_b2>.img img{ 
    -webkit-animation: img_auto_01 4s linear infinite;
    animation: img_auto_01 4s linear infinite;
}


@keyframes img_auto_01 {
    20%{transform:rotate(0deg)}
    40%{transform:rotate(-3deg)}
    80%{transform:rotate(3deg)}
    100%{transform:rotate(0deg)}

}



.i_b2 .info{
    width: calc(50% - 25px);
    text-align: left;
}

.i_b2 .info .title{
    display: flex;
    gap: 0 20px;
    margin-bottom: 20px;
}

.i_b2 .info .title img{
    width: 60px;
}

.i_b2 .info h2{
    font-size: 32px;
    font-weight: 700;
}

.i_b2 .info h2 span{
    color: #6d58bd;
}

.i_b2 .info h2 span{ 
    -webkit-animation: info_auto_01 2s linear infinite;
    animation: info_auto_01 2s linear infinite;
    animation-delay: 1s;
}

.i_b2 .info h3{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #777;
}

.i_b2 .info p{
    font-size: 17px;
}

/*---*/



/*---*/


.i_box3{
    padding: 20px 0 40px 0;
    
}

.i_b3{

}


.service_ul{
    display: flex;
    gap: 3rem 3rem;
    flex-wrap: wrap;
}

.service_ul li{
    background-color: #fff;
    box-shadow: 0 0 8px #685b8526;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    padding: 10px 10px 70px 10px;
    width: calc(25% - 2.25rem);
    transition: .3s;
}

.service_ul li{
    animation: li_auto_01 1s linear infinite;
    animation-duration:8s;
}

.service_ul li img{
    max-width: 90%;
    margin: 0 auto;
    animation-duration:8s;
}

.service_ul li:nth-child(odd) img{
    animation: img_auto_left 1s linear infinite;
    animation-duration:8s;
}

.service_ul li:nth-child(even) img{
    animation: img_auto_right 1s linear infinite;
    animation-duration:8s;
}


.service_ul li:nth-child(1),
.service_ul li:nth-child(1) img{
    animation-delay: 1s;
}

.service_ul li:nth-child(2),
.service_ul li:nth-child(2) img{
    animation-delay: 2s;
}

.service_ul li:nth-child(3),
.service_ul li:nth-child(3) img{
    animation-delay: 3s;
}

.service_ul li:nth-child(4),
.service_ul li:nth-child(4) img{
    animation-delay: 4s;
}

.service_ul li:nth-child(5),
.service_ul li:nth-child(5) img{
    animation-delay: 5s;
}

.service_ul li:nth-child(6),
.service_ul li:nth-child(6) img{
    animation-delay: 6s;
}

.service_ul li:nth-child(7),
.service_ul li:nth-child(7) img{
    animation-delay: 7s;
}

.service_ul li:nth-child(8),
.service_ul li:nth-child(8) img{
    animation-delay: 8s;
}




@keyframes img_auto_left {
    0%{transform: rotate(0);} 
    5%{transform: rotate(-5deg);} 
    10%{transform: rotate(0);} 
    100%{transform: rotate(0);} 
}

@keyframes img_auto_right {
    0%{transform: rotate(0);} 
    5%{transform: rotate(5deg);} 
    10%{transform: rotate(0);} 
    100%{transform: rotate(0);} 
}


@keyframes li_auto_01 {
    0%{box-shadow: 0 0 8px #685b8526;} 
    10%{box-shadow: 0 0 10px #6e4db85e;} 
    20%{box-shadow: 0 0 8px #685b8526;} 
    100%{box-shadow: 0 0 8px #685b8526;} 
}






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



.service_ul li h3{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 20px;
    font-weight: 700;
    left: 0;
}

.service_ul li:nth-child(odd) h3{
    background-color: #685b85;
    color: #f7df5f;
}

.service_ul li:nth-child(even) h3{
    background-color: #f7df5f;
    color: #685b85;
}


/*====================*/

.value_ul{
    display: flex;
    gap: 0 6px;
    margin-top: 100px;
}

.value_ul li {
    width: calc(33.3% - 4px);
    padding: 1rem 1rem 1.5rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.value_ul li:nth-child(1){
    background-color: #aea2c6;
}

.value_ul li:nth-child(2){
    background-color: #9685bb;
}

.value_ul li:nth-child(3){
    background-color: #7764a3;
}

/*.value_ul li:nth-child(1){
    background-color: #a69eb6;
}

.value_ul li:nth-child(2){
    background-color: #897fa1;
}

.value_ul li:nth-child(3){
    background-color: #685b86;
}*/

.value_ul li .info {
    display: flex;
    gap: 0 15px;
    align-items: center;
    justify-content: center;
}

.value_ul li .info img{
    width: 120px;
}

.value_ul li .info p {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    max-width:200px;
    min-width: 110px;
    text-align: right;
}

.value_ul li .info .up{
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 18px 36px;
    border-color: transparent transparent #fff; 

}

.value_ul li h2{
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    padding: 10px 15px;
    border: 1px #fff solid;
    border-radius: 10px;
    text-align: center;
    display: inline-flex;
}









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

.i_box5{
    background-color: #e9e7f7;
    padding: 50px 0;
    text-align: center;
}


.notice_box {
    display: flex;
    gap: 20px 0;
    flex-direction: column;
}

.notice_box li{
    background-color: #fff;
    border-radius: 20px;
    color: #3e4d6d;
}

.notice_box .title {
    display: flex;
    padding: 20px 20px;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    cursor: pointer;
    color: #3e4d6d;
}

.notice_box .title img{
    width: 30px;
}

.notice_box .title span{
    font-size: 18px;
}

.notice_box .title.active span{
    transform:rotate(180deg)
}

.notice_box .title>div{
    color: #3e4d6d;
}

.notice_box .title>div.title_01{
    width: calc(100% - 110px);
    text-align: left;
}

.notice_box .title>div.more{
    display: flex;
    align-items: center;
    gap: 0 5px;
    font-size: 14px;
    width: 90px;
    justify-content: flex-end;
}



.notice_box .info{
    padding: 20px 20px;
    border-top: 1px #ddd solid;
    display: none;
    text-align: left;
}

.notice_box .info p{
    font-size: 15px;
    color: #666;
}



.i_box6{
    padding: 50px 0;
}

.i_b6 {
    display: flex;
    gap: 20px 50px;
    align-items: center;
    flex-direction: column;
    border-radius: 20px;
    border: 1px #ddd solid;
}

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



.comment_ul{
    padding: 0 20px;
}

.comment_ul li{
    text-align: center;
    margin: 0 10px;
    padding: 40px 0 0 20px;
    position: relative;
}

.comment_ul li img.person{
    position: absolute;
    height: 100px;
    width: 100px;
    border-radius: 50%;
    background-color: #e3e0fc;
    margin: 20px auto;
    box-shadow: 3px -3px 0 #f4d429;
    left: 0;
    top: -15px;

}

.comment_ul li .bg{
    background-color: #f9f9f9;
    padding: 20px 30px 20px 30px;
    border-radius: 15px;
}

.comment_ul li h3{
    font-size: 18px;
    margin-bottom: 5px;
}

.comment_ul li h4{
    color: #8373bf;
    font-size: 18px;
    margin-bottom: 15px;
}


.comment_ul li .stars {
    display: flex;
    gap: 0 5px;
    justify-content: center;
    margin: 10px 0;
}

.comment_ul li .stars img{
    width: 20px;
}

.comment_ul li p{
    color: #666;
    margin-bottom: 20px;
}


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


.i_box7{
    padding: 50px 0 50px 0;
    
}

.i_b7{
    border: 1px #ddd solid;
    padding: 20px 50px;
    border-radius: 10px;
}



.lawyer_ul{
    margin: 40px 0 20px 0;
}

.lawyer_ul li{
    width: 350px;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

.lawyer_ul li .img{
    width: calc(100% - 25px);
    border-radius: 50%;
    position: relative;
    border: 5px #f5da4b solid;
    margin: 10px;
}

.lawyer_ul li .img img{
    width: 100%;
    border-radius: 50%;
}

.lawyer_ul li .img{

}

.lawyer_ul li .img:after{
    content: "";
    width: 100%;
    height: 100%;
    background-color: #8273be;
    border-radius: 50%;
    position: absolute;
    top: -10px;
    right: -15px;
    z-index: -1;
}


.lawyer_ul li .info {
    background-color: #fff9e5;
    padding: 40px 10px 25px 10px;
    text-align: center;
    margin-top: -40px;
    border-radius: 10px;
}

.lawyer_ul li .info h2{
    color: #333333;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.lawyer_ul li .info h3{
    color: #8273be;
    font-size: 20px;
    font-weight: 700;
}





