@charset "UTF-8";

/* =========================================================
   日興リカ 採用サイト  企業理念・ビジョン  -  creed.css
   （共通トークン・ヘッダー・フッターは style.css を参照）
   デザイン実測カラー:
     deep #0059BD / mid #0078FF / cyan #009FE8 / bright #0A82FF
     card-title #0040D9 / band #0077EE / band-border #008CFF
     文字グラデ  #2A9BFF → #0078FF → #0059BD
   ========================================================= */

/* ページ全体：青グラデーション背景（実測グラデを近似） */
.creed {
    position: relative;
    padding-top: 80px;
    /* 固定ヘッダー分 */
    background:
        linear-gradient(180deg,
            #0e6fd6 0%,
            #0a82ff 12%,
            #1f93f0 30%,
            #12a0e8 48%,
            #0a82ff 64%,
            #0059bd 86%,
            #0a63c8 100%);
    color: #fff;
    overflow-x: clip;
}

/* 六角形ドットの淡い装飾を全面に敷く */
.creed::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .08) 2px, transparent 2px);
    background-size: 46px 46px;
    opacity: .6;
    pointer-events: none;
    z-index: 0;
}

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

/* -------- 共通：白プレート＋青グラデ文字ラベル -------- */
.creed-label {
    display: inline-block;
    background: #fff;
    border-radius: 1;
    padding: 13px 34px;
    box-shadow: 0 8px 20px rgba(0, 30, 90, .2);
    line-height: 1;
}

/* 青ボックス＋白文字ラベル（挑戦と創造 / ミッション用） */
.creed-label--blue {
    background: linear-gradient(120deg, #0a6fe0 0%, #0a86ff 55%, #0059bd 100%);
    color: #fff;
    font-weight: 700;
    font-size: 30px;
    letter-spacing: .06em;
    box-shadow: 0 8px 20px rgba(0, 30, 90, .28);
}

/* 青グラデーション文字（内側 span に適用：堅実に効く手法） */
.grad-text {
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--blue);
    /* 非対応ブラウザ用フォールバック */
    background: linear-gradient(90deg, #2a9bff 0%, #0078ff 55%, #0059bd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =========================================================
   HERO + IDENTITY
   ========================================================= */
.creed-hero {
    position: relative;
    /* タイトル上余白は下層ページ共通 140px */
    padding: 140px 0 90px;
    background:
        url("../images/creed-hero-doodle.png")no-repeat top center/cover;
    background-color: #0159bd;
    overflow: hidden;
}

/* 理科系ドゥードル（白線画）を薄く重ねる */
.creed-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/creed-hero-doodle.png") center top / cover no-repeat;
    opacity: .22;
    pointer-events: none;
    z-index: 0;
}

.creed-hero .container-rica {
    z-index: 2;
}

.creed-hero-head {
    margin-bottom: 100px;
}

.creed-hero .sec-title {
    font-size: 50px;
    letter-spacing: .1em;
}

.creed-hero .sec-sub {
    letter-spacing: .2em;
    font-size: 25px;
}

/* identity-box 内の右下に配置する作業員写真（画像の底をボックスの底に合わせる） */
.creed-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 430px;
    max-width: 44%;
    z-index: 3;
    filter: drop-shadow(0 16px 30px rgba(0, 30, 90, .3));
}

/* アイデンティティ枠：一段明るい青のパネル（ほぼ全幅・作業員の背面まで） */
.identity-box {
    position: relative;
    z-index: 0;
    width: 100%;
    background: #0d7ff0;
    border-radius: 16px;
    padding: 44px 56px;
    box-shadow: 0 16px 40px rgba(0, 30, 90, .22);
}

.identity-labels {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0 0 18px;
}

.identity-pill {
    display: inline-block;
    background: #fff;
    border-radius: 6px;
    padding: 12px 30px;
    box-shadow: 0 8px 20px rgba(0, 30, 90, .2);
    line-height: 1;
}

.identity-pill .grad-text {
    font-size: 40px;
}

/* 「アイデンティティ」ピルは少し右にインデント（デザイン準拠） */
.identity-labels .identity-pill:not(.identity-pill--sm) {
    margin-left: 40px;
}

.identity-note {
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .04em;
    margin: 0;
    color: #fff;
}

/* =========================================================
   装飾（浮遊オブジェクト）
   ========================================================= */
.deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 14px 24px rgba(0, 30, 90, .25));
}

.deco-hex {
    width: 780px;
    right: -40%;
    top: 30%;
    opacity: .9;
    z-index: -1;
}

/* 社是：分子模型（左上・帯からはみ出す） */
.deco-mol3 {
    width: 240px;
    left: -95px;
    top: -20%;
    opacity: .9;
}

/* 社是：水の球体（右下） */
.deco-sphere {
    width: 180px;
    right: 0;
    left: 0;
    margin: auto;
    bottom: -80%;
    opacity: .9;
}

.deco-sphere2 {
    width: 220px;
    left: -25%;
    top: 50%;
    opacity: .85;
}

.deco-capsule {
    width: 400px;
    right: -15%;
    bottom: 30%;
    opacity: .9;
    z-index: -1;
}

