@charset "UTF-8";

/* =========================================================
   日興リカ 採用サイト  働く環境  -  work.css
   （共通トークン・ヘッダー・フッターは style.css を参照）
   デザイン: 00nikkorica202604_12work_03.ai（1920幅・コンテンツ1200）
   実測:
     ヒーロー背景 = 青グラデ #0059BD 27% → #0078FF 39% → #009FE8 69%（h1779）
     ヒーローパネル = 1860x1227（左右余白30・#007EE8＋パターン→work-hero-bg.jpg）
     カード 380x760 白（写真380x339・紺帯#0040D9 99px・本文16px/24）
     リボン 1200x66 青グラデ・白30px / 見出し「福利厚生」40px #007EE8 中央
     社宅写真 1200x599 / バナー48px青グラデ / 円バッジ180px #007EE8 枠10px #009FE8
     マップ 501x347（写真下端に140px重なる）/ 注記行 501x48 #E9EBF5
     制度ボックス 590幅 #E9EBF5（ラベル列219＋チップ345x68白・間隔10）
   ========================================================= */

.work {
    position: relative;
    padding-top: 80px;
    /* 固定ヘッダー分 */
    background: #fff;
    color: #464646;
    overflow-x: clip;
}

/* =========================================================
   HERO（青グラデ帯：タイトル＋パネル＋カード3枚）
   ========================================================= */
.work-hero {
    position: relative;
    background: linear-gradient(180deg, #0059bd 27%, #0078ff 39%, #009fe8 69%);
    padding: 140px 0 150px;
    color: #fff;
}

/* 背景装飾：理科系ドゥードル */
.work-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1240px;
    max-height: 100%;
    background: url("../images/creed-hero-doodle.png") center top / cover no-repeat;
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}

.work-hero>.container-rica,
.work-hero-panel {
    position: relative;
    z-index: 1;
}

.work-head .sec-title {
    font-size: 50px;
    font-weight: 700;
    letter-spacing: .1em;
    margin: 0;
}

.work-head .sec-sub {
    margin: 6px 0 0;
    color: #53c5ff;
    font-family: "Figtree", "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 25px;
    letter-spacing: .2em;
}

/* 青パネル（1860幅・パターン背景） */
.work-hero-panel {
    margin: 160px 30px 0;
    background: #007ee8 url("../images/work-hero-bg.jpg") center / cover no-repeat;
    border-radius: 24px;
    padding: 152px 0 150px;
}

