@charset "UTF-8";

/* =========================================================
   日興リカ 採用サイト  生産技術  -  production.css
   （共通トークン・ヘッダー・フッターは style.css を参照）
   デザイン: 00nikkorica202604_07production_04.ai（1920幅・コンテンツ1200）
   ※ develop.css（研究開発）と同一レイアウトのオレンジ配色版
   実測カラー:
     orange #E48C00 / deep-orange #EA5C00（チェック丸・ヒーローサブ）
     text #464646 / 淡橙帯・パネル = #E48C00 の10% ≒ #FCF3E5
   実測寸法:
     ヒーロー帯 750 / ヒーロー写真 1860x700（左右余白30）
     ブロック写真 768x490（画面端まで） / fit写真 449x660
     人物カード 380x615（写真 380x415）
   ========================================================= */

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

/* =========================================================
   HERO（橙帯 750px・タイトル上寄せ）
   ========================================================= */
.production-hero {
    position: relative;
    padding: 140px 0 500px;
    background: #e48c00;
    color: #fff;
    overflow: hidden;
}

.production-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/creed-hero-doodle.png") center top / cover no-repeat;
    opacity: .5;
    pointer-events: none;
    z-index: 0;
}

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

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

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

/* =========================================================
   導入（淡橙帯：ヒーロー写真＋橙バナー＋テキスト）
   ========================================================= */
.production-intro {
    position: relative;
    /* flow-root: 写真の負マージンが親と相殺してセクションごと上がるのを防ぐ */
    display: flow-root;
    padding-bottom: 100px;
    background: #fcf3e5;
}

