/*
Theme Name: Piko Soundworks Theme
Theme URI: https://pikosoundworks.jp/
Description: Original theme for Piko Soundworks
Author: Piko Soundworks
Author URI: https://pikosoundworks.jp/
Version: 1.0
*/

/* ============================================================
   PIKO SOUNDWORKS — White & Blue Theme (Neu-ad Style)
   ============================================================ */

:root {
  /* Clean White Palette */
  --bg: #ffffff;
  --bg-2: #f2f3f8;
  --bg-card: #ffffff;
  --bg-card-2: #f9f9fd;
  --border: rgba(0, 20, 255, 0.1);
  --border-hover: rgba(0, 20, 255, 0.25);

  /* Deep contrasting text */
  --text-primary: #11111a;
  --text-secondary: #4a4a58;
  --text-muted: #888899;

  /* The "Electric Blue" Key Color */
  --accent: #0014ff;        /* Ultra vibrant blue */
  --accent-light: #4455ff;
  --accent-glow: rgba(0, 20, 255, 0.15);
  --accent-2: #000c9e;
  --accent-2-glow: rgba(0, 12, 158, 0.15);

  --gradient-hero: #ffffff;
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--accent-light));

  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  --font-outfit: 'Outfit', sans-serif;
  --font-lexend: 'Lexend', sans-serif;
  --font-montserrat: 'Montserrat', sans-serif;

  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  --shadow-card: 0 12px 60px rgba(0, 10, 80, 0.04);
  --shadow-glow: 0 0 60px var(--accent-glow);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.4s;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 140px 0; }

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0, 20, 255, 0.05);
  border: 1px solid rgba(0, 20, 255, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-desc {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 580px;
}

.section-header {
  margin-bottom: 80px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 16px 36px;
  border-radius: 100px;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--accent-2);
  box-shadow: 0 12px 32px var(--accent-glow);
}

.btn--ghost {
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(0,20,255,0.02);
}

.btn--outline {
  color: var(--accent);
  border: 1px solid rgba(0,20,255,0.3);
  padding: 12px 26px;
  font-size: 0.85rem;
}
.btn--outline:hover {
  background: rgba(0,20,255,0.04);
  border-color: var(--accent);
}

.btn--white {
  background: #fff;
  color: var(--accent);
  font-weight: 800;
}
.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.btn--outline-white {
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn--full { width: 100%; justify-content: center; }

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: all var(--dur) var(--ease);
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent);
  flex-shrink: 0;
}
.nav__logo span { color: var(--text-primary); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: var(--r-sm);
  transition: color var(--dur), background var(--dur);
}
.nav__link:hover {
  color: var(--accent);
  background: rgba(0,20,255,0.03);
}

.nav__cta {
  margin-left: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 24px;
  border-radius: 100px;
  transition: all var(--dur) var(--ease);
}
.nav__cta:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  margin-left: auto;
  padding: 8px;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.nav.scrolled .nav__burger span { background: var(--text-primary); }

/* ── MOBILE MENU ── */
.mobile-menu {
  position: fixed;
  top: 80px; left: 0; right: 0;
  z-index: 99;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 32px 40px;
  display: none;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--dur) var(--ease);
  pointer-events: none;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu__link, .mobile-menu__cta {
  display: block;
  padding: 14px 0;
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur);
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-menu__cta {
  margin-top: 16px;
  color: var(--accent);
  border: none;
}

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.hero--compact {
  min-height: 60svh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero__bg {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Mask it to the right side on desktop with partial visibility on left */
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 1) 100%);
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 1) 100%);
  opacity: 1;
}

#symbolicCanvas {
  width: 100%;
  height: 100%;
  mix-blend-mode: multiply; 
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 40px 100px;
  width: 100%;
  pointer-events: none; /* Let clicks pass through to canvas if needed, wait, buttons need clicks */
}
.hero--compact .hero__content {
  padding: 40px;
}
.hero__content > * { pointer-events: auto; }

.hero__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}

.font-outfit { font-family: var(--font-outfit); }
.font-lexend { font-family: var(--font-lexend); letter-spacing: -0.02em !important; }
.font-montserrat { font-family: var(--font-montserrat); letter-spacing: -0.06em !important; font-style: italic; }
.font-montserrat em { font-style: normal; }

.hero__switcher {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.1s forwards;
  pointer-events: auto;
}
.hero__switcher label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}
.switcher-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}
.switcher-btn:hover { background: rgba(0, 20, 255, 0.05); }
.switcher-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hero__copy-wrapper {
  display: none;
}
.hero__copy-wrapper.active {
  display: block;
}

