/* 首頁 關於我們 開始 */
.about-sect .p-1{
    margin: 0;
    color: #8C8C8C;
    font-size: 15px;
    margin-bottom: 31px;
    line-height: 28px;
}
@media(max-width:1000px){
    .about-sect .p-1 {
        margin-bottom: 15px;
        line-height: 23px;
    }
}
/* 首頁 關於我們 結束 */

/* 首頁 編輯器 開始 */
.service-sect .sect-title {
    text-align: right;
    margin-bottom: 64px;
    box-sizing: border-box;
    padding-left: 0;
    display: inline-block;
    margin-left: 305px;
    position: relative;
    z-index: 0;
}
.service-sect .sect-title:before {
    content: "";
    background: #E0E8ED;
    width: 812px;
    height: 138px;
    position: absolute;
    left: -571px;
    top: -37px;
    z-index: -1;
}
.service-sect .sect-title span{
    font-size: 40px;
    line-height: 40px;
    display: block;
    color: #004473;
    position: relative;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 7px;
    font-family: 'Poppins', sans-serif;
}
.service-sect .sect-title span:first-letter{
    font-weight: bold;
}
.service-sect .sect-title h2{
    color: #3E4046;
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 6px;
    position: relative;
}
.service-sect .sect-title h2:before{
    content: "";
    background: #D6D6D6;
    width: 1px;
    height: 47px;
    position: absolute;
    right: 57px;
    top: -93px;
    transform: rotate(43deg);
}
.service-sect .sect-title h2:after{
    content: "";
    background: #D6D6D6;
    width: 1px;
    height: 90px;
    position: absolute;
    right: 143px;
    bottom: -59px;
    transform: rotate(43deg);
}
.ed-box{
    max-width: 1290px;
    margin-left: auto;
    margin-right: auto;
}
.ed-box .ed-row{
    display: flex;
    margin-top: 20px;
}
.ed-box .ed-col:nth-child(1){
    width: 66%;
    box-sizing: border-box;
    display: flex;
}
.ed-box .ed-col:nth-child(2){
    width: 34%;
    box-sizing: border-box;
    padding-left: 45px;
    position: relative;
}
.ed-box .ed-col:nth-child(2):before{
    content: "";
    background: url(../../images/common/index/sect5_bg.png);
    position: absolute;
    width: 350px;
    height: 498px;
    left: -102px;
    top: -96px;
    z-index: -1;
}
.ed-box .ed-col:nth-child(1) div:nth-child(1){
    margin-right:20px;   
}
.ed-box .ed-list{
    display: flex;
    flex-wrap: wrap;
    margin-top: 122px;
}
.ed-box .ed-list > div{
    width: 118px;
    height: 118px;
    text-align: center;
    box-sizing: border-box;
    background: #FFF;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-left: 6px;
    margin-right: 6px;
    transition: all .3s ease;
}
.ed-box .ed-list > div:hover{
    box-shadow: 0px 6px 12px 2px #d2d2d2;
}
.ed-box .ed-list > div h3{
    color: #004474;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    margin-top: 14px;
}
.ed-box .ed-col:nth-child(1) div:nth-child(2){
    margin-top: 30px;
}
.ed-box .ed-t2{
    border-left: 3px solid #004474;
    margin-left: 7px;
    padding-left: 19px;
    margin-top: 10px;
}
.ed-box .ed-t2 div:nth-child(1){
    color: #004472;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 5px;
    letter-spacing: 8px;
}
.ed-box .ed-t2 div:nth-child(2){
    color: #8C8C8C;
    font-size: 15px;
    line-height: 23px;
}
article.editor .btn-new{
    position: absolute;
    left: 370px;
    bottom: 119px;
}
/*控制動效*/
.service-sect .sect-title:before {
    transition: all 1.5s ease;
    transition-delay: 0s;
    width: 0;
}
.service-sect .sect-title span {
    opacity: 0;
    transition: all 1s ease;
    transition-delay: 1s;
}
.service-sect .sect-title h2 {
    opacity: 0;
    transition: all 1s ease;
    transition-delay:1s;
}
.service-sect .sect-title h2:before {
    opacity: 0;
    transition: all 1s ease;
    transition-delay:1.3s;
}
.service-sect .sect-title h2:after {
    opacity: 0;
    transition: all 1s ease;
    transition-delay: 1.3s;
}
.service-sect .ed-box .ed-col:nth-child(1) div:nth-child(1){
    position: relative;
}
.service-sect .ed-box .ed-col:nth-child(1) div:nth-child(1):before {
    content: "";
    width: 100%;
    height: 100%;
    transition: all 1.2s ease;
    background: #F6F6F6;
    position: absolute;
    top: 0;
    right: 0;
    transition-delay: 1.3s;
}
.service-sect .ed-box .ed-col:nth-child(1) div:nth-child(2){
    position: relative;
}
.service-sect .ed-box .ed-col:nth-child(1) div:nth-child(2):before {
    content: "";
    width: 100%;
    height: 100%;
    transition: all 1.5s ease;
    background: #F6F6F6;
    position: absolute;
    top: 0;
    right: 0;
    transition-delay: 1.3s;
}
.ed-box .ed-col:nth-child(2):before {
    opacity: 0;
    transition: all .6s ease;
    transition-delay:2.5s;
}
.service-sect .ed-box .ed-list {
    opacity: 0;
    transition: all .6s ease;
    transition-delay: 3s;
}
.service-sect .ed-box .ed-t2 {
    opacity: 0;
    transition: all .6s ease;
    transition-delay: 3.5s;
}
article.editor .btn-new {
    opacity: 0;
    transition: all 1s ease;
    transition-delay: 4s;
    transform: translateX(-30px);
}
.service-sect.loaded .sect-title:before {
    width: 812px;
}
.service-sect.loaded .sect-title span {
    opacity: 1;
}
.service-sect.loaded .sect-title h2 {
    opacity: 1;
}
.service-sect.loaded .sect-title h2:before {
    opacity: 0;
}
.service-sect.loaded .sect-title h2:after {
    opacity: 0;
}
.service-sect.loaded .ed-box .ed-col:nth-child(1) div:nth-child(1):before {
    width: 0;
}
.service-sect.loaded .ed-box .ed-col:nth-child(1) div:nth-child(2):before  {
    width: 0;
}
.service-sect.loaded .ed-box .ed-col:nth-child(2):before {
    opacity: 0;
}
.service-sect.loaded .ed-box .ed-list {
    opacity: 1;
}
.service-sect.loaded .ed-box .ed-t2 {
    opacity: 1;
} 
.service-sect.loaded  article.editor .btn-new {
    opacity: 1;
    transform: translateX(0px);
}
/*!控制動效 */
@media(max-width:1440px){
    .ed-box .ed-col:nth-child(1) {
        width: 50%;
    }
    .ed-box .ed-col:nth-child(2) {
        width: 50%;
    }
    .ed-box .ed-list {
        margin-top: 30px;
    }
}
@media(max-width:1000px){
    .service-sect .sect-title {   
        margin-left: 0;
        margin-bottom: 35px;
    }
    .service-sect .sect-title span{   
        font-size: 33px;
        line-height: 32px;
        margin-bottom: 9px;
        letter-spacing: 2px;
    }
    .service-sect .sect-title h2 {
        font-size: 18px;
        line-height: 18px;
        letter-spacing: 3px;
    }
    .service-sect .sect-title:before {
        height: 109px;
        left: -655px;
        top: -20px;
    }
    .ed-box .ed-row {
        flex-direction: column;
        flex-wrap: wrap;
    }
    .ed-box .ed-col:nth-child(1){
        width: 100%;
        order: 2;
    }
    .ed-box .ed-col:nth-child(2){
        width: 100%;
        padding-left: 0;
        order: 1;
        display: flex;
        flex-direction: column;
    }
    .ed-box .ed-list {
        margin-top: 0;
        justify-content: center;
        order: 2;
    }
    .ed-box .ed-t2 {
        order: 1;
        margin-bottom: 30px;
        padding-left: 11px;
    }
    .ed-box .ed-col:nth-child(2):before {
        display: none;
    }
    .ed-box .ed-t2 div:nth-child(1) {
        font-size: 22px;
        margin-bottom: 3px;
        letter-spacing: 4px;
    }
    article.editor .btn-new {
        position: relative;
        left: 0;
        bottom: 0;
        margin-left: auto;
        margin-right: auto;
        margin-top: 30px;
    }

    /*控制動效 */
    .service-sect .ed-box .ed-t2 {
        transition-delay: 1.5s;
    }
    .service-sect .ed-box .ed-list {
        transition-delay: 1.8s;
    }
    .service-sect .ed-box .ed-col:nth-child(1) div:nth-child(1):before {
        transition-delay: 2.1s;
    }
    .service-sect .ed-box .ed-col:nth-child(1) div:nth-child(2):before {
        transition-delay: 2.4s;
    }
    article.editor .btn-new {
        transition: all 0.6s ease;
        transition-delay: 2.7s;
    }
    /*!控制動效 */
}
/* 首頁 編輯器 結束 */

