@charset "UTF-8";

/* =========================================================
   日興リカ 採用サイト  数字で見る日興リカ  -  numbers.css
   （共通トークン・ヘッダー・フッターは style.css を参照）
   デザイン: 00nikkorica202604_04number_01.ai（1920幅・コンテンツ1200）
   実測:
     背景 = 青グラデ #0059BD 27% → #0078FF 39% → #009FE8 69%
     カード: シアン #009FE8／淡ミント #DFFCF6、枠2px #00C8FF、角丸25px
     グリッド: 2列（585px×2＋間30）、行高285px（縦長カード=2行分600px）
     数字: Roboto Bold（特大150px／大105px）、ラベル24px
   ========================================================= */

.numpage {
    position: relative;
    padding-top: 80px;
    /* 固定ヘッダー分 */
    background: #fff;
    color: #464646;
    overflow-x: clip;
}

/* =========================================================
   セクション全体（青グラデ背景＋装飾）
   ========================================================= */
.num-hero {
    position: relative;
    background: linear-gradient(180deg, #0059bd 26.98%, #0078ff 39.14%, #009fe8 68.97%);
    padding: 144px 0 150px;
    color: #fff;
}

/* 背景装飾：理科系ドゥードル */
.num-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1160px;
    background: url("../images/creed-hero-doodle.png") center top / cover no-repeat;
    opacity: .4;
    pointer-events: none;
    z-index: 0;
}

/* 背景装飾：分子・球体・六角クリスタル（1920カンバス基準の実測座標） */
.num-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.num-bg img {
    position: absolute;
}

.num-bg-mol {
    left: calc(50% - 983px);
    top: 788px;
    width: 635px;
}

.num-bg-hex {
    left: calc(50% + 211px);
    top: 1228px;
    width: 916px;
}

.num-bg-sp {
    width: 202px;
}

.num-bg-sp1 {
    left: calc(50% + 805px);
    top: 507px;
}

.num-bg-sp2 {
    left: calc(50% - 1000px);
    top: 1505px;
}

.num-bg-sp3 {
    left: calc(50% + 704px);
    top: 1916px;
}

.num-bg-sp4 {
    left: calc(50% + 697px);
    top: 740px;
    width: 106px;
}

.num-bg-sp5 {
    left: calc(50% - 768px);
    top: 2182px;
    width: 114px;
}

.num-bg-sp6 {
    left: calc(50% + 665px);
    top: 1881px;
    width: 114px;
}

/* =========================================================
   見出し
   ========================================================= */
.num-head-wrap {
    position: relative;
    z-index: 1;
}

.container-rica {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.num-title {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: .1em;
    margin: 0;
}

.num-sub {
    margin: 6px 0 0;
    color: #53c5ff;
    font-family: "Figtree", "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 25px;
    letter-spacing: .2em;
}

/* =========================================================
   カードグリッド
   2列×行高285px。縦長カードは2行分（285×2＋gap30 = 600px）
   ========================================================= */
.num-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 285px;
    gap: 30px;
    /* 実測: タイトル下端321 → カード上端482 */
    margin-top: 145px;
}

.nc-tall {
    grid-row: span 2;
}

