:root{color-scheme:light;--bg:#f4f4f1;--card:#fff;--ink:#1f211e;--muted:#747a72;--line:#dfe1dc;--soft:#eceee9;--accent:#9a5a26;--dark:#222522;--ok:#31735e;--warn:#b26b27;--danger:#b74a42}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;line-height:1.6}a{color:inherit}button,input{font:inherit}.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:24px;padding:14px 28px;border-bottom:1px solid var(--line);background:rgba(244,244,241,.94);backdrop-filter:blur(16px)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}.brand>span,.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:13px;background:var(--dark);color:#fff;font-weight:900;letter-spacing:-.04em}.brand strong{font-size:14px}.brand small{font-size:9px;letter-spacing:.18em;color:#8a9088}.topbar nav{margin-left:auto;display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.topbar nav a{padding:8px 10px;border-radius:10px;text-decoration:none;font-size:11px;font-weight:800;letter-spacing:.07em;color:#7b8179}.topbar nav a:hover,.topbar nav a.active{background:#fff;color:var(--ink)}.wrap{width:min(1260px,calc(100% - 32px));margin:0 auto;padding:28px 0 60px}.wrap.narrow{width:min(900px,calc(100% - 32px))}.hero{display:grid;grid-template-columns:1.3fr .7fr;gap:28px;align-items:end;padding:42px;border:1px solid var(--line);border-radius:34px;background:linear-gradient(135deg,#fff 0%,#fbfaf6 65%,#f2e8dc 100%);box-shadow:0 12px 40px rgba(32,34,31,.04)}.hero.compact{grid-template-columns:1fr;padding:30px}.hero h1{font-size:clamp(38px,6vw,72px);line-height:1.03;letter-spacing:-.055em;margin:8px 0 18px}.hero.compact h1{font-size:38px}.hero p{max-width:760px;margin:0;color:var(--muted)}.hero aside{border:1px solid rgba(154,90,38,.16);background:rgba(255,255,255,.65);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:7px}.hero aside span{align-self:flex-start;border:1px solid #d7b188;border-radius:999px;padding:5px 9px;color:#9a5a26;font-size:10px;font-weight:900;letter-spacing:.13em}.hero aside strong{font-size:22px}.hero aside small{color:var(--muted)}.eyebrow{margin:0!important;font-size:10px!important;font-weight:900!important;letter-spacing:.18em!important;color:#718078!important}.stat-grid,.cost-grid,.three-grid{display:grid;gap:12px;margin-top:14px}.stat-grid{grid-template-columns:repeat(4,1fr)}.cost-grid,.three-grid{grid-template-columns:repeat(3,1fr)}.stat-grid article,.panel{border:1px solid var(--line);background:var(--card);border-radius:24px;padding:20px}.stat-grid article{min-height:142px}.stat-grid small,.metric small{display:block;color:var(--muted);font-weight:700}.stat-grid strong,.metric strong{display:block;margin-top:14px;font-size:30px;letter-spacing:-.04em}.stat-grid span,.metric span{display:block;margin-top:4px;color:#8d938b;font-size:12px}.section{margin-top:42px}.section-head{display:flex;gap:24px;align-items:end;justify-content:space-between;margin-bottom:14px}.section-head.small{align-items:center}.section-head h2,.section-head h3{margin:2px 0 0;letter-spacing:-.03em}.section-head h2{font-size:30px}.section-head>p{max-width:600px;margin:0;color:var(--muted);font-size:13px;text-align:right}.business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.business-card{min-height:230px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid var(--line);border-radius:26px;background:#fff;padding:21px}.business-card h3{margin:8px 0 6px;font-size:24px;letter-spacing:-.035em}.business-card p:not(.eyebrow){margin:0;color:var(--muted);font-size:13px}.status{float:right;border:1px solid var(--line);border-radius:999px;padding:4px 8px;font-size:9px;font-weight:900;letter-spacing:.12em}.status.linked,.status.live{color:var(--ok);border-color:#b8d1c7;background:#edf6f1}.status.planned{color:#8d938b;background:#f4f5f2}.open-link{margin-top:24px;text-decoration:none;font-size:12px;font-weight:900}.open-link.disabled{color:#a4a8a1}.panel h3{margin:0 0 8px}.panel p{margin:0;color:var(--muted);font-size:13px}.panel>a{display:inline-block;margin-top:14px;font-weight:800;text-decoration:none}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px}table{width:100%;border-collapse:collapse;min-width:620px;background:#fff}th,td{padding:13px 14px;border-bottom:1px solid var(--soft);text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.12em;color:#8c9289;background:#fafbf8}tr:last-child td{border-bottom:0}code{font-size:11px;color:#646a62}.alert{margin:14px 0;border-radius:16px;padding:12px 14px;font-size:13px}.alert.error{background:#fbefee;border:1px solid #e9c4c0;color:#9b3832}.alert.success{background:#edf6f1;border:1px solid #bed8cd;color:#2e6b57}.alert.warning{background:#fff5e8;border:1px solid #ead0ad;color:#8e591f}.button{border:0;border-radius:14px;padding:12px 16px;font-weight:900;cursor:pointer}.button.primary{background:var(--dark);color:#fff}.button.primary:hover{background:#343834}.stack{display:grid;gap:14px}.stack label{display:grid;gap:7px;font-size:12px;font-weight:800;color:#6e746d}.stack input[type=password],.stack input[type=file]{width:100%;border:1px solid var(--line);border-radius:14px;background:#fff;padding:12px}.auth-body{min-height:100vh;display:grid;place-items:center;padding:24px}.auth-card{width:min(480px,100%);border:1px solid var(--line);border-radius:28px;background:#fff;padding:28px;box-shadow:0 18px 50px rgba(31,33,30,.08)}.auth-card h1{margin:8px 0;font-size:34px;letter-spacing:-.04em}.auth-card .muted{color:var(--muted);font-size:13px}.brand-mark{width:48px;height:48px;margin-bottom:14px}footer{margin-top:52px;padding-top:22px;border-top:1px solid var(--line);color:#92978f;font-size:11px}@media(max-width:900px){.hero{grid-template-columns:1fr;padding:28px}.stat-grid{grid-template-columns:repeat(2,1fr)}.business-grid,.cost-grid,.three-grid{grid-template-columns:1fr 1fr}.section-head{align-items:flex-start;flex-direction:column;gap:8px}.section-head>p{text-align:left}.topbar{padding:12px 16px}.topbar nav a{display:none}.topbar nav a[href="update.php"],.topbar nav a[href="logout.php"]{display:inline-block}}@media(max-width:620px){.wrap{width:min(100% - 20px,1260px);padding-top:14px}.hero{padding:22px;border-radius:24px}.hero h1{font-size:40px}.stat-grid,.business-grid,.cost-grid,.three-grid{grid-template-columns:1fr}.stat-grid article{min-height:auto}.section{margin-top:30px}.section-head h2{font-size:25px}.business-card{min-height:190px}.brand small{display:none}.topbar{gap:10px}}
