:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #eff6ff;
    --border-color: #e5e7eb;
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ========================================
   HEADER & NAVIGATION STYLES
   ======================================== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 30;
    transition: all 0.3s ease;

    &.scrolled {
        box-shadow: var(--shadow-md);
        background: rgba(255, 255, 255, 0.98);
    }

    .header-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 70px;

        @media (min-width: 640px) {
            padding: 0 2rem;
        }
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 1.5rem;
        font-weight: 700;
        text-decoration: none;
        flex: 1;

        .logo-image {
            width: 32px;
            height: 32px;
            object-fit: contain;
        }

        .logo-text {
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
    }

    .nav {
        a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            transition: color 0.3s ease;
            position: relative;
            display: grid;
            place-items: center;

            &:hover {
                color: var(--primary-color);
            }

            &.active {
                color: var(--primary-color);

                &::after {
                    content: '';
                    position: absolute;
                    bottom: -4px;
                    left: 0;
                    right: 0;
                    height: 2px;
                    background-color: var(--primary-color);
                }
            }
        }

        &.desktop-nav {
            display: none;
            gap: 2rem;

            @media (min-width: 768px) {
                display: flex;
            }
        }

        &.mobile-nav {
            position: fixed;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            height: 100vh;
            z-index: 40;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3rem;
            transition: opacity 300ms ease-in-out;
            opacity: 0;
            pointer-events: none;

            @media (min-width: 768px) {
                display: none;
            }

            &.opacity-100 {
                opacity: 1;
                pointer-events: auto;
            }

            a {
                font-size: 1.5rem;
                font-weight: 600;
            }
        }
    }

    .menu-btn {
        background: none;
        border: none;
        cursor: pointer;
        z-index: 50;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;

        @media (min-width: 768px) {
            display: none;
        }

        .material-symbols-outlined {
            font-size: 28px;
            color: var(--text-primary);
            transition: color 0.3s ease;
        }

        &:hover .material-symbols-outlined {
            color: var(--primary-color);
        }
    }

    .cta-btn {
        margin-left: 1rem;
        
        @media (max-width: 768px) {
            display: none;
        }
    }
}

/* ========================================
   FOOTER STYLES
   ======================================== */
footer {
    background: linear-gradient(135deg, var(--text-primary), #374151);
    color: white;
    padding: 3rem 0 1rem;

    .footer-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;

        @media (min-width: 640px) {
            padding: 0 2rem;
        }
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        margin-bottom: 2rem;

        @media (max-width: 768px) {
            grid-template-columns: 1fr;
            text-align: center;
        }
    }

    .footer-section {
        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;

            .footer-logo-image {
                width: 40px;
                height: 40px;
                object-fit: contain;
            }
        }

        h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0;
            color: white;
        }

        .footer-logo + p,
        h3 + p {
            margin-top: 1rem;
        }

        p, li {
            color: #d1d5db;
            line-height: 1.6;
            margin-bottom: 0.5rem;
        }

        ul {
            list-style: none;

            li {
                margin-bottom: 0.75rem;

                a {
                    color: #d1d5db;
                    text-decoration: none;
                    transition: color 0.3s ease;

                    &:hover {
                        color: white;
                    }
                }
            }
        }

        .social-links {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;

            @media (max-width: 768px) {
                justify-content: center;
            }

            a {
                width: 40px;
                height: 40px;
                background: rgba(255, 255, 255, 0.1);
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: #d1d5db;
                text-decoration: none;
                transition: all 0.3s ease;

                &:hover {
                    background: var(--primary-color);
                    color: white;
                    transform: translateY(-2px);
                }

                img {
                    width: 20px;
                    height: 20px;
                    filter: brightness(0) saturate(100%) invert(82%) sepia(7%) saturate(1095%) hue-rotate(183deg) brightness(92%) contrast(89%);
                }
            }
        }
    }

    .footer-bottom {
        border-top: 1px solid #4b5563;
        padding-top: 1rem;
        text-align: center;

        p {
            color: #9ca3af;
            font-size: 0.875rem;
            margin: 0;
        }
    }

    .company-info {
        .info-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.75rem;

            @media (max-width: 768px) {
                justify-content: center;
            }

            .material-symbols-outlined {
                font-size: 1.125rem;
                color: var(--primary-color);
            }

            span {
                color: #d1d5db;
            }
        }
    }
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;

    @media (min-width: 640px) {
        padding: 0 2rem;
    }
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;

    &::after {
        content: "";
        display: block;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        margin: 1rem auto 0;
        border-radius: 2px;
    }

    @media (max-width: 768px) {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 160px;

    &.btn-primary {
        background: var(--primary-color);
        color: white;
        box-shadow: var(--shadow-md);

        &:hover {
            background: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
    }

    &.btn-secondary {
        background: white;
        color: var(--primary-color);
        border-color: var(--primary-color);

        &:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }
    }

    &.btn-outline {
        background: transparent;
        color: var(--primary-color);
        border-color: var(--border-color);

        &:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
        }
    }

    &.btn-accent {
        background: var(--warning-color);
        color: white;

        &:hover {
            background: #d97706;
            transform: translateY(-2px);
        }
    }

    @media (max-width: 640px) {
        padding: 0.625rem 1.5rem;
        min-width: 140px;
        font-size: 0.875rem;
    }
}

