@charset "utf-8";

/* CSS Document */
.information-image {
    height: 400px;
    background-position: right top;
    margin-top: 0px;
    text-align: center;
    position: relative;
    background-image: url(/assets/images/house-banner-bg.png);
}

.house-banner-bg img {
    width: 100%;
}

.house-banner-furniture {
    position: absolute;
    top: 100px;
    left: calc(100% - 600px);
    height: 400px;
}

.house-banner-furniture img {
    height: 100%;
}

.house-banner-window {
    position: absolute;
    top: 20px;
    left: 15%;
    height: 200px;
}

.house-banner-window img {
    height: 100%;
}

.house-banner-pets {
    position: absolute;
    left: 0;
    top: calc(100% - 120px);
    height: 200px;
}

.house-banner-pets img {
    height: 100%;
}

.house-banner-main {
    position: absolute;
    width: 700px;
    top: 50px;
    left: calc(50% - 350px);
}

.house-banner-main img {
    width: 100%;
}

/*banner以下內容*/
.house-wrapper {
    margin: 200px auto 100px;
    width: calc(100vw - 25px);
    overflow-x: hidden;
}

.houe-title {
    text-align: center;
    position: relative;
}

.houe-title::before {
    content: '';
    display: block;
    position: absolute;
    width: 500px;
    height: 50px;
    border-radius: 50px;
    left: calc(50% - 250px);
    top: calc(50% - 10px);
    z-index: -1;
}

.house-title-bg-orange:before {
    background-color: #ffe7d4;
}

.title-text,
.title-icon,
.title-number {
    vertical-align: middle;
}

.title-icon {
    width: 80px;
    display: inline-block;
    margin-right: 20px;
}

.title-icon img {
    width: 100%;
}

.title-text {
    display: inline-block;
    margin-right: 15px;
    width: 220px;
}

.title-text img {
    width: 100%;
}

.title-number {
    height: 80px;
    display: inline-block;
}

.title-number img {
    height: 100%;
}

.house-avoid-content {
    margin: 50px 0;
}

.house-avoid-content {
    width: 70%;
}

.red-text {
    color: #a61c2a;
}

.contnet-title {
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 40px;
}

.content-text {
    font-size: 20px;
    line-height: 35px;
}

.sub-content {
    margin-top: 50px;
}

.sub-content-title {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    background-color: #fcaa58;
    padding: 10px 0 10px 80px;
    width: 350px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.sub-content {
    position: relative;
}

.icon-coin {
    display: block;
    position: absolute;
    width: 50px;
    height: 50px;
    background-image: url(/assets/images/house-title-icon-coin.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    top: -5px;
}

.house-avoid-content {
    position: relative;
}

.situation-picture {
    position: absolute;
    width: 250px;
    left: 115%;
    top: 50px;
}

.situation-picture img {
    width: 100%;
}

.pink-bg {
    padding: 80px 0;
    margin: 80px 0;
    position: relative;
}

.pink-bg::after {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 95%;
    background-color: #fff7eb;
    top: 0;
    left: 0;
    z-index: -2;
}

.house-block-02 .sub-content-title,
.house-block-03 .sub-content-title {
    width: 400px;
}

.house-block-02 .situation-picture {
    width: 400px;
    top: 80%;
    left: 110%;
}

.house-block-03 .situation-picture {
    width: 400px;
    top: 80%;
    left: 105%;
}

.fun-block .house-title-bg-orange:before {
    background-color: #9fd9e3;
}

.fun-block .title-text {
    width: 310px;
}

.fun-block .title-icon {
    width: 70px;
    vertical-align: bottom;
    margin-right: 0;
}

.house-table {
    border: solid #9fd9e3 2px;
    margin: 50px 0;
    border-radius: 20px;
    background-color: #fff;
}

.house-table-title {
    background-color: #9fd9e3;
    padding: 20px 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    border-radius: 19px 19px 0 0;
}

.house-row {
    padding: 10px 20px;
    border-bottom: dashed 2px #bfbfbf;
    width: 90%;
    margin: auto;
}

.house-row:last-child {
    border-bottom: none;
}

.table-item {
    font-size: 20px;
    margin: 20px 0;
    font-weight: 700;
}

.house-row ul {
    padding-left: 20px;
}

.house-row ul li {
    font-size: 20px;
    margin-bottom: 20px;
    vertical-align: middle;
}

.house-row ul li i {
    margin-left: 5px;
    width: 26px;
    height: 26px;
    display: inline-block;
    border: solid 1px #a61c2a;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    font-size: 15px;
}

.house-row ul li:hover i {
    background-color: #a61c2a;
    color: #fff;
    transition: ease 0.2s;
    vertical-align: middle;
}

.house-row-inline-block li {
    display: inline-block;
    margin-right: 50px;
}

.house-row-inline-block li:last-child {
    margin-right: 0;
}

.house-show-more {
    padding-left: 20px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
}

.house-collapse {
    display: none;
}

.house-collapse.house-show {
    display: block;
}

#InjuryIndexModal .modal-content {
    width: 100%;
}

@media (min-width: 991px) {
    #InjuryIndexModal .modal-dialog {
        width: 800px;
        max-width: inherit;
    }
}

#InjuryIndexModal .modal-header {
    background-color: #9fd9e3;
}

#InjuryIndexModal .modal-title {
    color: #fff;
    padding: 10px 0;
    width: 80%;
    margin: auto;
    text-align: center;
}

#InjuryIndexModal .modal-header .close {
    top: 8px;
    right: 10px;
}

#InjuryIndexModal .modal-content {
    border-radius: 0.3rem;
    text-align: left;
    line-height: 35px;
}

