@charset "UTF-8";

/*
ユーザースタイル
_________________________________________*/

/* ----- スタイルを書き換える場合は以下に追記してください。 ----- */


.flexbox_comic {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.flexbox_comic.flex-center {
  align-items: center;
}
.flexbox_comic:not(:last-child) {
  margin-bottom: 10px;
}
@media screen and (min-width: 1280px) {
  .flexbox_comic:not(:last-child) {
    margin-bottom: 10px;
  }
}
.flexbox_comic > div img {
  max-width: 500px;
}
@media screen and (min-width: 768px) {
  .flexbox_comic > div img {
    max-width: 350px;
  }
}
@media screen and (min-width: 1280px) {
  .flexbox_comic > div img {
    max-width: 250px;
  }
}


/*
ユーザースタイル
_________________________________________*/

/* ----- スタイルを書き換える場合は以下に追記してください。 ----- */


.flexbox_illust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.flexbox_illust.flex-center {
  align-items: center;
}
.flexbox_illust:not(:last-child) {
  margin-bottom: 30px;
}
@media screen and (min-width: 1280px) {
  .flexbox_illust:not(:last-child) {
    margin-bottom: 50px;
  }
}
.flexbox_illust > div img {
  max-width: 500px;
}
@media screen and (min-width: 768px) {
  .flexbox_illust > div img {
    max-width: 350px;
  }
}
@media screen and (min-width: 1280px) {
  .flexbox_illust > div img {
    max-width: 250px;
  }
}

/*
comic.html
_________________________________________*/
.comic__main {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .comic__main {
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    row-gap: 40px;
  }
}
.comic__item {
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.3);
}
@media screen and (min-width: 768px) {
  .comic__item {
    padding: 10px;
  }
}
.comic__img {
  margin-bottom: 20px;
}
.comic__text {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.comic__link {
  display: grid;
  gap: 10px;
  margin-top: 1rem;
}
@media screen and (min-width: 1024px) {
  .comic__link {
    grid-template-columns: repeat(auto-fit, calc(50% - 5px));
    justify-content: end;
  }
}
.comic__link a {
  text-align: center;
}

.comic__title {
  margin-bottom: 10px;
  width: -moz-fit-content;
  width: fit-content;
  border-bottom: 1px solid var(--color-main);
}


/*
illust.html
_________________________________________*/
.illust__main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .illust__main {
    justify-content: flex-start;
    gap: 10px;
  }
}
.illust__item {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 100px;
  padding: 10px;
  background-color: rgba(var(--color-main-rgb), 0.15);
  position: relative;
}
@media screen and (min-width: 768px) {
  .illust__item {
    width: calc(33.33333% - 15px);
    padding: 10px;
  }
}
@media screen and (min-width: 1280px) {
  .illust__item {
    width: calc(25% - 15px);
  }
}
.illust__item img {
  height: 100%;
}
.illust__item figcaption {
  display: block;
  position: absolute;
  z-index: 1;
  bottom: 3px;
  left: 3px;
  padding: 5px 15px;
  color: var(--color-white);
  background-color: rgba(var(--color-main-rgb), 0.5);
}

/* lightbox　デザイン書き換え */
.illustlb {
  display: block;
  width: 100%;
  height: 100%;
}

#illustlb {
  transition: 0.5s;
}

#illustlb_inner {
  background-color: var(--color-main);
}

button#fuwaimg_close:before,
button#fuwaimg_close:after {
  background-color: var(--color-white);
}



.menu_item {
  height: 100%;
  margin-bottom: 10px;
}