/* ----------------  文字  ----------------*/

.projects-wrap h1 {
    display: block;
    text-align: center;
    font-size: 28px;
    line-height: 1.5em;
    background-color: rgba(100%, 100%, 100%, 0.3);
    padding: 15px;
    margin-bottom: 30px;
}

.projects-wrap h2 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3em;
    margin: 15px 0;
}

.projects-wrap .projects-left-content h2 {
    display: inline-block;
    position: relative;
    font-size: 22px;
    padding: 10px 15px;
    margin: 15px 0;
    background-color: #524a47;
}

.projects-wrap .projects-left-content h2:after {
    content: " ";
    display: block;
    position: absolute;
    right: -15px;
    top: 0px;
    height: 48px;
    width: 15px;
    background: url(/images/project/column/h1-arrow.png) 50% 50%;
}

.projects-wrap h5 {
    font-size: 15px;
    line-height: 1.3em;
}

/* mod*/
.projects-wrap h3 {
    display: block;
    position: relative;
    font-size: 18px;
    line-height: 1.3em;
    padding: 5px 0 5px 0px;
}
/* mod*/
.projects-wrap h3.point {
    padding-left: 20px;
}
/* mod*/
.projects-wrap h3.addpoint:before {
    content: " ";
    display: block;
    position: absolute;
    left: -10px;
    width: 10px;
    height: 10px;
    margin: 4px 10px;
    background-color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}


/*.projects-wrap h3:before {
    content: " ";
    display: block;
    position: absolute;
    left: -10px;
    width: 10px;
    height: 10px;
    margin: 4px 10px;
    background-color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}*/

.projects-wrap h4 {
    display: block;
    position: relative;
    font-size: 15px;
    line-height: 20px;
    padding: 5px 0 5px 30px;
}

.projects-wrap h4:before {
    content: "tip";
    color: #524a47;
    font-size: 10px;
    display: block;
    position: absolute;
    left: -10px;
    width: 20px;
    height: 20px;
    margin: 0 10px;
    padding-left: 2px;
    background: url(/images/project/column/tip.png) no-repeat;
}

/*.projects-wrap p {
    display: block;
    position: relative;
    font-size: 18px;
    line-height: 1.3em;
    padding: 5px 0;
}*/

.projects {
    display: block;
    position: relative;
    width: 100%;
    height: 670px;/*mod*/ 
    overflow-y: hidden;/*mod*/ 
    margin: auto 0;
    padding: 0;
    margin-bottom: -16px;
}

.projects-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 700px;
    margin: auto;
    color: #fff;
    background-image: url(/images/project/column/bg.jpg);
}


/* ----------------  區塊-左  ----------------*/

.projects-left {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 65%;
    height: 100%;
    padding: 2%;
    box-sizing: border-box;
    background-color: #478999;
}

.animated {
    animation-duration:0.6s;
}

.projects-left-content {
    display: block;
    padding: 20px 0;
}

.projects-wrap:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.projects-btn {
    display: inline-block;
    padding: 8px 20px;
    margin: 20px 0;
    font-size: 16px;
    font-weight: 800;
    border: 1px solid #524a47;
    color: #524a47;
    background-color: #fff;
}

.projects-btn:hover {
    color: #fff;
    background-color: #524a47;
}


/* ---------------  4 種版型  ---------------*/

.pattern {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow-y: auto
}

.pattern img {
    width: 100%;
    border: 10px solid rgba(100%, 100%, 100%, 0.3);
    box-sizing: border-box;
}


/* --- p-1 圖文 --*/

.p-1 {
    padding: 2% 20%;
    box-sizing: border-box;
}

/* 0515 增加 */

.p-1 .pic li:nth-child(2) {
    display: none;
}


/* 0515 增加 */

.p-1 .pic span {
    /*display: none;*/
    display: block;
    background-color: rgba(100%, 100%, 100%, 0.3);
    padding: 10px;
    margin-top: -1px;
}


/* --- p-2 僅文字 --*/

.p-2 {
    padding: 15% 20%;
    box-sizing: border-box;
}

/* 0515 增加 */

.p-2 .pic {
    display: none;
}


/* --- p-3 兩圖上下排+文字 --*/

.p-3 {
    padding: 5% 3%;
    box-sizing: border-box;
}

.p-3 ul {
    display: block;
    position: relative;
    width: 40%;
    float: left;
    padding-top: 35px;
}