.num-pair {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* 定着率・創業年数・離職率・勤続年数の4枚横一列 */
.num-row4 {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.num-row4 .nc-label {
    font-size: 20px;
}

.nc-teichaku-note {
    margin-top: 10px;
    font-size: 14px;
}

/* 4枚並び時はロゴと数字を縦積みに */
.num-row4 .nc-founding-row {
    flex-direction: column;
    gap: 6px;
    margin-top: 20px;
}

.num-row4 .nc-founding-logo {
    width: 180px;
}

.num-card {
    position: relative;
    border: 2px solid #00c8ff;
    border-radius: 25px;
    box-shadow: 0 0 30px rgba(0, 47, 130, .35);
    overflow: hidden;
    text-align: center;
}

.nc-cyan {
    background: url("../images/motto-band-bg02.jpg")no-repeat top center/cover;
    color: #fff;
}

.nc-light {
    background: url("../images/num-card_bg.jpg")no-repeat top center/cover;
    color: #464646;
}

/* ラベル・数値の基本 */
.nc-label {
    margin: 34px 0 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 27px;
}

/* 特大数字（150px Roboto） */
.nc-value-xl {
    margin: 8px 0 0;
    font-family: "Roboto", sans-serif;
    font-size: 150px;
    font-weight: 700;
    line-height: 1.13;
}

.nc-unit-xl {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 50px;
    font-weight: 700;
}

/* 大数字（105px Roboto） */
.nc-value-lg {
    margin: 23px 0 0;
    font-family: "Roboto", sans-serif;
    font-size: 105px;
    font-weight: 700;
    line-height: 1.13;
}

.nc-blue {
    color: #007ee8;
}

.nc-unit-inline {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 22px;
    font-weight: 700;
}

.nc-unit-below,
.nc-unit-above {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

/* 平均残業時間：月（上）→14→時間（下）の詰め */
.nc-unit-above {
    margin-top: 12px;
}

.nc-unit-above+.nc-value-lg {
    margin-top: -14px;
}

/* =========================================================
   新卒入社の定着率
   ========================================================= */
.nc-teichaku .nc-value-xl {
    margin-top: 38px;
}

.nc-table {
    /* 実測: カード内に30pxインセットの角丸パネル（525×232） */
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    display: flex;
    background: #dffcf6;
    color: #464646;
    text-align: left;
    border-radius: 15px;
    overflow: hidden;
}

.nc-table-tab {
    flex: 0 0 89px;
    background: #007ee8;
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.nc-table-tab span {
    font-size: 29px;
    font-weight: 700;
    letter-spacing: .05em;
    line-height: 1.2;
}

.nc-table-tab span:last-child {
    writing-mode: vertical-rl;
}

.nc-table-body {
    flex: 1;
    padding: 10px 0 10px 43px;
    background: url("../images/num-card_bg.jpg")no-repeat top center/cover;
}

.nc-trow {
    display: flex;
    align-items: center;
    height: 64.5px;
}

.nc-trow-label {
    flex: 0 0 112px;
    color: #007ee8;
    font-size: 24px;
    font-weight: 700;
}

.nc-trow-val {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: baseline;
}

.nc-trow-val b {
    font-family: "Roboto", sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
}

.nc-trow-val small {
    font-size: 22px;
    margin: 0 12px 0 9px;
}

.nc-trow-val small:last-child {
    margin-right: 0;
}

.nc-table-note {
    margin: -10px 0 0 112px;
    font-size: 18px;
    font-weight: 400;
}

/* =========================================================
   創業年数
   ========================================================= */
.nc-founding-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 47px;
    margin-top: 44px;
}

.nc-founding-logo {
    width: 277px;
    height: auto;
}

.nc-founding-row .nc-value-lg {
    margin: 0;
}

/* =========================================================
   従業員数
   ========================================================= */
.nc-staff-illust {
    position: absolute;
    left: 45px;
    bottom: 47px;
    width: 198px;
}

.nc-staff-value {
    text-align: left;
    padding-left: 273px;
}

/* =========================================================
   年間休日
   ========================================================= */
.nc-holiday .nc-value-xl {
    margin-top: 44px;
}

.nc-holiday-sub {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
}

/* 「＋5日」の補足（法定有給取得日数） */
.nc-holiday-note {
    display: inline;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 2px;
}

.nc-panel {
    /* 実測: カード内に30pxインセットの角丸パネル（525×184） */
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    height: 184px;
    background: url("../images/num-card_bg.jpg")no-repeat top center/cover;
    color: #464646;
    border-radius: 15px;
}

.nc-panel-title {
    margin: 14px 0 0;
    color: #007ee8;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.nc-panel-rows {
    margin: 0 0 0 108px;
    text-align: left;
}

.nc-prow {
    display: flex;
    align-items: center;
    height: 55px;
}

.nc-prow-label {
    flex: 0 0 133px;
    font-size: 24px;
    font-weight: 700;
}

.nc-prow-val {
    font-weight: 700;
    display: flex;
    align-items: baseline;
}

.nc-prow-val b {
    font-family: "Roboto", sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 1;
    min-width: 58px;
    text-align: right;
}

.nc-prow-val small {
    font-size: 22px;
    margin-left: 8px;
}

/* =========================================================
   売上高
   ========================================================= */
.nc-sales-value {
    margin: 38px 0 0;
    display: flex;
    align-items: baseline;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
}

.ns-70 {
    font-family: "Roboto", sans-serif;
    font-size: 150px;
}

.ns-oku {
    font-size: 50px;
    margin: 0 14px 0 16px;
}

.ns-4000 {
    font-size: 71px;
}

.ns-man {
    font-size: 27px;
    margin-left: 8px;
}

.nc-sales-note {
    margin: 6px 0 0;
    font-size: 25px;
    font-weight: 500;
}

.nc-sales-illust {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 23px;
    width: 209px;
}

/* =========================================================
   男性育休取得率
   ========================================================= */
.nc-ikukyu-illust {
    position: absolute;
    left: 61px;
    bottom: 30px;
    width: 124px;
}

.nc-ikukyu-body {
    padding-left: 165px;
}

.nc-ikukyu-body .nc-value-lg {
    margin-top: 4px;
}

.nc-ikukyu-note {
    margin: -4px 0 0;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.45;
}

/* =========================================================
   売上構成
   ========================================================= */
.nc-composition {
    margin: 16px 0 0;
    color: #007ee8;
    font-size: 60px;
    font-weight: 900;
    letter-spacing: .15em;
    line-height: 80px;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1219.98px) {

    /* 数字・図版を少し縮めてはみ出しを防ぐ */
    .nc-value-xl {
        font-size: 120px;
    }

    .nc-value-lg {
        font-size: 84px;
    }

    .ns-70 {
        font-size: 120px;
    }

    .ns-4000 {
        font-size: 57px;
    }

    .nc-founding-logo {
        width: 220px;
    }

    .nc-staff-value {
        padding-left: 230px;
    }

    .nc-table-tab {
        flex: 0 0 110px;
    }

    .nc-trow-label {
        flex: 0 0 90px;
    }

    .nc-table-note {
        margin-left: 90px;
    }
}

@media (max-width: 991.98px) {

    .num-hero {
        padding: 90px 0 100px;
    }

    .num-title {
        font-size: 34px;
    }

    .num-sub {
        font-size: 18px;
    }

    .num-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 20px;
        margin-top: 40px;
    }

    .nc-tall {
        grid-row: auto;
    }

    .num-pair {
        gap: 20px;
    }

    /* SP: シアン2枚は全幅、ライト2枚は横並びを維持 */
    .num-row4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .num-row4 .nc-cyan {
        grid-column: 1 / -1;
    }

    .num-row4 .nc-founding-row {
        flex-direction: row;
        gap: 24px;
    }

    .num-card {
        min-height: 240px;
        padding-bottom: 34px;
    }

    /* 縦長カードのサブパネルはフロー配置に戻す */
    .nc-table,
    .nc-panel {
        position: static;
        height: auto;
        margin: 28px 0 16px;
    }

    .nc-table {
        text-align: left;
    }

    .nc-table-body {
        padding: 20px 10px 20px 14px;
    }

    .nc-teichaku,
    .nc-holiday {
        padding-bottom: 0;
    }

    .nc-panel {
        padding-bottom: 28px;
    }

    .nc-label {
        margin-top: 28px;
        font-size: 20px;
    }

    .nc-value-xl {
        font-size: 90px;
    }

    .nc-value-lg {
        font-size: 68px;
    }

    .nc-unit-xl {
        font-size: 34px;
    }

    .nc-holiday-sub {
        font-size: 26px;
        margin-top: 0;
    }

    .nc-holiday-note {
        font-size: 12px;
    }

    .nc-trow {
        height: auto;
        padding: 5px 0;
    }

    .nc-trow-val {
        white-space: nowrap;
    }

    .nc-trow-val b {
        font-size: 30px;
    }

    .nc-trow-val,
    .nc-trow-val small {
        font-size: 14px;
    }

    .nc-trow-val small {
        margin: 0 6px 0 4px;
    }

    .nc-trow-label {
        flex: 0 0 64px;
        font-size: 16px;
    }

    .nc-table-tab {
        flex: 0 0 52px;
    }

    .nc-table-tab span {
        font-size: 18px;
    }

    .nc-table-note {
        margin: 2px 0 0 64px;
        font-size: 12px;
    }

    .nc-table-body {
        padding: 12px 8px 14px 12px;
    }

    .nc-founding-row {
        gap: 24px;
        margin-top: 30px;
        flex-wrap: wrap;
    }

    .nc-founding-logo {
        width: 200px;
    }

    .nc-staff-illust {
        left: 20px;
        bottom: 24px;
        width: 140px;
    }

    .nc-staff-value {
        padding-left: 170px;
    }

    .nc-sales-value {
        margin-top: 16px;
    }

    .ns-70 {
        font-size: 90px;
    }

    .ns-oku {
        font-size: 34px;
        margin: 0 8px;
    }

    .ns-4000 {
        font-size: 44px;
    }

    .ns-man {
        font-size: 20px;
    }

    .nc-sales-note {
        font-size: 16px;
    }

    .nc-sales-illust {
        position: static;
        transform: none;
        display: block;
        margin: 16px auto 0;
        width: 170px;
    }

    .nc-ikukyu-illust {
        left: 16px;
        bottom: 20px;
        width: 90px;
    }

    .nc-ikukyu-body {
        padding-left: 110px;
    }

    .nc-ikukyu-note {
        font-size: 15px;
    }

    .nc-panel-title {
        margin-top: 24px;
        font-size: 20px;
    }

    .nc-panel-rows {
        width: 90%;
        margin: auto;
    }

    .nc-panel {
        width: 90%;
        margin: 0 auto 20px;
    }

    .nc-prow {
        height: 46px;
    }

    .nc-prow-label {
        flex: 0 0 105px;
        font-size: 20px;
    }

    .nc-prow-val b {
        font-size: 38px;
    }

    .nc-prow-val small {
        font-size: 18px;
    }

    .nc-composition {
        font-size: 44px;
        line-height: 60px;
    }

    .nc-unit-below,
    .nc-unit-above {
        font-size: 18px;
    }

    /* 背景装飾はSPでは省略気味に */
    .num-bg-mol,
    .num-bg-hex {
        display: none;
    }
}