/**
 * 実績詳細ページ CSS
 * 新サービスページのデザインシステムに準拠
 * v2.0 - 2カラムFVレイアウト
 */

/* ========================================
   リセット・基本設定
======================================== */
.case-study-container {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    line-height: 1.8;
}

.case-study-container * {
    box-sizing: border-box;
}

/* ========================================
   セクション共通
======================================== */
.case-study-section-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d1d1f;
    text-align: center;
    margin: 0 0 40px;
    letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
    .case-study-section-title {
        font-size: 22px;
        margin-bottom: 28px;
    }
}

/* ========================================
   FV：成果サマリー＋クライアント概要（2カラム）
======================================== */
.case-study-hero {
    background: linear-gradient(135deg, #0071e3 0%, #005bb5 100%);
    padding: 100px 5% 80px;
}

.case-study-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* 左側：成果サマリー */
.case-study-hero-left {
    color: #fff;
}

.case-study-hero-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.case-study-hero-title {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 700;
    color: #fff;
    line-height: 1.4;
    letter-spacing: -0.02em;
    margin: 0 0 40px;
}

.case-study-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.case-study-result-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px 16px;
    text-align: center;
}

.case-study-result-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
}

.case-study-result-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

/* 右側：クライアント概要カード */
.case-study-hero-right {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.case-study-client-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #0071e3;
}

