@charset "UTF-8";

/**
 * ファイル名: career.css
 * 更新日: 2026-04-02
 * 管理部署: システム管理課
 * --------------------------------------------------------------------------
 * 【採用ページ専用管理メモ】
 * 1. メインヘッダー: 指定画像 (img_01.webp) を背景に採用。
 * 2. 視認性確保: 濃いめのオーバーレイを重ね、白抜き文字の可読性を最大化。
 * --------------------------------------------------------------------------
 */
/* ==========================================================================
   0. ページ全体レイアウト
   【運用】画面端に張り付かないよう、最大幅(1200px)と中央寄せを設定。
   ========================================================================== */
.p-career-container {
    max-width: 1200px;  /* 画面枠いっぱいに広がらないよう制限 */
    margin: 0 auto;     /* 左右中央に配置 */
    padding: 0 40px;    /* スマホ・PC共通の最低限の横余白 */
    box-sizing: border-box;
}

/* 導入パネルの余白も微調整 */
.p-career-intro {
    background: #ffffff;
    padding: 20px 0 60px;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;        /* 親要素(1200px)の中で100% */
}

/* スマホ表示（768px以下）での余白調整 */
@media screen and (max-width: 768px) {
    .p-career-container {
        padding: 0 20px; /* スマホでは余白を少し狭める */
    }
}

/* ==========================================================================
   1. メインヘッダー（画像背景：img_01.webp）
   ========================================================================== */
.p-career-header {
    position: relative;
    text-align: center;
    padding: 120px 20px; /* 画像の見栄えを良くするため、少し高さを確保 */
    background-image: url('../img/career/img_01.webp'); /* 指定画像を反映 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* テキスト可読性向上のためのオーバーレイ層 */
.p-career-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45); /* 画像に合わせて暗さを微調整 */
    z-index: 1;
}

/* コンテンツを最前面へ */
.p-career-header__title,
.p-career-header__en {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3); /* 文字の輪郭をよりはっきりと */
}

.p-career-header__title {
    font-size: 2.4rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.05em;
}

.p-career-header__en {
    display: block;
    font-size: 1.1rem;
    margin-top: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
    .p-career-header { padding: 80px 15px; }
    .p-career-header__title { font-size: 1.8rem; }
}

/* ==========================================================================
   2. 導入セクション：教育体制・キャリアサポート
   【運用】英字サブタイトルとドット線による、洗練されたタイポグラフィ構成。
   ========================================================================== */
.p-career-intro {
    background: #ffffff;
    padding: 20px 0 60px;
    margin-bottom: 40px;
    text-align: center;
}

/* 青いバッジ */
.p-career-intro__badge {
    display: inline-block;
    background-color: #0070b8;
    color: #ffffff;
    padding: 6px 20px;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 4px;
    margin-bottom: 30px;
}

/* メイン見出し（太字） */
.p-career-intro__main-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #333;
    line-height: 1.3;
    margin-bottom: 10px; /* 英字との距離を詰める */
}

/* 英字サブタイトル：image_430a03.png のトーンを継承 */
.p-career-intro__en {
    display: block;
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
    letter-spacing: 0.05em;
    font-weight: normal;
}

/* 中央のドット線：御幸ブルーのアクセント */
.p-career-intro__divider {
    border: none;
    border-bottom: 2px dotted #0070b8;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* スローガン */
.p-career-intro__sub-copy {
    font-size: 1.3rem;
    font-weight: bold;
    color: #0070b8;
    margin-bottom: 35px;
}

/* 本文（読みやすさ重視） */
.p-career-intro__text {
    font-size: 1.05rem;
    line-height: 2.0;
    color: #333;
    margin: 0 auto;
    max-width: 900px;
    text-align: left;
}

/* ==========================================================================
   3. 階層別フロー図（矢印レイアウト）
   【運用】画像 image_428a47.png のステップアップ感をCSSで再現。
   ========================================================================== */
.p-career-flow {
    margin: 60px 0;
}

.p-career-flow__title {
    color: #0070b8;
    border-bottom: 2px solid #0070b8;
    padding-bottom: 10px;
    margin-bottom: 30px;
    font-size: 1.5rem;
    font-weight: bold;
}

/* フロー全体を包むトラック */
.p-career-flow-track {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    background: #f0f7ff; /* 薄い青背景 */
    padding: 20px;
    border: 2px solid #0070b8;
    border-radius: 8px;
    gap: 10px; /* ステップ間の隙間 */
}

/* 各ステップのボックス */
.p-career-flow-stage {
    flex: 1;
    background: #ffffff;
    border: 1px solid #dce4ec;
    padding: 20px 10px;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 4px;
}

/* 矢印（三角形）の生成 */
.p-career-flow-stage::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 15px 0 15px 10px;
    border-color: transparent transparent transparent #0070b8;
    z-index: 10;
}

/* 最後のステップは矢印を表示しない */
.p-career-flow-stage:last-child::after {
    display: none;
}

.p-career-flow-label {
    display: block;
    color: #e6007e; /* ミユキピンク */
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.p-career-flow-text {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

/* スマホ対応：横並びだと潰れるため縦に並べる */
@media screen and (max-width: 768px) {
    .p-career-flow-track {
        flex-direction: column;
        padding: 15px;
    }
    .p-career-flow-stage {
        padding: 15px;
        margin-bottom: 15px;
    }
    .p-career-flow-stage:last-child {
        margin-bottom: 0;
    }
    .p-career-flow-stage::after {
        right: auto;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        border-width: 10px 15px 0 15px; /* 下向きの矢印に */
        border-color: #0070b8 transparent transparent transparent;
    }
}

/* ==========================================================================
   4. 研修詳細モジュール（新人研修など）
   ========================================================================== */
.p-career-module {
    border: 1px solid #dce4ec;
    border-radius: 8px;
    margin-bottom: 50px;
    overflow: hidden;
    background: #ffffff;
}

.p-career-module__header {
    padding: 25px;
    border-bottom: 1px solid #eee;
}

.p-career-module__title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #e6007e;
    margin: 0;
}

.p-career-module__label {
    width: 100%;
    background-color: #0070b8;
    color: #ffffff;
    padding: 12px 25px;
    font-weight: bold;
    font-size: 0.95rem;
    box-sizing: border-box;
}

/* 研修内容グリッド（2列） */
.p-career-training-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 25px;
}

