html {
  box-sizing: border-box;
}
body {
  font-family: "ヒラギノ角ゴ Pro W3",Hiragino Kaku Gothic Pro,"メイリオ",Meiryo,"ＭＳ Ｐゴシック",sans-serif;
  font-size: 16px;
  background-color: white;
}
h1.title {
  text-align: center;
  font-weight: bold;
  font-size: 2em;
  margin: 1.5em 0;
}
h1.title:before {
  content: "";
  background-image: URL(../images/contentslist.png);
  background-size: cover;
  width: 83px;
  height: 38px;
  vertical-align: middle;
  display: inline-block;
  margin-right: 10px;
}
h1.title span {
  vertical-align: middle;
}
a {
  text-decoration: none;
}
.tab {
  margin-left: 1em;
}
.nav {
  flex-wrap: wrap;
}
.nav-link {
  cursor: pointer;
}
.nav-tabs .nav-link {
  border-bottom: 0px solid transparent;
  opacity: 0.7;
}
.nav-tabs-year {
  padding-bottom: 8px;
}
.nav-link, .tab-content {
  background-color: #FFB300;
  color: white;
}
.nav-link.nav-link-year {
  border-radius: 20px;
  border-bottom: 1px solid transparent;
}
.tab .nav-link.active {
  background-color: #FFB300;
  color: white;
  opacity: 1;
}
.tab-content {
  padding: 28px 10px;
  border-radius: 0.25em;
}
.tab-content .nav-tabs {
  border-bottom-color: white;
}
.tab-content .nav-link {
  padding: .4em 1em;
}
.tab-content .nav-link.active {
  background-color: white;
  color:#333333;
  opacity: 1;
  border-color: white;
}
.tab-content .nav-tabs .nav-item {
  margin-bottom: 0px;
}
.nav-link:focus, .nav-link:hover {
  color: white;
}
.tab .nav-item:not(:last-child) {
  margin-right: 10px;
}
.tab-content .nav-item:not(:last-child) {
  margin-right: 0px;
}
.nav-item.empty-item {
  height: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  opacity: 0;
}
.hop:hover {
  opacity: 0.8;
}
.wrapper {
  width: 900px;
  margin: 0 auto;
}
.header {
  width: 100%;
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #fffbbf 0%, #ffeb00 70%, #ffeb00 100%) repeat scroll 0 0;
}
.header svg {
  width: 314.444px;
  padding: 1em;
  box-sizing: initial;
}
.contentslist-container {
  background-color: white;
  color: #333333;
  padding-left: 40px;
  padding-top: 30px;
  padding-bottom: 4px;
}
.contentslist-index {
  padding-bottom: 0.8em;
  font-size: 1.4em;
  line-height: 1em;
}
.contentslist-index .badge {
  background-color: #EC971F;
  padding: 0.2em 0.8em;
  border-radius: 1em;
  font-size: 1em;
  vertical-align: middle;
}
.contentslist-container dt {
  margin-bottom: 0.2rem;
}
.contentslist-container dl {
  padding-left: 20px;
}
.contentslist-container ul {
  padding-left: 40px;
}
.idx-nav-arrow {
  font-size: 1.4em;
  vertical-align: middle;
  padding-left: .3em;
}
.idx-nav-arrow a {
  color: #EC971F;
}
.idx-nav-arrow a, .idx-nav-arrow span {
  padding: 0px .3em;
}
.idx-nav-arrow .disabled {
  color: gray;
}
.back-to-top {
  background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #4797b2 0%, #128fb9 100%) repeat scroll 0 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  text-align: center;
  margin: 10px 0px;
  padding: 12px;
  border-radius: 8px;
}
.back-to-top a {
  font-size: 16px;
  color: white;
  font-weight: bold;
}
@media screen and (max-width: 900px) {
  .header svg {
    width: 60%;
  }
  .wrapper {
    width: 90%;
  }
  .tab-content {
    padding: 0.5em 1em 1em 1em;
  }
  .tab-content .nav-link {
    padding: .4em .6em;
  }
  .nav-link.nav-link-year {
    width: 4em;
    text-align: center;
  }
  .tab-content .empty-item .nav-link.nav-link-year {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}
@media screen and (max-width: 600px) {
  .wrapper {
    width: 96%;
  }
  body {
    font-size: 14px;
  }
  h1.title {
    font-size: 1.6em;
  }
  .tab {
    margin-left: 0.8em;
  }
  .tab-content {
    padding: 0.5em .75em .75em .75em;
  }
  .tab-content .nav-tabs {
    justify-content: space-between;
  }
  .tab-content .nav-link {
    font-size: 0.9em;
  }
  ul.links {
    padding-left: 1.4em;
  }
  .contentslist-container {
    padding: .8em;
  }
  .contentslist-container dt {
    margin-bottom: 0.2rem;
  }
  .contentslist-container dl {
    padding-left: 0px;
  }
  .back-to-top {
    margin: 10px 0px;
    padding: 6px;
    border-radius: 6px;
  }
}
@media screen and (max-width: 360px) {
  .tab {
    margin-left: 0.8em;
  }
  .tab-content {
    padding: 0.5em .70em .70em .70em;
  }
  .tab-content .nav-link {
    font-size: 0.8em;
  }
}
