@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,
a[id^="fu2"]+div: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 .h {
    padding-right: 300px;
    padding-top: 150px;
    position: relative;
}

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

#fu+div .wrapper_item {
    border-bottom: 1px solid var(--i_txt_color);
    padding-bottom: 50px;
}

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

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

    #fu+div:before,
    a[id^="fu2"]+div:before {
        width: 100%;
    }

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

/*---当社は不動産の共有持ち分の買い取りを行っています---*/

a[id^="fu2"]+div:before {
    height: 100%;
}

a[id^="fu2"]+div .wrapper_item {
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    counter-reset: number 0;
}

a[id^="fu2"]+div .inner_item {
    width: 30% !important;
}

a[id^="fu2"]+div .inner_item:before {
    position: absolute;
    display: block;
    counter-increment: number 1;
    content: "Case 0" counter(number);
    top: 40px;
    left: 0;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 500;
    font-size: 3rem;
    color: #cc7545;
    z-index: 3;
    pointer-events: none;
}

a[id^="fu2"]+div .inner_item_txt {
    background: var(--i_btn_color) !important;
    padding-top: 80px !important;
    min-height: 300px !important;
}

a[id^="fu2"]+div .inner_item_txt,
a[id^="fu2"]+div .inner_item_img {
    clip-path: polygon(100% 24%, 100% 100%, 0 100%, 0 24%, 50% 0);
}

a[id^="fu2"]+div .inner_item_txt .h {
    color: var(--i_txt_color) !important;
}

#fu2+div .heading+.add_text {
    margin-bottom: 60px;
}

#fu2+div .inner_item:nth-of-type(n+4) {
    margin-top: 30px;
}

a[id^="fu2"]+div .wrapper_item {
    border: 10px solid #fcecbb;
    padding: 60px 20px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;

}

#fu2+div .wrapper_item:before {
    position: absolute;
    display: block;
    content: "不動産の持分のみ買取します！";
    font-size: 3.2rem;
    font-weight: bold;
    pointer-events: none;
    top: -48px;
    width: 100%;
    left: 0;
    color: #cc7545;
}

@media screen and (max-width: 700px) {
    a[id^="fu2"]+div .inner_item_txt {
        min-height: 250px !important;
    }

    a[id^="fu2"]+div .inner_item:not(:last-of-type) {
        margin-bottom: 30px !important;
    }

    #fu2+div .wrapper_item::before {
        font-size: 2.2rem;
        top: -35px;
    }

    a[id^="fu2"]+div .wrapper_item {
        padding: 35px 10px;
    }

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

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

    a[id^="fu2"]+div .inner_item_txt .h {
        font-size: 1.55rem !important;
    }
}

/*---お客様一人ひとりの事情に合わせた
最適な提案を行いますので、ぜひご相談ください。---*/
#fu3+section:before {
    position: absolute;
    display: block;
    content: "";
    width: 95vw;
    height: 15px;
    top: 0;
    right: 0;
    background: var(--i_sub2_color);
    pointer-events: none;
}

#fu3+section>.content_wrapper {
    border: 1px solid var(--i_txt_color);
    padding: 65px 40px;
}

#fu3+section>.content_wrapper::before,
#fu3+section>.content_wrapper::after {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 100%;
    bottom: -20px;
    pointer-events: none;
    background-size: 200px !important;
}

#fu3+section>.content_wrapper:before {
    background: url("/common/upload_data/fudosan-inheritance/image/obj2.png") no-repeat bottom left;
    right: 30px;
}

#fu3+section>.content_wrapper:after {
    background: url("/common/upload_data/fudosan-inheritance/image/obj3.png") no-repeat bottom right;
    left: 30px;
}

#fu3+section .heading.block_header_6 .h {
    font-size: 3.5rem;
}

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

    #fu3+section>.content_wrapper::before,
    #fu3+section>.content_wrapper::after {
        background-size: 15vw !important;
    }
}

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

@media screen and (max-width: 700px) {
    #fu3+section>.content_wrapper {
        padding: 50px 20px;
    }

    #fu3+section>.content_wrapper::before,
    #fu3+section>.content_wrapper::after {
        background-size: 85px !important;
    }
}

/*---共有状態の解消方法には3つの方法がございます---*/

#fu4+div .wrapper_item {
    flex-wrap: nowrap;
    flex-direction: column;
    overflow: visible;
    counter-reset: number 0;
}

#fu4+div .inner_item {
    width: 100%;
    margin-left: 0 !important;
    background: #f5ecd2;
    border-left: 10px solid var(--i_btn_color);
    padding: 20px;
    position: relative;
}

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

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

