.p_card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.toc {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
    padding: 2rem;
    border-bottom: 3px solid #DC2E11;
}

.toc h2 {
    color: #0f172a;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-list a {
    color: #666666;
    text-decoration: none;
    padding: 0.75rem 1rem;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #ffffff;
    border-left: 3px solid transparent;
    font-size: 15px;
}

.toc-list a:hover {
    background: #0f172a;
    color: #ffffff;
    border-left-color: #DC2E11;
    transform: translateX(5px);
}

.content {
    padding: 40px;
}

.section {
    margin-bottom: 40px;
    scroll-margin-top: 30px;
}

.section:last-child {
    margin-bottom: 0;
}

.section-number {
    display: inline-block;
    background: #0f172a;
    color: #ffffff;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 0.75rem;
}

.section h2 {
    color: #0f172a;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
}

.section h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.section p {
    color: #475569;
    margin-bottom: 0;
    font-size: 1.05rem;
}

.highlight-box {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border-left: 4px solid #DC2E11;
    padding: 1.5rem;
    border-radius: 8px;
}

.highlight-box p {
    margin: 0;
    color: #1f2937;
}

.important-notice {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #dc2626;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.important-notice strong {
    color: #b91c1c;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e5e7eb, transparent);
    margin: 25px 0;
}

.contact-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-box h3 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-info {
    display: grid;
    gap: 1rem;
    font-size: 1.05rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-item a {
    color: #fff;
}

.contact-info-item::before {
    font-size: 1.3rem;
}

.footer-notice {
    background: #f8fafc;
    padding: 2rem;
    text-align: center;
    border-top: 3px solid #DC2E11;
    font-style: italic;
    color: #64748b;
}

@media (max-width: 767px) {
    .header h1 {
        font-size: 2rem;
    }

    .content,
    .highlight-box,
    .toc,
    .important-notice,
    .footer-notice {
        padding: 15px;
    }

    .section h2 {
        font-size: 20px;
    }

    .section h3 {
        font-size: 16px;
    }

    .toc-list {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 20px;
    }

    .contact-box h3 {
        font-size: 16px;
    }

    .contact-info {
        gap: 10px;
        font-size: 14px;
    }

}

@media (min-width: 1000px) and (max-width: 1400px) {
    .section h2 {
        font-size: 24px;
    }

    .divider {
        margin: 15px 0;
    }

    .section h3 {
        margin: 24px 0 1rem;
    }

    .footer-notice,
    .important-notice,
    .highlight-box {
        padding: 22px;
    }

    .section {
        margin-bottom: 20px;
    }
}