/* =====================================================
   AI-TERRACE 共通スタイル
   適用範囲: .ai-terrace-page 配下のみ
   Cocoon 全体には影響しません
===================================================== */

/* --- ベース --- */
.ai-terrace-page {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    color: #333;
    line-height: 1.7;
}

.ai-terrace-page *,
.ai-terrace-page *::before,
.ai-terrace-page *::after {
    box-sizing: border-box;
}

/* --- インナー幅 --- */
.atp-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- セクション共通 --- */
.ai-terrace-page section {
    padding: 56px 0;
}

/* --- セクションタイトル（Cocoon干渉対策） --- */
.atp-section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 36px;
    color: #1a3a6b;
    border: none !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

/* --- カードタイトル（h3代替） --- */
.ai-terrace-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a3a6b;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* --- カード共通 --- */
.atp-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    padding: 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.atp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.atp-card p {
    font-size: 0.93rem;
    color: #555;
    margin: 0;
    line-height: 1.7;
}

/* --- ボタン基本 --- */
.atp-btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    white-space: nowrap;
    border: 2px solid transparent;
    line-height: 1.4;
}

.atp-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
    text-decoration: none;
}

/* ボタンバリエーション */
.atp-btn--navy {
    background: #1a3a6b;
    color: #fff !important;
    border-color: #1a3a6b;
}

.atp-btn--green {
    background: #3ecf8e;
    color: #fff !important;
    border-color: #3ecf8e;
}

.atp-btn--outline {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.8);
}

.atp-btn--outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.atp-btn--lg {
    font-size: 1.1rem;
    padding: 18px 52px;
}

/* --- チェックリスト --- */
.atp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}

.atp-check-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    font-size: 0.95rem;
    color: #444;
    border-bottom: 1px solid #e8edf5;
}

.atp-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3ecf8e;
    font-weight: 700;
}

/* --- Cocoon 目次・見出し装飾を非表示 --- */
.ai-terrace-page .toc,
.ai-terrace-page #toc,
.ai-terrace-page .wp-toc {
    display: none !important;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .ai-terrace-page section {
        padding: 40px 0;
    }

    .atp-section-title {
        font-size: 1.5rem;
        margin-bottom: 26px;
    }

    .atp-inner {
        padding: 0 16px;
    }

    .atp-btn {
        padding: 13px 28px;
        font-size: 0.95rem;
    }
}
