@font-face{font-family:Office;src:local("Hiragino Sans"),local("Yu Gothic"),local("Meiryo");font-display:swap}
:root{font-family:Office,"Noto Sans",sans-serif;color:#304c42;background:#edf0e5;font-size:16px;font-synthesis:none;--ink:#304c42;--muted:#637467;--line:#cbd3c3;--paper:#f8f7ee;--accent:#c49b43}
*{box-sizing:border-box}body{margin:0;overflow:hidden;word-break:auto-phrase;line-break:strict;text-wrap:pretty}button,select{font:inherit;color:inherit}button{cursor:pointer}button:focus-visible,select:focus-visible,.members:focus-visible{outline:3px solid #9a752c;outline-offset:3px}button{border:1px solid var(--line);background:var(--paper);border-radius:8px;min-height:44px}button:hover{background:#e1e6d8}button:disabled{cursor:default}p,h1,h2{margin:0}h1,h2{text-wrap:balance}button,select{touch-action:manipulation}[hidden]{display:none!important}
/* A meaning-unit wrapper: browsers may break a line between .phrase spans, never inside one (word-break:auto-phrase above is the baseline for everything else). */
.phrase{display:inline-block;white-space:nowrap}
.masthead{position:absolute;z-index:3;top:26px;left:32px;right:32px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.identity{display:flex;align-items:center;gap:12px}.eyebrow{font-size:16px;letter-spacing:.15em;margin-bottom:3px}h1{font-weight:600;font-size:22px;letter-spacing:.04em}h1 span{font-size:16px;font-weight:400}.time-block{text-align:right}.time-block p{font-size:16px;display:flex;align-items:center;gap:8px}.time-block time{font-size:30px;font-variant-numeric:tabular-nums;line-height:1.5;letter-spacing:.08em}.live-dot{display:inline-block;width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#80966d;box-shadow:0 0 0 4px #80966d18;margin-right:7px}
.intro{position:absolute;top:127px;left:36px;z-index:2;width:255px;pointer-events:none}.intro-copy{font-size:25px;line-height:1.65;font-weight:500;letter-spacing:.09em}.metrics{display:flex;gap:25px;margin-top:22px}.metrics p{font-size:16px;line-height:1.8;white-space:nowrap}.metrics p span{display:block;font-size:16px;color:var(--muted)}.metrics>div:first-child p{margin-bottom:28px}.metrics strong{font-size:38px;font-weight:500;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.metrics>div>span{font-size:16px}.data-note{font-size:16px;color:var(--muted);margin-top:9px;line-height:1.5;text-wrap:pretty}
#scene{position:absolute;left:250px;right:0;top:75px;bottom:63px;touch-action:none;cursor:grab}#scene:active{cursor:grabbing}canvas{display:block;width:100%;height:100%;touch-action:none}.loading{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);width:280px;text-align:center;padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:12px;z-index:1}.scene-caption{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:14px;font-size:16px;color:var(--muted);white-space:nowrap;pointer-events:none}.caption-rule{width:34px;height:1px;background:var(--line)}
.floor-nav{position:absolute;left:32px;bottom:77px;width:260px;z-index:3}.nav-title{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px;gap:8px}.nav-title h2{font-size:16px;font-weight:600;letter-spacing:.08em}.nav-title>span{font-size:16px;color:var(--muted)}#floor-list{display:flex;flex-direction:column;gap:2px}.floor-button{display:grid;grid-template-columns:32px 1fr auto;gap:7px;align-items:center;width:100%;text-align:left;background:transparent;border-color:transparent;border-radius:5px;min-height:39px;padding:5px 8px;font-size:16px}.floor-button:hover{background:#dce3d4}.floor-button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.floor-number{color:#8a763f;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums}.floor-button[aria-pressed=true] .floor-number{color:#e8cc8b}.floor-count{font-variant-numeric:tabular-nums;font-size:16px;opacity:.75}.nav-note{font-size:16px;color:var(--muted);margin-top:12px;padding-top:13px;border-top:1px solid var(--line)}
.view-tools{position:absolute;right:32px;bottom:84px;display:flex;gap:8px;z-index:4}.view-tools button{padding:8px 14px;border-radius:24px;box-shadow:0 3px 9px #304c4207;white-space:nowrap}.footer{position:absolute;bottom:0;left:0;right:0;min-height:57px;padding:17px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);font-size:16px;background:#edf0e5e6;z-index:5}.footer p{line-height:1.5;text-wrap:pretty}.footer .gesture{color:var(--muted)}.footer .gesture span{padding:0 5px;color:#a3af9e}.footer:has(#public-notice:not([hidden])) .gesture{display:none}#public-notice{font-size:16px;color:var(--muted)}
.detail{position:absolute;right:24px;top:120px;bottom:143px;z-index:5;width:390px;padding:22px 24px;background:#fbfaf3f5;border:1px solid #d3d9cb;border-radius:14px;box-shadow:0 16px 48px #263e331a;display:flex;flex-direction:column;backdrop-filter:blur(12px)}.detail-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.detail-top button{border:0;background:none;padding:0 0 0 12px;white-space:nowrap}.detail-top button span{font-size:26px;margin-left:8px}.floor-badge{font-size:16px;background:#e9e8d9;border:1px solid #d4d7c5;border-radius:5px;padding:4px 10px;letter-spacing:.12em}.detail h2{font-size:24px;letter-spacing:.05em}.detail-summary{color:var(--muted);font-size:16px;margin-top:9px;line-height:1.7;text-wrap:pretty}.department-filter{display:flex;align-items:center;gap:12px;border-top:1px solid var(--line);padding-top:16px;margin-top:17px}.department-filter label{font-size:16px;flex-shrink:0}select{width:100%;min-width:0;font-size:16px;background:var(--paper);border:1px solid var(--line);border-radius:6px;padding:9px 4px}.member-heading{display:flex;justify-content:space-between;margin:17px 0 6px;font-size:16px}.member-heading span{color:var(--muted)}.members{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding-right:7px;scrollbar-width:thin}.member{padding:14px 0;border-bottom:1px solid var(--line)}.member-title{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.member h3{font-size:17px;font-weight:500;margin:0;overflow-wrap:anywhere}.member-stage{font-size:16px;white-space:nowrap;color:#7c692e}.member p{font-size:16px;color:var(--muted);margin-top:5px;line-height:1.7}.member dl{display:flex;gap:20px;margin:9px 0 0;font-size:16px;line-height:1.5}.member dt{color:var(--muted)}.member dd{margin:0}.error{color:#70532f}
@media(min-width:761px) and (max-height:780px){.intro{top:108px}.intro-copy{font-size:20px}.metrics{margin-top:12px}.metrics strong{font-size:32px}.floor-nav{bottom:69px}.floor-button{min-height:35px}.nav-note{margin-top:5px;padding-top:7px}.data-note{max-width:235px}}
@media(max-width:1000px) and (min-width:761px){.intro{width:220px;left:24px}.masthead{left:24px;right:24px}.floor-nav{left:20px;width:238px}#scene{left:205px}.detail{width:350px;right:15px}.nav-title>span{display:none}.footer{padding-left:24px;padding-right:24px}.gesture{max-width:290px}}
@media(max-width:760px){body{height:100dvh}.masthead{top:16px;left:18px;right:18px;align-items:flex-start}.identity{gap:9px}.identity img{width:32px;height:32px}.eyebrow{font-size:16px;margin-bottom:1px}h1{font-size:18px}h1 span{display:block;font-size:16px;font-weight:400;letter-spacing:0}.time-block p{font-size:16px}.time-block time{font-size:22px}.time-block .live-dot{display:none}.intro{top:110px;left:20px;right:20px;width:auto;display:flex;align-items:flex-start;gap:8px}.intro-copy{display:none}.metrics{margin:0;width:100%;justify-content:space-between;gap:20px;align-items:center}.metrics>div{display:flex;align-items:baseline;gap:5px}.metrics p{font-size:16px;line-height:1.3}.metrics p span{display:none}.metrics>div:first-child p{margin:0}.metrics strong{font-size:30px}.data-note{position:absolute;top:44px;left:0;margin:0;font-size:16px}.metrics>div>span{font-size:16px}#scene{left:0;right:0;top:159px;bottom:204px}.scene-caption{bottom:13px;font-size:16px}.floor-nav{left:18px;right:18px;bottom:64px;width:auto}.nav-title{margin-bottom:8px}.nav-title h2,.nav-title>span{font-size:16px}#floor-list{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,44px);grid-auto-columns:164px;overflow-x:auto;gap:5px;padding:2px 2px 5px;scrollbar-width:thin;overscroll-behavior:contain}.floor-button{min-height:44px;grid-template-columns:24px 1fr;background:#f8f7eea6;border-color:var(--line);padding:6px;font-size:16px;gap:4px}.floor-button .floor-name{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.floor-count{display:none}.nav-note{display:none}.view-tools{right:18px;bottom:208px;gap:6px}.view-tools button{font-size:16px;padding:6px 12px;min-height:42px}.footer{min-height:51px;padding:10px 18px;display:block}.footer .gesture{display:none}.footer p{font-size:16px}#public-notice{font-size:16px;line-height:1.4;margin-top:4px}.footer:has(#public-notice:not([hidden])){padding-top:8px;padding-bottom:8px}.footer:has(#public-notice:not([hidden])) #activity{display:none}.detail{left:10px;right:10px;top:auto;bottom:10px;width:auto;height:57dvh;max-height:560px;padding:15px 18px;border-radius:17px;z-index:10;background:#fbfaf3fc}.detail-top{margin-bottom:4px}.detail h2{font-size:22px}.detail-summary{margin-top:5px}.department-filter{padding-top:10px;margin-top:10px}.member-heading{margin-top:10px}.detail .members{padding-bottom:12px}.detail-open .floor-nav,.detail-open .view-tools{visibility:hidden}.detail-open #scene{bottom:48dvh;top:110px}.detail-open .intro{visibility:hidden}.detail-open .scene-caption{display:none}}
html,body{min-height:100dvh}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
/* Keep the summary and floor guide in separate bands, including short laptop windows. */
@media(min-width:761px){.intro-copy{font-size:23px;line-height:1.6}.metrics{margin-top:16px}.metrics p span{display:inline;margin-left:3px}.metrics>div:first-child p{margin-bottom:0}.metrics strong{font-size:36px}.data-note{max-width:260px}}
@media(max-width:760px){.floor-button{grid-template-columns:32px 1fr}.floor-number{white-space:nowrap}.scene-caption{display:none}}
/* Site naming and a self-contained visitor guide. */
.company-name{display:block;font-size:16px;font-weight:500;letter-spacing:.035em}.office-name{font-size:22px;font-weight:600}#registration-notice{font-size:16px;line-height:1.6;color:var(--muted);text-wrap:pretty}
.visit-card{position:absolute;left:32px;top:185px;z-index:6;width:310px;padding:22px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:14px;box-shadow:0 16px 48px #263e3322}.visit-progress{font-size:16px;color:var(--muted);margin-bottom:12px;font-variant-numeric:tabular-nums}.visit-card h2{font-size:24px;line-height:1.4;margin-bottom:12px}.visit-card #visit-text{font-size:16px;line-height:1.8;text-wrap:pretty}.visit-actions{display:flex;gap:8px;margin-top:20px}.visit-actions>*{flex:1;text-align:center;padding:10px 5px;font-size:16px;white-space:nowrap}#visit-free{width:100%;margin-top:8px;padding:8px;white-space:nowrap}.primary-action{background:var(--ink);color:var(--paper);border:1px solid var(--ink);border-radius:8px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px}.primary-action:hover{background:#496553;color:var(--paper)}a:focus-visible{outline:3px solid #9a752c;outline-offset:3px}.visiting .intro,.visiting .floor-nav,.visiting .view-tools,.visiting .scene-caption{display:none}.visiting #scene{left:350px;top:110px;bottom:72px}
/* Dusk changes the sky and town; paper UI and the separately lit office stay legible. */
body[data-time=night]{background:linear-gradient(180deg,#3e5048 0%,#657463 60%,#91907a 100%)}body[data-time=night] .masthead,body[data-time=night] .intro,body[data-time=night] .floor-nav{color:#fbf3dc}body[data-time=night] .data-note,body[data-time=night] .metrics p span,body[data-time=night] .nav-title>span,body[data-time=night] .nav-note,body[data-time=night] .scene-caption,body[data-time=night] #registration-notice{color:#f0e7cf}body[data-time=night] .floor-button{color:#fbf3dc}body[data-time=night] .floor-button:hover{color:var(--ink)}body[data-time=night] .floor-number{color:#f0cf85}body[data-time=night] .floor-button:hover .floor-number{color:#75602c}body[data-time=night] .floor-button[aria-pressed=true]{background:#f8f7ee;color:var(--ink)}body[data-time=night] .floor-button[aria-pressed=true] .floor-number{color:#75602c}
@media(max-width:1000px) and (min-width:761px){.visit-card{left:20px;width:275px;padding:18px}.visiting #scene{left:300px}.company-name{letter-spacing:0}}
@media(max-width:760px){
  .masthead{top:14px}.identity{width:100%}.identity img{display:none}h1{line-height:1.5;letter-spacing:0}.company-name{font-size:16px;letter-spacing:0}.office-name{font-size:18px!important;white-space:nowrap}.time-block{position:absolute;top:100px;right:0;display:flex;align-items:center;gap:10px}.time-block time{font-size:18px;line-height:1.4;letter-spacing:0}.intro{top:147px}.metrics strong{font-size:28px}#scene{top:197px}.view-tools{left:18px;right:18px;justify-content:flex-end;gap:6px}.view-tools button{padding:6px 11px}.view-tools #visit-start{margin-right:auto}.detail-open #scene{top:144px}.visit-card{left:12px;right:12px;top:auto;bottom:74px;width:auto;padding:16px 18px;max-height:calc(100dvh - 160px);overflow:auto}.visit-progress{margin-bottom:6px}.visit-card h2{font-size:20px;margin-bottom:6px}.visit-card #visit-text{line-height:1.55}.visit-actions{margin-top:12px}.visit-actions>*{padding:8px 5px}.visiting #scene{left:0;right:0;top:145px;bottom:310px}.visiting .time-block{top:100px}.visiting .footer #activity{display:none}body[data-time=night] .floor-button{background:#4a6053;border-color:#9ba58e}.footer{padding-left:16px;padding-right:16px}
}
@media(max-width:360px){.masthead{left:14px;right:14px}.company-name{max-width:280px}.office-name{font-size:16px!important}.view-tools{left:12px;right:12px}.view-tools button{padding:6px 9px}.visit-card{bottom:100px}.visiting #scene{bottom:340px}}
/* Cover mode (?cover=1): an article-cover screen. Building and town fill the frame; only a small name stays top-left. */
body.cover .intro,body.cover .floor-nav,body.cover .footer,body.cover .view-tools,body.cover .time-block,body.cover #registration-notice,body.cover .scene-caption,body.cover #detail,body.cover #visit{display:none!important}
body.cover #scene{left:0;right:0;top:0;bottom:0}
body.cover .masthead{top:18px;left:22px;right:22px}
body.cover .company-name{font-size:13px}
body.cover .office-name{font-size:17px}
/* Employee details share the floor panel and its mobile sheet. */
.floor-content{display:flex;flex-direction:column;min-height:0;flex:1}.member-select{padding:4px 0;border:0;background:none;text-align:left;text-decoration:underline;text-underline-offset:4px;min-height:44px;font-size:17px;font-weight:500;color:var(--ink);overflow-wrap:anywhere}.member-select:hover{color:#7c692e;background:none}.employee-content{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding-right:4px;margin-top:12px;scrollbar-width:thin}.employee-content h3{font-size:17px;font-weight:500;margin:20px 0 8px}.employee-meta,.employee-age,.attendance-range,.attendance-legend,.ask-status,.empty-history{font-size:16px;line-height:1.65;color:var(--muted)}.employee-meta{overflow-wrap:anywhere}.employee-age{margin-top:6px}.attendance-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px 6px;list-style:none;margin:12px 0;padding:0}.attendance-day{display:flex;flex-direction:column;gap:5px;align-items:center;font-size:16px;font-variant-numeric:tabular-nums}.attendance-dot{display:block;width:13px;height:13px;border:1.5px solid #6b7d69;border-radius:50%;background:transparent}.present .attendance-dot{background:#496553;border-color:#496553}.unknown .attendance-dot{border:0;border-radius:0;background:linear-gradient(transparent 44%,#9da692 44%,#9da692 56%,transparent 56%)}.attendance-legend{line-height:1.6}.ask-member{margin-top:18px;width:100%;padding:10px}.ask-status{margin-top:8px}.job-history{list-style:none;padding:0;margin:0}.job-history li{padding:10px 0;border-bottom:1px solid var(--line)}.job-history time{color:var(--muted);font-size:16px}.job-history p{font-size:16px;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:4px}#back-members{margin-top:12px;flex-shrink:0;min-height:44px;padding:8px}.detail:has(#employee-content:not([hidden])) #detail-title{font-size:21px;line-height:1.4;overflow-wrap:anywhere}.detail:has(#employee-content:not([hidden])){max-height:calc(100dvh - 230px)}
@media(max-width:760px){.detail:has(#employee-content:not([hidden])){height:67dvh;max-height:calc(100dvh - 135px)}.detail-open:has(#employee-content:not([hidden])) #scene{bottom:65dvh;top:126px}.employee-content{margin-top:8px}.employee-content h3{margin-top:16px}.attendance-days{gap:8px}.detail:has(#employee-content:not([hidden])) .detail-top{margin-bottom:8px}}
.employee-content h3{margin:12px 0 6px}.attendance-days{grid-template-columns:repeat(14,minmax(0,1fr));gap:8px 0;margin:10px 0}.attendance-legend{letter-spacing:-.035em}.ask-member{margin-top:8px;padding:8px}.ask-status{margin-top:5px}.job-history li{display:grid;grid-template-columns:88px minmax(0,1fr);gap:8px;align-items:center;padding:8px 0}.job-history p{margin:0}.detail:has(#employee-content:not([hidden])){top:100px;bottom:76px;max-height:none;width:420px}.employee-content{flex:1}
@media(max-width:760px){.detail:has(#employee-content:not([hidden])){top:auto;bottom:10px;width:auto;height:74dvh;max-height:calc(100dvh - 120px)}.detail-open:has(#employee-content:not([hidden])) #scene{bottom:71dvh;top:112px}.detail:has(#employee-content:not([hidden])) .detail-top{margin-bottom:3px}.employee-age{margin-top:3px}.attendance-legend{font-size:16px}.job-history li{gap:4px}#back-members{margin-top:8px}}
.job-history li{grid-template-columns:60px minmax(0,1fr)}.job-history time{white-space:nowrap}
@media(max-width:760px){.attendance-days{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px 4px}.detail:has(#employee-content:not([hidden])):not(:has(.ask-member)){bottom:84px;height:440px;max-height:calc(100dvh - 210px)}.detail-open:has(#employee-content:not([hidden])):not(:has(.ask-member)) #scene{bottom:520px;top:145px}}
@media(max-width:760px){.detail-open:has(#employee-content:not([hidden])):not(:has(.ask-member)) #scene{bottom:min(520px,calc(100dvh - 190px))}}
