@charset "UTF-8";

/* ==========================================================================
   Project: 御幸建設グループ 社内ポータル
   Page: 入社時研修：1日目 (curriculum.html)
   Memo: 既存のCSS構文を一切変更せず、保守用の解説コメントのみを充実させた版
   ========================================================================== */

/* --------------------------------------------------------------------------
   Layout: 基本レイアウト
   -------------------------------------------------------------------------- */
.l-container {
    max-width: 1200px; /* コンテンツが横に広がりすぎないための最大幅 */
    margin: 0 auto;    /* 画面中央に配置 */
    padding: 0 40px;   /* 左右の適切な余白 */
}

.c-curriculum-section {
    margin-bottom: 80px; /* 講義の章（セクション）ごとの下部余白 */
}

/* 章タイトル：御幸ブルーとミユキピンク（アクセント）の組み合わせ */
.c-section-title {
    font-size: 1.8rem;
    color: #0070b8;
    border-left: 6px solid #e6007e; /* 左側のピンクの縦線 */
    padding-left: 15px;
    margin-bottom: 25px;
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   Hero Section: 50:50 ハイブリッドヘッダー
   -------------------------------------------------------------------------- */
.c-curriculum-hero {
    position: relative;
    width: 100%;
    height: 400px;
    background-color: #0070b8;
    overflow: hidden;
}

.c-curriculum-hero__inner {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

/* 右側：写真エリアの設定 */
.c-curriculum-hero__image-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* 右側半分を写真領域として確保 */
    height: 100%;
    z-index: 1;
}

.c-curriculum-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 比率を維持して全画面を埋める */
}

/* 左側：グラデーション（青から透明へ変化させ、文字の可読性と写真を両立） */
.c-curriculum-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 112, 184, 1) 0%,   /* 左端：不透明な青 */
        rgba(0, 112, 184, 1) 40%,  /* 40%まで青を維持 */
        rgba(0, 112, 184, 0.7) 55%,/* 中央付近から透過開始 */
        rgba(0, 112, 184, 0) 100%  /* 右端：完全に透明 */
    );
    z-index: 2;
    display: flex;
    align-items: center; /* タイトルを上下中央に配置 */
}

.c-curriculum-hero__text-area {
    color: #fff;
    max-width: 550px;
}

