/* レガシー LP・特集バナー・toroku（index_mj.html ゲスト／会員差し替え用） */
.mj-legacy-lp-header .logo {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
}
.mj-legacy-lp-header .logo a {
  display: block;
  line-height: 0;
}
.mj-legacy-lp-band {
  display: block;
  vertical-align: top;
}
.mj-feature-banner-link {
  display: block;
  line-height: 0;
  margin: 0 0 12px;
}
.mj-feature-banner-link img {
  display: block;
  width: 100%;
  height: auto;
}
.mj-member-logo-header {
  text-align: center;
  margin: 0 0 8px;
}
.mj-member-logo-header .logo {
  margin: 0;
  font-size: 1em;
  font-weight: normal;
}
.mj-member-logo-header .logo img {
  max-width: 100%;
  height: auto;
}
.toroku.mj-toroku {
  text-align: center;
  margin: 16px 0;
}
.toroku.mj-toroku a {
  display: inline-block;
  line-height: 0;
}
.toroku.mj-toroku img {
  max-width: 100%;
  height: auto;
}
.mj-search-wrap .member-search-form {
  margin-top: 0;
}

body {
  margin: 0;
}

.mj-page {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  background: #f7f8fc;
  color: #000;
  --brand: #ff5c93;
  --brand-deep: #000;
  --brand-tint-0: #fff8fa;
  --brand-tint-1: #ffe8f2;
  --brand-line: #f0b8d0;
}

/* システム側の h1/h2/h3/p などグローバルスタイルをリセット */
.mj-page h1,
.mj-page h2,
.mj-page h3,
.mj-page h4,
.mj-page p {
  background: none;
  background-color: transparent;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  font-size: inherit;
  color: inherit;
  text-align: left;
  line-height: inherit;
  font-weight: inherit;
}

/* ヘッダー */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.site-header.is-search-open {
  border-bottom-color: transparent;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.site-header-inner {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 16px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  text-decoration: none;
}

.site-logo img {
  display: block;
  height: 28px;
  width: auto;
}

/* 検索：通常は虫眼鏡のみ — タップでパネル展開 */
.header-search-trigger {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  margin: 0 0 0 auto;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #f1f2f6;
  color: #000;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header-search-trigger:hover {
  background: #e8eaf0;
}

.header-search-trigger:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.header-search-trigger-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.75;
}

.site-header.is-search-open .header-search-trigger {
  background: #e2e4ea;
}

.header-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 1;
  padding: 10px 16px 14px;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  animation: header-search-panel-in 0.22s ease-out;
}

@keyframes header-search-panel-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-search-panel {
    animation: none;
  }
}

.header-search-panel[hidden] {
  display: none;
}

.header-search-panel-inner {
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  background: #f1f2f6;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

.header-search-panel-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.55;
}

.header-search-panel-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-size: 16px;
  color: #000;
  outline: none;
}

.header-search-panel-input::placeholder {
  color: #999;
}

.header-search-close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-right: -6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #333;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.header-search-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.header-search-close:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
}

.header-search-close-icon {
  display: block;
  margin-top: -2px;
  font-weight: 500;
}

.header-btn-login {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

/* コンテナ */
.container {
  max-width: 420px;
  margin: 0 auto;
  padding: 0 16px 24px;
}

/*
 * LP締めCTA：本文セクションと役割を分ける
 * - 全幅のダーク帯（新着ピンク帯のようにページから切り出す）
 * - タイポは「記事〕ではなくキャッチ＋署名」寄り
 * - 下色をフッター #0c0c0c に寄せて段差なくつなぐ
 */
.section.section--cta {
  position: relative;
  text-align: center;
  margin: 32px calc(50% - 50vw) 0;
  width: 100vw;
  max-width: 100vw;
  padding: 40px 20px 44px;
  box-sizing: border-box;
  border: none;
  border-top: 4px solid var(--brand);
  border-radius: 0;
  background: linear-gradient(
    180deg,
    #2a1e32 0%,
    #16101c 42%,
    #0f0c12 78%,
    #0c0c0c 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 -8px 36px rgba(0, 0, 0, 0.12);
  margin-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}

/* ライブ会場風：ステージ灯光のうねり＋客席のきらめき */
@keyframes cta-live-lights {
  0%,
  100% {
    opacity: 0.88;
    transform: translate(0, 0) scale(1) rotate(0deg);
    filter: brightness(1) saturate(1);
  }
  22% {
    opacity: 1;
    transform: translate(2.5%, -1.5%) scale(1.04) rotate(0.3deg);
    filter: brightness(1.15) saturate(1.15);
  }
  48% {
    opacity: 0.9;
    transform: translate(-3%, 2%) scale(1.02) rotate(-0.35deg);
    filter: brightness(1.08) saturate(1.05);
  }
  72% {
    opacity: 1;
    transform: translate(1.5%, 1%) scale(1.05) rotate(0.2deg);
    filter: brightness(1.12) saturate(1.12);
  }
}

@keyframes cta-live-sparkle {
  0%,
  100% {
    opacity: 0.5;
    filter: brightness(1);
  }
  15% {
    opacity: 0.68;
    filter: brightness(1.18);
  }
  28% {
    opacity: 0.46;
    filter: brightness(1);
  }
  38% {
    opacity: 0.92;
    filter: brightness(1.45);
  }
  52% {
    opacity: 0.55;
    filter: brightness(1.08);
  }
  64% {
    opacity: 0.82;
    filter: brightness(1.32);
  }
  79% {
    opacity: 0.48;
    filter: brightness(1);
  }
}

@keyframes cta-sparkle-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(1.3%, -0.9%) scale(1.02);
  }
  66% {
    transform: translate(-1.1%, 1.2%) scale(1.015);
  }
}

