/* style.css */
/* CSS変数とフォント */
:root {
    --primary-color: #E8335D; /* メインカラー: 鮮やかな赤・ピンク */
    --secondary-color: #3F9FFF; /* メインカラー: 明るい水色 */
    --tertiary-color: #FFD233; /* メインカラー: 鮮やかな黄色 */
    --dark-color: #1E1E1E; /* サブカラー: 深い黒 */
    --light-color: #FDFDFD; /* サブカラー: ほぼ白 */
    --accent-purple: #A057B6; /* サブカラー: 落ち着いた紫 */
    --accent-green: #3DBB7A; /* アクセント: やや落ち着いた緑 */
    
    --bg-dark: var(--dark-color);
    --bg-darker: #0d0d0d;
    --text-light: var(--light-color);
    --accent: var(--light-color);
    --transition-speed: 0.3s;
  }
  
  * {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
    /* スクロールバーのカスタマイズ */
    scrollbar-width: thin; /* Firefox用 */
    scrollbar-color: var(--primary-color) rgba(30, 30, 30, 0.8); /* Firefox用 */
  }
  
  /* WebKit用グローバルスクロールバーカスタマイズ (Chrome, Safari, Edge) */
  ::-webkit-scrollbar {
    width: 10px;
  }
  
  ::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
  }
  
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-purple));
    border-radius: 4px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  }
  
  body {
    min-width: 320px;
    margin: 0;
    padding-top: 50px; /* ヘッダーの高さ分のパディングを追加 */
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* ヘッダー・ナビゲーション */
  header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    backdrop-filter: blur(5px);
    height: auto; /* 高さを自動に設定 */
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px; /* 上下のパディングを減らす */
    position: relative;
  }
  
  /* ロゴ画像用 */
  .logo-link {
    display: block;
    z-index: 1001;
    position: relative;
  }
  .logo {
    max-height: 50px; /* ヘッダー内に収まるサイズ */
    width: auto;
  }

  /* ヒーローセクション */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    color: var(--accent);
    padding-top: 60px; /* ヘッダー分の余白を調整 */
    overflow: hidden; /* はみ出し防止 */
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
  }
  .hero-subtitle {
    font-size: 1.2em;
    margin: 0 20px;
    max-width: 100%;
    word-wrap: break-word;
  }

  /* 説明文 */
  .hero-description {
    font-size: 1.1em;
    margin: 15px 20px 0;
    max-width: 100%;
    word-wrap: break-word;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
  }
  
  .hero-description-1 {
    animation-delay: 0.8s;
  }
  
  .hero-description-2 {
    animation-delay: 1.0s;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .hero-img {
    max-width: 100%; /* 親要素に合わせる */
    width: auto;
    height: auto;
    max-height: 40vh; /* 画面の高さの40%まで */
    object-fit: contain;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 20px;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  .hero-title {
    font-size: 3em;
    margin-bottom: 10px;
    text-shadow: 0 0 10px var(--primary-color);
    word-break: break-word; /* 長い単語でも折り返し */
  }
  
  .hero-subtitle {
    font-size: 1.2em;
    margin: 0 20px;
    max-width: 100%;
    word-wrap: break-word;
  }
  
  /* タイムライン */
  .timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .timeline-item {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
  }
  
  /* 世界観セクション */
  .world-content {
    background: var(--bg-darker);
    padding: 25px 20px; /* パディングを減らす */
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    position: relative;
    overflow: hidden;
    z-index: 1;
  }
  
  .world-effect-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
  }
  
  .world-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
      ellipse at center,
      rgba(230, 57, 70, 0.08) 0%,
      rgba(17, 17, 17, 0) 70%
    );
    opacity: 0.5;
    animation: pulseWorld 15s ease-in-out infinite;
  }
  
  @keyframes pulseWorld {
    0%, 100% {
      opacity: 0.3;
      transform: translate(0, 0) scale(0.85);
    }
    25% {
      opacity: 0.35;
      transform: translate(-2%, 2%) scale(0.88);
    }
    50% {
      opacity: 0.4;
      transform: translate(0, 0) scale(0.9);
    }
    75% {
      opacity: 0.35;
      transform: translate(2%, -2%) scale(0.88);
    }
  }
  
  .world-content h3 {
    color: var(--primary-color);
    margin-top: 20px; /* 上マージンを減らす */
    margin-bottom: 12px; /* 下マージンを減らす */
    font-size: 1.5em;
    text-shadow: 0 0 8px rgba(230, 57, 70, 0.4);
  }
  
  .world-content h3:first-child {
    margin-top: 0;
  }
  
  .world-content ul {
    text-align: left;
    display: inline-block;
    padding-left: 0;
    margin: 0 auto;
    list-style-type: none;
  }
  
  .world-content li {
    margin-bottom: 12px; /* マージンを減らす */
    line-height: 1.6; /* 行間を詰める */
    padding-left: 0;
  }
  
  .world-content strong {
    color: var(--accent);
    font-weight: 700;
  }
  
  /* キャラクターカード */
  .character-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* ギャップを減らす */
    justify-content: center;
  }
  
  .character-card {
    background: var(--bg-darker);
    padding: 15px; /* パディングを減らす */
    width: 300px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
  
  .character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
    transition: height 0.3s ease;
  }
  
  .character-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  }
  
  .character-card:hover::before {
    height: 6px;
  }
  
  .character-card img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 12px; /* マージンを減らす */
    transition: all 0.4s ease;
  }
  
  .character-card:hover img {
    transform: scale(1.01);
    filter: brightness(1.05);
  }
  
  .character-card button {
    padding: 10px 15px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition-speed);
  }
  
  .character-card button:hover {
    background: var(--secondary-color);
  }
  
  .gpts-link {
    display: inline-block;
    padding: 10px 15px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background var(--transition-speed);
  }
  
  .gpts-link:hover {
    background: var(--secondary-color);
  }
 

  /* モーダル */
  .modal {
    display: none;
    position: fixed;
    z-index: 1010;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
  }
  
  .modal-content {
    background-color: #0d0d0d;
    margin: 5% auto;
    padding: 25px;
    border: 1px solid #333;
    border-radius: 8px;
    width: 80%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 0 25px rgba(230, 57, 70, 0.2);
    position: relative;
    color: var(--text-light);
    animation: modalFadeIn 0.5s ease;
  }
  
  @keyframes modalFadeIn {
    from {
      opacity: 0;
      transform: translateY(-30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* フルクレジットモーダルの特別スタイル */
  #modal-credits .modal-content {
    background: linear-gradient(to bottom, var(--dark-color), #080808);
    border: 1px solid rgba(232, 51, 93, 0.3);
    box-shadow: 0 0 30px rgba(232, 51, 93, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden; /* 横スクロールを非表示 */
    /* スクロールバーのカスタマイズ */
    scrollbar-width: thin; /* Firefox用 */
    scrollbar-color: var(--primary-color) rgba(30, 30, 30, 0.8); /* Firefox用 */
  }
  
  /* WebKit用スクロールバーカスタマイズ (Chrome, Safari, Edge) */
  #modal-credits .modal-content::-webkit-scrollbar {
    width: 8px;
  }
  
  #modal-credits .modal-content::-webkit-scrollbar-track {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 4px;
  }
  
  #modal-credits .modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-purple));
    border-radius: 4px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  }
  
  #modal-credits .modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  }
  
  /* 背景エフェクト復元 */
  #modal-credits .modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(232, 51, 93, 0.08), transparent 70%);
    z-index: -1;
    opacity: 0.8;
    animation: pulseCredits 8s infinite alternate;
  }
  
  @keyframes pulseCredits {
    0% {
      opacity: 0.5;
      transform: scale(1);
    }
    100% {
      opacity: 0.8;
      transform: scale(1.1);
    }
  }
  
  #modal-credits h3 {
    font-size: 2em;
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(232, 51, 93, 0.5);
    position: relative;
    padding-bottom: 15px;
  }
  
  #modal-credits h3::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 150px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    transform: translateX(-50%);
  }
  
  #modal-credits h4 {
    font-size: 1.2em;
    margin: 20px 0 15px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    position: relative;
  }
  
  #modal-credits h4::before {
    content: '';
    flex: 0 0 3px;
    height: 20px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-purple));
    margin-right: 10px;
    border-radius: 3px;
  }
  
  #modal-credits ul {
    margin: 10px 0 20px 20px;
    padding-left: 15px;
    border-left: 1px solid rgba(230, 57, 70, 0.3);
  }
  
  #modal-credits li {
    margin-bottom: 8px;
    line-height: 1.5;
    position: relative;
    transition: transform 0.2s;
  }
  
  #modal-credits li:hover {
    transform: translateX(5px);
  }
  
  #modal-credits p {
    line-height: 1.6;
    margin: 15px 0;
  }
  
  #modal-credits a {
    color: var(--secondary-color);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease, text-shadow 0.3s ease;
  }
  
  #modal-credits a:hover {
    color: var(--tertiary-color);
    text-shadow: 0 0 5px rgba(255, 210, 51, 0.5);
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    transition: all 0.2s;
  }
  
  .close:hover,
  .close:focus {
    color: var(--primary-color);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.2) rotate(90deg);
  }
  
  /* クレジットフッター部分 */
  .credits-footer {
    text-align: center;
    margin-top: 30px;
  }
  
  .btn {
    background: linear-gradient(135deg, #e63946, #b52c37);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1em;
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    position: relative;
    overflow: hidden;
    outline: none;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, #e63946, #d62b38);
  }
  
  .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
  }
  
  .btn:hover::after {
    transform: translateX(100%);
  }
  
  /* MVセクション */
  .mv-wrapper {
    text-align: center;
  }
  
  .mv-wrapper iframe {
    width: 100%;
    max-width: 800px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
  }
  
  .mv-desc {
    margin-top: 15px;
    font-size: 1em;
  }
  
  /* ギャラリー（Swiperスライドショー形式） */
  .swiper-container {
    width: 100%;
    padding: 40px 0;
  }
  .swiper-slide {
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .swiper-slide img {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    transition: transform var(--transition-speed);
    display: block;
    margin: 0 auto;
  }
  .swiper-slide img:hover {
    transform: scale(1.05);
  }
  
  /* 画像クレジット表示 */
  .image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 4px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    z-index: 2;
    max-width: 90%;
    text-align: right;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    pointer-events: auto; /* クリック可能に */
  }
  
  .image-credit a {
    color: var(--primary-color);
    text-decoration: none;
  }
  
  .image-credit a:hover {
    text-decoration: underline;
  }
  
  .swiper-slide:hover .image-credit {
    opacity: 1;
  }
  
  @media (max-width: 768px) {
    .image-credit {
      font-size: 0.7rem;
      padding: 3px 6px;
      bottom: 5px;
      right: 5px;
    }
    .hero {
      padding-top: 50px; /* モバイルでのヘッダー分の余白を調整 */
    }
    .character-card {
      padding: 12px;
      width: 100%; /* 1列表示に変更 */
      max-width: 300px; /* 最大幅を設定 */
      margin: 0 auto 12px; /* 中央揃えと下部マージン */
    }
  }
  
  /* 楽曲カード */
  .music-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px auto 0;
    width: 100%;
    max-width: 1000px;
    box-sizing: border-box; /* ボックスサイズの計算方法を統一 */
  }
  
  /* アルバム表示 */
  .music-album {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    max-width: 800px;
    background: var(--bg-darker);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden; /* はみ出し防止 */
    box-sizing: border-box; /* ボックスサイズの計算方法を統一 */
  }
  
  .album-cover {
    flex: 0 0 280px; /* サイズをやや小さく */
    margin: 0 auto 20px;
    max-width: 100%;
    text-align: center; /* 中央揃え */
  }
  
  .album-img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
  }
  
  .album-img:hover {
    transform: scale(1.03);
  }
  
  .album-info {
    flex: 1;
    min-width: 250px; /* 最小幅を小さく */
    padding: 0 10px; /* 余白を小さく */
    text-align: center;
    width: 100%; /* 幅を明示的に設定 */
    box-sizing: border-box; /* ボックスサイズの計算方法を統一 */
  }
  
  .album-info h3 {
    font-size: 1.8rem;
    margin: 0 0 15px;
    color: var(--accent-color);
  }
  
  .album-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color-light);
  }
  
  .music-card {
    background-color: rgba(20, 20, 20, 0.7);
    padding: 15px 10px; /* 左右のパディングを減らして横幅を確保 */
    width: 300px;
    box-sizing: border-box;
    border-radius: 8px;
    text-align: center;
    transition: all var(--transition-speed);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 15px;
    overflow: hidden;
  }
  
  .music-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
  }
  
  .music-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    max-height: 300px;
    object-fit: cover;
  }

  .music-card h3 {
    margin: 10px 0 5px;
    font-size: 1.2rem;
    color: var(--accent-color);
    width: 100%; /* 幅を100%に設定 */
    white-space: nowrap; /* 可能であれば折り返しを防止 */
    overflow: hidden; /* はみ出した部分を隠す */
    text-overflow: ellipsis; /* はみ出した部分を...で表示 */
  }

  .music-card p {
    margin: 5px 0 15px;
    color: var(--text-color-light);
    font-size: 0.9rem;
  }

  .music-card audio {
    width: 100%;
    margin-top: 10px;
    border-radius: 12px;
    background-color: #1E1E1E;
    border: none;
    outline: none;
    overflow: hidden;
    max-width: 100%; /* 幅制限 */
  }
  
  /* Audio要素のカスタマイズ */
  audio {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    max-width: 100%; /* 最大幅を制限 */
  }

  /* Firefox対応 */
  @-moz-document url-prefix() {
    audio {
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      border-radius: 12px !important;
      overflow: hidden !important;
    }
  }

  audio::-webkit-media-controls-panel {
    background-color: #1E1E1E;
    border-radius: 12px;
    padding: 8px; /* パディングを少し増やす */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: none;
    outline: none;
  }
  
  audio::-webkit-media-controls-play-button {
    background-color: #E8335D;
    border-radius: 50%;
    transition: all 0.2s ease;
  }
  
  audio::-webkit-media-controls-play-button:hover {
    background-color: #FFD233;
    transform: scale(1.1);
  }
  
  audio::-webkit-media-controls-current-time-display,
  audio::-webkit-media-controls-time-remaining-display {
    display: none; /* 時間表示を非表示にする */
  }
  
  audio::-webkit-media-controls-volume-slider {
    background-color: #3F9FFF;
    border-radius: 25px;
    padding: 0 5px;
  }
  
  audio::-webkit-media-controls-mute-button {
    background-color: #3F9FFF;
    border-radius: 50%;
    transition: all 0.2s ease;
  }
  
  audio::-webkit-media-controls-mute-button:hover {
    background-color: #FFD233;
    transform: scale(1.1);
  }
  
  audio::-webkit-media-controls-timeline {
    background-color: rgba(253, 253, 253, 0.3);
    border-radius: 25px;
    height: 8px;
    margin: 0 15px; /* マージンを少し増やして余白を確保 */
  }
  
  audio::-webkit-media-controls-timeline:hover {
    background-color: rgba(63, 159, 255, 0.5);
  }
  
  audio::-webkit-media-controls-seek-back-button,
  audio::-webkit-media-controls-seek-forward-button {
    background-color: #FFD233;
    border-radius: 50%;
    transition: all 0.2s ease;
  }
  
  audio::-webkit-media-controls-seek-back-button:hover,
  audio::-webkit-media-controls-seek-forward-button:hover {
    background-color: #3F9FFF;
    transform: scale(1.1);
  }
  
  /* 白い線を完全に非表示にするための追加スタイル */
  audio::-webkit-media-controls-enclosure {
    border-radius: 12px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: transparent !important;
  }
  
  /* ツイートフィード */
  #tweets-feed {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 8px;
  }
  
  .tweet {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
  }
  
  /* フッター */
  footer {
    background: var(--bg-dark);
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
  }
  
  /* レスポンシブ：ハンバーガーメニュー対応 */
  @media (max-width: 768px) {
    /* モバイル表示時のハンバーガーメニュー */
    .menu-toggle {
      display: flex !important;
      position: absolute;
      top: 20px;
      right: 20px;
      height: 24px;
      flex-direction: column;
      justify-content: space-between;
      cursor: pointer;
      z-index: 1001;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    /* モバイル表示時のナビゲーションメニュー */
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 80%;
      height: 100vh;
      background-color: rgba(17, 17, 17, 0.95);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.3s ease-in-out;
      z-index: 999;
    }
    
    .nav-links.active {
      right: 0;
    }
    
    .nav-links li {
      margin: 15px 0;
    }
    
    .nav-links li a {
      font-size: 1.2rem;
    }
    
    /* レスポンシブレイアウト調整 */
    .section {
      padding: 30px 0 40px; /* モバイルでの上下パディングを調整 */
      scroll-margin-top: 60px; /* モバイルでのナビゲーションの高さ分のマージン */
    }
    
    .container {
      width: 95%;
      padding: 0 10px;
      margin: 0 auto;
    }
    
    /* 全ての重要なコンテンツ要素の横幅と中央揃えを統一 */
    .character-cards,
    .music-cards,
    .world-content,
    .music-album,
    .album-info,
    .swiper-container {
      width: 92%;
      margin-left: auto;
      margin-right: auto;
      max-width: 100%;
      box-sizing: border-box;
    }
    
    /* 文字サイズとスペーシングの調整 */
    .section-title {
      font-size: 1.8rem;
      margin-bottom: 25px; /* モバイルでのマージンを調整 */
    }
    
    h3 {
      font-size: 1.3rem;
    }
    
    p, li {
      font-size: 0.95rem;
      line-height: 1.6;
    }
  }
  
  /* 極小画面（モバイル縦向き）での調整 */
  @media (max-width: 480px) {
    .hero-title {
      font-size: 1.8rem;
    }
    
    .hero-subtitle {
      font-size: 0.9rem;
      margin: 0 10px;
    }
    
    .hero-description {
      font-size: 0.85rem;
      margin: 10px 10px 0;
    }
    
    .hero-img {
      max-height: 25vh;
    }
    
    .section {
      padding: 25px 0 35px; /* さらに小さい画面での上下パディングを調整 */
      scroll-margin-top: 55px; /* さらに小さい画面でのナビゲーションの高さ分のマージン */
    }
    
    /* 小さい画面では表示を簡素化 */
    .world-effect, .section::before {
      display: none;
    }
    
    .world-content {
      padding: 15px 12px;
    }
    
    .world-content h3 {
      font-size: 1.2em;
      margin-top: 12px;
      margin-bottom: 8px;
    }
    
    .character-card {
      width: 100%; /* 1列表示を維持 */
      max-width: 270px; /* さらに小さい画面での最大幅を少し狭く */
      padding: 10px;
      margin: 0 auto 10px; /* マージンをさらに小さく */
    }
  }
  
  /* 極小画面サイズ (320px以下) のための追加調整 */
  @media (max-width: 320px) {
    .hero-title {
      font-size: 1.5rem;
    }
    
    .hero-subtitle {
      font-size: 0.85rem;
    }
    
    .hero-description {
      font-size: 0.8rem;
      margin: 8px 8px 0;
    }
    
    #home h1 {
      font-size: 1.4rem;
    }
  }
  
  /* クレジットセクション */
  .credits-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
  }

  .credits-column {
    flex: 1;
    min-width: 250px;
    background: rgba(17, 17, 17, 0.7);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(69, 123, 157, 0.1);
    position: relative;
    overflow: hidden;
  }

  .credits-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    z-index: -1;
  }

  .credits-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }

  .credits-column h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4em;
    position: relative;
    padding-bottom: 10px;
  }

  .credits-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
  }

  .credits-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .credits-column ul li {
    margin-bottom: 12px;
    line-height: 1.5;
    position: relative;
    padding-left: 15px;
  }

  .credits-column ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    top: 0;
  }

  .credits-column a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s;
  }

  .credits-column a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 3px rgba(230, 57, 70, 0.3);
  }

  .credits-footer {
    text-align: center;
    margin-top: 1em;
  }
  
  .countdown {
    font-size: 2em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  /* セクションとコンテナの基本スタイル調整 */
  .section {
    padding: 40px 0 50px; /* 上下パディングを調整 */
    position: relative;
    overflow: hidden;
    margin: 0;
    scroll-margin-top: 70px; /* ナビゲーションの高さ分のマージンを追加 */
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
  }

  .section-title {
    font-size: 2em;
    text-align: center;
    margin-bottom: 30px; /* マージンを少し小さく */
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    font-weight: 700;
  }

  /* パララックス背景 */
  .parallax {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
  }

  /* 感情の歪みを表現する背景エフェクト */
  .section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(230, 57, 70, 0.02), rgba(69, 123, 157, 0.01));
    z-index: -1;
    opacity: 0.5;
    animation: pulseBackground 20s ease-in-out infinite;
  }

  @keyframes pulseBackground {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.02); }
  }

  #world::before {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.03), rgba(69, 123, 157, 0.02));
    animation: worldDistortion 25s ease-in-out infinite;
  }

  @keyframes worldDistortion {
    0%, 100% { 
      opacity: 0.3; 
      transform: scale(1) skew(0deg, 0deg); 
    }
    25% { 
      opacity: 0.4; 
      transform: scale(1.01) skew(0.5deg, 0deg); 
    }
    75% { 
      opacity: 0.35; 
      transform: scale(1.005) skew(-0.5deg, 0.2deg); 
    }
  }

  #home {
    background: url('images/sample-background.jpg?v=20250309112536') no-repeat center center;
    background-size: cover;
    position: relative;
  }
  
  /* 背景画像の暗いオーバーレイ */
  #home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
  
  /* ハンバーガーメニューの基本スタイル */
  .menu-toggle {
    display: none; /* デフォルトでは非表示 */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 9999;
    position: relative;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--light-color);
    transition: all 0.3s ease;
  }

  /* アクティブ時のハンバーガーメニュー */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* ナビゲーションリンク */
  .nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-links li a {
    color: var(--light-color);
    text-decoration: none;
    padding: 0 15px;
    transition: color 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
  }

  .nav-links li a:hover {
    color: var(--primary-color);
  }
  
  /* Swiperナビゲーションの調整 */
  .swiper-button-next,
  .swiper-button-prev {
    z-index: 10;
    color: var(--primary-color);
  }

  .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
  }
  
  /* 再生・停止ボタンのスタイル */
  .swiper-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    gap: 10px;
  }
  
  .swiper-button-play,
  .swiper-button-pause {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .swiper-button-play:hover,
  .swiper-button-pause:hover {
    background-color: var(--primary-color);
  }
  
  .swiper-button-pause {
    display: none; /* 初期状態では非表示 */
  }
  
  /* クレジットモーダルの追加スタイル */
  .credit-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
  }

  .credit-section {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 15px; /* 左右のパディングを減らして横幅を確保 */
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
    position: relative;
    overflow: hidden;
  }
  
  .credit-section h4 {
    margin-top: 0;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
    font-size: 1.15rem; /* フォントサイズを調整 */
    line-height: 1.3; /* 行間を詰める */
    letter-spacing: -0.01em; /* 文字間隔を少し詰める */
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    font-weight: 700;
  }
  
  .credit-section h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
      var(--primary-color) 0%, 
      rgba(255, 255, 255, 0.1) 100%);
  }
  
  .credit-section p {
    margin: 15px 0;
    line-height: 1.6;
  }
  
  .credit-section p + p {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
  }
  
  /* マークダウンの区切り線スタイルの追加 */
  .credit-section::before {
    content: '━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: -1px;
    pointer-events: none;
  }
  
  /* リストがない場合のスタイル修正 */
  .credit-section br {
    line-height: 1.8;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* アニメーションディレイを各セクションに適用 */
  .credit-section:nth-of-type(1) { animation-delay: 0.1s; }
  .credit-section:nth-of-type(2) { animation-delay: 0.2s; }
  .credit-section:nth-of-type(3) { animation-delay: 0.3s; }
  .credit-section:nth-of-type(4) { animation-delay: 0.4s; }
  .credit-section:nth-of-type(5) { animation-delay: 0.5s; }
  .credit-section:nth-of-type(6) { animation-delay: 0.6s; }
  .credit-section:nth-of-type(7) { animation-delay: 0.7s; }
  .credit-section:nth-of-type(8) { animation-delay: 0.8s; }
  .credit-section:nth-of-type(9) { animation-delay: 0.9s; }

  .credit-footer {
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    position: relative;
  }
  
  .credit-footer::before {
    content: '━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: -1px;
  }
  
  .credit-footer p {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }
  
  /* モバイルでのクレジットモーダル調整 */
  @media (max-width: 768px) {
    .modal-content {
      padding: 15px;
      margin: 10% auto;
      width: 90%;
      max-height: 80vh;
    }
    
    #modal-credits .modal-content {
      padding: 20px 12px; /* 左右のパディングを減らす */
      width: 95%; /* 幅を広げる */
    }
    
    .credit-section {
      padding: 15px 10px; /* 左右のパディングをさらに減らす */
      margin-bottom: 15px;
    }
    
    .credit-section h4 {
      font-size: 0.95rem; /* フォントサイズを小さく */
      padding-bottom: 10px;
      margin-bottom: 12px;
      letter-spacing: -0.02em; /* 文字間隔をさらに詰める */
    }
    
    .credit-intro {
      padding: 0 10px;
      margin-bottom: 20px;
    }
    
    .credit-section::before,
    .credit-footer::before {
      font-size: 12px;
      top: -12px;
    }
    
    .credit-section p {
      font-size: 0.9em;
      margin: 10px 0;
    }
    
    .credit-section br {
      line-height: 1.5;
    }
  }
  
  /* X（Twitter）リンクのスタイル */
  .x-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    padding: 2px 6px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(29, 161, 242, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    font-size: 0.85em;
    vertical-align: middle;
  }
  
  .x-link i {
    margin: 0;
    font-size: 0.9em;
    transition: transform 0.3s ease;
  }
  
  .x-link:hover i {
    transform: rotateY(180deg);
  }
  
  .x-link:hover {
    background-color: rgba(29, 161, 242, 0.15);
    color: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-color: rgba(29, 161, 242, 0.5);
  }
  
  /* Webリンクのスタイル */
  .web-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    padding: 2px 6px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(67, 160, 71, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    font-size: 0.85em;
    vertical-align: middle;
  }
  
  .web-link i {
    margin: 0;
    font-size: 0.9em;
    transition: transform 0.3s ease;
  }
  
  .web-link:hover i {
    transform: rotateY(180deg);
  }
  
  .web-link:hover {
    background-color: rgba(67, 160, 71, 0.15);
    color: var(--tertiary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-color: rgba(67, 160, 71, 0.5);
  }
  
  #modal-credits .credit-section .x-link,
  #modal-credits .credit-section .web-link {
    background-color: rgba(0, 0, 0, 0.05);
    margin-left: 3px;
    margin-right: 3px;
    vertical-align: middle;
  }
  
  #modal-credits .credit-section ul li .x-link,
  #modal-credits .credit-section ul li .web-link {
    font-weight: normal;
  }
  
  #modal-credits .credit-section .x-link:hover {
    background-color: rgba(29, 161, 242, 0.1);
    border-color: rgba(29, 161, 242, 0.4);
  }
  
  #modal-credits .credit-section .web-link:hover {
    background-color: rgba(67, 160, 71, 0.1);
    border-color: rgba(67, 160, 71, 0.4);
  }
  
  @media (max-width: 768px) {
    .x-link, .web-link {
      padding: 2px 5px;
      font-size: 0.8em;
    }
    
    #modal-credits .credit-section .x-link,
    #modal-credits .credit-section .web-link {
      padding: 1px 4px;
      font-size: 0.8em;
    }
  }
  
  /* メディアクエリ - モバイル対応 */
  @media (max-width: 768px) {
    /* 既存のスタイル */
    .image-credit {
      font-size: 0.7rem;
      padding: 3px 6px;
      bottom: 5px;
      right: 5px;
    }

    /* 音楽アルバムのモバイル対応 */
    .music-album {
      flex-direction: column;
      padding: 20px;
      margin: 0 auto 20px;
      width: 90%; /* モバイルでの幅を調整 */
      max-width: 450px;
    }
    
    .album-cover {
      margin: 0 auto 20px;
      width: 90%;
      max-width: 200px;
    }
    
    .album-info {
      padding: 0;
      width: 100%;
      min-width: unset; /* 最小幅をリセット */
    }
    
    .album-info h3 {
      font-size: 1.5rem;
      margin-bottom: 10px;
    }
    
    .album-description {
      font-size: 0.9rem;
      padding: 0 5px; /* 説明文にパディングを追加 */
    }

    /* 音楽カードのモバイル対応 */
    .music-cards {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 92%;
      max-width: 340px; /* 最大幅を設定 */
      margin: 0 auto;
      padding: 0;
    }
    
    .music-card {
      width: 100%;
      max-width: 100%; /* 親要素いっぱいに広げる */
      padding: 12px 8px 15px;
      margin-bottom: 12px;
    }
    
    .music-card h3 {
      font-size: 1rem; /* フォントサイズを小さくして横幅を節約 */
      margin: 8px 0 4px;
      white-space: normal; /* モバイルでは通常の折り返しを許可 */
      overflow: visible; /* モバイルではオーバーフローを表示 */
      text-overflow: clip; /* モバイルでは省略記号を表示しない */
    }
    
    .music-card p {
      font-size: 0.85rem; /* アーティスト名のフォントサイズを小さく */
      margin: 4px 0 12px;
    }
    
    .music-card audio {
      max-width: calc(100% - 4px); /* 余白を考慮した幅 */
      margin: 8px auto 0;
    }
  }
  
  /* モバイルメニュー表示時のスタイル */
  body.has-mobile-menu .menu-toggle {
    display: flex;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 9999;
  }
  
  /* オーディオプレーヤーのコントロールパネルをコンパクトに */
  @media (max-width: 768px) {
    /* 既存の調整はそのままに追加 */
    
    .music-card audio {
      width: 100%;
      max-width: 100%;
    }
    
    /* アルバム表示の追加調整 */
    .music-album {
      width: calc(100% - 20px); /* 左右のマージンを考慮した幅 */
      box-sizing: border-box;
    }
    
    /* セクションの左右余白を統一 */
    .section .container {
      padding: 20px 15px;
    }
    
    /* 全体的な余白調整 */
    .character-cards, 
    .world-content,
    .music-cards,
    .swiper-container {
      margin-left: auto;
      margin-right: auto;
      width: calc(100% - 20px);
      max-width: 100%;
    }
    
    /* オーディオプレーヤーのコントロールパネルをコンパクトに */
    audio::-webkit-media-controls-panel {
      padding: 5px 6px; /* パディングを減らしてコンパクトに */
    }
  }
  
  /* 480px以下のさらに小さい画面での調整 */
  @media (max-width: 480px) {
    .music-album {
      padding: 15px;
      width: 92%;
      margin: 0 auto 15px;
    }
    
    .album-cover {
      width: 90%;
      max-width: 180px;
      margin-bottom: 15px;
    }
    
    .album-info h3 {
      font-size: 1.2rem;
      margin-bottom: 8px;
    }
    
    .album-description {
      font-size: 0.85rem;
      line-height: 1.4;
      padding: 0;
    }
    
    .music-cards {
      width: 95%;
      max-width: 300px; /* さらに小さい画面では幅を狭める */
    }
    
    .music-card {
      padding: 10px 5px 12px; /* パディングをさらに減らす */
    }
    
    audio::-webkit-media-controls-panel {
      padding: 4px 5px; /* パディングをさらに減らす */
    }
    
    audio::-webkit-media-controls-play-button,
    audio::-webkit-media-controls-mute-button {
      transform: scale(0.9); /* コントロールボタンを少し小さく */
    }
    
    .section {
      padding: 25px 0 35px; /* さらに小さい画面での上下パディングを調整 */
      scroll-margin-top: 55px; /* さらに小さい画面でのナビゲーションの高さ分のマージン */
    }
    
    .section-title {
      font-size: 1.5rem;
      margin-bottom: 20px; /* さらに小さい画面でのマージンを調整 */
    }
    
    .music-card h3 {
      font-size: 0.95rem; /* さらに小さいフォントサイズ */
      padding: 0 2px; /* 左右の内側余白をさらに減らす */
      letter-spacing: -0.01em; /* 文字間隔を少し詰める */
    }
    
    .music-card p {
      font-size: 0.8rem;
      margin: 3px 0 10px;
    }
    
    #modal-credits .modal-content {
      padding: 15px 8px; /* 左右のパディングをさらに減らす */
      width: 98%; /* より広い幅 */
    }
    
    .credit-section {
      padding: 12px 8px; /* パディングをさらに減らす */
    }
    
    .credit-section h4 {
      font-size: 0.9rem; /* フォントサイズをさらに小さく */
      letter-spacing: -0.03em; /* 文字間隔をさらに詰める */
      margin-bottom: 10px;
      padding-bottom: 8px;
    }
    
    .credit-section p {
      font-size: 0.8em;
      margin: 8px 0;
    }
  }
  
  /* ナビゲーションの調整 */
  @media (max-width: 768px) {
    .navbar {
      padding: 8px 20px; /* モバイルでのパディングをさらに減らす */
      align-items: center;
      justify-content: center;
      position: relative;
    }
    
    .logo {
      height: 35px;
      margin: 0 auto;
    }
    
    /* 既存のモバイルレイアウト調整を保持しつつ、さらに細かく調整 */
    .nav-links {
      background-color: rgba(10, 10, 10, 0.95); /* よりダークな背景 */
    }
    
    .nav-links.active {
      right: 0;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5); /* 表示時に影を付ける */
    }
    
    /* 画像の調整 */
    img {
      max-width: 100%;
      height: auto;
    }
    
    /* リスト要素の余白調整 */
    .world-content ul {
      padding-left: 0;
      margin: 0 auto;
      width: 95%;
    }
    
    .world-content li {
      margin-bottom: 10px;
      padding-left: 0;
    }
    
    /* モバイル表示時の基本余白設定 */
    .section .container {
      padding: 0 10px;
    }
    
    /* 音楽カードのテキスト調整 */
    .music-card h3 {
      font-size: 1.1rem;
      margin: 8px 0 4px;
    }
    
    .music-card p {
      font-size: 0.9rem;
      margin: 4px 0 10px;
    }
  }
  
  @media (max-width: 480px) {
    .logo {
      height: 35px;
    }
    
    .music-card h3 {
      font-size: 1rem;
    }
    
    .music-card p {
      font-size: 0.8rem;
    }
    
    /* 特に小さい画面でのメニュー調整 */
    .menu-toggle {
      top: 15px;
      right: 15px;
      height: 20px;
    }
    
    .world-content {
      padding: 15px 12px;
    }
  }
  
  .world-content {
    padding: 20px 15px; /* モバイルでのパディングをさらに減らす */
  }
  
  .world-content h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1.3em;
  }
  
  .world-content li {
    margin-bottom: 10px;
    line-height: 1.5;
  }
  
  .character-cards {
    gap: 12px;
  }
  
  .character-card {
    padding: 12px;
    width: 100%; /* 1列表示に変更 */
    max-width: 300px; /* 最大幅を設定 */
    margin: 0 auto 12px; /* 中央揃えと下部マージン */
  }
  
  /* 各セクションのアンカーポイントを調整 */
  #home, #world, #characters, #music, #credits {
    scroll-margin-top: 60px; /* ナビゲーションバーの高さ + 余白 */
  }

  @media (max-width: 768px) {
    body {
      padding-top: 40px; /* モバイルでのヘッダーの高さ分のパディング */
    }
    
    #home, #world, #characters, #music, #credits {
      scroll-margin-top: 50px; /* モバイルでのアンカーポイント調整 */
    }
    
    /* モバイルでのナビゲーションメニュークリック時の調整 */
    .nav-links li a {
      display: block;
      padding: 12px 15px;
      font-size: 1.1rem;
    }
  }

  @media (max-width: 480px) {
    body {
      padding-top: 35px; /* さらに小さい画面でのヘッダーの高さ分のパディング */
    }
    
    #home, #world, #characters, #music, #credits {
      scroll-margin-top: 45px; /* さらに小さい画面でのアンカーポイント調整 */
    }
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    font-weight: 700;
  }
  
  /* Project Members、MV AI Tools、Special Thanks などの見出し */
  .credits-content h3 {
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  /* シェアボタンのスタイル */
  .share-container {
    background-color: rgba(30, 30, 30, 0.8); /* #1E1E1E（深い黒）を半透明に */
    padding: 15px 0;
    margin-top: 30px;
    text-align: center;
    border-top: 2px solid rgba(160, 87, 182, 0.3); /* #A057B6（紫）を薄く */
    border-bottom: 2px solid rgba(160, 87, 182, 0.3);
    box-shadow: 0 0 20px rgba(232, 51, 93, 0.2); /* #E8335D（赤・ピンク）のグロー */
  }

  .share-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
    color: #FDFDFD; /* #FDFDFD（ほぼ白） */
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(63, 159, 255, 0.5); /* #3F9FFF（水色）のグロー */
  }

  .share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
  }

  .share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    color: #FDFDFD; /* #FDFDFD（ほぼ白） */
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: none;
    min-width: 40px;
    width: 40px;
    height: 40px;
    cursor: pointer;
  }

  .share-btn i {
    margin: 0;
    font-size: 1.1rem;
  }

  .share-btn.twitter {
    background-color: #E8335D; /* #E8335D（鮮やかな赤・ピンク） */
    background-image: linear-gradient(45deg, #E8335D, #E8335D 60%, #FF4570);
  }

  .share-btn.copy {
    background-color: #3F9FFF; /* #3F9FFF（明るい水色） */
    background-image: linear-gradient(45deg, #3F9FFF, #3F9FFF 60%, #55AFFF);
  }

  .share-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
  }

  .share-btn.twitter:hover {
    background-image: linear-gradient(45deg, #FF4570, #E8335D 40%, #E8335D);
  }

  .share-btn.copy:hover {
    background-image: linear-gradient(45deg, #55AFFF, #3F9FFF 40%, #3F9FFF);
  }

  /* モバイル対応 */
  @media (max-width: 768px) {
    .share-buttons {
      gap: 12px;
      padding: 0 10px;
    }
    
    .share-btn {
      padding: 8px;
      font-size: 0.9rem;
      min-width: 36px;
      width: 36px;
      height: 36px;
    }
  }

  @media (max-width: 480px) {
    .share-btn {
      padding: 6px;
      font-size: 0.85rem;
      min-width: 32px;
      width: 32px;
      height: 32px;
    }
    
    .share-btn i {
      font-size: 0.9rem;
    }
  }
  
  /* Twitter埋め込み用スタイル */
  .twitter-embed {
    display: flex;
    justify-content: center;
    margin: 30px auto;
    max-width: 550px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }

  .twitter-embed .twitter-tweet {
    margin: 0 auto !important;
  }

  /* モバイル向け調整 */
  @media (max-width: 576px) {
    .twitter-embed {
      padding: 10px;
      max-width: 100%;
    }
  }
  