/* A/Bテスト用追加スタイル */

/* ホームページレイアウト バリアント */
.ab-test-homepage_layout-a {
    /* 標準レイアウト */
}

.ab-test-homepage_layout-b .grid {
    /* グリッド強調レイアウト */
    gap: 2rem;
}

/* ホームページレイアウト - A/Bテスト確定済み（2025-09-02） */
/* バリアントA（標準レイアウト）が最も効果的だったため固定 */
/*
.ab-test-homepage_layout-b .grid > div {
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.3s ease;
}

.ab-test-homepage_layout-b .grid > div:hover {
    transform: perspective(1000px) rotateX(-5deg);
}

.ab-test-homepage_layout-c {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.ab-test-homepage_layout-c .price-comparison-container {
    order: -1;
    margin-bottom: 2rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
*/

/* 記事一覧スタイル - A/Bテスト確定済み（2025-09-02） */
/* バリアントA（2カラムグリッド）が最も効果的だったため固定 */
.ab-test-article_list_style-a,
.article-list-2col {
    /* 2カラムグリッド（確定済み） */
}

/* 以下は確定済みテスト終了により無効化
.ab-test-article_list_style-b {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem;
}

@media (max-width: 768px) {
    .ab-test-article_list_style-b {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.ab-test-article_list_style-c {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ab-test-article_list_style-c > div {
    display: flex;
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.ab-test-article_list_style-c > div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
テスト終了により無効化ここまで */

/* 価格比較スタイル バリアント */
.ab-test-price_comparison_style-a {
    /* カード形式（デフォルト） */
}

.ab-test-price_comparison_style-b {
    /* テーブル形式 */
}

.ab-test-price_comparison_style-b .price-comparison-container {
    padding: 1.5rem;
}

.ab-test-price_comparison_style-c {
    /* アコーディオン形式 */
}

.ab-test-price_comparison_style-c .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ab-test-price_comparison_style-c .accordion-content:not(.hidden) {
    max-height: 500px;
}

/* ローディングアニメーション */
.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CTAボタンホバーエフェクト */
.cta-button-a {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
}

.cta-button-a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.cta-button-a:hover::before {
    left: 100%;
}

.cta-button-b {
    background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% { box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6); }
}

.cta-button-c {
    background: linear-gradient(135deg, #16a34a 0%, #14532d 100%);
    border: 2px solid #15803d;
    transform: perspective(1000px) rotateX(0deg);
    transition: all 0.3s ease;
}

.cta-button-c:hover {
    transform: perspective(1000px) rotateX(-10deg) translateY(-2px);
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.3);
}

/* ダークモード対応 */
@media (prefers-color-scheme: dark) {
    /* ホームページレイアウト確定済みにより無効化
    .ab-test-homepage_layout-c {
        background: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
    }
    */
    
    /* 記事一覧テスト確定済みにより無効化
    .ab-test-article_list_style-c > div {
        background: #374151;
        color: white;
    }
    */
}

/* モバイル用調整 */
@media (max-width: 640px) {
    /* ホームページレイアウト確定済みにより無効化
    .ab-test-homepage_layout-b .grid {
        gap: 1rem;
    }
    */
    
    /* 記事一覧テスト確定済みにより無効化
    .ab-test-article_list_style-b {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    
    .ab-test-article_list_style-c > div {
        flex-direction: column;
    }
    */
}