@keyframes cta-headline-reveal {
  from {
    opacity: 0;
    transform: translateY(0.55em);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cta-headline-shimmer {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes cta-headline-glow {
  0%,
  100% {
    filter:
      drop-shadow(0 2px 14px rgba(0, 0, 0, 0.4))
      drop-shadow(0 0 20px rgba(255, 92, 147, 0.22));
  }
  50% {
    filter:
      drop-shadow(0 2px 18px rgba(0, 0, 0, 0.45))
      drop-shadow(0 0 36px rgba(255, 92, 147, 0.42))
      drop-shadow(0 0 52px rgba(186, 230, 253, 0.18));
  }
}

.section.section--cta::before {
  content: "";
  position: absolute;
  inset: -25% -10% -15%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 52% at 50% 112%, rgba(255, 45, 110, 0.42) 0%, transparent 58%),
    radial-gradient(ellipse 38% 36% at 18% 88%, rgba(147, 51, 234, 0.32) 0%, transparent 52%),
    radial-gradient(ellipse 38% 36% at 82% 88%, rgba(56, 189, 248, 0.22) 0%, transparent 52%),
    radial-gradient(ellipse 100% 55% at 50% -5%, rgba(255, 210, 230, 0.18) 0%, transparent 48%);
  animation: cta-live-lights 9.5s ease-in-out infinite;
}

.section.section--cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.58;
  background-image:
    radial-gradient(circle at 6% 18%, rgba(255, 255, 255, 0.95) 0px, transparent 2px),
    radial-gradient(circle at 14% 42%, rgba(186, 246, 255, 0.92) 0px, transparent 2px),
    radial-gradient(circle at 22% 8%, rgba(255, 255, 255, 0.85) 0px, transparent 1.5px),
    radial-gradient(circle at 34% 55%, rgba(255, 228, 255, 0.9) 0px, transparent 2px),
    radial-gradient(circle at 41% 22%, rgba(255, 255, 255, 0.78) 0px, transparent 1.5px),
    radial-gradient(circle at 52% 68%, rgba(165, 243, 252, 0.95) 0px, transparent 2px),
    radial-gradient(circle at 58% 32%, rgba(255, 255, 255, 0.82) 0px, transparent 1.5px),
    radial-gradient(circle at 71% 12%, rgba(255, 255, 255, 0.88) 0px, transparent 2px),
    radial-gradient(circle at 79% 48%, rgba(224, 242, 254, 0.75) 0px, transparent 1.5px),
    radial-gradient(circle at 88% 28%, rgba(255, 255, 255, 0.9) 0px, transparent 2px),
    radial-gradient(circle at 93% 58%, rgba(186, 230, 253, 0.85) 0px, transparent 2px),
    radial-gradient(circle at 11% 74%, rgba(255, 255, 255, 0.62) 0px, transparent 2.5px),
    radial-gradient(circle at 27% 88%, rgba(200, 250, 255, 0.58) 0px, transparent 2px),
    radial-gradient(circle at 43% 82%, rgba(255, 255, 255, 0.7) 0px, transparent 2px),
    radial-gradient(circle at 56% 94%, rgba(255, 255, 255, 0.52) 0px, transparent 2px),
    radial-gradient(circle at 69% 78%, rgba(255, 182, 220, 0.65) 0px, transparent 2px),
    radial-gradient(circle at 84% 86%, rgba(255, 255, 255, 0.6) 0px, transparent 2px),
    radial-gradient(circle at 19% 62%, rgba(255, 92, 147, 0.4) 0px, transparent 3px),
    radial-gradient(circle at 74% 64%, rgba(56, 189, 248, 0.45) 0px, transparent 3px),
    radial-gradient(circle at 48% 44%, rgba(255, 255, 255, 0.35) 0px, transparent 1.5px),
    radial-gradient(circle at 63% 6%, rgba(255, 255, 255, 0.72) 0px, transparent 1.5px),
    radial-gradient(circle at 3% 52%, rgba(186, 230, 253, 0.68) 0px, transparent 1.5px),
    radial-gradient(circle at 97% 72%, rgba(255, 255, 255, 0.74) 0px, transparent 2px),
    radial-gradient(circle at 36% 94%, rgba(255, 255, 255, 0.45) 0px, transparent 1.8px),
    radial-gradient(circle at 82% 52%, rgba(236, 254, 255, 0.55) 0px, transparent 2px);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation:
    cta-live-sparkle 2.6s ease-in-out infinite,
    cta-sparkle-drift 11s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .section.section--cta::before,
  .section.section--cta::after {
    animation: none;
  }

  .section.section--cta::before {
    opacity: 0.92;
    transform: none;
  }

  .section.section--cta::after {
    opacity: 0.42;
    transform: none;
  }
}

.section.section--cta > .section-label,
.section.section--cta > h2,
.section.section--cta > .cta-lead,
.section.section--cta > .cta-checklist,
.section.section--cta > .btn,
.section.section--cta > .cta-footnote {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.section.section--cta > * {
  position: relative;
  z-index: 1;
}

.mj-page .section.section--cta h2 {
  font-size: clamp(21px, 5.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.3;
  margin: 0 0 14px;
  padding: 0;
  height: auto;
  text-align: center;
  background: linear-gradient(
    100deg,
    #e8dff5 0%,
    #ffffff 22%,
    #ffd8eb 38%,
    #ffffff 52%,
    #ffe5f3 68%,
    #faf7fc 82%,
    #ffffff 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation:
    cta-headline-reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    cta-headline-shimmer 7s ease-in-out 0.7s infinite,
    cta-headline-glow 4.2s ease-in-out 0.85s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .section.section--cta h2 {
    background: none;
    color: #faf7fc;
    -webkit-text-fill-color: #faf7fc;
    animation: none;
    text-shadow:
      0 2px 28px rgba(0, 0, 0, 0.45),
      0 0 24px rgba(255, 92, 147, 0.2);
    filter: none;
  }

  .hero h1 {
    background: none;
    color: #fff;
    -webkit-text-fill-color: #fff;
    animation: none;
    text-shadow:
      0 1px 3px rgba(0, 0, 0, 0.55),
      0 0 24px rgba(0, 0, 0, 0.35);
    filter: none;
  }
}

.section.section--cta .section-label {
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #ff8eba;
  text-shadow: 0 0 32px rgba(255, 92, 147, 0.35);
  margin-bottom: 10px;
}

.section.section--cta .cta-lead {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
  margin: 0 auto 20px;
  line-height: 1.7;
  max-width: 24em;
  font-weight: 500;
  text-align: center;
}

@keyframes cta-checklist-shine {
  0%,
  62% {
    transform: translateX(-120%);
    opacity: 0;
  }
  66% {
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* CTAメリット：整列は維持したまま、音楽っぽさ＋軽いドキドキ感 */
.section.section--cta .cta-checklist {
  list-style: none;
  margin: 0 auto 22px;
  padding: 15px 38px 14px 16px;
  max-width: 19em;
  text-align: left;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  border: 2px solid #1a1a1a;
  background: linear-gradient(
    152deg,
    #fff 0%,
    var(--brand-tint-0) 38%,
    var(--brand-tint-1) 100%
  );
  box-shadow:
    5px 5px 0 var(--brand),
    0 14px 32px rgba(255, 92, 147, 0.14);
}

.section.section--cta .cta-checklist::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 32%,
    rgba(255, 255, 255, 0.65) 50%,
    transparent 68%
  );
  transform: translateX(-100%);
  animation: cta-checklist-shine 5.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.section.section--cta .cta-checklist::after {
  content: "\2726";
  position: absolute;
  top: 11px;
  right: 11px;
  font-size: 14px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.72;
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 0 10px rgba(255, 92, 147, 0.35));
}

.section.section--cta .cta-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 11px 0;
  border-bottom: 1px dashed var(--brand-line);
  line-height: 1.55;
}

.section.section--cta .cta-checklist li:first-child {
  padding-top: 0;
}

.section.section--cta .cta-checklist li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.section.section--cta .cta-checklist li::before {
  content: "\266a";
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.4;
  color: var(--brand);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 8px rgba(255, 92, 147, 0.28);
}

.section.section--cta .cta-checklist .cta-checklist-text {
  flex: 1;
  padding: 1px 0 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #141414;
}

@media (prefers-reduced-motion: no-preference) {
  .section.section--cta .cta-checklist {
    transition:
      transform 0.22s ease,
      box-shadow 0.22s ease;
  }

  .section.section--cta .cta-checklist:hover {
    transform: translate(-3px, -3px);
    box-shadow:
      8px 8px 0 var(--brand),
      0 18px 38px rgba(255, 92, 147, 0.2);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section.section--cta .cta-checklist::before {
    animation: none;
    display: none;
  }

  .section.section--cta .cta-checklist:hover {
    transform: none;
  }
}

.section.section--cta .btn-primary {
  box-shadow:
    0 8px 34px rgba(255, 92, 147, 0.4),
    0 0 0 1px rgba(255, 210, 245, 0.5),
    0 0 50px rgba(255, 45, 140, 0.34),
    0 0 70px rgba(168, 85, 247, 0.2);
}

.section.section--cta .btn-primary::before {
  background: conic-gradient(
    from 0deg,
    #ff2d95,
    #ffe600,
    #ff00c8,
    #f0abfc,
    #a855f7,
    #fde047,
    #9333ea,
    #c026d3,
    #ff1493,
    #fef08a,
    #e879f9,
    #ff5c93,
    #7c3aed,
    #facc15,
    #ff2d95
  );
  filter: blur(10px) brightness(1.12) saturate(1.4);
}

.section.section--cta .btn-primary::after {
  background-color: #e91e78;
  background-image: linear-gradient(
      180deg,
      #ff7eb3 0%,
      #ff5c93 45%,
      #e8487e 100%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: auto, 80px 80px;
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, soft-light;
}

.section.section--cta .btn-primary-main,
.section.section--cta .btn-primary-sub {
  text-shadow:
    0 1px 3px rgba(80, 0, 40, 0.35),
    0 0 20px rgba(255, 255, 255, 0.15);
}

.section.section--cta .cta-footnote {
  margin: 16px auto 0;
  max-width: 32em;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.65;
  font-weight: 500;
}

/* ページフッター：LPが唐突に終わらないようにする足場 */
.site-footer {
  margin-top: 0;
  padding: 28px 16px 36px;
  background: #0c0c0c;
  color: rgba(255, 255, 255, 0.72);
  border-top: 3px solid var(--brand);
  font-size: 11px;
  line-height: 1.65;
}

.site-footer-inner {
  max-width: 420px;
  margin: 0 auto;
}

.site-footer-brand {
  margin: 0 0 10px;
  line-height: 0;
}

.site-footer-brand img {
  display: block;
  height: 26px;
  width: auto;
}

.site-footer-tagline {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 15px 0 22px;
  padding: 0;
  list-style: none;
}

.site-footer-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 92, 147, 0.4);
  padding-bottom: 1px;
}

.site-footer-links a:hover {
  color: #ffc2d8;
  border-bottom-color: #ffc2d8;
}

.site-footer-copy {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
}

.site-footer-meta {
  margin: 0;
  padding: 0;
}

.site-footer-meta .site-footer-copy {
  margin: 0 0 16px;
}

.site-footer-licence {
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.42);
  letter-spacing: 0.02em;
}

/* ヒーロー */
.hero {
  position: relative;
  border-radius: 0;
  margin: 0 -16px 16px;
  overflow: hidden;
}

.mj-page .hero h1 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
  height: auto;
  padding: 0;
  text-align: left;
  background: linear-gradient(
    100deg,
    #f0e8ff 0%,
    #ffffff 22%,
    #ffd8eb 36%,
    #ffffff 50%,
    #eef4ff 64%,
    #ffffff 80%,
    #ffe8f3 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation:
    cta-headline-reveal 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards,
    cta-headline-shimmer 7s ease-in-out 0.7s infinite,
    cta-headline-glow 4.2s ease-in-out 0.85s infinite;
}

/* リード文：背景なし、シャドウで可読性のみ */
.mj-page .hero-lead {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  color: rgba(255,255,255,0.95);
  margin: 0 0 18px;
  padding: 0;
  height: auto;
  background: none;
  background-color: transparent;
  text-align: left;
  text-shadow:
    0 1px 2px rgba(0,0,0,0.65),
    0 0 18px rgba(0,0,0,0.35);
}

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  margin-bottom: 8px;
  background: transparent;
  transition: transform 0.2s ease;
  z-index: 0;
}

.btn:active {
  transform: scale(0.98);
}

/* プライマリのみ：常時回転するグラデーションフレーム */
.btn-primary::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: -2;
  filter: blur(8px);
  animation: btn-spin 3s linear infinite;
  background: conic-gradient(
    from 0deg,
    #ff9ec4, var(--brand), #ffd5e7, var(--brand-deep),
    #ff9ec4, #ffb3d1, var(--brand), #ff9ec4
  );
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  z-index: -1;
  background-color: var(--brand-deep);
  /* 内側のフェルト状ノイズ（SVG fractalNoise） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 80px 80px;
  background-repeat: repeat;
  background-blend-mode: soft-light;
}

.btn-primary {
  flex-direction: column;
  gap: 6px;
  padding: 16px 22px 18px;
}

.btn-primary-main {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

.btn-primary-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.25;
  opacity: 0.88;
  text-shadow: 0 1px 1px rgba(0,0,0,0.15);
}

/* 気分診断：アニメーションなしのシンプルなガラスボタン */
.btn-sub {
  overflow: visible;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: rgba(20,16,40,0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* セクション */
.section {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
}

.mj-page .section h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  padding: 0;
  height: auto;
  background: none;
  background-color: transparent;
  color: inherit;
  text-align: left;
  line-height: 1.4;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}


.editorial-list,
.reason-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.editorial-item,
.reason-item {
  padding: 14px;
  border-radius: 12px;
  background: #f7f8fc;
}

.editorial-item strong,
.reason-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.editorial-item p,
.reason-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
}

.pick-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pick-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f7f8fc;
}

.pick-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pick-text {
  display: block;
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.problem-item {
  padding: 14px;
  border-radius: 12px;
  background: #f7f8fc;
}

.problem-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

.problem-item p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
}

/* START · GUIDE — 使い方（影なし・太さは他セクションと同系で読みやすさ優先） */
.section.section-start-guide {
  position: relative;
  margin-bottom: 16px;
  padding: 20px 16px 22px;
  border: 1px solid #1a1a1a;
  border-radius: 0;
  border-top: 3px solid var(--brand);
  background: linear-gradient(180deg, var(--brand-tint-0) 0%, #fff 55%);
  box-sizing: border-box;
  overflow: hidden;
}

.section-start-guide::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: repeating-linear-gradient(
    118deg,
    transparent 0,
    transparent 16px,
    rgba(255, 92, 147, 0.03) 16px,
    rgba(255, 92, 147, 0.03) 17px
  );
}

