ol.breadcrumb {
    background-color: #e8f7f5;
}

.flow-container {
    max-width: 1050px;
    margin: 0 auto 30px;
    /* background-color: #dbf0f0; */
    padding: 40px;
    border-radius: 10px;
}

.phase-section {
    max-width: 970px;
    margin: 0 auto;
}

.phase-title {
    font-size: clamp(20px,2.5vw,24px);

    margin-bottom: 10px;
    font-weight: bold;
}

/* カードの基本構造 */
.step-card, .start-card {
    display: flex;
    background: #fff;
    border: 2px solid #26b7ad;
    border-radius: 8px;
    margin-bottom: 30px;
    position: relative;
    overflow: visible;
}

/* 下向き矢印 */
.step-card:not(:last-child)::after,
.phase-section:first-of-type .step-card:last-child::after {
    content: "";
    position: absolute;
    bottom: -16px;
    left: 58px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 15px solid #26b7ad;
    z-index: 2;
}

/* STEPバッジ */
.step-badge {
    background-color: #26b7ad;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    font-weight: bold;
}

.step-badge span {
    font-size: clamp(28px,2.5vw,40px);
    line-height: 1;
    color: #fff;
}

/* STARTバッジ */
.start-card {
    border-color: #ff7e00;
    max-width: 970px;
    margin: 0 auto;
}
.start-badge {
    background-color:#dbf0f0;
    color: #fff;
    padding: 20px;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px,2.5vw,30px);
    font-weight: bold;
    background-color: #ff7e00;
}

/* コンテンツ部分 */
.step-content {
    padding: 30px;
    flex: 1;
}

.step-content h3 {
    color: #26b7ad;
    margin-bottom: 5px;
    font-size: clamp(20px,2.5vw,24px);
    line-height: 1.5;
}

.step-content h3.orange-text {
    color: #ff7e00;
}

.step-content p {
    margin: 0;
}


/* モバイル対応 (スマホ版) */
@media (max-width: 768px) {
    .flow-container {
        padding: 20px 10px;
    }
    .step-badge {
        min-width: 70px;
    }
    .step-content {
        padding: 20px 10px;
    }
    .step-card:not(:last-child)::after, .phase-section:first-of-type .step-card:last-child::after {
        left: 28px;
    }
    .start-badge {
        padding: 14px;
        min-width: 80px;
    }
}