#wiki {
  color: #202122;
  background: linear-gradient(to bottom, #fff 0, #f5f5f5 30rem) no-repeat #f5f5f5;
  font-family: "Noto Sans JP", Meiryo, sans-serif;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.04em;
  font-feature-settings: "halt" 1;
  text-align: left;
  word-break: normal;
  overflow-wrap: anywhere;
}
@media screen and (max-width: 768px) {
  #wiki {
    font-size: 1.4rem;
  }
}

.wiki-container {
  max-width: 128rem;
  margin: 0 auto;
}

.wiki-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 8rem;
  padding: 0 3rem;
}
@media screen and (max-width: 768px) {
  .wiki-topbar__inner {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 1.3rem 2rem 1.5rem;
  }
}
.wiki-topbar__tools {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
@media screen and (max-width: 768px) {
  .wiki-topbar__tools {
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.6rem;
  }
}

.wiki-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}
@media screen and (max-width: 768px) {
  .wiki-logo {
    align-self: flex-start;
    gap: 0.5rem;
  }
}
.wiki-logo__image {
  display: block;
  width: 8.4rem;
  height: auto;
}
@media screen and (max-width: 768px) {
  .wiki-logo__image {
    width: 5.6rem;
  }
}
.wiki-logo__text {
  display: block;
  width: 20.4rem;
  height: auto;
}
@media screen and (max-width: 768px) {
  .wiki-logo__text {
    width: 15.3rem;
  }
}

.wiki-search {
  width: 22rem;
}
@media screen and (max-width: 768px) {
  .wiki-search {
    flex: 1;
    max-width: 19rem;
  }
}
.wiki-search img {
  display: block;
}

.wiki-lang {
  display: flex;
  gap: 0.5rem;
}
.wiki-lang__button {
  display: grid;
  place-items: center;
  min-width: 6.4rem;
  height: 3.2rem;
  padding: 0 1rem;
  border: 1px solid #96d0f4;
  border-radius: 0.3rem;
  background: #fff;
  color: #202122;
  font-size: 1.2rem;
  text-decoration: none;
}
.wiki-lang__button.is-current {
  background: linear-gradient(to bottom, #fafcfd 0%, #e6f0f6 100%);
}
@media screen and (max-width: 768px) {
  .wiki-lang__button {
    height: 3.4rem;
    padding: 0 0.8rem;
  }
}

.wiki-hamburger {
  display: none;
}
@media screen and (max-width: 768px) {
  .wiki-hamburger {
    display: grid;
    place-items: center;
    position: absolute;
    top: 0.5rem;
    right: 0.3rem;
    width: 4.4rem;
    height: 4rem;
  }
}
.wiki-hamburger__line, .wiki-hamburger__line::before, .wiki-hamburger__line::after {
  display: block;
  width: 2rem;
  height: 2px;
  background: #85959c;
}
.wiki-hamburger__line {
  position: relative;
}
.wiki-hamburger__line::before, .wiki-hamburger__line::after {
  content: "";
  position: absolute;
  left: 0;
}
.wiki-hamburger__line::before {
  top: -0.7rem;
}
.wiki-hamburger__line::after {
  top: 0.7rem;
}

.wiki-body {
  display: grid;
  grid-template-columns: 20.2rem minmax(0, 1fr) 30.8rem;
  grid-template-rows: auto 1fr;
  grid-template-areas: "side title aside" "side main aside";
  border-top: 1px solid #d9d9d9;
  background: #fff;
  max-width: 128rem;
}
.wiki-body__side {
  grid-area: side;
  padding: 2rem 2rem 4rem 3rem;
}
.wiki-body__title {
  grid-area: title;
  position: relative;
  padding: 3rem 3rem 0 3rem;
}
.wiki-body__title::before {
  content: "";
  position: absolute;
  top: 1.9rem;
  bottom: 0;
  left: 0;
  width: 1px;
  background: #96d0f4;
}
.wiki-body__main {
  grid-area: main;
  padding: 0 3rem 6rem;
  border-left: 1px solid #7ceaf8;
}
.wiki-body__aside {
  grid-area: aside;
  padding: 2rem 3rem 4rem 0;
}
@media screen and (max-width: 768px) {
  .wiki-body {
    display: flex;
    flex-direction: column;
  }
  .wiki-body__title {
    order: 1;
    padding: 4rem 0 0 2rem;
    border-left: none;
  }
  .wiki-body__title::before {
    display: none;
  }
  .wiki-body__aside {
    order: 2;
    padding: 2rem 2rem 0;
  }
  .wiki-body__main {
    order: 3;
    padding: 0 2rem 5rem;
    border-left: none;
  }
  .wiki-body__side {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100;
    width: 24rem;
    height: 100%;
    padding: 10rem 2rem 0;
    overflow-y: auto;
    background: #f4f4f4;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1), visibility 0.3s;
  }
  .wiki-body__side.is-show {
    transform: none;
    visibility: visible;
  }
}

.wiki-drawer-close {
  display: none;
}
@media screen and (max-width: 768px) {
  .wiki-drawer-close {
    display: block;
    position: absolute;
    top: 1.6rem;
    right: 1.6rem;
    width: 1.8rem;
    height: 1.8rem;
  }
  .wiki-drawer-close::before, .wiki-drawer-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2.55rem;
    height: 2px;
    background: #72777d;
  }
  .wiki-drawer-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  .wiki-drawer-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
}

