* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  background: #f6f5f2;
  color: #222;
  font-size: 14px;
  line-height: 1.6;
}
header {
  background: #1e3a2f;
  color: #f3ead8;
  padding: 18px 20px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}
header h1 { font-size: 19px; font-weight: 700; letter-spacing: .04em; }
header .updated { font-size: 12px; color: #cdbd93; }
nav.tabs {
  display: flex; gap: 2px; overflow-x: auto;
  background: #fff; border-bottom: 1px solid #e2ded4;
  padding: 0 10px; position: sticky; top: 0; z-index: 10;
  -webkit-overflow-scrolling: touch;
}
nav.tabs button {
  appearance: none; background: none; border: none; cursor: pointer;
  font: inherit; font-size: 14px; color: #77705f;
  padding: 10px 12px 8px; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
nav.tabs button.active { color: #1e3a2f; font-weight: 700; border-bottom-color: #b08d3e; }
.view.hidden { display: none; }
main { max-width: 880px; margin: 0 auto; padding: 16px 14px 28px; }
section.biz {
  background: #fff;
  border: 1px solid #e2ded4;
  border-radius: 10px;
  padding: 16px 18px 14px;
  margin-bottom: 14px;
}
section.biz h2 {
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid #1e3a2f;
  padding-bottom: 6px;
  margin-bottom: 12px;
}
.kpis { display: flex; flex-wrap: wrap; gap: 10px; }
.kpi {
  flex: 1 1 130px;
  background: #faf9f6;
  border: 1px solid #e8e4da;
  border-radius: 8px;
  padding: 10px 12px;
}
.kpi .label { font-size: 12px; color: #77705f; }
.kpi .value {
  font-size: 20px;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.kpi .sub { font-size: 11px; color: #99917c; text-align: right; }
.progress-block { margin-top: 12px; }
.progress-row { margin-bottom: 10px; }
.progress-row .p-head {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 13px; margin-bottom: 4px;
}
.progress-row .p-head .p-num { font-variant-numeric: tabular-nums; font-weight: 700; }
.bar { height: 10px; background: #eeeade; border-radius: 5px; overflow: hidden; }
.bar > div { height: 100%; background: #b08d3e; border-radius: 5px; }
.progress-row .p-foot { font-size: 12px; color: #77705f; margin-top: 3px; }
.note { font-size: 12px; color: #77705f; margin-top: 10px; }
table.jobs { width: 100%; border-collapse: collapse; margin-top: 6px; }
table.jobs th, table.jobs td {
  text-align: left; padding: 7px 6px; border-bottom: 1px solid #eee9dc;
  font-size: 13px; vertical-align: top;
}
table.jobs th { color: #77705f; font-weight: 600; font-size: 12px; }
table.jobs td.amt { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.jobs td.date { white-space: nowrap; color: #77705f; }
.badge {
  display: inline-block; font-size: 11px; padding: 1px 7px; border-radius: 8px;
  background: #eef2ee; color: #1e3a2f; border: 1px solid #cfd8cf; white-space: nowrap;
}
.badge.draft { background: #fdf3e3; color: #8a6d1f; border-color: #e8d9ae; }
.subhead { font-size: 13px; font-weight: 700; margin: 14px 0 2px; }
details.detail { margin-top: 12px; border-top: 1px solid #eee9dc; padding-top: 8px; }
details.detail summary {
  cursor: pointer; font-size: 13px; font-weight: 700; color: #1e3a2f;
  padding: 4px 0;
}
table.detail { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
table.detail th, table.detail td {
  text-align: left; padding: 5px 6px; border-bottom: 1px solid #f0ebdd;
  font-size: 12.5px; vertical-align: top;
}
table.detail th { color: #77705f; font-weight: 600; font-size: 11.5px; }
table.detail td.num, table.detail th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.detail td.date { white-space: nowrap; color: #77705f; }
.detail-title { font-size: 13px; font-weight: 700; margin: 12px 0 2px; }
ul.points { list-style: none; margin: 4px 0 10px; }
ul.points li { padding: 3px 0 3px 14px; position: relative; font-size: 13.5px; }
ul.points li::before { content: "・"; position: absolute; left: 0; color: #b08d3e; font-weight: 700; }
footer { text-align: center; font-size: 11px; color: #aaa28e; padding: 0 0 22px; }
a { color: #1e3a2f; }
