@charset "UTF-8";

/* housebuiltforsale__page  */

/*============================
 hs-feature  
============================*/

.hsf__atc {
    margin-bottom: 50px;
    align-items: center;

    &:last-child {
        margin-bottom: 0;
    }
}

.hsf__txtwarp {
    width: 48%;
}

.hsf__img {
    max-width: 575px;
    width: 48%;
}



@media screen and (max-width:1024px) {
    .hsf__atc {
        margin-bottom: 40px;
    }

    .hsf__txtwarp {
        width: 48%;
    }

    .hsf__img {
        width: 48%;
    }

}

@media screen and (max-width:767px) {
    .hsf__items {
        margin-bottom: 80px;
    }

    .hsf__atc {
        margin: 0 auto 40px;
    }

    .hsf__txtwarp {
        width: 100%;
        margin-bottom: 20px;
    }

    .hsf__img {
        width: 100%;
    }
}

/*============================
    hs-modelhouse
============================*/
.hsm__atc {
    margin-bottom: 50px;
}

.hsm__btn {
    margin: 0 auto;
    width: 630px;
}

.hsm__img {
    margin-bottom: 10px;
}

.hsm__cat {
    width: fit-content;
    color: #fff;
    background: #89B929;
    padding: 0 1em;
    line-height: 30px;
    white-space: nowrap;
    display: block;
    text-align: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: .5em;

    &.color02 {
        background: #de6a6f;
    }

    &.color03 {
        background: #1aaccf;
    }

}

@media screen and (max-width:1024px) {
    .hsm__atc {
        margin-bottom: 40px;
    }

    .hsm__btn {
        width: 400px;
    }

    .hsm__img {
        margin-bottom: 10px;
    }

    .hsm__cat {
        padding: 0 1em;
        line-height: 24px;
        font-size: 1.2rem;
    }
}

@media screen and (max-width:767px) {
    .hsm__atc {
        margin-bottom: 40px;
    }

    .hsm__btn {
        margin: 40px auto 0;
        width: 300px;
    }

    .hsm__img {
        margin-bottom: 10px;
    }

    .hsm__cat {
        padding: 0 1em;
        line-height: 24px;
        font-size: 1.2rem;
    }
}

/* detail-page */
/*============================
    hsd__contents
============================*/
.hsd__thumbnail {
    overflow: visible;
    width: 280px;

}

.hsd__thumb {
    opacity: .5;
}

.hsd__thumbnail .swiper-slide-thumb-active {
    opacity: 1;
}

.h-swiper-button-prev {
    position: absolute;
    margin: 0;
    width: 60px;
    height: 60px;
    z-index: 9;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
}

.h-swiper-button-next {
    position: absolute;
    margin: 0;
    width: 60px;
    height: 60px;
    z-index: 9;
    top: 50%;
    left: 100%;
    transform: translate(-50%, -50%);
}

.h-swiper-button-prev::before {
    content: "";
    position: absolute;
    background: url(../img/housebuiltforsale/hsd_sw_arw_prv.png) no-repeat center center/contain;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.h-swiper-button-next::before {
    content: "";
    font-weight: bold;
    position: absolute;
    background: url(../img/housebuiltforsale/hsd_sw_arw_next.png) no-repeat center center/contain;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.swiper-button-disabled {
    opacity: .5;
}

.hsd__info li {
    width: 48%;
    display: flex;

}

.hsd__info--th {
    padding: .5em 1em;
    min-width: 8em;
    border-top: solid 2px #1169ab;
    white-space: nowrap;
}

.hsd__info--td {
    padding: .5em 1em;
    width: calc(100% - 8em);
    border-top: solid 2px #c2bbb4;
}

.hsd__info li:nth-child(3),
.hsd__info li:nth-child(4) {

    .hsd__info--th {
        border-bottom: solid 2px #1169ab;
    }

    .hsd__info--td {
        border-bottom: solid 2px #c2bbb4;
    }
}

.hsd__h3 {
    position: relative;

    &::before {
        content: "";
        position: absolute;
        width: 1em;
        height: 2px;
        bottom: -.5em;
        left: 0;
        border-bottom: double 4px #4d3939;
    }
}

/* hsd-plan__swiper  */
.hsd-plan__swiper {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
}

.hp-swiper-button-prev {
    position: absolute;
    margin: 0;
    width: 60px;
    height: 60px;
    z-index: 9;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
}

.hp-swiper-button-next {
    position: absolute;
    margin: 0;
    width: 60px;
    height: 60px;
    z-index: 9;
    top: 50%;
    left: auto;
    right: 0;
    transform: translate(0, -50%);
}

.hp-swiper-button-prev::before {
    content: "";
    position: absolute;
    background: url(../img/housebuiltforsale/hsd_sw_arw_prv.png) no-repeat center center/contain;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.hp-swiper-button-next::before {
    content: "";
    font-weight: bold;
    position: absolute;
    background: url(../img/housebuiltforsale/hsd_sw_arw_next.png) no-repeat center center/contain;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.hsd__btn{
    margin: 0 auto;
}

.hsd__contents .hsd__swiper img {
    max-height: 700px;
    object-fit: contain;
}
.hsd__thumb img {
    max-height: 180px;
    object-fit: contain;
}


@media screen and (max-width:1024px) {
    .hsd__thumbnail {
        width: 200px;

    }

    .h-swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .h-swiper-button-next {
        width: 50px;
        height: 50px;
    }

    .hsd__info li {
        width: 48%;
        display: flex;

    }

    .hsd__info--th {
        padding: .5em 1em;
        min-width: 8em;
    }

    .hsd__info--td {
        padding: .5em 1em;
        width: calc(100% - 8em);
    }

    /* hsd-plan__swiper  */
    .hsd-plan__swiper {
        width: 90%;
        margin: 0 auto;
    }

    .hp-swiper-button-prev {
        width: 50px;
        height: 50px;
    }

    .hp-swiper-button-next {
        width: 50px;
        height: 50px;
    }
}

@media screen and (max-width:767px) {
    .hsd__thumbnail {
        width: 160px;

    }

    .h-swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .h-swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .hsd__info li {
        width: 100%;
    }

    .hsd__info li:nth-child(3) .hsd__info--th,
    .hsd__info li:nth-child(3) .hsd__info--td {
        border-bottom: none;
    }

    .hsd__info--th {
        padding: .5em 1em;
        min-width: 7em;
    }

    .hsd__info--td {
        padding: .5em 1em;
        width: calc(100% - 7em);
    }

    /* hsd-plan__swiper  */
    .hsd-plan__swiper {
        width: 90%;
        margin: 0 auto;
    }

    .hp-swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .hp-swiper-button-next {
        width: 40px;
        height: 40px;
    }
    
    .hsd__contents .hsd__swiper img {
        max-height: 225px;
    }
    .hsd__thumb img {
        max-height: 100px;
    }
}