html, body {
  margin: 0;
  padding: 0;
}

html {
  overscroll-behavior-y: none;
  scrollbar-width: none;
}

body {
  background: #16181c;
  color: #ededed;
  font-family: BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.Logo {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  height: 56px;
  padding: 0 24px;
}
.Logo-Text {
  color: #ededed;
  font-family: "Quicksand", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDGothic", meiryo, sans-serif;
  font-size: 22px;
  line-height: 2;
  cursor: pointer;
  user-select: none;
}

.ApplicationMenu {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  z-index: 35;
  display: none;
  flex-direction: column;
  width: 300px;
  background: #24272c;
  border-radius: 0 8px 0 0;
  overflow-y: scroll;
  overscroll-behavior-y: none;
  scrollbar-width: none;
}
.ApplicationMenu[data-open] {
  display: flex;
}
.ApplicationMenu-Section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 0;
}
.ApplicationMenu-Section + .ApplicationMenu-Section {
  border-top: 1px solid #363b43;
}
.ApplicationMenu-Link {
  padding: 0 24px;
}
.ApplicationMenu-Link-Name {
  display: block;
  font-size: 15px;
  line-height: 23px;
  color: #ededed;
  text-decoration: none;
}
.ApplicationMenu-Link-Description {
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  color: #808080;
}

.Timeline {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 56px;
  padding: 0 24px;
  background: rgba(22, 24, 28, 0.8);
}
.Timeline-Track {
  display: flex;
  flex-grow: 1;
  align-items: center;
}
.Timeline-Point {
  position: relative;
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ededed;
  cursor: pointer;
}
.Timeline-Point::before {
  content: "";
  position: absolute;
  inset: -14px -6px;
}
.Timeline-Point[data-current] {
  width: 8px;
  height: 8px;
}
.Timeline-Point[data-change=increase] {
  background: #4ade80;
}
.Timeline-Point[data-change=decrease] {
  background: #f87171;
}
.Timeline-Segment {
  flex-grow: 1;
  height: 1px;
  background: #808080;
}
.Timeline-Control {
  display: flex;
}
.Timeline-Previous, .Timeline-Next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: #ededed;
  cursor: pointer;
}

.YearPopulationMap {
  position: fixed;
  top: 96px;
  left: 16px;
  display: none;
  width: calc(50% - 16px);
}
.YearPopulationMap[data-ready] {
  display: block;
}
.YearPopulationMap-Canvas {
  display: block;
}
.YearPopulationMap-Canvas[data-hover] {
  cursor: pointer;
}

.YearPopulation {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin-left: auto;
  padding: 48px 32px 76px;
  box-sizing: border-box;
}

.AreaPopulationPage {
  display: flex;
  flex-direction: column;
}

.AreaPopulationTitle {
  margin: 0;
  padding: 48px 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  text-align: center;
}

.AreaPopulationChart[data-hover] {
  cursor: pointer;
}

.AreaPopulationMap {
  display: none;
  margin: 68px 0;
}
.AreaPopulationMap[data-ready] {
  display: block;
}
.AreaPopulationMap-Canvas {
  display: block;
}
.AreaPopulationMap-Canvas[data-hover] {
  cursor: pointer;
}

.AreaPopulationCredit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 32px 20px;
}

.YearPopulationTitle {
  margin: 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 500;
  text-align: center;
}

.PopulationTable {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 28px;
  row-gap: 12px;
  padding: 44px 0;
}

.PopulationRow {
  display: grid;
  grid-column: 1/-1;
  grid-template-columns: subgrid;
}
.PopulationRow-TotalLabel {
  font-size: 18px;
  line-height: 26px;
  text-align: right;
}
.PopulationRow-TotalValue {
  font-family: "Libertinus Mono", monospace;
  font-size: 19px;
  line-height: 27px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.PopulationRow-Name {
  justify-self: end;
  font-size: 16px;
  line-height: 24px;
  color: inherit;
  text-align: right;
  text-decoration: none;
}
.PopulationRow-Value {
  justify-self: start;
  font-family: "Libertinus Mono", monospace;
  font-size: 17px;
  line-height: 25px;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

.YearPopulationCredit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.CreditItem {
  margin: 0;
  font-size: 12px;
  line-height: 20px;
  color: #808080;
}

.Population-Credit-Link {
  color: inherit;
  text-decoration: none;
}
