@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: 1070px;
    width: calc(100% - 25px);
    margin: auto;
    padding: 30px 0 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    position: relative;
}

.lvmv h1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

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

@media screen and (max-width: 480px) {
    .lvmv>figure+div {
        margin-right: 0;
        width: 98%;
        align-items: end;
        padding-top: 50px;
    }

    .lvmv h1+figure img {
        max-width: 190px;
    }

    .lvmv h1 {
        padding-bottom: 50px;
    }
}

/* ---スバックご成約実例--- */

#l+div>.content_wrapper {
    padding-top: 45px;
}

#l+div .wrapper_item {
    overflow: visible;
}

#l+div .inner_item {
    border: solid 6px var(--i_main_color);
    background: var(--i_bg_color);
    position: relative;
    transition: .4s ease-in-out;
}

#l+div .heading.block_header_4 {
    position: absolute;
    margin-top: -42px;
    margin-bottom: 0;
    left: -6px;
    background: var(--i_main_color);
    border-radius: 10px 10px 0px 0px;
    width: auto;
    padding: 10px 15px 0;
    display: inline-block;
}

#l+div .heading.block_header_4 .h {
    color: var(--i_bg_color);
    position: relative;
    font-size: 1.8rem !important;
    padding-left: 58px;
}

#l+div .heading.block_header_4 .h::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 100%;
    height: 50px;
    bottom: 0;
    left: 0;
    background: url("/common/upload_data/c21-housepartnercom/image/home1.png") no-repeat center left / contain;
}

#l+div .inner_item:nth-of-type(2) .heading.block_header_4 .h::before {
    background: url("/common/upload_data/c21-housepartnercom/image/home2.png") no-repeat center left / contain;
}

#l+div .inner_item:nth-of-type(3) .heading.block_header_4 .h::before {
    background: url("/common/upload_data/c21-housepartnercom/image/home3.png") no-repeat center left / contain;
}

#l+div .inner_item:nth-of-type(4) .heading.block_header_4 .h::before {
    background: url("/common/upload_data/c21-housepartnercom/image/home4.png") no-repeat center left / contain;
}

#l+div .inner_item_txt {
    padding: 10px 20px 0;
}

#l+div .inner_item_txt p:first-of-type {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    border-bottom: solid 3px var(--i_main_color);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

#l+div .inner_item_txt p:last-of-type {
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.4;
}

#l+div .contents_btn01 {
    text-align: right;
    margin-top: 0px;
}

#l+div .contents_btn01 a {
    background: var(--i_main_color) !important;
    border: none !important;
    padding: 4px 6px 0 10px;
    vertical-align: bottom;
}

#l+div .contents_btn01 a span {
    font-size: 1.2rem;
    padding: 0;
    color: var(--i_bg_color) !important;
}

#l+div .inner_item:has(a:hover) {
    background: #fffae5 !important;
}

@media screen and (max-width: 920px) {
    #l+div .wrapper_item {
        justify-content: space-between;
    }

    #l+div .inner_item {
        width: 48% !important;
        margin-bottom: 0 !important;
    }

    #l+div .inner_item:first-of-type,
    #l+div .inner_item:nth-of-type(2) {
        margin-bottom: 65px !important;
    }
}

@media screen and (max-width: 480px) {
    #l+div {
        padding-top: 10px !important;
    }

    #l+div .heading.block_header_4 {
        margin-top: -33px;
    }

    #l+div .heading.block_header_4 .h {
        font-size: 1.25rem !important;
        padding-left: 45px;
    }

    #l+div .heading.block_header_4 .h::before {
        height: 45px;
    }

    #l+div .inner_item_txt {
        padding: 10px 10px 0;
    }

    #l+div .inner_item_txt p:first-of-type {
        font-size: 1.65rem;
    }

    #l+div .inner_item_txt p:last-of-type {
        font-size: 1.35rem;
    }
}

/* ---こんな悩みを抱えられている方--- */

