@charset "utf-8";
@media (max-width: 768px) {
  .contents-wrapper {
    display: flex;
    flex-direction: column;
    padding: 25px 0 0;
  }
  .contents-wrapper #contents {
    display: contents;
  }
  .contents-wrapper #main_column {
    order: 1;
  }
  .contents-wrapper #side_column {
    order: 3;
  }
  .contents-wrapper .pagingfoot {
    order: 2;
  }
  .contents-wrapper .related-books {
    order: 2;
  }
}
#main_column .newsinfo {
  margin-top: -9px;
  margin-bottom: 27px;
  padding-bottom: 16px;
  border-bottom: 1px solid #dddddd;
  color: #666;
  font-size: 1.4rem;
}
#main_column .newsinfo a {
  color: #666;
  text-decoration: underline;
}
#main_column .newsinfo a:hover {
  text-decoration: none;
}
@media (max-width: 768px) {
  #main_column .newsinfo {
    font-size: 1.3rem;
  }
}
#side_column .box .custommenu li a.categoryicon {
  width: 60px;
  height: 24px;
  margin: 0 10px 0 0;
  border-radius: 2px;
  text-align: center;
  line-height: 24px;
  font-size: 1.2rem;
  font-weight: bold;
}
@media (max-width: 768px) {
  #side_column .box .custommenu li a.categoryicon {
    width: 50px;
    height: 19px;
    font-size: 1.1rem;
    line-height: 19px;
  }
}
#side_column .box .custommenu li a.categoryicon.reprint {
  background-color: #229966;
  color: #fff;
}
#side_column .box .custommenu li a.categoryicon.pr {
  background-color: #dd8855;
  color: #fff;
}
#side_column .box .custommenu li a.categoryicon.event {
  background-color: #dd4455;
  color: #fff;
}
#side_column .box .custommenu li a.categoryicon.bookstore {
  background-color: #2266bb;
  color: #fff;
}
#side_column .box .custommenu li a.categoryicon.errata {
  background-color: #5555aa;
  color: #fff;
}
#side_column .box .custommenu li a.categoryicon.recruit {
  background-color: #99aa00;
  color: #fff;
}
#side_column .box .custommenu li a.categoryicon.news {
  background-color: #5555aa;
  color: #fff;
}
.pagingfoot {
  max-width: var(--sitewidth);
  margin: 0 auto 50px;
  padding: 0 15px;
}
.related-books {
  max-width: var(--sitewidth);
  margin: 0 auto 50px;
  padding: 25px 15px 0;
}
@media (max-width: 768px) {
  .related-books {
    max-width: none;
    margin: 0 15px 50px;
    padding: 25px 0 0;
  }
}
