.pageTitle {
    position: relative;
    margin-bottom: 19px;
    z-index: 1;
}

.pageTitle::before {
    content: "";
    position: absolute;
    top: -64px;
    left: -229px;
    width: 506px;
    aspect-ratio: 504/451;
    background: url(../images/flow/section-flow-photo-07.png)no-repeat top left/ 100%;
    z-index: -1;
}

.sectionFlow {
    position: relative;
    z-index: 1;
    padding-bottom: 72px;
}

.sectionFlow .flowList li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #fff;
    z-index: 1;
    padding: 34px 0 32px;
}

.sectionFlow .flowList li:not(:last-child) {
    margin-bottom: 77px;
}

.sectionFlow .flowList li:not(:last-child)::before {
    content: "";
    position: absolute;
    bottom: -52px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 27px solid #333333;
}

.sectionFlow .flowList li .flowStep {
    position: relative;
    font-size: 20px;
    color: #b3b3b3;
    border-bottom: 1px solid #b3b3b3;
    letter-spacing: 0.5px;
    padding: 0 6px 3px 20px;
    margin-right: 28px;
    margin-top: -14px;
}

.sectionFlow .flowList li .flowStep .number {
    display: inline-block;
    font-size: 32px;
    font-weight: 600;
    margin-left: 9px;
    letter-spacing: -2px;
    transform: translateY(2px);
}

.sectionFlow .flowList li .flowWrap {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: calc(100% - 221px);
}

.sectionFlow .flowList li .flowBox {
    width: calc(100% - 146px);
}

.sectionFlow .flowList li .flowBox .flowName {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.sectionFlow .flowList li .flowBox .flowSub {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-left: 1px;
    line-height: 1.61;
}

.sectionFlow .flowList li .flowBox .flowSub a {
    text-decoration: underline;
    text-underline-offset: 6px;
}

.sectionFlow .flowList li .flowBox .flowSub a.tel {
    text-decoration: none;
}

.sectionFlow .flowList li .flowPhoto {
    width: 194px;
}

.sectionFlow .flowList li .flowPhoto img {
    width: 100%;
}

@media(min-width: 1281px) {
    .pageTitle::before {
        left: calc((100% - 1291px) / 2);
    }
}

@media(min-width: 769px) {
    .sectionFlow .flowList li .flowPhoto {
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
    }

    .sectionFlow .flowList li .flowBox .flowSub .tel {
        pointer-events: none;
    }
}

@media(max-width: 768px) {
    .pageTitle {
        padding: 50px 0;
    }

    .pageTitle::before {
        top: -2vw;
        left: -12vw;
        width: 60vw;
        max-width: 270px;
    }

    .sectionFlow .flowList li {
        padding: 7vw;
    }

    .sectionFlow .flowList li .flowWrap {
        width: 100%;
        margin-bottom: 5vw;
    }

    .sectionFlow .flowList li .flowStep {
        display: block;
        width: calc(100% + 7vw);
        font-size: clamp(18px, 3.2vw, 24px);
        padding: 0 0 1vw 7vw;
        margin-left: -7vw;
        margin-right: 0;
        margin-bottom: 3vw;
    }

    .sectionFlow .flowList li .flowStep .number {
        font-size: clamp(36px, 8vw, 46px);
    }

    .sectionFlow .flowList li .flowBox {
        width: 100%;
    }

    .sectionFlow .flowList li .flowBox .flowName {
        font-size: clamp(20px, 3.6vw, 30px);
    }

    .sectionFlow .flowList li .flowBox .flowSub {
        font-size: clamp(14px, 2.5vw, 18px);
    }

    .sectionFlow .flowList li .flowPhoto {
        width: 45vw;
        margin: 0 auto;
    }

    .sectionFlow .flowList li .flowPhoto img {
        width: 100%;
    }

    .sectionNext .nextWrap .nextBox .nextPage {
        font-size: clamp(35px, 8vw, 60px);
    }
}

@media(max-width: 430px) {
    .pageTitle::before {
        left: -21vw;
    }

    .sectionFlow .flowList li .flowWrap {
        margin-bottom: 10vw;
    }
}