/* ==========================================================================
   PROCESS Page Custom Styles
   ========================================================================== */

/* 1. Header Sticky Fix */
header.page-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
}

/* 2. HERO Section Adjustment (Vertical Center) */
.subpage-hero {
    padding: 100px 0 90px;
}
.hero-title-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
}
.subpage-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
    letter-spacing: 0.15em;
}
.hero-divider {
    color: #999;
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1;
}
.subpage-hero-sub {
    font-size: 0.95rem;
    letter-spacing: 0.3em;
    margin-bottom: 0;
}

/* 3. Lead Text in Process Section Top */
.process-top-lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.process-top-lead p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 2.1;
    font-weight: 400;
}

/* 4. Card UI & Header Enlargement */
.phase-card-box {
    border: 1px solid #e2ded5;
    box-shadow: none;
    background-color: #ffffff;
}
.phase-card-header {
    padding: 36px 40px 24px;
    border-bottom: 1px solid #eae7e1;
}
.phase-badge-group {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
/* STEP 01 などのバッジ */
.phase-step-badge {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 6px 18px;
    letter-spacing: 0.12em;
    background-color: #1a1a1a;
    color: #ffffff;
}
/* DISCOVER などの英語コード */
.phase-code {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #666;
}
/* タイプタグ共通設定 */
.phase-type-tag {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 5px 14px;
    letter-spacing: 0.1em;
    color: #ffffff;
}
/* 事業化の核心：濃いめワインレッド */
.core-tag {
    background-color: #6b1d2f;
}
/* タイトル（可能性を考える｜〜）の大幅拡大 */
.phase-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.06em;
    line-height: 1.4;
    margin-top: 8px;
}

/* 5. Workflow Block Styling (背景色＆枠線コントロール) */
.phase-card-body {
    padding: 36px 40px 40px;
}
.phase-workflow {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.workflow-item {
    border-left: none;
    padding: 24px 28px;
    border-radius: 2px;
}
.workflow-label {
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
}

/* ① 何を確認・構築するのか（淡い水色） */
.workflow-item.check-item {
    background-color: #f0f7fa;
    border: 1px solid #e1eef4;
}
.workflow-item.check-item .workflow-label {
    color: #2b6b88;
}

/* ② 得られる成果物（白地背景 ＋ 枠線） */
.workflow-item.output-item {
    background-color: #ffffff;
    border: 1px solid #dcd7ce;
}
.workflow-item.output-item .workflow-label {
    color: #1a1a1a;
}

/* ③ 条件（淡いグレー #faf9f7） */
.workflow-item.condition {
    background-color: #faf9f7;
    border: 1px solid #eeebe4;
}
.workflow-item.condition .workflow-label {
    color: #555555;
}

.workflow-item p {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 0.98rem;
    color: #333;
    line-height: 1.9;
    font-weight: 400;
}

/* 6. Centered Action Button */
.phase-card-action.text-center {
    text-align: center;
    margin-top: 36px;
}

@media (max-width: 768px) {
    .subpage-hero {
        padding: 70px 0 60px;
    }
    .subpage-hero h1 {
        font-size: 1.8rem;
    }
    .subpage-hero-sub {
        font-size: 0.8rem;
    }
    .process-top-lead {
        margin-bottom: 40px;
    }
    .process-top-lead p {
        font-size: 0.92rem;
        text-align: left;
    }
    .phase-card-header {
        padding: 24px 20px 20px;
    }
    .phase-card-title {
        font-size: 1.3rem;
    }
    .phase-card-body {
        padding: 24px 20px 28px;
    }
    .workflow-item {
        padding: 18px 20px;
    }
}