/*********** 前後台編輯器區塊共用的CSS設定 ***********/

.index-contact-list {
    padding: 29.5px;
    margin: 0;
    list-style-type: none;
    text-align: left;
    display: inline-block;
}

.index-contact-list li {
    position: relative;
    color: #725233;
}

.index-contact-list li+li {
    margin-top: 20px;
}

.index-contact-list li span {
    background: #72B687;
    color: #fff;
    padding: 4px 12px;
    margin-right: 5px;
}

.index-contact-list li a:hover {
    text-decoration: underline;
}

.about-editor .row {
    margin: 0 -5px 50px;
}

.about-editor .col {
    float: left;
    padding: 0 5px;
}

.about-editor .col h3 {
    color: #54A6BA;
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 5px;
    position: relative;
}

.about-editor .col h3::after {
    content: '';
    position: absolute;
    width: 233px;
    height: 3px;
    background: #54A6BA;
    top: 50%;
    transform: translateY(-50%);
}

.about-editor .one .col h3::after {
    left: 65px;
}

.about-editor .two .col h3::after {
    left: 115px;
}

.about-editor p {
    color: #2C2C33;
    font-size: 15px;
    line-height: 2;
}

.about-editor .one .col1 {
    width: 43%;
}

.about-editor .one .col2 {
    width: 57%;
    text-align: center;
}

.about-editor .two {
    position: relative;
}

.about-editor .two::before {
    content: '';
    position: absolute;
    border: 1px solid #D0D2D7;
    width: 1130px;
    height: 572px;
    top: 50px;
    left: -30px;
}

.about-editor .two .col1 {
    width: 58%;
    padding: 160px 40px 0;
    text-align: justify;
}

.about-editor .two .col2 {
    width: 42%;
    text-align: left;
}

@media screen and (max-width: 1200px) {
    .about-editor .two .col1 {
        padding: 50px 40px 0;
    }
    .about-editor .two::before {
        top: 30px;
        left: -30px;
        height: 490px;
    }
}

@media screen and (max-width: 1000px) {
    .about-editor .row {
        margin: 0 -5px 0;
    }
    .about-editor .one .col1, .about-editor .one .col, .about-editor .two .col1, .about-editor .two .col2 {
        width: 100%;
    }
    .about-editor .two .col2 {
        text-align: center;
    }
    .about-editor .two .col1 {
        padding: 15px;
    }
    .about-editor .two {
        display: flex;
        flex-direction: column-reverse;
    }
    .about-editor .two::before {
        display: none;
    }
}

.terms-title {
    color: #58A971;
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px;
}

.editor-title {
    color: #FF5B2C;
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 10px;
}

.editor-title2 {
    color: #02A0B8;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

.editor-grid .row {
    margin: 0 -20px;
    display: flex;
}

.editor-grid .col {
    padding: 0 20px;
}

.editor-grid.x3 .col {
    width: 33.33%;
}

.editor-grid.x4 .col {
    width: 25%;
}

.service-list {
    padding: 30px 0;
    list-style-type: none;
    display: flex;
    justify-content: center;
    max-width: 1043px;
    background: #fff;
    margin: 0 auto;
    border: 1px solid #DDDDDD;
    flex-flow: wrap;
}

.service-list .item {
    width: 25%;
    padding: 0 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border-right: 1px solid #DDDDDD;
}

.service-list .item:nth-child(5n+1) {
    clear: left;
}

.service-list.x2 .item {
    width: 50%;
}

.service-list.x2 .item:nth-child(5n+1) {
    clear: none;
}

.service-list.x2 .item:nth-child(2n+1) {
    clear: left;
}

.service-list .box {
    position: relative;
    margin: 0;
    padding: 20px;
}

.service-list .box .pic {
    position: relative;
    top: 0;
    transition: all 0.3s ease;
}

.service-list .box:hover .pic {
    top: -10px;
}

.service-list .box:before, .service-list .box:after {
    content: '';
    display: block;
    background: 50% 0 repeat-x;
    position: absolute;
    left: 0;
    right: 0;
    height: 20px;
}

.service-list .box .pic:before {
    content: '';
    display: block;
    background: url(../../images/common/index/service_hover.png) no-repeat;
    width: 211px;
    height: 31px;
    transition: all 0.3s ease;
    transform: scaleX(0.68);
    opacity: 0;
    bottom: -35px;
    left: 50%;
    margin-left: -105.5px;
    position: absolute;
}

.service-list .box:hover .pic:before {
    opacity: 1;
}

.service-list .pic {
    max-width: 100%;
    margin: auto;
}

.service-list .name {
    color: #545454;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    padding: 30px 0 0;
}

.service-list .box:hover .name {
    color: #5EA5B7;
}

@media screen and (max-width: 1200px) {
    .about-editor .col, .editor-grid.x3 .col {
        width: 100%;
    }
    .about-editor .col+.col, .editor-grid.x3 .col+.col {
        margin-top: 1.7em;
    }
    .service-list .item {
        width: 25%;
    }
    .service-list .item:nth-child(5n+1) {
        clear: none;
    }
    .service-list .item:nth-child(4n+1) {
        clear: left;
    }
}

@media screen and (max-width: 1000px) {
    .service-list .item {
        width: 50%;
    }
    .service-list .item:nth-child(4n+1) {
        clear: none;
    }
    .service-list .item:nth-child(3n+1) {
        clear: left;
    }
    .service-list .item:nth-of-type(1), .service-list .item:nth-of-type(2) {
        border-bottom: 1px solid #DDDDDD;
    }
    .service-list .item:nth-of-type(2), .service-list .item:nth-of-type(4) {
        border-right: none;
    }
    .service-list {
        padding: 30px;
    }
    .index-contact-list {
        padding: 15px 0;
    }
}

@media screen and (max-width: 700px) {
    .service-list .item {
        width: 50%;
    }
    .service-list .item:nth-child(3n+1) {
        clear: none;
    }
    .service-list .item:nth-child(2n+1) {
        clear: left;
    }
    .index-contact-list {
        padding: 15px 0;
    }
}

@media screen and (max-width: 600px) {
    .service-list {
        padding: 10px;
    }
    .service-list .box {
        padding: 20px 10px;
    }
    .service-list .name {
        font-size: 15px;
    }
    .service-list .item:nth-child(n), .service-list.x2 .item:nth-child(n) {
        clear: none;
    }
}