/* Market Research Report Detail Page Styles */

.report-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.report-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* メインコンテンツエリア */
.report-article-main {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.report-article-detail {
    padding: 40px;
}

/* アイキャッチ画像 */
.report-article-image {
    margin: -40px -40px 30px;
    width: calc(100% + 80px);
}

.report-article-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* タイトル */
.report-article-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    color: #333;
    margin-bottom: 20px;
}

/* 公開日 */
.report-article-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.report-publish-date {
    display: inline-block;
}

/* 本文コンテンツ */
.report-article-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.report-article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #2CA7DC;
}

.report-article-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: #333;
}

.report-article-content p {
    margin-bottom: 20px;
}

.report-article-content ul,
.report-article-content ol {
    margin: 0 0 20px 20px;
    padding-left: 20px;
}

.report-article-content li {
    margin-bottom: 10px;
}

.report-article-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.report-article-content blockquote {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-left: 4px solid #2CA7DC;
    font-style: italic;
}

/* サイドバー */
.report-article-sidebar {
    position: sticky;
    top: 100px;
}

.related-reports {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.related-reports-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E60012;
}

.related-reports-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.related-report-card {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.related-report-card:hover {
    background: #f5f5f5;
    border-color: #2CA7DC;
}

.related-report-thumbnail {
    width: 100%;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 12px;
}

.related-report-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-report-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-report-date {
    font-size: 12px;
    color: #999;
    margin-top: 8px;
}

/* デコレーティブライン（ウェビナーと統一） */
.decorative-lines {
  display: flex;
  gap: 10px;
  margin: 30px 0;
}

.line {
  display: block;
  height: 2px;
  width: 100%;
}

.blue-line {
  background-color: #00a0e9;
}

.red-line {
  background-color: #de021e;
}

/* 一覧に戻るボタン（ウェビナーと統一） */
.view-all-button-container {
  text-align: center;
  margin: 40px 0;
}

.view-all-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  background-color: #f0f0f0;
  border-radius: 25px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.view-all-button:hover {
  background-color: #e0e0e0;
}

.arrow-icon {
  width: 20px;
  height: auto;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .report-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .report-article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .report-detail-container {
        padding: 20px 15px 60px;
    }
    
    .report-article-detail {
        padding: 24px;
    }
    
    .report-article-image {
        margin: -24px -24px 20px;
        width: calc(100% + 48px);
    }
    
    .report-article-title {
        font-size: 22px;
    }
    
    .report-article-content {
        font-size: 15px;
    }
    
    .report-article-content h2 {
        font-size: 20px;
    }
    
    .report-article-content h3 {
        font-size: 18px;
    }
    
    .related-reports {
        padding: 20px;
    }
} 