.deco-capsule2 {
    width: 400px;
    left: -25%;
    top: -60%;
    opacity: .9;
    z-index: -1;
}

/* わが社の信条：フラスコ（右上） */
.deco-flask-shinjo {
    width: 230px;
    right: -7%;
    top: -4%;
    opacity: .9;
}

/* わが社の信条：細胞クラスタ（左下） */
.deco-cells-shinjo {
    width: 320px;
    left: -9%;
    bottom: -4%;
    opacity: .9;
}

/* =========================================================
   わが社の信条（タイトル＋ベン図画像）
   ========================================================= */
.creed-shinjo {
    position: relative;
    padding: 90px 0 40px;
}

.creed-shinjo .sec-head {
    margin-bottom: 44px;
}

.shinjo-img {
    position: relative;
    /* 装飾（.deco: z-index 1）より手前に表示 */
    z-index: 2;
    max-width: 500px;
    margin-inline: auto;
}

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

/* =========================================================
   社名の由来（タイトル＋テキスト）
   ========================================================= */
.creed-origin {
    position: relative;
    padding: 50px 0 90px;
}

.creed-origin .origin-box {
    background: url(../images/motto-band-bg.png) no-repeat top center / cover;
    border: 4px solid var(--blue);
    border-radius: 15px;
    padding: 2rem;
}

.creed-origin .sec-head {
    margin-bottom: 36px;
}

.origin-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
    letter-spacing: .04em;
    text-align: center;
    color: #fff;
}



/* =========================================================
   わが社の経営理念（白カード×3）
   ========================================================= */
.creed-rinen {
    position: relative;
    padding: 80px 0 90px;
    background:
        url("../images/about-bg.png")no-repeat top 50px center/cover,
        linear-gradient(#0159bd 0%, #0165d7 50%, #007dfd 100%);
}

.creed-rinen .sec-head {
    margin-bottom: 44px;
}

.rinen-card {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(0, 30, 90, .25);
}

.rinen-card-img {
    aspect-ratio: 380 / 340;
    overflow: hidden;
}

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

/* 濃紺のタイトル帯 */
.rinen-card-label {
    background: #0040d9;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .08em;
    text-align: center;
    margin: 0;
    padding: 11px 12px;
}

.rinen-card-text {
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.85;
    margin: 0;
    padding: 20px 22px 26px;
}

/* =========================================================
   社是
   ========================================================= */
.creed-motto {
    position: relative;
    padding: 10px 0 84px;
    background: linear-gradient(#017efc 0%, #0086f5 50%, #008ef2 100%);
}

.motto-band {
    display: flex;
    /* 補足テキスト（.motto-note）を2要素の下へ回り込ませる */
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 44px;
    row-gap: 22px;
    background:
        url("../images/motto-band-bg.png")no-repeat top center/cover;
    border: 4px solid #007dfd;
    border-radius: 12px;
    padding: 48px;
    box-shadow: 0 16px 34px rgba(0, 30, 90, .2);
}

/* 「社是」タグは白い枠線＋白文字（中は透明） */
.motto-tag {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border: 2px solid #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .3em;
    text-indent: .3em;
    white-space: nowrap;
}

.motto-text {
    margin: 0;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: .08em;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 20, 70, .2);
}

/* 社是の下の補足テキスト（タグ＋社是の下に全幅で表示） */
.motto-note {
    flex-basis: 100%;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: .04em;
    text-align: center;
    color: #fff;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================================
   挑戦と創造 / ミッション / ビジョン
   ========================================================= */
.creed-philosophy {
    position: relative;
    padding: 60px 0 90px;
    /* 背景色（ラボ写真の下地）*/
    background-color: rgb(0 142 242);
    color: var(--ink);
}

/* フラスコのラボ写真を上部に敷く（少し透過して下地の青を透けさせる） */
.creed-philosophy::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../images/creed-lab-bg.png") center top / 100% auto no-repeat;
    opacity: .7;
    pointer-events: none;
    z-index: 0;
}

/* 挑戦と創造・ミッションの本文は濃い文字に */
.creed-philosophy .creed-body p {
    color: var(--ink);
    text-shadow: none;
}

.creed-philosophy .mission-list li {
    color: var(--ink);
    text-shadow: none;
}

.creed-philosophy .mission-list li::before {
    background: var(--blue);
}

.creed-block {
    margin-bottom: 64px;
}

.creed-block:last-child {
    margin-bottom: 0;
}

.creed-block>.creed-label {
    margin-bottom: 28px;
}

.creed-label .grad-text {
    font-size: 30px;
}

.creed-body p {
    font-size: 17px;
    font-weight: 500;
    line-height: 2;
    margin: 0 0 22px;
    text-shadow: 0 1px 4px rgba(0, 20, 70, .18);
}


.creed-body p.box-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 2;
    margin: 0 0 22px;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 20, 70, .18);
    background: #fff;
    color: var(--blue) !important;
    padding: 2rem;
    border-radius: 50px;
}

.creed-body p:last-child {
    margin-bottom: 0;
}

