@charset "UTF-8";

#lv,
#pan {
    display: none;
}

/* ---mv--- */

.lvmv {
    position: relative;
    max-height: 493px;
}

.lvmv>figure {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

.lvmv>figure img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.lvmv>figure+div {
    max-width: 1080px;
    width: calc(100% - 25px);
    margin: auto;
    padding: 30px 0 0;
    text-align: left;
    display: flex;
    position: relative;
}

.lvmv h1 {
    padding-top: 40px;
}

.lvmv h1 img {
    max-width: 700px;
    width: 100%;
}

.lvmv h1+figure img {
    max-width: 360px;
    width: 100%;
}

@media screen and (max-width: 480px) {
    .lvmv>figure+div {
        flex-direction: column;
        align-items: center;
    }

    .lvmv h1 {
        padding-top: 0;
        padding-bottom: 20px;
    }
}

/* ---こんな悩みをよく聞きます--- */

#s+section .inner_item_img {
    position: relative;
    padding: 0 23%;
    max-width: 100%;
}

#s+section .inner_item_img::before,
#s+section .inner_item_img::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 20%;
    height: calc(100% - 50px);
    bottom: 0;
}

#s+section .inner_item_img::before {
    background: url("/common/upload_data/c21-housepartnercom/image/s_line.png") no-repeat center left / contain;
    left: 0;
}

#s+section .inner_item_img::after {
    background: url("/common/upload_data/c21-housepartnercom/image/s_line.png") no-repeat center right / contain;
    right: 0;
}

@media screen and (max-width: 480px) {
    #s+section .inner_item_img {
        padding: 0;
    }

    #s+section .inner_item_img::before,
    #s+section .inner_item_img::after {
        display: none;
    }
}

/* ---売却成功実績--- */

#s2+.block_news_1>.content_wrapper {
    border: 3px dotted var(--i_main2_color);
    padding: 0 2.5% 30px;
    background: repeating-linear-gradient(45deg, #fedb8b 0px, #fedb8b 1px, transparent 2px, transparent 6px);
    margin-top: 60px;
    width: calc(100% - 20px);
}

#s2+.block_news_1 ul {
    display: flex;
    gap: 30px;
    padding-top: 30px;
}

#s2+.block_news_1 li a {
    background: var(--i_bg_color);
    border: solid 5px #FFC002;
    padding: 22px 20px 20px;
}

#s2+.block_news_1 li a:hover {
    background: #fffcf2;
    opacity: 1;
}

#s2+.block_news_1 li a>p {
    font-size: 2rem;
    padding-left: 0;
    border-bottom: solid 2px #FFC002;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: center;
    font-weight: bold;
}

#s2+.block_news_1 li a>p::before {
    display: none;
}

#s2+.block_news_1 li a span {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    left: 0;
    top: 0;
    max-width: 100px;
}

#s2+.block_news_1 li a span img {
    position: relative;
    height: 80px;
}

#s2+.block_news_1 li a>div {
    padding-left: 0;
    display: flex;
    gap: 8px;
    position: relative;
}

#s2+.block_news_1 li a>div p {
    line-height: 1.3;
    font-size: 1.6rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.heading.block_header_1 {
    width: 100%;
    max-width: 662px;
    margin: -60px auto 0;
    background: var(--i_bg_color);
    border: solid 2px var(--i_main2_color);
    padding: 15px 5px 5px;
}

#s2+div .heading.block_header_1 p {
    padding: 0 40px;
}

#s2+div .heading.block_header_1 p::before,
#s2+div .heading.block_header_1 p::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    top: 0;
    width: 26px;
    height: 100%;
}

#s2+div .heading.block_header_1 p::before {
    background: url("/common/upload_data/c21-housepartnercom/image/s_line2.png") no-repeat center left / contain;
    left: 0;
}

#s2+div .heading.block_header_1 p::after {
    background: url("/common/upload_data/c21-housepartnercom/image/s_line3.png") no-repeat center right / contain;
    right: 0;
}

#s2+div .heading.block_header_1 .h {
    color: var(--i_btn_color);
    font-size: 2.6rem;
}

#s2+div .contents_btn01 a {
    background: #FFC002;
    border: none;
    color: var(--i_txt_color) !important;
    font-weight: bold;
}

#s2+div .contents_btn01 a:hover {
    background: var(--i_main2_color);
}

#s2+div .contents_btn01 a span {
    position: relative;
    font-size: 1.85rem;
    padding: 12px 100px 10px;
}

#s2+div .contents_btn01 a span::before,
#s2+div .contents_btn01 a span::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    right: 25px;
    background: var(--i_txt_color);
}

#s2+div .contents_btn01 a span::before {
    width: 25px;
    height: 1px;
    top: calc(50% - 0.5px);
}

#s2+div .contents_btn01 a span::after {
    width: 13px;
    height: 1px;
    transform: rotate(45deg);
    top: calc(50% - 6px);
}

