@media screen and (max-width: 768px) {
  
  body, p, h2, h3, h4 {
    text-align: center;
  }

  
  header {
    position: relative;
    justify-content: center;   /* 中央基準 */
  }

  body {
    display: block; /* Flexboxを解除 */
     min-height: auto;
  }
  
  .site-title {
    position: absolute;
    transform: translateX(-50%); /* 完全に中央 */
    text-align: center;
  }

  .menu-toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* 縦方向中央揃え */
  }

  .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .menu li {
    margin: 5px 0;
  }

  .logo {
    font-family: "Bradley Hand ITC", cursive;
    font-size: 24px;
    font-weight: bold;
    padding: 10px;
  }

  #wrap {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important; /* 残りのスペース占有を解除 */
  }

  /* Swiper本体 */
  .swiper {
    width: 100% !important;
    height: auto !important; /* 高さを自動調整 */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .swiper-slide {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    text-align: center;
  }

  .swiper-slide img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
    display: block;
  }
  
  .swiper-pagination {
    position: relative !important; /* 絶対配置を解除 */
    bottom: auto !important; /* 下からの固定を解除 */
    top: auto !important; /* 上からの固定を解除 */
    margin-top: 15px; /* 画像との間隔 */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important; 
    }


  .banner_title {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    text-align: center;
    color: #fff;
    z-index: 11;
  }

  .banner_title a {
    display: inline-block;
    width: auto;
    max-width: 90%;
    padding: 0.5em 1em;
    background-color: transparent;
  }

  .logo-overlay {
    position: absolute;
    top: 0%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 15;
    opacity: 0.08; /* 透過度 */
  }

  .logo-overlay img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .text-overlay {
    position: absolute; 
    transform: none; 
    top: 62%; 
    left: auto;
    width: 100%;
    height: auto;
    margin: 15px auto 0; 
    z-index: auto;
  }
  
  .welcome_Message_jp,
  .welcome_Message_en {
    position: absolute; /* ← 画像の中に残す */
    bottom: 10%;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #fff;
  }


  h2 {
   position: static;
   text-align: center;
   font-size: 16px;
   color: #333;
  }
  
  .album-box {
    height: auto;
    padding: 0 1em; /* スマホで読みやすくする */
    width: 100%;
    text-align-last: center;
  }
  
  .album-block {
    flex-direction: column;
  }
  
  .album-left,
  .album-right {
    flex: none;      /* ← 幅の固定を解除 */
    width: 100%;     /* ← スマホでは全幅 */
    max-width: 100%;
  }

  .album-left {
    margin-bottom: 1rem;
    border-right: none;
    padding-right: 0;
  }


  .main-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  }

  
  .album-heading {
    background-size: 100% 100% !important;
    background-position: center !important;
    margin: 20px 0 !important;
    padding: 15px 0 6px !important;
    box-sizing: border-box !important;
  }

  
  .album-title, .track-title {
    margin-left: 0;   /* 左寄せ指定を解除 */
    text-align: center;
    position: static; 
  }
  
  .track-title, p {
    text-align: center; /* 曲タイトルと解説文も中央寄せ */
  }

  audio {
    display: block;
    margin: 0 auto;   /* プレイヤーも中央に */
  }

  #Original_Music_Box {
      width: 100%;
      padding: 0 10px;
      box-sizing: border-box;
  }

  #Music_Box {
      padding: 0 10px;
      box-sizing: border-box;
  }

  #Music_Box p {
      width: 100%;
      line-height: 1.7;
      margin-bottom: 20px;
      padding: 12px;
      box-sizing: border-box;
  }

  h3 {
      margin: 20px 0;
      padding: 20px 0 8px;
      background-size: 100% 100%;
      background-position: center;
      box-sizing: border-box;
  }
  
  footer {
    clear: both;
    width: 100%;
    max-width: none;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    background-color: #f5f5f5;
    background-image: url(../images/back_img.gif);
    background-repeat: repeat;
  }

  #gNavi_update_date,
  .Navi_update_date {
    color: #333 !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
  }
  
  #sidenavi {
    width: 100%;
    text-align: center;
  }
/* ジャケット画像 */
.album-cover img {
  width: 260px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.album-cover img:hover {
  transform: scale(1.03);
}

/* アルバム情報 */
.album-info {
  flex: 1;
}

/* アルバムタイトル */
.album-title {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.album-title a {
  color: #222;
  text-decoration: none;
  border-bottom: 2px solid #ddd;
  padding-bottom: 3px;
}

.album-title a:hover {
  border-color: #999;
}

/* コメント本文 */
.album-comment {
  line-height: 1.9;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 25px;
}

/* YouTube 埋め込み */
.album-youtube {
  margin-top: 20px;
}

/* Amazonリンクの注意書き（任意） */
.amazon-note {
  font-size: 0.8rem;
  color: #777;
  margin-top: 40px;
  text-align: center;
}

  
}