/* 装飾：パネル左端に重なる六角形クリスタル（実測 x-662,y611 1173x880） */
.work-hero-panel::before {
    content: "";
    position: absolute;
    top: 129px;
    left: -692px;
    width: 1173px;
    height: 880px;
    background: url("../images/interview-deco-sphere.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* 装飾：パネル左上の泡 */
.work-hero-panel::after {
    content: "";
    position: absolute;
    top: 116px;
    left: 25px;
    width: 193px;
    height: 193px;
    background: url("../images/creed-deco-flask.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

.work-hero-panel .container-rica {
    position: relative;
    z-index: 1;
}

.work-catch {
    margin: 0 0 18px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: .1em;
    font-feature-settings: "palt" 1;
    color: #fff;
}

/* カード3枚 */
.work-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.work-card-img {
    aspect-ratio: 380 / 339;
    overflow: hidden;
}

.work-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 紺帯タイトル */
.work-card-title {
    margin: 0;
    min-height: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #0040d9;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.42;
    letter-spacing: .02em;
    font-feature-settings: "palt" 1;
    padding: 10px 16px;
}

.work-card-text {
    margin: 0;
    padding: 30px 29px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: #464646;
}

/* =========================================================
   福利厚生
   ========================================================= */
.work-welfare {
    position: relative;
    padding: 150px 0;
}

/* 装飾：右下の分子 */
.work-welfare::before {
    content: "";
    position: absolute;
    bottom: 100px;
    right: -40px;
    width: 413px;
    height: 332px;
    background: url("../images/creed-deco-mol.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

.work-welfare .container-rica {
    position: relative;
    z-index: 1;
}

.work-welfare-title {
    margin: 0 0 50px;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: .1em;
    text-align: center;
    color: #007ee8;
}

/* 青グラデリボン（全幅・白30px中央） */
.work-ribbon {
    margin: 0;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #2a9bff 0%, #0078ff 50%, #0059bd 100%);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: .1em;
}

/* ---------- 住宅 ---------- */
.work-house {
    margin: 50px 0 0;
}

.work-house-photo {
    position: relative;
}

.work-house-img {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 599;
    object-fit: cover;
    border-radius: 14px;
}

/* 写真上の青グラデバナー */
.work-house-banner {
    position: absolute;
    margin: 0;
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: linear-gradient(90deg, #2a9bff 0%, #0078ff 50%, #0059bd 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    font-feature-settings: "palt" 1;
}

.work-house-banner--1 {
    top: 40px;
    left: 45px;
}

.work-house-banner--2 {
    top: 96px;
    left: 89px;
}

/* 円バッジ */
.work-circle {
    position: absolute;
    margin: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #007ee8;
    border: 10px solid #009fe8;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.55;
}

.work-circle--1 {
    top: 41px;
    right: 28px;
}

.work-circle--2 {
    top: 244px;
    right: 28px;
    font-size: 22px;
    line-height: 1.4;
}

/* マップ（写真下端に140px重ねて下へはみ出す） */
.work-map {
    position: absolute;
    top: calc(100% - 140px);
    right: 0;
    width: 501px;
    background: #e9ebf5;
    border-radius: 14px;
    padding: 14px 22px;
    z-index: 1;
}

.work-map img {
    display: block;
    width: 100%;
    height: auto;
}

/* 注記リスト（左側・マップの分だけ右を空ける） */
.work-house-notes {
    list-style: none;
    margin: 43px 0 0 89px;
    padding: 0;
    max-width: 501px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.work-house-notes li {
    height: 48px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    background: #e9ebf5;
    color: #000;
    font-size: 22px;
    font-weight: 700;
    font-feature-settings: "palt" 1;
}

/* 行頭の●はデザイン通り青 */
.work-house-notes li::before {
    content: "●";
    color: #007ee8;
    margin-right: 12px;
    font-size: 18px;
}

/* ---------- 福利厚生制度 ---------- */
.work-ribbon--seido {
    margin-top: 106px;
}

.fw-grid {
    margin-top: 50px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.fw-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* カテゴリボックス（ラベルは上揃え） */
.fw-box {
    display: flex;
    align-items: flex-start;
    background: #e9ebf5;
    border-radius: 14px;
    padding: 28px 26px 28px 0;
}

/* ラベル列（アイコン＋紺文字） */
.fw-box-label {
    flex: 0 0 219px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.fw-box-label img {
    width: 80px;
    height: 70px;
    object-fit: contain;
}

.fw-box-label span {
    color: #0040d9;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

/* 制度チップ */
.fw-chips-wrap {
    flex: 1 1 auto;
}

.fw-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fw-chips li {
    min-height: 68px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    color: #000;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.35;
}

.fw-chips li small {
    font-size: 13px;
    line-height: 1.4;
}

.fw-note {
    margin: 8px 0 0;
    text-align: right;
    font-size: 14px;
    color: #464646;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1240px) {
    .work-catch {
        font-size: 32px;
    }

    .work-circle {
        width: 140px;
        height: 140px;
        font-size: 19px;
    }

    .work-circle--2 {
        top: 200px;
        font-size: 17px;
    }

    .work-house-banner {
        font-size: 19px;
        height: 42px;
    }

    .work-map {
        width: 42%;
    }
}

@media (max-width: 991px) {
    .work-hero {
        padding: 110px 0 90px;
    }

    .work-head .sec-title {
        font-size: 38px;
    }

    .work-head .sec-sub {
        font-size: 18px;
    }

    .work-hero-panel {
        margin: 70px 16px 0;
        padding: 60px 0;
        border-radius: 18px;
    }

    .work-hero-panel::before {
        width: 600px;
        height: 450px;
        left: -350px;
        top: 80px;
    }

    .work-hero-panel::after {
        width: 120px;
        height: 120px;
        top: 60px;
        left: 12px;
    }

    .work-catch {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .work-cards {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
        gap: 24px;
    }

    .work-card-img {
        aspect-ratio: 16 / 9;
    }

    .work-welfare {
        padding: 90px 0;
    }

    .work-welfare::before {
        display: none;
    }

    .work-welfare-title {
        font-size: 30px;
    }

    .work-ribbon {
        height: 56px;
        font-size: 24px;
    }

    /* 写真上の重ね要素は整理して縦積みに */
    .work-house {
        margin-top: 32px;
    }

    .work-house-banner {
        position: static;
        display: inline-flex;
        margin: 0 0 8px;
        height: auto;
        padding: 10px 14px;
        font-size: 17px;
    }

    .work-house-banner--2 {
        margin-left: 24px;
        margin-bottom: 16px;
    }

    .work-circle {
        width: 120px;
        height: 120px;
        font-size: 16px;
        border-width: 6px;
    }

    .work-circle--1 {
        top: 16px;
        right: 16px;
    }

    .work-circle--2 {
        top: 148px;
        right: 16px;
        font-size: 15px;
    }

    .work-house-photo {
        display: flex;
        flex-direction: column;
    }

    .work-map {
        position: static;
        width: min(501px, 100%);
        margin: 20px auto 0;
    }

    .work-house-notes {
        margin: 24px 0 0;
        max-width: none;
    }

    .work-house-notes li {
        height: auto;
        min-height: 44px;
        font-size: 17px;
        padding: 8px 16px;
    }

    .work-ribbon--seido {
        margin-top: 70px;
    }

    .fw-grid {
        margin-top: 32px;
        flex-direction: column;
    }

    .fw-col {
        flex: none;
        width: 100%;
    }

    .fw-box-label {
        flex-basis: 170px;
    }

    .fw-box-label span {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .work-hero {
        padding: 70px 0 60px;
    }

    .work-head .sec-title {
        font-size: 30px;
    }

    .work-head .sec-sub {
        font-size: 15px;
    }

    .work-hero-panel {
        margin: 40px 12px 0;
        padding: 40px 0;
    }

    /* SPは装飾を非表示 */
    .work-hero-panel::before,
    .work-hero-panel::after {
        display: none;
    }

    .work-catch {
        font-size: 19px;
        line-height: 1.9;
    }

    .work-card-title {
        min-height: 0;
        padding: 14px 16px;
        font-size: 19px;
    }

    .work-card-text {
        padding: 22px 20px;
        font-size: 15px;
        line-height: 1.7;
    }

    .work-welfare {
        padding: 60px 0;
    }

    .work-welfare-title {
        font-size: 24px;
    }

    .work-ribbon {
        height: 48px;
        font-size: 19px;
    }

    .work-circle {
        display: none;
    }

    .fw-box {
        flex-direction: column;
        align-items: stretch;
        padding: 22px 18px;
        gap: 16px;
    }

    .fw-box-label {
        flex-basis: auto;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
    }

    .fw-box-label img {
        width: 48px;
        height: 44px;
    }

    .fw-box-label span {
        font-size: 18px;
    }

    .fw-box-label span br {
        display: none;
    }

    .fw-chips li {
        font-size: 15px;
        min-height: 56px;
    }
}