#flow .icon {
    width: 15%;
    z-index: 5;
}
#flow-first {
    position: relative;
}
#flow-first .main-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#flow-first .item {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 30px;
    padding: 40px 0 55px 65px;
    margin-top: 45px;
    margin-bottom: 35px;
}
#flow-first .item:first-child {
    margin-top: 35px;
}
#flow-first .item .image {
    width: 17.3%;
    margin-right: 8.7%;
}
#flow-first .item .txt .top {
    display: flex;
    align-items: center;
}
#flow-first .item .txt .step {
    width: 30px;
    margin-right: 6px;
}
#flow-first .item .txt {
    width: 61.8%;
}
#flow-first .item:first-child .txt .number {
    width: 54px;
}
#flow-first .item .txt .number {
    width: 67px;
}
#flow-first .item .txt h3 {
    font-size: 18px;
    font-weight: bold;
    line-height: 4;
}
#flow-first .item .txt p {
    line-height: 2.2;
}
#flow-first .arrow {
    width: 44px;
}
@media screen and (max-width: 768px) {
    #flow #sub-mv .label img {
        width: 32px;
    }
    #flow .icon {
        width: 25%;
    }
    #flow-first .item {
        position: relative;
        z-index: 10;
        width: 100%;
        flex-direction: column;
        border-radius: 25px;
        padding: 30px 15px 40px 15px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    #flow-first .item:first-child {
        margin-top: 0;
    }
    #flow-first .item .image {
        width: auto;
        height: 116px;
        margin-right: 0;
        margin-bottom: 30px;
    }
    #flow-first .item .image img {
        height: 100%;
    }
    #flow-first .item .txt .top {
        margin-bottom: 13px;
    }
    #flow-first .item .txt .step {
        width: 30px;
        margin-right: 6px;
    }
    #flow-first .item .txt {
        width: 100%;
    }
    #flow-first .item:first-child .txt .number {
        width: 54px;
    }
    #flow-first .item .txt .number {
        width: 67px;
    }
    #flow-first .item .txt h3 {
        font-size: 16px; /* 修正済み */
        font-weight: bold;
        line-height: 1.9;
    }
    #flow-first .item .txt p {
        line-height: 2.4;
    }
    #flow-first .arrow {
        width: 65px;
    }
}

#flow-second {
    position: relative;
}
#flow-second .icon {
    position: absolute;
    top: -80px;
    right: -6%;
}
#flow-second h2 {
    color: #C22F4D;
    font-size: 30px;
    text-align: center;
    margin-bottom: 80px;
    margin-top: 70px;
}
#flow-second .top,
#flow-second .bottom {
    display: flex;
    align-items: center;
    justify-content: center;
}
#flow-second .top {
    margin-bottom: 95px;
}
#flow-second .arrow {
    width: 27.3%;
}
#flow-second .item {
    width: 27.8%;
    aspect-ratio: 1 / 1;
    background-color: #fff;
    border: 2px solid #C22F4D;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#flow-second .item h3 {
    color: #C22F4D;
    text-align: center;
    font-size: 18px;
}
#flow-second .top .item img {
    width: 34%;
    margin-bottom: 25px;
}
#flow-second .bottom .item img {
    width: 38%;
    margin-bottom: 25px;
}
#flow-second .bottom .item:last-child img {
    width: 88.1%;
    margin-bottom: 25px;
}
#flow-second .top .arrow {
    position: relative;
    margin-top: 135px;
}
#flow-second .top .arrow p {
    position: absolute;
    font-size: 18px;
    font-weight: bold;
}
#flow-second .bottom .arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 8.5%;
}
#flow-second .bottom .arrow p {
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}
#flow-second .bottom .arrow .left {
    margin-bottom: 20px;
}
#flow-second .bottom .arrow .left p {
    margin-bottom: 20px;
}
#flow-second .bottom .arrow .right p {
    margin-top: 20px;
}
#flow-second .top .arrow.first img {
    transform: rotate(135deg);
}
#flow-second .top .arrow.second img {
    transform: rotate(225deg);
}
#flow-second .bottom .arrow .right img {
    transform: rotate(180deg);
}
#flow-second .top .arrow.first p {
    position: absolute;
    left: 10px;
    top: -20px;
}
#flow-second .top .arrow.second p {
    position: absolute;
    text-align: right;
    right: 10px;
    top: -20px;
}
#flow-second .system-sp {
    display: none;
}
@media screen and (max-width: 768px) {
    #flow-second {
        padding-top: 95px;
    }
    #flow-second .icon {
        top: -50px;
        right: -35px;
    }
    #flow-second h2 {
        font-size: 16px; /* 修正済み */
        margin-bottom: 25px;
        margin-top: 0;
    }
    #flow-second .system {
        display: none;
    }
    #flow-second .system-sp {
        width: 100%;
        display: block;
    }
}

#flow-third {
    position: relative;
    padding-bottom: 180px;
}
#flow-third .icon {
    position: absolute;
    top: 110px;
    left: -6%;
}
#flow-third.bg-default.yellow::before {
    background-color: #F9F6EF;
}
#flow-third h2 {
    color: #C22F4D;
    font-size: 30px;
    text-align: center;
    margin-top: 110px;
}
#flow-third .main-block {
    display: flex;
    justify-content: space-between;
    margin-top: 110px;
}
#flow-third .item {
    width: 48%;
    border: 2px solid #C22F4D;
    border-radius: 15px;
}
#flow-third .item h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #C22F4D;
    text-align: center;
    font-size: 18px;
    color: #fff;
    height: 60px;
    border-radius: 15px 15px 0 0;
}
#flow-third .item .white {
    padding: 35px 35px 65px 35px;
    border-radius: 0 0 15px 15px;
    display: flex;
    height: calc(100% - 60px);
    flex-direction: column;
    justify-content: space-between;
}
#flow-third .item .white p {
    font-size: 16px;
    margin-bottom: 45px;
    line-height: 2;
    font-weight: bold;
}
#flow-third .item .white a {
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
    background-color: #C22F4D;
    color: #fff;
    border-radius: 8px;
    padding: 19px 0;
    font-weight: bold;
}
#flow-third .item .white a img {
    position: absolute;
    width: 27px;
    top: 50%;
    left: 29px;
    transform: translateY(-50%);
}
@media screen and (max-width: 768px) {
    #flow-third {
        padding-bottom: 60px;
    }
    #flow-third .icon {
        width: 30%;
        top: -10px;
        left: -55px;
    }
    #flow-third h2 {
        font-size: 16px; /* 修正済み */
        margin-top: 0;
    }
    #flow-third .main-block {
        margin-top: 35px;
        flex-direction: column;
    }
    #flow-third .item {
        width: 100%;
        margin-bottom: 20px;
    }
    #flow-third .item h3 {
        font-size: 14px; /* 修正済み */ /* 修正済み */
        height: 54px;
    }
    #flow-third .item .white {
        padding: 15px 25px 25px 25px;
        border-radius: 0 0 15px 15px;
        display: flex;
        height: calc(100% - 60px);
        flex-direction: column;
        justify-content: space-between;
    }
    #flow-third .item .white p {
        font-size: 14px; /* 修正済み */
        margin-bottom: 15px;
        line-height: 2.2;
    }
    #flow-third .item .white a {
        padding: 19px 0;
    }
    #flow-third .item .white a img {
        width: 27px;
        left: 16px;
    }
}