.hero__title {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 24px;
}

.hero__title-line {
  display: block;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.35s; }
.hero__title-line:nth-child(2) { animation-delay: 0.45s; }
.hero__title-line:nth-child(3) { animation-delay: 0.55s; }

.hero__title-line--accent {
  color: var(--accent);
}

.hero__sub {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 48px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

/* ── CORPORATE PORTAL UI ── */
.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 56px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.85s forwards;
  pointer-events: auto;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  align-items: stretch;
}

.portal-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px;
  background: #ffffff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 255, 0.15);
  border-radius: var(--r-xl);
  min-height: 240px;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 20, 255, 0.15);
}

.portal-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 20px 80px rgba(0, 20, 255, 0.15);
  border-color: var(--accent);
}

.portal-card--disabled {
  background: rgba(240, 245, 255, 0.6);
  opacity: 0.8;
  pointer-events: none;
  filter: grayscale(100%);
  position: relative;
}
.portal-card--disabled::after {
  content: "COMING SOON";
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--text-secondary);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.portal-card:hover .portal-card__icon {
  animation: iconPop 0.5s ease-out forwards;
}

@keyframes iconPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.2) rotate(-8deg); color: var(--accent); }
  60% { transform: scale(1.1) rotate(6deg); color: var(--accent); }
  80% { transform: scale(1.15) rotate(-3deg); color: var(--accent); }
  100% { transform: scale(1.1) rotate(0); color: var(--accent); }
}

.portal-card__icon {
  position: absolute;
  top: 40px; right: 40px;
  width: 48px; height: 48px;
  color: var(--text-muted);
  transition: all 0.4s;
}

.portal-card__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.portal-card__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  min-height: 2.6em; /* Ensure titles take up same vertical space */
  display: flex;
  align-items: flex-start;
}

.portal-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 3.2em; /* Ensure same height for 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── SIDE NAV INDICATOR ── */
.side-nav {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 14px;
  pointer-events: auto;
}

.side-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.side-nav__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}

.side-nav__item.active .side-nav__dot {
  background: var(--accent);
  width: 6px;
  height: 28px;
  border-radius: 3px;
}

.side-nav__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateX(-6px);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-transform: uppercase;
  pointer-events: none;
}

.side-nav__item:hover .side-nav__label,
.side-nav__item.active .side-nav__label {
  opacity: 1;
  transform: translateX(0);
}

.side-nav__item.active .side-nav__label {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .side-nav { display: none; }
  .portal-grid { grid-template-columns: repeat(2, 1fr); }
}

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

/* ── WORKS FILTER TABS ── */
.works__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.works__tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.works__tab:hover { border-color: var(--accent); color: var(--accent); }
.works__tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,20,255,0.2);
}

/* 案件管理ページ専用タブ（script.jsのworks__tabと干渉しないよう分離） */
.proj-tabs {
  display: flex;
  gap: 8px;
}
.proj-tab {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: inherit;
}
.proj-tab:hover { border-color: var(--accent); color: var(--accent); }
.proj-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,20,255,0.2);
}
.works__panel { display: none; }
.works__panel.active { display: block; }

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 80px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}
.hero--compact .hero__actions {
  margin-bottom: 0;
  animation-delay: 0.2s;
}

.hero__stats {
  display: flex;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
}

.hero__stat {
  padding: 0 40px;
}
.hero__stat:first-child { padding-left: 0; }

.hero__stat-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}

.hero__stat-num {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.hero__stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}
.hero__scroll-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  margin: 0 auto;
  box-shadow: 4px 4px 0 rgba(74, 103, 245, 0.0);
  animation: chevDouble 2s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes chevDouble {
  0%, 100% { transform: translateY(0) rotate(45deg); box-shadow: 4px 4px 0 rgba(74, 103, 245, 0.0); }
  50% { transform: translateY(5px) rotate(45deg); box-shadow: 8px 8px 0 rgba(74, 103, 245, 0.5); }
}

/* ── MARQUEE ── */
.marquee {
  overflow: hidden;
  background: var(--accent);
  padding: 18px 0;
}

.marquee__track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}
.marquee__track span svg {
  width: 16px;
  height: 16px;
}
.marquee__track span:nth-child(even) {
  opacity: 0.5;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Animated Waves */
.animated-waves {
  position: relative;
  width: 100%;
  height: 60px;
  margin-bottom: -2px; /* Fix gap issue */
}

.waves-svg {
  width: 100%;
  height: 100%;
}

/* Animation */
.parallax > use {
  animation: move-forever 25s cubic-bezier(.55,.5,.45,.5)     infinite;
}
.parallax > use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}
.parallax > use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}
.parallax > use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}
.parallax > use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}
@keyframes move-forever {
  0% {
   transform: translate3d(-90px,0,0);
  }
  100% { 
    transform: translate3d(85px,0,0);
  }
}

