body {
  margin: 0;
  padding: 0;
  counter-reset: dateListCount seriesListCount;
}

ul, li {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.tab,
.contents {
  max-width: 560px;
  margin: auto;
}

.tab li {
  float: left;
  text-align: center;
  width: 50%;
  padding: 0.5em 0 0.5em;
  color: #fff;
  background-color: #333;
}

.tab .current {
  background-color: #bbb;
}

.contents {
  clear: both;
}

.contents ul {
  display: none;
  padding: 1em 1.5em;
}

.contents li {
}

.contents span {
  display: block;
  font-size: 12px;
  border-bottom: 1px dotted #ccc;
  padding: 0.6em 0 1em;
  margin-bottom: 1.2em;
}

.dateList .count:before {
  counter-increment: dateListCount;
  content:'No.' counter(dateListCount);
}

.seriesList .count:before {
  counter-increment: seriesListCount;
  content:'No.' counter(seriesListCount);
}

.contents .current {
  display: block;
}