/* ミッション：● の箇条書き */
.mission-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mission-list li {
    position: relative;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.9;
    padding-left: 30px;
    margin-bottom: 14px;
    text-shadow: 0 1px 4px rgba(0, 20, 70, .18);
}

.mission-list li:last-child {
    margin-bottom: 0;
}

.mission-list li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: .72em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
}

/* ビジョン：半透明パネルの中にテキストと写真を横並びで内包 */
.vision-panel {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    background: linear-gradient(135deg, rgb(42 147 242/.7) 0%, rgb(15 124 232/.7) 100%);
    border: 1px solid #008cff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 16px 34px rgba(0, 30, 90, .22);
}

.vision-panel-body {}

.vision-panel-body>.creed-label {
    margin-bottom: 26px;
}

/* ビジョンパネル内は白文字（明るい節内でも青パネル上は白） */
.vision-panel .creed-body p {
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 20, 70, .18);
}

.vision-img {
    border-radius: 16px;
    overflow: hidden;
}

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

/* =========================================================
   バリュー
   ========================================================= */
.creed-value {
    padding: 100px;
    background:
        url("../images/about-bg.png")no-repeat top center /100%,
        linear-gradient(#008ef2 0%, #0078ff 60%, #0059bd 100%);
}

/* 左：ラベル列 ／ 右：リスト列 の2カラム（デザイン準拠） */
.value-wrap {
    display: flex;
    align-items: flex-start;
    gap: 56px;
}

/* ラベル列：バリュー ＋ サブラベルを縦積み・左寄せ */
.value-head {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}

/* 「バリュー」ラベル（大） */
.value-label .grad-text {
    font-size: 38px;
}

/* サブラベル「（価値観と行動指針）」：白ピル＋青グラデ文字 */
.value-sub-label .grad-text {
    font-size: 24px;
}

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

/* 項目：塗りなし＋白い枠線のボックス */
.value-item {
    display: flex;
    align-items: center;
    gap: 24px;
    background: transparent;
    border: 2px solid #fff;
    border-radius: 12px;
    padding: 20px 30px;
}

/* 青丸＋白いチェックマーク */
.value-check {
    flex: 0 0 auto;
    position: relative;
    width: 40px;
    height: 40px;
    background: #0040d9;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 20, 70, .25);
}

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

.value-text {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.7;
    margin: 0;
    color: #fff;
}

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

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

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

    .creed-img {
        width: 300px;
        max-width: 38%;
    }

    .identity-pill .grad-text {
        font-size: 24px;
    }

    .creed-label .grad-text {
        font-size: 24px;
    }

    .motto-text {
        font-size: 26px;
    }

    .vision-panel {
        flex-direction: column;
        gap: 28px;
    }

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

    /* バリュー：ラベル列とリスト列を縦積みに */
    .value-wrap {
        flex-direction: column;
        gap: 30px;
    }

    .deco-capsule2 {
        top: -42%;
    }

    .deco-capsule {
        width: 300px;
        right: 0%;
        bottom: 40%;
    }
}

@media (max-width: 767px) {
    .creed-hero {
        padding: 70px 0 40px;
        text-align: center;
    }

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

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

    /* SPでは作業員写真を下に回す */
    .creed-hero-img {
        position: static;
        width: 200px;
        max-width: 60%;
        margin: 24px auto 0;
    }

    .identity-box {
        padding: 26px 22px;
    }

    .identity-labels {}

    .creed-hero,
    .identity-box,
    .value-head {
        text-align: center;
        padding-bottom: 120px;
    }

    .identity-box,
    .value-head {
        text-align: center;
    }

    .identity-note {
        text-align: center;
    }

    .creed-label {
        padding: 13px 28px;
    }

    .creed-label .grad-text {
        font-size: 20px;
    }

    .creed-rinen,
    .creed-philosophy {
        padding: 50px 0 60px;
    }

    .creed-philosophy {
        background: url("../images/creed-lab-bg.png") center top / cover no-repeat;
    }

    .motto-band {
        flex-direction: column;
        gap: 20px;
        padding: 30px 22px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .motto-tag {
        width: auto;
        height: 66px;
    }

    .motto-tag .grad-text {
        font-size: 20px;
    }

    .motto-text {
        font-size: 21px;
    }

    .motto-note {
        font-size: 14px;
        line-height: 1.8;
        text-align: left;
    }

    .origin-text {
        font-size: 15px;
        line-height: 1.9;
        text-align: left;
    }

    .creed-body p,
    .mission-list li,
    .value-text {
        font-size: 15px;
    }

    .creed-block {
        margin-bottom: 48px;
    }

    .creed-value {
        padding: 2rem 1rem 4rem;

    }

    .vision-panel {
        padding: 26px 22px;
    }

    .value-head {
        gap: 12px;
    }

    .value-item {
        gap: 16px;
        padding: 18px 20px;
    }

    .value-check {
        width: 38px;
        height: 38px;
    }

    .value-check::before {
        width: 16px;
        height: 9px;
    }

    /* 装飾はモバイルでは非表示 */
    .deco {
        display: none;
    }
}