/*********** 前後台編輯器區塊共用的CSS設定 ***********/
/* -------- contact-sect -------- */
/* index */
.index-contact-box {
    position: relative;
    box-sizing: border-box;
}
.index-contact-title {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.index-contact-title span{
    position: relative;
    box-sizing: border-box;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    width: 52px;
    height: 52px;
    line-height: 48px;;
    background: url(../../images/common/c_title_bg.jpg);
    border-radius: 100%;
    margin: 0 2px;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.index-contact-title span::before{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border: 1px solid #fff;
    border-radius: 100%;
    z-index: -1;
}
.index-contact-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: left;
    display: inline-block;
    font-weight: 600;
}
.index-contact-list li {
    position: relative;
    padding: 15px 20px 15px 68px;
}
.index-contact-list li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    background: url(../../images/common/index/sect1_border.svg) repeat-x;
    width: 100%;
    height: 2px;
}
.index-contact-list li:before {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
}
.index-contact-list li.mail:before {
    background: url(../../images/common/contact/c_ic1.png) no-repeat;
    background-size: contain;
}
.index-contact-list li.tel:before {
    background: url(../../images/common/contact/c_ic2.png) no-repeat;
    background-size: contain;
}
.index-contact-list li.add:before {
    background: url(../../images/common/contact/c_ic3.png) no-repeat;
    background-size: contain;
}
.index-contact-list li a{
    transition: all 0.3s ease;
}
.index-contact-list li a:hover {
    color: #9E2A2A;
}
@media screen and (max-width: 1000px) {
    .index-contact-title span{
        font-size: 28px;
        width: 48px;
        height: 48px;
        line-height: 45px;
    }
}
/* content */
.site-info .index-contact-list {
    font-size: 14px;
}
.site-info .index-contact-list li {
    padding: 15px 20px 15px 40px;
}
.site-info .index-contact-list li:before{
    left: 0;
}
/* -------- about-sect -------- */
/* index */
.about-sect .txt-box h3 {
    position: relative;
    box-sizing: border-box;
    font-size: 24px;
    font-weight: normal;
    color: #5A3819;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0 0 10px;
}
@media screen and (max-width: 1280px) {
    .about-sect .txt-box h3 {
        font-size: 20px;
    }
}
@media screen and (max-width: 1000px) {
    .about-sect .txt-box h3 {
        font-size: 18px;
        text-align: center;
        line-height: 1.5;
    }
}
/* content */
.a_layout {
    position: relative;
    box-sizing: border-box;
    clear: none;
}
.a_layout .a_col{
    position: relative;
    box-sizing: border-box;
    float: left;
}
.a_layout .a_col:first-of-type {
    width: 100%;
    max-width: 450px;
}
.a_layout .a_col:first-of-type::before {
    content: '';
    position: absolute;
    bottom: -105px;
    left: 20px;
    width: 252px;
    height: 214px;
    background: url(../../images/common/about/a_pic3.png) no-repeat;
    background-size: contain;
}
.a_layout .a_col:first-of-type img {
    border-radius: 2vw;
}
.a_layout .a_col:last-of-type {
    float: right;
    width: 100%;
    max-width: 600px;
    background: url(../../images/common/site-nav_bg.jpg);
    padding: 50px;
    border-radius: 2vw;
    box-shadow: 0 8px 4px rgba(0,0,0,0.1);
    margin: 100px 0 0 -300px;
    z-index: 1;
}
.a_layout .a_col:last-of-type::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: calc(100% - 5px);
    border-radius: 2vw;
    background: url(../../images/common/site-nav_bg2.jpg);
    z-index: -2;
}
.a_layout .a_col:last-of-type::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 5px);
    height: calc(100% - 5px);
    background: #fff;
    border-radius: 2vw;
    visibility: visible;
    z-index: -1;
}
.a_layout .a_col .a_txt {
    position: relative;
    box-sizing: border-box;
}
.a_layout .a_col .a_txt::before {
    content: '';
    position: absolute;
    top: -97px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 404px;
    height: 66px;
    background: url(../../images/common/about/a_pic2.png) no-repeat;
    background-size: contain;
}
.a_layout .a_col .a_txt::after {
    content: '';
    position: absolute;
    bottom: -129px;
    right: 30px;
    width: 149px;
    height: 131px;
    background: url(../../images/common/about/a_pic4.png) no-repeat;
    background-size: contain;
}
.a_layout .a_title {
    position: relative;
    box-sizing: border-box;
    margin: 0 0 30px;
    padding: 0 30px 0 0;
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
}
.a_layout .a_title h2 i:first-of-type::after {
    content: '';
    position: absolute;
    top: -4px;
    right: 65px;
    width: 65px;
    height: 51px;
    background: url(../../images/common/about/a_pic5.png) no-repeat;
    background-size: contain;
}
.a_layout .a_title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0;
}
.a_layout .a_title h2 i {
    position: relative;
    box-sizing: border-box;
    color: #fff;
    font-size: 32px;
    font-style: unset;
    font-weight: bold;
    letter-spacing: 1px;
    width: 52px;
    height: 52px;
    line-height: 48px;
    background: url(../../images/common/c_title_bg.jpg);
    border-radius: 100%;
    margin: 0 2px;
    display: flex;
    justify-content: center;
    z-index: 1;
}
.a_layout .a_title h2 i::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border: 1px solid #fff;
    border-radius: 100%;
    z-index: -1;
}
.a_layout .a_title span {
    position: relative;
    box-sizing: border-box;
    color: #E89115;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 0.5px;
    line-height: 1.2;
    padding: 0 0 0 20px;
}
.a_layout h3 {
    position: relative;
    box-sizing: border-box;
    font-size: 22px;
    font-weight: normal;
    color: #5C3819;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0 0 20px;
    padding: 0 0 20px;
}
.a_layout h3::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    mask: url(../../images/common/index/sect1_border.svg) repeat-x;
    background: #D69E6B;
    width: 100%;
    height: 2px;
}
.a_layout p {
    color: #7A6756;
    font-size: 16px;
    letter-spacing: 0;
    line-height: 1.7;
    letter-spacing: 1px;
}
@media screen and (max-width: 1440px) {
    .a_layout .a_col:last-of-type {
        width: 100%;
        max-width: 500px;
        padding: 40px;
    }
    .a_layout .a_title h2::before{
        right: calc(100% - 55px);
    }
    .a_layout h3 {
        font-size: 20px;
    }
}
@media screen and (max-width: 1280px) {
    .a_layout .a_col:last-of-type {
        width: 100%;
        max-width: 450px;
        padding: 30px;
    }
    .a_layout h3 {
        font-size: 18px;
    }
    .a_layout .a_title h2 i {
        font-size: 28px;
        width: 47px;
        height: 47px;
        line-height: 45px;
    }
    .a_layout .a_title span {
        padding: 0 0 0 10px;
    }
    .a_layout p{
        font-size: 15px;
    }
    .a_layout .a_col:first-of-type{
        z-index: 2;
    }
    .a_layout .a_col:last-of-type{
        z-index: 1;
    }
}
@media screen and (max-width: 1200px) {
    .a_layout .a_col{
        float: none;
    }
    .a_layout .a_col:first-of-type {
        text-align: center;
        margin: 0 auto;
    }
    .a_layout .a_col:last-of-type {
        max-width: unset;
        margin: 100px 0 0;
    }
    .a_layout .a_title {
        margin: 0 0 15px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .a_layout h3{
        text-align: center;
    }
}
@media screen and (max-width: 1000px) {
    .a_layout h3 {
        font-size: 18px;
        line-height: 1.5;
    }
    .a_layout .a_title {
        flex-direction: column;
    }
    .a_layout .a_title span {
        padding: 5px 0 0;
    }
}
@media screen and (max-width: 767px) {
    .a_layout .a_title {
        padding: 0;
    }
    .a_layout .a_title h2 i:first-of-type::after{
        display: none;
    }
    .a_layout .a_col:first-of-type::before {
        bottom: -105px;
        left: 20px;
        width: 202px;
        height: 164px;
    }
    .a_layout .a_col .a_txt::before{
        width: 110%;
    }
    .a_layout .a_col .a_txt::after {
        bottom: -100px;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 119px;
        height: 101px;
    }
}
/* -------- terms-title -------- */
.terms-title {
    color: #9E2A2A;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 5px;
}
/* -------- contact-editor -------- */
.contact-editor .row {
    margin: 2%;
}
.contact-editor .col {
    float: left;
    padding: 0 2%;
}
.contact-editor .col1 {
    width: 50%;
}
.contact-editor .col2 {
    width: 50%;
}
.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 {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-weight: 500;
}
.contact-info-list li {
    position: relative;
    padding: 5px 20px 5px 45px;
    margin: 8px 0;
    line-height: 25px;
}
.contact-info-list li:before {
    content: '';
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.contact-info-list li.mail:before {
    background: url(../../images/common/contact/c_ic1.png) no-repeat;
    background-size: contain;
}
.contact-info-list li.tel:before {
    background: url(../../images/common/contact/c_ic2.png) no-repeat;
    background-size: contain;
}
.contact-info-list li.add:before {
    background: url(../../images/common/contact/c_ic3.png) no-repeat;
    background-size: contain;
}
.contact-info-list li a{
    transition: all 0.3s ease;
}
.contact-info-list a:hover {
    color: #9E2A2A;
}
/* -------- 後台範本 -------- */
.is-container-in .icon {
    background: none;
    text-align: center;
}
.is-rounded-button-medium a i {
    text-align: center;
}
[class*="ion-"] {
    text-indent: 0;
}
.column.full .clearfix.is-boxed-button-big {
    display: inline-block;
}
.is-container-in .btn.btn-default.edit {
    padding: 7px 25px;
    line-height: 2em;
}
/* -------- rwd -------- */
@media screen and (max-width: 1000px) {
    .terms-title,
    .editor-title {
        font-size: 14px;
    }
    .contact-info-list {
        font-size: 14px;
    }
    .contact-info-list .tel a {
        font-size: 14px;
    }
    .contact-info-list li {
        padding: 2px 0 2px 40px;
        margin: 0;
        line-height: 20px;
    }
}
@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;
    }
}
