/**
 * トップページ専用スタイル
 * ポップ・可愛い・近未来的／アニメーション多め
 * 将来的にオリジナルキャラ導入を想定
 */

/* ========== 変数 ========== */
.fp-main {
  --fp-font: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fp-violet: #8b5cf6;
  --fp-violet-light: #a78bfa;
  --fp-pink: #ec4899;
  --fp-pink-light: #f472b6;
  --fp-cyan: #06b6d4;
  --fp-cyan-light: #22d3ee;
  --fp-mint: #5eead4;
  --fp-cream: #fef7e6;
  --fp-text: #1e293b;
  --fp-text-light: #475569;
  --fp-white: #ffffff;
  --fp-bg-light: #fafafa;
  --fp-shadow-soft: 0 4px 24px rgba(139, 92, 246, 0.08);
  --fp-shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
  --fp-radius: 20px;
  --fp-radius-lg: 28px;
  --fp-transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ダークモード用の変数 */
.fp-main.is-dark {
  --fp-text: #e2e8f0;
  --fp-text-light: #94a3b8;
  --fp-white: #1e293b;
  --fp-cream: #0f172a;
  --fp-shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.3);
  --fp-shadow-glow: 0 0 60px rgba(139, 92, 246, 0.3);
}

.fp-main.is-dark .fp-hero-bg {
  background: linear-gradient(165deg, #1e1b4b 0%, #1e3a8a 35%, #164e63 70%, #1c1917 100%);
}

/* About 以降：ヒーローからの自然なグラデーション継続 */
.fp-main.is-dark .fp-about {
  background: linear-gradient(180deg, #1c1917 0%, #1e293b 40%, #0f172a 100%);
}

.fp-main.is-dark .fp-about-bg {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.4) 100%);
}

.fp-main.is-dark .fp-music-staff {
  opacity: 0.25;
}

.fp-main.is-dark .fp-music-staff-svg line {
  stroke: rgba(167, 139, 250, 0.2);
}

.fp-main.is-dark .fp-about-lead {
  color: #fff;
}

.fp-main.is-dark .fp-about-text p,
.fp-main.is-dark .fp-about-point span {
  color: var(--fp-text-light);
}

.fp-main.is-dark .fp-stat-number {
  color: #fff;
}

.fp-main.is-dark .fp-stat-label {
  color: var(--fp-text-light);
}

.fp-main.is-dark .fp-news {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.fp-main.is-dark .fp-news-item {
  border-bottom-color: rgba(148, 163, 184, 0.15);
}

.fp-main.is-dark .fp-news-item:hover {
  background: rgba(139, 92, 246, 0.08);
}

.fp-main.is-dark .fp-news-item-preview-inner {
  background: #1e293b;
  border-color: rgba(139, 92, 246, 0.3);
}

.fp-main.is-dark .fp-scores {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.fp-main.is-dark .fp-cta-bg {
  background: linear-gradient(135deg, #6d28d9 0%, var(--fp-violet) 50%, #7c3aed 100%);
}

.fp-main.is-dark .fp-about-point,
.fp-main.is-dark .fp-news-list,
.fp-main.is-dark .fp-news-empty {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(139, 92, 246, 0.2);
}

.fp-main.is-dark .fp-about-point:hover {
  border-color: rgba(139, 92, 246, 0.35);
}

.fp-main.is-dark .fp-about-point strong,
.fp-main.is-dark .fp-section-title {
  color: #fff;
}

.fp-main.is-dark .fp-section-label {
  color: #fff;
}

.fp-main.is-dark .fp-section::before {
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.3) 50%, transparent 100%);
}

/* カラースキーム切り替えボタン */
.fp-color-scheme-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  box-shadow: var(--fp-shadow-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.fp-color-scheme-toggle:hover {
  transform: scale(1.1) rotate(15deg);
  background: rgba(255, 255, 255, 1);
}

.fp-color-scheme-toggle-icon {
  display: block;
  transition: transform 0.3s ease;
}

.fp-main.is-dark .fp-color-scheme-toggle {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(139, 92, 246, 0.4);
}

.fp-main.is-dark .fp-color-scheme-toggle-icon {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .fp-color-scheme-toggle {
    width: 32px;
    height: 32px;
    font-size: 1.125rem;
  }
  
  .fp-hero-label-wrapper {
    gap: 8px;
  }
}

/* ========== ページ読み込み時のローディング画面 ========== */
.fp-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  overflow: hidden;
}

.fp-page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease 0.8s, visibility 0.3s ease 0.8s;
}

