﻿/* ===========================
   Global
=========================== */
body {
  margin: 0;
  font-family: 'Noto Sans JP', "Hiragino Kaku Gothic ProN", sans-serif;
  color: #fff;
  background: linear-gradient(to bottom, #0b165a, #e37bb5);
  overflow-x: hidden;
}

/* 星アニメーション */
.stars {
  position: fixed;
  width: 100%;
  height: 100%;
  background: transparent url('https://www.transparenttextures.com/patterns/stardust.png') repeat;
  animation: twinkle 20s linear infinite;
  z-index: -1;
  opacity: 0.9;
}
@keyframes twinkle {
  from { background-position: 0 0; }
  to { background-position: 1000px 1000px; }
}

/* ===========================
   Header
=========================== */
.hero {
  position: relative;
  overflow: hidden;
  
}
.hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 9; /* 縦横比を16:9に指定 */
  opacity: 0;
  animation: fadeInHero 2.5s ease-in forwards;
  transform: scale(1.05);
}
@keyframes fadeInHero {
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===========================
   Sections
=========================== */
section {
  text-align: center;
  padding: 50px 20px;
}

h2, h3 {
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* 半透明ボックス */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  display: inline-block;
  padding: 30px 40px;
  margin-top: 20px;
}

/* Tracklist */
.track-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}
.cd-image {
  width: 500px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}
.tracklist ol {
  text-align: left;
  padding-left: 20px;
}
.tracklist li {
  margin: 8px 0;
}

/* Preview */
.media-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  
}

.youtube {
  width: 80%;
  max-width: 560px;
  aspect-ratio: 16 / 9; /* これが重要 */
  position: relative;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}


audio {
  width: 80%;
  max-width: 400px;
  filter: drop-shadow(0 0 6px rgba(255,255,255,0.3));
}

/* 追加情報 */
.extra h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.extra p {
  line-height: 1.8;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 0;
  background: rgba(0,0,0,0.4);
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.circle-logo {
  width: 200px;
  opacity: 0.9;
}
.circle-logo:hover {
  transform: scale(1.02);
  opacity: 0.9;
}
footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
footer a:hover {
  text-decoration: underline;
}
small {
  display: block;
  margin-top: 10px;
  opacity: 0.6;
  font-size: 0.85em;
}

/* Responsive */
@media (max-width: 768px) {

  .cd-image {
    width: 80%;
  }
  .tracklist {
    width: 90%;
  }
}