/* 內頁 關於我們 開始 */
.page-a .a-row{
    display: flex;
}
.page-a .a-col{
    box-sizing: border-box;
}
.page-a .a-1 .a-col:nth-child(1){
    width: 55%;
    padding-right: 30px;
}
.page-a .a-1 .a-col:nth-child(2){
    width: 45%;
    padding-left: 10px;
}
.page-a .a-1{
    margin-bottom: 20px;
}
.page-a .a-title {
    text-align: left;
    margin-bottom: 50px;
    box-sizing: border-box;
    padding-left: 23px;
    border-left: 3px solid #004474;
    margin-top: 10px;
}
.page-a .a-title span{
    font-size: 40px;
    line-height: 40px;
    display: block;
    color: #004473;
    position: relative;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 7px;
    font-family: 'Poppins', sans-serif;
}
.page-a .a-title span:first-letter{
    font-weight: bold;
}
.page-a .a-title h2{
    color: #3E4046;
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    margin: 0;
    letter-spacing: 3px;
}
.page-a .a-title div:nth-child(2){
    color: #004472;
    font-size: 22px;
    line-height: 21px;
    letter-spacing: 12px;
}
.page-a .a-title div:nth-child(3){
    color: #004472;
    font-size: 15px;
    line-height: 29px;
    margin-bottom: 6px;
    letter-spacing: 10.1px;
}
.page-a .p-1{
    color: #8C8C8C;
    font-size: 15px;
    line-height: 27px;
    margin: 0;
    margin-bottom: 22px;
}
.page-a .a-2 .a-col:nth-child(1){
    width: 44%;
    padding-right: 43px;
}
.page-a .a-2 .a-col:nth-child(2){
    width: 56%;
    padding-top: 22px;
}
@media(max-width:800px){
    .page-a .a-row{
        flex-direction: column;
    }
    .page-a .a-1 .a-col:nth-child(1){
        width: 100%;
        padding-right: 0;
        text-align: center;
        margin-bottom: 20px;
    }
    .page-a .a-1 .a-col:nth-child(2){
        width: 100%;
        padding-left: 0;
    }
    .page-a .a-2 .a-col:nth-child(1){
        width: 100%;
        padding-right: 0;
    }
    .page-a .a-2 .a-col:nth-child(2){
        width: 100%;
        padding-top: 0;
    }
    .page-a .a-title span {
        font-size: 33px;
        line-height: 32px;
        display: block;
        color: #004473;
        position: relative;
        font-weight: 300;
        margin-bottom: 9px;
        letter-spacing: 2px;
    }
    .page-a .a-title h2 {
        font-size: 18px;
        line-height: 18px;
        letter-spacing: 3px;
    }
    .page-a .a-title {
        padding-left: 13px;
        margin-top: 0;
        margin-bottom: 30px;
    }
    .page-a .p-1 {
        line-height: 25px;
        margin-bottom: 20px;
    }
}
/* 內頁 關於我們 結束 */

