/* ==========================================================
   トップページ：ご相談の流れ
========================================================== */

.consultation-flow-section {
    padding: 72px 5% 76px;
    background: #fffdf8;
}

.consultation-flow-heading {
    width: min(1180px, 100%);
    margin: 0 auto 38px;
    text-align: center;
}

.consultation-flow-en {
    margin: 0 0 8px;
    color: #6f8f58;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    letter-spacing: 0.2em;
}

.consultation-flow-heading h2 {
    margin: 0 0 12px;
    color: #3f3429;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 35px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
}

.consultation-flow-heading > p:last-child {
    margin: 0;
    color: #76695b;
    font-size: 15px;
    line-height: 1.9;
}

.consultation-flow-grid {
    width: min(1180px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.consultation-flow-card {
    position: relative;
    min-height: 245px;
    padding: 28px 24px 25px;
    border: 1px solid #e2d6c7;
    border-radius: 18px;
    background: #f9f5ed;
}

.consultation-flow-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -15px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border: 1px solid #d8cdbf;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffdf8;
    color: #6f8f58;
    font-size: 15px;
    transform: translateY(-50%);
}

.consultation-flow-number {
    margin-bottom: 21px;
    color: #9cad8e;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 27px;
    line-height: 1;
    letter-spacing: 0.06em;
}

.consultation-flow-card h3 {
    margin: 0 0 13px;
    color: #3f3429;
    font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.55;
}

.consultation-flow-card p {
    margin: 0;
    color: #5f5448;
    font-size: 14px;
    line-height: 1.85;
}

.consultation-flow-note {
    width: min(930px, 100%);
    margin: 34px auto 0;
    padding: 24px 30px;
    border-left: 3px solid #78985f;
    background: #f0f5eb;
    text-align: center;
}

.consultation-flow-note p {
    margin: 0 0 13px;
    color: #5f5448;
    font-size: 14px;
    line-height: 1.9;
}

.consultation-flow-note a {
    color: #5f7f49;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .consultation-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .consultation-flow-card:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 620px) {
    .consultation-flow-section {
        padding: 54px 5% 58px;
    }

    .consultation-flow-heading {
        margin-bottom: 29px;
    }

    .consultation-flow-heading h2 {
        font-size: 29px;
    }

    .consultation-flow-grid {
        grid-template-columns: 1fr;
    }

    .consultation-flow-card {
        min-height: 0;
        padding: 24px 22px;
    }

    .consultation-flow-note {
        padding: 21px 20px;
        text-align: left;
    }
}