a[id*="bg"]+section {
    background-image: radial-gradient(circle, #e6d3bc 1px, transparent 1px);
    background-position: 0 0 !important;
    background-size: 8px 8px !important;
    background-repeat: repeat !important;
}

/* ---リースバックのメリット・デメリット--- */

#l2+div .wrapper_item {
    justify-content: space-between;
}

#l2+div .inner_item {
    background: var(--i_bg_color);
    border: solid 6px var(--i_btn_color);
    margin-top: 70px;
    width: 49%;
    margin-left: 0 !important;
}

#l2+div .inner_item:last-of-type {
    border: solid 6px #003264;
}

#l2+div .inner_item>a {
    margin-top: -70px
}

#l2+div .inner_item>a:hover * {
    opacity: 1;
}

#l2+div .inner_item_img img {
    height: auto !important;
    max-width: 230px;
}

#l2+div .heading.block_header_4 {
    margin: 15px 0px;
}

#l2+div .heading.block_header_4 .h {
    color: var(--i_btn_color);
    font-size: 4.8rem !important;
    background: linear-gradient(transparent 70%, #ecb2b2 60%);
    display: inline-block;
    line-height: 1;
}

#l2+div .inner_item:last-of-type .heading.block_header_4 .h {
    color: #003264;
    background: linear-gradient(transparent 70%, #b2c1d0 60%);
}

#l2+div .inner_item .inner_item_txt p {
    font-size: 1.8rem;
    color: var(--i_btn_color);
    font-weight: bold;
    padding: 0 10% 30px;
}

#l2+div .inner_item:last-of-type .inner_item_txt p {
    color: #003264;
}

@media screen and (max-width: 480px) {

    #l2+div .inner_item {
        margin-top: 46px;
    }

    #l2+div .inner_item>a {
        margin-top: -46px;
    }

    #l2+div .inner_item_img img {
        max-width: 150px;
    }

    #l2+div .heading.block_header_4 {
        margin: 10px 0px 5px;
    }

    #l2+div .heading.block_header_4 .h {
        font-size: 3rem !important;
    }

    #l2+div .inner_item .inner_item_txt p {
        font-size: 1.6rem;
        padding: 0 5% 30px;
    }
}

/* ---よくある質問--- */

#l3+section .heading.block_header_6 {
    margin-bottom: 0;
}

#l3+section .heading.block_header_6 .h {
    font-size: 4.8rem !important;
}

#l3+section .inner_item_txt p {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.3;
}

#l3+section .inner_item_txt p span {
    color: #003264;
}

#l3+section .inner_item_txt p span:last-of-type {
    color: var(--i_btn_color);
}

#l3+section+div dl {
    border: none !important;
    background: #ffe88d;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
    padding: 0 !important;
}

#l3+section+div dl:not(:last-of-type) {
    margin-bottom: 20px;
}

#l3+section+div dt,
#l3+section+div dd {
    padding: 15px 40px 15px 60px;
    margin-top: 0;
    box-sizing: border-box;
}

#l3+section+div dt {
    transition: .4s ease-in-out;
}

#l3+section+div dt:hover {
    background: #fffae5;
}

#l3+section+div dd {
    margin-bottom: 0;
    background: #fffae5;
}

#l3+section+div dt.open+dd {
    border-top: 3px solid var(--i_txt_color);
}

#l3+section+div dd span.inner {
    padding-top: 0;
}

#l3+section+div dt::before,
#l3+section+div dd::before {
    border: none;
    background: none;
    color: #003264;
    font-size: 3.2rem !important;
    left: 6px;
    line-height: initial;
}

#l3+section+div dt::before {
    line-height: 2;
}

#l3+section+div dd::before {
    color: var(--i_btn_color);
}

#l3+section+div dt i.more {
    width: 25px;
    height: 25px;
    top: 50%;
    transform: translateY(-50%);
    right: 15px;
}

#l3+section+div dt i.more::before,
#l3+section+div dt i.more::after {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    background: #9e9e9e;
    transition: .4s ease-in-out;
}

