
/* 外部リンク関連スタイル */
.link-note {
    font-size: 0.85em;
    color: #666;
    margin: 0.5em 0;
    padding: 0.5em;
    background-color: #f8f9fa;
    border-left: 3px solid #007bff;
    border-radius: 3px;
}

.link-note strong {
    color: #dc3545;
}

.warning-note {
    font-size: 0.85em;
    color: #856404;
    margin: 0.5em 0;
    padding: 0.5em;
    background-color: #fff3cd;
    border-left: 3px solid #ffc107;
    border-radius: 3px;
}

.warning-note strong {
    color: #dc3545;
}

.info-note {
    font-size: 0.85em;
    color: #0c5460;
    margin: 0.5em 0;
    padding: 0.5em;
    background-color: #d1ecf1;
    border-left: 3px solid #17a2b8;
    border-radius: 3px;
}

/* 外部リンクアイコンスタイル */
.external-link i.fas {
    font-size: 0.8em;
    margin-left: 0.3em;
    color: #6c757d;
}

.external-link:hover i.fas {
    color: #007bff;
}/* ======================
   鳩研究 シンプル統一スタイル
   ====================== */

/* リセット */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Hiragino Sans', 'Meiryo', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    background-color: #f9f9f9;
}

/* コンテナ */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
header {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.site-logo {
    text-align: center;
}

.site-logo h1 {
    font-size: 24px;
    font-weight: normal;
}

/* パンくずリスト */
.breadcrumb {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
}

.breadcrumb li:not(:last-child)::after {
    content: ">";
    margin: 0 8px;
    color: #999;
}

.breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* タイトルセクション */
.title-section {
    background: #607d8b;
    color: white;
    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 5px;
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.page-description {
    font-size: 16px;
    opacity: 0.9;
}

/* コンテンツセクション */
.content-section {
    background: white;
    padding: 30px;
    margin: 20px 0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.content-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    line-height: 1.6;
}

.content-section h3 {
    font-size: 19px;
    margin: 25px 0 15px;
    line-height: 1.6;
}

.content-section p {
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 16px;
}

/* カテゴリーグリッド */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* カテゴリーカード */
.category-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.2s;
}

.category-card:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.card-header {
    margin-bottom: 15px;
}

.card-icon {
    font-size: 32px;
    color: #7b1fa2;
    margin-bottom: 10px;
    display: block;
}

.card-title {
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}

.card-content {
    font-size: 14px;
}

.card-description {
    margin-bottom: 10px;
    color: #666;
}

.card-topics {
    list-style: none;
    font-size: 13px;
    color: #555;
}

.card-topics li {
    padding: 3px 0;
    padding-left: 15px;
    position: relative;
}

.card-topics li:before {
    content: "・";
    position: absolute;
    left: 0;
}

/* トピックグリッド */
.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.topic-card {
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
}

.topic-card h2 {
    font-size: 18px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.topic-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.read-more {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

/* 記事コンテンツ */
.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-size: 22px;
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    line-height: 1.6;
}

.article-content h3 {
    font-size: 19px;
    margin: 30px 0 15px;
    line-height: 1.6;
}

.article-content h4 {
    font-size: 17px;
    margin: 25px 0 12px;
    font-weight: bold;
    line-height: 1.6;
}

.article-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.article-content ul,
.article-content ol {
    margin: 15px 0 20px 30px;
    line-height: 1.8;
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* 目次 */
.table-of-contents {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 30px;
}

.table-of-contents h2 {
    font-size: 18px;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.table-of-contents ol {
    margin-left: 20px;
}

.table-of-contents li {
    margin-bottom: 5px;
}

.table-of-contents a {
    color: #0066cc;
    text-decoration: none;
}

.table-of-contents a:hover {
    text-decoration: underline;
}

/* 情報ボックス */
.info-box,
.warning-box {
    background: #f0f7ff;
    border: 1px solid #b3d9ff;
    border-radius: 5px;
    padding: 18px;
    margin: 25px 0;
    line-height: 1.8;
    font-size: 16px;
}

.warning-box {
    background: #fff9e6;
    border-color: #ffcc66;
}

.info-box h4,
.warning-box h4 {
    font-size: 17px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* ナビゲーションボタン */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.nav-button,
.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 15px;
    background: white;
    color: #333;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.nav-button:hover,
.nav-link:hover {
    background: #f5f5f5;
    border-color: #999;
}

.nav-button i,
.nav-link i {
    margin: 0 5px;
}

/* フッター */
footer {
    background: #333;
    color: #ccc;
    padding: 30px 0;
    margin-top: 40px;
    text-align: center;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 10px;
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

footer p {
    font-size: 14px;
    margin: 0;
}

/* 追加スタイル：コードブロック */
pre {
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    overflow-x: auto;
    margin: 15px 0;
}

pre code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}

/* まとめセクション */
.summary-section {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    margin-top: 40px;
}

.summary-section h2 {
    color: #7b1fa2;
    margin-bottom: 15px;
}

/* 番号付きステップ */
.step,
.flow-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.step-number {
    background: #7b1fa2;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 15px;
    font-size: 14px;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

/* ステップカード用スタイル */
.step-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.step-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    position: relative;
}

.step-card .step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #7b1fa2;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-card h4 {
    margin-top: 10px;
    margin-bottom: 10px;
    color: #333;
    font-size: 16px;
}

.step-card p {
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.step-card .example {
    background: #e8f5e8;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: #2e7d32;
    border-left: 3px solid #4caf50;
}

/* ワークフローステップ */
.workflow-steps,
.training-flow {
    margin: 20px 0;
}

/* 独自セクションのスタイル */
.intro-section {
    background: #f0f7ff;
    border-left: 4px solid #7b1fa2;
    padding: 20px;
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 16px;
}

/* 診断ワークフロー */
.diagnostic-workflow {
    margin: 20px 0;
}

/* プラクティスグリッド */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.practice-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
}

.practice-item h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #7b1fa2;
}

/* ベストプラクティスボックス */
.best-practices {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin: 30px 0;
}

.best-practices h3 {
    color: #7b1fa2;
    margin-bottom: 15px;
}

/* 次のステップセクション */
.next-steps {
    background: #f0f7ff;
    border: 1px solid #b3d9ff;
    border-radius: 5px;
    padding: 25px;
    margin: 35px 0;
    line-height: 1.8;
    font-size: 16px;
}

.next-steps h3 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 19px;
    line-height: 1.6;
}

/* メソッド・技法のアイテム */
.metric-item,
.solution-item,
.optimization-item,
.method-item,
.technique-item,
.architecture-item,
.pattern-item,
.conversion-item,
.infrastructure-item,
.prep-item,
.loss-item,
.optimizer-item,
.param-item,
.tuning-method,
.averaging-item,
.cv-method,
.guideline-item,
.concept-item,
.component-item,
.strategy-item,
.misconception-item,
.problem-item,
.reason-item,
.preprocessing-item {
    background: #f9f9f9;
    border-left: 3px solid #7b1fa2;
    padding: 15px;
    margin-bottom: 15px;
}

/* カテゴリーセクション */
.metric-category,
.loss-category,
.param-category,
.solution-category,
.prep-category,
.method-category,
.preprocessing-category,
.averaging-methods,
.internal-metrics,
.external-metrics,
.guideline-category,
.tool-category,
.components {
    margin: 20px 0;
}

/* サブ詳細 */
.sub-details,
.details,
.methods,
.characteristics,
.techniques,
.formats,
.environments,
.scaling-approaches,
.versioning-strategies,
.examples,
.strategies,
.approaches,
.methods,
.schedules,
.benefits,
.transformations,
.adjustments,
.guidelines,
.baselines,
.analysis-points,
.checkpoints,
.features {
    margin-left: 20px;
    margin-top: 10px;
}

/* 重要度グリッド */
.importance-grid,
.importance-reasons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.importance-item,
.reason-item {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
}

/* メトリクス関連 */
.classification-metrics,
.regression-metrics,
.multiclass-metrics,
.clustering-metrics,
.selection-guidelines,
.cross-validation {
    margin: 20px 0;
}

/* 解決策セクション */
.overfitting-solutions,
.underfitting-solutions {
    margin: 20px 0;
}

/* 混同行列セクション */
.confusion-matrix-section {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

/* ツールセクション */
.tools-section {
    margin: 20px 0;
}

/* バイアス・バリアンス */
.bias-variance {
    margin: 20px 0;
}

.concept-explanation {
    background: #f0f7ff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

/* トレードオフ管理 */
.tradeoff-management {
    margin: 20px 0;
}

.balance-strategies {
    margin-top: 15px;
}

/* 問題と解決策 */
.problem-solutions {
    margin: 20px 0;
}

/* 誤解セクション */
.misconceptions {
    margin: 20px 0;
}

/* デプロイメント関連 */
.deployment-preparation,
.deployment-methods {
    margin: 20px 0;
}

/* パラメータ調整 */
.hyperparameter-section,
.param-tuning-methods {
    margin: 20px 0;
}

/* 高度な技法 */
.advanced-techniques {
    margin: 20px 0;
}

.scheduling-methods,
.augmentation-methods,
.transfer-benefits,
.ensemble-methods {
    margin-left: 20px;
    margin-top: 10px;
}

/* 警告ボックス内の問題アイテム */
.warning-box .problem-item {
    background: transparent;
    border-left: none;
    padding: 10px 0;
    margin-bottom: 10px;
}

/* タイトル付きの要素 */
.concept-item h4,
.component-item h5,
.strategy-item h5,
.misconception-item h4,
.problem-item h4,
.reason-item h4,
.preprocessing-item h5,
.metric-item h5,
.solution-item h5,
.optimization-item h5,
.method-item h5,
.technique-item h4,
.architecture-item h5,
.pattern-item h5,
.conversion-item h5,
.infrastructure-item h5,
.loss-item h5,
.optimizer-item h4,
.param-item h5,
.tuning-method h5,
.averaging-item h5,
.cv-method h4,
.guideline-item h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #7b1fa2;
}

/* オプティマイザーセクション */
.optimizers {
    margin: 20px 0;
}

/* 損失関数セクション */
.loss-functions {
    margin: 20px 0;
}

/* 概念概要 */
.concepts-overview {
    margin: 20px 0;
}

/* 前処理カテゴリ */
.preprocessing-category {
    margin: 25px 0;
}

/* 学習ループスタイル */
.flow-step .sub-details ul {
    margin-top: 10px;
}

/* テーブルスタイル */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

table th,
table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background: #f5f5f5;
    font-weight: bold;
}

/* コンテンツの中のコード */
.article-content code {
    background: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
}

/* リストのインデント調整 */
.article-content ul ul,
.article-content ol ul,
.article-content ul ol,
.article-content ol ol {
    margin: 5px 0 10px 20px;
}

/* 強調テキスト */
.article-content strong {
    color: #333;
    font-weight: bold;
}

/* リンクスタイル */
.article-content a {
    color: #0066cc;
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

/* セクションの余白調整 */
.article-content section {
    margin-bottom: 40px;
}

.article-content section:last-child {
    margin-bottom: 0;
}

/* ディバイダー */
hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px 0;
}

/* 引用 */
blockquote {
    border-left: 4px solid #7b1fa2;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
    font-style: italic;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .content-section {
        padding: 20px;
    }
    
    .category-grid,
    .topics-grid {
        grid-template-columns: 1fr;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-button {
        justify-content: center;
        width: 100%;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-links a {
        margin: 0;
    }
}

/* アイコンのシンプル化 */
.fas, .far, .fab {
    margin-right: 5px;
}

/* 不要なアニメーションを削除 */
/* すべてのアニメーションを無効化 */
* {
    animation: none !important;
    transition: box-shadow 0.2s, background-color 0.2s !important;
}

/* アイコンの適切な配置 */
h1 i, h2 i, h3 i, h4 i, h5 i, h6 i {
    display: none; /* 見出し内のアイコンは非表示 */
}

/* カード内のアイコンは中央配置 */
.card-icon {
    display: block;
    text-align: center;
    margin: 0 auto 10px;
}

/* インラインアイコンの調整 */
.fas, .far, .fab {
    font-size: inherit;
    vertical-align: middle;
    margin-right: 5px;
}

/* summary-item内のアイコン調整 */
.summary-item > i:first-child {
    display: block;
    font-size: 24px;
    text-align: center;
    margin-bottom: 10px;
    color: #7b1fa2;
}

/* ======================
   学習パス専用スタイル
   ====================== */

/* ステップガイド */
.step-guide {
    margin: 30px 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #7b1fa2;
}

.step-item .step-number {
    background: #7b1fa2;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-item .step-content {
    flex: 1;
}

.step-item .step-content h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.step-item .step-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* タイムライン */
.timeline {
    margin: 30px 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #7b1fa2;
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-year {
    background: #7b1fa2;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    margin-right: 20px;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
    height: fit-content;
}

.timeline-content {
    flex: 1;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #7b1fa2;
}

.timeline-content h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.timeline-content p {
    margin: 0;
    line-height: 1.6;
}

/* 研究領域カード */
.research-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.research-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.research-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.research-card h4 {
    margin: 0 0 15px 0;
    color: #7b1fa2;
    font-size: 18px;
}

.research-card p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* マイルストーングリッド */
.milestone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.milestone-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}

.milestone-card.highlight {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f5ff 100%);
    border-color: #7b1fa2;
}

.milestone-card h3 {
    margin: 0 0 15px 0;
    color: #7b1fa2;
    font-size: 18px;
}

.milestone-card ul {
    margin: 0;
    padding-left: 20px;
}

.milestone-card li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* キーポイント */
.key-takeaways {
    margin: 30px 0;
}

.takeaway-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.takeaway-item {
    background: #f0f7ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.takeaway-item h3 {
    margin: 0 0 15px 0;
    color: #0066cc;
    font-size: 18px;
}

.takeaway-item p {
    margin: 0;
    line-height: 1.6;
    color: #333;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .step-item .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        margin-right: 0;
        margin-bottom: 15px;
        align-self: flex-start;
    }
    
    .research-areas,
    .milestone-grid,
    .takeaway-grid {
        grid-template-columns: 1fr;
    }
}

/* ======================
   AIサービス紹介専用スタイル
   ====================== */

/* 更新情報 */
.update-info {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    background: rgba(255,255,255,0.1);
    padding: 5px 10px;
    border-radius: 15px;
    display: inline-block;
}

/* 比較テーブル */
.comparison-table {
    margin: 30px 0;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.comparison-table th {
    background: #7b1fa2;
    color: white;
    padding: 15px 10px;
    text-align: left;
    font-weight: bold;
    font-size: 14px;
}

.comparison-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    font-size: 14px;
    line-height: 1.4;
}

.comparison-table tr:hover {
    background: #f5f5f5;
}

/* 用途別推奨 */
.use-case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.use-case-card {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.use-case-card h3 {
    margin: 0 0 15px 0;
    color: #7b1fa2;
    font-size: 18px;
    border-bottom: 2px solid #7b1fa2;
    padding-bottom: 8px;
}

.recommendation p {
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
}

.recommendation strong {
    color: #333;
}

/* 日本向け情報 */
.japan-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-card {
    background: #f0f7ff;
    border: 1px solid #b3d9ff;
    border-radius: 8px;
    padding: 20px;
}

.info-card h3 {
    margin: 0 0 15px 0;
    color: #0066cc;
    font-size: 16px;
}

.info-card ul {
    margin: 10px 0;
    padding-left: 20px;
}

.info-card li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.5;
}

.payment-options,
.data-location,
.adoption-examples,
.regulatory-info {
    font-size: 14px;
}

/* 料金比較 */
.pricing-section {
    margin: 30px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.pricing-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
    border-color: #7b1fa2;
    box-shadow: 0 4px 12px rgba(123, 31, 162, 0.1);
}

.pricing-card h4 {
    margin: 0 0 15px 0;
    color: #7b1fa2;
    font-size: 18px;
}

.pricing-card .price {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 5px 0;
}

.pricing-card ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
}

.pricing-card li {
    margin-bottom: 5px;
    font-size: 14px;
}

.enterprise-pricing {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.enterprise-pricing ul {
    margin: 0;
    padding-left: 20px;
}

.enterprise-pricing li {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
}

/* 選択ステップ */
.selection-steps {
    margin: 30px 0;
}

.selection-steps .step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    border-left: 4px solid #7b1fa2;
}

.selection-steps .step-number {
    background: #7b1fa2;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 20px;
    font-size: 16px;
}

.selection-steps .step-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.selection-steps .step-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* 最新動向 */
.trends-content {
    margin: 30px 0;
}

.trend-item {
    background: #f9f9f9;
    border-left: 4px solid #7b1fa2;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 0 8px 8px 0;
}

.trend-item h3 {
    margin: 0 0 10px 0;
    color: #7b1fa2;
    font-size: 16px;
}

.trend-item p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 14px;
}

/* スター評価 */
.rating {
    color: #ffc107;
    font-size: 16px;
}

/* ハイライト */
.highlight {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b3 100%);
    border-color: #ff9800;
}

/* レスポンシブ対応 - AIサービス用 */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 8px 5px;
    }
    
    .use-case-grid,
    .japan-info-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .selection-steps .step-item {
        flex-direction: column;
        text-align: center;
    }
    
    .selection-steps .step-number {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .pricing-card {
        text-align: left;
    }
}
