:root { color-scheme:light; --navy:#16395f; --ink:#20344e; --muted:#56687d; --line:#d7e3ee; --paper:#fff; --page:#f3f7fb; --teal:#168579; }
* { box-sizing:border-box; }
body { margin:0; color:var(--ink); background:var(--page); font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif; line-height:1.65; }
a { color:inherit; }
button { font:inherit; cursor:pointer; }
[hidden] { display:none !important; }
.portal-header { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:70px; padding:12px max(20px,calc((100vw - 1080px)/2)); border-bottom:1px solid var(--line); background:#fff; }
.brand { display:inline-flex; align-items:center; gap:10px; color:var(--navy); font-size:17px; font-weight:850; line-height:1.15; text-decoration:none; }
.brand small { display:block; margin-top:3px; color:var(--muted); font-size:10px; font-weight:650; }
.brand-mark { display:grid; place-items:center; width:37px; height:37px; border-radius:10px; color:#fff; background:var(--navy); font-size:15px; }
.back-link { padding:8px 12px; border:1px solid var(--line); border-radius:9px; color:var(--navy); background:#fff; font-size:12px; font-weight:750; text-decoration:none; }
.portal-main { width:min(100% - 32px,1080px); margin:0 auto; padding:30px 0 70px; }
.intro { padding:34px 38px; border-radius:22px; color:#fff; background:linear-gradient(115deg,#12345a 0%,#174d76 65%,#0e6976 100%); box-shadow:0 20px 40px rgba(18,52,90,.12); }
.eyebrow { margin:0 0 7px; color:#2a78c9; font-size:11px; font-weight:900; letter-spacing:.13em; }
.intro .eyebrow { color:#94dce1; }
h1,h2,h3,p { margin-top:0; }
h1 { margin-bottom:8px; font-size:clamp(30px,5vw,43px); line-height:1.2; }
.intro p { margin-bottom:4px; font-size:15px; }
.translation { color:var(--muted); font-size:12px !important; }
.intro .translation { color:#cce5ef; }
.program-section { margin-top:22px; padding:25px; border:1px solid var(--line); border-radius:18px; background:var(--paper); box-shadow:0 12px 32px rgba(28,63,101,.06); }
.section-title { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-bottom:15px; }
.section-title h2 { margin:0; color:var(--navy); font-size:21px; }
#reloadPrograms { padding:8px 12px; border:1px solid var(--line); border-radius:8px; color:var(--navy); background:#fff; font-size:12px; font-weight:800; }
.portal-status { padding:16px; border:1px solid #d8e8f3; border-radius:11px; background:#f1f8fc; font-size:14px; }
.primary-link { display:inline-flex; align-items:center; justify-content:center; min-height:43px; margin-top:14px; padding:9px 16px; border-radius:9px; color:#fff; background:var(--navy); font-size:14px; font-weight:850; text-decoration:none; }
.program-list { display:grid; gap:14px; }
.program-card { padding:19px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.program-top { display:flex; flex-wrap:wrap; align-items:start; justify-content:space-between; gap:8px; }
.program-card h3 { margin:0; color:var(--navy); font-size:18px; }
.status-pill { padding:5px 9px; border-radius:999px; background:#eef2f6; color:#506176; font-size:11px; font-weight:850; }
.status-pill.approved { background:#e5f6f2; color:#10776d; }
.status-pill.pending { background:#fff1d9; color:#8a5a0e; }
.status-pill.rejected { background:#fce8e5; color:#a64036; }
.program-meta { margin:12px 0 0; color:var(--muted); font-size:13px; }
.program-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-top:16px; }
.program-actions a { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:9px 15px; border-radius:9px; color:#fff; background:var(--navy); font-size:13px; font-weight:850; text-decoration:none; }
.program-actions small { color:var(--muted); font-size:12px; }
.help-card { margin-top:18px; padding:20px 24px; border:1px solid var(--line); border-radius:14px; background:#fff; }
.help-card h2 { margin-bottom:7px; color:var(--navy); font-size:16px; }
.help-card p { margin-bottom:4px; color:var(--muted); font-size:13px; }
@media(max-width:600px) { .portal-header { min-height:62px; padding:10px 14px; }.brand { font-size:15px; }.portal-main { width:calc(100% - 22px); padding-top:14px; }.intro { padding:26px 21px; border-radius:18px; }.intro p { font-size:14px; }.program-section { padding:18px 14px; }.program-card { padding:16px; }.back-link { font-size:11px; } }
