@charset "UTF-8";

#lv_outer #lv {
    display: flex !important;
    background: var(--i_bg_color);
}

#lv::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 95%;
    height: 120px;
    top: 50%;
    left: 2.5%;
    background: url("/common/upload_data/c21-housepartnercom/image/lv_txt2.png") no-repeat center / contain;
    z-index: 10;
    transform: translateY(-50%);
}

@media screen and (max-width: 800px) {
    #lv {
        min-height: 220px !important;
    }
}

/* ---ご相談から売却完了までの流れ--- */

#txt+section .inner_item_txt {
    text-align: center;
}

#txt+section h1 {
    background-image: linear-gradient(transparent 50%, #FFFFBF 50%);
    font-size: 3.2rem;
    text-align: center;
    line-height: 1.2;
    display: inline;
}

#txt+section h1 span {
    font-size: 2.5rem;
}

@media screen and (max-width: 800px) {
    #txt+section h1 {
        font-size: 2rem;
    }

    #txt+section h1 span {
        font-size: 2.4rem;
    }
}

/* ---流れ--- */

.block_html ul li {
    list-style-type: none;
    padding-left: 0;
}

#nagare ul {
    position: relative;
}

#nagare ul li:not(.arrow):not(.hd) {
    background: var(--i_bg_color);
    border-bottom: 1px solid var(--i_btn_color);
    padding: 10px;
}

#nagare .flex ul:first-of-type li:last-of-type {
    background: transparent;
    border-bottom: none;
    padding: 0 !important;
}

#nagare ul li:not(.arrow) h2+p {
    padding-left: 87.3px;
    line-height: 1.3;
    font-size: 1.7rem;
}

#nagare>ul li:nth-of-type(3) {
    padding-left: 97.3px !important;
    display: flex;
    gap: 50px;
}

#nagare>ul li:nth-of-type(3) a {
    display: inline-block;
    background: var(--i_bg_color);
    border: 1px solid var(--i_btn_color);
    color: var(--i_btn_color);
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 5px 30px;
    transition: .4s ease-in-out;
}

#nagare>ul li:nth-of-type(3) a:last-of-type {
    border-bottom: 6px solid var(--i_btn_color);
}

#nagare>ul li:nth-of-type(3) a p {
    position: relative;
}

#nagare>ul li:nth-of-type(3) a:first-of-type p {
    padding-right: 40px;
}

#nagare>ul li:nth-of-type(3) a:last-of-type p {
    font-size: 1.45rem;
    color: var(--i_txt_color);
    padding-bottom: 6px;
}

#nagare>ul li:nth-of-type(3) a:last-of-type p span {
    display: block;
    font-size: 3.5rem;
    color: var(--i_btn_color);
    font-weight: bold;
    letter-spacing: 0.2rem;
    line-height: 0.5;
    padding-left: 45px;
    position: relative;
}

#nagare>ul li:nth-of-type(3) a:first-of-type p::before,
#nagare>ul li:nth-of-type(3) a:last-of-type p span::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 100%;
    height: 100%;
    top: 0;
    transition: .4s ease-in-out;
}

#nagare>ul li:nth-of-type(3) a:first-of-type p::before {
    right: 0;
    background: url("/common/upload_data/c21-housepartnercom/image/click.png") no-repeat right center / 20px;
}

#nagare>ul li:nth-of-type(3) a:last-of-type p span::before {
    left: 0;
    background: url("/common/upload_data/c21-housepartnercom/image/fd.png") no-repeat left center / 35px;
}

#nagare>ul li:nth-of-type(3) a:first-of-type:hover {
    background: var(--i_btn_color);
    color: var(--i_bg_color);
}

#nagare>ul li:nth-of-type(3) a:first-of-type:hover p::before {
    filter: brightness(0) invert(1);
}

#nagare h2 {
    display: flex;
    align-items: center;
    font-size: 3rem;
}

#nagare h2 span {
    border: 2px solid var(--i_btn_color);
    color: var(--i_btn_color);
    font-family: "Noto Serif JP", serif;
    font-size: 5rem;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
    font-weight: 500;
    line-height: 0.9;
    padding: 5px;
    margin-right: 18px;
}

#nagare h2 span small {
    display: block;
    font-family: "Noto Sans JP", serif;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.2rem;
}

#nagare>ul li:nth-of-type(3),
#nagare>ul li:nth-of-type(4) {
    margin-bottom: 80px;
    position: relative;
}

#nagare .flex ul:first-of-type li:nth-of-type(2),
#nagare .flex ul:last-of-type li:not(:first-of-type):not(:last-of-type) {
    margin-bottom: 60px;
    position: relative;
}

#nagare .flex .hd {
    margin-top: 80px;
    position: relative;
}

#nagare>ul li:nth-of-type(3)::before,
#nagare>ul li:nth-of-type(4)::before,
#nagare .flex ul:first-of-type li:nth-of-type(2)::before,
#nagare .flex ul:last-of-type li:not(:first-of-type):not(:last-of-type)::before,
#nagare .flex .hd::before {
    position: absolute;
    display: block;
    content: "";
    pointer-events: none;
    width: 40px;
    height: 20px;
    bottom: -50px;
    left: calc(50% - 20px);
    background: var(--i_btn_color);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
}

