/* ============================================
   Privacy Policy Page Specific Styles
   ============================================ */

/* Color Variables */
:root {
    --color-teal-privacy: #0BFFB7;
    --color-dark-privacy: #0F1214;
    --color-deep-navy: #0A0D12;
    --color-light-bg: #F6F7F8;
    --color-text-dark: #1A1D23;
    --color-text-gray: #5A6169;
    --color-border: #E5E7EB;
}

/* Body Override */
body {
    background: var(--color-light-bg);
}

/* Particles Canvas */
.particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 1;
}

/* Z-index Management */
.header {
    position: relative;
    z-index: 1000 !important;
}

section {
    position: relative;
}

/* Content elements above particles */
section:not(.privacy-hero) * {
    position: relative;
    z-index: 10;
}

/* Hero Section */
.privacy-hero {
    background: linear-gradient(135deg, var(--color-deep-navy) 0%, var(--color-dark-privacy) 100%);
    padding: 140px 0 80px;
    position: relative;
}

.privacy-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: block !important;
    grid-template-columns: none !important;
}

.privacy-hero .hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 0.05em;
}

.privacy-hero .hero-subtitle {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.privacy-hero .hero-line {
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-teal-privacy), transparent);
    margin: 0 auto;
    box-shadow: 0 0 20px var(--color-teal-privacy);
}

/* Content Section */
.privacy-content {
    padding: 80px 0 100px;
    background: var(--color-light-bg);
}

.privacy-content .container {
    max-width: 900px;
}

.content-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(11, 255, 183, 0.1);
}

/* Policy Sections */
.policy-section {
    margin-bottom: 3.5rem;
}

.policy-section:last-of-type {
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-teal-privacy);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--color-teal-privacy);
    box-shadow: 0 0 8px rgba(11, 255, 183, 0.4);
}

/* Section Text */
.section-text {
    color: var(--color-text-dark);
    line-height: 1.9;
    font-size: 1rem;
}

.section-text p {
    margin-bottom: 1.25rem;
}

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

.text-indent {
    padding-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.text-note {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: rgba(11, 255, 183, 0.05);
    border-left: 3px solid var(--color-teal-privacy);
    border-radius: 4px;
    font-size: 0.95rem;
    color: var(--color-text-gray);
}

/* Policy List */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.policy-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.85rem;
    line-height: 1.8;
    color: var(--color-text-dark);
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    background: var(--color-text-dark);
    border-radius: 50%;
}

/* Contact Info */
.contact-info {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(246, 247, 248, 0.5);
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-gray);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-dark);
    margin-bottom: 1.25rem;
}

.contact-value:last-child {
    margin-bottom: 0;
}

.contact-link {
    color: #12ce96;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    border-bottom-color: #12ce96;
    text-shadow: 0 0 8px rgba(18, 206, 150, 0.4);
}

/* Policy Footer */
.policy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: right;
}

.policy-date {
    font-size: 0.9rem;
    color: var(--color-text-gray);
    font-weight: 500;
}

/* Footer Override */
.footer {
    background: var(--color-dark-privacy);
}

/* Responsive Design */

/* PC版の間隔設定 */
@media (min-width: 769px) {
    .privacy-hero .hero-title {
        margin-bottom: 1.5rem;
    }
    
    .privacy-hero .hero-line {
        margin-bottom: 2rem;
    }
    
    .privacy-hero .hero-subtitle {
        margin-bottom: 3rem;
    }
}

/* SP版の間隔設定 */
@media (max-width: 768px) {
    .privacy-hero .hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .privacy-hero .hero-title,
    .privacy-hero h1 {
        order: 1 !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
        font-size: 2.5rem !important;
    }
    
    .privacy-hero .hero-line,
    .privacy-hero div.hero-line {
        order: 2 !important;
        margin-top: 1rem !important;
        margin-right: auto !important;
        margin-bottom: 1rem !important;
        margin-left: auto !important;
        padding: 0 !important;
    }
    
    .privacy-hero .hero-subtitle,
    .privacy-hero p {
        order: 3 !important;
        margin-top: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        padding: 0 !important;
        font-size: 1rem !important;
    }

    .privacy-hero {
        padding: 120px 0 60px;
    }

    .privacy-content {
        padding: 60px 0 80px;
    }

    .content-card {
        padding: 40px 30px;
    }

    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .section-text {
        font-size: 0.95rem;
    }

    .policy-list li {
        padding-left: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .contact-info {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .privacy-hero {
        padding: 100px 0 50px;
    }

    .privacy-hero .hero-title {
        font-size: 1.5rem;
    }

    .privacy-hero .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    .content-card {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .section-text {
        font-size: 0.9rem;
    }

    .policy-section {
        margin-bottom: 2.5rem;
    }

    .text-note {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
    }

    .contact-info {
        padding: 1rem;
    }

    .policy-footer {
        text-align: center;
    }
}

/* Animation */
[data-animate="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate="fade-up"].animate-in {
    opacity: 1;
    transform: translateY(0);
}
