@charset "UTF-8";

/*================
ご入居までのながれ
================*/
.flow-howto-root {
    display: contents;
}
.page-flow .mv-lead .page-lead {
    max-width: 1000px;
}
.page-flow .mv-lead .page-lead + .page-lead {
    margin-top: 16px;
}
.page-flow .mv-lead {
    margin-bottom: 160px;
}
.page-flow .main > .sec-contact {
    margin-top: 160px;
}
.page-flow .bc-wrap.sp-mode-01 + .sec-contact {
    margin-top: 160px;
}

/* 見学〜面談：色背景 */
.sec-flow-visit {
    position: relative;
    padding-top: 80px;
    padding-bottom: 123px;
    background-color: #F7F9F4;
}
.sec-flow-visit::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 100%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 45px 75px 0 75px;
    border-color: #F7F9F4 transparent transparent transparent;
}
.sec-flow-visit + .sec-flow-contract {
    margin-top: 122px;
}
.sec-flow-contract {
    padding-bottom: 0;
}
.sec-flow > .inner-1320 {
    gap: 40px;
}

.flow-group-ttl {
    text-align: center;
}

.flow-list {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}
.flow-list::before {
    content: "";
    position: absolute;
    top: 40px;
    bottom: 0;
    left: 39px;
    z-index: 0;
    width: 2px;
    background-color: var(--color-main);
}
/* 見学〜面談：リスト下端の点線（Figma Vector 10） */
.sec-flow-visit .flow-list::after {
    content: "";
    position: absolute;
    top: calc(100% + 7px);
    left: 40px;
    z-index: 0;
    width: 3px;
    height: 35px;
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='3' height='35' viewBox='0 0 3 35' fill='none'%3E%3Cpath d='M1.5 1.5V33.5' stroke='%23447D1A' stroke-width='3' stroke-linecap='round' stroke-dasharray='1 13'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 3px 35px;
}
.flow-item {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}
.flow-item + .flow-item {
    margin-top: 80px;
}
.flow-num {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--color-main);
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.8;
}
.flow-body {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 644px;
}
.flow-ttl {
    margin: 0 0 20px;
}
.flow-body .txt-02 {
    margin: 0;
}
.flow-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 10px 0 0;
}
.flow-note-mark {
    flex-shrink: 0;
}
.flow-img {
    flex-shrink: 0;
    width: 516px;
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
}
.flow-img img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* SP
----------------------------------------------------------*/
@media only screen and (max-width: 768px) {
    .page-flow .mv-lead {
        margin-bottom: 32.553vw;
    }
    .page-flow .mv-lead .page-lead + .page-lead {
        margin-top: 4.167vw;
    }
    /* SPパンくず余白は site_frame_sp の共通指定（上250 / 下20）に委譲 */
    .page-flow .main > .sec-contact,
    .page-flow .bc-wrap.sp-mode-01 + .sec-contact {
        margin-top: 0;
    }

    .sec-flow-visit {
        padding-top: 19.532vw;
        padding-bottom: 31.25vw;
    }
    .sec-flow-visit::after {
        display: none;
    }
    .sec-flow-contract {
        padding-top: 0;
        padding-bottom: 0;
        /* background-color: #F7F9F4; */
    }
    .sec-flow-visit + .sec-flow-contract {
        margin-top: 19.532vw;
    }
    .sec-flow > .inner-1320 {
        gap: 8.334vw;
    }

    .flow-list::before {
        top: 6.51vw;
        bottom: 0;
        left: 6.38vw;
        width: 0.261vw;
    }
    .sec-flow-visit .flow-list::after {
        left: 6.51vw;
        width: 0.781vw;
        height: 9.115vw;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='70' viewBox='0 0 6 70' fill='none'%3E%3Cpath d='M3 3V67' stroke='%23447D1A' stroke-width='6' stroke-linecap='round' stroke-dasharray='1 13'/%3E%3C/svg%3E");
        background-size: 0.781vw 9.115vw;
    }
    .flow-item {
        flex-wrap: wrap;
        column-gap: 7.813vw;
        row-gap: 7.813vw;
    }
    .flow-item + .flow-item {
        margin-top: 19.532vw;
    }
    .flow-num {
        width: 13.021vw;
        height: 13.021vw;
        font-size: 7.813vw;
        line-height: 1.8;
    }
    .flow-body {
        flex: 1 1 calc(100% - 20.834vw);
        max-width: none;
        padding-top: 0;
    }
    .flow-ttl {
        margin-bottom: 5.209vw;
    }
    .flow-body .txt-02 {
        font-size: 4.688vw;
        line-height: 1.9;
    }
    .flow-note {
        gap: 1.302vw;
        margin-top: 2.604vw;
        font-size: 4.167vw;
        line-height: 1.3;
    }
    .flow-img {
        width: calc(100% - 20.834vw);
        margin-left: 20.834vw;
        border-radius: 2.605vw;
    }
    .flow-img img {
        height: auto;
        aspect-ratio: 528 / 400;
    }
}
