@charset "utf-8";

/* 士業の先生方へ */

.estate-pro-box {
    padding: 5rem;
    background: var(--white) url(../../../../uploads/estate_bg01.svg) no-repeat center /cover;
    border: .5rem solid var(--primary);
}

.estate-pro-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 119rem;
    margin: 0 0 0 auto;
}

.estate-pro-text-box {
    flex: 1;
    max-width: 65rem;
}

.estate-pro-title.title30 {
    justify-content: flex-start;
    font-weight: 500;
}

.estate-pro-text {
    margin: 4rem 0 0;
}

.estate-pro-img {
    width: 45%;
    max-width: 48rem;
}

.estate-voice-title {
    width: 100%;
    max-width: max-content;
    margin: 0 auto;
    text-align: center;
}

.estate-voice-title .br-none {
    display: none;
}

.estate-voice-title::before,
.estate-voice-title::after {
    content: "";
    display: block;
    width: 2.1rem;
    aspect-ratio: 21/36;
}

.estate-voice-title::before {
    background: url(../../../../uploads/title_deco01_left.png) no-repeat center /contain;
}

.estate-voice-title::after {
    background: url(../../../../uploads/title_deco01_right.png) no-repeat center /contain;
}

.estate-voice-box {
    display: flex;
    justify-content: space-between;
    gap: 6rem 2rem;
    margin: 6rem 0 0;
}

.estate-voice-item {
    position: relative;
    width: 48%;
    max-width: 63.5rem;
    padding: 5rem;
    border-radius: 1rem;
    background: var(--primary);
    color: var(--white);
}

.estate-voice-item::before {
    content: "";
    position: absolute;
    top: calc(100% - 1px);
    right: 0;
    left: 0;
    width: 3rem;
    aspect-ratio: 30/35;
    margin: auto;
    background: url(../../../../uploads/fukidashi_tail03.svg) no-repeat top center /contain;
}

.estate-voice-item-title {
    font-size: 2.2rem;
    line-height: 1.6;
    letter-spacing: 0.08em;
    font-weight: 500;
    font-family: var(--font-family02);
}

.estate-voice-item-text01 {
    width: 100%;
    max-width: max-content;
    margin: 1.5rem 0 0;
    padding: 0 1rem;
    color: var(--primary05);
    background: var(--primary02);
}

.estate-voice-item-text02 {
    margin: 3rem 0 0;
}

.estate-flow-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem 2rem;
}

.estate-flow-text-box {
    flex: 1;
    max-width: 65rem;
}

.estate-flow-title.title30 {
    justify-content: flex-start;
}

.estate-flow-text {
    margin: 4rem 0 0;
}

.estate-flow-btn-box {
    margin: 4rem 0 0;
}

.estate-flow-img {
    position: relative;
    width: 45%;
    max-width: 58rem;
}

.estate-flow-img::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: -5rem;
    bottom: -5rem;
    width: 100%;
    height: 100%;
    background: url(../../../../uploads/cmn_img_bg02.svg)no-repeat right bottom/cover;
}

.marker-title-box .title35 {
    flex-direction: column;
    gap: 0;

}

.marker-title-box .marker-primary04 strong {
    background-size: 100% 100%;
}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=1024px) {

    .estate-flow-img::before {
        right: -2rem;
        bottom: -2rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=768px) {

    .estate-voice-box {
        flex-direction: column;
        align-items: center;
    }

    .estate-voice-item {
        width: 100%;
    }

    .estate-pro-box {
        padding: 4rem 1.5rem;
    }

    .estate-pro-inner {
        flex-direction: column-reverse;
        margin: 0 auto;
    }

    .estate-pro-text {
        margin: 3rem 0 0;
    }

    .estate-pro-img {
        width: 100%;
        max-width: 65rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */
/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=576px) {

    .estate-voice-item {
        padding: 4rem 2rem;
    }

    .estate-voice-title .br-none {
        display: block;
    }

    .estate-flow-flex {
        flex-direction: column-reverse;
    }

    .estate-flow-img {
        width: 100%;
    }

    .estate-flow-btn-box {
        display: flex;
        justify-content: center;
    }

    .marker-title-box .title35 {
        font-size: 2.2rem;
    }

    .in-worry-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 2.5rem 1rem;
    }

    .estate-case-flex {
        gap: 1rem 3%;
    }

    .estate-case-flex .in-case-item {
        width: 31%;
    }

    .in-case-item-text {
        font-size: 1.2rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */
/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */