@charset "UTF-8";

/* ==========================================
   1. 全体設定
   ========================================== */
html, body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}

section {
  margin: 15px auto;
  max-width: 1000px; /* 300pxの固定マージンの代わりに最大幅を設定 */
  padding: 0 20px;
  border-top: 1px solid #999;
}

h2 {
  font-weight: 600;
  font-size: 24px;
  margin: 0px 0px;
  margin-top: 15px;
}

ul {
  padding: 0px;
}

li {
  list-style: none;

}
/* ==========================================
   1. 全体設定
   ========================================== */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 16px 24px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: bottom 0.4s ease-in-out;
    box-sizing: border-box;
  }

  /* バナー表示用クラス */
  .cookie-banner.show {
    bottom: 0;
  }

  .cookie-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .cookie-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
  }

  .cookie-link {
    color: #4da6ff;
    text-decoration: underline;
  }

  .cookie-buttons {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  .cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .cookie-btn:hover {
    opacity: 0.85;
  }

  .btn-accept {
    background-color: #007bff;
    color: #ffffff;
  }

  .btn-decline {
    background-color: #444444;
    color: #ffffff;
  }

  /* スマホ対応レスポンシブ */
  @media (max-width: 768px) {
    .cookie-content {
      flex-direction: column;
      align-items: flex-start;
    }
    .cookie-buttons {
      width: 100%;
    }
    .cookie-btn {
      flex: 1;
    }
  }

/* リンクスタイルの調整 */
a {
  text-decoration: none;
  color: inherit; /* テキストの色を親要素から引き継ぐ*/
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* ==========================================
   2. ローディング画面のスタイル
   ========================================== */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loading.loaded {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #e0e0e0;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  margin-top: 15px;
  font-family: sans-serif;
  font-size: 14px;
  color: #666;
  letter-spacing: 1px;
}

/* ==========================================
   3. ヘッダー・ナビゲーション
   ========================================== */
.header {
  top: 0;
  position: fixed;
  width: 100%;
  height: 60px;
  display: flex;
  z-index: 500;
  background-color: #1f1f1f;
}

.X-Bee-Logo {
  width: 60px;
  height: 60px;
}

.X-bee-Title {
  color: #e3e3e3;
  padding-left: 15px;
}

.hbg-btn {
  display: none; /* デフォルト（PC等）では非表示 */
}

/* 右上の縦線演出 */
.nav-under-line {
  position: fixed;
  top: 0;
  right: 35px;
  width: 25px;
  height: 560px;
  background-color: rgba(250, 250, 250, 0.5);
  border-right: solid 3px black;
  z-index: 1000;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-Phone-Size {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;         /* メニューの横幅（または 80% など） */
  max-width: 100%;
  height: 100vh;
  background-color: #333;
  z-index: 90;

/* アニメーション設定：右外へ押し出しておく */
  transform: translateX(100%);
  transition: transform 0.4s ease; /* スライドの速度 */
}

.nav-under-line.active {
  transform: scaleY(1);
}

.nav-element {
  display: flex;
  justify-content: space-between;
  height: 500px;
  list-style: none;
  text-decoration: none;
  color: black;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  padding: 30px 0px;
  margin: 0;
}

.nav-element a {
  text-decoration: none;
  color: black;
}

/* ==========================================
   4. 検索ボックス
   ========================================== */
.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 400px;
  margin: 10px auto;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-input {
  width: 100%;
  height: 38px;
  padding: 0 48px 0 16px;
  font-size: 13px;
  color: #333333;
  background-color: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 22px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.search-input:focus {
  background-color: #ffffff;
  border-color: #333333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.search-button {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: #666666;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.search-button:hover {
  color: #000000;
  background-color: rgba(0, 0, 0, 0.05);
}

/* ==========================================
   5. 無限自動スライダー
   ========================================== */
.slider-container {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  margin: 80px auto 40px auto;
}

.slider-track {
  display: flex;
  overflow-x: auto;  
  gap: 8px;
  width: max-content;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.slider-track.no-transition {
  transition: none !important;
}

.slider-track img {
  width: 900px;
  height: 507px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

/* ==========================================
   6. 各セクション（Artist, Release, Video）
   ========================================== */

.Release-Body, .Artist-Body{
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 90%, transparent 100%);
  mask-image: linear-gradient(to right, #000 90%, transparent 100%);
}

.Release-list, .Artist-list{
  display: flex;
  width: max-content;
}

.Release-Profile, .Artist-Profile {
  padding: 15px;
  transition: transform 0.3s ease;
}
.Release-Profile:hover, .Artist-Profile:hover {
  transform: translateY(-10px);
  opacity: 0.7;
}

.Release-Profile img, .Artist-Profile img {
  width: 300px;
  height: 300px;
  margin-bottom: 15px;
}

.Release-date {
  font-size: 12px;
  margin: 5px 0px;
}

.Release-Style, .News-Genre {
  padding: 1px 7px;
  margin-left: 5px;
  color: white;
  background-color: #999;
  border-radius: 3px;
}

.Writer-Name, .category{
  margin: 0px;
  font-size: 14px;
}

/* スクロールバーのカスタマイズ */
.Release-Body::-webkit-scrollbar, 
.Artist-Body::-webkit-scrollbar {
  height: 6px;
}

.News-Body::-webkit-scrollbar{
  width: 6px;
}

.Release-Body::-webkit-scrollbar-track, 
.Artist-Body::-webkit-scrollbar-track, .News-Body::-webkit-scrollbar-track{
  background: #f1f1f1;
  border-radius: 10px;
}

.Release-Body::-webkit-scrollbar-thumb, 
.Artist-Body::-webkit-scrollbar-thumb, .News-Body::-webkit-scrollbar-thumb{
  background: #ccc;
  border-radius: 10px;
}

.Release-Body::-webkit-scrollbar-thumb:hover, 
.Artist-Body::-webkit-scrollbar-thumb:hover, .News-Body::-webkit-scrollbar-thumb:hover{
  background: #999;
}

/*ビデオセクション*/

.Video-list {
  display: flex;
  width: 100%;
  justify-content: center;
}

.Video-container {
  width: 500px;
  padding: 15px;
}

.Video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.Video-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.Video-caption {
  margin: 5px 0;
  font-size:12px;
}

/*↑Videoセクション終了*/

.News-list {
  border-top: solid 1px #666;
 
}

.News-Body{
  height: 400px;  
  overflow-y: auto;   /* 縦スクロールを有効化 */
  overflow-x: hidden;

  /* 内側の余白がはみ出さないように設定 */
  box-sizing: border-box;
  padding-right: 10px; /* スクロールバーと中身が重ならないよう右側に余白を空ける */ 
}

.News-profile {
  display: flex;
  border-bottom: solid 1px #666;
  padding: 10px;
  transition: transform 0.3s ease;
}
/* ホバー演出 */
.News-profile:hover {
  opacity: 0.7;
  transform: translateX(-10px);
}

.News-img img{
  width:  70px;
  height: 70px;
  border-radius: 5px;
}
.News-Title {
  padding-left: 15px;
}

.News-Date {
  font-size: 10px;
  margin: 10px 0;
}

.News-Pop {
  Margin: 0px;
  font-size: 15px;
  font-weight: 500;
}


/* ==========================================
   7. フッター
   ========================================== */
.footer {
  width: 100%;
  background-color: black;
  padding-top: 40px;
  padding-bottom: 10px;
  margin-top: 40px;
}

.footer-nav-list {
  display: flex;
  list-style: none;
  padding-left: 0;
  margin: 0 auto;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}


.footer-nav-list li {
  display: block;
  color: white;  
  position: relative;
  padding-right: 15px;
  font-size: 12px;
  text-align: center;
}

.footer-nav-list li::after {
  display: inline-block;
  width: 15px;
  text-align: center;
  content: "|";
  position: absolute;
  color: white;
}

.footer p {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin: 0;
}

/* ==========================================
   8. スマホ・タブレット用レスポンシブ (768px以下)
   ========================================== */
@media screen and (max-width: 768px) {
  /* 2. 画像・動画・YouTube（iframe）の横飛び出し防止 */
  img, iframe, video {
    max-width: 100%;
    height: auto;
  }
  
  section {
    padding: 0 15px;
  }

  .X-bee-Title {
    display: none;
  }

  .nav-under-line {
    display: none;
  }

  /*ヘッダーの設定*/

  /* メニューが開いた状態（JavaScriptで追加するクラス） */
.nav-Phone-Size.active {
  transform: translateX(0); /* 定位置（画面内）に戻す */
  background-color: black;
  padding-left: 20px;
}

.Phone-nav-element a {
  color: white;


}

.Phone-nav-element li {
  border-bottom: 1px solid #777;

}

.nav-element-link {
  position: relative;          /* ::before の配置基準とする */
  display: inline-block;
  padding: 10px 0;
  padding-left: 30px;          /* ★アイコンの幅+余白分、左側に隙間を確保 */
  color: #333;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
}

.Phone-X-Bee-Logo {
  width: 60px;
  height: 60px;
}
.nav-element-link::before {
  content: "";
  position: absolute;
  left: 10%;                     /* 左端に配置 */
  top: 50%;                    /* 上下中央寄せ */
  transform: translateY(-50%);
  width: 15px;                 /* アイコンの横幅 */
  height: 15px;                /* アイコンの高さ */
  background-size: contain;    /* 画像を枠内に収める */
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1);
}

.nav-home::before{
  background-image: url(common/assets/images/icons/home.svg);
}

.nav-artist::before{
  background-image: url(common/assets/images/icons/artist.svg);
}

.nav-label::before{
  background-image: url(common/assets/images/icons/label.svg);
}

.nav-news::before{
  background-image: url(common/assets/images/icons/news.svg);
}

.nav-shop::before{
  background-image: url(common/assets/images/icons/shop.svg);
}

.nav-agency::before{
  background-image: url(common/assets/images/icons/agency.svg);
}

.nav-contact::before{
  background-image: url(common/assets/images/icons/contact.svg);
}

/* --- 暗幕（背景のオーバーレイ） --- */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 80;
  
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

  /* ハンバーガーボタン表示設定 */
  .hbg-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    z-index: 9999;
  }

  .hbg-btn span {
    display: block;
    width: 28px;
    height: 2px;
    background-color: #ffffff; /* ヘッダーの背景色に合わせて白へ調整 */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  /* 開いた状態（.active時）の修正 */
  .hbg-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hbg-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .hbg-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* スライダーレスポンシブ */
  .slider-track {
    gap: 12px;
  }

  .slider-track img {
    width: 80vw;
    height: calc(80vw * (507 / 900));
    border-radius: 6px;
  }

  .search-form {
    width: 70%;
  }

  .Release-Profile img, .Artist-Profile img {
    max-width: 200px;
    max-height: 200px;
    margin-bottom: 15px;
  }

  /*videoセクション*/
  .Video-list {
    display: block;
  }

  .Video-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;  
  }

  /*Newsセクション*/

  .News-img {
    flex-shrink: 0;
  }

  .News-Date {
  font-size: 10px;
  margin: 5px 0;
  }

  .News-Pop {
  font-size: 14px;
  }
}