﻿header div {
    height: 60px;
    -webkit-box-shadow: 0px 0px 8px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 8px rgba(0,0,0,0.50);
}

header {
    display: block;
    width: 100%;
    height: 60px;
    background-color: #3aa796;
    line-height: 60px;
}

.Designer_logo a {
    background-image: url(/images/logo/2017/112X45.png);
    width: 80px;
    height: 42px;
    position: absolute;
    left: 5px;
    top: 10px;
}

/*view主視覺*/
.project_visual {
    display: block;
    width: 100%;
    background-color: #d6d7db;
}

    .project_visual div {
        max-width: 1200px;
        height: 390px;
        line-height: 1.6em;
        background-image: url(/images/project/2019/savemoney/bg.jpg);
        background-repeat: no-repeat;
        background-position: 200px top;
        margin: 0 auto;
    }

    .project_visual img {
        display: inline-block;
        position: relative;
        left: 50%;
        margin-left: -45%;
        margin-top: 20px;
    }

.project_inner {
    display: block;
    width: 100%;
    background-color: #f18d4e;
    font-weight: 500;
    color: #333;
}

    .project_inner h3, .project_inner h4, .project_inner h5 {
        font-weight: bold;
    }

.chapter_nav {
    display: table;
    text-align: center;
    background-color: #404040;
    transform: skewX(-30deg);
    margin: 0 auto;
    max-width: 700px;
}

    /*選單樣式*/
    .chapter_nav ul {
        display: inline-block;
        padding: 10px 40px;
    }

        .chapter_nav ul li {
            display: inline-block;
        }

            .chapter_nav ul li a {
                display: block;
                padding: 0px 15px;
                transform: skewX(30deg);
                color: #fff;
                font-size: 18px;
                ;
                border-left: 1px solid #525252;
            }

            .chapter_nav ul li:first-child a {
                border: none;
            }

            .chapter_nav ul li span {
                display: block;
                font-size: 14px;
                text-align: left;
            }

            .chapter_nav ul li a:hover {
                color: #f18d4e;
            }

section {
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 60px;
}

    section h2 {
        display: block;
        width: 220px;
        height: 60px;
        text-align: center;
        font-size: 2.25em;
        margin: 0 auto;
        border: 1px solid #fdb080;
        position: relative;
        padding-top: 5px;
        color: #f18d4e;
    }

        section h2 i {
            font-size: 14px;
            display: block;
            width: 100px;
            margin: 0 auto;
            position: absolute;
            top: -12px;
            left: 50%;
            margin-left: -50px;
            background-color: #f5f5f5;
        }

/*表格樣式*/
table {
    display: block;
    background-color: #fff;
    width: 60%;
    margin: 0 auto;
    border: 6px solid #333;
    margin-top: 20px;
}

    table th {
        border: 1px solid #333;
        padding: 5px 10px;
        vertical-align: middle;
    }

    table tr:first-child {
        background-color: #f4e9e3;
        font-size: 1.25em;
        font-weight: bold;
    }

    table tr:nth-child(2) {
        font-size: 1.25em;
    }

    table th[scope="row"] {
        background-color: #f4e9e3;
        width: 6%;
        line-height: 1.2em;
        font-size: 1.25em;
    }

    table span {
        display: inline-block;
        margin-left: 5px;
        color: #e84924;
    }

.chapter03 table th[scope="row"] {
    width: 26%;
    font-weight: bold;
}

.chapter03 table tr:nth-child(2) {
    font-size: 1em;
}

.chapter03 table th:nth-child(2) {
    width: 32%;
}

/*ch01*/
.chapter01 h2, .chapter04 h2 {
    color: #fff;
}

    .chapter01 h2 i, .chapter04 h2 i {
        background-color: #f18d4e;
    }

.chapter01 p {
    color: #fff;
    text-align: center;
    margin-top: 20px;
    padding: 0 15px;
    box-sizing: border-box;
    font-size: 1.25em;
}

.grey_bg {
    max-width: 1200px;
    background-color: #f5f5f5;
    padding: 20px;
    box-sizing: border-box;
    margin-top: 50px;
    margin: 0 auto;
    margin-top: 50px;
    padding-bottom: 50px;
}

