/* ATC Hall Report - Enhanced Premium Theme */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

:root {
    /* Premium Color Palette */
    --primary: #0f172a;
    --primary-dark: #020617;
    --primary-light: #1e293b;
    --accent: #0ea5e9;
    --accent-light: #38bdf8;
    --accent-dark: #0284c7;
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --accent-gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --success: #10b981;
    --success-light: #34d399;
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --danger: #ef4444;
    --danger-light: #f87171;
    --purple: #8b5cf6;
    --pink: #ec4899;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --bg-dark: #0f172a;

    /* Borders */
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-colored: 0 10px 40px -10px rgba(14, 165, 233, 0.3);

    /* Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-primary);
    background: var(--bg-white);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-dark);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* Decorative Elements */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    height: 44px;
    width: auto;
}

.header-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-badges {
    display: flex;
    gap: 10px;
    align-items: center;
}

.badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-confidential {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.3);
}

.badge-internal {
    background: var(--bg-gray);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Password Page */
.password-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.password-page::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(2%, 2%) rotate(1deg);
    }

    66% {
        transform: translate(-1%, 1%) rotate(-1deg);
    }
}

.password-card {
    background: rgba(255, 255, 255, 0.98);
    padding: 56px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg), 0 0 60px rgba(14, 165, 233, 0.1);
    text-align: center;
    max-width: 440px;
    width: 90%;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.password-card .logo {
    height: 80px;
    margin-bottom: 28px;
}

.password-card h1 {
    font-size: 1.6rem;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.password-card p {
    color: var(--text-secondary);
    margin-bottom: 36px;
    font-size: 0.95rem;
}

.password-input-group {
    position: relative;
    margin-bottom: 24px;
}

.password-input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 3px;
    background: var(--bg-light);
}

.password-input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
}

.password-input.error {
    border-color: var(--danger);
    animation: shake 0.5s ease;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-8px);
    }

    40%,
    80% {
        transform: translateX(8px);
    }
}

.password-btn {
    width: 100%;
    padding: 18px 32px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-colored);
}

.password-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px rgba(14, 165, 233, 0.4);
}

.error-message {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 16px;
    display: none;
}

.error-message.visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Boarding Page */
.boarding-page {
    min-height: 100vh;
}

.boarding-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 50%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.boarding-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
}

.boarding-hero>.container {
    position: relative;
    z-index: 1;
}

.boarding-hero .logo {
    height: 100px;
    margin-bottom: 32px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.boarding-hero h1 {
    font-size: 2.75rem;
    margin-bottom: 20px;
    font-weight: 900;
}

.boarding-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
}

.boarding-content {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.boarding-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 60px;
}

.boarding-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid var(--border);
    overflow: hidden;
}

.boarding-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.boarding-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    border-color: transparent;
}

.boarding-card:hover::before {
    transform: scaleX(1);
}

.boarding-card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 28px;
    box-shadow: var(--shadow-colored);
}

.boarding-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.boarding-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

.boarding-cta {
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 48px;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px -10px rgba(14, 165, 233, 0.4);
    color: white;
}

.btn-primary svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

/* Report Page - Hero */
.report-hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a5f 40%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.report-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 0% 100%, rgba(14, 165, 233, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
}

.report-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.report-hero-content {
    position: relative;
    z-index: 1;
}

.report-hero h1 {
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 16px;
    line-height: 1.2;
}

.report-hero .subtitle {
    font-size: 1.2rem;
    opacity: 0.85;
    margin-bottom: 56px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.hero-stat {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stat:hover::before {
    opacity: 1;
}

.hero-stat-value {
    font-size: 3.25rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
}

.hero-stat-value.positive {
    background: linear-gradient(135deg, #10b981, #34d399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-value.negative {
    background: linear-gradient(135deg, #ef4444, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-value.neutral {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.9rem;
    opacity: 0.85;
}

/* Table of Contents */
.toc {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 77px;
    z-index: 90;
}

.toc-list {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 4px;
    list-style: none;
}

.toc-list::-webkit-scrollbar {
    height: 3px;
}

.toc-list::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.toc-item a {
    display: block;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.toc-item a:hover {
    background: var(--bg-light);
    color: var(--accent);
    border-color: var(--border);
}

.toc-item a.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-colored);
}

/* Section Styles */
.section-header {
    margin-bottom: 56px;
}

.section-header h2 {
    color: var(--text-primary);
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-secondary);
    margin-top: 24px;
    max-width: 700px;
    font-size: 1.05rem;
}

/* Cards */
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 28px;
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(14, 165, 233, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.card-icon.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(52, 211, 153, 0.1));
}

.card-icon.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(251, 191, 36, 0.1));
}