#l3+section+div dt i.more::before {
    width: 100%;
    height: 2px;
    right: 0;
}

#l3+section+div dt i.more::after {
    height: 100%;
    width: 2px;
    left: calc(50% - 1px);
}

#l3+section+div dt.open i.more::before {
    display: none;
}

#l3+section+div dt.open i.more::after {
    left: calc(50% - 1px);
    transform: translateY(-50%) rotate(90deg);
}

@media screen and (max-width: 480px) {
    #l3+section+div .contents_btn01 {
        padding-top: 0;
    }

    #l3+section .heading.block_header_6 .h {
        font-size: 3rem !important;
    }
}

/* ---買取の流れ--- */

#l4+div .wrapper_item {
    justify-content: space-between;
    gap: 45px 0;
    counter-reset: number 0;
}

#l4+div .inner_item {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 48%;
    margin: 0 !important;
    background: var(--i_bg_color);
    border: solid 6px var(--i_main_color);
    padding: 22px;
    gap: 0 25px;
}

#l4+div .heading.block_header_4 {
    grid-area: 1 / 1 / 2 / 3;
    margin-bottom: 20px;
}

#l4+div .heading.block_header_4 .h {
    position: relative;
    font-size: 3rem;
    color: var(--i_txt_color);
    line-height: 1.7;
    padding-left: 70px;
    margin-bottom: 0;
}

#l4+div .heading.block_header_4 .h::before {
    position: absolute;
    display: block;
    counter-increment: number 1;
    content: counter(number) " ";
    pointer-events: none;
    width: 50px;
    height: 50px;
    background: var(--i_main_color);
    color: var(--i_bg_color);
    font-size: 4rem;
    line-height: 50px;
    top: 0;
    left: 0;
    text-align: center;
    font-weight: bold;
}

#l4+div .inner_item_img img {
    max-width: 232px;
    height: auto !important;
}

#l4+div .inner_item_txt {
    margin-top: 0;
    font-weight: bold;
    font-size: 1.6rem;
}

@media screen and (max-width: 480px) {
    #l4+div {
        padding-top: 30px;
    }

    #l4+div .heading.block_header_4 .h {
        line-height: 2;
        padding-left: 45px;
    }

    #l4+div .heading.block_header_4 .h::before {
        width: 35px;
        height: 35px;
        font-size: 3rem;
        line-height: 35px;
    }

    #l4+div .wrapper_item {
        gap: 20px 0;
    }

    #l4+div .inner_item {
        display: flex;
        padding: 10px;
    }

    #l4+div .inner_item_img img {
        max-width: 140px;
    }

    #l4+div .inner_item_txt {
        font-size: 1.4rem;
        padding-top: 15px;
    }
}

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

@media screen and (min-width: 481px) {
    a[id^="sp"]+section {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    a[id^="pc"]+section {
        display: none;
    }
}

/* ---mainボタンデザイン--- */

#l+div+.contents_btn01 a,
#l3+section+div .contents_btn01 a {
    border: solid 6px var(--i_main_color);
    background: var(--i_bg_color);
    padding: 8px 10px 5px;
    min-width: 300px;
    box-sizing: border-box;
}

#l+div+.contents_btn01 a span,
#l3+section+div .contents_btn01 a span {
    color: var(--i_txt_color) !important;
    font-size: 2rem;
    position: relative;
    font-weight: bold;
    padding: 0 0 0 15px;
}

#l+div+.contents_btn01 a span::before,
#l3+section+div .contents_btn01 a span::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--i_txt_color);
    border-bottom: 2px solid var(--i_txt_color);
    transform: rotate(-45deg);
    top: calc(50% - 4px);
    left: 0;
}

#l+div+.contents_btn01 a:hover,
#l3+section+div .contents_btn01 a:hover {
    background: #fffae5 !important;
}

@media screen and (max-width: 480px) {

    #l+div+.contents_btn01 a span,
    #l3+section+div .contents_btn01 a span {
        font-size: 1.65rem;
    }
}