/* ==========================================================================
   制作の流れ 詳細ページ — タイムライン
   ========================================================================== */
.flow-timeline {
    max-width: 720px;
    margin: 3rem auto 0;
    position: relative;
}

/* 左縦ライン（コートのタッチライン風） */
.flow-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    width: 2px;
    height: 100%;
    background: var(--color-border);
}

.flow-timeline__item {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}

.flow-timeline__item:last-child {
    padding-bottom: 0;
}

/* ナンバーマーカー */
.flow-timeline__marker {
    flex-shrink: 0;
    width: 58px;
    display: flex;
    justify-content: center;
    z-index: 1;
}

.flow-timeline__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: var(--color-navy);
    color: var(--color-white);
    font-family: var(--font-en);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    border: 2px solid var(--color-navy);
}

/* カード */
.flow-timeline__card {
    flex: 1;
    background: var(--color-white);
    border: 2px solid var(--color-border);
    padding: 1.5rem;
    position: relative;
    transition: border-color var(--transition);
}

.flow-timeline__item:hover .flow-timeline__card {
    border-color: var(--color-green);
}

.flow-timeline__item:hover .flow-timeline__number {
    background: var(--color-green);
    border-color: var(--color-green);
}

.flow-timeline__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.flow-timeline__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
}

.flow-timeline__tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-green);
    border: 1px solid var(--color-green);
    padding: 0.15rem 0.6rem;
    letter-spacing: 0.02em;
}

.flow-timeline__text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.8;
}

.flow-timeline__note {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: var(--color-bg);
    font-size: 0.8rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.flow-timeline__note svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--color-green);
}

.flow-timeline__note a {
    font-weight: 600;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .flow-timeline {
        margin-top: 2rem;
    }

    .flow-timeline::before {
        left: 20px;
    }

    .flow-timeline__marker {
        width: 42px;
    }

    .flow-timeline__number {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }

    .flow-timeline__item {
        gap: 1rem;
        padding-bottom: 1.75rem;
    }

    .flow-timeline__card {
        padding: 1.25rem;
    }

    .flow-timeline__title {
        font-size: 1rem;
    }

    .flow-timeline__text {
        font-size: 0.85rem;
    }
}
