/* Artpedia shared palette and navigation. Loaded after each page stylesheet. */
:root{--paper:#fff;--ink:#252d33;--muted:#68757d;--accent:#a34d37;--green:#315775;--blue:#263e4c;--line:#dce1e4;--rule:#dce1e4;--ap-tint:#edf3f7;--ap-point:#eaf4f1;--ap-warm:#f7f0e5;--ap-sans:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Noto Sans JP',Meiryo,sans-serif}
body{background:var(--paper);color:var(--ink);font-family:var(--ap-sans)}a{color:#315775}a:hover{color:var(--accent)}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #a34d37;outline-offset:4px}
.site-header,.masthead{background:#fff;max-width:1120px;margin:auto;padding:0 20px}.header-inner,.masthead-inner{max-width:none;padding:26px 0 20px;margin:0;border-bottom:0;gap:24px}.header-inner{display:flex;flex-wrap:wrap!important}.header-inner .wordmark,.masthead .brand{font:700 42px/1 Georgia,'Times New Roman',serif;color:#263e4c;letter-spacing:-1.7px;text-decoration:none}.wordmark span,.brand span{font:400 11px/1.6 var(--ap-sans);letter-spacing:1.5px;color:var(--muted);margin-top:10px}.edition{color:var(--muted)}
.header-inner nav[aria-label="サイトメニュー"],.masthead .navrow{width:100%;border-top:2px solid #263e4c;border-bottom:1px solid var(--rule);padding:10px 0;margin:0}.header-inner nav[aria-label="サイトメニュー"],.masthead nav[aria-label="サイトメニュー"]{display:flex!important;flex-wrap:wrap!important;gap:6px 24px!important}.header-inner nav[aria-label="サイトメニュー"] a,.masthead nav[aria-label="サイトメニュー"] a{font:500 14px/1.6 var(--ap-sans);color:#315775;padding:7px 0;text-decoration:none}.header-inner nav[aria-label="サイトメニュー"] a[aria-current="page"],.masthead nav[aria-label="サイトメニュー"] a[aria-current="page"]{color:#a34d37;border-bottom:2px solid #a34d37;font-weight:700}.sample-bar,.snapshot{background:#f3f6f8;color:#68757d;border-color:var(--rule)}.snapshot{max-width:1080px}.snapshot strong{color:#68757d}
.home h1,.home h2,.home h3,.section-top h2,.original-content h1,.original-content h2{font-family:var(--ap-sans);font-weight:650}.home h2{font-size:25px;line-height:1.6}.home h3{font-size:20px}.home .pilot-index{border-bottom:1px solid var(--rule);margin-bottom:32px;padding-bottom:28px}.home #all-restored-link{background:var(--ap-tint);border-left:4px solid #657f94;padding:22px 24px;margin-top:24px}.home #all-restored-link h2{margin:0 0 8px}.eyebrow{font:600 11px/1.6 var(--ap-sans);letter-spacing:1.5px;color:var(--accent)}
.entry-head h1,.artist-directory h1,.terms-directory h1,.discovery-header h1{color:#263e4c;font-family:var(--ap-sans);font-size:clamp(28px,4vw,36px);line-height:1.5;font-weight:650}.entry-lead,.directory-lead,.terms-lead{font-weight:650;line-height:1.85}.entry-tip,.directory-tools{background:var(--ap-point);border:1px solid #d0e3dc;border-left:4px solid #47816e;border-radius:0;padding:20px 24px}.entry-tip strong{color:#2b6052}.entry-next{background:var(--ap-tint);border-left:4px solid #657f94;padding:22px 24px}.entry-theme h2,.artist-section h2,.terms-group h2{background:#edf3f7;color:#263e4c;border:0;border-left:4px solid #657f94;font:650 22px/1.6 var(--ap-sans);padding:14px 18px;margin-bottom:16px}.artist-section h2,.terms-group h2{margin-bottom:0}.entry-jumps a,.directory-nav a,.terms-jump a{background:#f3f6f8;border:1px solid #dce1e4;color:#315775;border-radius:3px;padding:9px 13px;font-size:14px}.entry-jumps a:hover,.directory-nav a:hover,.terms-jump a:hover{background:#e7eff4}
.entry-card,.pilot-card,.ap-random-card,.ap-book-card{background:#fff;border:1px solid var(--rule);border-radius:3px;overflow:hidden;box-shadow:none}.entry-card{gap:0;height:100%;padding-bottom:14px}.entry-card strong,.entry-card .entry-artist{padding:0 14px;margin-top:10px}.entry-card:hover,.pilot-card:hover,.ap-random-card:hover{border-color:#829baa;transform:none}.entry-image,.card-image,.ap-random-card figure img{background:#f3f5f6;border:0;border-bottom:1px solid var(--rule)}.entry-image{height:170px;padding:12px}.card-image img{object-fit:contain}.entry-grid{gap:20px!important}.entry-theme>p{color:var(--muted);font-size:15px}.artist-section thead,.terms-group li:nth-child(even){background:#f3f6f8}.artist-section tr:nth-child(even){background:#f8fafb}.artist-section td,.artist-section th,.terms-group li{border-color:var(--rule)}
.home #artpedia-news-headlines{border-top:3px solid #263e4c!important;border-bottom:1px solid var(--rule)!important;padding:22px 24px!important}.home #ap-original-news{background:var(--ap-warm)!important;border-left-color:#a9834e!important}.home #artpedia-news-headlines>div:first-child p{color:#a34d37!important}.home .card-text h3{font-size:20px}.home .ap-card-no,.home .card-text>span{color:#a34d37}.home .ap-random-card h3{font-size:19px}.home footer,body>footer{background:#263e4c;color:#fff}.search button,#ap-shuffle{background:#315775;color:#fff;border-color:#315775}input[type="search"]{max-width:100%}
@media(max-width:720px){.site-header,.masthead{padding:0 16px}.header-inner,.masthead-inner{padding:22px 0 16px;gap:18px}.header-inner .wordmark,.masthead .brand{font-size:38px}.header-inner nav[aria-label="サイトメニュー"],.masthead nav[aria-label="サイトメニュー"]{display:flex!important;gap:4px 18px!important}.header-inner nav[aria-label="サイトメニュー"] a,.masthead nav[aria-label="サイトメニュー"] a{font-size:13px;white-space:normal}.home #all-restored-link,.home #artpedia-news-headlines,.entry-tip,.entry-next,.directory-tools{padding:18px 16px!important}.entry-grid{gap:18px 12px!important}.entry-image{height:140px;padding:8px}.entry-card strong,.entry-card .entry-artist{padding:0 10px}.entry-theme h2,.artist-section h2,.terms-group h2{font-size:20px;padding:12px 14px}.home h2{font-size:23px}.home{min-width:0}.snapshot{margin:16px}.entry-jumps a,.directory-nav a,.terms-jump a{font-size:13px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Restored 2026 authored sections share the same palette and mobile layout. */
.revised-body .intro,.revised-body .beginner,.revised-body .book-section,.revised-body .nara-history,.revised-body .artist-history{margin:28px 0;padding:0}.revised-body .level,.revised-body .eyebrow{font-size:11px;color:#a34d37;letter-spacing:1px}.revised-body #howto,.revised-body .appreciation-panel{background:#eaf4f1;border:1px solid #d0e3dc;border-left:4px solid #47816e;padding:20px 24px;margin:28px 0}.revised-body .ap-explore,.revised-body #reading,.revised-body #institutions,.revised-body #market{background:#edf3f7;border-left:4px solid #657f94;padding:20px 24px;margin:28px 0}.revised-body .works,.revised-body .books{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.revised-body .work,.revised-body .book{min-width:0;border:1px solid #dce1e4;background:#fff;padding:16px}.revised-body .work img,.revised-body .book img{width:100%;height:190px;object-fit:contain;margin:auto}.revised-body .work h3,.revised-body .book h3{border:0;padding:0;font-size:17px}.revised-body .source,.revised-body .refs,.revised-body .credit{font-size:12px;color:#68757d;line-height:1.8}.revised-body .timeline{padding-left:22px}.revised-body .timeline li{border-bottom:1px solid #dce1e4;padding:12px 0}.revised-body #deep{color:#252d33;background:#fff}.revised-body .next{background:#edf3f7;padding:14px 18px}.revised-body #howto h2,.revised-body #howto h3{color:#2b6052}.revised-body img{max-width:100%;height:auto}
@media(max-width:600px){.revised-body .works,.revised-body .books{grid-template-columns:1fr}.revised-body #howto,.revised-body .ap-explore,.revised-body #reading,.revised-body #institutions,.revised-body #market,.revised-body .appreciation-panel{padding:16px}.revised-body .book img,.revised-body .work img{height:180px}}
