/* 共通ブロック */

.l-page.lower--numbers .title_block {
    margin-bottom: 50px;
}

.l-page.lower--numbers .fv_title_wrap {
    padding: 30px 58px 30px 20px;
}

.l-page.lower--numbers .section_content--company_data,
.l-page.lower--numbers .section_content--employee_data {
    padding-bottom: 70px;
}

@media (max-width: 767px) {
    .section_content--company_data .data_numbers_flex--top .data_numbers_card .data_value,
    .section_content--work_data .data_numbers_flex--top .data_numbers_card .data_value {
        margin-top: 16px;
    }
}

/* コンテンツブロック */

.data_numbers_box {
    display: flex;
    flex-direction: column;
}

[class*="data_numbers_flex"] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 上段 */
.data_numbers_flex--top {}

/* 中段 */
.data_numbers_flex--middle {}

/* 下段 */
.data_numbers_flex--bottom {}

.data_numbers_card {
    aspect-ratio: 335/140;
    height: 140px;
    background: var(--point-color);
    border-radius: 7px;
    box-shadow: 0px 0 14px 0px rgba(0, 0, 0, 0.18);
    padding: 16px 8px;
}

.data_numbers_card:last-child {
    margin-bottom: 8px;
}

.data_label {
    font-size: 16px;
    font-weight: 500;
    color: var(--sub-color);
    line-height: calc(28 / 16);
    position: relative;
}

.data_label::after {
    content: "";
    position: absolute;
    width: 84px;
    height: 1px;
    background: var(--sub-color);
    bottom: 0;
    left: -9px;
}

.data_value {
    font-size: 40px;
    font-weight: 500;
    color: var(--main-color);
    line-height: calc(50 / 40);
    font-family: var(--sub-font);
    text-align: center;
}

.data_value--flex {
    display: flex;
    align-items: center;
    justify-content: center;
}


.value_span--unit {
    font-size: 20px;
    font-weight: 900;
    color: var(--main-color);
    line-height: calc(20 / 20);
}

.value_span--small {
    font-size: 16px;
    font-weight: 900;
    color: var(--main-color);
    line-height: calc(16 / 16);
}

.value_span--number {
    font-size: 25px;
    font-weight: 500;
    color: var(--main-color);
    line-height: calc(27 / 25);
    font-family: var(--sub-font);
}

.value_span--label {
    font-size: 14px;
    font-weight: 400;
    color: var(--sub-color);
    line-height: calc(26 / 14);
    margin-right: 8px;
}

.data_numbers_card_detail {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin: 14px 50px 0;
}

/* 例外 */
.section_content--employee_data .data_numbers_flex--top .data_numbers_card:first-child .data_numbers_card_detail,
.section_content--employee_data .data_numbers_flex--top .data_numbers_card:last-child .data_numbers_card_detail {
    margin: 30px 20px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}

.section_content--employee_data .data_numbers_flex--top .data_numbers_card:first-child .value_span--number,
.section_content--employee_data .data_numbers_flex--top .data_numbers_card:last-child .value_span--number {
    font-size: 40px;
    line-height: calc(40 / 40);
    margin-bottom: 10px;
}





