main {
  margin: 10px 0 0 0;
}

/* トップのタブ部分 */
.top {
  display: flex;
  width: 100%;
}

.top ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.top .showTag {
  background-color: #fff;
  color: #000;
}

.top ul li {
  margin: 0;
  width: calc(99% / 6.5);
  height: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #2F5597;
  color: #FFF;
  position: relative;
}

.admin ul li {
  background-color: #203864;
}

.top a {
  display: flex;
  width: 100%;
  height: 90%;
  color: #FFF;
  text-decoration: none;
  justify-content: center;
  align-items: center;
}

.top a:visited {
  color: #FFF;
}

.top .showTag a {
  color: #000;
}

.top a.prev_button {
  display: block;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #000;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin: 7px;
}

.top a.next_button {
  display: block;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  color: #000;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin: 7px 7px 7px auto;
}

@media screen and (max-width: 1133px) and (hover: none) and (orientation: portrait) {
  .top ul li:nth-child(9) {
    display: none;
  }

  .top ul li {
    width: calc(100% / 7);
  }
}

@media screen and (max-width: 1133px) and (hover: none) and (orientation: landscape) {
  .top ul li {
    width: calc(100% / 6);
  }

  .admin ul li:nth-child(n+3),
  .admin .next_button {
    display: none !important;
  }
}