/*
Theme Name: Tokyo Pop Project
Theme URI: https://tokyo-pop.studio
Description: TOKYO POP PROJECT 公式レーベルサイト用 WordPressテーマ
Author: Quad Competence LLC
Version: 2.0.0
License: All Rights Reserved
Text Domain: tokyo-pop-project
*/

/* ========================================
   CSS カスタムプロパティ
   ======================================== */
:root {
  --bg:          #1a0a1e;
  --bg-warm:     #2d0f28;
  --fg:          #ffffff;
  --fg-muted:    rgba(255,255,255,0.65);
  --teal:        #2ac4b0;
  --teal-light:  #5ddece;
  --teal-glow:   rgba(42,196,176,0.25);
  --magenta:     #c940a8;
  --magenta-light:#e060c8;
  --magenta-glow:rgba(201,64,168,0.2);
  --pink:        #f07090;
  --card-bg:     rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.1);
  --radius:      16px;
}

/* ========================================
   リセット & ベース
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 60% at 0% 0%,   rgba(201,64,168,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 80%  50% at 100% 30%, rgba(42,196,176,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 100% 80% at 50% 100%, rgba(45,15,40,0.8) 0%, transparent 70%);
  color: var(--fg);
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========================================
   ユーティリティ
   ======================================== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.gradient-text {
  background: linear-gradient(90deg, var(--teal-light) 0%, #ffffff 40%, var(--magenta-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tag {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal-light);
  border: 1px solid rgba(42,196,176,0.35);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ========================================
   ヘッダー
   ======================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: linear-gradient(to bottom, rgba(10,5,20,0.90) 0%, rgba(10,5,20,0.40) 70%, transparent 100%);
  transition: background 0.4s, padding 0.4s;
}

.site-header.scrolled {
  background: rgba(26,10,30,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(42,196,176,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 100px;
  width: auto;
  /* ロゴを明るい背景でも見えるよう影を追加 */
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.8)) drop-shadow(0 0 12px rgba(0,0,0,0.6));
}

.site-logo-text {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.site-logo-text span {
  color: var(--teal-light);
}

.site-nav {
  display: flex;
  gap: 36px;
  list-style: none;
}

.site-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  font-weight: 600;
}

.site-nav a:hover { color: var(--teal-light); }

/* ========================================
   Hero セクション
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  padding: 0 0 120px;  /* 80px→120px でテキストを下に */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img, .hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero-bg-image {
  position: relative;
  z-index: 1;
  transition: opacity 1s ease;
}
.hero-bg-video {
  position: absolute; inset: 0;
  z-index: 2;
  transition: opacity 1s ease;
}
.hero-bg-video--hidden { opacity: 0; }
.hero-bg-overlay { z-index: 3; }

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,  rgba(26,10,30,0.88) 0%, rgba(26,10,30,0.30) 60%, transparent 100%),
    linear-gradient(to top,    rgba(26,10,30,0.95) 0%, rgba(26,10,30,0.40) 40%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 40px;
  max-width: 680px;
  animation: fadeInUp 1s 0.3s ease both;
}

.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
  display: block;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}

.hero-title-sub {
  font-size: clamp(1rem, 2.2vw, 1.6rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 28px;
  display: block;
}

.hero-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  max-width: 460px;
  margin-bottom: 36px;
  letter-spacing: 0.03em;
}

/* SNS ボタン（Hero） */
.hero-socials {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.hero-socials-row {
  align-items: center;
}

/* 公式バッジ／アイコン共通レイアウト */
.stream-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.stream-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  line-height: 1;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.stream-link:hover { transform: translateY(-2px); filter: brightness(1.12); }
.stream-link picture,
.stream-link img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}
.stream-link--icon-only,
.stream-link--icon-only img {
  width: 40px;
  height: 40px;
}
.stream-link--icon-only img { object-fit: contain; }

