@charset "utf-8";

/*========================================================================================================================


  ◇◆◇ 物件 ◇◆◇
  
  
========================================================================================================================*/

/*----------------------------------------------------------------------------------------------------

  一覧
  
----------------------------------------------------------------------------------------------------*/

.dbList {
    display: flex;
    flex-wrap: wrap;
    width:100%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
    box-sizing:border-box;
}

.dbList_block {
    width:calc(33.33% - 20px);
    box-sizing:border-box;
    word-break:break-all;
    background-color: #fff;
    box-shadow: 0px 0px 16px -6px rgba(0,0,0,0.36);
    margin-bottom: 30px;
    margin-right: 30px;
}
.dbList_block:nth-child(3n) {
    margin-right: 0px;
}

@media screen and (max-width: 880px) {
    .dbList_block {
        width:calc(50% - 30px);
    }
    .dbList_block:nth-child(3n) {
        margin-right: 30px;
    }
    .dbList_block:nth-child(even) {
        margin-right: 0;
    }
}

.dbList_block a {
    display:block;
    height: 100%;
    box-sizing: border-box;
}

.dbList_block a,
.dbList_block a:visited,
.dbList_block a:hover { color:inherit; text-decoration:none; }

.dbList_block .photo {
    position:relative;
    width:100%;
    overflow: hidden;
    background-color: #ddd;
}
.dbList_block .photo:before {
    content:"";
    display: block;
    padding-top: 75%; /* 高さを幅の75%に固定 */
}
.dbList_block .photo .photo-img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width:100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: 0.2s all;
}
.dbList_block a:hover .photo-img {
    transform: scale(1.1);
}

.dbList_block .photo .shubetsu {
  position:absolute;
  left:0;
  top: 0;
  z-index: 2;
  width: 120px;
  height: 2em;
  line-height: 2em;
  font-size: 93.8%;
  color:#fff;
  text-align: center;
}
.shubetsu-sale-lp    { background-color:rgba(89,178,0,0.8); }
.shubetsu-sale-house { background-color:rgba(255,147,38,0.8); }
.shubetsu-rent       { background-color:rgba(69,159,220,0.8); }


/* おすすめ物件 */
.dbList_block .pickupestdesc {
    padding: 1.5em 1em 2.5em;
    position: relative;
}
.dbList_block .pickupestdesc .price {
    position:absolute;
    left:0.5em;
    top:-0.85em;
    z-index: 2;
    color: #ef233c;
    font-size: 200%;
    font-weight: bold;
    text-shadow:2px 2px 0 #FFF, -2px -2px 0 #FFF,
                -2px 2px 0 #FFF, 2px -2px 0 #FFF,
                0px 2px 0 #FFF,  0 -2px 0 #FFF,
                -2px 0 0 #FFF, 2px 0 0 #FFF;
}
.dbList_block .pickupestdesc .price span {
    font-size: 66.66%;
}

.dbList_block .pickupestdesc .point,
.dbList_block .pickupestdesc .ad {
    font-size: 93.8%;
    line-height:1.4;
}

.dbList_block .pickupestdesc .ad {
    font-weight: 700;
    margin-bottom: .5em;
}
.dbList_block .pickupestdesc dt {
    width: 4em;
}
.dbList_block .pickupestdesc dd {
    width: calc(100% - 4.5em);
}
@media screen and (max-width:700px) {
    .dbList_block .pickupestdesc dl:first-of-type {
        display: flex;
    }
    .dbList_block .pickupestdesc dt {
        width: 4em;
    }
    .dbList_block .pickupestdesc dl:first-of-type dd {
        width: calc(100% - 4.5em);
        margin-top: 0;
    }
}


/* 一覧 */
.dbList_block .estdesc  {
    padding: 1.5em 1em 2.5em;
    position: relative;
}

/* 価格 */
.dbList_block .estdesc .price {
    position:absolute;
    left:0.5em;
    top:-0.85em;
    z-index: 2;
    color: #ef233c;
    font-size: 200%;
    font-weight: bold;
    text-shadow:2px 2px 0 #FFF, -2px -2px 0 #FFF,
                -2px 2px 0 #FFF, 2px -2px 0 #FFF,
                0px 2px 0 #FFF,  0 -2px 0 #FFF,
                -2px 0 0 #FFF, 2px 0 0 #FFF;
}
.dbList_block .estdesc .price small { font-size: 66.66%; }

/* コメント */
.dbList_block .estdesc .point {
    font-size: 93.8%;
    line-height:1.4;
}

/* 物件名 */
.dbList_block .bukenmei {
    color: #2685A7;
    font-size: 112.5%;
    font-weight:700;
    line-height: 1.4;
}

.dbList_block dl {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-top:.5em;
}

.dbList_block dt {
    width:80px;
    background-color: #36b37d;
    color: #fff;
    text-align:center;
    font-weight: bold;
}

.dbList_block dd {
    width: calc(100% - 96px);
}

/* 住所 */
.dbList_block .estdesc .ad { font-weight:700; }

/* 間取・坪数 */
.dbList_block .estdesc .sc { color:#64aa32; font-size: 118.8%; font-weight:bold; line-height:1.4; }

@media screen and (max-width:700px) {
    .dbList_block dl:first-of-type {
        display: block;
    }
    .dbList_block dl:first-of-type dd {
        width: 100%;
        margin-top:.15em;
    }
    .dbList_block dt {
        width:100px;
    }
    .dbList_block dd {
        width: calc(100% - 116px);
    }
}


