/* ==========================================================================
   Policy Page Styles
   AIチャットボット利用規約・プライバシーポリシー
   ========================================================================== */

/* Hide WordPress default page title */
.page .entry-header:has(+ .entry-content .policy-page),
.page:has(.policy-page) .entry-header {
    display: none;
}

.policy-page {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #eff6ff;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow: rgba(15, 23, 42, 0.08);
}

/* Page Hero */
.policy-page .page-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.policy-page .page-hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.policy-page .page-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.policy-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.policy-page .breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-page .breadcrumb a:hover {
    color: var(--primary);
}

.policy-page .page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--text-primary);
}

.policy-page .page-hero-lead {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Policy Content */
.policy-page .policy-content {
    padding: 80px 0;
    background: var(--bg);
}

.policy-page .policy-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Policy Section */
.policy-page .policy-section {
    margin-bottom: 64px;
}

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

.policy-page .policy-section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 3px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-page .policy-section-title svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* Policy Item */
.policy-page .policy-item {
    margin-bottom: 32px;
}

.policy-page .policy-item:last-child {
    margin-bottom: 0;
}

.policy-page .policy-item-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-page .policy-item-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.policy-page .policy-item-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.9;
    padding-left: 40px;
}

/* Last Updated */
.policy-page .policy-updated {
    text-align: center;
    padding: 40px 0;
    background: var(--bg-secondary);
    color: var(--text-muted);
    font-size: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .policy-page .page-hero {
        padding: 48px 0;
    }

    .policy-page .page-hero h1 {
        font-size: 26px;
    }

    .policy-page .policy-content {
        padding: 48px 0;
    }

    .policy-page .policy-section-title {
        font-size: 20px;
    }

    .policy-page .policy-item-title {
        font-size: 16px;
    }

    .policy-page .policy-item-content {
        font-size: 14px;
        padding-left: 0;
        margin-top: 8px;
    }

    .policy-page .policy-item-number {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
}