.sp-br {
    @media (min-width: 768px) {
        display: none;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #dbeafe 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;

    @media (max-width: 768px) {
        padding: 4rem 0 2rem;
    }

    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: center;

        @media (max-width: 768px) {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        @media (min-width: 640px) {
            padding: 0 2rem;
        }
    }

    .hero-title {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;

        @media (max-width: 768px) {
            font-size: 2.25rem;
        }
    }

    .hero-subtitle {
        font-size: 1.25rem;
        color: var(--text-secondary);
        margin-bottom: 2rem;
        line-height: 1.6;

        @media (max-width: 768px) {
            font-size: 1.125rem;
        }
    }

    .hero-cta {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;

        @media (max-width: 640px) {
            flex-direction: column;
            align-items: center;
        }
    }

    .hero-image {
        img {
            width: 100%;
            height: auto;
            border-radius: 1rem;
            box-shadow: var(--shadow-xl);
        }

        @media (max-width: 768px) {
            order: -1;
        }
    }
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: var(--bg-primary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .feature-card {
        background: white;
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-md);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        .feature-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;

            .material-symbols-outlined {
                font-family: 'Material Symbols Outlined';
                font-size: 2rem;
                color: white;
            }
        }

        h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        p {
            color: var(--text-secondary);
            line-height: 1.6;
        }
    }
}

/* Meaning Section */
.meaning {
    padding: 4rem 0;
    background: var(--bg-secondary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .meaning-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .meaning-card {
        background: white;
        padding: 1.5rem;
        border-radius: 0.75rem;
        text-align: center;
        box-shadow: var(--shadow-sm);
        transition: transform 0.3s ease;

        &:hover {
            transform: translateY(-3px);
        }

        .meaning-icon {
            width: 60px;
            height: 60px;
            background: var(--success-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;

            .material-symbols-outlined {
                font-size: 1.5rem;
                color: white;
            }
        }

        h3 {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        p {
            font-size: 0.875rem;
            color: var(--text-secondary);
        }
    }
}

/* Pricing Section */
.pricing {
    padding: 4rem 0;
    background: var(--bg-primary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
    }

    .pricing-card {
        background: white;
        border-radius: 1rem;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;

        &:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-xl);
        }

        &.featured {
            border: 2px solid var(--primary-color);
            transform: scale(1.05);

            &:hover {
                transform: scale(1.05) translateY(-5px);
            }
        }

        .popular-badge {
            position: absolute;
            top: -10px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--primary-color);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 1rem;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .pricing-header {
            text-align: center;
            margin-bottom: 2rem;

            h3 {
                font-size: 1.5rem;
                font-weight: 700;
                margin-bottom: 1rem;
                color: var(--text-primary);
            }

            .price {
                font-size: 2.5rem;
                font-weight: 700;
                color: var(--primary-color);
            }
        }

        .pricing-features {
            list-style: none;
            margin-bottom: 2rem;

            li {
                padding: 0.75rem 0;
                border-bottom: 1px solid var(--border-color);
                color: var(--text-secondary);

                &:last-child {
                    border-bottom: none;
                }

                &::before {
                    content: "✓";
                    color: var(--success-color);
                    font-weight: bold;
                    margin-right: 0.5rem;
                }
            }
        }

        .btn {
            width: 100%;
        }
    }
}

/* Optional Services Section */
.optional {
    padding: 4rem 0;
    background: var(--bg-secondary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .optional-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 2rem;

        @media (max-width: 640px) {
            grid-template-columns: 1fr;
        }
    }

    .optional-category {
        background: white;
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-md);

        h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: var(--text-primary);
            border-bottom: 2px solid var(--primary-color);
            padding-bottom: 0.5rem;
        }

        .optional-list {
            list-style: none;

            li {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                padding: 1rem 0;
                border-bottom: 1px solid var(--border-color);
                flex-wrap: wrap;
                gap: 0.5rem;

                &:last-child {
                    border-bottom: none;
                }

                .option-name {
                    font-weight: 600;
                    color: var(--text-primary);
                }

                .option-price {
                    font-weight: 600;
                    color: var(--primary-color);
                    white-space: nowrap;
                }

                small {
                    width: 100%;
                    color: var(--text-light);
                    font-size: 0.875rem;
                    margin-top: 0.25rem;
                }
            }
        }
    }
}

