/* case-study.css */

/* パンくずリスト */
.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}
.breadcrumb a {
    color: #007bff;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* ページタイトルセクション */
.page-title-section {
    background-color: #f5f5f5;
    padding: 60px 0 40px;
    text-align: center;
}

.page-title {
    font-size: 38px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.page-subtitle {
    font-size: 20px;
    color: #555;
    margin-bottom: 0;
}

/* 企業情報ボックス */
.company-info-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    margin: -80px auto 50px; /* 上に少しはみ出すように調整 */
    max-width: 800px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.company-logo {
    max-width: 150px; /* ロゴの最大幅 */
    height: auto;
    margin-bottom: 20px;
}

.company-info-box h2 {
    font-size: 30px;
    color: #333;
    margin-bottom: 15px;
}

.company-info-box p {
    font-size: 17px;
    color: #555;
    margin-bottom: 8px;
}

.company-info-box .problem-intro {
    font-size: 18px;
    font-weight: bold;
    color: #e44d26; /* 問題点を強調する色 */
    margin-top: 20px;
}

/* 事例コンテンツ本体 */
.case-study-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left; /* テキストは左寄せ */
}

.section-block {
    background-color: #fff;
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.block-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 25px;
    border-bottom: 3px solid #007bff; /* 青色の下線 */
    padding-bottom: 10px;
    position: relative;
}

/* リストスタイル */
.problem-list-detail, .effect-list {
    list-style: none; /* デフォルトのリストスタイルを解除 */
    padding-left: 0;
    margin-left: 0;
}

.problem-list-detail li::before {
    content: "●"; /* 黒丸 */
    color: #dc3545; /* 問題点は赤 */
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

.effect-list li::before {
    content: "?"; /* チェックマーク */
    color: #28a745; /* 効果は緑 */
    font-weight: bold;
    display: inline-block;
    width: 1.5em;
    margin-left: -1.5em;
}

.problem-list-detail li, .effect-list li {
    font-size: 17px;
    color: #444;
    margin-bottom: 10px;
    line-height: 1.6;
    padding-left: 1.5em; /* テキストのインデント */
}

/* 担当者の声 */
.person-voice {
    display: flex;
    align-items: center;
    background-color: #f0f4f7;
    border-left: 5px solid #007bff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.person-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid #007bff;
}

.person-details {
    flex-grow: 1;
}

.person-details p {
    margin-bottom: 5px;
    font-size: 16px;
    color: #555;
}

.person-name-bold {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.person-quote {
    font-style: italic;
    font-size: 18px;
    color: #2c3e50;
    margin-top: 10px;
    line-height: 1.4;
}

/* 結果の強調 */
.result-highlight {
    background-color: #e6f7ff; /* 明るい青の背景 */
    border-left: 5px solid #007bff;
    padding: 25px;
    margin-top: 30px;
    border-radius: 8px;
}

.highlight-text {
    font-size: 19px;
    font-weight: bold;
    color: #0056b3;
    line-height: 1.5;
}

/* 関連機能への誘導 */
.related-features {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #ccc;
}

.related-features .block-title {
    font-size: 24px;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 20px;
}

.related-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.related-features li {
    font-size: 16px;
    background-color: #e9f5ff;
    border: 1px solid #cceeff;
    border-radius: 20px;
    padding: 8px 15px;
}

.related-features li a {
    color: #007bff;
    font-weight: bold;
}

.related-features li a:hover {
    text-decoration: none;
    color: #0056b3;
}

/* CTA（下部） */
.cta-bottom-case-study {
    background-color: #fcf8e3; /* 注意を引く黄色系 */
    border: 1px solid #fce8a6;
    padding: 40px;
    margin-top: 50px;
    border-radius: 10px;
    text-align: center;
}

.cta-text {
    font-size: 22px;
    font-weight: bold;
    color: #8a6d3b;
    margin-bottom: 25px;
}

/* レスポンシブ調整 */
@media (max-width: 768px) {
    .page-title {
        font-size: 32px;
    }
    .page-subtitle {
        font-size: 18px;
    }
    .company-info-box {
        padding: 25px;
        margin-top: -60px;
    }
    .company-info-box h2 {
        font-size: 26px;
    }
    .section-block {
        padding: 30px;
    }
    .block-title {
        font-size: 24px;
    }
    .problem-list-detail li, .effect-list li {
        font-size: 16px;
    }
    .person-voice {
        flex-direction: column;
        text-align: center;
    }
    .person-img {
        margin: 0 0 15px 0;
    }
    .person-quote {
        font-size: 16px;
    }
    .highlight-text {
        font-size: 17px;
    }
    .related-features ul {
        flex-direction: column;
        align-items: center;
    }
    .related-features li {
        width: 100%;
        text-align: center;
    }
    .cta-text {
        font-size: 18px;
    }
    .btn-cta.btn-large {
        font-size: 22px;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    .page-subtitle {
        font-size: 16px;
    }
    .company-info-box {
        padding: 20px;
    }
    .company-info-box h2 {
        font-size: 22px;
    }
    .section-block {
        padding: 20px;
    }
    .block-title {
        font-size: 20px;
    }
}