/*********** 前後台編輯器區塊共用的CSS設定 ***********/

img {
    max-width: 100%;
    max-height: 100%;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
}
/* start commented backslash hack \*/
* html .clearfix { height: 1%; }
.clearfix { display: block; }

.col {
    box-sizing: border-box;
}

.about-editor-layout {
    text-align: center;
}
.about-editor-layout .row {
    margin: 0 -23px;
}
.about-editor-layout .col {
    float: left;
    padding: 0 50px;
    width: 50%;
    box-sizing: border-box;
}
.about-editor-txt {
    background: url(../../images/common/about/txt_bg.jpg);
    padding: 11% 0px;
}
.content.about {
    max-width: 1280px;
    margin: 0 5%;
    padding: 60px 65px 0;
    position: relative;
}
.content.in{
    position: relative;
    min-height: 300px;
    background: #fff;
    box-sizing: border-box;
}

.banner.in{
    margin-bottom: -8%;
    position: relative;
}
.content.in.about{
     position: relative;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 89%;
    margin: 0 5%;
        padding: 70px 13.5% 0;
    border:solid 1px #ECECEC;
}
.about_txt{
    position: absolute;
    color: #FFFFFF;
    font-weight: 900;
    font-size: 25px;
    max-width: 100%;
    width: 900px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    justify-content: center;
    line-height: 1.4;
    padding-bottom: 30px;
    letter-spacing: 1px;
    box-sizing: border-box;
    font-family: 'Roboto';

}
.about_txt2{
    text-align: center;
}
.about_tit{
    font-family: 'Roboto';
    font-weight: 900;
    color: #D2002E;
    font-size: 35px;
    margin-bottom: 10px;
    text-align: center;
}
.service-editor .row_{
    display: flex;

}
.service-editor .row_ .col1{
    flex-basis: 70%;
}
.service-editor .row_ .col2{
    flex-basis: 30%; 
}
.service-editor .row_ {
    margin-bottom: 70px;
    letter-spacing: 0;
}
.service-editor .row_:last-child{
    margin-bottom: 0;
}
.service-editor .service_tit{
    color: #D2002D;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}
.service-editor .service-list {
    margin-bottom: 30px;
}
.service-editor .service-list li:before{
    content: '•';
    margin-right: 25px;
    display: inline-block;

}
.service-editor .row_:nth-child(odd) .col1{
    padding-right: 60px;
}
.service-editor .row_:nth-child(even) .col1{
    order: 2;
    padding-left: 60px;

}
.service-editor img+img{
    margin-top: 1px;

}

/*************************/


/**************************/
.products-editor-pic {
    float: right;
    width: 400px;
    margin: 0 0 10px 30px;
}

.contact-editor .row {
    margin: 0 -2%;
}
.contact-editor .col {
    float: left;
    padding: 0 2%;
}
.contact-editor .col1 {
    width: 44%;
}
.contact-editor .col2 {
    width: 56%;
    color: #111;
}
.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 {
    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 a{
    color:#b3a493;
}
.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;
}
/*****************************/
.main-content.terms{
     margin-top: 60px;
     margin-bottom: 60px;
}
.banner.terms{
    margin-bottom: -8%;

}
.has-side .content.terms {
    max-width: 1280px;
    width:100%;
    margin:auto;
    padding: 60px 0 0;
    position: relative;
    background: #fff;
}
.editor.terms-page{
    width: 100%;
    max-width: 1175px;
    margin:auto;
}
.editor.terms-page b{
    color: #46A38A;
}
.editor.terms-page .terms-title{
    color: #d3002f;
    margin-bottom: 4px;
    font-size: 17px;
}


@media screen and (max-width: 1280px) {
    .about-editor .row,
    .about-editor .col {
        display: block;
        width: auto;
    }
    .about-editor .row {
        max-width: 728px;
        margin: 0 auto;
    }
    .about-editor .col1 {
        padding: 0;
        margin-bottom: 4px;
    }
    .about-editor .col2 {
        padding: 30px;
    }
}
@media screen and (max-width: 1000px) {
    .service-editor .row_{
        display: block;
        margin-bottom: 30px;

    }
    .service-editor .row_ .col1,.service-editor .row_:nth-child(odd) .col1,.service-editor .row_:nth-child(even) .col1{
        padding: 0
    }
    .about_txt{
        position: static;
        color: #272727;
        font-size: 16px;
        padding-bottom: 20px;
        padding-top: 10px;
    }
    .content.in.about{
        padding:20px 10px;
    }
    .about_tit{
        font-size: 22px;
    }
    .service-editor .service_tit{
        font-size: 18px;
        line-height: 1.4;
    }
    .service-editor .service-list li:before{
        margin-right: 15px;
    }
    .about_txt2{
        letter-spacing: 0;
    }

}
@media screen and (max-width: 767px) {
    .products-editor-pic {
        float: none;
        width: auto;
        text-align: center;
    }
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .contact-map {
        margin-bottom: 1.8em;
    }
     .content.in {
        padding: 40px 0 0;
    }
     .banner.in,
    .content.in {
        margin: 0;
    }
    .has-side .content.terms {
    padding-top: 30px;
}
}
@media screen and (max-width: 600px) {
    .contact-map {
        height: 200px;
    }

}