@charset "UTF-8";

[data-type^="multigallery4"] main>section:has(ul.sidebar_list) {
    margin-top: 60px;
}

.entry_header .heading.block_header_2 .h {
    font-size: 2.4rem;
    border-bottom: 3px solid #f1e2ba;
    padding-left: 0;
    padding-bottom: 6px;
}

.entry_header .heading.block_header_2 .h span,
.entry_header .heading.block_header_2 .h::before {
    display: none;
}

.entry_header .heading.block_header_2 .h::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 150px;
    height: 3px;
    left: 0;
    bottom: -3px;
    background: #bb942c;
}

#primary article .content_wrapper {
    background: #fff8e4;
    padding: 16px 20px 20px 20px !important;
}

#primary article .content_wrapper .heading.block_header_1 {
    margin-bottom: 5px;
}

#txt+section .heading.block_header_1 .h {
    font-size: 1.8rem;
    padding-left: 45px;
    position: relative;
}

#txt+section .heading.block_header_1 .h::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("/common/upload_data/c21-housepartnercom/image/sale_icon2.png") no-repeat left top / 35px;
}

#txt2+div .inner_item:first-of-type .heading.block_header_4 .h {
    font-size: 1.8rem;
    padding-left: 48px;
    color: var(--i_txt_color);
    position: relative;
}

#txt2+div .inner_item:first-of-type .heading.block_header_4 .h::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 50px;
    height: 100%;
    top: 0;
    left: 0;
    background: url("/common/upload_data/c21-housepartnercom/image/sale_icon_1.png") no-repeat left center / contain;
}

#txt2+div .wrapper_item {
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
}

#txt2+div .inner_item {
    width: auto !important;
    margin: 0 !important;
}

#txt2+div .inner_item:first-of-type .inner_item_txt {
    margin-top: 0 !important;
}

#txt2+div .inner_item:first-of-type {
    width: 75% !important;
}

#txt2+div .inner_item:first-of-type .inner_item_txt p {
    font-size: 1.5rem;
}

#txt2+div .inner_item:last-of-type {
    max-width: 220px;
}

#txt2+div .inner_item_img img {
    height: auto !important;
}

#txt2+div .inner_item:last-of-type .heading.block_header_4 .h {
    border: solid 1px #bb942c;
    font-weight: bold;
    font-size: 1.4rem !important;
    padding: 2px 2px 0;
    text-align: center;
    color: var(--i_txt_color);
}

#b+.contents_btn01 a {
    border: 2px solid var(--i_btn_color);
    background: var(--i_btn_color);
    min-width: 460px;
    box-sizing: border-box;
}

#b+.contents_btn01 a:hover {
    background: transparent;
    color: var(--i_btn_color) !important;
}

#b+.contents_btn01 a span {
    font-size: 1.8rem;
    position: relative;
    padding: 22px 10px 18px;
}

#b+.contents_btn01 a span::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--i_bg_color);
    border-right: 2px solid var(--i_bg_color);
    transform: rotate(45deg);
    top: calc(50% - 5px);
    right: 20px;
    pointer-events: none;
}

#b+.contents_btn01 a:hover span::before {
    border-top: 2px solid var(--i_btn_color);
    border-right: 2px solid var(--i_btn_color);
}

#b+.contents_btn01>.content_wrapper {
    background: var(--i_bg_color);
    padding: 0 !important;
}

@media screen and (max-width: 650px) {
    [data-type^="multigallery4"] main>section:has(ul.sidebar_list) {
        margin-top: 10px;
    }

    #b+.contents_btn01 a {
        min-width: auto;
        width: 100% !important;
    }

    #b+.contents_btn01 a span {
        padding: 15px 10px 12px;
    }

    #txt2+div .inner_item:first-of-type {
        width: 100% !important;
    }

    #txt2+div .inner_item:last-of-type {
        max-width: 100%;
    }

    #txt2+div .wrapper_item {
        flex-direction: column;
    }

    #primary article .content_wrapper {
        width: calc(100% - 20px);
    }
}