/**
 * AI Bridge - CTAボタンブロック スタイル
 */

/* ラッパー */
.aibridge-cta-button-wrapper {
    margin: 20px 0;
}

.aibridge-cta-button-wrapper.align-left {
    text-align: left;
}

.aibridge-cta-button-wrapper.align-center {
    text-align: center;
}

.aibridge-cta-button-wrapper.align-right {
    text-align: right;
}

/* ベースボタンスタイル */
.aibridge-cta-button {
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1.4;
}

/* MCTA-BUTTON1: プライマリ */
.aibridge-cta-button.mcta-button1 {
    background: var(--primary-color, #0066cc);
    color: #ffffff;
    border: none;
}

.aibridge-cta-button.mcta-button1:hover {
    background: var(--primary-dark, #0052a3);
}

/* MCTA-BUTTON2: アウトライン */
.aibridge-cta-button.mcta-button2 {
    background: transparent;
    color: var(--primary-color, #0066cc);
    border: 2px solid var(--primary-color, #0066cc);
}

.aibridge-cta-button.mcta-button2:hover {
    background: var(--primary-color, #0066cc);
    color: #ffffff;
}

/* MCTA-BUTTON3: グラデーション */
.aibridge-cta-button.mcta-button3 {
    background: linear-gradient(135deg, var(--primary-color, #0066cc) 0%, var(--accent-color, #17a2b8) 100%);
    color: #ffffff;
    border: none;
}

.aibridge-cta-button.mcta-button3:hover {
    background: linear-gradient(135deg, var(--primary-dark, #0052a3) 0%, #138496 100%);
}

/* MCTA-BUTTON4: ダーク */
.aibridge-cta-button.mcta-button4 {
    background: #1a1a2e;
    color: #ffffff;
    border: none;
}

.aibridge-cta-button.mcta-button4:hover {
    background: #2d2d44;
}

/* MCTA-BUTTON5: シャドウ */
.aibridge-cta-button.mcta-button5 {
    background: var(--primary-color, #0066cc);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.aibridge-cta-button.mcta-button5:hover {
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.6);
}

/* MCTA-BUTTON6: 角丸なし */
.aibridge-cta-button.mcta-button6 {
    background: var(--primary-color, #0066cc);
    color: #ffffff;
    border: none;
    border-radius: 0 !important;
}

.aibridge-cta-button.mcta-button6:hover {
    background: var(--primary-dark, #0052a3);
}

/* ホバーエフェクト */
.aibridge-cta-button.hover-lift:hover {
    transform: translateY(-3px);
}

.aibridge-cta-button.hover-scale:hover {
    transform: scale(1.05);
}

.aibridge-cta-button.hover-brighten:hover {
    filter: brightness(1.15);
}

.aibridge-cta-button.hover-none:hover {
    transform: none;
    filter: none;
}

/* エディター内スタイル */
.editor-styles-wrapper .aibridge-cta-button {
    outline: none;
}

.editor-styles-wrapper .aibridge-cta-button:focus {
    box-shadow: 0 0 0 2px var(--primary-color, #0066cc);
}

/* レスポンシブ */
@media (max-width: 768px) {
    .aibridge-cta-button-wrapper {
        margin: 15px 0;
    }

    .aibridge-cta-button {
        max-width: 100%;
    }
}