/* 枠付きバッジ（New Release / フッター） */
.nr-card__streams {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.nr-card__streams .stream-link,
.social-links .stream-link {
  width: 100%;
  height: auto;
  min-height: 62px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  box-sizing: border-box;
}
.nr-card__streams .stream-link picture,
.social-links .stream-link picture {
  display: block;
  width: 100%;
  height: 40px;
}
.nr-card__streams .stream-link img,
.social-links .stream-link img {
  display: block;
  width: 100%;
  height: 40px;
  object-fit: contain;
}
.social-links .stream-link {
  width: auto;
  min-width: 140px;
}
.social-links .stream-link--icon-only {
  width: 60px;
  min-width: 60px;
}
.social-links .stream-link--icon-only img {
  width: 100%;
  height: 40px;
  object-fit: contain;
}

@media (max-width: 640px) {
  .stream-link,
  .stream-link picture,
  .stream-link img {
    width: 40px;
    height: 40px;
  }
  .stream-link img { object-fit: contain; }

  /* モバイルではフレームを解除 */
  .nr-card__streams,
  .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .social-links { justify-content: center; }
  .nr-card__streams .stream-link,
  .social-links .stream-link,
  .social-links .stream-link--icon-only {
    width: 40px;
    height: 40px;
    min-width: 0;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
  }
  .nr-card__streams .stream-link picture,
  .nr-card__streams .stream-link img,
  .social-links .stream-link picture,
  .social-links .stream-link img,
  .social-links .stream-link--icon-only img {
    width: 40px;
    height: 40px;
  }
}

/* Linktree ボタン（Hero） */
.hero-social-btn--linktree {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  transition: all 0.25s ease;
}
.hero-social-btn--linktree:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* ========================================
   セクション共通
   ======================================== */
.section-header { text-align: center; margin-bottom: 56px; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
}

.section-lead {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.8;
  letter-spacing: 0.05em;
}

/* ========================================
   New Release セクション
   ======================================== */
.new-release-section { padding: 100px 0 40px; }

.new-release-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.nr-card {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.nr-card:hover {
  transform: translateY(-4px);
  border-color: rgba(42,196,176,0.3);
  box-shadow: 0 16px 40px rgba(42,196,176,0.12);
}

.nr-card__cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #2d1040, #1a0a1e);
}
.nr-card__cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.nr-card:hover .nr-card__cover img { transform: scale(1.05); }

.nr-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.nr-card__badge--now {
  background: rgba(42,196,176,0.85);
  color: #0d1d1a;
}
.nr-card__badge--soon {
  background: rgba(201,64,168,0.85);
  color: #fff;
}

.nr-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.nr-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.nr-card__artist {
  font-size: 0.78rem;
  color: var(--magenta-light);
  letter-spacing: 0.08em;
}
.nr-card__date {
  font-size: 0.72rem;
  color: var(--fg-muted);
  letter-spacing: 0.1em;
}

.nr-card__countdown {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--teal-light);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}
.nr-card__countdown strong {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0;
}

.nr-card__streams {
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 900px) {
  .new-release-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .nr-card__title { font-size: 0.95rem; }
  .nr-card__body { padding: 14px 14px 16px; }
}

@media (max-width: 767px) {
  .new-release-grid { grid-template-columns: 1fr; }
}

/* ========================================
   Artists セクション
   ======================================== */
.artists-section { padding: 120px 0; }

.artists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.artist-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  aspect-ratio: 3/4;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.artist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(42,196,176,0.15), 0 0 0 1px rgba(42,196,176,0.2);
}

.artist-card-image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.4s ease;
  filter: brightness(0.88);
}

.artist-card:hover .artist-card-image {
  transform: scale(1.05);
  filter: brightness(1);
}

.artist-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,10,30,0.92) 0%, rgba(26,10,30,0.3) 50%, transparent 75%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
}

.artist-card-genre {
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s ease;
}

.artist-card:hover .artist-card-genre { opacity: 1; transform: none; }

.artist-card-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.artist-card-name-en {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 16px;
}

.artist-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--teal-light);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.3s 0.05s ease;
}