.fp-page-loader-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #fef7ff 0%, #f0f9ff 35%, #f0fdff 70%, #fffbf0 100%);
  background-size: 200% 200%;
  animation: fp-gradient-shift 8s ease-in-out infinite;
}

.fp-page-loader-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.fp-page-loader-spinner {
  font-size: 4rem;
  color: var(--fp-violet);
  animation: fp-loader-spin 1.5s linear infinite;
  margin-bottom: 16px;
  display: inline-block;
}

.fp-page-loader-logo {
  display: block;
  width: 120px;
  height: 120px;
  object-fit: contain;
  transform-origin: center center;
  animation: fp-loader-logo-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.2));
}

.fp-page-loader-logo-svg {
  display: block;
  width: 120px;
  height: 120px;
}

.fp-page-loader-logo-svg svg {
  width: 100%;
  height: 100%;
  display: block;
  animation: fp-loader-logo-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.2));
}

/* ローディング完了時：上に消える */
.fp-page-loader.is-hidden .fp-page-loader-logo,
.fp-page-loader.is-hidden .fp-page-loader-logo-svg svg {
  animation: fp-loader-fade-up 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fp-page-loader.is-hidden .fp-page-loader-content {
  animation: fp-loader-content-fade 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}


@keyframes fp-loader-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ロゴの軽いパルス（読み込み中） */
@keyframes fp-loader-logo-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.95;
  }
}

/* 上に消える（読み込み完了時） */
@keyframes fp-loader-fade-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: drop-shadow(0 4px 12px rgba(139, 92, 246, 0.2));
  }
  100% {
    transform: translateY(-80px) scale(0.85);
    opacity: 0;
    filter: drop-shadow(0 8px 24px rgba(139, 92, 246, 0));
  }
}

/* コンテンツ全体のフェード */
@keyframes fp-loader-content-fade {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}


@media (prefers-reduced-motion: reduce) {
  .fp-page-loader-spinner,
  .fp-page-loader-logo {
    animation: none;
  }
  .fp-page-loader-bg {
    animation: none;
  }
}

/* ========== カスタムカーソル（音楽テーマ） ========== */
.fp-main {
  cursor: none;
}

.fp-custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  pointer-events: none;
  z-index: 9999;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease-out, font-size 0.2s ease;
  will-change: transform;
}

.fp-cursor-trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.3);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fp-custom-cursor.is-hover {
  font-size: 28px;
  transform: translate(-50%, -50%) scale(1.2);
}

.fp-custom-cursor.is-click {
  transform: translate(-50%, -50%) scale(0.9);
}