.case-study-client-table {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.case-study-client-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.case-study-client-label {
    flex: 0 0 80px;
    font-size: 13px;
    font-weight: 600;
    color: #6e6e73;
}

.case-study-client-value {
    flex: 1;
    font-size: 15px;
    color: #1d1d1f;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .case-study-hero {
        padding: 80px 5% 60px;
    }
    
    .case-study-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .case-study-hero-label {
        font-size: 11px;
        letter-spacing: 0.2em;
    }
    
    .case-study-hero-right {
        padding: 32px 24px;
    }
    
    .case-study-results {
        gap: 12px;
    }
    
    .case-study-result-item {
        padding: 16px 12px;
    }
    
    .case-study-result-label {
        font-size: 11px;
    }
    
    .case-study-result-value {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .case-study-hero {
        padding: 80px 5% 50px;
    }
    
    .case-study-hero-title {
        font-size: 22px;
        margin-bottom: 32px;
    }
    
    .case-study-hero-right {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .case-study-client-title {
        font-size: 16px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .case-study-client-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .case-study-client-label {
        flex: none;
    }
}

/* ========================================
   課題
======================================== */
.case-study-challenge {
    background: #f5f5f7;
    padding: 80px 5%;
}

.case-study-challenge-inner {
    max-width: 700px;
    margin: 0 auto;
}

.case-study-challenge-intro {
    font-size: 16px;
    color: #1d1d1f;
    line-height: 1.9;
    margin: 0 0 32px;
    text-align: center;
}

.case-study-challenge-list {
    background: #fff;
    border-radius: 12px;
    padding: 32px 40px;
    list-style: none;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.case-study-challenge-list li {
    font-size: 15px;
    color: #1d1d1f;
    padding: 12px 0 12px 32px;
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid #f0f0f0;
}

.case-study-challenge-list li:last-child {
    border-bottom: none;
}

.case-study-challenge-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background: #0071e3;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .case-study-challenge {
        padding: 60px 5%;
    }
    
    .case-study-challenge-intro {
        font-size: 15px;
        text-align: left;
    }
    
    .case-study-challenge-list {
        padding: 24px;
    }
    
    .case-study-challenge-list li {
        font-size: 14px;
        padding-left: 24px;
    }
}

/* ========================================
   選定理由
======================================== */
.case-study-selection {
    background: #fff;
    padding: 80px 5%;
}

.case-study-selection-inner {
    max-width: 700px;
    margin: 0 auto;
}

.case-study-selection-text {
    font-size: 16px;
    color: #1d1d1f;
    line-height: 1.9;
    margin: 0;
    text-align: center;
    padding: 32px 40px;
    background: #f5f5f7;
    border-radius: 12px;
    border-left: 4px solid #0071e3;
}

.case-study-selection-text strong {
    color: #0071e3;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .case-study-selection {
        padding: 60px 5%;
    }
    
    .case-study-selection-text {
        font-size: 15px;
        padding: 24px;
        text-align: left;
    }
}

/* ========================================
   施策
======================================== */
.case-study-solution {
    background: #f5f5f7;
    padding: 80px 5%;
}

.case-study-solution-inner {
    max-width: 800px;
    margin: 0 auto;
}

.case-study-solution-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-study-solution-item {
    background: #fff;
    border-radius: 16px;
    padding: 32px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.case-study-solution-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.case-study-solution-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #0071e3;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.case-study-solution-desc {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.8;
    margin: 0;
    padding-left: 52px;
}

@media (max-width: 1024px) {
    .case-study-solution {
        padding: 60px 5%;
    }
    
    .case-study-solution-item {
        padding: 24px;
        border-radius: 12px;
    }
    
    .case-study-solution-title {
        font-size: 16px;
        gap: 12px;
    }
    
    .case-study-solution-num {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .case-study-solution-desc {
        font-size: 14px;
        padding-left: 44px;
    }
}

/* ========================================
   成果
======================================== */
.case-study-outcome {
    background: #fff;
    padding: 80px 5%;
}

.case-study-outcome-inner {
    max-width: 700px;
    margin: 0 auto;
}

.case-study-outcome-intro {
    font-size: 16px;
    color: #1d1d1f;
    line-height: 1.9;
    margin: 0 0 32px;
    text-align: center;
}

.case-study-outcome-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.case-study-outcome-list li {
    font-size: 18px;
    font-weight: 700;
    color: #0071e3;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 100%);
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(0, 113, 227, 0.1);
}

.case-study-outcome-summary {
    font-size: 15px;
    color: #6e6e73;
    line-height: 1.8;
    margin: 0;
    text-align: center;
}

@media (max-width: 1024px) {
    .case-study-outcome {
        padding: 60px 5%;
    }
    
    .case-study-outcome-intro {
        font-size: 15px;
        text-align: left;
    }
    
    .case-study-outcome-list li {
        font-size: 16px;
        padding: 16px 20px;
    }
    
    .case-study-outcome-summary {
        font-size: 14px;
        text-align: left;
    }
}

/* ========================================
   ポイント
======================================== */
.case-study-points {
    background: #f5f5f7;
    padding: 80px 5%;
}

.case-study-points-inner {
    max-width: 800px;
    margin: 0 auto;
}

.case-study-points-summary {
    background: #fff;
    border-radius: 12px;
    padding: 32px 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.case-study-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-study-points-list li {
    font-size: 15px;
    font-weight: 600;
    color: #1d1d1f;
    padding-left: 28px;
    position: relative;
    line-height: 1.6;
}

.case-study-points-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0071e3;
    font-weight: 700;
    font-size: 16px;
}

.case-study-points-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-study-point-block {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.case-study-point-title {
    font-size: 18px;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 20px;
    padding-left: 16px;
    border-left: 4px solid #0071e3;
    line-height: 1.5;
}

.case-study-point-desc {
    font-size: 15px;
    color: #6e6e73;
    line-height: 2;
    margin: 0;
}

@media (max-width: 1024px) {
    .case-study-points {
        padding: 60px 5%;
    }
    
    .case-study-points-summary {
        padding: 24px;
        margin-bottom: 28px;
    }
    
    .case-study-points-list li {
        font-size: 14px;
    }
    
    .case-study-point-block {
        padding: 24px;
        border-radius: 12px;
    }
    
    .case-study-point-title {
        font-size: 16px;
        padding-left: 12px;
    }
    
    .case-study-point-desc {
        font-size: 14px;
    }
}

/* ========================================
   一覧へ戻る
======================================== */
.case-study-back {
    background: #fff;
    padding: 60px 5% 100px;
}

.case-study-back-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.case-study-back-btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 15px;
    font-weight: 600;
    color: #0071e3;
    background: #fff;
    border: 2px solid #0071e3;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-study-back-btn:hover {
    background: #0071e3;
    color: #fff;
}

@media (max-width: 1024px) {
    .case-study-back {
        padding: 40px 5% 80px;
    }
    
    .case-study-back-btn {
        padding: 14px 40px;
        width: 100%;
    }
}