/*ch02*/
.chapter02_inner {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

.slide_project {
    width: 100%;
    padding: 15px 20px;
    box-sizing: border-box;
    background-color: #7ac0e2;
}

.slide_img a {
    display: block;
    width: 100%;
    height: 0px;
    padding-bottom: 66.5%;
    overflow: hidden;
}

.slide_img img {
    width: 100%;
}

.item a {
    display: inline-block;
    width: 25px;
    color: #fff;
    border-bottom: 1px solid #fff;
    margin-right: 12px;
    font-size: 12px;
}

    .item a:hover {
        color: #333;
        border-color: #333;
    }

.slide_project_info {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

    .slide_project_info h4 {
        color: #3aa1d3;
        font-size: 1.25em;
        padding: 10px;
    }

    .slide_project_info strong {
        display: block;
        background-color: #7ac0e2;
        padding: 5px;
        text-align: center;
        color: #fff;
        font-size: 1.2em;
        margin: 10px 0;
    }

    .slide_project_info span {
        display: block;
        padding: 0 10px;
    }

    .slide_project_info ul {
        padding: 0 10px;
    }

        .slide_project_info ul li {
            list-style-type: decimal;
            list-style-position: outside;
            margin-left: 20px;
        }

.kinds_of_groups {
    width: 30%;
    margin-top: 30px;
}

    .kinds_of_groups h3 {
        display: block;
        width: 340px;
        height: 90px;
        background-image: url(/images/project/2019/savemoney/house01.jpg);
        font-size: 2.25em;
        color: #fff;
        line-height: 90px;
        text-align: center;
        padding-top: 30px;
        box-sizing: border-box;
    }

.kinds_of_groups_green h3 {
    background-image: url(/images/project/2019/savemoney/house02.jpg);
}

.kinds_of_groups_green .slide_project, .kinds_of_groups_green strong {
    background-color: #97b079;
}

.kinds_of_groups_green h4 {
    color: #97b079;
}

.kinds_of_groups_purple h3 {
    background-image: url(/images/project/2019/savemoney/house03.jpg);
    font-size: 2em;
}

.kinds_of_groups_purple .slide_project, .kinds_of_groups_purple strong {
    background-color: #7777b4;
}

.kinds_of_groups_purple h4 {
    color: #7777b4;
}
/*ch03*/
.chapter03 {
    position: relative;
}

    .chapter03 h3 {
        display: block;
        text-align: center;
        width: 350px;
        margin: 0 auto;
        font-size: 2.25em;
        position: relative;
        margin-top: 20px;
    }

        .chapter03 h3:before, .chapter03 h3:after {
            display: block;
            content: "";
            width: 30%;
            height: 1px;
            background-color: #333;
            position: absolute;
            top: 30px;
            left: 0;
        }

        .chapter03 h3:after {
            left: 245px;
        }

    .chapter03 h4 {
        display: block;
        text-align: center;
        margin: 0 auto;
        color: #f18d4e;
        font-size: 1.25em;
        position: relative;
        margin-top: 20px;
    }

        .chapter03 h4 strong {
            display: inline-block;
            padding: 0 8px;
            background-color: #f18d4e;
            color: #fff;
            font-size: 18px;
            position: relative;
            margin-right: 15px;
        }

            .chapter03 h4 strong:before, .chapter03 h4 strong:after {
                display: inline-block;
                content: "";
                width: 0px;
                height: 0px;
                border-style: solid;
                border-width: 8px;
                border-color: transparent #f18d4e transparent transparent;
                position: absolute;
                left: -16px;
                top: 6px;
            }

            .chapter03 h4 strong:after {
                left: 70px;
                border-color: transparent transparent transparent #f18d4e;
            }

.view_more_link {
    display: block;
    width: 80%;
    text-align: right;
    font-size: 1.25em;
    color: #f18d4e;
}

    .view_more_link:hover {
        color: #333;
    }

.example {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

    .example h5 {
        display: block;
        text-align: center;
    }

    .example a {
        color: #333;
    }

    .example .example_row {
        width: 26%;
        margin-top: 30px;
    }

        .example .example_row h5 {
            font-size: 1.25em;
            　text-align-last: center;
            padding-right: 30px;
        }

.example_img a {
    display: block;
    max-width: 300px;
    height: 0px;
    padding-bottom: 66.5%;
    position: relative;
    margin-top: 15px;
    margin-bottom: 10px;
    box-shadow: 0px 0px 7px rgba(0,0,0,.2);
}

    .example_img a:before {
        display: block;
        content: "";
        width: 100%;
        height: 0px;
        padding-bottom: 66%;
        border: 1px solid #333;
        position: absolute;
        top: -10px;
        left: 10px;
    }

    .example_img a img {
        width: 100%;
    }

    .example_img a:hover {
        box-shadow: 0px 0px 7px rgba(0,0,0,.6);
    }

.example .example_row p {
    color: #333;
}

    .example .example_row p a:hover {
        color: #f18d4e;
    }

.pin {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f18d4e;
    line-height: 40px;
    color: #fff;
    font-size: 14px;
    text-align: center;
    border: 3px solid #333;
    position: absolute;
    bottom: 20px;
    right: 10px;
}

    .pin:after {
        display: inline-block;
        content: "";
        width: 0px;
        height: 0px;
        border-style: solid;
        border-width: 7px;
        border-color: #333 transparent transparent transparent;
        position: absolute;
        bottom: -16px;
        left: 13px;
    }

.tips h4 {
    width: 300px;
}

.rent_tips {
    flex-wrap: wrap;
}

    .rent_tips .example_row {
        width: 40%;
    }

    .rent_tips .example_img a {
        max-width: 450px;
        padding-bottom: 64.5%;
    }

    .rent_tips h4 {
        text-align: left;
    }

/*ch04*/
.video_nav {
    display: table;
    margin: 0 auto;
}

    .video_nav ul li {
        display: inline-block;
    }

    .video_nav a {
        display: block;
        color: #fff;
        text-align: center;
        padding: 0px 20px;
        font-size: 1.25em;
        margin-top: 30px;
        border-left: 1px solid #fff;
    }

    .video_nav ul li:first-child a {
        border-left: none;
    }

    .video_nav a:hover {
        background-color: #333;
        border-color: #333;
    }

.video_column {
    padding-bottom: 30px;
}

.video_column_box {
    display: flex;
    max-width: 1000px;
    margin-top: 40px;
    margin: 0 auto;
    margin-top: 30px;
}

.video_link {
    display: block;
    width: 560px;
    height: 315px;
}

iframe {
    width: 560px;
    height: 315px;
}

.about_video {
    display: block;
    width: 50%;
    height: 315px;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
}

    .about_video h3 {
        font-size: 1.25em;
        font-weight: bold;
        padding-top: 10px;
        border-top: 1px solid #f18d4e;
    }

    .about_video i {
        display: block;
        font-size: 1.25em;
        margin-top: 20px;
        font-weight: bold;
    }

    .about_video ul li {
        list-style-type: decimal;
        margin-left: 20px;
    }

    .about_video a {
        display: block;
        text-align: right;
        color: #f18d4e;
        position: absolute;
        bottom: 20px;
        right: 20px;
        border-bottom: 1px solid #f18d4e;
    }

/*ch05*/
.deepblue_bg {
    display: block;
    background-color: #253241;
    padding: 30px
}

.chapter05 h2 i {
    background-color: #253241;
}

.chapter05 h2 + p {
    color: #f18d4e;
    text-align: center;
    font-size: 1.25em;
    padding: 0 15px;
    margin-top: 20px;
}

.prize {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 40px 0;
    justify-content: space-around;
    text-align: center;
}

    .prize div {
        display: block;
        max-width: 240px;
        text-align: center;
        margin: 10px
    }

        .prize div img {
            width: 100%;
        }

        .prize div h3 {
            color: #fff;
            padding: 0;
            font-size: 1.25em;
            margin: 10px 0;
        }

        .prize div p {
            color: #999;
        }

.fb_message {
    color: #fff;
    padding: 30px;
}


.chapter05 span {
    display: block;
    color: #666;
    text-align: center;
    font-size: 14px;
}
/*view主視覺 end*/

/*分享元件*/
.fb_share {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 20px;
}

/*FB留言區*/
#fbcomment .fb_iframe_widget, #fbcomment .fb_iframe_widget span, #fbcomment .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

.fb-share-button, .fb-like {
    z-index: 1;
}



@media (min-width:1024px) and (max-width:1024px) {
   
    .kinds_of_groups {
        width: 30%;
        margin-top: 30px;
    }

        .kinds_of_groups h3 {
            width: 300px;
            height: 75px;
            font-size: 2em;
            line-height: 75px;
            background-repeat: no-repeat;
            background-size: contain;
        }
}


@media (min-width:640px) and (max-width:1000px) {
  
    .project_visual div {
        background-position: 100px top;
    }

    .chapter_nav ul {
        padding: 10px;
    }

        .chapter_nav ul li a {
            padding: 0px 10px;
        }

    table {
        width: 70%;
    }

    .chapter02_inner {
        flex-direction: column;
        justify-content: center;
    }

    .kinds_of_groups {
        width: 70%;
        margin: 0 auto;
        margin-top: 30px;
    }

    .example {
        flex-direction: column;
        justify-content: center;
    }

        .example .example_row {
            width: 300px;
            margin: 0 auto;
            margin-top: 30px;
        }

    .rent_tips {
        flex-direction: row;
    }

        .rent_tips .example_row {
            width: 45%;
        }

    .video_column_box {
        display: block;
        width: 560px;
    }

    .about_video {
        width: 560px;
    }
}


@media (min-width:480px) and (max-width:639px) {

    .project_visual div {
        background-position: -40px top;
    }

    .chapter_nav {
        transform: skewX(0deg);
        width: 100%;
    }

        .chapter_nav ul {
            padding: 10px;
        }

            .chapter_nav ul li a {
                padding: 0px 20px;
                transform: skewX(0deg);
                margin-bottom: 10px;
            }

            .chapter_nav ul li span {
                display: none;
            }

    table {
        width: 90%;
    }

    .chapter02_inner {
        flex-direction: column;
        justify-content: center;
    }

    .kinds_of_groups {
        width: 80%;
        margin: 0 auto;
        margin-top: 30px;
    }

    .example {
        flex-direction: column;
        justify-content: center;
    }

        .example .example_row {
            width: 300px;
            margin: 0 auto;
            margin-top: 30px;
        }

    .video_column_box {
        display: block;
        width: 450px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .video_link {
        width: 450px;
        height: 253px;
    }

    iframe {
        width: 450px;
        height: 253px;
    }

    .about_video {
        width: 450px;
        height: 253px;
    }
}


@media (min-width:320px) and (max-width:479px) {
    
    .project_visual div {
        background-position: -40px top;
    }

    .chapter_nav {
        transform: skewX(0deg);
        width: 100%;
    }

        .chapter_nav ul li a {
            padding: 0px 10px;
            transform: skewX(0deg);
            margin-bottom: 10px;
            font-size: 15px;
        }

        .chapter_nav ul li span {
            display: none;
        }

    table {
        width: 90%;
    }

    .chapter02_inner {
        flex-direction: column;
        justify-content: center;
    }

    .kinds_of_groups {
        width: 80%;
        margin: 0 auto;
        margin-top: 30px;
    }

        .kinds_of_groups h3 {
            width: 300px;
            height: 75px;
            font-size: 2em;
            line-height: 75px;
            background-repeat: no-repeat;
            background-size: contain;
        }

    .example {
        flex-direction: column;
        justify-content: center;
    }

        .example .example_row {
            width: 300px;
            margin: 0 auto;
            margin-top: 30px;
        }

    .video_column_box {
        display: block;
        width: 380px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .video_link {
        width: 380px;
        height: 214px;
    }

    iframe {
        width: 380px;
        height: 214px;
    }

    .about_video {
        width: 380px;
        height: 300px;
    }
}

@media (min-width:375px) and (max-width:375px) {
    .project_visual div {
        background-position: 150px top;
    }

    .kinds_of_groups h3 {
        width: 270px;
        height: 70px;
        line-height: 65px;
        font-size: 1.8em;
    }

    .video_column_box {
        display: block;
        width: 350px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .video_link {
        width: 350px;
        height: 197px;
    }

    iframe {
        width: 350px;
        height: 197px;
    }

    .about_video {
        width: 350px;
        height: 300px;
    }
}

@media (min-width:360px) and (max-width:360px) {
   
    .kinds_of_groups {
        width: 90%;
        margin: 0 auto;
        margin-top: 30px;
    }

    .example .example_row {
        width: 280px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .chapter03 h3 {
        width: 300px;
    }

        .chapter03 h3:before, .chapter03 h3:after {
            display: none;
        }

    .video_column_box {
        display: block;
        width: 300px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .video_link {
        width: 300px;
        height: 169px;
    }

    iframe {
        width: 300px;
        height: 169px;
    }

    .about_video {
        width: 300px;
        height: 300px;
    }
}

@media (min-width:320px) and (max-width:320px) {
   
    .project_visual div {
        background-position: 150px top;
    }

    .project_visual img {
        width: 90%;
    }

    .chapter_nav ul li a {
        padding: 0px 10px;
        transform: skewX(0deg);
        margin-bottom: 10px;
        font-size: 20px;
        border-left: 0;
        border-bottom: 1px solid #525252;
    }

    .chapter_nav ul li:first-child a {
        border-bottom: 1px solid #525252;
    }

    .kinds_of_groups {
        width: 95%;
        margin: 0 auto;
        margin-top: 30px;
    }

        .kinds_of_groups h3 {
            width: 270px;
            height: 70px;
            line-height: 65px;
            font-size: 1.8em;
        }

    .chapter03 h3 {
        width: 300px;
    }

        .chapter03 h3:before, .chapter03 h3:after {
            display: none;
        }

    .example .example_row {
        width: 280px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .video_column_box {
        display: block;
        width: 300px;
        margin: 0 auto;
        margin-top: 30px;
    }

    .video_link {
        width: 300px;
        height: 169px;
    }

    iframe {
        width: 300px;
        height: 169px;
    }

    .about_video {
        width: 300px;
        height: 300px;
    }
}
