/* === 全体の box-sizing 設定 === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* === 基本設定 === */
body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #fefefe;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  padding-top: 100px; /* 固定ヘッダー分の余白 */
}

a {
  color: #e91e63; /* ピンク色 */
  text-decoration: none; /* 下線を消す */
  transition: color 0.2s ease;
}

a:hover {
  color: #ad1457; /* ホバー時の濃いめピンク */
  text-decoration: underline; /* ホバー時に下線 */
}

/* === ヘッダー === */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* height: 100px; ← これを削除またはコメントアウト */
  z-index: 1000;
  background-color: #fff;
  border-bottom: 1px solid #eee;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

/* ロゴ */
.logo {
  height: 60px;
  width: auto;
	display: block; 
  margin-left: 0; /* 念のため確認 */
}

/* ヘッダー右側のまとまり（ナビ・言語切替・SNS） */
.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* メニュー開閉ボタン（スマホ用） */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* === ナビゲーション === */
nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-right: 1.5em; /* ヘッダーの余白調整（SNSとのバランス） */
}

nav a {
  font-weight: 500;
  color: #444;
}

nav ul.active {
  display: flex;
  flex-direction: column;
}

/* === ソーシャルアイコン === */
.social-icons {
  display: flex;
  gap: 0.5rem;
}
.social-icons a img {
  height: 24px;
  width: auto;
}

/* === 言語切替部分 === */
.lang-switcher {
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 0.4em;
  font-size: 0.9rem;
  color: #444;
  user-select: none;
  white-space: nowrap;
}

.lang-switcher span {
  font-size: 1.2rem;
}

.lang-switcher a {
  color: #444;
  text-decoration: none;
  padding: 0 0.2em;
  transition: color 0.2s ease;
}

.lang-switcher a:hover,
.lang-switcher a:focus {
  color: #e91e63;
  text-decoration: underline;
  outline: none;
}

/* === ヒーロー画像 === */
.hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* === セクション共通 === */
section {
  padding: 3rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  scroll-margin-top: 100px; /* 固定ヘッダー高さに合わせて統一 */
}

/* セクションタイトル h2 */
h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
  color: #333;
  position: relative;
}

h2::before {
  content: "";
  display: block;
  height: 100px; /* ヘッダーの高さと統一 */
  margin-top: -100px; /* 同じ高さ分上にずらす */
  visibility: hidden;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

/* === プロフィール === */
.profile-text p {
  line-height: 1.8;
  margin-bottom: 1.5em;
}
.profile-text strong {
  font-weight: bold;
  color: #333;
}

/* === ライブ画像 === */
.live-item {
  max-width: 100%;  /* テキスト部分は画面幅いっぱいに */
  margin: 0;        /* 中央寄せ解除 */
}

.live-image {
  width: 100%;        /* 親幅に合わせて拡大 */
  max-width: 300px;   /* 最大300pxに制限 */
  height: auto;
  display: block;
  margin: 0;        /* 中央寄せ解除 */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

/* === アコーディオン === */
.accordion {
  cursor: pointer;
  padding: 1rem;
  border: none;
  background: #eee;
  margin-top: 1rem;
  font-weight: bold;
}
.panel {
  padding: 0 1rem;
  display: none;
  background-color: #f9f9f9;
  overflow: hidden;
}

/* === 音楽セクション === */
#music h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #222;
}
#music p,
#music ol {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}
#music em {
  color: #666;
  font-style: italic;
}

.tracklist {
  list-style-position: inside;
  padding-left: 0;
  margin-bottom: 0.5rem;
}
.tracklist li {
  margin-bottom: 0.5rem;
}
.tracklist a img {
  vertical-align: middle;
  margin-left: 0.5rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* === ディスコグラフィー === */
.discography-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  max-width: 960px;
  margin: 0 auto;
}
.disc-item {
  display: block;
  width: 100%;
  max-width: 200px;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.disc-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}