/* ── ABOUT ── */
.about {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.about__left {
  margin-top: 60px; /* Bumps left side text down so it's not flush with the top of the taller right side */
}

.about__left .section-title {
  margin-top: 0;
}

.about__lead {
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.9;
}

.about__points {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about__point {
  display: flex;
  gap: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 20, 255, 0.1);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 30px rgba(0, 20, 255, 0.05);
  transition: all var(--dur) var(--ease);
}
.about__point:last-child {
  border-bottom: none;
}

.about__point:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 80px rgba(0, 20, 255, 0.08);
}

.about__point-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__point-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
  stroke: currentColor;
}

.about__point h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.about__point p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── WORKS ── */
.works {
  background: var(--bg-2);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.works__item {
  background: var(--bg-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur), box-shadow var(--dur);
}

.works__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 80px rgba(0, 20, 255, 0.12);
}

.works__thumb {
  position: relative;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #ebebf3;
}

.works__thumb iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.works__thumb--placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.works__wave-visual {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 24px 32px;
  height: 100%;
}

.wv-bar {
  flex: 1;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
  height: var(--h);
  opacity: 0.8;
  animation: wvAnim 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
  animation-delay: calc(var(--h) * 0.04s);
}

.works__thumb--alt .wv-bar {
  background: var(--text-primary);
  opacity: 0.2;
}

@keyframes wvAnim {
  from { transform: scaleY(0.6); }
  to { transform: scaleY(1.1); }
}

.works__placeholder-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 1;
  background: #fff;
  padding: 12px 24px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 20, 255, 0.1);
}

.works__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,20,255,0.7);
  opacity: 0;
  transition: opacity var(--dur);
}
.works__item:hover .works__overlay { opacity: 1; }
.works__overlay svg { width: 64px; height: 64px; fill: #fff; }

.works__info {
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.works__tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(0, 20, 255, 0.08);
  padding: 6px 12px;
  border-radius: 100px;
}

.works__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
}

/* ── PRICE ── */
.price { background: var(--bg); }

.price__main {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.price__card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px;
  box-shadow: var(--shadow-card);
}

.price__card--featured {
  background: var(--accent);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0, 20, 255, 0.25);
  position: relative;
  overflow: hidden;
  color: #fff;
}
.price__card--featured::before {
  content: '';
  position: absolute;
  bottom: -50%; right: -20%;
  width: 150%; height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.price__card-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}
.price__card--featured .price__card-label {
  color: rgba(255, 255, 255, 0.8);
}

.price__card-amount {
  margin-bottom: 40px;
}

.price__card-any {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.price__card--featured .price__card-any {
  color: rgba(255, 255, 255, 0.9);
}

.price__card-num {
  display: block;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: var(--text-primary);
  line-height: 1;
}
.price__card--featured .price__card-num {
  color: #fff;
}

.price__card-tax {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.price__card--featured .price__card-tax {
  color: rgba(255, 255, 255, 0.7);
}

.price__card-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.price__card-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
}
.price__card--featured .price__card-features li {
  color: #fff;
}

.price__card-features li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--accent);
}
.price__card--featured .price__card-features li svg {
  color: #fff;
  opacity: 0.8;
}

/* Options side */
.price__options {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.price__options-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.price__option-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price__option {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: all var(--dur);
}
.price__option:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 20, 255, 0.08);
  transform: translateX(4px);
}

.price__option-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.price__option-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(0, 20, 255, 0.05);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.price__option-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.price__option-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.price__option-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price__option-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--accent);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.price__academy {
  background: #f9f9fd;
  border: 1px dashed rgba(0, 20, 255, 0.3);
  border-radius: var(--r-md);
  padding: 32px;
  transition: background var(--dur);
}
.price__academy:hover {
  background: #f4f4fa;
}

.price__academy-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.price__academy-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price__academy-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.price__academy-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── FLOW ── */
.flow { background: var(--bg-2); }

.flow__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.flow__step {
  display: grid;
  grid-template-columns: 100px 1fr 60px;
  gap: 32px;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
  position: relative;
}

.flow__step--last {
  border-bottom: none;
}

.flow__step-num {
  font-size: 4rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  color: var(--accent);
  line-height: 0.8;
  margin-top: 4px;
}