@media (max-width: 767px) {
  .fp-main {
    cursor: auto;
  }
  .fp-custom-cursor,
  .fp-cursor-trail {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-custom-cursor,
  .fp-cursor-trail {
    display: none;
  }
  .fp-main {
    cursor: auto;
  }
}

/* ========== ベース ========== */
.front-page-main {
  font-family: var(--fp-font);
  color: var(--fp-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 本文は見出しより読みやすく（Windows で角張らない・少し大きめ） */
.fp-main .fp-hero-lead,
.fp-main .fp-about-lead,
.fp-main .fp-about-text p,
.fp-main .fp-about-point span,
.fp-main .fp-news-date,
.fp-main .fp-news-title,
.fp-main .fp-news-empty,
.fp-main .fp-cta-lead {
  font-family: "M PLUS 1p", "Meiryo", "Yu Gothic", "Hiragino Sans", -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.front-page-main .site-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== スクロールアニメーション（JS で .fp-in を付与） ========== */
.fp-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fp-animate.fp-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== ヒーロー ========== */
.fp-hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 80px 0 100px;
  overflow: hidden;
}

.fp-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #fef7ff 0%, #f0f9ff 35%, #f0fdff 70%, #fffbf0 100%);
  background-size: 200% 200%;
  background-position: var(--fp-bg-x, 0%) var(--fp-bg-y, 50%);
  animation: fp-gradient-shift 12s ease-in-out infinite;
  transition: background-position 0.3s ease;
}

@keyframes fp-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.fp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 92, 246, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 92, 246, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  animation: fp-grid-move 20s linear infinite;
  will-change: transform;
}

/* パーティクル（音符が舞う） */
.fp-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.fp-particle {
  position: absolute;
  font-size: 1.25rem;
  color: rgba(139, 92, 246, 0.35);
  animation: fp-particle-float 12s ease-in-out infinite;
  will-change: transform;
}

.fp-particle:nth-child(odd) {
  animation-duration: 15s;
  animation-direction: alternate;
}

.fp-particle:nth-child(3n) {
  animation-duration: 18s;
  animation-delay: -2s;
}

@keyframes fp-particle-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); opacity: 0.35; }
  25% { transform: translate(15px, -20px) rotate(5deg); opacity: 0.5; }
  50% { transform: translate(-10px, 10px) rotate(-3deg); opacity: 0.4; }
  75% { transform: translate(20px, 5px) rotate(2deg); opacity: 0.45; }
}

/* マウス追従（光の軌跡）・クリック波紋 */
.fp-mouse-trail {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.fp-mouse-trail-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  margin-top: -6px;
  background: rgba(139, 92, 246, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.5);
  transition: opacity 0.1s ease, transform 0.1s ease;
}

.fp-click-ripple {
  position: absolute;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid rgba(139, 92, 246, 0.6);
  border-radius: 50%;
  animation: fp-ripple 0.8s ease-out forwards;
  pointer-events: none;
}

@keyframes fp-ripple {
  to {
    width: 120px;
    height: 120px;
    margin-left: -60px;
    margin-top: -60px;
    opacity: 0;
    border-width: 1px;
  }
}

@keyframes fp-grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(48px, 48px); }
}

.fp-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  animation: fp-float 8s ease-in-out infinite;
  will-change: transform;
}

.fp-hero-orb-1 {
  width: 320px;
  height: 320px;
  background: var(--fp-violet-light);
  top: -10%;
  right: 5%;
  animation-delay: 0s;
}

.fp-hero-orb-2 {
  width: 240px;
  height: 240px;
  background: var(--fp-pink-light);
  bottom: 10%;
  left: -5%;
  animation-delay: -2s;
}

.fp-hero-orb-3 {
  width: 180px;
  height: 180px;
  background: var(--fp-cyan-light);
  top: 40%;
  right: 20%;
  animation-delay: -4s;
}

.fp-hero-orb-4 {
  width: 140px;
  height: 140px;
  background: var(--fp-mint);
  bottom: 30%;
  left: 15%;
  animation-delay: -6s;
}

@keyframes fp-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, -20px) scale(1.05); }
  66% { transform: translate(-15px, 10px) scale(0.98); }
}

.fp-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

/* オリジナルキャラ表示エリア（ヒーロー右側に浮遊） */
.fp-hero-character {
  position: absolute;
  right: 5%;
  bottom: 15%;
  z-index: 3;
  width: 160px;
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: auto;
  will-change: transform;
}

.fp-character-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 24px rgba(139, 92, 246, 0.2));
}

.fp-character-placeholder {
  display: block;
  width: 100px;
  height: 120px;
  margin: 0 auto;
  background: rgba(139, 92, 246, 0.15);
  border-radius: 50% 50% 45% 45%;
  border: 2px dashed rgba(139, 92, 246, 0.35);
}