/*********** 前後台編輯器區塊共用的CSS設定 ***********/

.index-about-title {
    color: #353840;
    font-weight: bold;
    font-size: 45px;
    letter-spacing: 0.25px;
    line-height: 1.2;
    margin: 15px 0 30px;
}

@media screen and (max-width: 1470px) {
    .index-about-title {
        font-size: 30px;
        margin: 15px 0 15px;
    }
}

/* ------ about-editor ------  */

.a_layout {
    position: relative;
    margin: 15px 0;
}

.a_layout .a_box {
    display: flex;
    position: relative;
    margin: 0 0 30px;
}

.a_layout .a_box .col1, .a_layout .a_box .col2 {
    width: 50%;
    padding: 0 2%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.a_layout .a_box:first-of-type .col2 {
    width: 50%;
    padding: 0 2%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.a_layout .about-editor-title {
    text-align: left;
    font-size: 18px;
    color: #003459;
    position: relative;
    font-weight: 500;
    letter-spacing: 0.8px;
    line-height: 1.2;
    margin: 0;
}

.a_layout .about-editor-title::after {
    content: '';
    display: block;
    width: 19px;
    height: 1px;
    background: #003559;
    margin: 10px auto 10px 0;
}

.a_layout .index-about-title {
    color: #353840;
    font-weight: bold;
    font-size: 45px;
    letter-spacing: 0.25px;
    line-height: 1.2;
    margin: 15px 0 30px;
}

.a_layout p {
    color: #535662;
    letter-spacing: 0.75px;
    line-height: 1.5;
    font-size: 15px;
    position: relative;
}

@media screen and (max-width: 1470px) {
    .a_layout .index-about-title {
        font-size: 30px;
        margin: 15px 0 15px;
    }
}

@media screen and (max-width: 1000px) {
    .a_layout .a_box{
        display: block;
        margin: 0;
    }
    .a_layout .a_box .col1, .a_layout .a_box .col2,
    .a_layout .a_box:first-of-type .col2{
        width: 100%;
    }

    .a_layout .a_box:first-of-type .col2 {
        padding: 20px 15px 0;
    }
}


/* ------ contact-editor ------  */

.contact-editor .row {
    margin: 0 -2%;
}

.contact-editor .col {
    float: left;
    padding: 0 2%;
}

.contact-editor .col1 {
    width: 44%;
}

.contact-editor .col2 {
    width: 56%;
}

.contact-map {
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.25);
    border: 8px solid #fff;
}

.contact-map iframe {
    display: block;
    max-height: 100%;
}

.contact-info-list {
    color: #555;
    font-size: 14px;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.contact-info-list li {
    position: relative;
    padding: 2px 0 2px 40px;
    margin: 8px 0;
    line-height: 25px;
}

.contact-info-list li:before {
    content: '';
    display: inline-block;
    background: url('../../images/common/contact/info_ic.png') no-repeat;
    width: 25px;
    height: 25px;
    position: absolute;
    left: 0;
    top: 0;
}

.contact-info-list li.tel:before {
    background-position: 0 0;
}

.contact-info-list li.mail:before {
    background-position: 0 50%;
}

.contact-info-list li.addr:before {
    background-position: 0 100%;
}

.contact-info-list a:hover {
    text-decoration: underline;
}
.contact-info-list li.fax:before {
    background: unset;
    font-family: 'icon-font-3' !important;
    content: "\cc916";
    color: #00416E;
    font-size: 19px;
    left: 2px;
}

/* ------ terms-editor ------  */

.terms-title {
    color: #004777;
    font-size: 15px;
    margin: 0 0 0.5em;
}

@media screen and (max-width: 1280px) {
    .about-editor .col2 {
        padding: 0%;
    }
}

@media screen and (max-width: 767px) {
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .contact-map {
        margin-bottom: 1.8em;
    }
}

@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }
}