.p-3 .projects-left-content {
    width: 55%;
    float: right;
}

.p-3 li:nth-child(1) {
    margin-bottom: 20px;
}

.p-3 span {
    display: block;
    background-color: rgba(100%, 100%, 100%, 0.3);
    padding: 10px;
    margin-top: -1px;
}


/* --- p-4 兩圖左右並排+文字 --*/

.p-4 {
    padding: 5% 3%;
    box-sizing: border-box;
}

.p-4 li {
    display: inline-block;
    width: 48%;
}

.p-4 li:nth-child(1) {
    margin-right: 3.5%;
}

/* 0515 增加 */

.p-4 .pic span {
    /*display: none;*/
    display: block;
    background-color: rgba(100%, 100%, 100%, 0.3);
    padding: 10px;
    margin-top: -1px;
}

.p-4 .projects-left-content {
    width: 65%;
    margin: auto;
}


/* ----------------  區塊-右  ----------------*/

.projects-right {
    display: block;
    float: right;
    width: 35%;
    min-height: 600px;
    height: 670px; /* mod */
    overflow-y: hidden; /* mod */
    color: #514a46;
}

.divsocial_media {
    display: block;
    position: fixed;
    margin: 0;
    width: auto;
    height: auto;
    left: 20px;
    top: 70px;
    z-index: 999;
}

.fb_base {
    display: inline-block;
    padding-bottom: 5px;
}

.line-it-button {
    display: block;
    padding-bottom: 5px;
}
/*.social_media {
    display: block;
    margin: auto 0;
    height: 40px;
    padding: 20px;
}*/

.media_group li {
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.projects-menu {
    display: block;
    height: 100%;
    margin: 0px 0 0 40px;
    border-left: 1px solid #bababa;
}

.projects-menu li {
    display: block;
    position: relative;
    list-style: none;
    padding: 15px 0 15px 30px;
}

.projects-menu li:hover {
    background-color: #cfc7c4;
}

.projects-menu li:before {
    display: block;
    position: absolute;
    content: '';
    top: 50%;
    left: -4px;
    width: 7px;
    height: 7px;
    background-color: #524a47;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

a.aLogo{ position: fixed;left: 20px;top: 20px;z-index: 999; }
a.aLogo img{ border: 0}

/* ---------------- RWD ----------------*/

@media screen and (max-width: 768px) {
    .projects {
        height: 100%; /*mod*/
    }
    /*  文字  */
    .projects-wrap h1 {
        position: relative;
        font-size: 22px;
    }
    .projects-wrap h1:after {
        height: 42px;
    }
    .projects-wrap h2 {
        font-size: 18px;
        margin: 10px 0;
    }
    .projects-wrap h5 {
        font-size: 13px;
    }
    /*   區塊-右  */
    .social_media {
        padding: 10px;
    }
    .projects-menu {
        margin: 20px;
    }
    .projects-menu li {
        padding: 10px 0 15px 20px;
    }
}

@media screen and (max-width: 480px) {
a.aLogo{ left: 6px;top: 6px; }
a.aLogo img{ width: 70px; }
    .projects {
        height: 100%; /*mod*/
    }
    /*   區塊-右  */
    .projects-right {
        display: none;
    }
    /*   區塊-左  */
    .projects-left {
        /*position: relative;*/
        position: static;
        display: block!important;
        width: 100%;
    }
    .projects-left {
        min-height: 100px;
        padding: 6% 2% 0% 2%;
    }
    .deco {
        display: none;
    }
    /*   4 種版型  */
    .p-1,
    .p-2,
    .p-3,
    .p-4 {
        padding: 7% 3%;
    }
    .p-2 h1 {
        margin-bottom: 0px;
    }
    .p-3 ul {
        width: 60%;
        float: none;
        margin: auto;
        padding-top: 0px;
    }
    .p-3 .projects-left-content {
        width: 100%;
        float: none;
    }
    .p-4 li {
        display: block;
        width: 60%;
        margin: auto;
    }
    .p-4 .projects-left-content {
        width: 100%;
        margin: auto;
    }
    .p-4 li:nth-child(1) {
        margin-right: 0;
        margin: auto;
        margin-bottom: 3%;
    }
}

@media screen and (max-width: 320px) {
    .projects {
        height: 100%; /*mod*/
    }
}