/* ========================================
   リセット・基本設定
======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: #FAFAF8;
  color: #333333;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ========================================
   共通レイアウト
======================================== */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 32px;
}

/* セクション共通 */
.section {
  padding: 100px 0;
}

/* 背景を薄いラベンダーに変えるセクション */
.section-alt {
  background-color: #EDF1F8;
}

/* セクション見出し */
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: #333333;
  margin-bottom: 8px;
}

/* セクション小見出し */
.section-sub {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #888;
  margin-bottom: 48px;
  text-transform: uppercase;
}

/* タイトル下のラベンダーライン */
.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: #8995c4;
  margin-top: 12px;
  margin-bottom: 16px;
}

/* ========================================
   ヘッダー・ナビゲーション
======================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* スクロール後に背景を付ける */
#header.scrolled {
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
}

/* ロゴ */
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #333333;
  transition: color 0.2s;
}

.nav-logo:hover {
  color: #8995c4;
}

/* ナビリンク */
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s;
}

/* ホバー時にラベンダーの下線 */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #8995c4;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #8995c4;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ハンバーガーボタン（デスクトップでは非表示） */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 28px;
}

.hamburger span {
  display: block;
  height: 1.5px;
  background-color: #333;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* アクティブ時にバツ印に変形 */
.hamburger.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ドロワーメニュー（スマホ用） */
.drawer {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 70%;
  max-width: 300px;
  height: 100vh;
  background: #FAFAF8;
  padding: 80px 40px 40px;
  box-shadow: -4px 0 20px rgba(0,0,0,0.08);
  transition: right 0.35s ease;
  z-index: 99;
}

.drawer.open {
  right: 0;
}

.drawer ul {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.drawer-link {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #555;
  transition: color 0.2s;
}

.drawer-link:hover {
  color: #8995c4;
}

/* ========================================
   ① Hero セクション（左：テキスト / 右：写真）
======================================== */
#hero {
  position: relative;
  min-height: 100vh;
  background: #FAFAF8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 60px 80px;
  overflow: hidden;
}

/* テキスト + 写真の横並びグリッド */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  width: 100%;
}

/* 左：テキスト */
.hero-text {
  text-align: left;
}

.hero-name-ja {
  font-size: 0.85rem;
  letter-spacing: 0.45em;
  font-weight: 300;
  color: #8995c4;
  margin-bottom: 14px;
}

.hero-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4.5vw, 5rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #333333;
  margin-bottom: 20px;
}

.hero-tagline {
  font-size: 0.72rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: #aaa;
}

/* 右：写真フレーム */
.hero-photo-wrap {
  position: relative;
}

/* アクセントカラーの装飾枠（右下にオフセット） */
.hero-photo-wrap::before {
  content: '';
  position: absolute;
  top: 14px;
  right: -14px;
  width: 100%;
  height: 100%;
  border: 1.5px solid #8995c4;
  z-index: 0;
}

/* Heroの写真：トリミングせず全体を表示 */
.hero-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  animation: kenburns 16s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.05); }
}

/* スクロール誘導インジケーター（明背景用） */
.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(0, 0, 0, 0.3);
}

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.18);
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

.scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Hero レスポンシブ：タブレット以下で縦積みに */
@media (max-width: 768px) {
  #hero {
    padding: 80px 32px 70px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 440px;
  }

  /* モバイルでは写真が上・テキストが下 */
  .hero-photo-wrap {
    order: 1;
  }

  .hero-text {
    order: 2;
    text-align: center;
  }
}

/* ========================================
   ② News セクション
======================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid #E8E4EC;
  transition: background 0.2s;
}

.news-item:first-child {
  border-top: 1px solid #E8E4EC;
}

.news-date {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #8995c4;
  white-space: nowrap;
  min-width: 84px;
  font-weight: 400;
}

.news-link {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
  transition: color 0.2s;
}

.news-link:hover {
  color: #8995c4;
}

/* ========================================
   ③ Profile セクション
======================================== */
.profile-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.profile-photo-wrap {
  position: relative;
}

/* ラベンダーの装飾枠 */
.profile-photo-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 1.5px solid #8995c4;
  z-index: 0;
}

.profile-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.profile-name-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.profile-name-ja {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: #8995c4;
  margin-bottom: 24px;
}

.profile-body {
  font-size: 0.88rem;
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}

/* ========================================
   ④ Live セクション
======================================== */
.live-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.live-item {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 28px 0;
  border-bottom: 1px solid #E8E4EC;
}

.live-item:first-child {
  border-top: 1px solid #E8E4EC;
}

/* 日付ブロック */
.live-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
  background: #8995c4;
  padding: 12px 10px;
  color: #fff;
}

.live-month {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  font-weight: 500;
}

.live-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1.1;
}

.live-year {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

/* ライブ詳細 */
.live-title {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}

.live-venue {
  font-size: 0.82rem;
  color: #777;
  margin-bottom: 3px;
}

.live-note {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.05em;
}

/* ========================================
   ⑤ Music セクション
======================================== */
/* 2カラムグリッド */
.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* 16:9 の動画埋め込みラッパー */
.youtube-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #eee;
}

.youtube-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================
   ⑥ SNS セクション
======================================== */
.sns-container {
  text-align: center;
}

.sns-container .section-title::after {
  margin-left: auto;
  margin-right: auto;
}

.sns-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.sns-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}

.sns-btn:hover {
  transform: translateY(-2px);
}

/* YouTube ボタン */
.sns-youtube {
  background: #8995c4;
  color: #fff;
}

.sns-youtube:hover {
  background: #7784b8;
}

