/* バイブコーディング記事専用スタイル */

/* 記事内の情報パターン例示ボックス */
.info-pattern-example {
    background-color: #f8f9fa;
    border-left: 4px solid #0066cc;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
}

/* 対話例のフォーマット */
.dialogue-example {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
    overflow-x: auto;
}

/* AI特性理解セクション */
.ai-trait-understanding {
    margin: 30px 0;
}

/* 特性戦略テーブル */
.trait-strategy-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.trait-strategy-table th,
.trait-strategy-table td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

.trait-strategy-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.trait-strategy-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* 変換パターン例 */
.transform-pattern-examples {
    margin: 20px 0;
}

.pattern-example {
    background-color: #f0f4f8;
    padding: 15px;
    margin: 10px 0;
    border-radius: 5px;
    font-size: 14px;
    border-left: 3px solid #4a90e2;
}

/* セッション例 */
.session-example {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.session-example h3 {
    color: #1f2937;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
}

/* AI理解例 */
.ai-understanding-example {
    margin: 30px 0;
}

.ai-trait-example-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.ai-trait-example-table th,
.ai-trait-example-table td {
    border: 1px solid #e5e7eb;
    padding: 12px;
    text-align: left;
}

.ai-trait-example-table th {
    background-color: #f3f4f6;
    font-weight: bold;
}

/* 分散認知テーブル */
.distributed-cognition-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.distributed-cognition-table th,
.distributed-cognition-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.distributed-cognition-table th {
    background-color: #e8f0fe;
    font-weight: bold;
}

.table-note {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    text-align: center;
}

/* 情報フロー例 */
.information-flow-example {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 5px;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.8;
    margin: 20px 0;
}

/* X共有ボタンのスタイル（中央配置・適切な間隔） */
.social-share-section {
    text-align: center;
    margin-top: 40px; /* 上のタグとの間隔を十分に確保 */
    margin-bottom: 30px;
    padding: 20px 0;
}

.x-share-button {
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.x-share-button:hover {
    background-color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.x-share-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.x-share-button i {
    font-size: 18px;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .social-share-section {
        margin-top: 30px;
        margin-bottom: 25px;
    }
    
    .x-share-button {
        padding: 10px 24px;
        font-size: 15px;
    }
    
    .x-share-button i {
        font-size: 16px;
    }
}