@charset "utf-8";

header {
    position: relative;
}
article {
        margin-top: 0;
}

/* bukken-list */

#bukken-list .w1010 {
    width: 1000px;
}


/*タブ切り替え全体のスタイル*/

.tabs {
    margin-top: 50px;
    padding-bottom: 40px;
    background-color: #fff;
    margin: 0 auto;
}

/*タブのスタイル*/

.tab_item {
    width: calc(100%/3);
    height: 50px;
    border-bottom: 3px solid #555;
    background-color: #d9d9d9;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
}

.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/

input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/

.tab_content {
    display: none;
    padding: 20px 20px 0;
    clear: both;
    overflow: hidden;
}

/*選択されているタブのコンテンツのみを表示*/

#all:checked ~ #all_content,
#recolbukken:checked ~ #recolbukken_content,
#reform:checked ~ #reform_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/

.tabs input:checked + .tab_item {
    background-color: rgb(85, 85, 85);
    color: #fff;
}


.bk-list-wrapper figure, .bk-list-wrapper figure img{
    width: 280px;
    height: auto;
    max-height: 186px;
}
/*.bk-list-wrapper figure img {
    width: 100%;
}*/
.bk-list-wrapper dl {
    width: 758px;
}


.bk-list-wrapper {
    box-shadow: 1px 1px 3px #ddd;
    margin-bottom: 15px;
    background: #efefef70;
    border: 1px solid #ddd;
}

.bk-list-wrapper dl {
    padding: 0 2%;
}

.bk-list-wrapper dl dt {
    font-weight: bold;
    border-bottom: 1px dashed #ddd;
    margin-bottom: 5px;
    padding-bottom: 5px;
}

.bk-list-wrapper dl dd li:before {
    content: "\f0da";
    margin-right: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: bold
}


.btn-area.flex.f-center a {
    display: block;
    flex-basis: 50%;
    text-align: center;
    padding: 2% 0;
    font-size: 1.5rem;
    color: #fff;}
.btn-area {
    background: #ddd;
    justify-content: flex-end;
}



.btn-area.flex.f-center a:first-child {
    background: #555;
}

.btn-area.flex.f-center a:last-child {
    background: black;
}

.btn-area.flex.f-center a:hover {
    background: #8c1341;
}




/* contact */

#contact {
    margin: 0 auto 100px;
    border: 5px double #666;
    padding: 3%;
    text-align: center;
}

#contact h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

#contact h3:after {
    content: "";
    display: block;
    border-bottom: 5px solid #666;
    width: 50px;
    text-align: center;
    margin: 10px auto;
    border-radius: 10px;
}

#contact dl {
    font-size: 1.8rem;
}

/* new物件 */

figure {
    position: relative;
}

.new {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    background: #8a0000;
    padding: .5rem 2rem;
    color: #ddd;
}


/* ご成約済み物件 */

.bk_sold {
    flex-direction: inherit;
}
.bk_sold .content{
    position: relative;
}

.sold {
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    padding: 10px 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #000;
}
.bk-list-wrapper strong {
    display: block;
    background: #282828;
    color: #fff;
    letter-spacing: .2rem;
    line-height: 1.4;
    padding: 1rem 2rem;
    text-align: center;
} 

.sold span {
    display: none;
}

.flex.bk-sold{
    position: relative
}

.bk_sold dl {
    padding-top: 1rem;
}


#contact .btn-box {
    margin: 15px auto 0 !important;
}

/* tablet */

@media screen and (max-width:1024px) {
    #bukken-list .w1010 {
        width: 100%;
    }
    .bk-list-wrapper dl {
        width: 100%;
    }

    #contact {
        width: 98%;
        margin: 0 auto 25px;
    }

    #contact h3 {
        font-size: 1.5rem;
    }
}

/* smp */

@media screen and (max-width:414px) {
    .c-txtsp {
        font-size: 1.2rem;
    }





    .tab_item {
        font-size: 1.2rem; 
    }

    .bk-list-wrapper .content {
        flex-direction: column;
        
    }
    .bk_sold {
        display: block;
    }
    .bk-list-wrapper figure, .bk-list-wrapper figure img{
        width: 80%;
        height: auto;
        max-height: 180px;
        object-position: top;
        margin: 0
    }
    .bk-list-wrapper figure img {
        width: 100%;
    }



    .bk-list-wrapper dl {
        padding: 3%;
    }
    #bukken-list .w1010, .bk-list-wrapper dl {
        width: 100%;
    }   
    .bk-list-wrapper dt{
        display: none;
}
}