@charset "UTF-8";

/* 正本は式場詳細ページの「ご葬儀の流れ」。partial('flow') の見た目を全ページで共有する。
   SP 調整も同梱する（hall-detail は PC/SP wrapper 配下で別途調整するため例外）。 */
.flow-steps {
    display: flex;
    flex-direction: column;
}
.flow-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    position: relative;
    padding-bottom: 24px;
}
.flow-step:last-child {
    padding-bottom: 0;
}
.flow-step .fs-num {
    position: relative;
    z-index: 2;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-brand-cta);
    color: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family-accent);
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 3px 8px rgba(21, 95, 61, 0.25);
}
.flow-step::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 50px;
    bottom: -2px;
    width: 2px;
    background: color-mix(in srgb, var(--color-brand-primary) 30%, white);
    z-index: 1;
}
.flow-step:last-child::before {
    display: none;
}
.flow-step .fs-body {
    padding-top: 5px;
}
.flow-step .fs-h {
    font-size: 17px;
    font-weight: 500;
    color: var(--color-brand-primary-dark);
    margin-bottom: 5px;
    letter-spacing: 0.02em;
}
.flow-step .fs-d {
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--color-text-primary);
    text-wrap: pretty;
}

@media (max-width: 767px) {
    .flow-step {
        grid-template-columns: 42px 1fr;
        gap: 14px;
        padding-bottom: 20px;
    }

    .flow-step .fs-num {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .flow-step::before {
        left: 20px;
        top: 44px;
    }

    .flow-step .fs-h {
        font-size: 15.5px;
    }

    .flow-step .fs-d {
        font-size: 12.5px;
    }
}
