/* ==========================================
   Base Styles & Color Variables
   青春・切なさを意識したカラーパレット
   ========================================== */
:root {
  --bg-color: #f7f9fa; /* 少し青みがかった柔らかな白 */
  --text-color: #2b3a42; /* 深みのある紺系ダークグレー */
  --accent-blue: #4a7c59; /* 淡い青緑系 */
  --primary-blue: #3a6073; /* 落ち着いた青春の青 */
  --accent-orange: #e88d72; /* 夕暮れを連想させるオレンジ */
  --border-color: #e0e6ed;
  
  --font-serif: 'Shippori Mincho', serif;
  --font-sans: 'Zen Kaku Gothic New', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================
   Header & Navigation
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: rgba(247, 249, 250, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  border-bottom: 1px solid rgba(224, 230, 237, 0.5);
}

.logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav a {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--text-color);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #16222a 0%, #3a6073 100%);
  color: #ffffff;
  position: relative;
}

.hero-subtitle {
  --hero-final-opacity: 0.8;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  opacity: 0.8;
  margin-bottom: 10px;
  animation: hero-drop-in 3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero-title {
  --hero-final-opacity: 1;
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  animation: hero-drop-in 4s 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes hero-drop-in {
  from {
    opacity: 0;
    transform: translateY(-72px);
  }
  to {
    opacity: var(--hero-final-opacity, 1);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-subtitle,
  .hero-title {
    animation: none;
  }
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0.6;
}

/* ==========================================
   Sections (Common)
   ========================================== */
.section {
  padding: 100px 0 60px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--accent-orange);
  margin: 15px auto 0;
}

/* ==========================================
   NEWS
   ========================================== */
.news-list {
  list-style: none;
  border-top: 1px solid var(--border-color);
}

.news-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.news-list .date {
  font-size: 0.85rem;
  color: #7a8b99;
}

.news-list .category {
  font-size: 0.75rem;
  padding: 2px 8px;
  background-color: var(--primary-blue);
  color: #fff;
  border-radius: 3px;
}

.news-list .title {
  color: var(--text-color);
  flex-grow: 1;
}

/* ==========================================
   DISCOGRAPHY
   ========================================== */
#discography {
  position: relative;
  isolation: isolate;
  margin-block: 0;
  padding-block: 100px 90px;
}

#discography::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset-block: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #16222a 0%, #3a6073 100%);
}

#discography .section-title {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: 0.15em;
}

#discography .section-title::after {
  background-color: var(--accent-orange);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

#discography .card-grid {
  max-width: 1080px;
  margin: 0 auto;
  counter-reset: track;
  gap: 22px;
}

#discography .card {
  counter-increment: track;
  background: #172a33;
  border: 1px solid rgba(117, 213, 202, 0.24);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#discography .card:hover {
  transform: translateY(-4px);
  border-color: rgba(117, 213, 202, 0.72);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24), 0 0 18px rgba(117, 213, 202, 0.1);
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

#discography .video-container {
  border-bottom: 1px solid rgba(117, 213, 202, 0.3);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card-body {
  padding: 20px;
}

#discography .card-body::before {
  content: 'TRACK / ' counter(track, decimal-leading-zero);
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 0.68rem;
  line-height: 1.4;
}

#discography .card-body h3 {
  font-family: var(--font-serif);
  color: #f3f8f7;
  font-size: 1rem;
  line-height: 1.65;
  min-height: 3.3em;
  margin-bottom: 14px;
}

.card-desc {
  font-size: 0.85rem;
  color: #7a8b99;
  margin-bottom: 15px;
}

.links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-sm {
  font-size: 0.75rem;
  padding: 4px 10px;
  border: 1px solid var(--primary-blue);
  border-radius: 3px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 16px 0 28px;
}

.social-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
  transform: scale(1.08);
  color: #ffffff;
  opacity: 1;
}

.social-link:focus-visible {
  outline: 3px solid var(--accent-orange);
  outline-offset: 3px;
}

.social-link img,
.social-link svg {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.social-link span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.social-link-x {
  background-color: #111111;
}

.social-link-x:hover {
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.2);
}

.social-link-youtube {
  background-color: #ff0033;
}

.social-link-youtube:hover {
  box-shadow: 0 6px 18px rgba(255, 0, 51, 0.2);
}

.social-link-niconico {
  background-color: #252525;
}

.social-link-niconico:hover {
  box-shadow: 0 6px 18px rgba(37, 37, 37, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .social-link {
    transition: none;
  }

  .social-link:hover {
    transform: none;
  }
}

#discography .btn-sm {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

#discography .btn-sm:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #discography .card {
    transition: none;
  }

  #discography .card:hover {
    transform: none;
  }
}

/* ==========================================
   PROFILE / GUIDELINE / CONTACT
   ========================================== */
.profile-content, .guideline-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-item {
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-top: 2px solid var(--primary-blue);
}

.service-item h3 {
  margin-bottom: 8px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.service-action {
  margin-top: 30px;
  text-align: center;
}

.service-action p {
  margin-bottom: 16px;
}

@media (max-width: 520px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.profile-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.subsection-title {
  font-size: 1rem;
  margin: 25px 0 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 5px;
}

.guideline-box h3 {
  font-family: var(--font-serif);
  margin-bottom: 15px;
}

.guideline-link {
  margin-top: 20px;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-blue);
  color: #ffffff;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

/* Form Styles */
.contact-lead {
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.9rem;
}

.contact-form {
  background: #ffffff;
  padding: 30px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 3px;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--bg-color);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #65727b;
  opacity: 1;
}

.btn-submit {
  width: 100%;
  padding: 12px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 40px 0;
  font-size: 0.75rem;
  color: #7a8b99;
}

/* Responsive (Mobile) */
@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header {
    padding: 15px 20px;
  }
  .nav ul {
    gap: 10px;
  }
  .nav a {
    font-size: 0.75rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 520px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}