*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}.employeePage{min-height:100vh;background:#f5f8fc;color:#10243a;font-family:"Noto Sans JP","Yu Gothic",sans-serif}.employeeHeader{height:76px;padding:0 5vw;background:#fff;border-bottom:1px solid #dbe5ef;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:20}.employeeLogo{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none}.employeeLogo span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#10243a;color:#fff;font:700 11px Arial}.employeeLogo b{font-size:16px}.employeeBack{font:700 11px Arial;letter-spacing:.12em;color:#10243a;text-decoration:none}.employeeLogin{min-height:calc(100vh - 76px);display:grid;grid-template-columns:1.05fr .95fr}.employeeIntro{padding:9vh 7vw;background:linear-gradient(145deg,#eaf5ff 0%,#fff 68%);position:relative;overflow:hidden}.employeeIntro:after{content:"";position:absolute;width:420px;height:420px;border:1px solid rgba(20,112,224,.15);border-radius:50%;right:-130px;bottom:-160px;box-shadow:none;opacity:.5}.employeeEyebrow{font:700 10px Arial;letter-spacing:.22em;color:#1570df}.employeeIntro h1{font-size:clamp(28px,3.4vw,50px);font-weight:600;line-height:1.45;letter-spacing:-.02em;margin:24px 0}.employeeIntro h1 em{font-style:normal;color:#1570df}.employeeIntro>p:not(.employeeEyebrow){max-width:580px;line-height:2;color:#5c7186}.employeeSecurity{margin-top:50px;display:flex;gap:12px;align-items:center;font-size:12px;color:#52687d}.employeeSecurity i{width:34px;height:34px;background:#fff;border:1px solid #cfe0ef;border-radius:50%;display:grid;place-items:center;font-style:normal}.employeeLoginPane{background:#fff;padding:9vh 8vw;display:flex;align-items:center}.employeeLoginCard{width:100%;max-width:440px}.employeeLoginCard small{font:700 10px Arial;letter-spacing:.2em;color:#1570df}.employeeLoginCard h2{font-size:30px;margin:18px 0 12px}.employeeLoginCard>p{color:#6c8092;font-size:13px;line-height:1.8;margin-bottom:35px}.employeeLoginCard label>span{display:block;font-size:11px;font-weight:700;margin-bottom:9px}.employeeInput{display:flex;border:1px solid #cbd9e6;background:#f8fbfe;margin-bottom:18px}.employeeInput input{flex:1;border:0;background:transparent;padding:17px 16px;font-size:16px;outline:none;min-width:0}.employeeInput button{border:0;background:transparent;color:#597087;padding:0 16px;cursor:pointer}.employeeSubmit{width:100%;border:0;background:#1570df;color:#fff;padding:18px;font-weight:700;letter-spacing:.08em;cursor:pointer;box-shadow:0 1px 2px rgba(16,36,58,.12)}.employeeHelp{font-size:11px!important;color:#8193a3!important;margin:20px 0 0!important}.employeePortal{padding:52px 6vw 100px}.employeePortalHero{background:#fff;border:1px solid #dbe5ef;padding:52px 5vw;display:flex;justify-content:space-between;align-items:end;gap:40px}.employeePortalHero h1{font-size:clamp(36px,5vw,68px);margin:16px 0 12px;line-height:1}.employeePortalHero p{color:#61768a;line-height:1.8}.employeeStatus{display:flex;align-items:center;gap:10px;color:#365069;font-size:12px;white-space:nowrap}.employeeStatus i{width:9px;height:9px;background:#21b978;border-radius:50%;box-shadow:0 0 0 5px rgba(33,185,120,.12)}.employeeTools{margin:28px 0;display:grid;grid-template-columns:1fr auto;gap:14px}.employeeTools input{background:#fff;border:1px solid #dbe5ef;padding:16px 18px;font-size:14px;outline:none}.employeeTools a{background:#10243a;color:#fff;padding:16px 24px;text-decoration:none;font-size:12px;font-weight:700}.employeeGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.employeeGrid a{background:#fff;border:1px solid #dbe5ef;padding:25px;min-height:175px;text-decoration:none;color:#10243a;transition:.25s}.employeeGrid a:hover{transform:translateY(-4px);border-color:#7eb6ef;box-shadow:0 16px 42px rgba(16,36,58,.08)}.employeeGrid span{font:700 10px Arial;letter-spacing:.18em;color:#1570df}.employeeGrid h2{font-size:18px;margin:28px 0 10px}.employeeGrid p{font-size:11px;line-height:1.7;color:#718497}.employeeDocuments{margin-top:60px}.employeeDocumentsHead{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.employeeDocumentsHead h2{font-size:28px;margin:8px 0 0}.employeeDocumentsHead>p{font-size:11px;color:#718497}.employeeDocuments details{background:#fff;border:1px solid #dbe5ef;margin-bottom:12px;scroll-margin-top:100px}.employeeDocuments summary{list-style:none;padding:24px 28px;display:flex;align-items:center;justify-content:space-between;cursor:pointer;font-weight:700}.employeeDocuments summary::-webkit-details-marker{display:none}.employeeDocuments summary:after{content:"＋";font-size:20px;color:#1570df}.employeeDocuments details[open] summary:after{content:"−"}.employeeDocuments details>div{border-top:1px solid #e5edf4;padding:28px;background:#fbfdff}.employeeDocuments h3{font-size:18px;margin:0 0 12px}.employeeDocuments details p{font-size:13px;line-height:2;color:#5d7286;max-width:900px}.employeeDocuments mark{display:inline-block;font-size:10px;padding:7px 10px;margin:18px 7px 0 0;background:#eaf4ff;color:#1267c5}.employeeNotice{margin-top:28px;border-left:3px solid #1570df;background:#edf6ff;padding:19px 22px;color:#516a80;font-size:12px;line-height:1.8}.employeeFooter{padding:34px 6vw;background:#10243a;color:#fff;display:flex;align-items:center;justify-content:space-between;font-size:10px}
@media(max-width:900px){.employeeLogin{grid-template-columns:1fr}.employeeIntro,.employeeLoginPane{padding:7vh 7vw}.employeeGrid{grid-template-columns:repeat(2,1fr)}.employeePortalHero{align-items:start;flex-direction:column}.employeeTools{grid-template-columns:1fr}.employeeTools a{text-align:center}}
@media(max-width:560px){.employeeHeader{height:64px;padding:0 5vw}.employeeLogo b{font-size:13px}.employeeLogin{min-height:calc(100vh - 64px)}.employeeIntro{padding:56px 6vw}.employeeIntro h1{font-size:38px}.employeeLoginPane{padding:54px 6vw}.employeePortal{padding:30px 5vw 70px}.employeePortalHero{padding:34px 7vw}.employeeGrid{grid-template-columns:1fr}.employeeGrid a{min-height:auto}.employeeDocumentsHead{display:block}.employeeDocumentsHead>p{margin-top:10px}.employeeDocuments summary{padding:20px}.employeeDocuments details>div{padding:22px}.employeeFooter{display:block}.employeeFooter p{margin-top:10px}}

/* Additions beyond the supplied preview CSS: server-side auth needs an error
   state and a username field, neither of which existed in the JavaScript
   version, and documents now carry a PDF link. */

.employeeError{margin:0 0 18px;padding:12px 16px;background:#fdeaea;border-left:3px solid #c0392b;color:#a5281b;font-size:12.5px;line-height:1.8}
.employeeNoticeInline{margin:0 0 18px;padding:12px 16px;background:#eef5fd;border-left:3px solid #1768e5;color:#14497f;font-size:12.5px;line-height:1.8}
.employeeDownload{margin-top:18px}
.employeeDownload a{display:inline-flex;align-items:center;gap:10px;padding:12px 20px;background:#1768e5;color:#fff;font-size:12.5px;font-weight:600;border-radius:2px;transition:background .25s,transform .25s}
.employeeDownload a:hover{background:#0f57c9;transform:translateY(-2px)}
.employeeLoginCard label+label{margin-top:18px}

/* Consultation desk. Required by ハラスメント防止規程 第6条, which directs
   employees to the portal for harassment reports. */
.employeeDesk{margin-top:34px;padding:38px 42px;background:#fff;border:1px solid #dbe7f0;border-left:3px solid #1768e5}
.employeeDesk h2{font-size:20px;letter-spacing:-.02em;margin:6px 0 14px}
.employeeDeskLead{font-size:13px;line-height:1.95;color:#5d7186;margin:0 0 24px;max-width:660px}
.employeeDesk dl{margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:18px 30px}
.employeeDesk dt{font:700 9px "Manrope",sans-serif;letter-spacing:.16em;color:#1768e5;margin-bottom:6px}
.employeeDesk dd{margin:0;font-size:13.5px;line-height:1.8}
@media (max-width:700px){.employeeDesk{padding:26px 20px}}

/* Card action label. Tells the employee whether the card opens a PDF or jumps
   to the text, so a click is never a surprise. */
.employeeGrid a .docFlag{display:block;margin-top:14px;font:700 9px "Manrope",sans-serif;letter-spacing:.14em;font-style:normal;color:#1768e5;opacity:.75;transition:opacity .25s}
.employeeGrid a:hover .docFlag{opacity:1}

/* Secondary download link beside the primary open action. */
.employeeDownload{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.employeeDownload a.isSecondary{background:transparent;color:#3d5060;border:1px solid #dbe7f0}
.employeeDownload a.isSecondary:hover{background:#f3f7fa;color:#10243a;transform:none}

/* Documents awaiting content from the client read as 準備中 rather than
   presenting the seeded placeholder line as if it were the regulation. */
.employeePending{
	padding:16px 18px;
	background:#f6f8fa;
	border-left:3px solid #c4d2dd;
	font-size:13px;
	line-height:1.9;
	color:#5d7186;
	margin:0;
}

.docFlag.isPending{
	color:#8ca0ae;
}

/* Tables inside the regulation accordion. The documents carry pay bands,
   disciplinary schedules and approval limits, which only read correctly as
   tables — the same structure the PDFs use. */
.employeeDocuments details table{
	width:100%;
	border-collapse:collapse;
	margin:14px 0 20px;
	font-size:12.5px;
	line-height:1.7;
}

.employeeDocuments details th{
	text-align:left;
	font-weight:600;
	background:#f3f7fa;
	color:#10243a;
}

.employeeDocuments details th,
.employeeDocuments details td{
	border:1px solid #dbe7f0;
	padding:9px 12px;
	vertical-align:top;
}

.employeeDocuments details h2{
	font-size:15px;
	margin:30px 0 12px;
	padding-bottom:9px;
	border-bottom:1px solid #dbe7f0;
	color:#1768e5;
}

.employeeDocuments details h3{
	font-size:13.5px;
	margin:22px 0 8px;
}

.employeeDocuments details .docItem{
	margin:0 0 6px;
	padding-left:14px;
}

/* Quoted source text and notes sit apart from the surrounding commentary. */
.employeeDocuments details .docNote{
	margin:12px 0;
	padding:12px 16px;
	background:#f6f9fb;
	border-left:3px solid #c4d2dd;
	font-size:12.5px;
	line-height:1.85;
}

@media (max-width:700px){
	.employeeDocuments details table{font-size:11.5px}
	.employeeDocuments details th,
	.employeeDocuments details td{padding:7px 9px}
}