.card-icon.danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(248, 113, 113, 0.1));
}

.card-icon.info {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(56, 189, 248, 0.1));
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

/* Priority Cards */
.priority-grid {
    display: grid;
    gap: 24px;
}

.priority-card {
    display: flex;
    gap: 28px;
    padding: 32px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.priority-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    transition: width 0.3s ease;
}

.priority-card:nth-child(1)::before {
    background: var(--danger);
}

.priority-card:nth-child(2)::before {
    background: var(--warning);
}

.priority-card:nth-child(3)::before {
    background: var(--text-muted);
}

.priority-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(8px);
}

.priority-card:hover::before {
    width: 6px;
}

.priority-badge {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.priority-badge.high {
    background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white;
}

.priority-badge.medium {
    background: linear-gradient(135deg, var(--warning), #d97706);
    color: white;
}

.priority-badge.low {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
}

.priority-badge span:first-child {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.priority-badge span:last-child {
    font-size: 1.6rem;
}

.priority-content h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.priority-content p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent), var(--purple), var(--accent));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: 48px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 4px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-white);
    border: 4px solid var(--accent);
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.2);
    box-shadow: 0 0 0 6px rgba(14, 165, 233, 0.15);
}

.timeline-item.active .timeline-marker {
    background: var(--accent);
}

.timeline-item.highlight .timeline-marker {
    background: linear-gradient(135deg, var(--success), var(--success-light));
    border-color: var(--success);
    width: 32px;
    height: 32px;
    left: -42px;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.15);
}

.timeline-date {
    font-size: 0.9rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.timeline-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline-stats {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.timeline-stat {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
    border: 1px solid var(--border);
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.timeline-stat:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-colored);
}

.timeline-stat strong {
    color: var(--accent-dark);
}

/* Charts */
.chart-container {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 32px;
    transition: all 0.3s ease;
}

.chart-container:hover {
    box-shadow: var(--shadow-md);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.chart-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.chart-legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.chart-wrapper {
    position: relative;
    height: 360px;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.data-table th,
.data-table td {
    padding: 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.data-table th {
    background: linear-gradient(135deg, var(--bg-light), var(--bg-gray));
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table td {
    color: var(--text-secondary);
}

.data-table tbody tr {
    transition: all 0.2s ease;
}

.data-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), rgba(99, 102, 241, 0.03));
}

.data-table .highlight {
    color: var(--accent-dark);
    font-weight: 700;
}

.data-table .positive {
    color: var(--success);
    font-weight: 600;
}

.data-table .negative {
    color: var(--danger);
    font-weight: 600;
}

/* Comparison */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

.comparison-card {
    padding: 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.comparison-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.comparison-card.jp {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), rgba(14, 165, 233, 0.02));
}

.comparison-card.jp::before {
    background: var(--accent-gradient);
}

.comparison-card.en {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05), rgba(239, 68, 68, 0.02));
}

.comparison-card.en::before {
    background: linear-gradient(135deg, var(--danger), var(--danger-light));
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.comparison-flag {
    font-size: 2.25rem;
}

.comparison-title {
    font-size: 1.35rem;
    font-weight: 700;
}

/* Tooltips */
.tooltip-trigger {
    position: relative;
    border-bottom: 2px dotted var(--accent);
    cursor: help;
    transition: border-color 0.2s ease;
}

.tooltip-trigger:hover {
    border-color: var(--accent-dark);
}

.tooltip-content {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 14px 18px;
    background: var(--primary-dark);
    color: white;
    border-radius: var(--radius);
    font-size: 0.85rem;
    line-height: 1.6;
    width: max-content;
    max-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}

.tooltip-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--primary-dark);
}

.tooltip-trigger:hover .tooltip-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

/* Data Note */
.data-note {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(245, 158, 11, 0.04));
    border-left: 5px solid var(--warning);
    padding: 24px 28px;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    margin: 28px 0;
}

