/* モーダル背景 */
.artist-modal {
    display: none; /* 初期状態では非表示 */
    position: fixed; /* 画面に固定 */
    z-index: 1200; /* 他の要素より手前に表示 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* 内容がはみ出したらスクロール可能に */
    background-color: rgba(0, 0, 0, 0.7); /* 半透明の黒い背景 */
    backdrop-filter: blur(5px); /* 背景を少しぼかす */
    justify-content: center;
    align-items: center;
    padding: 20px;
  }
  
  /* モーダルコンテンツ */
  .modal-content {
    background-color: #fff;
    margin: auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  /* 閉じるボタン */
  .close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
  }
  
  .close-button:hover,
  .close-button:focus {
    color: #333;
    text-decoration: none;
  }
  
  /* モーダル内のアーティスト画像 */
  .modal-artist-image-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
    border: 5px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .modal-artist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* モーダル内のテキスト */
  .modal-japanese-name {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .modal-english-name {
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.2;
    font-style: italic;
    color: #666;
    margin-bottom: 25px;
  }
  
  .modal-full-description {
    font-family: 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    text-align: left; /* 詳細プロフィールは左揃え */
    max-height: 300px; /* 高さ制限 */
    overflow-y: auto; /* 溢れたらスクロール */
    padding-right: 15px; /* スクロールバーとテキストの間に余白 */
  }
  
  /* スクロールバーのスタイル（任意） */
  .modal-full-description::-webkit-scrollbar {
      width: 8px;
  }
  .modal-full-description::-webkit-scrollbar-track {
      background: #f1f1f1;
      border-radius: 10px;
  }
  .modal-full-description::-webkit-scrollbar-thumb {
      background: #888;
      border-radius: 10px;
  }
  .modal-full-description::-webkit-scrollbar-thumb:hover {
      background: #555;
  }
  
  
  /* レスポンシブ対応 (モーダル用) */
  @media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    .close-button {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
    .modal-artist-image-wrapper {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    .modal-japanese-name {
        font-size: 28px;
    }
    .modal-english-name {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .modal-full-description {
        font-size: 14px;
        max-height: 250px;
    }
  }
  
  @media (max-width: 480px) {
    .modal-content {
        padding: 25px 15px;
    }
    .close-button {
        font-size: 28px;
        top: 8px;
        right: 15px;
    }
    .modal-artist-image-wrapper {
        width: 120px;
        height: 120px;
        margin-bottom: 15px;
    }
    .modal-japanese-name {
        font-size: 24px;
    }
    .modal-english-name {
        font-size: 15px;
        margin-bottom: 15px;
    }
    .modal-full-description {
        font-size: 13px;
        max-height: 200px;
    }
  }