.qa-block .title-icon {
    width: 35px;
}

.qa-block .title-text {
    width: 320px;
    margin-right: 0;
}

.qa-block .house-title-bg-orange:before {
    background-color: #e88987;
}

.house-qa {
    margin: 50px 0;
    font-size: 20px;
}

.house-qa p {
    line-height: 30px;
}

.question,
.answer {
    width: 80%;
    padding: 20px 10px;
    position: relative;
}

.question {
    padding-left: 50px;
}

.answer {
    margin: 0 0 0 auto;
    padding-right: 50px;
}

.question::before {
    content: '';
    display: block;
    background-color: #fff;
    width: 100%;
    height: 100%;
    top: 0;
    left: 20px;
    position: absolute;
    z-index: -1;
}

.question:after,
.answer:after {
    content: '';
    display: block;
    border: solid 2px;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    border-radius: 20px;
}

.question:after {
    left: 20px;
    border-color: #9fd9e3;
    z-index: -1;
}

.answer:after {
    right: 20px;
    top: -20px;
    border-color: #e88987;
    height: calc(100% + 20px);
    z-index: -2;
}

.circle-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: #fff;
    font-weight: 700;
    z-index: 2;
}

.blue-circle {
    background-color: #9fd9e3;
    left: 0;
    top: 15px;
}

.pink-circle {
    background-color: #e88987;
    left: calc(100% - 40px);
    top: 15px;
}

.qa-wrapper {
    margin-bottom: 50px;
}

.house-btn-group {
    text-align: center;
}

.house-btn-group a {
    display: inline-block;
    text-align: center;
    margin: 10px;
    width: 150px;
    height: 50px;
    border-radius: 50px;
    line-height: 50px;
    font-size: 18px;
}

.pink-btn {
    background-color: #e88987;
    color: #fff;
}

.light-pink-btn {
    color: #e88987;
    border: solid 1px #e88987;
}

.gotoCalculate {
    position: fixed;
    left: 15px;
    bottom: 25px;
    display: block;
    width: 120px;
    height: 120px;
    background-image: url(/assets/images/house-btn-gototCount.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 5;
    display: none;
}

@media(max-width:992px) {
    .information-image {
       
    }

    .house-banner-furniture {
        position: absolute;
        top: 160px;
        left: calc(100% - 400px);
        height: 300px;
    }

    .house-banner-pets {
        top: 90%;
        height: 150px;
    }

    .house-banner-main {
        width: 600px;
        top: 50px;
        left: calc(50% - 300px);
    }

    #demo4 {
        
    }
}

@media(max-width:767px) {
    .information-image {
        background-size: cover;
    }
}

@media(max-width:680px) {
    .house-banner-main {
        width: 80%;
        left: 10%;
    }

    .house-banner-window {
        left: 67%;
        height: 130px;
    }

    .house-banner-furniture {
        display: none;
    }

    .house-banner-pets {
        height: 120px;
        top: 95%;
    }

    .houe-title::before {
        width: 80%;
        left: 10%;
        height: 30px;
        top: 45%;
    }

    .title-icon {
        width: 50px;
        margin-right: 10px;
    }

    .fun-block .title-icon {
        width: 40px;
    }

    .qa-block .title-icon {
        width: 20px;
    }

    .title-text {
        margin-right: 10px;
        width: 160px;
    }

    .fun-block .title-text,
    .qa-block .title-text {
        width: 200px;
    }

    .house-table-title {
        font-size: 20px;
    }

    .house-row ul li {
        margin-bottom: 10px;
    }

    .title-number {
        height: 50px;
    }

    .house-avoid-content {
        width: 100%;
    }

    .contnet-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .content-text {
        font-size: 17px;
        line-height: 30px;
    }

    .house-wrapper {
        margin-top: 100px;
    }

    .pink-bg {
        margin: 0;
        padding: 50px 0;
    }

    .situation-picture {
        position: inherit;
        width: 150px;
        left: 0;
        top: 0;
        margin: 35px 10px 35px auto;
    }

    .house-block-02 .situation-picture,
    .house-block-03 .situation-picture {
        position: inherit;
        width: 250px;
        left: 0;
        top: 0;
        margin: 35px 10px 0 auto;
    }

    .pink-bg::after {
        height: 80%;
    }

    .pink-third:after {
        height: 97%;
    }

    .house-row ul li {
        line-height: 30px;
        width: 90%;
        position: relative;
        font-size: 17px;
    }

    .house-row ul li i.fa-info {
        position: absolute;
        left: 100%;
        top: 5px;
    }

    .house-qa {
        font-size: 17px;
    }
}



@media(max-width:550px) {

    .sub-content-title,
    .house-block-02 .sub-content-title,
    .house-block-03 .sub-content-title {
        width: 100%;
        padding-left: 45px;
        font-size: 18px;
    }

    .house-banner-pets {
        top: 78%;
    }

    .house-banner-main {
        width: 90%;
        left: 5%;
        top: 80px;
    }

    .house-banner-window {
        left: 61%;
    }

    .icon-coin {
        width: 38px;
        height: 38px;
        top: 0;
    }

    .gotoCalculate {
        width: 80px;
        height: 80px;
        left: 5px;
    }

    #InjuryIndexModal {
        padding-right: 0 !important;
    }

    #InjuryIndexModal .modal-title {
        width: 80%;
        font-size: 17px;
        text-align: left;
        margin: 0 15px;
    }

    #InjuryIndexModal .modal-body {
        padding: 15px;
    }

    .house-wrapper {
        width: 100vw;
    }
}