@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: normal;
}

html{

}

body{
    text-align: center;
    background-color: #fff;
    line-height: 1.7;
    letter-spacing: 0.1em;
    font-size: 13px;
    color: #000;
}

article ul {
    list-style-type: none;
}

article {
    position: relative;
    z-index: 0;
}

a,a:visited{
    text-decoration: none;
    color: #000;
}

a:hover{
    text-decoration: none;
    color: #7cfc00;
}

.header {
  position:fixed;
  right: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
  background: #fff;
  z-index: 100;
}

.float li {
    display: inline-block;
}

.float li a {
    margin-right: 1em;
}

.imgfloat {
    display: flex;
    justify-content: center;

}

.imgfloat li {
    margin: 0 10px;
}

.logo {
  font-size: 30px;
}

.center {
  margin: 0 auto;
  text-align: center;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.strong {
    font-weight: bold;
}

section,
article
{
    margin: 3em auto;
    width: 80%;
    max-width: 500px;
}



/* menu */
  
/* チェックボックスを非表示にする */
.drawer_hidden {
  display: none;
}

/* ハンバーガーアイコンの設置スペース */
.drawer_open {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  z-index: 100;/* 重なり順を一番上にする */
  cursor: pointer;
}

/* メニューアイコン */
.drawer_open span,
.drawer_open span:before,
.drawer_open span:after {
  content: '';
  display: block;
  height: 3px;
  width: 25px;
  border-radius: 3px;
  background: #333;
  transition: 0.5s;
  position: absolute;
}

/* 三本線の一番上の棒の位置調整 */
.drawer_open span:before {
  bottom: 8px;
}

/* 三本線の一番下の棒の位置調整 */
.drawer_open span:after {
  top: 8px;
}

/* アイコンがクリックされたら真ん中の線を透明にする */
#drawer_input:checked ~ .drawer_open span {
  background: rgba(255, 255, 255, 0);
}

/* アイコンがクリックされたらアイコンが×印になように上下の線を回転 */
#drawer_input:checked ~ .drawer_open span::before {
  bottom: 0;
  transform: rotate(45deg);
}

#drawer_input:checked ~ .drawer_open span::after {
  top: 0;
  transform: rotate(-45deg);
}
  
/* メニューのデザイン*/
.nav_content {
  width: 100%;
  height: 100%;
  position: fixed;
  bottom: 100%;
  left: 0%; /* メニューを画面の外に飛ばす */
  z-index: 99;
  background: rgb(110, 110, 110);
  transition: .5s;
  text-align: center;
  padding-top: 20px;
}

/* メニュー黒ポチを消す */
.nav_list {
  list-style: none;
}

.nav_item a {
  color: #fff;
  text-decoration: none;
  font-size: 35px;
}

/* アイコンがクリックされたらメニューを表示 */
#drawer_input:checked ~ .nav_content {
  bottom: 0;/* メニューを画面に入れる */
  
}

/*gallery*/

.gallerylist {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 40px 0;
}

.gallerylist__item {
  width: calc((100% - 80px) / 3);
  height: auto;
}
@media screen and (max-width: 1180px) {
  .gallerylist__item {
    width: calc((100% - 60px) / 4);
  }
}
@media screen and (max-width: 767px) {
  .gallerylist__item {
    width: calc((100% - 40px) / 3);
  }
}
@media screen and (max-width: 520px) {
  .gallerylist__item {
    width: calc((100% - 20px) / 2);
  }
}
.gallerylist__item a {
  position: relative;
  width: 100%;
  display: block;

}
.gallerylist__item a::before {
  position: relative;
  content: "";
  display: block;
  padding-top: 100%;
  /*100%=親要素の横幅*/
}
.gallerylist__item a img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

 @media screen and (max-width: 480px) {
img{
  text-align: center;
}
}

.another {
   position: relative;
   z-index: -1;
}

/* manga */

.mangainfo1 {
  text-align: left;
  font-size: 10px;
}

.mangainfo2 {
  font-size: 13px;
}

/*目次*/

.mokuji {
  list-style-position: inside;
  background: #e6e6fa;
  padding: 10px;
}

.footer {
  font-size: 8px;

}