.popup {
    position: fixed;
    top: 10vh;
    width: 90vw;
    left: 5vw;
    background: #fcfbf5;
    height: 80vh;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    z-index: 9999;
    overflow-y: scroll;
  }
  .popup p {
    text-align: left;
  }

  .popup img {
    width: 100%;
  }
  .sponsor img {
    height: auto;
  }

  .cast h3 {
    font-size: 5vw;
  }


  .popup h3 {
    font-size: 5vw;
    font-weight: 800;
    line-height: 9vw;
  }
  
  .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #758b4e;
    color: white;
    font-weight: 800;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
  }
  
  .close-btn:hover {
    background: #dfc191;
  }

  .cast details[open] .popup,
  .shop details[open] .popup,
  .creator details[open] .popup,
  .sponsor details[open] .popup {
  animation: popup ease 0.5s;
  }
  @keyframes popup {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
  }
 .bw_small ul {
    display: grid;
 }
 .bw_small li {
  margin: 1vw;
 }
 main .popup p:nth-of-type(2) {
  font-weight: 400;
  font-size: 3vw;
 }
 .cast ul {
  display: grid;
 }
 .joishida {
  order: 1;
 }
 .kinkoncan {
  order: 2;
 }
 .ichirock {
  order: 3;
 }
 .gnmk {
  order: 4;
 }
 .nanashina {
  order: 5;
 }
.beflat {
  order: 6;
}
.ozakiyumi {
  order: 7;
}
.takaandtotto {
  order: 8;
}
.michiko {
  order: 9;
}
.tashirohiroyuki {
  order: 10;
}
.hatta {
  order: 11;
}
.tomclose {
  order: 12;
}
.mc_yuji {
  order: 13;
}
.okamura {
  order: 14;
}
.kirihara {
  order: 15;
}
.hikosakatatsuki {
  order: 16;
}
.genichiro {
  order: 17;
}
.tokoro {
  order: 18;
}
.hirata {
  order: 19;
}
.KAKKIN {
  order: 20;
}

.cast .cast_sns {
  margin: 6vw auto;
}
.cast .cast_sns p {
  text-align: center;
  font-weight: 600;
}
.cast .cast_sns ul {
  display: flex;
  background: none;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.cast .cast_sns li {
  border: none;
  width: 20%;
}
.cast .cast_sns img {
  width: 50%;
  height: auto;
  margin: 12.5%;
}
  .shop div,
  .creator div {
    margin-bottom: 10vw;
  }
  .shop div p:first-child,
  .creator div p:first-child {
    text-align: center;
    font-weight: 600;
  }
  .creator img.shop_sns,
  .popup img.shop_sns {
    width: 20vw;
    height: auto;
    margin: 5vw;
  }



/* ==============================
PC用css min-width769
=============================== */ 
  @media screen and (min-width: 769px) {
    * {
      font-size: 1.2vw;
      
    }
    main {
      z-index: 999;
      background: #dfc191;
    }
    main::before {
      content: "";
      width: 28.5%;
      height: 100vh;
      background: #dfc191;
      position: fixed;
      right: 0;
      z-index: -1;
      margin-right: 1.5%;
    }
    .popup {
      width: 65%;
      height: 75vh;
      /* position: absolute; */
      z-index: -999;
      cursor: auto
    }
    .popup img {
      width: auto;
      height: 57vh;
    }
    .popup p {
      width: 65%;
      margin: 0 auto;
      text-align: left;
    }
    .cast details[open] .popup,
    .shop details[open] .popup,
    .creator details[open] .popup,
    .sponsor details[open] .popup {
      animation: slideIn 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
      /* position: absolute; */
      z-index: -999;
    }
    @keyframes slideIn {
      0% {
        transform: translateX(65%);
        opacity: 0;
      }
      100% {
        transform: translateX(0);
      }
      40%,100% {
        opacity: 1;
      }
    }
    .cast ul,
    .shop ul,
    .creator ul,
    .sponsor ul  {
      background: #dfc191;
      width: 90%;
    }
    .cast h3 {
      font-size: 2vw;
    }
    .shop h3 a,
    .creator h3 a {
      font-size: 2.5vw;
    }
    
    .bw ul {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: none;
    }
    .bw li {
      border: none;
    }
    .bw img {
      width: 100%;
      height: auto;
    }
    .bw a {
      display: block;
      margin: 1vw;
    }
    main .popup p:nth-of-type(2) {
      font-weight: 400;
      font-size: 1.3vw;
     }
     .tomclose .popup img {
      max-width: 90%;
      height: auto;
      }

    .cast .cast_sns p {
      font-size: 1.5vw;
      margin-bottom: 1vw;
      }
    .cast .cast_sns li {
      width: 10%;
      }
      .shop div,
      .creator div {
        margin-bottom: 3vw;
      }
      .shop div p:first-child,
      .creator div p:first-child {
        text-align: center;
        font-size: 1.6vw;
        font-weight: 600;
      }
      .creator img.shop_sns,
      .popup img.shop_sns {
        width: 5vw;
        height: auto;
        margin: 2vw;
      }



  }
  