#nagare .flex ul:first-of-type li:nth-of-type(2)::before,
#nagare .flex ul:last-of-type li:not(:first-of-type):not(:last-of-type)::before {
    bottom: -40px;
}

#nagare .flex .hd::before {
    bottom: auto;
    top: -40px;
}

#nagare>ul li:nth-of-type(4),
#nagare>ul li:nth-of-type(5),
#nagare .flex ul li:not(:first-of-type) {
    padding-bottom: 30px !important;
}

#nagare ul li.arrow {
    background: var(--i_main2_color);
    color: var(--i_bg_color);
    font-weight: bold;
    font-size: 2.8rem;
    text-align: center;
}

#nagare .flex {
    display: flex;
    justify-content: space-between;
}

#nagare .flex ul {
    width: 48%;
}

#nagare .flex ul:first-of-type {
    display: flex;
    flex-direction: column;
}

#nagare .flex ul:first-of-type li:last-of-type {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
}

#nagare .flex .hd {
    text-align: center;
    margin-bottom: 40px;
}

#nagare .flex .hd p {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
    background-image: linear-gradient(transparent 50%, #FFFFBF 50%);
}

#nagare .flex i {
    background: #0080ff;
    box-shadow: 0 5px 0 #066acd;
    color: var(--i_bg_color);
    font-size: 1.25rem;
    font-style: inherit;
    letter-spacing: 0.1rem;
    padding: 5px 10px 0;
    box-sizing: border-box;
    border-radius: 5px;
    margin-left: 5px;
}

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

#nagare>ul+div {
    display: flex;
    gap: 10px;
    margin: 30px 0;
    display: none;
}

#nagare>ul+div .tab_item {
    background: var(--i_bg_color);
    font-size: 1.65rem;
    width: 48%;
    display: inline-block;
    text-align: center;
    padding: 8px 10px;
    box-sizing: border-box;
    cursor: pointer;
}

#nagare>ul+div [id^="tab"]:checked+.tab_item {
    background: var(--i_txt_color);
    color: var(--i_bg_color);
}

@media screen and (min-width: 801px) {
    #nagare>ul li:nth-of-type(2) {
        border-bottom: none !important;
    }

    #nagare ul li.arrow {
        position: absolute;
        right: 15px;
        top: 0;
        height: calc(100% - 40px);
        z-index: 5;
        writing-mode: vertical-rl;
    }

    #nagare ul li.arrow::before {
        position: absolute;
        display: block;
        content: "";
        pointer-events: none;
        width: 80px;
        height: 40px;
        bottom: -40px;
        left: calc(50% - 40px);
        background: var(--i_main2_color);
        clip-path: polygon(50% 100%, 0 0, 100% 0);
    }

    #nagare>ul li:not(.arrow) {
        padding-right: 75px !important;
    }

    #nagare .flex ul:first-of-type li:not(:first-of-type):not(:last-of-type),
    #nagare .flex ul:last-of-type li:not(:first-of-type) {
        min-height: 220px
    }
}

@media screen and (max-width: 800px) {
    #nagare ul li.arrow {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    #nagare h2 {
        font-size: 2.2rem;
        position: relative;
    }

    #nagare h2 span {
        font-family: "Noto Sans JP", serif;
        font-size: 2.2rem;
        line-height: 1;
        margin-right: 10px;
    }

    #nagare h2 span small {
        letter-spacing: 0;
    }

    #nagare h2:has(i) {
        padding-top: 40px;
    }

    #nagare .flex i {
        position: absolute;
        top: 0;
        left: 0;
        margin-left: 0;
    }

    #nagare ul li:not(.arrow) h2+p {
        padding-left: 0;
        padding-top: 10px;
        font-size: 1.5rem;
    }

    #nagare>ul li:nth-of-type(3) {
        background: none !important;
        border-bottom: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex-direction: column;
        gap: 10px;
    }

    #nagare>ul li:nth-of-type(3),
    #nagare>ul li:nth-of-type(4) {
        margin-bottom: 30px;
    }

    #nagare>ul li:nth-of-type(3)::before,
    #nagare>ul li:nth-of-type(4)::before,
    #nagare .flex ul:first-of-type li:nth-of-type(2)::before,
    #nagare .flex ul:last-of-type li:not(:first-of-type):not(:last-of-type)::before {
        display: none;
    }

    #nagare>ul li:nth-of-type(4),
    #nagare>ul li:nth-of-type(5),
    #nagare .flex ul li:not(:first-of-type) {
        padding-bottom: 10px !important;
    }

    #nagare .flex ul:first-of-type li:nth-of-type(2),
    #nagare .flex ul:last-of-type li:not(:first-of-type):not(:last-of-type) {
        margin-bottom: 40px;
    }

    #nagare .flex ul,
    #nagare .flex ul:first-of-type {
        display: none;
    }

    #nagare>ul+div:has(#tab:checked)+div ul:first-of-type {
        display: block;
    }

    #nagare>ul+div:has(#tab2:checked)+div ul:last-of-type {
        display: block;
    }

    #nagare>ul+div {
        display: block;
    }

    #nagare .flex ul li:first-of-type {
        display: none;
    }

    #nagare .flex ul {
        width: 100%;
    }

    #nagare .flex ul:first-of-type li:last-of-type {
        display: none;
    }

    #nagare>ul li:nth-of-type(3) a:last-of-type p span {
        font-size: 3rem;
    }
}