/* ================================================================
   昇進・昇給ページ（/career/evaluation_system/）
   ================================================================ */

.cr-eval-page {
    padding-bottom: 0;
}

.cr-eval-page :where(h1, h2, h3, p) {
    margin-block-start: 0;
    margin-block-end: 0;
}

/* ── イントロ ── */
.cr-eval-intro {
    margin-top: 40px;
}

.cr-eval-intro__heading {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2.56px;
    color: #000;
}

.cr-eval-intro__text {
    margin-top: 24px;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 1.28px;
    color: #333;
}

.cr-eval-intro__note {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.96px;
    color: #333;
    text-align: right;
}

/* ── セクション見出し ── */
.cr-eval-section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 2.56px;
    color: #000;
}

/* ── SVGグラフ共通 ── */
.cr-eval-salary,
.cr-eval-stepup,
.cr-eval-example {
    margin-top: 80px;
}

.cr-eval-graph {
    margin-top: 40px;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
}

.cr-eval-graph__img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── ステップアップ 年次詳細 ── */
.cr-eval-details {
    margin-top: 64px;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.cr-eval-detail__heading {
    display: flex;
    align-items: baseline;
    gap: 0;
}

.cr-eval-detail__num {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #ff0024;
    letter-spacing: 2.56px;
}

.cr-eval-detail__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: #191919;
    letter-spacing: 2.56px;
    margin: 0;
}

.cr-eval-detail__text {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: 1.28px;
    color: #333;
    margin-bottom: 0;
}

/* ── 人事評価制度カード ── */
.cr-eval-system {
    margin-top: 80px;
}

.cr-eval-system__cards {
    margin-top: 40px;
    display: flex;
    gap: 0;
    overflow: hidden;
}

.cr-eval-system__card {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    text-decoration: none;
}

.cr-eval-system__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.cr-eval-system__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cr-eval-system__card-btn {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.28px;
    line-height: 2.4;
    border: 3px solid #fff;
    border-radius: 100px;
    padding: 8px 32px;
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

.cr-eval-system__card:hover .cr-eval-system__card-btn {
    background: #fff;
    color: #191919;
}

.cr-eval-system__card:hover .cr-eval-system__card-img {
    transform: scale(1.1, 1.1);
    opacity: 1;
}

/* PC: 斜め区切り */
@media (min-width: 769px) {
    .cr-eval-system__card:first-child {
        clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
        margin-right: -20px;
    }

    .cr-eval-system__card:last-child {
        clip-path: polygon(40px 0, 100% 0, 100% 100%, 0 100%);
        margin-left: -20px;
    }
}

/* ── CTA ── */
.cr-eval-cta {
    margin-top: 80px;
    margin-bottom: 80px;
}

/* ================================================================
   タブレット（〜1024px）
   ================================================================ */
@media (max-width: 1024px) {
    .cr-eval-intro__heading {
        font-size: 24px;
    }

    .cr-eval-section-title {
        font-size: 24px;
    }

    .cr-eval-detail__num {
        font-size: 36px;
    }

    .cr-eval-detail__title {
        font-size: 24px;
    }
}

/* ================================================================
   SP（〜768px）
   ================================================================ */
@media (max-width: 768px) {
    .cr-eval-intro {
        margin-top: 0;
    }

    .cr-eval-intro__heading {
        font-size: 20px;
        letter-spacing: 1.6px;
    }

    .cr-eval-intro__heading br {
        display: inline;
    }

    .cr-eval-intro__text {
        margin-top: 24px;
        font-size: 14px;
        line-height: 1.8;
        letter-spacing: 1.12px;
    }

    .cr-eval-section-title {
        font-size: 24px;
        letter-spacing: 1.92px;
    }

    .cr-eval-salary,
    .cr-eval-stepup,
    .cr-eval-example,
    .cr-eval-system {
        margin-top: 40px;
    }

    .cr-eval-graph {
        margin-top: 20px;
    }

    /* 年次詳細 SP */
    .cr-eval-details {
        margin-top: 20px;
        gap: 20px;
    }

    .cr-eval-detail__num {
        font-size: 36px;
    }

    .cr-eval-detail__title {
        font-size: 24px;
    }

    .cr-eval-detail__text {
        font-size: 14px;
        line-height: 1.8;
        letter-spacing: 1.12px;
    }

    /* 人事評価制度 SP */
    .cr-eval-system__cards {
        flex-direction: column;
        height: 320px;
    }

    .cr-eval-system__card {
        height: 160px;
    }

    .cr-eval-system__card-btn {
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        padding: 8px 32px;
        box-sizing: border-box;
    }

    .cr-eval-cta {
        margin-top: 40px;
        margin-bottom: 80px;
    }
}

/* ================================================================
   SP小（〜450px）
   ================================================================ */
@media (max-width: 450px) {
    .cr-eval-intro__heading {
        font-size: 18px;
    }

    .cr-eval-section-title {
        font-size: 20px;
    }
}