/* キャラ：待機アニメーション（ゆっくり上下浮遊・軽く揺れる） */
.fp-hero-character .fp-character-img,
.fp-hero-character .fp-character-placeholder {
  animation: fp-character-float 4s ease-in-out infinite;
  will-change: transform;
}

.fp-hero-character:hover .fp-character-img,
.fp-hero-character:hover .fp-character-placeholder {
  animation: fp-character-wave 0.6s ease-in-out;
}

.fp-hero-character.is-clicked .fp-character-img,
.fp-hero-character.is-clicked .fp-character-placeholder {
  animation: fp-character-bounce 0.5s ease;
}

@keyframes fp-character-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

@keyframes fp-character-wave {
  0%, 100% { transform: translateY(0) scale(1.05) rotate(0deg); }
  25% { transform: translateY(-4px) scale(1.08) rotate(-3deg); }
  75% { transform: translateY(-4px) scale(1.08) rotate(3deg); }
}

@keyframes fp-character-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.fp-hero-character.is-dancing {
  animation: fp-character-dance 2s ease-in-out;
}

@keyframes fp-character-dance {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-20px) rotate(-10deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
  75% { transform: translateY(-20px) rotate(-5deg); }
}

@keyframes fp-easter-dance {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.02) rotate(1deg); }
  50% { transform: scale(1.05) rotate(-1deg); }
  75% { transform: scale(1.02) rotate(0.5deg); }
}

.fp-character-speech {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  padding: 8px 14px;
  background: #fff;
  border-radius: 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fp-violet);
  box-shadow: var(--fp-shadow-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.fp-character-speech.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-12px);
}

@media (max-width: 767px) {
  .fp-hero-character {
    right: 50%;
    transform: translateX(50%);
    bottom: 10%;
    width: 120px;
    height: 150px;
  }
}

.fp-hero-content {
  flex: 1 1 320px;
}

.fp-hero-label-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.fp-hero-label {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  color: var(--fp-violet);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 9999px;
  margin: 0;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.08);
}

.fp-hero-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.fp-hero-title-inner {
  background: linear-gradient(135deg, var(--fp-violet) 0%, var(--fp-pink) 50%, var(--fp-cyan) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fp-shine 4s ease-in-out infinite;
}

@keyframes fp-shine {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.fp-hero-lead {
  font-size: 1.125rem;
  color: var(--fp-text-light);
  margin: 0 0 32px;
  line-height: 1.8;
}

.fp-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.fp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--fp-font);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  transition: transform var(--fp-transition), box-shadow 0.3s ease, opacity 0.3s ease;
  border: none;
  cursor: pointer;
}

.fp-btn:hover {
  text-decoration: none;
  transform: translateY(-4px) scale(1.02);
}

.fp-btn-primary {
  background: var(--fp-violet);
  color: var(--fp-white);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.fp-btn-primary:hover {
  background: #7c3aed;
  box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* ボタンホバー時に音符が飛び散る */
.fp-btn-primary:hover::after,
.fp-btn-outline:hover::after {
  content: '♪';
  position: absolute;
  font-size: 0.875rem;
  color: var(--fp-violet);
  animation: fp-note-scatter 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes fp-note-scatter {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--fp-note-x, 20px), var(--fp-note-y, -20px)) scale(0.5);
  }
}

.fp-btn-outline {
  background: rgba(255, 255, 255, 0.95);
  color: var(--fp-violet);
  border: 2px solid var(--fp-violet-light);
  backdrop-filter: blur(10px);
}

.fp-btn-outline:hover {
  background: #fff;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
}