.wiki-overlay {
  display: none;
}
@media screen and (max-width: 768px) {
  .wiki-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }
  .is-nav-show .wiki-overlay {
    opacity: 1;
    visibility: visible;
  }
}

.wiki-toc {
  position: sticky;
  top: 2rem;
}
.wiki-toc__title {
  padding-bottom: 1rem;
  border-bottom: 1px solid #d9d9d9;
  font-size: 1.4rem;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .wiki-toc__title {
    padding: 0.6rem 0 1.2rem 1rem;
    font-size: 2rem;
  }
}
.wiki-toc__list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-top: 2rem;
}
@media screen and (max-width: 768px) {
  .wiki-toc__list {
    gap: 0;
    margin-top: 5rem;
  }
}
.wiki-toc__link {
  color: #3464c8;
  font-size: 1.4rem;
  text-decoration: none;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .wiki-toc__link {
    display: block;
    padding: 0 1rem 3rem;
    font-size: 1.5rem;
  }
}
@media (hover: hover) {
  .wiki-toc__link:hover {
    text-decoration: underline;
  }
}
@media (hover: none) {
  .wiki-toc__link:active {
    text-decoration: underline;
  }
}
@media screen and (max-width: 768px) {
  .wiki-toc {
    position: static;
  }
}

.wiki-infobox {
  border: 1px solid #85959c;
  background: #fff;
  font-size: 1.2rem;
}
.wiki-infobox__title {
  margin: 0.4rem 0.4rem 0;
  padding: 0.8rem 0.6rem;
  background: #c5dcf4;
  font-weight: 500;
  text-align: center;
  font-size: 1.4rem;
}
@media screen and (max-width: 768px) {
  .wiki-infobox__title {
    font-size: 1.6rem;
  }
}
.wiki-infobox__logo {
  padding: 1.6rem 1rem;
  background: #fff;
}
.wiki-infobox__logo img {
  display: block;
  width: 100%;
  max-width: 24rem;
  margin: 0 auto;
}
.wiki-infobox__list {
  padding: 1.8rem 1.5rem 1.7rem;
  background: #f9f9f9;
}
@media screen and (max-width: 768px) {
  .wiki-infobox__list {
    padding: 1.8rem 2.2rem 1.7rem;
  }
}
.wiki-infobox__row {
  display: grid;
  grid-template-columns: 13rem 1fr;
  gap: 1.9rem;
}
@media screen and (max-width: 768px) {
  .wiki-infobox__row {
    grid-template-columns: 16rem 1fr;
    gap: 0;
  }
}
.wiki-infobox__label {
  font-weight: 700;
}

.wiki-title {
  padding-bottom: 2rem;
  border-bottom: 1px solid #85959c;
  font-size: 2.8rem;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .wiki-title {
    font-size: 2.2rem;
    padding-bottom: 0.4rem;
    line-height: 1.3;
  }
}

.wiki-section {
  margin-top: 1rem;
  padding-top: 3rem;
}
@media screen and (max-width: 768px) {
  .wiki-section {
    margin-top: 2rem;
    padding-top: 3rem;
  }
}
.wiki-section__title {
  margin-bottom: 1.5rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid #85959c;
  font-size: 2.4rem;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .wiki-section__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
}
.wiki-section__subtitle {
  margin: 2rem 0;
  font-size: 1.8rem;
  font-weight: 700;
}
.wiki-section--table .wiki-section__title {
  margin-bottom: 2rem;
}
@media screen and (max-width: 768px) {
  .wiki-section--table .wiki-section__title {
    margin-bottom: 1.5rem;
  }
}
.wiki-section__more {
  margin-top: 2rem;
}

.wiki-text,
.wiki-list,
.wiki-infobox__list,
.wiki-table__detail {
  line-height: 1.8;
  letter-spacing: 0;
}

.wiki-text + .wiki-text {
  margin-top: 2.4rem;
}
.wiki-text rt {
  font-size: 0.5em;
}

