@charset "utf-8";

/* ============================================================
   case_study.css — 導入事例 詳細ページ
   使用ページ:
     case_study_001.html  ホテル客室 調光システム導入
     case_study_002.html  商業施設 照明リニューアル
     case_study_003.html  照明メーカー OEM器具開発
     case_study_004.html  健康施設 OEM温熱マット
   ============================================================


   【目次】
   1. ページ全体レイアウト
   2. 見出し（OVERVIEW / タイトル）
   3. メタ情報（業種 / 導入製品など）
   4. 本文セクション（BACKGROUND / SOLUTION / RESULT）
   5. 効果リスト
   6. 戻るリンク
   7. 写真スライダー（横スクロール）
   8. 関連納入事例（.oem-cases-* は oem.css を参照）
   9. レスポンシブ対応

   ============================================================ */



/* ============================================================
   1. ページ全体レイアウト
   HTML: <main class="case-detail"> <div class="case-container">
   ============================================================ */

.case-detail {
    padding: 60px 8% 100px;
}

.case-container {
    max-width: 900px;
    margin: 0 auto;
}



/* ============================================================
   2. 見出し（OVERVIEW ラベル + 事例タイトル）
   HTML: <section class="case-overview">
            <div class="case-label">OVERVIEW</div>
            <h2 class="case-company">...</h2>
   ============================================================ */

.case-overview {
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
}

.case-label {
    font-size: 11px;
    letter-spacing: 0.4em;
    color: #B8944F;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.case-company {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: #222;
    margin-bottom: 35px;
    line-height: 1.5;
}



/* ============================================================
   3. メタ情報（業種 / 導入製品 / 契約形態 / 導入年度）
   HTML: <div class="case-meta">
            <div class="meta-item">
                <span class="meta-key">...</span>
                <span class="meta-value">...</span>
            </div>
   ============================================================ */

.case-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background-color: #f9f9f9;
    padding: 30px;
    border-left: 3px solid #C8A96E;
}

.meta-item {
    display: flex;
    gap: 15px;
    align-items: baseline;
}

.meta-key {
    font-size: 11px;
    letter-spacing: 0.2em;
    color: #B8944F;
    white-space: nowrap;
    min-width: 65px;
}

.meta-value {
    font-size: 14px;
    color: #333;
}



/* ============================================================
   4. 本文セクション（BACKGROUND / SOLUTION など）
   HTML: <section class="case-section">
            <div class="case-section-label">BACKGROUND</div>
            <h3 class="case-section-title">...</h3>
            <p class="case-section-text">...</p>
   ============================================================ */

.case-section {
    margin-bottom: 60px;
}

.case-section-label {
    font-size: 10px;
    letter-spacing: 0.4em;
    color: #B8944F;
    margin-bottom: 12px;
    font-family: Arial, sans-serif;
}

.case-section-title {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #222;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.case-section-text {
    font-size: 14px;
    color: #555;
    line-height: 2.2;
}



/* ============================================================
   5. 効果リスト（RESULT 内のチェックリスト）
   HTML: <ul class="result-list">
            <li>...</li>
   ============================================================ */

.result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-list li {
    font-size: 14px;
    color: #555;
    line-height: 2;
    padding: 14px 0 14px 25px;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.result-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #C8A96E;
    font-weight: bold;
}



/* ============================================================
   6. 戻るリンク（事例一覧へ）
   HTML: <div class="case-nav">
            <a href="..." class="back-link">← 導入事例一覧に戻る</a>
   ============================================================ */

