* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    min-height: 100vh;
  }
  
  li{
    list-style: none;
  }
  
  .nav_menu_li_pc{
    width: 100px;  /* 固定幅 */
    height: auto;  /* 縦横比を保持 */
    margin-top: 5px;
  }
  
  .new{
    width: 200px;  /* 固定幅 */
    height: auto;  /* 縦横比を保持 */
    margin-top: 5px;
    margin-bottom: 10px;
  }
  
  .main-content img {
    max-width: 70%;  /* レスポンシブ対応 */
    height: auto;  /* 縦横比を保持 */
    display: block;  /* ブロック要素として表示 */
    margin: 0 auto;  /* 中央揃え */
    border: 1px solid black; /* 黒い線の太さと色を指定 */
  }

  .main-content ul {
    display: flex;
    justify-content: center; /* 中央揃え */
    gap: 20px; /* 項目間の間隔 */
    padding: 0;
    margin-bottom: 20px;
  }

  .comic_menu_li {
    list-style: none;
  }
  
  
  .sidebar{
    background-color: gray;
    min-height: 100vh;
    padding: 15px;
    border-right: 2px solid #000;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
  }
  
  .main-content{
    min-height: 100vh;
    padding: 15px;
  }
  
  .sitelogo{
    margin-top: 100px;
  }
  .nav_toggle{
    display: none;
  }
  
  .sidebar-sp{
    display: none;
  }
  
  /* スマホサイズで見た場合のスタイル */
  @media screen and (max-width: 480px) {

    .sidebar{
      display: none;
    }
  
    .sitelogo{
      display: none;
    }
    .sidebar-sp{
      display: block; 
    }
    .nav_menu_li{
      width: 100px;  /* 固定幅 */
      height: auto;  /* 縦横比を保持 */
      margin-top: 5px;
    }
    .main-content img {
      max-width: 90%;  /* レスポンシブ対応 */
      height: auto;  /* 縦横比を保持 */
      display: block;  /* ブロック要素として表示 */
      margin: 0 auto;  /* 中央揃え */
      border: 1px solid black; /* 黒い線の太さと色を指定 */
    }
    /* ハンバーガーのマーク */
      .nav_toggle {
        display: block;
        position: fixed; /* スクロールに追従 */
        width: 1.75rem;
        height: 1.5rem;
        margin-right: 10px;
        top: 10px; /* 上から10pxの位置 */
        right: 10px; /* 右から10pxの位置 */
        z-index: 1000; /* 他の要素より前面に表示 */
      }
      .nav_toggle i {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #333;
        position: absolute;
        transition: transform 0.5s, opacity 0.5s;
      }
      .nav_toggle i:nth-child(1) {
        top: 0;
      }
      .nav_toggle i:nth-child(2) {
        top: 0;
        bottom: 0;
        margin: auto;
      }
      .nav_toggle i:nth-child(3) {
        bottom: 0;
      }
    
      /* クリックされた後のハンバーガーのマーク */
      .nav_toggle.show i:nth-child(1) {
        transform: translateY(10px) rotate(-45deg);
      }
      .nav_toggle.show i:nth-child(2) {
        opacity: 0;
      }
      .nav_toggle.show i:nth-child(3) {
        transform: translateY(-12px) rotate(45deg);
      }
      .nav_menu_ul li {
        position: absolute;
        top: 50px; /* トップから0pxの位置に設定 */
        width: 100%; /* 幅を100%に設定して全幅を使用 */
        text-align: center; /* テキストを中央揃えに */
      }
      .nav_menu_li img {
        margin-top: 0;  /* 既存のマージンをリセット */
        margin-bottom: 0px;
    }
      /* クリックで表示されるメニュー：クリックされる前 */
      .nav {
        display: flex;
        position: fixed;
        align-items: center;
        justify-content: center;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.5s, visibility 0.5s;
        background-color: #fff;
        z-index: 1;
      }
      .nav_menu_li {
        margin-bottom: 30px;
      }
      .nav_menu_li a {
        color: #000000;
        text-decoration: none;
      }
    
      /* クリックで表示されるメニュー：クリックされた後 */
      .nav.show {
        opacity: 1;
        visibility: visible;
      }
    }
  
  