/* ▼ PC（標準）: 横並び ▼ */
.flow-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;
    padding: 0 100px;
}

.box {
    background-color: #f4f4f4;
    padding: 32px 40px;
    border-radius: 10px;
    min-width: 300px;
    box-sizing: border-box;
    flex: 1;

    /* カード影 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    /* ボックス内の文字も大きく */
}

.box.solution {
    background-color: #e6eef8;
    border-radius: 18px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.box-title {
    font-size: 22px;
    /* 見出し大きく */
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.problems-list {
    list-style: decimal;
    /* 数字リスト */
    padding-left: 30px;
    margin: 0;
}

.solution-list {
    list-style: disc;
    /* 黒丸リスト */
    padding-left: 30px;
    margin: 0;
}

.arrow {
    font-size: 64px;
    /* 矢印も大きく */
    font-weight: bold;
    text-align: center;
    width: auto;
    transition: 0.3s;
}

/* ▼ スマホ（768px以下）: 縦並び ▼ */
@media (max-width: 768px) {

    .flow-wrapper {
        flex-direction: column;
        gap: 24px;
        flex-wrap: nowrap;
        padding: 0;
    }

    .box {
        font-size: 20px;
        padding: 28px 32px;
    }

    .box-title {
        font-size: 24px;
    }

    .arrow {
        font-size: 56px;
        transform: rotate(90deg);
        /* → を ↓ へ */
        width: 100%;
    }
}