.wiki-link {
  color: #3464c8;
  text-decoration: none;
}
@media (hover: hover) {
  .wiki-link:hover {
    text-decoration: underline;
  }
}
@media (hover: none) {
  .wiki-link:active {
    text-decoration: underline;
  }
}

.wiki-list {
  margin-top: 1.2rem;
  padding-left: 2rem;
}
.wiki-list li {
  position: relative;
  font-size: 1.3rem;
}
.wiki-list li::before {
  content: "";
  position: absolute;
  top: 0.85em;
  left: -1.2rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
}
.wiki-list--link li::before {
  background: #3464c8;
}
.wiki-list--strong {
  margin-top: 2.4rem;
  font-weight: 700;
}
.wiki-list--strong li {
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .wiki-list--strong li {
    font-size: 1.4rem;
  }
}

.wiki-character {
  padding-left: 2rem;
}
.wiki-character__item + .wiki-character__item {
  margin-top: 4rem;
}
@media screen and (max-width: 768px) {
  .wiki-character__item + .wiki-character__item {
    margin-top: 3rem;
  }
}
.wiki-character__name {
  margin-bottom: 1rem;
  font-size: 1.6rem;
  font-weight: 700;
}
@media screen and (max-width: 768px) {
  .wiki-character__name {
    margin-bottom: 0.6rem;
  }
}
.wiki-character__cv {
  margin-bottom: 1rem;
  color: #3464c8;
  font-weight: 500;
}
@media screen and (max-width: 768px) {
  .wiki-character__cv {
    margin-bottom: 0.6rem;
  }
}

.wiki-table-wrap {
  overflow-x: auto;
}
.wiki-table-wrap + .wiki-table-wrap {
  margin-top: 2rem;
}

.wiki-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #85959c;
  background: #f9f9f9;
  font-size: 1.3rem;
  letter-spacing: 0;
}
@media screen and (max-width: 768px) {
  .wiki-table {
    min-width: 56rem;
  }
}
.wiki-table th,
.wiki-table td {
  padding: 1rem;
  border: 1px solid #85959c;
}
.wiki-table th {
  background: #ededed;
  font-weight: 700;
  text-align: center;
}
.wiki-table td {
  background: #fff;
}
.wiki-table td.wiki-table__num {
  vertical-align: top;
  background: #f9f9f9;
  text-align: center;
  white-space: nowrap;
}
.wiki-table--episode th:nth-child(1) {
  width: 5rem;
}
.wiki-table--episode th:nth-child(2) {
  width: 11.7rem;
}
.wiki-table--episode th:nth-child(4),
.wiki-table--episode th:nth-child(5),
.wiki-table--episode th:nth-child(6) {
  width: 11.2rem;
}
@media screen and (max-width: 768px) {
  .wiki-table--episode {
    min-width: 60.5rem;
    font-size: 1.2rem;
  }
  .wiki-table--episode th:nth-child(1) {
    width: 5.1rem;
  }
  .wiki-table--episode th:nth-child(2) {
    width: 10.9rem;
  }
  .wiki-table--episode th:nth-child(3) {
    width: 11.2rem;
  }
  .wiki-table--episode th:nth-child(4),
  .wiki-table--episode th:nth-child(5),
  .wiki-table--episode th:nth-child(6) {
    width: 11.1rem;
  }
  .wiki-table--episode td.wiki-table__num {
    vertical-align: middle;
  }
}
.wiki-table__note {
  margin-left: 0.2rem;
  font-size: 1.1rem;
}
@media screen and (max-width: 768px) {
  .wiki-table__note {
    display: block;
    margin-left: 0;
    font-size: 1rem;
  }
}
.wiki-table--onair {
  font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
  .wiki-table--onair {
    min-width: 0;
    font-size: 1.3rem;
  }
}
.wiki-table--onair th {
  text-align: left;
}
.wiki-table--onair td:first-child {
  background: #f9f9f9;
  font-size: 1.3rem;
}
.wiki-table--onair th:first-child,
.wiki-table--onair td:first-child {
  width: 17rem;
}
@media screen and (max-width: 768px) {
  .wiki-table--onair th:first-child,
  .wiki-table--onair td:first-child {
    width: 12.5rem;
    white-space: nowrap;
  }
}

.wiki-footer {
  padding: 2rem 0 6rem;
}
@media screen and (max-width: 768px) {
  .wiki-footer {
    padding: 2rem 2rem 5rem;
  }
}
.wiki-footer__copyright {
  font-size: 1.2rem;
  line-height: 1.6;
  letter-spacing: 0.04em;
}
@media screen and (max-width: 768px) {
  .wiki-footer__copyright {
    font-size: 1rem;
  }
}