/* Workflow Section */
.workflow {
    padding: 4rem 0;
    background: var(--bg-primary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .workflow-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1000px;
        margin: 0 auto;
    }

    .workflow-step {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.5rem;
        background: white;
        border-radius: 1rem;
        box-shadow: var(--shadow-sm);
        transition: transform 0.3s ease;

        &:hover {
            transform: translateY(-3px);
        }

        .step-number {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            flex-shrink: 0;
        }

        .step-content {
            h3 {
                font-size: 1.125rem;
                font-weight: 600;
                margin-bottom: 0.5rem;
                color: var(--text-primary);
            }

            p {
                color: var(--text-secondary);
                line-height: 1.6;
            }
        }
    }
}

/* Subsidy Banner Section */
.subsidy-banner {
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--warning-color), #f97316);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .banner-content {
        display: flex;
        align-items: center;
        gap: 2rem;
        background: white;
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-lg);

        @media (max-width: 768px) {
            flex-direction: column;
            text-align: center;
        }

        .banner-icon {
            width: 80px;
            height: 80px;
            background: var(--warning-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;

            .material-symbols-outlined {
                font-size: 2rem;
                color: white;
            }
        }

        .banner-text {
            flex: 1;

            h3 {
                font-size: 1.5rem;
                font-weight: 700;
                margin-bottom: 0.5rem;
                color: var(--text-primary);

                @media (max-width: 768px) {
                    font-size: 1.25rem;
                }
            }

            p {
                color: var(--text-secondary);
                line-height: 1.6;
            }
        }
    }
}

/* SDGs Section */
.sdgs {
    padding: 4rem 0;
    background: var(--bg-secondary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .sdgs-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }

    .sdgs-card {
        background: white;
        padding: 2rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-md);
        text-align: center;
        transition: transform 0.3s ease;

        &:hover {
            transform: translateY(-3px);
        }

        .sdgs-number {
            width: 80px;
            height: 80px;
            margin: 0 auto 1rem;
        }

        h3 {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        p {
            color: var(--text-secondary);
            line-height: 1.6;
        }
    }
}

/* Security Commitment Section */
.security-commitment {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .commitment-content {
        text-align: center;
        max-width: 800px;
        margin: 0 auto;

        .commitment-icon {
            width: 100px;
            height: 100px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 2rem;

            .material-symbols-outlined {
                font-size: 3rem;
                color: white;
            }
        }

        h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;

            @media (max-width: 768px) {
                font-size: 1.5rem;
            }
        }

        .commitment-text {
            p {
                font-size: 1.125rem;
                line-height: 1.8;
                margin-bottom: 1.5rem;
                opacity: 0.95;

                &:last-child {
                    margin-bottom: 0;
                }

                @media (max-width: 768px) {
                    font-size: 1rem;
                }
            }
        }
    }
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background: var(--bg-primary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .faq-list {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        background: white;
        border-radius: 0.75rem;
        margin-bottom: 1rem;
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        transition: box-shadow 0.3s ease;

        &:hover {
            box-shadow: var(--shadow-md);
        }

        summary {
            padding: 1.5rem;
            cursor: pointer;
            font-weight: 600;
            color: var(--text-primary);
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--border-color);
            transition: background 0.3s ease;
            list-style: none;
            position: relative;

            &:hover {
                background: #f1f5f9;
            }

            &::after {
                content: "+";
                position: absolute;
                right: 1.5rem;
                top: 50%;
                transform: translateY(-50%);
                font-size: 1.5rem;
                transition: transform 0.3s ease;
            }

            &::-webkit-details-marker {
                display: none;
            }
        }

        &[open] summary::after {
            transform: translateY(-50%) rotate(45deg);
        }

        p {
            padding: 1.5rem;
            line-height: 1.7;
            color: var(--text-secondary);
            margin: 0;
        }
    }
}

