@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap');

/*---不動産相続のこんなお悩みを解消いたします---*/

#fu+div:before,
#fu2+section:before {
    position: absolute;
    display: block;
    content: "";
    width: 95vw;
    height: calc(100% - 250px);
    bottom: 0;
    right: 0;
    background: var(--i_sub2_color);
    pointer-events: none;
}

#fu+div .heading.block_header_6 {
    padding-left: 320px;
    padding-top: 150px;
}

#fu+div .heading.block_header_6:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("/common/upload_data/fudosan-inheritance/image/obj5.png") no-repeat top left / contain;
    max-width: 280px;
    pointer-events: none;
}

#fu+div .wrapper_item {
    justify-content: space-evenly;
    margin-top: 65px;
}

#fu+div .inner_item {
    width: 45%;
    margin-left: 0;
    padding: 20px 20px 15px;
    background: var(--i_btn_color);
    border-left: 10px solid var(--i_btn_hover_color);
    position: relative;
}

#fu+div .inner_item:nth-of-type(-n + 2) {
    margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
    #fu+div .heading.block_header_6 {
        padding-left: 0;
        padding-top: 160px;
    }

    #fu+div .heading.block_header_6:before {
        background-size: 160px;
        background-position: top left;
    }

    #fu+div:before {
        width: 100%;
        height: calc(100% - 150px);
    }

    #fu+div .wrapper_item {
        margin-top: 30px;
    }
}

/*---サービスの特徴---*/

#fu2+section:before {
    bottom: auto;
    top: 0;
    height: 100%;
}

#fu2+section .heading.block_header_1 p {
    padding: 45px 12px 0 0;
}

#fu2+section .heading.block_header_1 p:before {
    position: absolute;
    display: block;
    content: "";
    width: 61px;
    height: 100%;
    top: 0;
    right: 0;
    background: url("/common/upload_data/fudosan-inheritance/image/s_h.png") no-repeat top right / contain;
    pointer-events: none;
}

@media screen and (min-width: 901px) {
    #fu2+section .content_wrapper {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    #fu2+section .heading.block_header_1 {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-bottom: 0;
    }

    #fu2+section .wrapper_item {
        padding-bottom: 0px;
        width: 80%;
        margin-top: 180px;
    }

    #fu2+section .heading.block_header_1 .h {
        padding: 80px 15px 0 0;
        font-size: 2rem;
    }
}

@media screen and (max-width: 1300px) and (min-width: 901px) {
    #fu2+section .content_wrapper {
        justify-content: flex-end;
    }

    #fu2+section .heading.block_header_1 .h {
        padding-left: 20px;
    }
}

@media screen and (max-width: 900px) {
    #fu2+section:before {
        width: 100%;
    }

    #fu2+section .heading.block_header_1 p {
        padding: 35px 0 0 0;
    }

    #fu2+section .heading.block_header_1 p:before {
        width: 60px;
        background: url("/common/upload_data/fudosan-inheritance/image/sp_s_h.png") no-repeat top left / contain;
        right: auto;
        left: 0;
    }
}

/*---現金化のメリット---*/

#fu3+div .wrapper_item {
    overflow: visible;
    counter-reset: number 0;
}

#fu3+div .inner_item {
    width: 100%;
    margin-left: 0 !important;
    background: #f5ecd2;
    justify-content: center;
    padding: 20px;
    position: relative;
}

#fu3+div .inner_item:not(:last-of-type) {
    margin-bottom: 30px;
}

#fu3+div .inner_item:before {
    position: absolute;
    display: block;
    counter-increment: number 1;
    content: "Merit 0" counter(number);
    top: -30px;
    left: 20px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    color: #cc7545;
    z-index: 3;
    pointer-events: none;
}

#fu3+div .inner_item::after {
    position: absolute;
    display: block;
    content: "";
    width: 40px;
    height: 100%;
    background: var(--i_btn_color);
    top: 0;
    left: -40px;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
    pointer-events: none;
}

@media screen and (min-width: 901px) {
    #fu3+div>.content_wrapper {
        display: grid;
        grid-template-rows: 50% 1fr;
        grid-template-columns: 40% 1fr;
    }

    #fu3+div .wrapper_item {
        grid-row: 1 / 3;
        grid-column: 2 / 3;
        padding-left: 100px;
    }

    #fu3+div .inner_item {
        min-height: 140px;
    }
}

@media screen and (max-width: 900px) {
    #fu3+div .inner_item {
        width: calc(100% - 20px) !important;
        margin-right: 0;
        margin-left: auto !important;
    }

    #fu3+div .inner_item:after {
        width: 20px;
        left: -20px;
    }
}