#s2+.block_news_1 li a>div::before {
    content: "";
    bottom: 0;
    right: 0;
    width: 45px;
    height: 2px;
    background: #FFC002;
    position: absolute;
}

#s2+.block_news_1 li a>div::after {
    content: "";
    right: 0;
    bottom: 5px;
    width: 15px;
    height: 2px;
    background: #FFC002;
    -webkit-transform: rotate(45deg);
    transform: rotate(35deg);
    position: absolute;
}

@media screen and (max-width: 480px) {
    #s+section {
        padding-bottom: 0;
    }

    #s2+.block_news_1 ul {
        overflow-y: scroll;
    }

    #s2+.block_news_1 li {
        min-width: 250px;
    }

    #s2+.block_news_1 li a {
        padding: 10px 10px 5px;
    }

    #s2+.block_news_1 li a>p {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    #s2+.block_news_1 li a span img {
        height: 80px;
    }

    #s2+div .contents_btn01 a span {
        font-size: 1.5rem;
        padding: 12px 80px 10px;
    }

    #s2+div .heading.block_header_1 .h {
        font-size: 2.2rem;
        line-height: 1.2;
        padding: 10px 0;
    }
}

/* ---圧倒的な違い--- */

a[id^="s3"]+div {
    counter-reset: number 0;
}

a[id^="s3"]+div .wrapper_item {
    justify-content: space-between;
}

a[id^="s3"]+div.composite_box01 .inner_item {
    border: solid 5px #fabe00;
    padding-bottom: 12px;
    width: 48.5% !important;
    margin-left: 0 !important;
}

a[id^="s3"]+div .heading.block_header_4 {
    background: #fabe00;
    padding: 8px 6px;
    margin-bottom: 15px;
}

a[id^="s3"]+div .heading.block_header_4 .h {
    background: #fabe00;
    color: var(--i_txt_color);
    font-size: 2.4rem;
    line-height: 1.3;
    padding: 5px 0 5px 48px;
    box-sizing: border-box;
    position: relative;
}

a[id^="s3"]+div .heading.block_header_4 .h::before {
    position: absolute;
    display: block;
    counter-increment: number 1;
    content: counter(number) " ";
    pointer-events: none;
    width: 40px;
    height: 40px;
    background: var(--i_bg_color);
    font-size: 3.5rem;
    line-height: 40px;
    top: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
    color: #fabe00;
}

#s3_2_num+div .inner_item:first-of-type .heading.block_header_4 .h::before {
    content: "2";
}

#s3_2_num+div .inner_item:last-of-type .heading.block_header_4 .h::before {
    content: "3";
}

#s3_2_num2+div .inner_item:first-of-type .heading.block_header_4 .h::before {
    content: "4";
}

#s3_2_num2+div .inner_item:last-of-type .heading.block_header_4 .h::before {
    content: "5";
}

a[id^="s3_2"]+div .fl {
    display: flex;
    gap: 10px;
    padding: 0 20px;
}

a[id^="s3_2"]+div .inner_item_img img {
    height: auto !important;
    max-width: 172px;
    min-width: 172px;
}

a[id^="s3"]+div .inner_item_txt {
    margin-top: 0 !important;
}

a[id^="s3"]+div .inner_item_txt p {
    line-height: 1.5;
    font-size: 1.55rem;
}

#s3_1c+div .inner_item {
    width: 100% !important;
    position: relative;
}

#s3_1c+div .empty {
    display: none;
}

#s3_1c+div .fl {
    padding: 0 20px 40px;
}

#s3_1c+div .inner_item_txt {
    padding-top: 25px;
}

#s3_1c+div .inner_item::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 100%;
    height: 55px;
    bottom: 0;
    right: 0;
    background: url("/common/upload_data/c21-housepartnercom/image/area_obj3.png") no-repeat bottom right / contain;
}

@media screen and (max-width: 700px) {
    a[id^="s3"]+div .wrapper_item {
        gap: 30px;
    }

    a[id^="s3"]+div.composite_box01 .inner_item {
        width: 100% !important;
    }

    #s3_2_num+div.composite_box01 .inner_item,
    #s3_2_num2+div.composite_box01 .inner_item {
        margin: 0 !important;
    }

    #s3_1c+div .inner_item {
        margin-bottom: 0 !important;
    }
}

@media screen and (max-width: 480px) {
    a[id^="s3_2"]+div .inner_item_img img {
        min-width: 100px;
    }
}

/* ---最大広告アピール--- */

a[id^="s4"]+div .inner_item {
    background: var(--i_bg_color);
    border: solid 5px #fabe00;
    padding: 10px 10px 20px;
}

a[id^="s4"]+div .heading.block_header_4 .h {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--i_txt_color);
}

a[id^="s4"]+div .inner_item_img img {
    height: auto !important;
}

@media screen and (max-width: 480px) {
    a[id^="s4"]+div .inner_item_img img {
        width: 50% !important;
    }
}

/* ---PCSP切り替え--- */

@media screen and (min-width: 481px) {
    #sp+section {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #pc+section {
        display: none;
    }
}