/*********** 前後台編輯器區塊共用的CSS設定 ***********/
/* -------------- index-about -------------- */
.a_layout{
    position: relative;
    box-sizing: border-box;
    display: block;
    width: 100%;
}
.a_layout .a_box{
    position: relative;
    box-sizing: border-box;
    padding: 0 0 30px;
}
.a_layout>div.a_box+div.a_box{
    padding: 30px 0;
    border-top: 1px solid #D6D6D6;
}
.a_title{
    position: relative;
    box-sizing: border-box;
    padding-left: 20px;
    margin: 0 0 20px;
}
.a_title::before{
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    background: #181896;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.a_title span{
    position: relative;
    color: #A5A5A5;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.8px;
    line-height: 1.2;
    font-family: 'Frank Ruhl Libre',serif;
    display: block;
}
.a_title h3{
    position: relative;
    color: #2B2B33;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin: 0;
    font-family: 'Noto Serif TC', serif;
}
.a_layout p{
    color: #666666;
    letter-spacing: 1.5px;
    line-height: 1.5;
    font-size: 16px;
    margin: 0;
}
@media screen and (max-width: 1280px) {
    .a_title h3{
        font-size: 18px;
    }
    .a_layout p {
        font-size: 15px;
    }
    .a_title span{
        margin: 0 0 10px;
    }
}
/* -------------- contact-about -------------- */
.ac_layout{
    position: relative;
    box-sizing: border-box;
    max-width: 1280px;
    margin: 0 auto;
}
.ac_box{
    position: relative;
    box-sizing: border-box;
    padding: 0 47% 30px 75px;
    margin: 45px 0 80px;
}
.ac_box:nth-of-type(2n){
    padding: 0 75px 30px 56%;
    margin: 45px 0 0;
}
.ac_box::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 80%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 80%;
    height: 100%;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#E3D9D2), to(#E3D9D2)), -webkit-gradient(linear, left top, left bottom, from(#E3D9D2), to(#E3D9D2)), -webkit-gradient(linear, left top, left bottom, from(#E3D9D2), to(#E3D9D2)), -webkit-gradient(linear, left top, left bottom, from(#E3D9D2), to(#E3D9D2)), -webkit-gradient(linear, left top, left bottom, from(#E3D9D2), to(#E3D9D2));
    background-image: -webkit-linear-gradient(top, #E3D9D2, #E3D9D2), -webkit-linear-gradient(top, #E3D9D2, #E3D9D2), -webkit-linear-gradient(top, #E3D9D2, #E3D9D2), -webkit-linear-gradient(top, #E3D9D2, #E3D9D2), -webkit-linear-gradient(top, #E3D9D2, #E3D9D2);
    background-image: linear-gradient(to bottom, #E3D9D2, #E3D9D2), linear-gradient(to bottom, #E3D9D2, #E3D9D2), linear-gradient(to bottom, #E3D9D2, #E3D9D2), linear-gradient(to bottom, #E3D9D2, #E3D9D2), linear-gradient(to bottom, #E3D9D2, #E3D9D2);
    background-size: 0 0, 0 0, 0 0, 0 0, 0 0;
    background-repeat: no-repeat;
    pointer-events: none;
    background-position: 0 0, 0 100%, 0 100%, 100% 100%, 100% 0%;
    transition: all 1.5s ease;
}
.loaded .ac_box::before{
    background-size: 55px 4px, 100% 4px, 4px 100%, 4px 100%, 64% 4px;
}
.ac_box:nth-of-type(2n):before{
    right: 0;
    left: initial;
    width: 95%;
    background-size: 0 0, 0 0, 0 0, 0 0, 0 0;
}
.loaded .ac_box:nth-of-type(2n):before{
    background-size: 52% 4px, 100% 4px, 4px 100%, 4px 100%, 13.5% 4px;
}
.ac_txt{
    position: relative;
    box-sizing: border-box;
    top: -20px;
}
.ac_layout h3{
    position: relative;
    color: #30373F;
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 20px;
    font-family: 'Frank Ruhl Libre',serif;
    display: inline-block;
    padding: 0 20px;
    margin-left: -20px;
}
.ac_layout h4{
    position: relative;
    color: #30373F;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 15px;
    font-family: 'Noto Serif TC', serif;
}
.ac_layout p{
    margin: 0;
    color: #404A53;
    font-size: 15px;
    letter-spacing: 0.4px;
    line-height: 1.7;
}
.ac_layout .ac_box img{
    position: absolute;
    top: -20px;
    right: 0;
}
.ac_layout .ac_box:nth-of-type(2n) img{
    left: 0;
}
.ac_layout .ac_box .ac_txt img{
    position: relative;
    top: 0;
    margin: 20px 0 0;
}
@media screen and (max-width: 1280px) {
    .ac_layout{
        max-width: unset;
    }
    .ac_box:nth-of-type(2n) {
        padding: 0 75px 30px 62%;
        margin: 45px 0 0;
    }
    .ac_layout h3{
        font-size: 30px;
    }
    .loaded .ac_box:nth-of-type(2n):before {
        background-size: 58% 4px, 100% 4px, 4px 100%, 4px 100%, 9.5% 4px;
    }
    .ac_layout h4{
        font-size: 24px;
    }
    .ac_box {
        padding: 0 52% 30px 75px;
    }
}
@media screen and (max-width: 1200px) {
    .ac_box {
        padding: 0 58% 15px 30px;
    }
    .ac_box:nth-of-type(2n) {
        padding: 0 30px 15px 68%;
    }
    .loaded .ac_box:nth-of-type(2n):before {
        background-size: 64% 4px, 100% 4px, 4px 100%, 4px 100%, 9.5% 4px;
    }
    .ac_layout .ac_box:nth-of-type(2n) img {
        max-width: 65%;
    }
    .ac_layout .ac_box .ac_txt img{
        max-width: 100%;
    }
}
@media screen and (max-width: 1100px) {
    .ac_layout .ac_box img {
        position: relative;
        top: 0;
        right: 0;
        left: 0;
        margin: 0 auto;
    }
    .ac_box::before,
    .ac_box:nth-of-type(2n):before{
        width: 100%;
        height: 100%;
    }
    .ac_box,
    .ac_box:nth-of-type(2n) {
        text-align: center;
        padding: 0 30px 30px 30px;
        margin-top: 0;
    }
    .loaded .ac_box::before {
        background-size: 35% 4px, 100% 4px, 4px 100%, 4px 100%, 35% 4px;
    }
    .loaded .ac_box:nth-of-type(2n):before {
        background-size: 30% 4px, 100% 4px, 4px 100%, 4px 100%, 30% 4px;
    }
    .ac_layout h3 {
        margin: 0 0 20px;
    }
    .ac_layout .ac_box:nth-of-type(2n) img{
        max-width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .ac_layout h3 {
        background: #fff;
    }
    .ac_layout h3 {
        margin: 0 0 10px;
    }
    .ac_layout h4 {
        font-size: 20px;
    }
    .ac_layout h3 {
        font-size: 26px;
    }
}
/* -------------- contact -------------- */
.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-editor .col2 h3{
    position: relative;
    color: #30373F;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0 0 15px;
    font-family: 'Noto Serif TC', serif;
}
.contact-map {
    box-shadow: 0 0 4px 0 rgb(0 0 0 / 25%);
    border: 8px solid #fff;
    position: relative;
}
.contact-map iframe {
    display: block;
    max-height: 100%;
}
.contact-info-list {
    color: #666;
    font-size: 15px;
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-family: 'Frank Ruhl Libre',serif;
}
.contact-info-list strong {
    color: #666;
    font-size: 28px;
    transition: all 0.3s ease;
}
.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,
.contact-info-list a:hover strong {
    color: #E28346;
}
/*****************************/
.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: 0;
    position: relative;
    background: #fff;
}
.editor.terms-page{
    width: 100%;
    max-width: 1175px;
    margin:auto;
    color: #929292;
    font-size: 14px;
}
.editor.terms-page b{
    color: #46A38A;
}
.editor.terms-page .terms-title{
    color: #E28346;
    font-size: 17px;
    margin: 0 0 10px;
    font-family: 'Noto Serif TC', serif;
}
@media screen and (max-width: 1280px) {}
@media screen and (max-width: 1000px) {
    .contact-editor .col2 h3{
        font-size: 18px;
    }
    .contact-editor .col.col{
        margin: 0 0 30px;
    }
}
@media screen and (max-width: 767px) {
    .contact-editor {
        padding: 0 2%;
    }
    .contact-editor .col {
        width: 100%;
        padding: 0;
    }
    .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;
    }
}