.section-start-guide > * {
  position: relative;
  z-index: 1;
}

.section-start-guide .section-label {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.section-start-guide h2 {
  margin: 0 0 16px !important;
  padding: 0 0 0 14px !important;
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
  border-left: 4px solid #000 !important;
  font-size: clamp(19px, 4.6vw, 24px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.3 !important;
  color: #000 !important;
  text-align: left !important;
}

.section-start-guide .start-guide-flow-lead {
  margin: -8px 0 14px;
  padding: 10px 12px;
  height: auto;
  border: 1px solid #000;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  color: #000;
  text-align: left;
}

.section-start-guide .start-guide-flow-lead strong {
  font-weight: 800;
  color: var(--brand);
}

.section-start-guide .start-guide-illo {
  margin: 0 0 18px;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  overflow: hidden;
  border-radius: 0;
}

.section-start-guide .start-guide-illo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.section-start-guide .start-guide-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-start-guide .start-guide-step {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 10px 10px;
  align-items: start;
}

.section-start-guide .start-guide-step-track {
  position: relative;
  grid-row: 1;
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.section-start-guide .start-guide-step-body {
  grid-row: 1;
  grid-column: 2;
  min-width: 0;
}

.section-start-guide .start-guide-step-index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid #000;
  background: var(--brand);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  color: #000;
  flex-shrink: 0;
}

.section-start-guide .start-guide-step:nth-child(2) .start-guide-step-index {
  background: #fff;
}

.section-start-guide .start-guide-step:nth-child(3) .start-guide-step-index {
  background: var(--brand-tint-1);
}

.section-start-guide .start-guide-step:not(:last-child) .start-guide-step-track::after {
  content: "";
  flex: 1;
  min-height: 20px;
  width: 2px;
  margin-top: 6px;
  background: #000;
}

.section-start-guide .start-guide-step-card {
  position: relative;
  padding: 40px 14px 16px;
  border: 1px solid #000;
  border-radius: 0;
  background: #fff;
  transition: background 0.15s ease;
}

.section-start-guide .start-guide-step-card:hover {
  background: var(--brand-tint-0);
}

.section-start-guide .start-guide-step:nth-child(2) .start-guide-rail {
  background: var(--brand);
  color: #000;
}

.section-start-guide .start-guide-rail {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  padding: 6px 12px;
  background: #000;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-sizing: border-box;
}

.section-start-guide .start-guide-rail-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.section-start-guide .start-guide-rail-label strong {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.section-start-guide .start-guide-rail-total {
  font-weight: 600;
  opacity: 0.85;
}

.section-start-guide .start-guide-step:nth-child(2) .start-guide-rail-total {
  opacity: 0.9;
}

.section-start-guide .start-guide-rail-done {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section-start-guide .start-guide-step:nth-child(3) .start-guide-rail {
  justify-content: space-between;
}

.section-start-guide .start-guide-step-title {
  display: block;
  margin: 0 0 8px;
  padding: 0;
  height: auto;
  background: none;
  background-color: transparent;
  font-size: clamp(15px, 3.9vw, 17px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: #000;
  text-align: left;
}

.section-start-guide .start-guide-step-text {
  margin: 0;
  padding: 0;
  height: auto;
  background: none;
  background-color: transparent;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: #444;
  text-align: left;
}

.section-start-guide .start-guide-next {
  grid-row: 2;
  grid-column: 1 / -1;
  margin: 0;
  padding: 10px 4px 0;
  height: auto;
  background: none;
  background-color: transparent;
  border: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  color: #000;
}

.section-start-guide .start-guide-next span {
  color: var(--brand);
  font-weight: 800;
}

/* ABOUT MOOD PICK — フラット×ピンク/黒のみ（角丸なし・影なし） */
.section.section-about-mood {
  position: relative;
  border-radius: 0;
  --ab-hot-pink: #ff5c93;
  --ab-pink-soft: #ffd5e7;
  --ab-pink-band: #ffd5e7;
  --ab-ink: #000;
  --ab-stripe-light: rgba(255, 255, 255, 0.2);
  --ab-stripe-shadow: rgba(0, 0, 0, 0.035);
  background-color: var(--ab-pink-soft);
  color: var(--ab-ink);
  padding: 0;
  margin: 0 0 24px;
  width: 100%;
  max-width: 420px;
  box-sizing: border-box;
  border: 1px solid #000;
  overflow: visible;
  box-shadow: none;
}

.about-mood-accent-rule {
  height: 3px;
  background: var(--ab-hot-pink);
  border-bottom: 1px solid #000;
}

.about-mood-hero {
  padding: 22px 18px 18px;
  border-bottom: 1px solid #000;
  background-color: var(--ab-pink-soft);
  background-image: repeating-linear-gradient(
    122deg,
    transparent 0,
    transparent 11px,
    var(--ab-stripe-light) 11px,
    var(--ab-stripe-light) 12px
  );
}

.about-mood-hero .about-mood-hero-illo {
  margin: 0;
  padding: 0;
  border: 1px solid #000;
  border-bottom: none;
  background: #fff;
  overflow: hidden;
  border-radius: 0;
}

.about-mood-hero .about-mood-hero-illo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.about-mood-points {
  padding: 18px 14px 16px;
  background-color: var(--ab-pink-band);
  /* 縦横の極薄グリッド（上段と質感を変える） */
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 28px,
      var(--ab-stripe-light) 28px,
      var(--ab-stripe-light) 29px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 22px,
      var(--ab-stripe-shadow) 22px,
      var(--ab-stripe-shadow) 23px
    );
}

.about-mood-points-head {
  margin: 0 0 16px !important;
  padding: 0 4px 14px !important;
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
  font-size: clamp(16px, 4.4vw, 19px) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.25 !important;
  color: #000 !important;
  text-align: center !important;
  border-bottom: none !important;
  position: relative;
}

.about-mood-points-head::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(
    90deg,
    var(--ab-hot-pink) 0%,
    var(--ab-hot-pink) 20%,
    #000 20%,
    #000 80%,
    var(--ab-hot-pink) 80%,
    var(--ab-hot-pink) 100%
  );
}

.section-about-mood .section-label {
  display: block;
  color: #000;
  letter-spacing: 0.12em;
  font-size: 10px;
  font-weight: 600;
  margin: 0 0 10px;
}

.section-about-mood h2 {
  font-size: clamp(24px, 6.5vw, 34px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.18 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  height: auto !important;
  background: none !important;
  color: var(--ab-ink) !important;
  text-align: left !important;
}

.section-about-mood .subcopy {
  margin: 0 0 12px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--ab-ink);
  opacity: 0.75;
  letter-spacing: -0.01em;
  max-width: 36em;
}

.section-about-mood .about-mood-em {
  font-weight: 600;
  color: #000;
  opacity: 1;
}

.about-mood-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-mood-feature {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 0;
  padding: 0;
  margin: 0;
  border: 1px solid #000;
  border-top: 3px solid var(--ab-hot-pink);
  background: #fff;
  align-items: stretch;
  box-sizing: border-box;
  overflow: hidden;
}

.about-mood-feature:last-child {
  margin-bottom: 0;
}

.about-mood-feature-icon {
  width: 100%;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-right: 1px solid #000;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  box-sizing: border-box;
  background: #000;
  color: var(--ab-pink-soft);
}

.about-mood-feature:nth-child(even) .about-mood-feature-icon {
  background: var(--ab-hot-pink);
  color: #000;
}

.about-mood-feature-body {
  min-width: 0;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-mood-point-label {
  display: inline-block;
  align-self: flex-start;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--ab-hot-pink);
  background: #000;
  padding: 5px 10px 4px;
  margin: 0 0 10px;
  line-height: 1;
}

.about-mood-feature-title {
  margin: 0 0 8px;
  padding: 0;
  height: auto;
  background: none;
  background-color: transparent;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.035em;
  color: #000;
  text-align: left;
}

.about-mood-feature p {
  margin: 0;
  padding: 0 0 0 10px;
  height: auto;
  background: none;
  background-color: transparent;
  border-left: 2px solid var(--ab-hot-pink);
  font-size: 11px;
  line-height: 1.55;
  color: #000;
  text-align: left;
  opacity: 0.7;
}

/* 下記 .intro-* は視覚エリア用（section-about-mood 内で上書きあり） */

.intro-diagram-caption {
  margin: 0 0 8px;
  padding: 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  color: #000;
  text-align: center;
}

.intro-diagram {
  margin: 0 0 12px;
  padding: 12px 14px 12px;
  border-radius: 0;
  border: 2px solid rgba(255, 255, 255, 0.65);
  background: linear-gradient(
    130deg,
    #fff0f3 0%,
    #fff9e6 18%,
    #e8fff4 38%,
    #e8f4ff 58%,
    #ffe8f2 78%,
    #ffe8f0 100%
  );
  background-size: 240% 240%;
  animation: intro-bg-pan 10s ease-in-out infinite;
}

@keyframes intro-bg-pan {
  0%, 100% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
}

.intro-diagram-stage {
  position: relative;
  width: 304px;
  max-width: 100%;
  height: 196px;
  margin: 0 auto;
}

/* はてなボックス：弾けて消える */
.intro-mystery-box {
  position: absolute;
  left: 50%;
  top: 56px;
  width: 88px;
  height: 88px;
  margin-left: -44px;
  border-radius: 0;
  background: linear-gradient(145deg, #ffeaa7 0%, #fab1a0 35%, #fd79a8 70%, #ff9ec4 100%);
  border: 3px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: intro-box-vanish 6.5s ease-in-out infinite;
}

.intro-mystery-q {
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

@keyframes intro-box-vanish {
  0%, 20% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
  34%, 44% {
    opacity: 1;
    transform: scale(1.08) rotate(-3deg);
    filter: blur(0);
  }
  52% {
    opacity: 1;
    transform: scale(1.12) rotate(2deg);
    filter: blur(0);
  }
  58% {
    opacity: 0;
    transform: scale(0.15) rotate(8deg);
    filter: blur(12px);
  }
  59%, 100% {
    opacity: 0;
    transform: scale(0);
    filter: blur(12px);
    pointer-events: none;
  }
}

/* チップ：色面でバラエティ */
.intro-chip {
  position: absolute;
  z-index: 4;
  width: 28px;
  height: 28px;
  border-radius: 0;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  animation: intro-chip-in 6.5s ease-in-out infinite;
}

.intro-chip--1 {
  left: 18px;
  top: 14px;
  animation-delay: 0s;
  --dx: 120px;
  --dy: 72px;
  background: linear-gradient(145deg, #00cec9, #55efc4);
}
.intro-chip--2 {
  right: 20px;
  top: 18px;
  animation-delay: 0.13s;
  --dx: -118px;
  --dy: 68px;
  background: linear-gradient(145deg, #fd79a8, #e84393);
}
.intro-chip--3 {
  left: 26px;
  bottom: 48px;
  animation-delay: 0.26s;
  --dx: 112px;
  --dy: -34px;
  background: linear-gradient(145deg, #ffeaa7, #fdcb6e);
  color: #d63031;
}
.intro-chip--4 {
  right: 24px;
  bottom: 52px;
  animation-delay: 0.39s;
  --dx: -114px;
  --dy: -30px;
  background: linear-gradient(145deg, #74b9ff, #0984e3);
}
.intro-chip--5 {
  left: 50%;
  top: 2px;
  margin-left: -14px;
  animation-delay: 0.065s;
  --dx: 0px;
  --dy: 84px;
  background: linear-gradient(145deg, #ff5c93, #000);
}

@keyframes intro-chip-in {
  0%, 20% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  28%, 38% {
    transform: translate(0, 0) scale(1.08) rotate(-5deg);
    opacity: 1;
  }
  52% {
    transform: translate(var(--dx), var(--dy)) scale(0.3) rotate(0deg);
    opacity: 0.5;
  }
  60%, 100% {
    transform: translate(var(--dx), var(--dy)) scale(0);
    opacity: 0;
  }
}

/* 「1曲」として出現：波形グラフのみ */
.intro-jacket-wrap {
  position: absolute;
  left: 50%;
  top: 60px;
  width: 116px;
  height: 80px;
  margin-left: -58px;
  z-index: 3;
  animation: intro-jacket-replace 6.5s ease-in-out infinite;
}

.intro-song {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border-radius: 0;
  border: 3px solid #fff;
  background: linear-gradient(105deg, #2d3436 0%, #444850 45%, #636e72 100%);
  padding: 12px 16px;
}

.intro-song-wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 52px;
}

.intro-song-wave span {
  width: 8px;
  border-radius: 0;
  transform-origin: bottom center;
  animation: intro-song-wave-bounce 1s ease-in-out infinite alternate;
}

.intro-song-wave span:nth-child(1) {
  height: 35%;
  background: #fd79a8;
  animation-delay: 0s;
}
.intro-song-wave span:nth-child(2) {
  height: 70%;
  background: #ffeaa7;
  animation-delay: 0.12s;
}
.intro-song-wave span:nth-child(3) {
  height: 100%;
  background: #55efc4;
  animation-delay: 0.24s;
}
.intro-song-wave span:nth-child(4) {
  height: 55%;
  background: #74b9ff;
  animation-delay: 0.36s;
}
.intro-song-wave span:nth-child(5) {
  height: 40%;
  background: #ff8fab;
  animation-delay: 0.48s;
}

@keyframes intro-song-wave-bounce {
  from { transform: scaleY(0.55); }
  to { transform: scaleY(1); }
}

@keyframes intro-jacket-replace {
  0%, 54% {
    opacity: 0;
    transform: scale(0.2) rotate(-8deg);
    filter: blur(8px);
  }
  60% {
    opacity: 0.92;
    transform: scale(1.06) rotate(2deg);
    filter: blur(0);
  }
  65%, 90% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    filter: blur(0);
  }
  96%, 100% {
    opacity: 0;
    transform: scale(0.85) rotate(4deg);
    filter: blur(4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-diagram {
    animation: none;
    background-size: 100% 100%;
  }
  .intro-mystery-box,
  .intro-chip,
  .intro-jacket-wrap {
    animation: none;
  }
  .intro-song-wave span {
    animation: none;
  }
  .intro-mystery-box {
    opacity: 0;
    transform: none;
  }
  .intro-jacket-wrap {
    opacity: 1;
    transform: none;
    filter: none;
  }
  .intro-chip {
    opacity: 0.9;
    transform: none;
  }
}

/* ABOUT 内の挿絵：ピンク/黒のみ（角丸なし・影なし） */
.section-about-mood .intro-diagram-caption {
  margin: 10px -12px 0;
  padding: 11px 14px 12px;
  background: #000;
  border-top: 3px solid var(--ab-hot-pink, #ff5c93);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--ab-hot-pink, #ff5c93);
  opacity: 1;
  text-align: center;
  box-sizing: border-box;
}

.section-about-mood .intro-diagram {
  margin: 0 0 0;
  padding: 10px 12px 0;
  border-radius: 0;
  border: 1px solid #000;
  border-top: none;
  background: #fff;
  background-image: none;
  animation: none;
}

.section-about-mood .intro-diagram-stage {
  width: 237px;
  max-width: 100%;
  height: 153px;
  margin: 0 auto;
}

.section-about-mood .intro-mystery-box {
  width: 69px;
  height: 69px;
  top: 44px;
  margin-left: -34.5px;
  border: 1px solid #000;
  background: var(--ab-hot-pink, #ff5c93);
}

.section-about-mood .intro-mystery-q {
  font-size: 33px;
  color: #000;
}

.section-about-mood .intro-chip {
  width: 22px;
  height: 22px;
  font-size: 9px;
  border: 1px solid #000;
}

.section-about-mood .intro-chip--1 {
  left: 14px;
  top: 11px;
  --dx: 94px;
  --dy: 56px;
  background: #000;
  color: #ffd5e7;
}
.section-about-mood .intro-chip--2 {
  right: 16px;
  top: 14px;
  --dx: -92px;
  --dy: 53px;
  background: #ffd5e7;
  color: #000;
}
.section-about-mood .intro-chip--3 {
  left: 20px;
  bottom: 37px;
  --dx: 87px;
  --dy: -27px;
  background: var(--ab-hot-pink, #ff5c93);
  color: #000;
}
.section-about-mood .intro-chip--4 {
  right: 19px;
  bottom: 41px;
  --dx: -89px;
  --dy: -23px;
  background: #fff;
  color: #000;
}
.section-about-mood .intro-chip--5 {
  left: 50%;
  top: 2px;
  margin-left: -11px;
  --dx: 0px;
  --dy: 65px;
  background: #000;
  color: #fff;
}

.section-about-mood .intro-jacket-wrap {
  width: 90px;
  height: 62px;
  top: 47px;
  margin-left: -45px;
}

.section-about-mood .intro-song {
  border: 1px solid #000;
  background: #000;
  padding: 9px 12px;
}

.section-about-mood .intro-song-wave {
  gap: 5px;
  height: 40px;
}

.section-about-mood .intro-song-wave span {
  width: 6px;
}

.section-about-mood .intro-song-wave span:nth-child(1) {
  background: #ffc2dc;
}
.section-about-mood .intro-song-wave span:nth-child(2) {
  background: #ff9ec4;
}
.section-about-mood .intro-song-wave span:nth-child(3) {
  background: #ff5c93;
}
.section-about-mood .intro-song-wave span:nth-child(4) {
  background: #ffa4c8;
}
.section-about-mood .intro-song-wave span:nth-child(5) {
  background: #ffd5e7;
}

.hero-note {
  margin-top: 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.hero-top-copy {
  text-align: center;
  margin-bottom: 14px;
}

.hero-visual {
  /* グリッドの高さで .hero を押し広げる土台 */
  position: relative;
  z-index: 0;
}

.hero-mosaic {
  border-radius: 0;
  overflow: hidden;
  background: #0a0a14;
  width: 100%;
}

/* グリッドの上に乗せる薄いオーバーレイ */
.hero-mosaic::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.30) 0%,
    rgba(0,0,0,0.10) 40%,
    rgba(0,0,0,0.45) 100%
  );
  z-index: 10;
  pointer-events: none;
}

/* テキスト・ボタンを乗せるコンテンツ層 */
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 20;
  padding: 20px 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-sizing: border-box;
}

.hero-content > .section-label {
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.65);
}

/* 下にCTAがあるため、パズル画の上にだけ追加の脚を置いてボタンを切り離す */
.hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: min(58%, 340px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.22) 38%,
    rgba(0, 0, 0, 0.68) 100%
  );
  pointer-events: none;
  z-index: -1;
}

.hero .btn-primary {
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 210, 240, 0.55),
    0 0 44px rgba(255, 45, 140, 0.38),
    0 0 64px rgba(168, 85, 247, 0.22);
}

/* フレーム：蛍光ピンク × 紫の回転グラデ */
.hero .btn-primary::before {
  background: conic-gradient(
    from 0deg,
    #ff2d95,
    #ffe600,
    #ff00c8,
    #f0abfc,
    #a855f7,
    #fde047,
    #9333ea,
    #c026d3,
    #ff1493,
    #fef08a,
    #e879f9,
    #ff5c93,
    #7c3aed,
    #facc15,
    #ff2d95
  );
  filter: blur(10px) brightness(1.12) saturate(1.4);
}

/* 塗り：ピンク本体（従来トーン） */
.hero .btn-primary::after {
  background-color: #e91e78;
  background-image: linear-gradient(
      180deg,
      #ff7eb3 0%,
      #ff5c93 45%,
      #e8487e 100%
    ),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: auto, 80px 80px;
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal, soft-light;
}

.hero .btn-primary-main,
.hero .btn-primary-sub {
  text-shadow:
    0 1px 3px rgba(80, 0, 40, 0.38),
    0 0 20px rgba(255, 255, 255, 0.14);
}

.hero .btn-sub {
  margin-top: 14px;
  background: rgba(12, 10, 30, 0.92);
  border-color: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-mosaic-grid {
  position: relative;
  width: 100%;
  /* 高さは JS が設定。タイルが配置されるまで非表示 */
  visibility: hidden;
  /* JS実行前でもヒーローエリアの高さを確保 */
  min-height: 340px;
}

.mosaic-tile {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
  transition: transform 320ms linear;
  will-change: transform;
}

.mosaic-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}


.puzzle-note {
  margin-top: 8px;
  font-size: 10px;
  color: #999;
  line-height: 1.6;
}


.subcopy {
  font-size: 12px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 12px;
}

/* 機能 */
.features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature {
  font-size: 14px;
}

/* CATEGORY ジャンル：無角・カテゴリ別差し色（上帯） */
.section.section-category {
  background: linear-gradient(180deg, var(--brand-tint-0) 0%, #fff 38%);
  border: 1px solid #1a1a1a;
  border-radius: 0;
  padding: 16px 14px 14px;
  box-shadow: none;
}

.section-category .section-label {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.section-category h2 {
  font-size: clamp(17px, 4.2vw, 21px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin: 0 0 14px;
  color: #000;
}

.section-category .genre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.section-category a.genre {
  display: block;
  text-decoration: none;
  color: inherit;
}

.section-category .genre {
  position: relative;
  padding: 14px 10px 12px;
  border-radius: 0;
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--genre-accent, var(--brand));
  background: #fff;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.02em;
  color: #000;
  box-sizing: border-box;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.section-category .genre:hover {
  background: var(--genre-hover, var(--brand-tint-1));
  border-color: #000;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.08);
}

/* カテゴリごとの差し色（上帯＋ホバー地のうすいティント） */
.section-category .genre:nth-child(1) {
  --genre-accent: #c2410c;
  --genre-hover: #ffedd5;
}

.section-category .genre:nth-child(2) {
  --genre-accent: #4f46e5;
  --genre-hover: #eef2ff;
}

.section-category .genre:nth-child(3) {
  --genre-accent: #0e7490;
  --genre-hover: #ecfeff;
}

.section-category .genre:nth-child(4) {
  --genre-accent: #db2777;
  --genre-hover: #fce7f3;
}

.section-category .genre:nth-child(5) {
  --genre-accent: #b91c1c;
  --genre-hover: #fee2e2;
}

.section-category .genre:nth-child(6) {
  --genre-accent: #0f766e;
  --genre-hover: #ccfbf1;
}

.section-category .genre:nth-child(7) {
  --genre-accent: #ca8a04;
  --genre-hover: #fef9c3;
}

.section-category .genre:nth-child(8) {
  --genre-accent: #334155;
  --genre-hover: #f1f5f9;
}

.section-category .genre:nth-child(9) {
  --genre-accent: #9333ea;
  --genre-hover: #f3e8ff;
}

.section-category .genre:nth-child(10) {
  --genre-accent: #92400e;
  --genre-hover: #ffedd5;
}

.section-category .genre small {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #555;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.section-member-search .member-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
}

.section-member-search .member-search-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  font-size: 15px;
  font-family: inherit;
  box-sizing: border-box;
}

.section-member-search .member-search-submit {
  flex: 0 0 auto;
}

/* リスト */
.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding: 10px 0;
  border-top: 1px solid #eee;
}

.list li:first-child {
  border-top: none;
}

.track {
  display: flex;
  gap: 10px;
}

.rank {
  font-weight: bold;
  color: #999;
  width: 24px;
}

.track-main {
  flex: 1;
}

.title {
  font-size: 14px;
  font-weight: bold;
}

.artist {
  font-size: 12px;
  color: #666;
}

/* ジャケなし楽曲リスト — 枠は about-mood 相当（1px・影なし）、レイアウトはカテゴリ別 */
.section.section-tracks {
  border-radius: 0;
  background: transparent;
  margin-bottom: 18px;
  padding: 0 14px 14px;
  box-sizing: border-box;
}

.section-tracks-accent {
  height: 3px;
  margin: 0 -14px 12px;
  border-bottom: 1px solid #000;
  box-sizing: border-box;
}

.section-tracks--rank .section-tracks-accent {
  background: #9a8560;
}

.section-tracks--fresh .section-tracks-accent {
  background: var(--brand);
}

.section-tracks--genre .section-tracks-accent {
  display: none;
}

.section-tracks h2 {
  font-size: clamp(19px, 4.8vw, 22px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 12px;
}

/* ━ A: ランキング = 縦スタック・カード（feature 風 1px + 上帯） */
.section-tracks--rank {
  margin-top: 8px;
  background: #f9f8f6;
  border: 1px solid #1a1a1a;
  box-shadow: none;
}

.section-tracks--rank .section-label {
  color: #5c5346;
  font-weight: 800;
}

.section-tracks--rank h2 {
  color: #000;
}

.section-tracks--rank .rank-section-illo {
  margin: 0 0 12px;
  padding: 0;
  border: 1px solid #2a2a2a;
  background: #fff;
  overflow: hidden;
  border-radius: 0;
}

.section-tracks--rank .rank-section-illo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.section-tracks--rank .track-pickup-list--stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.section-tracks--rank .track-pickup-list--stack > .track-pickup-item {
  margin: 0;
  border: 1px solid #2a2a2a;
  border-top: 2px solid #a8905c;
  background: #fff;
}

.section-tracks--rank .track-pickup-list--stack > .track-pickup-item:nth-child(1) {
  border-top-color: #b89a5e;
}

.section-tracks--rank .track-pickup-list--stack > .track-pickup-item:nth-child(2) {
  border-top-color: #9aa4b0;
}

.section-tracks--rank .track-pickup-list--stack > .track-pickup-item:nth-child(3) {
  border-top-color: #a67c52;
}

.section-tracks--rank .track-pickup-list--stack > .track-pickup-item:nth-child(4) {
  border-top-color: #c9c9cd;
}

/* 週刊ランキング：順位は数字のみ・無グラデのマットな質感 */
.section-tracks--rank .track-pickup-anchor {
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.section-tracks--rank .track-pickup-anchor--rank1 {
  font-size: 18px;
  background: #f3eee4;
  color: #2c2416;
  border-color: #b89a5e;
}

.section-tracks--rank .track-pickup-anchor--rank2 {
  font-size: 17px;
  background: #eceef1;
  color: #1c2128;
  border-color: #8f9aaa;
}

.section-tracks--rank .track-pickup-anchor--rank3 {
  font-size: 17px;
  background: #ebe4dc;
  color: #3d2f26;
  border-color: #a67c52;
}

.section-tracks--rank .track-pickup-anchor--rank4 {
  font-size: 14px;
  letter-spacing: 0.02em;
  background: #f4f4f5;
  color: #52525b;
  border-style: dashed;
  border-color: #b4b4b9;
  box-shadow: none;
}

.section-tracks--rank a.track-pickup-row {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s ease, box-shadow 0.28s ease;
}

.section-tracks--rank a.track-pickup-row:hover {
  transform: translateX(4px);
  background: rgba(0, 0, 0, 0.028);
  box-shadow: inset 3px 0 0 #9a8560;
}

.section-tracks-more {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

a.btn-rank-more {
  width: auto;
  max-width: 100%;
  margin-bottom: 0;
  padding: 11px 28px;
  color: #2c2416;
  background: #fff;
  border: 1px solid #2a2a2a;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.85) inset, 0 1px 2px rgba(0, 0, 0, 0.06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

a.btn-rank-more:hover {
  transform: none;
  background: #faf9f7;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 4px 18px rgba(0, 0, 0, 0.07);
}

a.btn-rank-more:active {
  transform: scale(0.99);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 1px 3px rgba(0, 0, 0, 0.08);
}

.section-tracks--rank .track-pickup-body {
  flex: 1;
  min-width: 0;
}

.section-tracks--rank .track-pickup-cue {
  color: #6b5d48;
  width: 22px;
  height: auto;
  min-height: 0;
  font-size: 9px;
  font-weight: 800;
  opacity: 0.42;
}

.section-tracks--rank .track-pickup-cue--muted {
  opacity: 0.22;
  font-size: 10px;
}

.section-tracks--rank .track-pickup-wave {
  height: 22px;
  gap: 2px;
  opacity: 0.72;
}

/* 新着ブロックの「奥」：ページ背景より手前・カードより後ろのピンク帯 + 波形境界 */
.fresh-tracks-backdrop {
  margin: 20px calc(50% - 50vw) 0;
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  position: relative;
  left: 0;
  right: 0;
  padding: 0;
  background: linear-gradient(
    180deg,
    #ffd5e7 0%,
    var(--brand) 42%,
    #ff7eb3 100%
  );
}

.fresh-tracks-backdrop-inner {
  max-width: 420px;
  margin: 0 auto;
  padding: 30px 16px 16px;
  box-sizing: border-box;
  background: transparent;
}

.fresh-tracks-backdrop-edge {
  display: block;
  width: 100%;
  line-height: 0;
}

.fresh-tracks-backdrop-edge--top svg,
.fresh-tracks-backdrop-edge--bottom svg {
  display: block;
  width: 100%;
  height: 28px;
}

.fresh-tracks-backdrop-edge--bottom svg {
  transform: scaleY(-1);
}

/* ━ B: 新着 = メダル風カード（枠内は白。`.section.section-tracks` の transparent より詳細度を上げる） */
.section.section-tracks.section-tracks--fresh {
  background: #fff;
}

.section-tracks--fresh {
  padding: 12px 12px 10px;
  border: 1px solid #000;
  box-shadow: none;
}

.section-tracks--fresh .section-label {
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 3px;
}

.section-tracks--fresh h2 {
  color: #000;
  /* 他 section-tracks 見出しと同じ .section-tracks h2 のサイズ・字間に揃える */
  margin: 0 0 12px;
}

.section-tracks--fresh .fresh-section-illo {
  margin: 0 0 10px;
  padding: 0;
  border: 1px solid #000;
  background: #fff;
  overflow: hidden;
  border-radius: 0;
}

.section-tracks--fresh .fresh-section-illo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.section-tracks--fresh .track-pickup-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 0 6px;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.section-tracks--fresh .track-pickup-scroll > .track-pickup-list {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
  padding: 0 2px;
  min-width: min-content;
}

.section-tracks--fresh .track-pickup-scroll .track-pickup-item {
  flex: 0 0 auto;
  width: auto;
  min-width: min(188px, 72vw);
  max-width: 248px;
  border: 1px solid #000;
  border-top: 3px solid var(--brand);
  border-radius: 10px;
  background: #fff;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.section-tracks--fresh a.track-pickup-row {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 7px;
  min-height: 0;
  padding: 12px 12px 28px;
  box-sizing: border-box;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}

.section-tracks--fresh a.track-pickup-row .track-pickup-body {
  flex: 0 1 auto;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 5px;
}

.section-tracks--fresh .track-pickup-field {
  align-items: center;
  text-align: center;
}

.section-tracks--fresh a.track-pickup-row:hover {
  transform: none;
  background: var(--brand-tint-1);
  box-shadow: none;
}

.section-tracks--fresh .track-pickup-field-label {
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--brand);
  opacity: 0.9;
}

.section-tracks--fresh .track-pickup-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: #000;
}

.section-tracks--fresh .track-pickup-artist {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.32;
  color: #333;
}

.section-tracks--fresh .track-pickup-anchor--new {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000;
  color: var(--brand);
  border: 2px solid var(--brand);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 1px 0 rgba(0, 0, 0, 0.2);
}

.section-tracks--fresh .track-pickup-wave {
  flex-shrink: 0;
  margin-top: 2px;
  height: 18px;
  gap: 2px;
  justify-content: center;
  align-self: stretch;
  opacity: 0.92;
  padding-top: 0;
}

.section-tracks--fresh .track-pickup-wave span {
  width: 2px;
}

.section-tracks--fresh .track-pickup-cue {
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: auto;
  height: auto;
  margin: 0;
  font-size: 10px;
  font-weight: 900;
  color: #000;
  opacity: 0.5;
}

.section-tracks--fresh .track-pickup-scroll a.track-pickup-row {
  position: relative;
}

.section-tracks--fresh .track-pickup-row-icon {
  display: none;
}

.section-tracks--fresh .section-tracks-more {
  margin-top: 10px;
}

.section-tracks--fresh a.track-pickup-row:hover .track-pickup-cue {
  color: var(--brand);
  opacity: 0.9;
}

/* ━ C: ジャンル = 2×2・縦並び（アイコン→曲名→アーティスト）／明るい地（他トラック枠に近い）＋水紋＋カードはダーク */
.section.section-tracks.section-tracks--genre {
  background: transparent;
  margin-top: 28px;
}

.section-tracks--genre {
  position: relative;
  border: 1px solid #1a1a1a;
  box-shadow: none;
  background: #f0eff4;
  overflow: hidden;
}

.section-tracks--genre::before {
  content: "";
  position: absolute;
  inset: -10%;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 108%, rgba(55, 95, 155, 0.14), transparent 58%),
    repeating-radial-gradient(
      circle at 50% 88%,
      transparent 0,
      transparent 11px,
      rgba(0, 0, 0, 0.04) 12px,
      transparent 14px
    ),
    linear-gradient(
      122deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 92, 147, 0.09) 50%,
      transparent 65%,
      transparent 100%
    );
  background-size: 100% 100%, 100% 100%, 220% 220%;
  animation: genre-water-flow 9s ease-in-out infinite;
  pointer-events: none;
}

.section-tracks--genre::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(circle at 50% 90%, rgba(255, 92, 147, 0.14) 0%, transparent 48%);
  transform-origin: 50% 90%;
  animation: genre-bass-thump 1.85s ease-in-out infinite;
  pointer-events: none;
}

@keyframes genre-water-flow {
  0%,
  100% {
    background-position: 0% 0%, 0% 0%, 0% 30%;
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    background-position: 0% 0%, 6% 5%, 100% 20%;
    transform: translate(-2%, 1.2%) rotate(-0.6deg);
  }
  66% {
    background-position: 0% 0%, -5% -3%, 0% 85%;
    transform: translate(1.5%, -1%) rotate(0.5deg);
  }
}

@keyframes genre-bass-thump {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.55;
  }
  35% {
    transform: scale(1.22);
    opacity: 1;
  }
  65% {
    transform: scale(1.06);
    opacity: 0.7;
  }
}

.section-tracks--genre-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.section-tracks--genre-bg .genre-ripple {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255, 92, 147, 0.42);
  box-shadow:
    0 0 0 1px rgba(255, 92, 147, 0.18),
    0 0 36px rgba(255, 92, 147, 0.2);
  opacity: 0;
  animation: genre-ripple-out 2.4s ease-out infinite;
}

.section-tracks--genre-bg .genre-ripple--a {
  left: 16%;
  bottom: 18%;
  width: 100px;
  height: 100px;
  margin-left: -50px;
  margin-bottom: -50px;
}

.section-tracks--genre-bg .genre-ripple--b {
  left: 76%;
  bottom: 42%;
  width: 86px;
  height: 86px;
  margin-left: -43px;
  margin-bottom: -43px;
  animation-delay: 0.8s;
  animation-duration: 2.1s;
}

.section-tracks--genre-bg .genre-ripple--c {
  left: 46%;
  bottom: 8%;
  width: 180px;
  height: 180px;
  margin-left: -90px;
  margin-bottom: -90px;
  animation-delay: 1.5s;
  animation-duration: 2.8s;
}

@keyframes genre-ripple-out {
  0% {
    transform: scale(0.38);
    opacity: 0.72;
  }
  100% {
    transform: scale(4.2);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-tracks--genre::before,
  .section-tracks--genre::after {
    animation: none;
  }

  .section-tracks--genre-bg .genre-ripple {
    animation: none;
    opacity: 0;
  }

  .section-tracks--genre .track-pickup-list--grid > .track-pickup-item::before,
  .section-tracks--genre .track-pickup-list--grid > .track-pickup-item::after {
    animation: none;
  }
}

.section-tracks--genre > *:not(.section-tracks--genre-bg) {
  position: relative;
  z-index: 1;
}

/* 見出し：他 section-tracks と同じくラベル＋ h2 のみ（枠・帯は付けない） */
.section-tracks--genre .section-label {
  color: var(--brand);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  margin: 15px 0 3px;
}

.section-tracks--genre h2 {
  color: #000;
  margin-bottom: 12px;
}

.section-tracks--genre .track-pickup-list--grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item {
  position: relative;
  overflow: hidden;
  border: 1px solid #2a2a2a;
  border-radius: 0;
  background: #111;
  min-width: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* カード背景：はっきりめのシマー＋下からのパルス */
.section-tracks--genre .track-pickup-list--grid > .track-pickup-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 32%,
    rgba(255, 255, 255, 0.22) 48%,
    rgba(255, 180, 220, 0.12) 52%,
    transparent 68%,
    transparent 100%
  );
  background-size: 260% 100%;
  animation: genre-card-shimmer 2.6s ease-in-out infinite;
  pointer-events: none;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 85% 60% at 50% 100%, rgba(255, 92, 147, 0.32), transparent 58%);
  animation: genre-card-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item:nth-child(2)::before {
  animation-delay: 1s;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item:nth-child(2)::after {
  animation-delay: 0.6s;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item:nth-child(3)::before {
  animation-delay: 2s;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item:nth-child(3)::after {
  animation-delay: 1.2s;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item:nth-child(4)::before {
  animation-delay: 3s;
}

.section-tracks--genre .track-pickup-list--grid > .track-pickup-item:nth-child(4)::after {
  animation-delay: 1.8s;
}

@keyframes genre-card-shimmer {
  0%,
  100% {
    background-position: 8% 50%;
    opacity: 0.5;
  }
  50% {
    background-position: 92% 50%;
    opacity: 1;
  }
}

@keyframes genre-card-pulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

.section-tracks--genre a.track-pickup-row {
  position: relative;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 0;
  padding: 14px 10px 14px;
  gap: 12px;
  transition: background 0.2s ease;
}

.section-tracks--genre a.track-pickup-row:hover {
  transform: none;
  background: #171717;
  box-shadow: none;
}

.section-tracks--genre .track-pickup-anchor {
  flex-shrink: 0;
  align-self: center;
}

/* 上段：丸アイコン（境界線のみブランドピンク） */
.section-tracks--genre .track-pickup-anchor--initial.track-pickup-anchor--tone-a,
.section-tracks--genre .track-pickup-anchor--initial.track-pickup-anchor--tone-b,
.section-tracks--genre .track-pickup-anchor--initial.track-pickup-anchor--tone-c,
.section-tracks--genre .track-pickup-anchor--initial.track-pickup-anchor--tone-d {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50%;
  background: #1c1c1c;
  color: #fff;
  border: 2px solid var(--brand);
  text-shadow: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.section-tracks--genre .track-pickup-row-icon {
  display: none;
}

.section-tracks--genre .track-pickup-wave {
  display: none;
}

.section-tracks--genre .track-pickup-cue {
  display: none;
}

.section-tracks--genre .track-pickup-body {
  flex: 0 1 auto;
  width: 100%;
  min-width: 0;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.section-tracks--genre .track-pickup-field {
  align-items: center;
}

.section-tracks--genre .track-pickup-field-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.section-tracks--genre .track-pickup-title {
  color: #fafafa;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.section-tracks--genre .track-pickup-artist {
  color: #c4c4c4;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.section-tracks--genre .track-pickup-meta {
  display: none;
}

/* 波形ミニ（全カテゴリ共通・色はセクションで上書き可） */
.track-pickup-wave {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 26px;
  flex-shrink: 0;
  opacity: 0.9;
}

.track-pickup-wave span {
  width: 3px;
  border-radius: 1px;
  transform-origin: bottom center;
  animation: track-pickup-wave-pulse 0.85s ease-in-out infinite alternate;
  background: var(--brand);
}

.track-pickup-wave span:nth-child(1) {
  height: 30%;
  animation-delay: 0s;
}
.track-pickup-wave span:nth-child(2) {
  height: 55%;
  animation-delay: 0.1s;
}
.track-pickup-wave span:nth-child(3) {
  height: 85%;
  animation-delay: 0.2s;
}
.track-pickup-wave span:nth-child(4) {
  height: 45%;
  animation-delay: 0.3s;
}
.track-pickup-wave span:nth-child(5) {
  height: 65%;
  animation-delay: 0.4s;
}

@keyframes track-pickup-wave-pulse {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1);
  }
}

.section-tracks--fresh .track-pickup-wave span {
  background: var(--brand);
}

.section-tracks--rank .track-pickup-wave span {
  background: #6b6560;
  width: 2px;
}

.track-pickup-wave--muted {
  opacity: 0.35;
  pointer-events: none;
}

/* リスト共通 */
.track-pickup-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-tracks .track-pickup-item {
  position: relative;
  z-index: 1;
  animation: track-pickup-item-rise 0.58s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

.section-tracks .track-pickup-item:nth-child(1) {
  animation-delay: 0.02s;
}
.section-tracks .track-pickup-item:nth-child(2) {
  animation-delay: 0.07s;
}
.section-tracks .track-pickup-item:nth-child(3) {
  animation-delay: 0.12s;
}
.section-tracks .track-pickup-item:nth-child(4) {
  animation-delay: 0.17s;
}
.section-tracks .track-pickup-item:nth-child(5) {
  animation-delay: 0.22s;
}
.section-tracks .track-pickup-item:nth-child(6) {
  animation-delay: 0.27s;
}
.section-tracks .track-pickup-item:nth-child(7) {
  animation-delay: 0.32s;
}
.section-tracks .track-pickup-item:nth-child(8) {
  animation-delay: 0.37s;
}

@keyframes track-pickup-item-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.track-pickup-item--locked {
  opacity: 0.55;
}

.track-pickup-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 10px 10px 12px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition: background 0.22s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

a.track-pickup-row:hover {
  background: rgba(0, 0, 0, 0.03);
}

a.track-pickup-row:active {
  transform: translateX(4px) scale(0.992);
}

.section-tracks--rank a.track-pickup-row:active,
.section-tracks--fresh a.track-pickup-row:active,
.section-tracks--genre a.track-pickup-row:active {
  transform: translateX(4px) scale(0.992);
}

.track-pickup-anchor {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #000;
  box-sizing: border-box;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

a.track-pickup-row:hover .track-pickup-anchor {
  transform: scale(1.06);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.section-tracks--genre a.track-pickup-row:hover .track-pickup-anchor {
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
}

.track-pickup-anchor--rank1 {
  background: #f3eee4;
  color: #2c2416;
  font-size: 16px;
  letter-spacing: -0.03em;
  border-color: #b89a5e;
}

.track-pickup-anchor--rank2 {
  background: #eceef1;
  color: #1c2128;
  font-size: 15px;
  border-color: #8f9aaa;
}

.track-pickup-anchor--rank3 {
  background: #ebe4dc;
  color: #3d2f26;
  font-size: 15px;
  border-color: #a67c52;
}

.track-pickup-anchor--rank4 {
  background: #f4f4f5;
  color: #52525b;
  border-style: dashed;
  border-color: #b4b4b9;
  font-size: 15px;
}

.track-pickup-anchor--new {
  background: #000;
  color: var(--brand);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.track-pickup-anchor--initial {
  font-size: 15px;
  letter-spacing: -0.05em;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.track-pickup-anchor--tone-a {
  background: linear-gradient(145deg, #5b4ae8, #9d8cff);
}
.track-pickup-anchor--tone-b {
  background: linear-gradient(145deg, #0d9488, #5eead4);
}
.track-pickup-anchor--tone-c {
  background: linear-gradient(145deg, #db2777, #fda4af);
}
.track-pickup-anchor--tone-d {
  background: linear-gradient(145deg, #0ea5e9, #7dd3fc);
}

.track-pickup-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.track-pickup-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  width: 100%;
  min-width: 0;
}

.track-pickup-field-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}

.track-pickup-title {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  letter-spacing: -0.02em;
}

.track-pickup-artist {
  font-size: 12px;
  color: #444;
  margin: 0;
  line-height: 1.35;
  font-weight: 600;
}

.track-pickup-meta {
  margin: 1px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #999;
}

.track-pickup-cue {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 44px;
  font-size: 11px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: 0;
  opacity: 0.85;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

a.track-pickup-row:hover .track-pickup-cue {
  opacity: 1;
  transform: translateX(5px);
}

.track-pickup-cue--muted {
  opacity: 0.25;
  font-size: 10px;
  font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
  .section-tracks .track-pickup-item,
  .track-pickup-wave span {
    animation: none;
  }
  .section-tracks--rank a.track-pickup-row:hover,
  .section-tracks--fresh a.track-pickup-row:hover,
  .section-tracks--genre a.track-pickup-row:hover {
    transform: none;
    box-shadow: none;
  }
  a.track-pickup-row:hover .track-pickup-anchor {
    transform: none;
    box-shadow: none;
  }
  a.track-pickup-row:hover .track-pickup-cue {
    transform: none;
  }
}

/* 検索 */
.search {
  display: flex;
  gap: 8px;
}

.search input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.search button {
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: bold;
}


/* MOOD PICK — ゲームUI風（角丸なし・アニメーション多め） */
.section.section-mood-pick {
  border-radius: 0;
  border: none;
  padding: 8px 0 20px;
  margin-bottom: 16px;
  background: transparent;
  box-shadow: none;
}

.section.section-mood-pick .section-label {
  color: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.section.section-mood-pick h2 {
  font-size: clamp(20px, 5.2vw, 24px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  margin: 0 0 14px;
  color: #000;
}

.mood-quiz {
  --mood-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --mood-ease-spring: cubic-bezier(0.34, 1.25, 0.64, 1);
  --mood-ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  position: relative;
  /* 選曲オーバーレイの z-index を枠内に閉じ、sticky ヘッダー（100）より手前に出さない */
  z-index: 0;
  isolation: isolate;
  border-radius: 0;
  border: 3px solid #000;
  background: #0c0c10;
  padding: 0;
  overflow: hidden;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.12);
}

/* 回答確定時：ベタなホワイトフラッシュではなくブランドのリング＋ヴィネット */
.mood-quiz::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: -2px;
  z-index: 48;
  opacity: 0;
  background:
    radial-gradient(ellipse 95% 75% at 50% -10%, rgba(255, 213, 231, 0.45), transparent 58%),
    radial-gradient(ellipse 80% 60% at 50% 108%, rgba(255, 92, 147, 0.15), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 35%, transparent 65%, rgba(0, 0, 0, 0.12));
  transform: scale(1.02);
  transform-origin: 50% 35%;
}

.mood-quiz.mood-quiz--flash::after {
  animation: mood-flash-overlay 0.45s var(--mood-ease-soft) forwards;
}

.mood-quiz-appbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px;
  border-bottom: 2px solid var(--brand);
  background: #000;
  color: #fff;
}

/* 挿絵：クイズ枠（3px 黒ボーダー）の内側にフルブリードで一体化 */
.mood-quiz .mood-pick-illo {
  margin: 0;
  padding: 0;
  border: none;
  border-bottom: 2px solid #000;
  background: #08080c;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.mood-quiz .mood-pick-illo::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 92, 147, 0.12);
  z-index: 1;
}

.mood-quiz .mood-pick-illo img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.mood-quiz-appbar-title {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.mood-quiz-appbar-step {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 0.35s var(--mood-ease-out), transform 0.35s var(--mood-ease-spring), text-shadow 0.35s ease;
}

.mood-quiz.mood-quiz--step-tick .mood-quiz-appbar-step {
  transform: scale(1.06);
  text-shadow: 0 0 14px rgba(255, 92, 147, 0.55);
}

.mood-quiz-progress-row {
  padding: 10px 14px;
  background: #141418;
  border-bottom: 2px solid #000;
}

.mood-quiz-progress {
  height: 10px;
  border-radius: 0;
  background: #222;
  border: 2px solid #000;
  overflow: hidden;
}

.mood-quiz-progress-bar {
  position: relative;
  height: 100%;
  width: 0%;
  border-radius: 0;
  background: repeating-linear-gradient(
    90deg,
    var(--brand) 0,
    var(--brand) 10px,
    #ff8fb8 10px,
    #ff8fb8 20px
  );
  background-size: 20px 100%;
  transition: width 0.72s var(--mood-ease-out);
  animation: mood-bar-march 1.1s linear infinite;
}

.mood-quiz-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.5) 42%,
    transparent 68%
  );
  background-size: 220% 100%;
  animation: mood-progress-sheen 2.4s ease-in-out infinite;
  opacity: 0.45;
  mix-blend-mode: overlay;
}

@keyframes mood-bar-march {
  to {
    background-position: 20px 0;
  }
}

@keyframes mood-progress-sheen {
  0% {
    background-position: 130% 0;
  }
  100% {
    background-position: -130% 0;
  }
}

.mood-quiz-stage {
  position: relative;
  padding: 14px 12px 16px;
  min-height: 0;
  background: #14141a;
  perspective: 920px;
  transform-style: preserve-3d;
}

.mood-quiz-stage::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.22) 2px,
    rgba(0, 0, 0, 0.22) 3px
  );
  opacity: 0.28;
  mix-blend-mode: multiply;
}

.mood-quiz-panel {
  display: none;
  position: relative;
  z-index: 2;
}

.mood-quiz-panel.is-active {
  display: block;
  animation: mood-panel-enter 0.58s var(--mood-ease-out) both;
  transform-origin: 50% 0%;
}

@keyframes mood-flash-overlay {
  0% {
    opacity: 0;
    transform: scale(1.045);
  }
  42% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes mood-panel-enter {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0) rotateX(6deg) scale(0.97);
  }
  72% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) rotateX(0.5deg) scale(1.008);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotateX(0) scale(1);
  }
}

.mood-quiz-panel.is-active .mood-quiz-question {
  animation: mood-title-reveal 0.62s var(--mood-ease-out) 0.07s both;
}

@keyframes mood-title-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.mood-quiz-panel.is-active .mood-quiz-choice {
  animation: mood-choice-reveal 0.52s var(--mood-ease-out) backwards;
}

.mood-quiz-panel.is-active .mood-quiz-choice:nth-child(1) {
  animation-delay: 0.09s;
}
.mood-quiz-panel.is-active .mood-quiz-choice:nth-child(2) {
  animation-delay: 0.14s;
}
.mood-quiz-panel.is-active .mood-quiz-choice:nth-child(3) {
  animation-delay: 0.19s;
}
.mood-quiz-panel.is-active .mood-quiz-choice:nth-child(4) {
  animation-delay: 0.24s;
}
.mood-quiz-panel.is-active .mood-quiz-choice:nth-child(5) {
  animation-delay: 0.29s;
}
.mood-quiz-panel.is-active .mood-quiz-choice:nth-child(6) {
  animation-delay: 0.34s;
}

@keyframes mood-choice-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.mood-quiz-panel--result.is-active .mood-quiz-result-copy {
  animation: mood-result-block-in 0.62s var(--mood-ease-out) both;
}

.mood-quiz-panel--result.is-active .mood-quiz-result-label {
  animation: mood-fade-rise 0.48s var(--mood-ease-spring) 0.08s both;
}

.mood-quiz-panel--result.is-active .mood-quiz-result-lead {
  animation: mood-fade-rise 0.58s var(--mood-ease-out) 0.13s both;
}

.mood-quiz-panel--result.is-active .mood-quiz-result-text {
  animation: mood-fade-rise 0.52s var(--mood-ease-out) 0.2s both;
}

@keyframes mood-result-block-in {
  0% {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    box-shadow: 0 0 0 #000;
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    box-shadow: 4px 4px 0 #000;
  }
}

@keyframes mood-fade-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.mood-quiz-panel--result.is-active .mood-quiz-track {
  animation: mood-track-reveal 0.7s var(--mood-ease-soft) 0.26s both;
}

@keyframes mood-track-reveal {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.94);
  }
  62% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.mood-quiz-loading {
  position: absolute;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 24px;
  box-sizing: border-box;
  border: 3px solid var(--brand);
  background: rgba(4, 4, 8, 0.78);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  animation: mood-loading-layer-in 0.38s var(--mood-ease-out) both;
}

.mood-quiz-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 3px,
    rgba(255, 92, 147, 0.035) 3px,
    rgba(255, 92, 147, 0.035) 4px
  );
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  animation: mood-loading-scan 2.8s linear infinite;
}

.mood-quiz-loading[hidden] {
  display: none;
}

.mood-quiz-loading-title {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: 0.35em !important;
  color: var(--brand) !important;
  text-align: center !important;
  text-shadow: 0 0 24px rgba(255, 92, 147, 0.55), 0 0 2px rgba(0, 0, 0, 0.8);
  animation: mood-loading-title-breathe 2.1s ease-in-out infinite;
}

.mood-quiz-loading-sub {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  color: rgba(255, 255, 255, 0.5) !important;
  text-align: center !important;
  animation: mood-loading-sub-pulse 2.1s ease-in-out infinite;
}

.mood-quiz-loading-gauge {
  position: relative;
  z-index: 1;
  width: min(220px, 76vw);
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.88);
  background: #0a0a0f;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px #000, 0 6px 20px rgba(0, 0, 0, 0.35);
}

.mood-quiz-loading-gauge-fill {
  height: 100%;
  width: 42%;
  background: linear-gradient(
    90deg,
    #ff5c93 0%,
    var(--brand) 40%,
    #ffd5e7 100%
  );
  background-size: 200% 100%;
  animation: mood-gauge-drift 1.15s var(--mood-ease-soft) infinite alternate,
    mood-gauge-sheen 1.45s ease-in-out infinite;
}

@keyframes mood-loading-layer-in {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
  }
}

@keyframes mood-loading-scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(10px);
  }
}

@keyframes mood-loading-title-breathe {
  0%,
  100% {
    opacity: 1;
    filter: brightness(1);
    letter-spacing: 0.35em;
  }
  50% {
    opacity: 0.88;
    filter: brightness(1.12);
    letter-spacing: 0.38em;
  }
}

@keyframes mood-loading-sub-pulse {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.82;
  }
}