.fp-hero-visual {
  flex: 1 1 280px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* アプリアイコン 3つ・奥行きでぐるぐる回る 3D カルーセル */
.fp-hero-apps {
  position: relative;
  width: 220px;
  height: 220px;
  perspective: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-hero-apps-orbit {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: fp-orbit-y 24s linear infinite;
}

.fp-hero-apps-orbit:hover {
  animation-play-state: paused;
}

@keyframes fp-orbit-y {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

/* 各アイコンを Y 軸で 120° ずつ配置し、手前奥に並べる */
.fp-hero-app-item {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin-left: -36px;
  margin-top: -36px;
  transform-style: preserve-3d;
  text-decoration: none;
  color: var(--fp-text);
}

.fp-hero-app-1 { transform: rotateY(0deg) translateZ(95px); }
.fp-hero-app-2 { transform: rotateY(120deg) translateZ(95px); }
.fp-hero-app-3 { transform: rotateY(240deg) translateZ(95px); }

/* 内側を逆回転させて、常に正面を向く（反対を向かない） */
.fp-hero-app-item-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 1);
  border-radius: 20px;
  border: 2px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.08);
  transform-style: preserve-3d;
  animation: fp-orbit-y-reverse 16s linear infinite;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

@keyframes fp-orbit-y-reverse {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(-360deg); }
}

.fp-hero-app-item:hover .fp-hero-app-item-inner {
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.25);
  border-color: var(--fp-violet-light);
}

.fp-hero-app-item:hover {
  text-decoration: none;
  color: var(--fp-violet);
}

/* Coming Soon：リンクにしない・控えめな表示 */
.fp-hero-app-coming {
  cursor: default;
  pointer-events: none;
}

.fp-hero-app-coming .fp-hero-app-item-inner {
  background: rgba(255, 255, 255, 0.85);
  border-style: dashed;
  border-color: rgba(139, 92, 246, 0.25);
}

.fp-hero-app-coming-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--fp-text-light);
  text-align: center;
  line-height: 1.3;
}

/* 背面は非表示（横から見たときの裏側を隠す） */
.fp-hero-app-item-inner {
  backface-visibility: visible;
}

.fp-hero-app-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 4px;
}

/* ロゴあり：角丸の四角全面にロゴを表示 */
.fp-hero-app-item-inner-logo {
  padding: 0;
  overflow: hidden;
}

.fp-hero-app-logo-full {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.fp-hero-app-name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: inherit;
}

/* アプリ詳細ポップアップ（クリックで拡大表示） */
.fp-app-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fp-app-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

.fp-app-popup.is-visible .fp-app-popup-inner {
  transform: scale(1);
  opacity: 1;
}

.fp-app-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
}

.fp-app-popup-inner {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: var(--fp-radius-lg);
  padding: 32px 28px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.12);
  border: 2px solid rgba(139, 92, 246, 0.1);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.fp-app-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  background: rgba(139, 92, 246, 0.1);
  color: var(--fp-violet);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.fp-app-popup-close:hover {
  background: rgba(139, 92, 246, 0.2);
  transform: scale(1.05);
}

.fp-app-popup-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 1);
  border: 2px solid rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.08);
}

.fp-app-popup-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-app-popup-icon-placeholder {
  font-size: 3rem;
  color: var(--fp-violet);
}

.fp-app-popup-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--fp-violet);
  margin: 0 0 12px;
}

.fp-app-popup-desc {
  font-size: 0.9375rem;
  color: var(--fp-text-light);
  line-height: 1.7;
  margin: 0 0 24px;
}

.fp-app-popup-cta {
  display: inline-block;
  text-decoration: none;
}

/* ========== セクション共通 ========== */
.fp-section {
  position: relative;
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.fp-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(139, 92, 246, 0.2) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fp-section.is-visible::before {
  opacity: 1;
}

.fp-section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fp-violet);
  margin-bottom: 12px;
}

.fp-section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  margin: 0 0 48px;
  color: var(--fp-text);
  letter-spacing: -0.02em;
}

.fp-section-title.fp-animate.fp-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== About ========== */
.fp-about {
  background: #fafafa;
}

.fp-about-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.6) 100%);
  pointer-events: none;
}

/* 楽譜のアニメーション（五線が流れる） */
.fp-music-staff {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.4;
}

.fp-music-staff-svg,
.fp-music-staff-img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 200%;
  height: 200px;
  transform: translateY(-50%);
  animation: fp-staff-flow 20s linear infinite;
  object-fit: cover;
}