@media screen and (min-width: 901px) {
    #fu4+div>.content_wrapper {
        display: flex;
        align-items: baseline;
    }

    #fu4+div .heading.block_header_1 {
        width: 40%;
    }
}

/*---CONTACT---*/

#cta+div {
    width: 90%;
    margin-right: 0;
    margin-left: auto;
    margin-top: 80px;
    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/bg.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;
    }
}

/*---共有不動産では、多くの問題やトラブルが発生します---*/

#fu5+div .inner_item {
    width: 100%;
    margin-left: 0 !important;
    background: #f5ecd2;
    border-left: 10px solid var(--i_btn_color);
    padding: 20px;
    position: relative;
}

#fu5+div .heading.block_header_2 {
    display: inline-block;
    border-bottom: 2px solid var(--i_txt_color);
    padding-bottom: 10px;
}

#fu5+div .heading.block_header_2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50px;
    width: 30px;
    height: 2px;
    box-sizing: border-box;
    background-color: var(--i_txt_color);
    box-shadow: 0 2px 0 var(--i_bg_color), 0 -2px 0 var(--i_bg_color);
    rotate: -50deg;
}

@media screen and (min-width: 901px) {
    #fu5+div .heading.block_header_2 {
        display: flex;
        align-items: center
    }

    #fu5+div .heading.block_header_2 .h {
        font-size: 3rem;
    }

    #fu5+div .heading.block_header_2 p {
        font-size: 2rem;
        padding-left: 30px;
    }
}

/*---相談事例---*/

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

#b+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 {
    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 {
    text-align: left;
}

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

#b+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: 2fr 1fr;
    }

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

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

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

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

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

#fu6+div .inner_item_txt,
#fu6+div .inner_item_img {
    clip-path: polygon(85% 0, 100% 50%, 85% 100%, 0% 100%, 0% 50%, 0% 0%);
}

#fu6+div .inner_item_txt {
    background: var(--i_btn_color) !important;
    min-height: 300px !important;
    padding: 30px 40px 30px 20px;
    align-content: flex-start;
}

#fu6+div .inner_item_txt .h,
#fu6+div .inner_item_txt p {
    color: var(--i_txt_color) !important;
}

#fu6+div .wrapper_item {
    justify-content: space-between;
    counter-reset: number 0;
    overflow: visible;
}

#fu6+div .inner_item {
    width: calc(20% - 20px);
}

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

#fu6+div .heading.block_header_6 {
    margin-bottom: 50px;
}

#fu6+div .heading.block_header_6 .h {
    padding-right: 30px;
    padding-bottom: 0;
    background: var(--i_bg_color);
}

#fu6+div .heading.block_header_6:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--i_txt_color);
    top: calc(50% - 0.5px);
    right: 0;
    pointer-events: none;
}

@media screen and (max-width: 1300px) {
    #fu6+div .inner_item {
        width: 48%;
    }

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

    #fu6+div .inner_item_txt {
        min-height: auto !important;
    }
}

@media screen and (max-width: 680px) {
    #fu6+div .inner_item {
        width: 100% !important;
    }

    #fu6+div .inner_item_txt,
    #fu6+div .inner_item_img {
        clip-path: polygon(100% 0px, 100% 89%, 50.47% 110.50%, 0px 89%, 0px 0px);
        clip-path: polygon(100% 0, 100% 78%, 50% 100%, 0 78%, 0 0);
    }

    #fu6+div .inner_item:last-of-type .inner_item_txt,
    #fu6+div .inner_item:last-of-type .inner_item_img {
        clip-path: inherit;
    }

    #fu6+div .inner_item_txt {
        padding: 30px 20px 80px;
    }
}

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

#fu7+section>.content_wrapper {
    padding: 50px 50px 50px 0;
    width: calc(100% - 40px);
}

#fu7+section>.content_wrapper:before,
#fu7+section>.content_wrapper:after {
    position: absolute;
    display: block;
    content: "";
    width: calc(100% - 30px);
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

#fu7+section>.content_wrapper:before {
    bottom: 0;
    right: 0;
    border: 1px solid var(--i_txt_color);
}

#fu7+section>.content_wrapper::after {
    background: var(--i_sub2_color);
    z-index: -2;
    top: 18px;
    left: 5px;
}

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

#fu7+section .inner_item_img img {
    max-width: 400px !important;
}

@media screen and (min-width: 901px) {
    #fu7+section .inner_item_txt {
        padding-left: 4%;
    }
}

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

    #fu7+section>.content_wrapper {
        padding: 50px 20px;
    }

    #fu7+section>.content_wrapper::before,
    #fu7+section>.content_wrapper::after {
        width: 100%;
    }

    #fu7+section>.content_wrapper::after {
        top: 5px;
    }
}

/*---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;
    }
}

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

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

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

/*------------------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;
    }
}