*{box-sizing:border-box}body{margin:0;background:#f4f6f9;color:#18263a;font:16px/1.65 system-ui,-apple-system,"Meiryo",sans-serif}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}header{position:sticky;top:0;z-index:4;background:white;border-bottom:1px solid #e0e5ec;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px max(4vw,16px);flex-wrap:wrap}.brand{font-weight:900;letter-spacing:.08em;color:var(--primary);font-size:20px}.brand img{max-height:46px;max-width:240px}nav{display:flex;flex-wrap:wrap;align-items:center;gap:16px;font-size:14px}main{max-width:1280px;margin:auto;padding:28px 4vw 60px}main.admin{max-width:1500px}h1,h2,h3{line-height:1.3}h1{font-size:clamp(26px,4vw,48px)}h2{font-size:25px;margin-top:36px;border-left:5px solid var(--accent);padding-left:12px}h3{margin:8px 0}.hero{position:relative;min-height:350px;background:var(--primary);color:white;display:flex;align-items:center;overflow:hidden;border-radius:12px}.hero>img,.hero>video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.46}.hero>div{position:relative;padding:clamp(24px,6vw,80px);max-width:850px}.hero h1{font-size:clamp(32px,6vw,68px);margin:12px 0;white-space:pre-line}.eyebrow{font-weight:bold;letter-spacing:.12em;font-size:13px;color:var(--accent)}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:18px}.tile,.panel{background:white;border:1px solid #e0e5ec;border-radius:8px;overflow:hidden}.tile .body,.panel{padding:20px}.tile img,.placeholder{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}.placeholder{display:grid;place-items:center;background:var(--primary);color:white;font-size:32px}.muted,small{color:#5d6b7b;font-size:14px}.row{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.button,button{display:inline-block;background:var(--primary);color:white;padding:10px 18px;border:0;border-radius:5px;font:inherit;font-weight:600;cursor:pointer}.button.secondary,button.secondary{background:#e5eaf0;color:#18263a}button[aria-pressed=true]{background:var(--accent);color:#162335}label{display:block;margin:12px 0;font-weight:600}input:not([type=checkbox]),textarea,select{display:block;width:100%;max-width:750px;font:inherit;border:1px solid #aab8c7;border-radius:4px;padding:9px;background:white;color:#17283c}textarea{min-height:95px}input[type=checkbox]{margin:5px}form.inline{display:inline;margin:0}form.inline button{font-size:12px;padding:6px 10px}video.player{width:100%;max-height:72vh;background:#101827;border-radius:7px}.notice{background:#e1edfa;padding:14px;border-left:4px solid var(--primary)}.banner-grid{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0}.banner-grid a{width:min(260px,100%);background:white;padding:8px;border:1px solid #d8e1ea}.banner-grid img{width:100%;aspect-ratio:3/1;object-fit:contain}.banner-grid small{display:block}footer{background:#162b45;color:#fff;padding:35px 5vw;font-size:14px}footer a{color:white}.admin-nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.admin-nav a{background:white;border:1px solid #dce2ea;padding:8px 12px;border-radius:4px}.scroll{overflow:auto}.table{border-collapse:collapse;width:100%;background:white}.table th,.table td{border-bottom:1px solid #dce2ea;padding:11px;text-align:left;vertical-align:top;white-space:normal}.table th{background:#e8eef5}.preserve{white-space:pre-wrap;overflow-wrap:anywhere}.kpi{font-size:36px;font-weight:800;color:var(--primary)}.chapters{display:grid;gap:8px}.chapters .row{justify-content:space-between;border-bottom:1px solid #e3e8ee;padding:8px}.rank{font-size:26px;font-weight:800;color:var(--primary)}.section{margin-bottom:35px}@media(max-width:650px){header{position:static}nav{gap:10px}main{padding:18px 14px 40px}.hero{min-height:280px}.table{min-width:600px}.grid{grid-template-columns:1fr 1fr}.tile .body{padding:12px}.tile h3{font-size:15px}.panel{padding:14px}}

.detail-image{max-width:100%;max-height:420px;object-fit:contain}.preview{display:block;max-width:240px;max-height:150px;object-fit:contain;margin:8px 0}fieldset{border:1px solid #dce2ea;margin:18px 0;padding:12px}footer p{white-space:pre-wrap}

/* Keep the footer at the viewport bottom on short pages, in normal flow on long pages. */
html{min-height:100%}
body{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
body>header,body>footer{flex:0 0 auto}
body>main{flex:1 0 auto;width:100%;margin-block:0}

.group-heading{justify-content:space-between;align-items:baseline}.group-heading h2{margin-bottom:12px}.home-group .grid+.grid{margin-top:18px}.home-group .grid{grid-template-columns:repeat(auto-fill,minmax(min(240px,100%),1fr))}.home-group .button{font-size:14px}.home-group .preserve{margin-top:0}