.flow__step-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.flow__step-body p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.flow__step-notes {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.flow__step-notes span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.flow__step-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12px;
}
.flow__step-arrow svg {
  width: 32px;
  height: 32px;
  color: var(--accent);
}

.flow__cta {
  margin-top: 80px;
  display: flex;
  justify-content: center;
}

/* ── VOICE ── */
.voice { background: var(--bg); overflow: hidden; }

.voice__track-wrapper {
  overflow: hidden;
  border-radius: var(--r-lg);
  padding-bottom: 40px;
}

.voice__track {
  display: flex;
  gap: 32px;
  transition: transform 0.6s var(--ease);
}

.voice__card {
  flex-shrink: 0;
  width: calc(50% - 16px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 48px;
  box-shadow: var(--shadow-card);
  transition: transform var(--dur), box-shadow var(--dur);
}

.voice__card:hover { 
  transform: translateY(-4px);
  box-shadow: 0 20px 80px rgba(0, 20, 255, 0.08); 
}

.voice__stars {
  color: var(--accent);
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-bottom: 24px;
}

.voice__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 2;
  margin-bottom: 32px;
}

.voice__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.voice__author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.voice__author-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.voice__author-tag {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.voice__controls {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.voice__btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur);
}
.voice__btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.voice__btn svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
  transition: color var(--dur);
}
.voice__btn:hover svg { color: #fff; }

.voice__dots { display: flex; gap: 10px; }
.voice__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 20, 255, 0.15);
  cursor: pointer;
  transition: all var(--dur);
}
.voice__dot.active {
  background: var(--accent);
  transform: scale(1.4);
}

/* ── FAQ ── */
.faq { background: var(--bg-2); }

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.faq__group-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--accent);
}

.faq__items { display: flex; flex-direction: column; gap: 8px; }

.faq__item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 700;
  transition: color var(--dur);
}
.faq__q:hover { color: var(--accent); }

.faq__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
  transition: transform var(--dur);
}
.faq__q[aria-expanded="true"] .faq__icon {
  transform: rotate(180deg);
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}
.faq__a.open {
  max-height: 400px;
  padding-bottom: 24px;
}
.faq__a p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--accent);
  position: relative;
  overflow: hidden;
  padding: 140px 0;
}

.cta-banner__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.cta-banner__orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1000px;
  height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  filter: blur(60px);
}

.cta-banner .container { position: relative; z-index: 1; }

.cta-banner__content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.cta-banner__pre {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

.cta-banner__title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 24px;
}
.cta-banner__title em {
  font-style: normal;
}

.cta-banner__desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 56px;
}

.cta-banner__actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 100px 0 40px;
}

.footer__top {
  display: flex;
  gap: 100px;
  margin-bottom: 80px;
}

.footer__brand { flex: 1; }

.footer__logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 16px;
}
.footer__logo span { color: var(--text-primary); }

.footer__tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.footer__nav {
  display: flex;
  gap: 80px;
}

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__nav-title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.footer__nav-col a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur);
}
.footer__nav-col a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__terms {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur);
}
.footer__terms:hover { color: var(--accent); }

/* ── SCROLL REVEAL ANIMATION ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero__bg { mask-image: none; opacity: 0.2; }
  .price__main { grid-template-columns: 1fr; }
  .price__card--featured { order: -1; }
  .about__grid { grid-template-columns: 1fr; gap: 60px; }
  .footer__top { gap: 60px; }
  .footer__nav { gap: 40px; }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section { padding: 100px 0; }

  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__inner { padding: 0 24px; }

  .hero__content { padding: 140px 24px 100px; text-align: center; }
  .hero__actions { justify-content: center; }
  .hero__stats { flex-direction: column; gap: 24px; }
  .hero__stat { padding: 0; }
  .hero__stat-divider { display: none; }
  .hero__bg { opacity: 0.1; }

  .about__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; gap: 40px; }

  .voice__card { width: 100%; padding: 32px; }
  .voice__track { gap: 16px; }

  .footer__top { flex-direction: column; gap: 48px; }
  .footer__nav { flex-direction: column; gap: 40px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .flow__step { grid-template-columns: 60px 1fr; gap: 20px; padding: 40px 0; }
  .flow__step-arrow { display: none; }
  .flow__step-num { font-size: 2.5rem; }

  .price__card { padding: 40px 24px; }

  .hero__title { font-size: clamp(3rem, 12vw, 4rem); }
  .mobile-menu { padding: 24px; }
}

/* ── STAFF PORTAL UI ── */
.staff-container {
  padding: 140px 24px 80px;
  max-width: 900px;
  margin: 0 auto;
  min-height: 70vh;
}
body.page-template-page-projects .staff-container,
body.page-template-page-admin-projects .staff-container,
body.page-template-page-staff-projects .staff-container {
  max-width: 100%;
}
.staff-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 56px;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
}
.staff-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
  letter-spacing: -0.03em;
}
.staff-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.staff-widget {
  display: block;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--r-md);
  padding: 32px;
  transition: all var(--dur);
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,150,0.03);
}
.staff-widget:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 20, 255, 0.08);
}
.staff-widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}
.staff-widget-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 運営からのお知らせ領域 */
.staff-news {
  background: rgba(255, 255, 255, 0.8);
  border-left: 4px solid var(--accent);
  border-radius: var(--r-md);
  padding: 24px 32px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(0,0,150,0.03);
}
.staff-news-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.staff-news-title svg {
  color: var(--accent);
}
.staff-news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.staff-news-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
}
.staff-news-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.staff-news-list .news-date {
  color: var(--text-secondary);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
  width: 90px;
}
.staff-news-list .news-text {
  color: var(--text-primary);
  flex: 1;
}