/*---CONTACT---*/

#cta+div {
    width: 90%;
    margin-left: 0;
    min-height: 350px;
    display: flex;
    align-items: center;

}

#cta+div:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("/common/upload_data/fudosan-inheritance/image/bg2_5.jpg") no-repeat top left / cover;
    pointer-events: none;
}

#cta+div .heading.block_header_1 p {
    font-family: "Josefin Sans", sans-serif !important;
    font-weight: 500;
}

#cta+div a {
    background: var(--i_sub2_color);
    width: 150px;
    height: 150px;
    min-width: auto;
    border: none;
    border-radius: 50%;
    outline: 3px dotted var(--i_txt_color);
    outline-offset: -6px;
}

#cta+div a:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url("/common/upload_data/fudosan-inheritance/image/arrows.png") no-repeat center / 60px;
    transition: 0.4s ease-in-out;
    pointer-events: none;
}

#cta+div a:hover {
    background: var(--i_bg_color);
}

#cta+div a:hover:before {
    left: 10px;
}

@media screen and (min-width: 901px) {
    #cta+div>.content_wrapper {
        display: grid;
        grid-template-columns: 2fr 1fr;
        width: calc(100% - 50px);
    }

    #cta+div .heading+.add_text {
        margin-top: 0;
        margin-bottom: 0;
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }

    #cta+div a {
        text-decoration-color: rgba(76, 70, 55, 0.3);
        grid-column: 2 / 3;
        grid-row: 2 / 3;
    }
}

@media screen and (max-width: 900px) {
    #cta+div {
        width: 100%;
        margin-top: 60px;
    }

    #cta+div>.content_wrapper {
        display: flex;
        flex-direction: column;
        align-items: end;
    }

    #cta+div .heading.block_header_1 {
        width: 100%;
    }

    #cta+div a {
        width: 80px;
        height: 80px;
    }

    #cta+div a:before {
        background-size: 30px;
    }
}

/*---サービスの流れ---*/

#fu4+div .wrapper_item {
    overflow: visible;
    counter-reset: number 0;
}

#fu4+div .inner_item {
    width: 100%;
    margin-left: 0 !important;
    background: #f5ecd2;
    padding: 30px 20px;
    position: relative;
}

#fu4+div .inner_item:before {
    position: absolute;
    display: block;
    counter-increment: number 1;
    content: "Step 0" counter(number);
    top: -25px;
    left: 170px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    color: #cc7545;
    z-index: 3;
    pointer-events: none;
}

#fu4+div .inner_item:not(:last-of-type) {
    margin-bottom: 65px;
}

#fu4+div .inner_item:not(:last-of-type):after {
    position: absolute;
    display: block;
    content: "";
    width: 30px;
    height: 30px;
    background: var(--i_btn_color);
    bottom: -50px;
    left: calc(170px/2 - 20px);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    pointer-events: none;
}

#fu4+div .heading.block_header_1 p {
    padding: 45px 12px 0 0;
}

#fu4+div .heading.block_header_1 p:before {
    position: absolute;
    display: block;
    content: "";
    width: 61px;
    height: 100%;
    top: 0;
    right: 0;
    background: url("/common/upload_data/fudosan-inheritance/image/s_h.png") no-repeat top right / contain;
    pointer-events: none;
}

#fu4+.composite_box01 .inner_item_img {
    max-width: 120px;
    margin-bottom: 0;
}

#fu4+.composite_box01 .inner_item_img img {
    max-width: 120px !important;
    height: 120px !important;
}

@media screen and (min-width: 901px) {
    #fu4+div .content_wrapper {
        display: flex;
        justify-content: space-between;
    }

    #fu4+div .heading.block_header_1 {
        -ms-writing-mode: tb-rl;
        writing-mode: vertical-rl;
        margin-bottom: 0;
    }

    #fu4+div .wrapper_item {
        padding-bottom: 0px;
        width: 90%;
        margin-top: 100px;
    }

    #fu4+div .inner_item {
        flex-direction: row;
        align-items: center;
    }

    #fu4+div .inner_item_txt {
        padding-left: 30px;
    }
}

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

    #fu4+div .heading.block_header_1 p {
        padding: 35px 0 20px;
    }

    #fu4+div .heading.block_header_1 p:before {
        width: 60px;
        background: url("/common/upload_data/fudosan-inheritance/image/sp_s_h.png") no-repeat top left / contain;
        right: auto;
        left: 0;
    }

    #fu4+div .inner_item:before {
        left: 10px;
    }

    #fu4+.composite_box01 .inner_item_img {
        margin-bottom: 20px;
    }

    #fu4+div .inner_item:not(:last-of-type):after {
        left: calc(50% - 15px);
    }
}

