* { margin:0; padding:0; box-sizing:border-box; }
body, html { width:100%; height:100%; font-family:'Noto Sans JP', sans-serif; color:#b4dcff; background:#0b0a0f; scroll-behavior:smooth; }
a { text-decoration:none; color:inherit; }
h1,h2,h3,h4,h5,h6 { font-family:'Orbitron', sans-serif; }
section { padding:6rem 2rem; max-width:1200px; margin:0 auto; }

/* ヒーロー */
.hero {
  margin:0;
  padding:0;
  min-height:100vh;          /* 画面上端から始まる */
  display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; z-index:1;
}
.logo { font-size:3rem; color:#b4dcff; letter-spacing:0.1em; margin-bottom:1rem; text-shadow:0 0 10px rgba(180,220,255,0.5); }
.scroll-down { color:#b4dcff; margin-top:1rem; opacity:0.7; }

/* ナビ & ハンバーガー */
.menu-toggle {
  position:fixed; top:1.5rem; right:1.5rem; width:30px; height:22px; display:flex; flex-direction:column; justify-content:space-between; cursor:pointer; z-index:100;
}
.menu-toggle span { display:block; height:3px; width:100%; background:#b4dcff; border-radius:2px; transition:0.3s; }
.menu-toggle.active span:nth-child(1){ transform:rotate(45deg) translate(5px,5px);}
.menu-toggle.active span:nth-child(2){ opacity:0;}
.menu-toggle.active span:nth-child(3){ transform:rotate(-45deg) translate(5px,-5px);}
.nav-menu { position:fixed; top:0; right:-250px; width:250px; height:100%; background:#0b0a0f; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2rem; transition: right 0.3s; z-index:99; }
.nav-menu.active { right:0; }
.nav-menu a { font-size:1.2rem; transition:0.2s; }
.nav-menu a:hover { color:#fff; }

/* ボタン */
.btn { display:inline-block; margin-top:2rem; padding:0.8rem 2rem; border:1px solid #b4dcff; border-radius:4px; color:#b4dcff; font-weight:500; transition:0.3s; }
.btn:hover { background:rgba(180,220,255,0.1); border-color:#fff; }

/* セクションタイトル */
section h2 { font-size:2rem; margin-bottom:2rem; color:#fff; text-align:center; text-shadow:0 0 5px rgba(180,220,255,0.3); }

/* .intro */
.intro { text-align:center; display:flex; flex-direction:column; justify-content:center; align-items:center; padding:6rem 2rem; }

/* カード */
.card { background:rgba(20,18,28,0.8); border-radius:8px; padding:1.5rem; margin:1rem; box-shadow:0 8px 20px rgba(0,0,0,0.6); transition:0.3s; opacity:0; transform:translateY(40px);}
.card h3 { font-size:1.4rem; margin-bottom:0.5rem; color:#b4dcff; }
.card p { font-size:1rem; color:#ccc; margin-bottom:1rem; }
.card:hover { transform:translateY(-5px); box-shadow:0 12px 30px rgba(180,220,255,0.3); }

/* SNS */
.sns a { margin-right:0.5rem; color:#b4dcff; font-size:1.2rem; transition:0.3s; }
.sns a:hover { color:#fff; text-shadow:0 0 8px #b4dcff; }

/* カードレイアウト */
.album-cards, .article-cards { display:flex; flex-wrap:wrap; justify-content:center; gap:1.5rem; }

/* スクロールフェードイン */
.scroll-fade { opacity:0; transform:translateY(40px); transition: all 0.8s ease-out; }
.scroll-fade.visible { opacity:1; transform:translateY(0); }

/* フッター */
footer { padding:2rem; text-align:center; color:#777; font-size:0.9rem; border-top:1px solid rgba(180,220,255,0.1); }
footer nav a { margin:0 0.5rem; color:#b4dcff; transition:0.2s; }
footer nav a:hover { color:#fff; }

/* レスポンシブ */
@media (max-width:768px){
  .album-cards, .article-cards { flex-direction:column; align-items:center; }
  .nav-menu { width:200px; }
  .nav-menu a { font-size:1rem; }
}
/* About セクション調整 */
.about {
  text-align: left;       /* テキストは左揃え */
  max-width: 900px;       /* 読みやすい幅 */
  margin: 0 auto;         /* 中央寄せ */
  padding: 6rem 2rem;
  line-height: 1.8;
}
.about h2 {
  text-align: center;     /* タイトルは中央揃え */
  margin-bottom: 2rem;
  color: #fff;
}
.about p {
  color: #ccc;
  margin-bottom: 1.8rem;
}
.about strong {
  color: #b4dcff;
}
/* profile セクション */
.profile {
  text-align: left;       /* 左揃え */
  max-width: 900px;       /* 読みやすい幅 */
  margin: 0 auto;         /* 中央配置 */
  padding: 6rem 2rem;
  line-height: 1.8;
}
.profile h2 {
  text-align: center;     /* タイトルは中央揃え */
  margin-bottom: 2rem;
  color: #fff;
}
.profile-item {
  margin-bottom: 2rem;    /* 各項目の余白 */
}
.profile-item h3 {
  color: #b4dcff;
  margin-bottom: 0.5rem;
}
.profile-item p {
  color: #ccc;
}
/* Music Cards セクション */
.music-cards {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.music-cards h2 {
  color: #fff;
  margin-bottom: 3rem;
}

/* カードグリッド */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* カードデザイン */
.card {
  background: rgba(20,20,30,0.85);
  border: 1px solid #2a2a40;
  border-radius: 12px;
  padding: 1.8rem;
  color: #ccc;
  width: 100%;
  max-width: 320px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card h3 {
  color: #b4dcff;
  margin-bottom: 0.5rem;
}
.card p {
  margin-bottom: 1rem;
}
.card .review {
  font-style: italic;
  color: #ddd;
}
.card .official-link {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
  color: #7fffd4;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.card .official-link:hover {
  border-color: #7fffd4;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}
/* Music Cards セクション */
.music-cards {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 12rem 2rem; /* 下余白を十分に確保 */
}
.music-cards h2 {
  color: #fff;
  margin-bottom: 3rem;
}

/* カードグリッド */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  min-height: 400px; /* カードが少なくても空白ができない */
}
/* 背景キャンバスを固定し、最背面に */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* 最背面にする */
}
/* 背景キャンバス */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* canvasは最背面 */
  display: block;
}

/* Music Cards セクション */
.music-cards {
  position: relative;
  z-index: 1; /* canvasより前に表示 */
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 12rem 2rem; /* 下の余白十分に確保 */
}

/* タイトル */
.music-cards h2 {
  color: #fff;
  margin-bottom: 3rem;
}

/* カードグリッド */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
  min-height: 400px; /* カードが少なくても空白ができない */
}

/* カード */
.card {
  position: relative;
  z-index: 2; /* canvasより上 */
  background: rgba(15,15,25,0.95); /* 濃くして文字を浮かせる */
  color: #eee;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  width: 100%;
  max-width: 320px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card h3 { color: #b4dcff; margin-bottom: 0.5rem; }
.card p { margin-bottom: 1rem; font-size: 0.95rem; }
.card .review { font-style: italic; color: #ddd; font-size: 0.95rem; }
.card .official-link {
  display: inline-block;
  margin-top: 0.5rem;
  text-decoration: none;
  color: #7fffd4;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.card .official-link:hover { border-color: #7fffd4; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
/* ===============================
   Post Page (SYNTH MUSE)
   =============================== */

.post-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 1.5rem 8rem;
}

.post-article {
  color: #e6e6e6;
}

.post-header {
  margin-bottom: 3rem;
}

.post-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 0.9rem;
  color: #aaa;
}

.post-section {
  margin-bottom: 3rem;
}

.post-section h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid #5ef2c7;
  padding-left: 0.75rem;
}

.music-info,
.official-links,
.sources {
  list-style: none;
  padding-left: 0;
}

.official-links a {
  color: #5ef2c7;
  text-decoration: none;
}

.note,
.quote-note {
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 0.8rem;
}

.source-section {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
}

/* 著作権表記 */
.copyright-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #aaa;
  line-height: 1.8;
}
/* ===============================
   Post Page（連絡先表記）
   =============================== */

.contact-note {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.8rem;
  color: #888;
}

.contact-note a {
  color: #5ef2c7;
  text-decoration: none;
}
#bgCanvas {
  pointer-events: none;
}
/* クリック阻害防止（必須） */
#bgCanvas {
  pointer-events: none;
}

#loading-screen {
  pointer-events: none;
}

