@charset "utf-8";
/* CSS Document */

/* 事例詳細ページ固有のスタイル */

/* 事例ヘッダー */
.case-header {
    margin-bottom: 30px;
}

.case-title {
    background-color: #f0d0d0;
    padding: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    border-left: 6px solid #c41e3a;
}

/* 基本情報テーブル */
.case-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.case-info-table th {
    background-color: #f0d0d0;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #ccc;
    width: 150px;
    font-size: 16px;
    line-height: 1.8;
}

.case-info-table td {
    padding: 15px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

/* セクションブロック */
.section-block {
    margin-bottom: 40px;
}

.section-heading {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    border-left: 6px solid #c41e3a;
    padding-left: 15px;
    position: relative;
}



.section-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
	text-align: justify;
}

/* 画像コンテナ */
.image-container {
    text-align: center;
    margin: 20px 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
}

/* インタビュー情報 */
.interview-info {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin: 20px 0;
}

.interview-text {
    flex: 1;
}

.interview-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 10px;
	text-align: justify;
}

.interview-image {
    width: 300px;
    flex-shrink: 0;
}

.interview-image img {
    width: 100%;
    height: auto;
}

/* ポイントセクション */
.point-section {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.point-title {
    font-size: 18px;
    font-weight: bold;
    color: #c41e3a;
    margin-bottom: 15px;
}

/* Q&A */
.qa-item {
    margin-bottom: 20px;
}

.qa-question,
.qa-answer {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.qa-label {
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    font-size: 18px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
}

.qa-label.q {
    background-color: #003366;
}

.qa-label.a {
    background-color: #c41e3a;
}

.qa-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.8;
	text-align: justify;
}

.qa-question .qa-text {
    font-weight: bold;
}

/* 注記 */
.note {
    font-size: 14px;
    color: #666;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* 事例ナビゲーション */
.case-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
    border-top: 2px solid #c41e3a;
}

.nav-item {
    padding: 10px 20px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-weight: bold;
}

.nav-item:hover {
    background-color: #e0e0e0;
    color: #333;
}

.nav-item.active {
    background-color: #c41e3a;
    color: #fff;
    border-color: #c41e3a;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .case-title {
        font-size: 20px;
        padding: 15px;
    }
    
    .case-info-table th {
        width: 120px;
        font-size: 14px;
        padding: 12px;
    }
    
    .case-info-table td {
        font-size: 14px;
        padding: 12px;
    }
    
    .section-heading {
        font-size: 18px;
    }
    
    .section-heading::after {
        display: none;
    }
    
    .section-text {
        font-size: 14px;
    }
    
    .interview-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .interview-image {
        width: 80%;
        align-self: center;
    }
    
    .point-title {
        font-size: 16px;
    }
    
    .qa-text {
        font-size: 14px;
    }
    
    .case-navigation {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .nav-item {
        padding: 8px 6px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .case-title {
        font-size: 18px;
    }
    
    .case-info-table th {
        width: 100px;
        font-size: 12px;
        padding: 10px 6px;
    }
    
    .case-info-table td {
        font-size: 13px;
        padding: 10px;
    }
    
    .section-heading {
        font-size: 16px;
    }
    
    .section-text {
        font-size: 13px;
    }
    
    .point-section {
        padding: 15px;
    }
    
    .qa-label {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .qa-text {
        font-size: 13px;
    }
}