/*---買取後の安心サポート---*/

#fu5+section>.content_wrapper {
    border: 1px solid var(--i_txt_color);
    background: #f5ecd2;
}

#fu5+section>.content_wrapper:before,
#fu5+section>.content_wrapper:after {
    position: absolute;
    display: block;
    content: "";
    height: 100%;
    bottom: -20px;
    max-width: 280px;
    z-index: 1;
    pointer-events: none;
}

#fu5+section>.content_wrapper:before {
    width: 15vw;
    background: url("/common/upload_data/fudosan-inheritance/image/obj6.png") no-repeat bottom left / contain;
    left: -35px;
    min-width: 150px;
}

#fu5+section>.content_wrapper:after {
    width: 12vw;
    background: url("/common/upload_data/fudosan-inheritance/image/obj7.png") no-repeat bottom right / contain;
    right: -30px;
    min-width: 120px;
}

#fu5+section .heading.block_header_6 .h {
    font-size: 3.5rem;
    padding: 20px 0;
}

#fu5+section .wrapper_item {
    padding: 40px 40px 80px !important;
}

@media screen and (max-width: 800px) {
    #fu5+section .wrapper_item {
        padding: 40px 20px 150px !important;
    }
}

@media screen and (max-width: 480px) {
    #fu5+section>.content_wrapper:before {
        left: -10px;
    }

    #fu5+section>.content_wrapper:after {
        right: -10px;
    }
}

/*---事例紹介---*/

#b+div li {
    padding: 20px 0;
}

#b+div .contents_btn01 a,
#c+div .contents_btn01 a {
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--i_txt_color);
    padding-right: 20px;
    border-radius: 0;
}

#b+div .contents_btn01 a:before,
#c+div .contents_btn01 a:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    right: 10px;
    background: url("/common/upload_data/fudosan-inheritance/image/arrows.png") no-repeat right center / 40px;
    transition: 0.4s ease-in-out;
    pointer-events: none;
}

#b+div .contents_btn01 a span,
#c+div .contents_btn01 a span {
    text-align: left;
}

#b+div .contents_btn01 a:hover,
#c+div .contents_btn01 a:hover {
    opacity: 0.6;
}

#b+div a:hover:before,
#c+div a:hover:before {
    right: 0;
}

#b+div>.content_wrapper {
    padding: 0 40px 50px;
}

#b+div>.content_wrapper:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: calc(100% - 30px);
    background: var(--i_sub2_color);
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

@media screen and (min-width: 901px) {
    #b+div>.content_wrapper {
        display: grid;
        grid-template-columns: 35% 1fr 1fr;
    }

    #b+div ul {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
        min-width: auto;
    }

    #b+div .contents_btn01 {
        grid-column: 3 / 4;
        grid-row: 2 / 3;
        display: grid;
        place-content: flex-end flex-end;
    }

    #b+div .heading+.add_text {
        grid-column: 2 / 4;
        grid-row: 1 / 2;
        margin: 0;
    }
}

@media screen and (max-width: 900px) {
    #b+div>.content_wrapper {
        padding: 0 20px 50px;
    }

    #b+div>.content_wrapper:before {
        height: calc(100% - 20px);
    }
}

/*---コラム---*/

#c+div>.content_wrapper {
    background: var(--i_sub2_color);
    margin-right: 0;
    max-width: 1800px !important;
    padding: 80px 5%;
    width: calc(100% - 30px);
}

@media screen and (min-width: 901px) {
    #c+div>.content_wrapper {
        display: grid;
        grid-template-columns: 35% 1fr;
        grid-template-rows: 35% 10% 1fr;
    }

    #c+div ul {
        grid-column: 2 / 3;
        grid-row: 1 / 4;
        min-width: auto;
    }

    #c+div .contents_btn01 {
        grid-column: 1 / 2;
        grid-row: 3 / 4;
        display: grid;
        place-content: flex-start;
    }

    #c+div .heading+.add_text {
        grid-column: 1 / 2;
        grid-row: 2 / 3;
        margin: 0;
    }
}

/*---見出し---*/

#b+div .heading.block_header_1 p,
#c+div .heading.block_header_1 p {
    padding-left: 45px;
    padding-bottom: 0;
}

