/*********** 前後台編輯器區塊共用的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-row p {
    text-align: center;
    color: #5B4A40;
    font-size: 14px;
}

.editor .about-title {
    color: #EB4C53;
    font-size: 34px;
    letter-spacing: 1px;
    font-family: 'Exo', serif;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 2em;
}

.editor .about-hr {
    width: 100%;
    margin-top: 18px;
}

.about-row .col {
    width: 33.33%;
    float: left;
    padding: 0 15px 30px;
}

.about-row .pic {
    padding-bottom: 20px;
    border-bottom: 4px double #EAE6DD;
}


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

.product-col {
    width: 50%;
    float: left;
    margin: 20px 0 40px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.product-col img {
    float: none;
    margin: auto;
    display: block;
}

.editor .prodcut-p1 {
    font-family: 'Arial';
    font-size: 14px;
    color: #594A3F;
    margin: 0px;
}

.detail-pic01 {
    margin: auto auto 40px;
    position: relative;
    display: block;
    padding: 0;
    max-width: 900px;
}

.editor .prodcut-p2 {
    font-family: 'Exo';
    font-size: 22px;
    color: #EB4C52;
    text-align: center;
    margin: 0px;
    margin-bottom: 8px;
}

.editor .prodcut-p3 {
    font-family: 'Arial';
    font-size: 14px;
    color: #594A3F;
    text-align: center;
    margin: 0px;
    margin-bottom: 58px;
}

.editor .prodcut-p4 {
    font-family: 'Arial';
    font-size: 14px;
    color: #594A3F;
    text-align: center;
    margin: 30px 0px;
    margin-bottom: 0px;
}


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

.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;
}

.notice_txt {
    color: #594A3F;
    font-size: 13px;
}

.notice_txt img {
    margin: auto;
    display: block;
}

.notice-editor-title {
    color: #D4C5B0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin: 0 0 0.4em;
}

.terms-title {
    color: #EB4C53;
    font-size: 15px;
    margin: 0 0 0.5em;
}

.terms_txt {
    color: #5A4A3F;
    font-size: 14px;
}

.footer-info-page {
    padding: 0 0 15px;
    text-align: center;
}

.footer-info-page * {
    vertical-align: middle;
    display: inline-block;
}

.footer-info-page img {
    margin: 5px;
}

@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: 1100px) {
    .editor .prodcut-p1 {
        padding-left: 5px;
    }
}

@media screen and (max-width: 900px) {
    .about-row .col {
        float: none;
        width: auto;
    }
}

@media screen and (max-width: 767px) {
    .product-col {
        width: 100%;
        float: none;
    }
    .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;
    }
}