.case-nav {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.back-link {
    display: inline-block;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #B8944F;
}



/* ============================================================
   6.5 シンプル見出し（case_study_003.html 専用）
   HTML: <section class="case-overview case-overview--simple">
   メタ情報なし、タイトルだけで使う場合の緊密レイアウト
   ============================================================ */

.case-overview--simple {
    margin-bottom: 30px;
    padding-bottom: 30px;
}

.case-overview--simple .case-label {
    margin-bottom: 12px;
}

.case-overview--simple .case-company {
    margin-bottom: 0;
    font-size: 24px;
    text-align: center;
    letter-spacing: 0.2em;
}

.case-overview--simple .case-label,
.case-overview--simple .case-company {
    text-align: center;
}

/* 概要リード文・守秘義務注記（case_study_003.html） */
.case-overview-lead {
    margin: 24px auto 0;
    max-width: 720px;
    font-size: 14px;
    color: #555;
    line-height: 2.1;
    text-align: center;
    letter-spacing: 0.05em;
}

.case-overview-note {
    margin: 14px auto 0;
    font-size: 11px;
    color: #999;
    text-align: center;
    letter-spacing: 0.08em;
}

/* 事例カード内の小見出し（ご要望／弊社の対応） */
.oem-case-sub {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #B8944F;
    letter-spacing: 0.2em;
    margin-bottom: 4px;
}



/* ============================================================
   7. 単一メインビジュアル（case_study_003.html 等）
   HTML: <section class="case-photo-banner">
            <div class="case-photo-banner-inner">
                <img src="..." alt="...">
            </div>
         </section>
   ============================================================ */

.case-photo-banner {
    width: 100%;
    background: #faf7f2;
    padding: 50px 0;
    border-top: 1px solid rgba(200, 169, 110, 0.25);
    border-bottom: 1px solid rgba(200, 169, 110, 0.25);
}

.case-photo-banner-inner {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(42, 34, 26, 0.08);
    background: #faf7f2;
}

.case-photo-banner-inner img {
    width: 100%;
    height: auto;
    display: block;
}

.case-photo-banner-inner .case-photo-placeholder {
    height: 320px;
}


/* ============================================================
   7.5 写真スライダー（自動再生 + ドットインジケーター）
   HTML: <section class="case-photo-slider">
            <div class="case-photo-slider-viewport">
                <div class="case-photo-slider-track">
                    <div class="case-photo-slide">...</div>
                    ...
                </div>
            </div>
            <div class="case-photo-dots">
                <span class="case-photo-dot is-active"></span>
                ...
            </div>
        </section>

   使い方:
   - 写真が用意できたら、占位 <div class="case-photo-placeholder">...</div> を
     <img src="case03_01.jpg" alt="..."> に置き換える
   - 枚数を変更する場合は、HTML の .case-photo-slide と .case-photo-dot を
     増減（CSS は変更不要）
   - 自動再生は 3 秒。マウスホバーで停止。
   ============================================================ */

.case-photo-slider {
    position: relative;
    width: 100%;
    background: #faf7f2;
    padding: 60px 0;
    border-top: 1px solid rgba(200, 169, 110, 0.25);
    border-bottom: 1px solid rgba(200, 169, 110, 0.25);
}

.case-photo-slider-viewport {
    width: 92%;
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 32px rgba(42, 34, 26, 0.08);
}

.case-photo-slider-track {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease;
}

.case-photo-slide {
    flex: 0 0 100%;
    aspect-ratio: 1600 / 680;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #faf7f2;
}

.case-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0ebe3;
    color: #B8944F;
    font-size: 18px;
    letter-spacing: 0.3em;
    font-family: Arial, sans-serif;
}

.case-photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.case-photo-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.case-photo-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(184, 148, 79, 0.35);
    transition: all 0.3s ease;
    cursor: pointer;
}

.case-photo-dot.is-active {
    background: #B8944F;
    width: 28px;
    border-radius: 5px;
}



/* ============================================================
   8. 関連納入事例
   スタイルは oem.css の .oem-cases-* に集約
   （事例ページ下部で oem.css を読み込んで表示）
   ============================================================ */



/* ============================================================
   9. レスポンシブ対応（スマホ・タブレット）
   ============================================================ */

@media screen and (max-width: 767px) {
    .case-detail {
        padding: 40px 5% 80px;
    }

    .case-company {
        font-size: 22px;
    }

    .case-meta {
        grid-template-columns: 1fr;
    }

    .case-photo-slide {
        flex: 0 0 280px;
        height: 200px;
    }
}