#b+div .heading.block_header_1 p::before,
#c+div .heading.block_header_1 p::before {
    position: absolute;
    display: block;
    content: "";
    top: 50%;
    transform: translateY(-52%);
    left: 0;
    width: 17px;
    height: 17px;
    pointer-events: none;
    border: 3px dotted var(--i_txt_color);
    border-radius: 50px;
}

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

    #b+div .heading.block_header_1 p,
    #c+div .heading.block_header_1 p {
        padding-left: 35px;
    }
}

/*--- 不動産の持分買取 ---*/

#fu6+section .inner_item_txt:before {
    position: absolute;
    display: block;
    content: "";
    width: 150px;
    height: 100%;
    top: 0;
    right: 0;
    background: url("/common/upload_data/fudosan-inheritance/image/obj8.png") no-repeat left center / contain;
    pointer-events: none;
}

#fu6+section .inner_item_txt {
    padding-right: 180px;
    padding-left: 50px;
}

#fu6+section .heading.block_header_2 .h {
    font-size: 4rem !important;
    font-weight: 600;
}

#fu6+section .heading.block_header_2 p {
    font-size: 1.7rem !important;
}

@media screen and (min-width: 901px) {
    #fu6+section .inner_item_img {
        aspect-ratio: 4/5;
    }

}

@media screen and (max-width: 900px) {
    #fu6+section .heading.block_header_2 .h {
        font-size: 2.5rem !important;
    }

    #fu6+section .heading.block_header_2 p {
        font-size: 1.5rem !important;
    }

    #fu6+section .inner_item_img img {
        width: 100% !important;
    }

    #fu6+section .inner_item_txt:before {
        top: -30px;
        right: 10px;
        background-position: top right;
        background-size: 20vw;
        min-width: 150px;
        width: 100%;
    }
}

/*---CONTACT2---*/

#cta2+section {
    min-height: 330px;
    display: flex;
    align-items: center;
}

#cta2+section .heading.block_header_6 .h {
    font-family: "Josefin Sans", sans-serif !important;
    font-weight: 500;
}

@media screen and (min-width: 901px) {
    #cta2+section .inner_item_txt {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    #cta2+section .inner_item_txt p {
        padding-left: 50px;
        margin-left: 50px;
        border-left: 1px solid;
    }
}

/*------------------MVアニメーション------------------*/

#mv .mv_text h2>span,
#mv .mv_text h2>span>span {
    opacity: 0;
}

#mv .mv_text h2>span {
    overflow: hidden;
    transform: translate(0, -100%);
    display: inline-grid;
}

#mv .mv_text h2.active>span:nth-of-type(1) {
    transition: opacity 0.1s 0s, transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s;
}

#mv .mv_text h2.active>span:nth-of-type(2) {
    transition: opacity 0.1s 0.5s, transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s 0.5s;
}

#mv .mv_text h2.active>span:nth-of-type(3) {
    transition: opacity 0.1s 1s, transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s 1s;
}

#mv .mv_text h2>span>span {
    display: block;
    transform: translate(0, 100%);
}

#mv .mv_text h2.active>span:nth-of-type(1)>span {
    transition: opacity 0.1s 0s, transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s;
}

#mv .mv_text h2.active>span:nth-of-type(2)>span {
    transition: opacity 0.1s 0.5s, transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s 0.5s;
}

#mv .mv_text h2.active>span:nth-of-type(3)>span {
    transition: opacity 0.1s 1s, transform cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s 1s;
}

#mv .mv_text h2.active>span,
#mv .mv_text h2.active>span>span {
    transform: translate(0, 0);
    opacity: 1;
}

#mv .mv_text h2 span.txt:before {
    height: 0;
}

#mv .mv_text h2.active span.txt:before {
    height: calc(100% - 15px);
}

#mv .mv_text h2.active>span:nth-of-type(1) span.txt:before {
    transition: cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s 1.5s;
}

#mv .mv_text h2.active>span:nth-of-type(2) span.txt:before {
    transition: cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s 1.8s;
}

#mv .mv_text h2.active>span:nth-of-type(3) span.txt:before {
    transition: cubic-bezier(0.215, 0.61, 0.355, 1) 0.8s 2.1s;
}

@media screen and (max-width: 650px) {
    #mv .mv_text h2.active span.txt:before {
        height: calc(100% + 15px);
    }
}

/*--------*/

.mv_scroll {
    animation: ease-in-out 3s sc infinite;
}

@keyframes sc {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/*---spテキスト---*/

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

    .inner_item_txt p,
    .heading+.add_text {
        text-align: left !important;
    }
}