/* 全体のスタイル */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #7c4dff;
    --accent-color: #ff4081;
    --dark-color: #333;
    --light-color: #f9f9f9;
    --gray-color: #e0e0e0;
    --text-color: #333;
    --text-light: #666;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ヘッダー */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    text-align: center;
    box-shadow: var(--shadow);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header h2 {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.9;
}

/* ナビゲーション */
nav {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    display: flex;
    list-style: none;
    overflow-x: auto;
    padding: 0;
    white-space: nowrap;
}

nav ul li {
    padding: 15px 0;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 15px;
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* メインコンテンツ */
main {
    padding: 40px 0;
}

.section {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    padding: 30px;
}

.section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-color);
    font-size: 1.8rem;
}

.subsection {
    margin-bottom: 30px;
}

.subsection h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* 基本情報カード */
.info-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.channel-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.stat-item h3 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1.2rem;
    font-weight: bold;
}

.description {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.description h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

blockquote {
    font-style: italic;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    color: var(--text-light);
}

/* カテゴリーカード */
.category-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.category-card {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* 特徴リスト */
.feature-list {
    list-style: none;
    margin: 15px 0;
}

.feature-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-color);
    position: relative;
    padding-left: 30px;
}

.feature-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* 水平統計 */
.stats-horizontal {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-item-horizontal {
    display: flex;
    align-items: center;
    background-color: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-item-horizontal i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 15px;
}

.stat-item-horizontal h4 {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

/* サムネイル分析 */
.thumbnail-analysis {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.thumbnail-img {
    width: 100%;
    max-width: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.thumbnail-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.thumbnail-features h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.thumbnail-features ul {
    list-style: none;
}

.thumbnail-features ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.thumbnail-features ul li:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* XANA概要 */
.xana-overview {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.xana-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.xana-overview ul {
    list-style: none;
}

.xana-overview ul li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.xana-overview ul li:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* ニュースカード */
.news-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.news-card {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.news-card h4 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* 市場予測 */
.market-forecast {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.forecast-highlight {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.forecast-highlight i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 20px;
}

.forecast-highlight h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.forecast-industries h4, .forecast-trends h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.industry-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.forecast-trends ol {
    padding-left: 20px;
}

.forecast-trends ol li {
    padding: 5px 0;
}

/* 強みと課題 */
.strengths-challenges-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}

.strengths, .challenges {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.strength-item, .challenge-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.strength-item i, .challenge-item i {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 5px;
}

.strength-item i {
    color: #4CAF50;
}

.challenge-item i {
    color: #F44336;
}

.strength-item h4, .challenge-item h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* 改善タブ */
.improvement-tabs {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-button {
    background-color: var(--light-color);
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-pane {
    display: none;
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
}

.tab-pane.active {
    display: block;
}

.strategy-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.strategy-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.strategy-item h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.strategy-item ul {
    list-style: none;
}

.strategy-item ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.strategy-item ul li:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* トレンドと方向性 */
.trends-container, .direction-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.trend-card, .direction-card {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.trend-card:hover, .direction-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.trend-card i, .direction-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trend-card h4, .direction-card h4 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.trend-card ul, .direction-card ul {
    list-style: none;
}

.trend-card ul li, .direction-card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.trend-card ul li:before, .direction-card ul li:before {
    content: "\f0da";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* まとめ */
.conclusion-content {
    background-color: var(--light-color);
    padding: 20px;
    border-radius: var(--border-radius);
    margin-top: 20px;
}

.conclusion-content p {
    margin-bottom: 15px;
}

.conclusion-content p:last-child {
    margin-bottom: 0;
}

/* フッター */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
    .info-card {
        flex-direction: row;
    }
    
    .channel-img {
        width: 40%;
    }
    
    .stats {
        width: 60%;
    }
    
    .thumbnail-analysis {
        flex-direction: row;
    }
    
    .thumbnail-img {
        width: 40%;
    }
    
    .thumbnail-features {
        width: 60%;
    }
    
    .xana-overview {
        flex-direction: row;
    }
    
    .xana-img {
        width: 40%;
    }
    
    .xana-overview div {
        width: 60%;
    }
    
    .strengths-challenges-container {
        grid-template-columns: 1fr 1fr;
    }
}
