@charset "utf-8";

.page_mv {
    background: url(../img/common/sand.jpg);
}

.sec1 {
    background: url(../img/common/sand.jpg);
    background-size: cover;
    background-position: center;
}

.sec2 {
    position: relative;
}

.sec3,
.sec4 {
    background: url(../img/common/sand.jpg);
    background-size: cover;
}

.sec3 .inner_wrap {
    position: relative;
}

.inner_wrap.page {
    width: 73.529vw;
    position: relative;
}

.renov_page_wrap {
    padding: 1.471vw 1.471vw 0;
    background: #fff;
    border: solid 1px #B7B7B7;
    border-radius: 1.691vw;
}

.case_img_wrap {
    height: 11.691vw;
    border-radius: 1.029vw;
    overflow: hidden;
}

img.ob_fit {
    object-fit: cover;
    height: 100%;
}

.rf_type {
    display: inline-block;
    padding: 0.147vw 0.368vw;
    margin: 0.882vw 0 1.103vw;
    background: #CC9D15;
    color: #fff;
    border-radius: 0.294vw;
}

.case_info.i_2 {
    padding: 0.368vw 0 0.368vw;
}

h3.case__info_p {
    font-weight: 400;
    min-height: 4.044vw;
}

.tag_wrap {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.368vw;
}

table.case_tbl tr {
    display: flex;
    justify-content: space-between;
}

table.case_tbl th {
    font-weight: normal;
    vertical-align: top;
    text-align: left;
    padding-top: 1.103vw;
}

table.case_tbl td {
    display: flex;
    align-items: baseline;
}

span.ask {
    font-size: 3.676vw;
    font-weight: 300;
    color: #333;
}

span.yen {
    font-size: 1.029vw;
}

.renov_slide {
    width: 56.471vw;
    margin: auto;
}

.renovation_case_btn {
    position: relative;
    width: 56.471vw;
    height: 2.5vw;
    margin: auto;
}

.swiper-button-next.slider_5 {
    top: 23.897vw;
    right: -2.647vw;
    left: auto;
    width: 2.353vw;
    height: 2.353vw;
    background: url(../img/before_after/next.svg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.swiper-button-prev.slider_5 {
    top: 23.897vw;
    left: -2.647vw;
    right: auto;
    width: 2.353vw;
    height: 2.353vw;
    background: url(../img/before_after/prev.svg);
    background-repeat: no-repeat;
    background-size: 100%;
}

.sec1 .p_box {
    margin-bottom: 1.471vw;
}

.p_box p {
    line-height: 2.35;
}

.right_bg {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 41.176vw;
}

.right_bg_2 {
    position: absolute;
    top: 0;
    right: 2.206vw;
}

.bus_detail {
    margin-top: 3.676vw;
}

.det_txt {
    position: absolute;
    top: 10.147vw;
    right: 0;
    width: 42.206vw;
    height: 14.706vw;
    padding: 2.941vw 0 2.941vw 3.529vw;
    background: #fff;
    border-radius: 0.956vw 0 0 0.956vw;
}

.det_img.right {
    margin-left: auto;
    margin-right: 0;
}

.det_txt.left {
    right: auto;
    left: 0;
    border-radius: 0 0.956vw 0.956vw 0;
    padding: 2.941vw 2.941vw 3.529vw 0;
}

.p_box.full {
    width: 100%;
}

.right_bg_3 {
    position: absolute;
    right: 0;
}

.resale_detail {
    display: flex;
    justify-content: center;
}

.point {
    width: 45%;
    padding: 30px 2.5%;
    background: url(../img/renovation/resale_1.png) center;
    background-size: cover;
}

.and {
    width: 3%;
    padding: 1%;
    display: flex;
    align-items: center;
}

.point_2 {
    width: 45%;
    padding: 2.5%;
    background: url(../img/renovation/resale_2.png) center;
    background-size: cover;
}

.point h3,
.point_2 h3 {
    text-align: center;
    margin-bottom: 1.471vw;
}

.point p,
.point_2 p {
    line-height: 2.35;
}

.flow_wrap {
    margin-top: 3.676vw;
    display: flex;
}

.tag_th {
    background: #b7b7b7;
    color: #fff;
    padding: 0.147vw 0.368vw;
    border-radius: 0.294vw;
    min-width: 4.706vw;
    text-align: center;
}

.flow_inner {
    display: flex;
}

@media (max-width: 767px) {

    .inner_wrap.page {
        width: 90%;
        position: relative;
    }

    .renov_slide {
        width: 90%;
    }

    .renov_page_wrap {
        padding: 5.128205128205128vw 5.128205128205128vw 0;
        background: #fff;
        border: solid 1px #B7B7B7;
        border-radius: 3.5897435897435894vw;
    }

    .rf_type {
        display: inline-block;
        padding: 0.147vw 1.368vw;
        margin: 3.205128205128205vw 0 2.103vw;
        background: #CC9D15;
        color: #fff;
        border-radius: 0.294vw;
        font-size: 3.5897435897435894vw;
    }

    .case_img_wrap {
        height: 40.76923076923077vw;
        border-radius: 3.5897435897435894vw;
        overflow: hidden;
    }

    h3.case__info_p {
        font-size: 4.103vw;
        min-height: 13.333333333333334vw;
    }

    .right_bg_2 {
        display: none;
    }

    table.case_tbl th {
        font-size: 4.103vw;
    }

    .tag_th {
        display: inline-block;
        padding: 0.147vw 1.368vw;
        margin: 0.205128vw 0 1.103vw;
        background: #b7b7b7;
        color: #fff;
        border-radius: 0.294vw;
        font-size: 3.5897435897435894vw;
        min-width: 14.706vw;
    }

    span.ask {
        font-size: 13.076923076923078vw;
    }

    span.yen {
        font-size: 4.102564102564102vw;
    }

    .det_txt {
        top: 40vw;
        width: 87%;
        height: auto;
        padding: 7.692vw 0 7.692vw 4.41vw;
        background: #fff;
        border-radius: 3.333vw 0 0 3.333vw;
    }

    .bus_detail {
        margin-top: 7.692vw;
        margin-bottom: 75.103vw;
    }

    .left_bg {
        width: 30.221vw;
        position: absolute;
        bottom: 0;
        z-index: -1;
    }

    .bus_detail:last-child {
        margin-bottom: 63.897vw;
    }

    .det_txt.left {
        right: 0;
        left: auto;
        padding: 7.692vw 0 7.692vw 6.41vw;
        background: #fff;
        border-radius: 3.333vw 0 0 3.333vw;
    }

    .resale_detail {
        flex-direction: column;
        align-items: center;
    }

    .point {
        width: 95%;
    }

    .point_2 {
        width: 95%;
    }

    .flow_wrap {
        margin-top: 12.821vw;
        overflow-x: scroll;
        width: 106%;
    }

    .flow_inner {
        width: 1000px;
        display: flex;
        padding-right: 20px;
    }

    .bus_card {
        width: 200px;
        margin: 0 15px 0 0;
    }

    .bus_card:first-child {
        margin: 0 15px 0 0;
    }

    .renov_slide {
        width: 90%;
        position: relative;
    }

    .renovation_case_btn {
        position: absolute;
        top: 52%;
        width: 100%;
    }

    .swiper-button-next.slider_5 {
        right: -15px !important;
    }

    .swiper-button-prev.slider_5 {
        left: -15px !important;
    }

    table.case_tbl td {
        flex-direction: initial !important;
        align-items: baseline !important;
    }

}