body.noscroll {
    overflow: hidden;
  }
  .shiny-btn_02{
    border: none;
  }
  
  /* 背景の暗転 */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1000;
  }
  
  /* モーダル本体 */
  .popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 14px;
    padding: 40px 20px;
    width: 400px;
    display: none;
    z-index: 1001;
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
  }

@media (max-width: 767px) {
  .popup {
   width: 300px;
}
}
  
  /* ヘッダー部分 */
  .popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
  }
  
  /* 上部ボタン */
  .popup-buttons #title{
    font-size: 17px;
    margin-bottom: 30px;
  }
  .popup-buttons #btn{
    background: #cd3f35;
    border: none;
    transition: 0.2s;
    margin-bottom: 20px;
  }
  .popup-buttons #btn a{
    color: #fff;
  }
  .popup-buttons #btn_box{
    background: #cd3f35;
    color: white;
    padding: 20px 5%;
    border-radius: 6px;
    letter-spacing: 2px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s;
    width: 90%;
  }
  .popup-buttons #bun{
    font-size: 15px;
  }

  
  .top-btn {
    background: #cd3f35;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
    margin-bottom: 20px;
    width: 300px;
  }
  .top-btn:hover {
    background: #e4675e;
  }
  
/* ×ボタンを右上に固定 */
.close-btn {
    position: absolute;   /* 固定配置 */
    top: 10px;            /* 上から10px */
    right: 12px;          /* 右から12px */
    background: transparent;
    border: none;
    font-size: 26px;
    cursor: pointer;
    color: #888;
    transition: 0.2s;
    line-height: 1;
  }
  .close-btn:hover {
    color: #000;
  }
  
  /* 内容 */
  .popup-content h2 {
    margin-top: 0;
    font-size: 20px;
  }
  .popup-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
  }
  
  /* フェードアニメーション */
  @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
  }
  