.data-note-title {
    font-weight: 700;
    color: var(--warning);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.data-note p {
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Infographic */
.infographic-section {
    text-align: center;
    padding: 70px 0;
}

.infographic-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    cursor: zoom-in;
}

.infographic-img:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
}

/* Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .section {
        padding: 60px 0;
    }

    .header-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .report-hero h1 {
        font-size: 1.75rem;
    }

    .hero-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-stat {
        padding: 24px 16px;
    }

    .hero-stat-value {
        font-size: 2.25rem;
    }

    .toc {
        top: 110px;
    }

    .toc-list {
        padding: 0 16px;
    }

    .priority-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline {
        padding-left: 32px;
    }

    .chart-wrapper {
        height: 280px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .password-card {
        padding: 40px 28px;
    }
}

/* Print styles */
@media print {

    .header,
    .toc,
    .footer {
        display: none;
    }

    .section {
        padding: 20px 0;
        page-break-inside: avoid;
    }

    .chart-container {
        break-inside: avoid;
    }

    .report-hero {
        background: #1a365d !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}

/* Accent decorations for sections */
.section-alt::before {
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.2), transparent);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent), var(--purple));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* ===========================================
   ENHANCED FEATURES
   =========================================== */

/* Executive Summary */
.executive-summary {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.05));
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.executive-summary::before {
    content: '⚡ 1分でわかる要約';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--accent-gradient);
    color: white;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-xl) 0 var(--radius) 0;
}

.executive-summary .summary-header {
    margin-top: 28px;
    margin-bottom: 20px;
}

.executive-summary .summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.summary-item {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    transition: all 0.3s ease;
}

.summary-item:hover {
    transform: translateX(6px);
    box-shadow: var(--shadow);
}

.summary-item.success {
    border-left-color: var(--success);
}

.summary-item.warning {
    border-left-color: var(--warning);
}

.summary-item.danger {
    border-left-color: var(--danger);
}

.summary-item h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.summary-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
}

.summary-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.summary-toggle:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Chart Type Switcher */
.chart-type-switcher {
    display: flex;
    gap: 4px;
    background: var(--bg-light);
    padding: 4px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.chart-type-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 36px;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.chart-type-btn:hover {
    background: white;
    color: var(--accent);
}

.chart-type-btn.active {
    background: var(--accent-gradient);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* Data Highlighting */
.data-highlighted {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(99, 102, 241, 0.1)) !important;
    border-color: var(--accent) !important;
    transition: all 0.3s ease;
}

[data-highlight-group] {
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-highlight-group]:hover {
    transform: scale(1.02);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow-colored);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 15px 40px -10px rgba(14, 165, 233, 0.5);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    opacity: 1;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
}

.lightbox-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    z-index: 1;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.lightbox-close:hover {
    background: var(--danger);
    border-color: var(--danger);
    transform: rotate(90deg);
}

/* Sparklines */
[data-sparkline] {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Parallax Effects */
[data-parallax] {
    will-change: transform;
}

.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    right: 0;
    bottom: -20%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Scroll Triggered Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animation Delays */
.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* Counter Animation */
[data-counter] {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* Particle Canvas */
.report-hero canvas {
    position: absolute !important;
    top: 0;
    left: 0;
    pointer-events: none;
}

/* Pulse Animation for Key Stats */
@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }

    50% {
        box-shadow: 0 0 20px 10px rgba(14, 165, 233, 0);
    }
}

.pulse-on-hover:hover {
    animation: pulse-glow 1.5s ease-in-out infinite;
}

/* Gradient Text Animation */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-text-animated {
    background: linear-gradient(90deg, var(--accent), var(--purple), var(--pink), var(--accent));
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}

/* Reading Progress Bar (optional, not implemented yet) */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent-gradient);
    z-index: 10000;
    transition: width 0.1s ease;
}

/* Mobile Responsive Adjustments for New Features */
@media (max-width: 768px) {
    .executive-summary {
        padding: 24px;
        padding-top: 48px;
    }

    .executive-summary::before {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .executive-summary .summary-content {
        grid-template-columns: 1fr;
    }

    .chart-type-switcher {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        right: 20px;
    }

    .lightbox-close {
        top: -40px;
        right: 10px;
    }
}