.artist-card:hover .artist-card-cta { opacity: 1; transform: none; }
.artist-card-cta::after { content: '→'; transition: transform 0.2s; }
.artist-card:hover .artist-card-cta::after { transform: translateX(4px); }

/* アーティストロゴ（カード左上オーバーレイ） */
.artist-card-logo {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  max-width: 55%;
  pointer-events: none;
}

.artist-card-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.6));
}

/* Coming Soon */
.artist-card--soon .artist-card-image { filter: grayscale(100%) brightness(0.35); }
.artist-card--soon .artist-card-name { color: var(--fg-muted); }
.artist-card--soon::before {
  content: 'COMING SOON';
  position: absolute; top: 16px; right: 16px;
  font-size: 0.55rem; letter-spacing: 0.3em;
  color: var(--teal-light);
  border: 1px solid rgba(42,196,176,0.3);
  padding: 4px 10px; border-radius: 100px;
  z-index: 2;
}

/* ========================================
   YouTube セクション
   ======================================== */
.youtube-section { padding: 0 0 120px; }

.youtube-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.youtube-embed {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.youtube-embed:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(201,64,168,0.15);
}

.youtube-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* ========================================
   About セクション
   ======================================== */
.about-section {
  padding: 120px 0;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42,196,176,0.3), transparent);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about-side-label {
  position: sticky;
  top: 120px;
}

.about-side-label .section-title { text-align: left; }

.about-label-logo {
  margin-top: 28px;
  max-width: 220px;
}
.about-label-logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.about-text p {
  font-size: 1rem;
  line-height: 2.0;
  color: rgba(255,255,255,0.72);
  margin-bottom: 1.5em;
  letter-spacing: 0.04em;
}

/* ========================================
   SNSリンク（フッター上）
   ======================================== */
.social-section { padding: 0 0 80px; }

.social-links {
  justify-content: center;
}

/* X / Linktree のフォールバックボタン（公式バッジ非対応のため従来スタイルを維持） */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  border: 1.5px solid;
  height: 40px;
  transition: all 0.25s ease;
}

.social-link--twitter {
  border-color: rgba(255,255,255,0.2);
  color: var(--fg-muted);
  background: rgba(255,255,255,0.04);
}
.social-link--twitter:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
}

.social-link--linktree {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.04);
}
.social-link--linktree:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
  transform: translateY(-2px);
}

/* ========================================
   フッター
   ======================================== */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--teal-light); }

.site-footer p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.12em;
}

/* ========================================
   アニメーション
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 0.1s; }
.reveal--d2 { transition-delay: 0.2s; }
.reveal--d3 { transition-delay: 0.3s; }
.reveal--d4 { transition-delay: 0.4s; }

/* ========================================
   ハンバーガーボタン（モバイルのみ）
   ======================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

/* 開いた状態：× */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========================================
   モバイルメニュー（ドロップダウン）
   ======================================== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(26,10,30,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 150;
  padding: 100px 40px 48px;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  border-bottom: 1px solid rgba(42,196,176,0.15);
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu a {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--teal-light); }

/* ========================================
   トップへ戻るボタン
   ======================================== */
.back-to-top {
  display: flex;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(26,10,30,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(42,196,176,0.3);
  color: var(--teal-light);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  z-index: 90;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: rgba(42,196,176,0.15);
  border-color: rgba(42,196,176,0.7);
}

/* ========================================
   WordPress 管理バー
   ======================================== */
.admin-bar .site-header { top: 32px; }

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-side-label { position: static; }
  .about-side-label .section-title { text-align: center; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
  .hero-content { padding: 0 24px; }
}

@media (max-width: 640px) {
  .hero { align-items: flex-end; justify-content: center; text-align: left; padding: 0 0 60px; }
  .hero-content { max-width: 100%; }
  .hero-desc { margin-left: 0; margin-right: 0; }
  .hero-socials { align-items: flex-start; }
  .hero-socials-row { justify-content: flex-start; }
  .artists-grid { grid-template-columns: 1fr; gap: 16px; }
  .youtube-grid { grid-template-columns: 1fr; }
}

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