@media (min-width: 768px) {

    /* 共通ブロック */

    .section_content--company_data {
        padding-inline: 20px;
    }

    .l-page.lower--numbers .title_block {
        margin-bottom: 40px;
    }

    .l-page.lower--numbers .fv_title_wrap {
        padding: 80px 257px 80px 100px;
    }

    .l-page.lower--numbers .section_content--employee_data,
    .l-page.lower--numbers .section_content--work_data {
        padding-inline: 20px;
    }

    .l-page.lower--numbers .section_content--company_data,
    .l-page.lower--numbers .section_content--employee_data {
        padding-bottom: 100px;
    }

    /* コンテンツブロック */

    .data_numbers_box {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    [class*="data_numbers_flex"] {
        display: flex;
        flex-direction: row;
        gap: 30px;
    }

    /* section_content--company_data */

    /* まとめて */
    .data_numbers_card {
        height: auto;
    }

    /* 上段 */
    .section_content--company_data .data_numbers_flex--top .data_numbers_card {
        aspect-ratio: 485/300;
        flex: 1;
    }

    /* 中段 */
    .section_content--company_data .data_numbers_flex--middle .data_numbers_card {
        aspect-ratio: 313/300;
        flex: 1;
    }

    /* 下段 */
    .section_content--company_data .data_numbers_flex--bottom .data_numbers_card {
        aspect-ratio: 485/300;
        flex: 1;
    }

    /* section_content--employee_data */
    /* 上段 */
    .section_content--employee_data .data_numbers_flex--top .data_numbers_card {
        aspect-ratio: 313/300;
        flex: 1;
        max-width: 313px;
    }

    /* 下段 */
    .section_content--employee_data .data_numbers_flex--bottom .data_numbers_card {
        aspect-ratio: 485/300;
        flex: 1;
    }

    /* section_content--work_data */
    /* 上段 下段 */
    .section_content--work_data .data_numbers_flex--top .data_numbers_card,
    .section_content--work_data .data_numbers_flex--bottom .data_numbers_card {
        aspect-ratio: 313/300;
        max-width: 313px;
        flex: 1;
    }

    .data_numbers_card {
        padding: 16px;
    }

    .data_numbers_card:last-child {
        margin-bottom: 0;
    }

    .data_label {
        font-size: 20px;
        line-height: calc(24 / 20);
    }

    .data_label::after {
        content: "";
        position: absolute;
        width: 180px;
        height: 1px;
        background: var(--sub-color);
        bottom: -50%;
        left: -17px;
    }

    .data_value {
        font-size: 80px;
        line-height: calc(80 / 80);
        width: fit-content;
        margin: 80px auto;
    }

    .data_value--flex {
        display: flex;
        align-items: center;
        justify-content: center;
    }


    .value_span--unit {
        font-size: 26px;
        line-height: calc(26 / 26);
    }

    .value_span--small {
        font-size: 26px;
        line-height: calc(26 / 26);
        margin-top: 15px;
    }

    .value_span--number {
        font-size: 80px;
        line-height: calc(80 / 80);
    }

    .value_span--label {
        font-size: 16px;
        line-height: calc(28 / 16);
        margin-right: 14px;
    }

    .data_numbers_card_detail {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px 20px;
        margin: 35px auto 0;
    }

    /* 例外 */

    /* section_content--company_data */
    .section_content--company_data .data_numbers_flex--bottom .data_numbers_card_detail {
        justify-content: flex-start;
        margin: 35px 25px 0;
    }

    .section_content--company_data .data_numbers_flex--middle .value_span--number {
        font-size: 40px;
        line-height: calc(40 / 40);
        margin-top: 0;
    }

    .section_content--company_data .data_numbers_flex--middle .value_span--small {
        margin-top: 0;
    }

    /* section_content--employee_data */
    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:nth-child(2) .data_numbers_card_detail {
        flex-direction: column;
    }

    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:nth-child(2) .value_span--label {
        margin-right: 30px;
    }

    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:nth-child(2) .value_span--small {
        margin-top: 0;
    }

    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:nth-child(2) .value_span--number {
        font-size: 40px;
        line-height: calc(40 / 40);
    }

    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:first-child .data_numbers_card_detail,
    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:last-child .data_numbers_card_detail {
        margin: 35px 25px 0;
        flex-direction: column;
        align-items: stretch;
    }

    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:first-child .data_value--flex,
    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:last-child .data_value--flex {
        justify-content: space-between;
    }

    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:first-child .value_span--number,
    .section_content--employee_data .data_numbers_flex--top .data_numbers_card:last-child .value_span--number {
        font-size: 80px;
        line-height: calc(80 / 80);
        margin-bottom: 0;
    }

    /* section_content--employee_data */

}