* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Inter', 'Segoe UI', 'Noto Sans JP', 'Helvetica Neue', 'PingFang TC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(145deg, #f8faff 0%, #f0f2fe 100%);
    color: #1e293b;
    line-height: 1.6;
    padding: 0;
}

.bg-decorations {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.bg-decorations::before {
    content: "";
    position: absolute;
    top: -20%;
    right: -10%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(196, 181, 253, 0.3) 0%, rgba(196, 181, 253, 0) 70%);
    border-radius: 50%;
}

.bg-decorations::after {
    content: "";
    position: absolute;
    bottom: 0%;
    left: -5%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(165, 180, 252, 0.25) 0%, rgba(165, 180, 252, 0) 70%);
    border-radius: 50%;
}

.privacy-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    border-radius: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(196, 181, 253, 0.3);
}

.content-padding {
    padding: 2.2rem 2rem 2.5rem;
}

.brand-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    margin-bottom: 1.8rem;
}

.brand-left h1 {
    font-size: 1.8rem;
    font-weight: 450;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #1f2937, #4f46e5);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.brand-left p {
    font-size: 0.7rem;
    color: #94a3b8;
    margin-top: 0.2rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-switcher {
    display: flex;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 0.3rem 0.6rem;
    border-radius: 60px;
    border: 1px solid rgba(165, 180, 252, 0.4);
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 0.3rem 0.7rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
}

.lang-btn.active {
    background: #4f46e5;
    color: white;
}

.lang-btn:hover:not(.active) {
    background: rgba(79, 70, 229, 0.15);
    color: #4f46e5;
}

.back-link {
    background: #f1f5f9;
    border-radius: 40px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    text-decoration: none;
    color: #4f46e5;
    transition: 0.2s;
    border: 1px solid #e2e8f0;
}

.back-link:hover {
    background: #e6edf5;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 1.8rem 0 0.8rem 0;
    color: #0f172a;
    border-left: 4px solid #a78bfa;
    padding-left: 0.9rem;
}

h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 1.2rem 0 0.5rem;
    color: #334155;
}

p,
li {
    font-size: 0.95rem;
    color: #2d3a4a;
    margin-bottom: 0.75rem;
}

.last-updated {
    font-size: 0.8rem;
    color: #6c86a3;
    background: #f1f5f9;
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    margin-bottom: 0.5rem;
}

ul,
ol {
    margin: 0.6rem 0 1rem 1.8rem;
}

li {
    margin-bottom: 0.4rem;
}

.consent-card {
    background: #f8fafc;
    border-radius: 1.5rem;
    padding: 1.2rem 1.5rem;
    margin: 1.8rem 0 1.2rem;
    border: 1px solid #e0e7ff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.consent-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.consent-btn:hover {
    background: #4338ca;
    transform: scale(0.98);
}

.consent-info {
    font-size: 0.85rem;
    color: #475569;
}

hr {
    margin: 1.5rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(to right, #e2e8f0, transparent);
}

footer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.7rem;
    color: #94a3b8;
    border-top: 1px solid #eef2ff;
    padding-top: 1.5rem;
}

a {
    color: #4f46e5;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

strong {
    color: #1e293b;
}

@media (max-width: 680px) {
    .content-padding {
        padding: 1.5rem;
    }

    .consent-card {
        flex-direction: column;
        align-items: flex-start;
    }

    h2 {
        font-size: 1.3rem;
    }

    .brand-header {
        flex-direction: column;
        gap: 0.8rem;
    }

    .header-right {
        width: 100%;
        justify-content: space-between;
    }
}