/* CTA Section */
.cta {
    padding: 4rem 0;
    background: var(--bg-accent);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .cta-content {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;

        h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text-primary);

            @media (max-width: 768px) {
                font-size: 1.5rem;
            }
        }

        p {
            font-size: 1.125rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.7;

            @media (max-width: 768px) {
                font-size: 1rem;
            }
        }

        .cta-buttons {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;

            @media (max-width: 640px) {
                flex-direction: column;
                align-items: center;
            }
        }
    }
}

/* ========================================
   PAGE TOP BUTTON
   ======================================== */
.page-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 1.2rem;
    font-weight: bold;
}

.page-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.page-top-btn:focus {
outline: 2px solid var(--accent-color);
outline-offset: 2px;
}

/* ========================================
   SDGS SECTION
   ======================================== */
.sdgs-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.sdgs-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.sdgs-number-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    z-index: 2;
    pointer-events: none;
}

.sdgs-card:hover .sdgs-icon {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.sdgs-card:hover .sdgs-number {
    transform: translateY(-5px);
}

/* ========================================
   PAGE HEADER STYLES
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--bg-accent) 0%, #dbeafe 100%);
    padding: 8rem 0 3rem;
    text-align: center;

    @media (max-width: 768px) {
        padding: 6rem 0 2rem;
    }

    .page-title {
        font-size: 3rem;
        font-weight: 700;
        margin-bottom: 1rem;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;

        @media (max-width: 768px) {
            font-size: 2.25rem;
        }
    }

    .breadcrumb {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: var(--text-secondary);
        font-size: 0.875rem;

        a {
            color: var(--text-secondary);
            text-decoration: none;
            transition: color 0.3s ease;

            &:hover {
                color: var(--primary-color);
            }
        }

        .separator {
            color: var(--text-light);
        }

        .current {
            color: var(--primary-color);
            font-weight: 500;
        }
    }
}

/* ========================================
   PRIVACY POLICY STYLES
   ======================================== */
.privacy-policy {
    padding: 4rem 0;
    background: var(--bg-primary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .policy-content {
        max-width: 800px;
        margin: 0 auto;
        background: white;
        padding: 3rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-md);

        @media (max-width: 768px) {
            padding: 2rem 1rem;
        }
    }

    .policy-intro {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 2px solid var(--border-color);

        p {
            font-size: 1.125rem;
            line-height: 1.8;
            color: var(--text-secondary);
        }
    }

    .policy-section {
        margin-bottom: 3rem;

        h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        p {
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        ul {
            margin: 1rem 0;
            padding-left: 1.5rem;

            li {
                line-height: 1.8;
                color: var(--text-secondary);
                margin-bottom: 0.5rem;
            }
        }

        .note {
            background: var(--bg-secondary);
            padding: 1rem;
            border-radius: 0.5rem;
            border-left: 4px solid var(--warning-color);
            font-size: 0.875rem;
            color: var(--text-primary);
            margin-top: 1rem;
        }
    }

    .policy-footer {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 2px solid var(--border-color);
        text-align: center;

        .last-updated {
            font-size: 0.875rem;
            color: var(--text-light);
            margin-bottom: 0.5rem;
        }

        .company-info {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
        }
    }

    .contact-link {
        margin-top: 2rem;
        padding: 1.5rem;
        background: var(--bg-accent);
        border-radius: 0.75rem;
        text-align: center;

        p {
            margin: 0;
            color: var(--text-secondary);

            a {
                color: var(--primary-color);
                text-decoration: none;
                font-weight: 600;
                transition: color 0.3s ease;

                &:hover {
                    color: var(--secondary-color);
                    text-decoration: underline;
                }
            }
        }
    }
}

/* ========================================
   TERMS OF SERVICE STYLES
   ======================================== */
.terms-of-service {
    padding: 4rem 0;
    background: var(--bg-primary);

    @media (max-width: 768px) {
        padding: 2rem 0;
    }

    .terms-content {
        max-width: 800px;
        margin: 0 auto;
        background: white;
        padding: 3rem;
        border-radius: 1rem;
        box-shadow: var(--shadow-md);

        @media (max-width: 768px) {
            padding: 2rem 1rem;
        }
    }

    .terms-intro {
        margin-bottom: 3rem;
        padding-bottom: 2rem;
        border-bottom: 2px solid var(--border-color);

        p {
            font-size: 1.125rem;
            line-height: 1.8;
            color: var(--text-secondary);
        }
    }

    .terms-section {
        margin-bottom: 3rem;

        h2 {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid var(--border-color);
        }

        p {
            line-height: 1.8;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        ul, ol {
            margin: 1rem 0;
            padding-left: 1.5rem;

            li {
                line-height: 1.8;
                color: var(--text-secondary);
                margin-bottom: 0.5rem;
            }
        }

        ol {
            counter-reset: item;

            li {
                display: block;
                margin-bottom: 1rem;
                
                &::before {
                    content: counter(item) ". ";
                    counter-increment: item;
                    font-weight: 600;
                    color: var(--primary-color);
                }
            }
        }
    }

    .terms-footer {
        margin-top: 3rem;
        padding-top: 2rem;
        border-top: 2px solid var(--border-color);
        text-align: center;

        .last-updated {
            font-size: 0.875rem;
            color: var(--text-light);
            margin-bottom: 0.5rem;
        }

        .company-info {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-primary);
        }
    }

    .contact-link {
        margin-top: 2rem;
        padding: 1.5rem;
        background: var(--bg-accent);
        border-radius: 0.75rem;
        text-align: center;

        p {
            margin: 0;
            color: var(--text-secondary);

            a {
                color: var(--primary-color);
                text-decoration: none;
                font-weight: 600;
                transition: color 0.3s ease;

                &:hover {
                    color: var(--secondary-color);
                    text-decoration: underline;
                }
            }
        }
    }
}/* ========================================
   TOKUTEI (SPECIFIED COMMERCIAL TRANSACTION LAW) STYLES
   ======================================== */
.tokutei-content {
    padding: 4rem 0;
    background: var(--bg-primary);
}

@media (max-width: 768px) {
    .tokutei-content {
        padding: 2rem 0;
    }
}

.tokutei-info {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .tokutei-info {
        padding: 2rem 1rem;
    }
}

.tokutei-intro {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tokutei-intro p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.tokutei-table {
    margin-bottom: 3rem;
}

.tokutei-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .tokutei-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.tokutei-row:last-child {
    border-bottom: none;
}

.tokutei-label {
    font-weight: 700;
    color: var(--primary-color);
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    align-self: start;
}

@media (max-width: 768px) {
    .tokutei-label {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

.tokutei-value {
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0.75rem 0;
}

.tokutei-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tokutei-value a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.tokutei-value small {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.tokutei-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
    text-align: center;
}

.tokutei-footer .last-updated {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.tokutei-footer .company-info {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-link {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-accent);
    border-radius: 0.75rem;
    text-align: center;
}

.contact-link p {
    margin: 0;
    color: var(--text-secondary);
}

.contact-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* ========================================
   PRIVACY POLICY HEADER STYLES
   ======================================== */
.privacy-header {
    background-image: url('../images/privacy_main.png');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
}

.privacy-header .page-title {
    color: #2563eb;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: #2563eb;
    background-clip: initial;
    filter: drop-shadow(0px 0px 10px white);
    font-weight: 700;
}

.privacy-header .breadcrumb a,
.privacy-header .breadcrumb .separator,
.privacy-header .breadcrumb .current {
    color: #2563eb !important;
    filter: drop-shadow(0px 0px 5px white);
}

.privacy-header .breadcrumb a:hover {
    color: var(--secondary-color);
}

/* Breadcrumb Section */
.breadcrumb-section {
    background: var(--bg-secondary);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-section .breadcrumb {
    margin: 0;
}

.breadcrumb-section .breadcrumb a,
.breadcrumb-section .breadcrumb .separator,
.breadcrumb-section .breadcrumb .current {
    color: var(--text-secondary);
    text-shadow: none;
    -webkit-text-stroke-width: 0;
}

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

/* ========================================
   TOKUTEI HEADER STYLES
   ======================================== */
.tokutei-header {
    background-image: url('../images/tokutei_main.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.tokutei-header .page-title {
    color: #2563eb !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #2563eb !important;
    background-clip: initial !important;
    text-shadow: none;
    filter: drop-shadow(0px 0px 10px white);
    font-weight: 700;
}

/* ========================================
   TERMS HEADER STYLES
   ======================================== */
.terms-header {
    background-image: url('../images/terms_main.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.terms-header .page-title {
    color: #2563eb !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #2563eb !important;
    background-clip: initial !important;
    text-shadow: none;
    filter: drop-shadow(0px 0px 10px white);
    font-weight: 700;
}