﻿:root {
    --jp-navy: #1a365d;
    --jp-navy-light: #2a4a7f;
    --jp-red: #b91c1c;
    --jp-red-dark: #991b1b;
    --jp-gold: #b8860b;
    --jp-gold-light: #d4a843;
    --jp-cream: #faf8f5;
    --jp-white: #ffffff;
    --jp-gray-100: #f7f8fa;
    --jp-gray-200: #eef0f4;
    --jp-gray-300: #dde1e8;
    --jp-gray-500: #64748b;
    --jp-gray-700: #334155;
    --jp-gray-900: #0f172a;
    --jp-shadow: 0 2px 8px rgba(26,54,93,0.08);
    --jp-shadow-lg: 0 8px 30px rgba(26,54,93,0.12);
    --jp-radius: 4px;
    --jp-transition: all 0.25s ease;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans SC", "MS Gothic", Arial, sans-serif;
    color: var(--jp-gray-900);
    background: var(--jp-cream);
    line-height: 1.8;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
.topbar { background: var(--jp-navy); color: #cbd5e1; font-size: 12px; padding: 6px 0; border-bottom: 2px solid var(--jp-red); }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-seal { color: var(--jp-gold-light); font-weight: 700; letter-spacing: 1px; font-size: 11px; }
.topbar-date { color: #94a3b8; font-size: 11px; }
.topbar-right { display: flex; gap: 6px; align-items: center; }
.lang-btn { background: transparent; color: #94a3b8; border: 1px solid #334155; padding: 2px 10px; font-size: 11px; cursor: pointer; border-radius: 2px; transition: var(--jp-transition); }
.lang-btn:hover, .lang-btn.active { background: var(--jp-red); color: #fff; border-color: var(--jp-red); }
header { background: var(--jp-white); box-shadow: var(--jp-shadow); position: sticky; top: 0; z-index: 1000; }
.navbar { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-emblem { width: 52px; height: 52px; border-radius: 50%; background: var(--jp-navy); display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px solid var(--jp-gold); }
.brand-emblem img { width: 38px; height: 38px; object-fit: contain; }
.brand-title { font-size: 20px; font-weight: 800; color: var(--jp-navy); letter-spacing: 3px; line-height: 1.3; }
.brand-sub { font-size: 10px; color: var(--jp-gray-500); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; }
.nav-menu { display: flex; gap: 2px; align-items: center; }
.nav-menu a { padding: 8px 14px; font-size: 13.5px; color: var(--jp-gray-700); font-weight: 500; border-bottom: 3px solid transparent; transition: var(--jp-transition); }
.nav-menu a:hover, .nav-menu a.active { color: var(--jp-red); border-bottom-color: var(--jp-red); background: var(--jp-gray-100); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 22px; height: 2px; background: var(--jp-navy); transition: var(--jp-transition); }
.ticker { background: linear-gradient(90deg, #fef9f0, #fdf6ed); border-bottom: 1px solid #f0e0cc; overflow: hidden; height: 38px; display: flex; align-items: center; }
.ticker-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 12px; width: 100%; }
.ticker-label { background: var(--jp-red); color: #fff; padding: 3px 12px; font-size: 11px; font-weight: 700; white-space: nowrap; flex-shrink: 0; letter-spacing: 1px; }
.ticker-text { font-size: 12.5px; color: #7a5a3a; overflow: hidden; white-space: nowrap; flex: 1; }
.ticker-text span { display: inline-block; animation: ticker-scroll 30s linear infinite; }
@keyframes ticker-scroll { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
.hero { min-height: 520px; position: relative; background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(26,54,93,0.85) 50%, rgba(15,23,42,0.78) 100%); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.35; }
.hero::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 6px; background: linear-gradient(90deg, var(--jp-red) 33%, #fff 33%, #fff 66%, var(--jp-gold) 66%); }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 80px 20px; position: relative; z-index: 2; color: #fff; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); font-size: 11.5px; margin-bottom: 22px; letter-spacing: 1.5px; color: #94a3b8; }
.hero-dot { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
.hero h1 { font-size: clamp(32px, 5vw, 58px); font-weight: 900; letter-spacing: 6px; line-height: 1.15; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--jp-gold-light); }
.hero p { max-width: 580px; font-size: 15px; color: #cbd5e1; margin-bottom: 32px; line-height: 1.9; }
.hero-meta { display: flex; gap: 28px; margin-bottom: 36px; flex-wrap: wrap; }
.hero-meta-item { border-left: 3px solid var(--jp-gold); padding-left: 12px; }
.hero-meta-item strong { display: block; font-size: 20px; color: #fff; font-weight: 700; }
.hero-meta-item span { font-size: 11px; color: #94a3b8; letter-spacing: 1px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 24px; border-radius: var(--jp-radius); font-size: 13.5px; font-weight: 600; transition: var(--jp-transition); letter-spacing: 0.5px; }
.btn-primary { background: var(--jp-red); color: #fff; }
.btn-primary:hover { background: var(--jp-red-dark); transform: translateY(-1px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.35); color: #fff; background: rgba(255,255,255,0.05); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.quick-access { max-width: 1200px; margin: -40px auto 0; padding: 0 20px; position: relative; z-index: 10; }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1px; background: var(--jp-gray-300); border-radius: var(--jp-radius); overflow: hidden; box-shadow: var(--jp-shadow-lg); }
.quick-item { background: var(--jp-white); padding: 28px 16px; text-align: center; transition: var(--jp-transition); cursor: pointer; }
.quick-item:hover { background: var(--jp-gray-100); }
.quick-icon { width: 48px; height: 48px; margin: 0 auto 12px; background: var(--jp-navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--jp-gold-light); font-size: 20px; }
.quick-item h3 { font-size: 13px; font-weight: 700; color: var(--jp-navy); letter-spacing: 0.5px; }
.quick-item p { font-size: 11px; color: var(--jp-gray-500); margin-top: 4px; }
.section { padding: 70px 20px; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--jp-red); margin-bottom: 10px; }
.section-title { font-size: clamp(22px, 3vw, 32px); font-weight: 800; color: var(--jp-navy); letter-spacing: 2px; margin-bottom: 12px; }
.section-desc { font-size: 14px; color: var(--jp-gray-500); max-width: 600px; margin: 0 auto; }
.bg-light { background: var(--jp-gray-100); }
.bg-cream { background: var(--jp-cream); }
.institutions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.institution-card { background: var(--jp-white); border-radius: var(--jp-radius); padding: 28px; box-shadow: var(--jp-shadow); border-top: 3px solid var(--jp-navy); transition: var(--jp-transition); }
.institution-card:hover { box-shadow: var(--jp-shadow-lg); transform: translateY(-2px); }
.institution-card h3 { font-size: 16px; font-weight: 800; color: var(--jp-navy); margin-bottom: 6px; letter-spacing: 1px; }
.institution-card .en-name { font-size: 11px; color: var(--jp-gray-500); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.institution-card p { font-size: 13.5px; color: var(--jp-gray-700); line-height: 1.8; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.news-card { background: var(--jp-white); border-radius: var(--jp-radius); overflow: hidden; box-shadow: var(--jp-shadow); transition: var(--jp-transition); }
.news-card:hover { box-shadow: var(--jp-shadow-lg); }
.news-img { height: 160px; background: linear-gradient(135deg, var(--jp-navy), var(--jp-navy-light)); display: flex; align-items: center; justify-content: center; color: var(--jp-gold-light); font-size: 36px; }
.news-body { padding: 18px; }
.news-date { font-size: 11px; color: var(--jp-red); font-weight: 700; margin-bottom: 6px; }
.news-title { font-size: 14px; font-weight: 700; color: var(--jp-gray-900); margin-bottom: 8px; line-height: 1.5; }
.news-excerpt { font-size: 12.5px; color: var(--jp-gray-500); line-height: 1.7; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); width: 3px; height: 100%; background: linear-gradient(to bottom, var(--jp-red), var(--jp-gold)); border-radius: 2px; }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 32px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row-reverse; }
.timeline-content { width: 45%; background: var(--jp-white); padding: 20px 24px; border-radius: var(--jp-radius); box-shadow: var(--jp-shadow); }
.timeline-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; background: var(--jp-red); border: 3px solid var(--jp-cream); border-radius: 50%; z-index: 2; }
.timeline-year { font-size: 22px; font-weight: 900; color: var(--jp-red); margin-bottom: 6px; }
.timeline-title { font-size: 14px; font-weight: 700; color: var(--jp-navy); margin-bottom: 6px; }
.timeline-desc { font-size: 12.5px; color: var(--jp-gray-500); line-height: 1.7; }
.symbols-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 0 auto; }
.symbol-card { background: var(--jp-white); border-radius: var(--jp-radius); padding: 32px 24px; text-align: center; box-shadow: var(--jp-shadow); }
.symbol-img { width: 100px; height: 100px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; border: 3px solid var(--jp-gold); display: flex; align-items: center; justify-content: center; background: var(--jp-navy); }
.symbol-img img { width: 70px; height: 70px; object-fit: contain; }
.symbol-card h3 { font-size: 16px; font-weight: 800; color: var(--jp-navy); margin-bottom: 4px; }
.symbol-card .en { font-size: 10px; color: var(--jp-gray-500); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.symbol-card p { font-size: 12.5px; color: var(--jp-gray-700); line-height: 1.7; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--jp-navy); border-radius: var(--jp-radius); overflow: hidden; }
.stat-item { padding: 36px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 36px; font-weight: 900; color: var(--jp-gold-light); line-height: 1; margin-bottom: 8px; }
.stat-label { font-size: 12px; color: #94a3b8; letter-spacing: 1px; }
.search-section { background: linear-gradient(135deg, var(--jp-navy) 0%, var(--jp-navy-light) 100%); padding: 50px 20px; text-align: center; }
.search-section h2 { font-size: 22px; color: #fff; font-weight: 800; margin-bottom: 8px; letter-spacing: 2px; }
.search-section p { font-size: 13px; color: #94a3b8; margin-bottom: 24px; }
.search-box { max-width: 520px; margin: 0 auto; display: flex; background: var(--jp-white); border-radius: var(--jp-radius); overflow: hidden; box-shadow: var(--jp-shadow-lg); }
.search-box input { flex: 1; border: none; padding: 14px 18px; font-size: 14px; outline: none; font-family: inherit; }
.search-box button { background: var(--jp-red); color: #fff; border: none; padding: 14px 24px; font-size: 13px; font-weight: 700; cursor: pointer; transition: var(--jp-transition); }
.search-box button:hover { background: var(--jp-red-dark); }
footer { background: var(--jp-gray-900); color: #94a3b8; padding: 60px 20px 0; }
.footer-main { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #1e293b; }
.footer-emblem { width: 56px; height: 56px; border-radius: 50%; background: var(--jp-navy); border: 2px solid var(--jp-gold); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden; }
.footer-emblem img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand h3 { font-size: 18px; font-weight: 800; color: #fff; letter-spacing: 2px; margin-bottom: 4px; }
.footer-brand .en { font-size: 10px; color: #64748b; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.footer-brand p { font-size: 12.5px; color: #64748b; line-height: 1.8; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: #e2e8f0; margin-bottom: 16px; letter-spacing: 1px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 12.5px; color: #64748b; transition: var(--jp-transition); }
.footer-col ul li a:hover { color: var(--jp-gold-light); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #475569; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: var(--jp-gold-light); }
.back-top { position: fixed; bottom: 30px; right: 30px; width: 42px; height: 42px; background: var(--jp-navy); color: #fff; border: none; border-radius: 50%; font-size: 18px; cursor: pointer; opacity: 0; visibility: hidden; transition: var(--jp-transition); box-shadow: var(--jp-shadow-lg); z-index: 999; }
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--jp-red); transform: translateY(-2px); }
.disclaimer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.disclaimer-box { background: var(--jp-white); border-radius: 8px; max-width: 680px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 36px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.disclaimer-box h2 { font-size: 20px; color: var(--jp-navy); margin-bottom: 6px; letter-spacing: 2px; }
.disclaimer-box .sub { font-size: 11px; color: var(--jp-gray-500); margin-bottom: 20px; letter-spacing: 1px; }
.disclaimer-box p { font-size: 13px; color: var(--jp-gray-700); line-height: 1.9; margin-bottom: 14px; }
.disclaimer-box h4 { font-size: 14px; color: var(--jp-navy); margin: 20px 0 10px; }
.disclaimer-box .law-list { font-size: 12px; color: var(--jp-gray-500); line-height: 2; padding-left: 16px; margin-bottom: 14px; }
.disclaimer-accept { display: flex; gap: 12px; margin-top: 24px; }
.disclaimer-accept .btn { flex: 1; }
.btn-dismiss { background: var(--jp-gray-200); color: var(--jp-gray-700); }
.btn-dismiss:hover { background: var(--jp-gray-300); }
.hidden { display: none !important; }
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .hamburger { display: flex; }
    .nav-menu.open { display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: var(--jp-white); box-shadow: var(--jp-shadow-lg); padding: 10px 0; z-index: 999; }
    .nav-menu.open a { padding: 12px 20px; }
    .hero h1 { letter-spacing: 3px; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
    .symbols-grid { grid-template-columns: 1fr; }
    .timeline::before { left: 20px; }
    .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; padding-left: 44px; }
    .timeline-content { width: 100%; }
    .timeline-dot { left: 20px; }
}
@media (max-width: 600px) {
    .footer-main { grid-template-columns: 1fr; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-row { grid-template-columns: 1fr 1fr; }
}