.jaa-chronology-inner{width:calc(100% - 32px);max-width:960px;margin:20px auto 40px}.jaa-chronology-inner h1{font-size:26px;margin:0 0 20px}.jaa-chronology-nav{display:flex;flex-wrap:wrap;gap:6px;position:sticky;top:0;padding:10px 0;background:#e8e7e1;z-index:5}.jaa-chronology-nav a{display:block;padding:7px 14px;background:#111;color:#fff;font-size:13px;text-decoration:none}.jaa-chronology-era{scroll-margin-top:70px;margin-top:24px}.jaa-chronology-era h2{font-size:20px;margin-bottom:10px}.jaa-chronology-scroll{overflow-x:auto;overscroll-behavior-x:contain;background:#fff}.jaa-chronology-page table{width:100%;min-width:720px;margin:0;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.6}.jaa-chronology-page th,.jaa-chronology-page td{box-sizing:border-box;border:1px solid #ccc;padding:10px;vertical-align:top;float:none;height:auto;background:#fff;color:#222;font-weight:normal}.jaa-chronology-page th{background:#333;color:#fff;font-weight:bold;text-align:left}.jaa-chronology-page th:nth-child(1),.jaa-chronology-page td:nth-child(1){width:16%}.jaa-chronology-page th:nth-child(2),.jaa-chronology-page td:nth-child(2){width:15%}.jaa-chronology-page th:nth-child(3),.jaa-chronology-page td:nth-child(3){width:45%}.jaa-chronology-page th:nth-child(4),.jaa-chronology-page td:nth-child(4){width:24%}.jaa-chronology-page p{margin:0}.jaa-chronology-page td p,.jaa-chronology-page td span,.jaa-chronology-page td a{position:static;display:inline;font-size:inherit;line-height:inherit;padding:0;border:0;width:auto;height:auto;background:none;white-space:normal}.jaa-chronology-page td a{color:#006a75;text-decoration:underline}.jaa-chronology-page td:first-child{position:sticky;left:0;background:#f7f6f0;z-index:1}.jaa-chronology-page td:first-child a{font-weight:bold}.jaa-chronology-page tbody tr:nth-child(even) td{background:#f9f9f7}.jaa-chronology-page tbody tr:nth-child(even) td:first-child{background:#eeede7}
@media(max-width:600px){.jaa-chronology-inner{width:calc(100% - 24px)}.jaa-chronology-nav a{font-size:12px;padding:6px 10px}.jaa-chronology-era{scroll-margin-top:100px}.jaa-chronology-page table{font-size:12px}.jaa-chronology-page th,.jaa-chronology-page td{padding:8px}.jaa-chronology-inner h1{font-size:22px}}
/* Link arrows belong to the link flow, not an absolutely positioned table cell. */
.jaa-chronology-page td.chronology-age::before{content:none;display:none}
.jaa-chronology-page td a::before{content:"";position:static;display:inline-block;box-sizing:content-box;width:0;height:0;border:4px solid transparent;border-left:5px solid currentColor;border-right:0;vertical-align:middle;margin:0 5px 2px 0}
/* Arrows sit in the existing gutter without consuming text width. */
.jaa-chronology-page td a{position:relative}
.jaa-chronology-page td a::before{position:absolute;left:-9px;top:.45em;margin:0}
/* Original era colors, alternating with the original neutral row color. */
.jaa-chronology-era{--era-color:#bcc1bf}.jaa-chronology-era#meiji{--era-color:#e6cec7}.jaa-chronology-era#taisyo{--era-color:#e1d0b6}.jaa-chronology-era#prewar{--era-color:#c1cfa4}.jaa-chronology-era#postwar{--era-color:#bad7bc}.jaa-chronology-era#heisei{--era-color:#b4cbd5}
.jaa-chronology-era h2{border-left:8px solid var(--era-color);padding:6px 10px}.jaa-chronology-era tbody tr:nth-child(odd) td,.jaa-chronology-era tbody tr:nth-child(odd) td:first-child{background:var(--era-color)}.jaa-chronology-era tbody tr:nth-child(even) td,.jaa-chronology-era tbody tr:nth-child(even) td:first-child{background:#e5e3dc}
.jaa-chronology-nav{box-sizing:border-box;position:sticky;top:0}.jaa-chronology-nav.is-fixed{position:fixed;z-index:1000;margin:0;box-shadow:0 3px 8px #0002}.jaa-chronology-nav a{border:1px solid transparent}.jaa-chronology-nav a[aria-current=true]{color:#111;background:#bcc1bf;border-color:#444}.jaa-chronology-nav a[href="#meiji"][aria-current=true]{background:#e6cec7}.jaa-chronology-nav a[href="#taisyo"][aria-current=true]{background:#e1d0b6}.jaa-chronology-nav a[href="#prewar"][aria-current=true]{background:#c1cfa4}.jaa-chronology-nav a[href="#postwar"][aria-current=true]{background:#bad7bc}.jaa-chronology-nav a[href="#heisei"][aria-current=true]{background:#b4cbd5}
/* Leave a visible gutter before the year-link arrow without consuming text width. */
.jaa-chronology-page td.chronology-age{padding-left:19px}
.jaa-chronology-page th:nth-child(1),.jaa-chronology-page td:nth-child(1){width:18%}.jaa-chronology-page th:nth-child(3),.jaa-chronology-page td:nth-child(3){width:43%}