.fp-music-staff-img {
  object-fit: contain;
  opacity: 0.4;
}

@keyframes fp-staff-flow {
  from { transform: translateY(-50%) translateX(0); }
  to { transform: translateY(-50%) translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .fp-music-staff-svg {
    animation: none;
  }
}

.fp-about-content {
  max-width: 720px;
}

.fp-about-lead {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--fp-violet);
  margin: 0 0 16px;
  line-height: 1.7;
}

.fp-about-text {
  margin-bottom: 32px;
}

.fp-about-text p {
  margin: 0 0 20px;
  color: var(--fp-text-light);
  line-height: 1.85;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fp-about-text p:last-child {
  margin-bottom: 0;
}

.fp-about-points {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  perspective: 1200px;
}

.fp-about-point {
  background: rgba(255, 255, 255, 1);
  border: 2px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--fp-radius);
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(139, 92, 246, 0.06);
  transform-style: preserve-3d;
  transform: perspective(1200px) translateZ(0);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.fp-about-point:hover {
  box-shadow: 0 16px 48px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .fp-about-point {
    transform: none;
    transition: transform 0.2s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }
  .fp-about-point:hover {
    transform: translateY(-4px);
  }
}

.fp-about-point-icon {
  display: block;
  font-size: 2.5rem;
  margin-bottom: 16px;
  animation: fp-bounce 2s ease-in-out infinite;
}

.fp-about-point:nth-child(2) .fp-about-point-icon {
  animation-delay: 0.3s;
}

@keyframes fp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.fp-about-point strong {
  display: block;
  font-size: 1.0625rem;
  color: var(--fp-violet);
  margin-bottom: 6px;
}

.fp-about-point span {
  display: block;
  margin-top: 8px;
  font-size: 0.9375rem;
  color: var(--fp-text-light);
  line-height: 1.8;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fp-about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0 0;
  padding: 32px 0;
}

.fp-stat-item {
  text-align: center;
}

.fp-stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fp-violet);
  line-height: 1.2;
  margin-bottom: 8px;
  font-family: var(--fp-font);
}

.fp-stat-label {
  font-size: 0.9375rem;
  color: var(--fp-text-light);
  font-weight: 600;
}

.fp-about-cta {
  margin-top: 40px;
}

/* ========== お知らせ ========== */
.fp-news {
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.fp-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #ffffff;
  border-radius: var(--fp-radius);
  box-shadow: 0 2px 16px rgba(139, 92, 246, 0.06);
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.06);
}

.fp-news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, padding-left 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fp-news-item:last-child {
  border-bottom: none;
}

.fp-news-item {
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fp-news-item:hover {
  background: rgba(139, 92, 246, 0.04);
  padding-left: 28px;
}

.fp-news-item-preview {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(16px);
  width: 320px;
  max-width: calc(100vw - 48px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 10;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fp-news-item:hover .fp-news-item-preview {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(20px);
}

.fp-news-item-preview-inner {
  background: var(--fp-white);
  border-radius: var(--fp-radius);
  padding: 20px;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
  border: 2px solid rgba(139, 92, 246, 0.15);
}

.fp-news-item-preview-date {
  display: block;
  font-size: 0.75rem;
  color: var(--fp-text-light);
  margin-bottom: 8px;
}

.fp-news-item-preview-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fp-violet);
  margin: 0 0 10px;
  line-height: 1.4;
}

.fp-news-item-preview-excerpt {
  font-size: 0.875rem;
  color: var(--fp-text-light);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1023px) {
  .fp-news-item-preview {
    display: none;
  }
}

.fp-news-date {
  font-size: 0.8125rem;
  color: var(--fp-text-light);
  flex-shrink: 0;
}

.fp-news-title {
  flex: 1;
  min-width: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--fp-text);
  line-height: 1.75;
  text-decoration: none;
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.fp-news-title:hover {
  color: var(--fp-violet);
  text-decoration: none;
}

.fp-news-more {
  margin: 28px 0 0;
  text-align: center;
}

.fp-btn-ghost {
  background: transparent;
  color: var(--fp-violet);
  border: 2px solid var(--fp-violet-light);
}

.fp-btn-ghost:hover {
  background: rgba(139, 92, 246, 0.08);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.15);
}