@keyframes mood-gauge-drift {
  0% {
    transform: translateX(-32%);
  }
  100% {
    transform: translateX(88%);
  }
}

@keyframes mood-gauge-sheen {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mood-quiz.mood-quiz--flash::after,
  .mood-quiz-panel.is-active,
  .mood-quiz-panel.is-active .mood-quiz-question,
  .mood-quiz-panel.is-active .mood-quiz-choice,
  .mood-quiz-panel--result.is-active .mood-quiz-result-copy,
  .mood-quiz-panel--result.is-active .mood-quiz-result-label,
  .mood-quiz-panel--result.is-active .mood-quiz-result-lead,
  .mood-quiz-panel--result.is-active .mood-quiz-result-text,
  .mood-quiz-panel--result.is-active .mood-quiz-track,
  .mood-quiz-progress-bar,
  .mood-quiz-progress-bar::after,
  .mood-quiz-loading,
  .mood-quiz-loading::before,
  .mood-quiz-loading-title,
  .mood-quiz-loading-sub,
  .mood-quiz-loading-gauge-fill,
  .mood-quiz-cta {
    animation: none;
  }
  .mood-quiz.mood-quiz--step-tick .mood-quiz-appbar-step {
    transform: none;
    text-shadow: none;
  }
  .mood-quiz-progress-bar {
    background: var(--brand);
  }
  .mood-quiz-loading {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.mood-quiz-question {
  margin: 0 0 12px !important;
  padding: 0 !important;
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.22 !important;
  color: #fff !important;
  text-align: left !important;
  text-shadow: 2px 2px 0 #000;
}

.mood-quiz-choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mood-quiz-choice {
  position: relative;
  appearance: none;
  margin: 0;
  padding: 13px 14px;
  border: 2px solid #000;
  border-radius: 0;
  background: linear-gradient(180deg, #2a2a32 0%, #1e1e26 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.2s var(--mood-ease-soft), box-shadow 0.2s var(--mood-ease-soft), background 0.25s ease,
    border-color 0.2s ease, filter 0.2s ease;
}

.mood-quiz-choice small {
  display: inline;
  margin-left: 0.4em;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: -0.01em;
}

.mood-quiz-choice:hover {
  transform: translate3d(-2px, -3px, 0);
  box-shadow: 7px 7px 0 var(--brand);
  filter: brightness(1.04);
  z-index: 3;
}

.mood-quiz-choice:active {
  transform: translate3d(1px, 1px, 0);
  box-shadow: 3px 3px 0 #000;
  filter: brightness(0.98);
  transition-duration: 0.08s;
}

.mood-quiz-panel--result {
  background: transparent;
}

/* 結果は3Dチルトを避け、落ち着いた着地 */
.mood-quiz-panel--result.is-active {
  animation: mood-panel-enter-result 0.58s var(--mood-ease-out) both;
  transform-origin: 50% 30%;
}

@keyframes mood-panel-enter-result {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* 一行コピー＋説明＋タグを1ブロックに統一（バラバラに見えないように） */
.mood-quiz-result-copy {
  margin: 0 0 14px;
  padding: 14px 12px 12px;
  border: 2px solid #000;
  background: linear-gradient(165deg, #1e1e26 0%, #12121a 100%);
  box-shadow: 4px 4px 0 #000;
}

.mood-quiz-panel--result .mood-quiz-result-label {
  display: block;
  width: max-content;
  margin: 0 0 10px;
  padding: 3px 8px;
  border-radius: 0;
  border: 2px solid #000;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: fff;
  background: var(--brand);
  box-shadow: 2px 2px 0 #000;
}

.mood-quiz-result-lead {
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
  color: #fff !important;
  text-align: left !important;
  text-shadow: 2px 2px 0 #000;
}

.mood-quiz-result-text {
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  background: none !important;
  background-color: transparent !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.72) !important;
  text-align: left !important;
}

.mood-quiz-track {
  padding: 14px 12px;
  border-radius: 0;
  border: 2px solid var(--brand);
  background: #08080c;
  color: #fff;
  box-shadow: 0 0 0 2px #000;
}

.mood-quiz-track-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--brand);
  margin: 0 0 6px;
}

.mood-quiz-track-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 12px;
}

.mood-quiz-track-name {
  display: block;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mood-quiz-track-artist {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mood-quiz-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 0 18px;
  border: 3px solid #fff;
  border-radius: 0;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-sizing: border-box;
  box-shadow: 4px 4px 0 #000;
  transition: transform 0.25s var(--mood-ease-soft), box-shadow 0.35s ease, filter 0.35s ease;
  animation: mood-cta-soft-pulse 3.6s ease-in-out infinite;
}

.mood-quiz-cta:hover {
  transform: translate3d(-1px, -2px, 0);
  filter: brightness(1.05);
}

.mood-quiz-cta:active {
  transform: translate3d(2px, 2px, 0);
}

@keyframes mood-cta-soft-pulse {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 4px 4px 0 #000, 0 0 0 rgba(255, 92, 147, 0);
  }
  50% {
    filter: brightness(1.05);
    box-shadow: 4px 4px 0 #000, 0 0 20px rgba(255, 92, 147, 0.32);
  }
}

.mood-quiz-note {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.35;
  opacity: 0.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.mood-quiz-retry {
  display: block;
  width: 100%;
  margin: 0;
  padding: 16px 16px;
  border: none;
  border-top: 3px solid #000;
  border-radius: 0;
  background: #111;
  color: var(--brand);
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: background 0.28s var(--mood-ease-soft), color 0.28s ease, transform 0.22s var(--mood-ease-soft),
    letter-spacing 0.35s ease;
}

.mood-quiz-retry:hover {
  background: #1a1a22;
  color: #ff8fb8;
  letter-spacing: 0.16em;
}

.mood-quiz-retry:active {
  transform: scale(0.99);
}

/* フッター追従ボタン */
.mj-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 10px 16px max(16px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(10,8,16,0.96) 55%, rgba(10,8,16,0));
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s ease;
  box-sizing: border-box;
}

.mj-sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mj-sticky-cta-inner {
  max-width: 420px;
  margin: 0 auto;
}

/* btn-primaryと同じ構造を使う */
.mj-sticky-cta-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px 16px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  gap: 3px;
  box-sizing: border-box;
  box-shadow:
    0 6px 28px rgba(255, 92, 147, 0.42),
    0 0 0 1px rgba(255, 210, 245, 0.45),
    0 0 40px rgba(255, 45, 140, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.mj-sticky-cta-btn::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  z-index: -2;
  filter: blur(8px);
  animation: btn-spin 3s linear infinite;
  background: conic-gradient(
    from 0deg,
    #ff9ec4, var(--brand), #ffd5e7, #000,
    #ff9ec4, #ffb3d1, var(--brand), #ff9ec4
  );
}

.mj-sticky-cta-btn::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  z-index: -1;
  background-color: #e91e78;
  background-image: linear-gradient(180deg, #ff7eb3 0%, #ff5c93 45%, #e8487e 100%);
}

.mj-sticky-cta-btn:active {
  transform: scale(0.98);
}

.mj-sticky-cta-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.88;
  text-shadow: 0 1px 1px rgba(0,0,0,0.2);
  position: relative;
  z-index: 1;
}

.mj-sticky-cta-main {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(80,0,40,0.3);
  position: relative;
  z-index: 1;
}