/* 装飾：右端の泡（大） */
.production-intro::before {
    content: "";
    position: absolute;
    top: 466px;
    right: -46px;
    width: 201px;
    height: 201px;
    background: url("../images/creed-deco-flask.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* 装飾：テキスト右の泡（小） */
.production-intro::after {
    content: "";
    position: absolute;
    top: 800px;
    right: 383px;
    width: 114px;
    height: 114px;
    background: url("../images/creed-deco-flask.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

.production-intro .container-rica {
    position: relative;
    z-index: 1;
}

/* ヒーロー写真：橙帯に350px重ねる・幅1860（左右30） */
.production-hero-img {
    position: relative;
    z-index: 2;
    margin-top: -350px;
    margin-bottom: 130px;
    padding: 0 30px;
}

.production-hero-img img {
    display: block;
    width: 100%;
    max-width: 1860px;
    margin-inline: auto;
    aspect-ratio: 1860 / 700;
    object-fit: cover;
    border-radius: 22px;
}

/* 橙バナー（40px・角丸/影なし・2行目は46pxインデント） */
.prod-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 38px;
}

.prod-banner-line {
    display: inline-block;
    background: #e48c00;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    letter-spacing: .1em;
    line-height: 1.2;
    padding: 16px 40px;
}

.prod-banner-line--indent {
    margin-left: 46px;
}

/* =========================================================
   共通：本文テキスト
   ========================================================= */
.prod-text p {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
    margin: 0 0 28px;
    color: #464646;
}

.prod-text p:last-child {
    margin-bottom: 0;
}

.production-intro .prod-text p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.production-intro .prod-text {
    max-width: 800px;
}

/* =========================================================
   3つのプロセスブロック（淡橙パネル1200幅・写真768x490は画面端まで）
   ========================================================= */
.production-blocks {
    position: relative;
    padding: 150px 0 155px;
}

/* 装飾：左上の分子 */
.production-blocks::before {
    content: "";
    position: absolute;
    top: 113px;
    left: 49px;
    width: 495px;
    height: 395px;
    background: url("../images/creed-deco-mol.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

.production-blocks .container-rica {
    display: flex;
    flex-direction: column;
    gap: 50px;
    z-index: 1;
}

.prod-block {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 545px;
    background: #fcf3e5;
    border-radius: 20px;
    padding: 60px 64px;
    /* 写真がパネル外へはみ出すため clip しない */
    overflow: visible;
}

/* テキスト側（片側のみ・写真の反対側） */
.prod-block-body {
    width: 60%;
}

/* 偶数ブロックはテキストを右へ寄せる（写真は左） */
.prod-block--rev .prod-block-body {
    margin-left: auto;
}

/* 写真：768x490・縦センター・外側は画面端まで */
.prod-block-img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    height: 490px;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

/* 通常ブロック：写真は右側、右端まで */
.prod-block:not(.prod-block--rev) .prod-block-img {
    left: 66%;
    right: calc(50% - 50vw);
}

/* 反転ブロック：写真は左側、左端まで */
.prod-block--rev .prod-block-img {
    right: 66%;
    left: calc(50% - 50vw);
}

.prod-block-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 見出し：橙文字30px＋橙1px罫線 */
.prod-block-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: .05em;
    margin: 0 0 42px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e48c00;
    color: #e48c00;
}

/* =========================================================
   こんな人が向いています（淡橙＋白六角形パターン）
   ========================================================= */
.production-fit {
    position: relative;
    padding: 150px 0 130px;
    background-color: #fcf3e5;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='346' height='600' viewBox='0 0 346 600'%3E%3Cpath d='M173 100 346 200 346 400 173 500 0 400 0 200Z M0 -200 173 -100 173 100 0 200 -173 100 -173 -100Z M346 -200 519 -100 519 100 346 200 173 100 173 -100Z M0 400 173 500 173 700 0 800 -173 700 -173 500Z M346 400 519 500 519 700 346 800 173 700 173 500Z' fill='none' stroke='rgba(255,255,255,0.55)' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 346px auto;
}

/* 装飾：左上の泡（大・左端で半分カット） */
.production-fit::before {
    content: "";
    position: absolute;
    top: -54px;
    left: -80px;
    width: 202px;
    height: 202px;
    background: url("../images/creed-deco-flask.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 0;
}

/* 装飾：右下のカプセル（セクション境界をまたぐ） */
.production-fit::after {
    content: "";
    position: absolute;
    bottom: -160px;
    right: -165px;
    width: 600px;
    height: 338px;
    background: url("../images/creed-deco-capsule.png") center / contain no-repeat;
    pointer-events: none;
    z-index: 2;
}

.production-fit .container-rica {
    position: relative;
    z-index: 1;
}

.production-fit-title {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: .1em;
    color: #464646;
    margin: 0 0 56px;
}

.production-fit-inner {
    display: flex;
    align-items: flex-start;
    gap: 74px;
}

/* 写真 449x660 */
.production-fit-img {
    flex: 0 0 37.5%;
    aspect-ratio: 449 / 660;
    border-radius: 20px;
    overflow: hidden;
}

.production-fit-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.production-fit-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 見出しバー（橙80px・角丸/影なし） ＋ 本文（24pxインデント） */
.fit-item-head {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 80px;
    background: #e48c00;
    padding: 12px 24px;
    margin-bottom: 26px;
}

.fit-item-title {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .02em;
}

/* 濃橙の丸＋白いチェック */
.fit-check {
    flex: 0 0 auto;
    position: relative;
    width: 34px;
    height: 34px;
    background: #ea5c00;
    border-radius: 50%;
}

.fit-check::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 46%;
    width: 16px;
    height: 9px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: translate(-50%, -50%) rotate(-45deg);
}

.fit-item .prod-text {
    padding: 0 24px;
}

.production-fit .prod-text p {
    font-size: 18px;
    line-height: 1.56;
    margin-bottom: 28px;
}

.production-fit .prod-text p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   生産技術の人を知る（TOP #member と同じカルーセル）
   ========================================================= */
.production-people {
    background: #ffffff;
    padding: 150px 0;
}

/* アクセントカラーをproductionページ用に */
.production-people .member-next {
    background: #e48c00;
}

.production-people .member-join {
    color: #e48c00;
}

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 991px) {
    .production-hero {
        padding: 110px 0 320px;
    }

    .production-hero .sec-title {
        font-size: 38px;
    }

    .production-hero .sec-sub {
        font-size: 18px;
    }

    .production-hero-img {
        margin-top: -200px;
        margin-bottom: 70px;
        padding: 0 20px;
    }

    .production-intro {
        padding-bottom: 70px;
    }

    .production-intro::after {
        display: none;
    }

    .prod-banner {
        gap: 10px;
        margin-bottom: 30px;
    }

    .prod-banner-line {
        font-size: 26px;
        padding: 14px 24px;
    }

    .prod-banner-line--indent {
        margin-left: 24px;
    }

    .prod-text p,
    .production-intro .prod-text p,
    .production-fit .prod-text p {
        font-size: 16px;
        line-height: 1.75;
        margin-bottom: 22px;
    }

    .production-blocks {
        padding: 90px 0;
    }

    .production-blocks::before {
        width: 300px;
        height: 240px;
        top: 40px;
        left: -40px;
    }

    .production-blocks .container-rica {
        gap: 32px;
    }

    .prod-block,
    .prod-block--rev {
        flex-direction: column;
        gap: 28px;
        min-height: 0;
        padding: 36px 32px;
    }

    /* タブレット以下は縦積み：はみ出しを解除して通常フローに戻す */
    .prod-block-body,
    .prod-block--rev .prod-block-body {
        width: 100%;
        margin-left: 0;
    }

    .prod-block-img,
    .prod-block:not(.prod-block--rev) .prod-block-img,
    .prod-block--rev .prod-block-img {
        position: static;
        inset: auto;
        transform: none;
        height: auto;
        order: -1;
        width: 100%;
        border-radius: 14px;
    }

    .prod-block-img img {
        min-height: 220px;
        max-height: 320px;
    }

    .prod-block-title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .production-fit {
        padding: 90px 0;
    }

    .production-fit-title {
        font-size: 30px;
        margin-bottom: 36px;
    }

    .production-fit-inner {
        flex-direction: column;
        gap: 32px;
    }

    .production-fit-img {
        flex: none;
        width: 100%;
        aspect-ratio: 3 / 2;
    }

    .fit-item-head {
        min-height: 64px;
    }

    .fit-item-title {
        font-size: 20px;
    }

    .production-fit::after {
        width: 400px;
        height: 225px;
        right: -110px;
        bottom: -100px;
    }

    .production-people {
        padding: 90px 0;
    }
}

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

    .production-hero .sec-title {
        font-size: 30px;
    }

    .production-hero .sec-sub {
        font-size: 15px;
    }

    .production-hero-img {
        margin-top: -140px;
        margin-bottom: 40px;
        padding: 0 16px;
    }

    /* SPは装飾を非表示 */
    .production-intro::before,
    .production-blocks::before,
    .production-fit::before,
    .production-fit::after {
        display: none;
    }

    .prod-banner-line {
        font-size: 21px;
        padding: 12px 18px;
    }

    .prod-banner-line--indent {
        margin-left: 16px;
    }

    .prod-text p,
    .production-intro .prod-text p,
    .production-fit .prod-text p {
        font-size: 15px;
        line-height: 1.8;
    }

    .production-blocks {
        padding: 60px 0;
    }

    .prod-block,
    .prod-block--rev {
        padding: 26px 22px;
    }

    .prod-block-title {
        font-size: 21px;
        margin-bottom: 22px;
    }

    .production-fit,
    .production-people {
        padding: 60px 0;
    }

    .production-fit-title {
        font-size: 24px;
    }

    .fit-item-head {
        min-height: 56px;
        padding: 10px 16px;
        margin-bottom: 18px;
    }

    .fit-item-title {
        font-size: 17px;
    }

    .fit-check {
        width: 28px;
        height: 28px;
    }

    .fit-check::before {
        width: 13px;
        height: 7px;
    }

    .fit-item .prod-text {
        padding: 0 4px;
    }
}