.fp-news-empty {
  color: var(--fp-text-light);
  font-size: 1rem;
  margin: 0;
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
  border-radius: var(--fp-radius);
  box-shadow: 0 2px 16px rgba(139, 92, 246, 0.06);
}

/* ========== 楽譜ギャラリー ========== */
.fp-scores {
  background: #ffffff;
}

.fp-scores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.fp-score-card {
  background: rgba(255, 255, 255, 1);
  border: 2px solid rgba(139, 92, 246, 0.1);
  border-radius: var(--fp-radius);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(139, 92, 246, 0.06);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.fp-score-card:hover {
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.25);
  transform: translateY(-4px);
}

.fp-score-card-coming-soon:hover {
  box-shadow: 0 2px 16px rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.1);
  transform: none;
}

.fp-score-card-coming-soon .fp-score-card-title,
.fp-score-card-coming-soon .fp-score-card-desc {
  color: #94a3b8;
}

.fp-score-card-coming-label {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.2);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.fp-score-card .fp-btn-disabled {
  background: #e2e8f0;
  color: #94a3b8;
  border-color: #e2e8f0;
  cursor: default;
}

.fp-score-card-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-score-card-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.fp-score-card:hover .fp-score-card-thumbnail img {
  transform: scale(1.05);
}

.fp-score-card-thumbnail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fp-score-card-icon {
  font-size: 4rem;
  color: rgba(139, 92, 246, 0.2);
  line-height: 1;
}

.fp-score-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fp-score-card-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--fp-violet);
  background: rgba(139, 92, 246, 0.1);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.fp-score-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fp-text);
  margin: 0 0 8px;
  line-height: 1.4;
}

.fp-score-card-desc {
  font-size: 0.9375rem;
  color: var(--fp-text-light);
  line-height: 1.7;
  margin: 0 0 20px;
  flex: 1;
}

.fp-score-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}

.fp-score-card-download,
.fp-score-card-detail {
  font-size: 0.875rem;
  padding: 10px 20px;
}

.fp-scores-empty {
  color: var(--fp-text-light);
  font-size: 1rem;
  margin: 48px 0 0;
  padding: 48px 24px;
  text-align: center;
  background: #ffffff;
  border-radius: var(--fp-radius);
  box-shadow: 0 2px 16px rgba(139, 92, 246, 0.06);
}

.fp-main.is-dark .fp-score-card {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(139, 92, 246, 0.2);
}

.fp-main.is-dark .fp-score-card:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(139, 92, 246, 0.35);
}

