/* ========================================
   Benefit
   ▼2026-09-10 変更：Figma（node-id=46-16）に合わせて全面作り直し
   ・黒背景＋クリーム色テキストの配色に変更
   ・右カラム（未使用だった旧ビジュアル／縦書きメッセージ／矢印）を廃止し
     見出し＋カード一覧のみの1カラム構成に変更
   ・カードをFigma準拠の固定サイズ（260×70px・角丸10px）のカードに変更
======================================== */

.benefit {
    margin-top: 100px;
    width: 100%;
    padding: 100px var(--sidebar-width) 120px;

    /* Figma上は黒背景（bg-black）＋クリーム文字の配色 */
    background: #000;
    color: var(--color-background);
}

.benefit__inner {
    display: flex;
    flex-direction: column;
    gap: 76px;

    width: 100%;
    /* ▼2026-09-10 変更：幅1300pxまでは4カラム×3行を維持するため、
       見出し・カード一覧と同じ幅（1300px）に揃えて中央寄せ
       （左右の余白が同じになるようmargin: 0 auto） */
    max-width: 1300px;
    margin: 0 auto;
}

/* ========================================
   Heading
======================================== */

.benefit__heading {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit__label {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.8;
    letter-spacing: 0.12em;

    color: var(--color-background);
}

.benefit__title {
    margin: 0;

    font-size: 50px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.08em;

    color: var(--color-background);
}

/* ========================================
   Benefit List
======================================== */

.benefit__list {
    /* ▼2026-09-10 変更：幅1300pxまで常に4カラム×3行になるよう
       flex-wrapからグリッド（4列固定）に変更 */
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 53px;
    row-gap: 31px;
}

.benefit__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: auto;
    min-height: 70px;
    padding: 10px 12px;

    text-align: center;

    background: var(--color-background);
    border: 1px solid var(--color-line);
    border-radius: 10px;
}

.benefit__item p {
    margin: 0;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0em;

    color: var(--color-text);
}

.benefit__item small {
    display: block;

    margin-top: 4px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.08em;

    color: var(--color-muted);
}

/* ========================================
   スマホ
======================================== */

@media (max-width: 600px) {
    .benefit {
        padding: 65px 48px 80px;
    }

    .benefit__inner {
        gap: 40px;
    }

    .benefit__title {
        font-size: 32px;
        font-weight: 800;
        letter-spacing: 0.12em;
    }

    .benefit__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 18px;
    }

    .benefit__item {
        width: auto;
        min-height: 55px;
    }

    .benefit__item p {
        font-size: 13px;
        letter-spacing: 0em;
    }

    .benefit__item small {
        font-size: 10px;
        letter-spacing: 0.11em;
    }
}