.p-career-training-item {
    flex: 1 1 calc(50% - 10px);
    min-width: 350px;
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    box-sizing: border-box;
}

.p-career-tag {
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 2px;
    margin-right: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.p-career-tag--key { background: #0070b8; }
.p-career-tag--val { background: #e6007e; }

.p-career-item-text {
    font-weight: bold;
    color: #333;
    font-size: 0.95rem;
}

/* --- 研修効果 (点を削除し、テキストに集中) --- */
.p-career-effect-area {
    padding: 30px 40px;
}

.p-career-effect-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-career-effect-list li {
    /* ピンクの点を削除したため、インデントをリセット */
    position: relative;
    padding-left: 0; 
    margin-bottom: 35px; /* 段落間の余白を少し広めに */
    line-height: 1.8;
    color: #333;
    font-weight: bold;
    font-size: 1.05rem;
}

/* 丸数字の行をブロックとして表示 */
.p-career-effect-line {
    display: block;
    margin-bottom: 5px;
}
/* --- 基本の習慣化 (image_43812b.png を反映) --- */
.p-career-habit-box {
    margin: 20px 40px 50px;
    padding: 25px;
    border: 2px dotted #0070b8; /* 青い点線の枠 */
    border-radius: 4px;
    text-align: center;
}

.p-career-habit-title {
    color: #e6007e; /* ピンク */
    font-weight: bold;
    margin-right: 15px;
}

.p-career-habit-item {
    color: #0070b8; /* 青 */
    font-weight: bold;
    margin: 0 10px;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .p-career-training-item { flex: 1 1 100%; min-width: auto; }
    .p-career-effect-area, .p-career-habit-box { padding: 20px; margin-left: 20px; margin-right: 20px; }
}

/* ==========================================================================
   5. 役職等級基準表
   【運用】テーブル内の装飾、背景色はすべてクラスで制御。
   ========================================================================== */

/* テーブル全体のスクロール対応 */
.p-career-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 60px;
    border: 1px solid #dce4ec;
    border-radius: 8px;
}

.p-career-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    line-height: 1.5;
    min-width: 1000px; /* PCでの表示崩れ防止 */
}

/* ヘッダー */
.p-career-table th, 
.p-career-table td {
    border: 1px solid #dce4ec;
    padding: 15px 10px;
}

.p-career-table thead th {
    background-color: #0070b8;
    color: #ffffff;
    font-weight: bold;
    text-align: center;
}

/* 行見出し（マネージャー/リーダー/スタッフ） */
.p-career-table tbody th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: bold;
    text-align: center;
}

/* 等級リンク */
.p-career-table__link {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.p-career-table__link:hover {
    text-decoration: underline;
    color: #0070b8;
}

/* セル内のテキスト配置 */
.u-text-center { text-align: center; }
.u-text-left { text-align: left; }

/* 役職ごとの背景色（imageのデザインを継承） */
.p-career-bg-manager { background-color: #b2ffd8 !important; } /* 部長 */
.p-career-bg-v-manager { background-color: #b2ffff !important; } /* 次長 */
.p-career-bg-chief { background-color: #b2d8ff !important; } /* 課長 */
.p-career-bg-leader { background-color: #b2b2ff !important; } /* 係長 */
.p-career-bg-sub { background-color: #d8b2ff !important; } /* 主任 */

@media screen and (max-width: 768px) {
    .p-career-table { font-size: 0.8rem; }
}

/* ==========================================================================
   6. 入社時研修セクション（5日目の枠を削除・デザイン統一版）
   ========================================================================== */

/* 2024年度の入社時研修 5日間 */
.p-career-outline-text {
    font-weight: bold;
    color: #333;
    font-size: 1.15rem;
    margin: 30px 0 20px;
}

/* スケジュール行の基本構造 */
.p-career-schedule-row {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

/* 日付列 */
.p-career-schedule-date {
    flex: 0 0 160px;
    font-weight: bold;
    color: #0070b8;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* 内容列 */
.p-career-schedule-content {
    flex: 1;
}

/* 午前・午後・終日のバッジ */
.p-career-time-badge {
    display: inline-block;
    padding: 2px 10px;
    font-size: 0.8rem;
    border-radius: 3px;
    margin-right: 12px;
    color: #fff;
    font-weight: bold;
    min-width: 45px;
    text-align: center;
    flex-shrink: 0;
}

.p-career-time-badge--am { background-color: #5bc0de; }
.p-career-time-badge--pm { background-color: #0070b8; }
.p-career-time-badge--all { background-color: #e6007e; }

/* 各項目の行 */
.p-career-schedule-entry {
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: flex-start;
}

/* バッジがない行の開始位置合わせ */
.p-career-schedule-indent {
    margin-left: 57px; /* バッジ45px + 余白12px */
}

@media screen and (max-width: 768px) {
    .p-career-schedule-row { flex-direction: column; align-items: flex-start; }
    .p-career-schedule-indent { margin-left: 0; }
}