.disc-item:hover img {
  transform: scale(1.03);
}
.disc-title {
  font-weight: bold;
  margin-top: 0;
  font-size: 1.5rem;
  word-break: break-word;
}
.disc-date {
  font-size: 0.85rem;
  color: #666;
}

/* === 動画セクション === */
.videos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.video-item {
  flex: 1 1 300px;
  max-width: 320px;
  text-align: center;
  font-size: 0.9rem;
  color: #555;
}
.video-item iframe {
  width: 100%;
  height: 170px;
  border: none;
  border-radius: 4px;
}

/* === フッター === */
footer {
  background-color: #fafafa;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #777;
}

/* === レスポンシブ対応 === */
@media (max-width: 768px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    padding: 0 1rem;
    background: #fff;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* ハンバーガーメニュー */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
  }

  /* 言語切替：ハンバーガーの左隣 */
  .lang-switcher {
    position: absolute;
    top: 50%;
    right: 4.5rem;  /* ハンバーガーメニューから十分離す */
    transform: translateY(-50%);
    z-index: 1150;
    background-color: #fff;
    padding: 0 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.4em;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    color: #444;
    user-select: none;
  }

  /* ナビゲーションメニュー（右スライド） */
  nav {
    position: fixed;
    top: 60px; /* headerの下 */
    right: 0;
    width: 220px;
    height: calc(100vh - 60px);
    background: #fff;
    box-shadow: -2px 0 6px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
  }

  nav.active {
    transform: translateX(0);
  }

  nav ul {
    list-style: none;
    padding: 1rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  nav ul li {
    margin: 0;
  }

  nav ul li a {
    color: #444;
    font-weight: 500;
    text-decoration: none;
  }
}

  /* ヘッダー右側の要素を縦並びに、順序調整 */
  .header-right {
    flex-direction: column;
    width: 100%;
    order: 3; /* メニューのあとに表示 */
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  /* 言語切替を中央寄せ */
  .lang
.hero {
  margin-bottom: 0;
  padding-bottom: 0;
}

.hero img {
  display: block;
  margin-bottom: 0;
}

#biography {
  margin-top: 0;
  padding-top: 0;
}

#biography h2 {
  margin-top: 0;
}
	
#top {
  scroll-margin-top: 100px; /* 固定ヘッダーの高さに応じて調整 */
}

#biography {
  scroll-margin-top: 0px; /* 固定ヘッダーの高さに応じて調整 */
}

#information,
#music,
#blog,
#contact {
  scroll-margin-top: 20px; /* 固定ヘッダーの高さに応じて調整 */
}
	.hero {
  margin-top: 0;
  padding-top: 0;
}
#contact {
  padding-bottom: 70px; /* 下に余裕を作る */
  /* または */
  margin-bottom: 500px;
}
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: rgba(233, 30, 99, 0.7);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1000;
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
/* ロゴ画像の基本サイズ（PCなど大きな画面） */
.sakura-icon {
  width: 40px;
  height: auto;
}

@media screen and (max-width: 480px) {
  .logo {
    max-width: 35vw;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  header {
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }
}
@media (max-width: 768px) {
  .discography-grid {
    grid-template-columns: repeat(2, 1fr); /* 2列に減らす（必要なら1列も可） */
    max-width: 100%;          /* 幅は親要素に合わせる */
    padding-left: 1rem;       /* 左右に余白 */
    padding-right: 1rem;
    box-sizing: border-box;   /* パディング込みで計算 */
  }
}

@media (max-width: 480px) {
  .discography-grid {
    grid-template-columns: 1fr; /* 1列にして見やすく */
  }
}

.tracklist-title {
  font-size: 20px;
}
.release-info {
  margin-bottom: 0.5em; /* デフォルトより余白を小さく */
}

.tracklist-title {
  margin-top: 0.5em; /* これもデフォルトが大きすぎる場合に調整 */
}