
:root {
    --primary: #004098;
    --primary-hover: #002b6b;
    --secondary: #d70035;
    --bg-color: #f2f2f2;
    --surface: #ffffff;
    --text-main: #222222;
    --text-muted: #666666;
    --border: #cccccc;
    --link: #004098;
    --link-visited: #551a8b;
    --link-hover: #d70035;
    --font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', 'Noto Sans JP', sans-serif;
    --container-width: 1200px;
    --sidebar-w: 220px;
    --sidebar2-w: 320px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-main);
    font-size: 13px; 
    line-height: 1.5;
}
a { color: var(--link); text-decoration: none; cursor: pointer; }
a:hover { color: var(--link-hover); text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 10px; }

/* Header */
.np-header { background: var(--surface); border-bottom: 2px solid var(--primary); }
.np-header-main { display: flex; align-items: center; padding: 15px 10px; gap: 20px; }
.np-logo a { font-size: 28px; font-weight: 700; color: var(--secondary); letter-spacing: -1px; display:flex; flex-direction:column; line-height: 1;}
.np-logo span { font-size: 12px; color: var(--primary); font-weight: 500; letter-spacing: 0;}
.np-search-area { flex-grow: 1; display:flex; flex-direction: column; gap: 5px;}
.search-form { display: flex; width: 100%; max-width: 600px;}
.search-form input { flex-grow:1; padding: 10px 15px; border: 2px solid var(--primary); border-radius: 4px 0 0 4px; font-size: 16px; outline:none; }
.search-form button { padding: 12px 20px; background: var(--primary); color: #fff; border: none; border-radius: 0 4px 4px 0; font-size: 16px; font-weight:bold; cursor: pointer; }
.search-form button:hover { background: var(--primary-hover); }
.np-trend-words { font-size: 12px; color: var(--text-muted); }

/* Navigation */
.np-nav { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.np-nav-list { display: flex; }
.np-nav-list li { flex: 1; text-align: center; border-right: 1px solid #eee; }
.np-nav-list li:last-child { border-right: none; }
.np-nav-list a { display: block; padding: 12px 5px; font-size: 14px; font-weight: 700; color: var(--text-main); transition: background 0.2s; }
.np-nav-list a:hover { background: #f0f4f8; text-decoration: none; color: var(--primary); }
.np-nav-list a.active { border-bottom: 3px solid var(--secondary); color: var(--secondary); }

/* Main Layout */
.content-area { padding: 20px 0; }
.main-grid { display: flex; gap: 15px; align-items: flex-start; }
.main-col { flex-grow: 1; min-width: 0; display:flex; flex-direction: column; gap:15px; }
.sidebar-right { width: var(--sidebar2-w); flex-shrink: 0; display:flex; flex-direction: column; gap:15px; }

/* Widgets / Panels */
.panel { background: var(--surface); border: 1px solid var(--border); }
.panel-header { background: #f4f5f7; padding: 8px 12px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.panel-header h2 { font-size: 14px; color: var(--primary); margin:0;}
.panel-header h2.red { color: var(--secondary); }
.panel-content { padding: 12px; }

/* Lists */

/* Thumbnail List */

/* Big Headlines */

/* Quick Links Grid */

/* Footer */
.np-footer { background: #222; color: #ccc; margin-top: 40px; border-top: 4px solid var(--secondary); padding: 40px 0 20px; font-size: 12px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-bottom: 30px; }
.footer-col h3 { color: #fff; font-size: 14px; margin-bottom: 15px; border-bottom: 1px solid #444; padding-bottom: 5px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col a { color: #aaa; }
.footer-col a:hover { color: #fff; }
.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 20px; }

/* Two Col Content */
.two-col-content { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

/* Responsive Mobile */
@media (max-width: 992px) {
    .main-grid { flex-direction: column; }
    .np-nav-list { overflow-x: auto; white-space: nowrap; justify-content: flex-start; }
    .np-nav-list li { flex: 0 0 auto; border-right: none; }
    .np-nav-list a { padding: 12px 15px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .two-col-content { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .np-header-main { flex-direction: column; align-items: stretch; }
    .np-logo { text-align: center; margin-bottom: 10px; }
    .search-form { flex-direction: column; }
    .search-form input { border-radius: 4px; border-right: 2px solid var(--primary); margin-bottom: 5px;}
    .search-form button { border-radius: 4px; padding: 10px; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Specific layout additions */
.page-heading { background: var(--surface); padding: 15px 20px; border-bottom: 2px solid var(--primary); margin-bottom: 15px; }
.page-heading h1 { font-size: 20px; color: var(--primary); margin:0;}


/* Chinook Brocade additions */
.sr-only { position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position:absolute; left:8px; top:-60px; background:#fff; color:var(--primary); padding:10px 14px; border:2px solid var(--primary); z-index:2000; font-size:14px; }
.skip-link:focus { top:8px; }
.np-notice { background:#fff8e1; border-bottom:1px solid #e6d9a8; padding:8px 0; font-size:12px; color:#4a3f10; }
.np-notice .container { display:block; }
.np-header-main { padding:12px 10px; }
.crumbs { font-size:12px; color:var(--text-muted); margin-bottom:10px; }
.crumbs a { display:inline-block; padding:4px 2px; }
.main-grid.single .main-col { max-width:860px; margin:0 auto; width:100%; }
.page-heading { margin-bottom:0; }
.page-heading h1 { font-size:20px; line-height:1.4; }
.prose { font-size:14px; line-height:1.85; }
.prose p { margin:0 0 12px; }
.prose h3 { font-size:15px; color:var(--primary); margin:16px 0 6px; border-left:4px solid var(--secondary); padding-left:8px; }
.prose .lead { font-size:15px; }
.prose a { text-decoration:underline; padding:2px 0; display:inline-block; }
.plain-list { padding-left:1.3em; list-style:disc; }
.plain-list li { margin-bottom:6px; }
.info-list { display:grid; grid-template-columns:8em 1fr; gap:8px 12px; }
.info-list dt { font-weight:700; color:var(--primary); }
.info-list dd { margin:0; }
.hero-panel { overflow:hidden; }
.hero-img img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; max-height:380px; }
.fig { margin:12px 0; }
.fig img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; background:#e8ecf1; }
.fig figcaption { font-size:12px; color:var(--text-muted); padding-top:4px; line-height:1.5; }
.photo-pair { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.season-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.season-grid img { width:100%; height:auto; aspect-ratio:16/9; object-fit:cover; margin-bottom:6px; background:#e8ecf1; }
.season-grid a { display:block; font-weight:700; font-size:13px; padding:4px 0; }
.src-list li { padding:7px 0; border-bottom:1px dotted var(--border); }
.src-list li:last-child { border-bottom:none; }
.src-list a { display:block; font-weight:700; font-size:14px; padding:2px 0; text-decoration:underline; }
.src-list span { display:block; font-size:12px; color:var(--text-muted); }
.notfound { text-align:center; padding:30px 12px; }
.big404 { font-size:64px; color:var(--primary); font-weight:700; line-height:1.1; }
.btn { display:inline-block; padding:10px 20px; background:var(--primary); color:#fff !important; border-radius:4px; font-weight:700; text-decoration:none !important; }
.footer-col h2 { color:#fff; font-size:14px; margin-bottom:15px; border-bottom:1px solid #444; padding-bottom:5px; }
.footer-col a { display:inline-block; padding:4px 0; color:#c8c8c8; }
.footer-contact address { font-style:normal; line-height:1.7; }
.footer-contact p { margin-bottom:6px; }
.footer-grid { grid-template-columns:repeat(3,1fr); }
.footer-bottom p { margin-bottom:4px; }
.np-nav-list a { min-height:44px; }
@media (max-width: 992px) {
    .season-grid { grid-template-columns:repeat(2,1fr); }
    .footer-grid { grid-template-columns:1fr; }
}
@media (max-width: 600px) {
    .photo-pair { grid-template-columns:1fr; }
    .info-list { grid-template-columns:1fr; gap:2px; }
    .info-list dd { margin-bottom:8px; }
    .page-heading { padding:12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition:none !important; } }

.search-form button { min-height:44px; min-width:64px; }
.search-form input { min-height:44px; }
.src-list a, .season-grid a { padding:6px 0; min-height:24px; }
.prose a { padding:4px 0; }
.np-trend-words { font-size:12px; color:var(--text-muted); }
