@charset "UTF-8";
/* ==================================================
  Manga
================================================== */

.manga {
  background: #ffffff;
}

.manga_inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 55px 0 100px;
}

.manga_intro {
  padding-bottom: 50px;
  margin-bottom: 60px;
  border-bottom: 1px solid #0f4c9a;
}

.manga_title {
  margin: 0 0 35px;
  text-align: center;
  color: #0f4c9c;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}

.manga_intro_body{
  display: flex;
  align-items: center;
  padding: 0 40px 0;
  gap: 20px;
  margin-top: 20px;
}

.manga_text {
  flex: 1;
}

.manga_text p {
  font-size: 16px;
  line-height: 2;
}

.manga_icon{
  flex-shrink: 0;
  width: 100px;
}

.manga_icon img{
  display: block;
  width: 100%;
  height: auto;
}

.manga_text strong {
  color: #0f4c9c;
}

.manga_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px 40px;
  align-items: start;
}

.manga_item_title {
  margin: 0 0 18px;
  text-align: center;
  color: #0f4c9a;
  font-size: 18px;
  font-weight: 700;
}

.manga_panel {
  margin-bottom: 14px;
}

.manga_panel img {
  display: block;
  width: 100%;
  height: auto;
}

.manga_sp_more summary {
  display: none;
}


/* ==================================================
  SP
================================================== */

@media screen and (max-width: 768px) {

  .manga_inner {
    padding: 30px 15px 60px;
  }

  .manga_intro {
    margin-bottom: 45px;
    padding-bottom: 30px;
  }

  .manga_intro_body{
    display: block;
    padding: 0;
    margin-top: 0;
  }

  .manga_icon{
    width: 160px;
    margin: 20px auto 40px;
    padding-left: 20px;
  }

  .manga_title {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .manga_text {
    padding: 0;
  }

  .manga_text p {
    font-size: 15px;
    line-height: 2;
  }

  .manga_list {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .manga_item_title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .manga_sp_more summary {
    display: block;
    padding: 12px;
    text-align: center;
    background: #0f4c9c;
    color: #fff;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    margin-top: 20px;
  }

  /* 3件目以降を隠す */
  .manga_item:nth-child(n+3) {
    display: none;
  }

  /* 開いたら表示 */
  .manga_list:has(+ .manga_sp_more[open]) .manga_item:nth-child(n+3) {
    display: block;
  }


  .manga_sp_more summary::-webkit-details-marker {
    display: none;
  }

  /* 開いたらボタンを消す */
  .manga_sp_more[open] summary {
    display: none;
  }

}