.c-curriculum-hero__title {
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.c-curriculum-hero__sub {
    font-size: 1.5rem;
    font-weight: bold;
}

/* --------------------------------------------------------------------------
   PDCA / 目標設定 基本パーツ
   -------------------------------------------------------------------------- */
.c-message-box {
    background: #f0f7ff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    border: 1px solid #0070b8;
}

.c-message-box__text {
    font-size: 1.4rem;
    color: #0070b8;
    font-weight: bold;
    margin: 0;
}

.c-pdca-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.c-pdca-item {
    background: #fff;
    border: 1px solid #dce4ec;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.c-pdca-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

/* PDCAそれぞれのテーマカラー */
.c-pdca-label--p { background: #0070b8; }
.c-pdca-label--d { background: #00a0e9; }
.c-pdca-label--c { background: #5bc0de; }
.c-pdca-label--a { background: #e6007e; }

.c-pdca-text {
    font-weight: bold;
    line-height: 1.6;
    margin: 0;
}

.c-benefit-list {
    list-style: none;
    padding: 0;
}

.c-benefit-list li {
    background: #f9fbfc;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

.c-benefit-list li strong {
    color: #0070b8;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.c-benefit-list li span { font-weight: bold; }

/* --------------------------------------------------------------------------
   Section: SMARTの法則（高さ・下線位置統一）
   -------------------------------------------------------------------------- */
.c-smart-container {
    background: #0070b8;
    color: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
}

.c-smart-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 35px;
}

.c-smart-list {
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* 子要素の高さを自動で揃える */
    gap: 15px;
}

.c-smart-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

/* SMART各単語のヘッドエリア。下線の位置を一直線にするためmin-heightを設定 */
.c-smart-head {
    font-size: 1.3rem;
    font-weight: bold;
    border-bottom: 3px solid #e6007e;
    padding-bottom: 10px;
    margin-bottom: 15px;
    min-height: 4.5rem; /* Result-oriented（2行）に高さを合わせる */
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.c-smart-body {
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Section: 目的・目標・定義カード
   -------------------------------------------------------------------------- */
.c-definition-flex {
    display: flex;
    gap: 20px;
}

.c-def-card {
    flex: 1;
    background: #f8fbfc;
    padding: 25px;
    border-top: 5px solid #0070b8;
    border-radius: 0 0 10px 10px;
}

.c-def-label {
    display: inline-block;
    background: #0070b8;
    color: #fff;
    padding: 2px 10px;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

/* --------------------------------------------------------------------------
   Section: 問題点抽出の基本プロセス（作り替え版）
   -------------------------------------------------------------------------- */
.c-process-container {
    max-width: 800px;
    margin: 30px 0;
}

.c-process-row {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dce4ec;
    border-radius: 15px;
    padding: 20px 30px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    position: relative;
}

/* プロセスの各工程をつなぐ垂直線 */
.c-process-row:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 65px;
    width: 2px;
    height: 20px;
    background: #0070b8;
    opacity: 0.3;
}

.c-process-badge {
    background: #0070b8;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    flex-shrink: 0;
}

/* バッジのカラーバリエーション */
.c-process-badge.is-pink { background: #e6007e; }
.c-process-badge.is-dark { background: #333; }

.c-process-step { font-size: 0.7rem; font-weight: bold; opacity: 0.9; }
.c-process-num { font-size: 1.6rem; font-weight: bold; line-height: 1; }

.c-process-label {
    color: #0070b8;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 5px 0;
}

.c-process-text {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Section: 実行管理（高さ統一版）
   -------------------------------------------------------------------------- */
.c-flow-grid {
    display: flex;
    align-items: stretch; /* 横並びカードの高さを一番高いものに統一 */
    gap: 10px;
    margin-bottom: 50px;
}

.c-flow-item {
    flex: 1;
    background: #fff;
    border: 2px solid #0070b8;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.c-flow-head {
    background: #0070b8;
    color: #fff;
    padding: 15px 10px;
    font-weight: bold;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px; /* タイトル部分の最低高さ設定 */
}

.c-flow-num { font-size: 0.85rem; opacity: 0.9; margin-bottom: 5px; }

.c-flow-body {
    padding: 20px 15px;
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.6;
    color: #333;
    flex-grow: 1; /* 余白を自動で埋めて全体の高さを揃える */
    display: flex;
    align-items: center;
    background-color: #fff;
}

.c-flow-arrow {
    display: flex;
    align-items: center;
    color: #0070b8;
    font-size: 1rem;
    padding: 0 5px;
}

/* --------------------------------------------------------------------------
   Section: 実行力を高めるコツ（崩れ修正版）
   -------------------------------------------------------------------------- */
.c-tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.c-tip-card {
    background: #f0f7ff;
    padding: 25px 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 4px solid #e6007e; /* 下部のピンクラインによる強調 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.c-tip-icon { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }

.c-tip-body h4 {
    color: #0070b8;
    font-size: 1.05rem;
    font-weight: bold;
    margin: 0 0 8px 0;
}

.c-tip-body p {
    font-size: 0.9rem;
    font-weight: bold;
    color: #555;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Responsive: スマホ対応（768px〜900px）
   -------------------------------------------------------------------------- */
@media screen and (max-width: 900px) {
    /* 画面幅が狭い場合はフレックスボックスとグリッドを縦並びに切り替え */
    .c-smart-list, .c-flow-grid, .c-tips-grid, .c-definition-flex {
        flex-direction: column;
        display: flex;
    }
    .c-flow-arrow { justify-content: center; transform: rotate(90deg); margin: 10px 0; }
    .c-smart-head { min-height: auto; } /* スマホでは高さ固定を解除 */
}

@media screen and (max-width: 768px) {
    .c-curriculum-hero { height: 300px; }
    .c-curriculum-hero__title { font-size: 1.8rem; }
    .c-pdca-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Section: 目標設定のメリット（グリッド崩れ修正）
   -------------------------------------------------------------------------- */
.c-section-lead {
    font-weight: bold;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* メリットのグリッド（2列×2行） */
.c-grid-merit {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.c-merit-box {
    padding: 25px;
    background: #fff;
    border: 1px solid #dce4ec;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.c-merit-box:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* ホバー時の浮き上がり効果 */
}

.c-merit-num {
    font-size: 1.1rem;
    color: #e6007e;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
}

.c-merit-box h3 {
    color: #0070b8;
    font-size: 1.2rem;
    margin-bottom: 12px;
    font-weight: bold;
}

.c-merit-box p {
    font-size: 0.95rem;
    font-weight: bold;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* スマホ表示では1列に並び替え */
@media screen and (max-width: 800px) {
    .c-grid-merit {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Section: 問題と課題のステップ図（崩れ修正版）
   -------------------------------------------------------------------------- */
.c-problem-step {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.c-problem-box {
    flex: 1;
    background: #eee;
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 400px;
}

/* 課題側の強調：ピンクの枠線と背景 */
.c-problem-box.is-active {
    background: #fff0f6;
    border: 2px solid #e6007e;
    box-shadow: 0 4px 10px rgba(230, 0, 126, 0.1);
}

.c-problem-tag {
    font-size: 1.2rem;
    font-weight: bold;
    color: #e6007e;
    margin-bottom: 10px;
    display: block;
}

.c-problem-text {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.c-problem-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #e6007e;
    font-size: 1.5rem;
    padding: 0 10px;
}

/* スマホ表示では縦並びにして矢印を回転 */
@media screen and (max-width: 768px) {
    .c-problem-step {
        flex-direction: column;
        align-items: center;
    }
    .c-problem-box {
        width: 100%;
        max-width: none;
    }
    .c-problem-arrow {
        transform: rotate(90deg);
        padding: 10px 0;
    }
}

/* --------------------------------------------------------------------------
   Section: ステークホルダー（グリッド崩れ修正版）
   -------------------------------------------------------------------------- */
.c-stakeholder-lead {
    font-weight: bold;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* 4カラムのグリッドレイアウト */
.c-stakeholder-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.c-stake-item {
    background: #fff;
    border: 1px solid #0070b8;
    color: #0070b8;
    padding: 12px 10px;
    text-align: center;
    font-weight: bold;
    font-size: 0.95rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.c-stake-item:hover {
    background: #0070b8;
    color: #fff;
}

.c-stake-note {
    font-size: 0.9rem;
    font-weight: bold;
    color: #888;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

/* スマホでは2列、極小画面では1列に最適化 */
@media screen and (max-width: 800px) {
    .c-stakeholder-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 480px) {
    .c-stakeholder-grid {
        grid-template-columns: 1fr;
    }
}


/* --------------------------------------------------------------------------
   Responsive & Print: デバイス別・印刷別最適化
   -------------------------------------------------------------------------- */
@media screen and (max-width: 800px) {
    /* スマホ・タブレットでは縦並びに切り替え */
    .c-video-flex {
        flex-direction: column;
    }
}

@media print {
    /* 印刷時は動画を非表示（インク節約とレイアウト保護） */
    .c-video-flex {
        display: none !important;
    }
}