﻿.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs {
    display: flex;
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
}

.tab {
    flex: 1;
    padding: 18px 20px;
    text-align: center;
    cursor: pointer;
    background-color: #fafafa;
    border-right: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #666;
    position: relative;
}

    .tab:last-child {
        border-right: none;
    }

    .tab:hover {
        background-color: #f0f0f0;
        color: #333;
    }

    .tab.active {
        background-color: #fff;
        color: #2196F3;
        font-weight: bold;
    }

        .tab.active::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: #2196F3;
        }

.tab-content {
    display: none;
    padding: 40px;
    animation: fadeIn 0.4s ease;
}

    .tab-content.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    border-left: 4px solid #2196F3;
    padding-left: 15px;
}

.content-section {
    margin-bottom: 30px;
}

    .content-section h3 {
        color: #555;
        margin-bottom: 15px;
        font-size: 18px;
    }

    .content-section p {
        color: #666;
        line-height: 1.8;
        margin-bottom: 15px;
    }

    .content-section ul {
        list-style: none;
        padding-left: 0;
    }

        .content-section ul li {
            padding: 10px 0;
            padding-left: 25px;
            position: relative;
            color: #666;
            line-height: 1.6;
        }

            .content-section ul li::before {
                content: '•';
                position: absolute;
                left: 10px;
                color: #2196F3;
                font-weight: bold;
            }

/* 響應式設計 */
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        flex: 1 1 50%;
        font-size: 14px;
        padding: 15px 10px;
    }

    .tab-content {
        padding: 20px;
    }

    h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .tab {
        flex: 1 1 100%;
    }
}