@media (max-width: 600px) {
  .staff-news {
    padding: 20px;
  }
  .staff-news-list li {
    flex-direction: column;
    gap: 6px;
  }
  .staff-news-list .news-date {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .staff-card { padding: 32px 16px; }
}

/* ── PROJECTS UI ── */
.controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.controls-bar .btn {
  padding: 12px 24px;
  font-size: 0.85rem;
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 16px;
  width: 100%;
  max-width: 320px;
}
.search-box svg {
  width: 18px; height: 18px;
  color: var(--text-muted);
  margin-right: 8px;
}
.search-box input {
  border: none;
  background: none;
  outline: none;
  font-size: 0.9rem;
  width: 100%;
  color: var(--text-primary);
}

.project-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}
.project-table th,
.project-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.project-table th {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.project-table td {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

.project-table tbody tr {
  transition: background var(--dur);
}
.project-table tbody tr:hover {
  background: rgba(0, 20, 255, 0.02);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
}
.status-badge::before {
  content: '';
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
}

.status-badge--new {
  background: rgba(255, 150, 0, 0.1);
  color: #df8400;
}
.status-badge--new::before { background: #df8400; }

.status-badge--progress {
  background: rgba(0, 80, 255, 0.1);
  color: var(--accent);
}
.status-badge--progress::before { background: var(--accent); }

.status-badge--review {
  background: rgba(150, 0, 255, 0.1);
  color: #9600ff;
}
.status-badge--review::before { background: #9600ff; }

.status-badge--done {
  background: rgba(0, 200, 100, 0.1);
  color: #00a854;
}
.status-badge--done::before { background: #00a854; }

.project-cell-title {
  font-weight: 800;
  color: var(--accent);
}

.project-cell-date {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.project-cell-date input[type="date"] {
  font-size: 0.85rem;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text-secondary);
  outline: none;
  font-family: inherit;
  cursor: pointer;
}

.project-cell-text input[type="text"] {
  font-size: 0.95rem;
  padding: 4px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
  width: 100%;
  min-width: 150px;
}

/* インライン編集入力フィールド（クライアント名・楽曲名） */
.project-inline-input {
  font-size: 0.92rem;
  padding: 5px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s, background 0.15s;
}
.project-inline-input:hover,
.project-inline-input:focus {
  border-color: var(--border);
  background: var(--bg-2);
}

.status-select {
  font-size: 0.8rem;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 700;
  outline: none;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23333%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 10px auto;
  padding-right: 28px;
}
/* status-select のカラー：background-color で個別上書き（background-image と競合しないよう分離） */
.status-select.status-badge--new      { background-color: rgba(255,150,0,0.12);  color: #df8400; }
.status-select.status-badge--progress { background-color: rgba(0,80,255,0.12);   color: var(--accent); }
.status-select.status-badge--review   { background-color: rgba(150,0,255,0.12);  color: #9600ff; }
.status-select.status-badge--done     { background-color: rgba(0,200,100,0.12);  color: #00a854; }

.btn-action {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-action:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.assignee-select {
  font-size: 0.85rem;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--dur);
}
.assignee-select:focus {
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .project-table { font-size: 0.85rem; }
  .project-table td, .project-table th { padding: 12px 8px; }
  .controls-bar { flex-direction: column; align-items: stretch; }
  .search-box { max-width: 100%; }
}