.fp-main.is-dark .fp-score-card-thumbnail {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.fp-main.is-dark .fp-score-card-icon {
  color: rgba(139, 92, 246, 0.3);
}

.fp-main.is-dark .fp-score-card-title {
  color: #fff;
}

.fp-main.is-dark .fp-score-card-category {
  color: #fff;
  background: rgba(139, 92, 246, 0.15);
}

.fp-main.is-dark .fp-score-card-desc {
  color: var(--fp-text-light);
}

.fp-main.is-dark .fp-scores-empty {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

@media (max-width: 767px) {
  .fp-scores-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .fp-score-card-actions {
    flex-direction: column;
  }
  
  .fp-score-card-download,
  .fp-score-card-detail {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .fp-scores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .fp-scores-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========== CTA ========== */
.fp-cta {
  padding: 120px 0;
  color: var(--fp-white);
  text-align: center;
  overflow: hidden;
}

.fp-cta-bg {
  position: absolute;
  inset: 0;
  background: var(--fp-violet);
}

.fp-cta .site-container {
  position: relative;
  z-index: 2;
}

.fp-cta-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 16px;
}

.fp-cta-lead {
  margin: 0 0 32px;
  font-size: 1.0625rem;
  opacity: 0.95;
}

.fp-btn-cta {
  background: var(--fp-white);
  color: var(--fp-violet);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.fp-btn-cta:hover {
  background: #f5f3ff;
  color: var(--fp-violet);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* ========== レスポンシブ ========== */
@media (min-width: 768px) {
  .fp-hero {
    min-height: 90vh;
    padding: 100px 0 120px;
  }
  .fp-hero-inner {
    gap: 64px;
  }
  .fp-section {
    padding: 120px 0;
  }
}

/* ========== スクロール進捗インジケーター ========== */
.fp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 9998;
  background: rgba(139, 92, 246, 0.1);
  pointer-events: none;
}

.fp-scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--fp-violet) 0%, var(--fp-pink) 50%, var(--fp-cyan) 100%);
  background-size: 200% 100%;
  animation: fp-progress-gradient 3s ease infinite;
  transition: width 0.1s ease-out;
}

@keyframes fp-progress-gradient {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ========== 実績バッジ（訪問回数カウント） ========== */
.fp-achievement-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 9999px;
  box-shadow: var(--fp-shadow-soft);
  border: 1px solid rgba(139, 92, 246, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.9);
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fp-achievement-badge.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fp-achievement-badge-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
}

.fp-achievement-badge-text {
  font-family: var(--fp-font);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--fp-violet);
  white-space: nowrap;
}

@media (max-width: 767px) {
  .fp-achievement-badge {
    top: 16px;
    right: 16px;
    padding: 6px 12px;
  }
  .fp-achievement-badge-icon {
    display: none;
  }
  .fp-achievement-badge-text {
    font-size: 0.75rem;
  }
  .fp-hero-orb {
    filter: blur(40px);
    opacity: 0.4;
  }
  .fp-hero-cta {
    flex-direction: column;
  }
  .fp-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ========== スクロール位置ゲージ ========== */
.fp-scroll-gauge {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9997;
  width: 6px;
  height: 60vh;
  max-height: 600px;
  min-height: 300px;
  pointer-events: none;
}

.fp-scroll-gauge-track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(139, 92, 246, 0.1) 0%, 
    rgba(139, 92, 246, 0.2) 50%, 
    rgba(139, 92, 246, 0.1) 100%);
  border-radius: 9999px;
  overflow: hidden;
}

.fp-scroll-gauge-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--fp-violet);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.6);
  transition: top 0.1s ease-out;
  pointer-events: none;
  z-index: 2;
}

.fp-scroll-gauge-indicator::before {
  content: '♪';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 8px;
  color: white;
  line-height: 1;
}

.fp-scroll-gauge-markers {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 8px 0;
  pointer-events: none;
}

.fp-scroll-gauge-marker {
  position: relative;
  width: 20px;
  height: 20px;
  margin-left: -7px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
  opacity: 0.5;
}

.fp-scroll-gauge-marker:hover {
  transform: scale(1.3);
  opacity: 1;
}

.fp-scroll-gauge-marker-icon {
  font-size: 14px;
  color: var(--fp-violet);
  line-height: 1;
  transition: transform 0.2s ease;
}

.fp-scroll-gauge-marker:hover .fp-scroll-gauge-marker-icon {
  transform: scale(1.2);
}

.fp-main.is-dark .fp-scroll-gauge-track {
  background: linear-gradient(180deg, 
    rgba(139, 92, 246, 0.2) 0%, 
    rgba(139, 92, 246, 0.3) 50%, 
    rgba(139, 92, 246, 0.2) 100%);
}

.fp-main.is-dark .fp-scroll-gauge-marker-icon {
  color: var(--fp-violet-light);
}

@media (max-width: 1023px) {
  .fp-scroll-gauge {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fp-scroll-gauge-indicator {
    transition: none;
  }
  
  .fp-scroll-gauge-marker {
    transition: opacity 0.2s ease;
  }
}