/* Instagram ボタン */
.sns-instagram {
  background: transparent;
  color: #8995c4;
  border: 1.5px solid #8995c4;
}

.sns-instagram:hover {
  background: #8995c4;
  color: #fff;
}

.sns-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ========================================
   ⑦ Footer
======================================== */
#footer {
  background: #2a2a2a;
  padding: 32px 20px;
  text-align: center;
}

.footer-text {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}

/* ========================================
   レスポンシブ：タブレット（〜768px）
======================================== */
@media (max-width: 768px) {
  /* ナビのリンクを非表示にしてハンバーガーを表示 */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .drawer {
    display: block;
  }

  .nav-inner {
    padding: 18px 24px;
  }

  /* セクションの余白を縮小 */
  .section {
    padding: 72px 0;
  }

  /* Profileを縦並びに */
  .profile-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .profile-photo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  /* Musicを縦並びに */
  .music-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   レスポンシブ：スマホ（〜480px）
======================================== */
@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }

  .section {
    padding: 56px 0;
  }

  /* Newsの日付とタイトルを縦並びに */
  .news-item {
    flex-direction: column;
    gap: 6px;
    padding: 18px 0;
  }

  /* Liveのレイアウト調整 */
  .live-item {
    gap: 20px;
  }

  .live-date-block {
    min-width: 54px;
    padding: 10px 8px;
  }

  .live-day {
    font-size: 1.6rem;
  }

  .live-title {
    font-size: 0.9rem;
  }

  /* SNSボタンを縦並びに */
  .sns-buttons {
    flex-direction: column;
    align-items: center;
  }

  .sns-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

/* ========================================
   Live セクション：インタラクション追加
======================================== */

/* クリック可能な行のスタイル */
.live-item {
  cursor: pointer;
  transition: background 0.2s ease;
}

.live-item:hover {
  background-color: #EDF1F8;
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}

.live-item:focus-visible {
  outline: 2px solid #8995c4;
  outline-offset: -2px;
}

/* 小見出し（Upcoming / Past） */
.live-section-block {
  margin-bottom: 40px;
}

.live-sub-heading {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #bbb;
  padding-bottom: 14px;
}

/* Past リスト：初期状態は非表示（max-height:0） */
.live-list-past {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.45s ease;
}

.live-list-past.expanded {
  max-height: 3000px; /* 件数が増えても対応できる大きな値 */
}

/* Past イベントは少し薄く表示 */
.live-item--past .live-date-block {
  background: #bcc2d8;
  opacity: 0.75;
}

.live-item--past .live-title,
.live-item--past .live-venue {
  opacity: 0.55;
}

/* 「Past events を表示する」トグルボタン */
.live-past-toggle {
  margin-top: 16px;
  background: none;
  border: 1.5px solid #8995c4;
  color: #8995c4;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  padding: 10px 24px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}

.live-past-toggle:hover {
  background: #8995c4;
  color: #fff;
}

.live-past-toggle-arrow {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* ========================================
   Live モーダル
======================================== */

/* モーダル全体（fixed オーバーレイ） */
.live-modal {
  position: fixed;
  inset: 0;
  z-index: 200; /* ヘッダー z-index:100 より上 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* hidden 属性で非表示 */
.live-modal[hidden] {
  display: none;
}

/* 背景の暗転 */
.live-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

/* モーダルパネル本体 */
.live-modal-panel {
  position: relative;
  z-index: 1;
  background: #FAFAF8;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

/* 閉じるボタン */
.live-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #bbb;
  cursor: pointer;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
  z-index: 2;
}

.live-modal-close:hover {
  color: #333;
}

/* フライヤー画像エリア：縦長フライヤーも全体を表示 */
.live-modal-flyer-wrap {
  width: 100%;
  background: #e8eaf4;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* フライヤーなし時は非表示 */
.live-modal-flyer-wrap.no-flyer {
  display: none;
}

.live-modal-flyer {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  display: block;
}

/* モーダル内テキストエリア */
.live-modal-body {
  padding: 28px 36px 40px;
}

.live-modal-date {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #8995c4;
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.live-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: #333;
  margin-bottom: 14px;
}

.live-modal-venue {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 4px;
}

.live-modal-note {
  font-size: 0.78rem;
  color: #aaa;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.live-modal-description {
  font-size: 0.88rem;
  line-height: 2;
  color: #555;
  margin-bottom: 28px;
  white-space: pre-line;
}

/* 説明文が空の場合は非表示 */
.live-modal-description:empty {
  display: none;
  margin: 0;
}

/* チケットリンクボタン */
.live-modal-ticket {
  display: inline-block;
  padding: 12px 32px;
  background: #8995c4;
  color: #fff;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
}

.live-modal-ticket:hover {
  background: #7784b8;
  transform: translateY(-1px);
}

/* チケットURLなし時は非表示 */
.live-modal-ticket.hidden {
  display: none;
}

/* ========================================
   モーダル：スマホ対応（ボトムシート風）
======================================== */
@media (max-width: 480px) {
  /* 画面下部から現れるシート */
  .live-modal {
    padding: 0;
    align-items: flex-end;
  }

  .live-modal-panel {
    max-width: 100%;
    max-height: 88vh;
    border-radius: 0;
  }

  .live-modal-body {
    padding: 20px 20px 36px;
  }

  /* フライヤーはラッパー側の高さ制限を外し、
     画像自体に max-height を設定してスマホに収める */
  .live-modal-flyer-wrap {
    max-height: none;
  }

  .live-modal-flyer {
    max-height: 50vh;
  }

  /* Liveのモーダルトグルを全幅に */
  .live-past-toggle {
    width: 100%;
  }
}
