/* WOOVE - works.css */

/* ===== HERO ===== */
.works-hero {
  padding: 160px 60px 80px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.works-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: var(--brand-pale);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.works-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}
.works-hero-label {
  font-size: 10px; letter-spacing: 0.45em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0; animation: fadeUp 0.9s 0.2s forwards;
}
.works-hero-label::before { content: ''; width: 36px; height: 2px; background: var(--brand); }
.works-hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.3;
  margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.9s 0.4s forwards;
}
.works-hero-title em { font-style: normal; color: var(--brand); }
.works-hero-sub {
  font-size: 14px; line-height: 2.2; color: var(--ink-light);
  margin-bottom: 48px; max-width: 520px;
  opacity: 0; animation: fadeUp 0.9s 0.6s forwards;
}

/* 統計バー */
.works-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 0.9s 0.8s forwards;
}
.works-stat-item { }
.works-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; line-height: 1;
  color: var(--brand);
}
.works-stat-num sup { font-size: 22px; }
.works-stat-label { font-size: 11px; letter-spacing: 0.15em; color: var(--ink-light); margin-top: 6px; }

/* ===== DEMO REEL EMBED ===== */
.demo-reel-embed {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: var(--ink);
}
.demo-reel-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.demo-reel-caption {
  max-width: 960px;
  margin: 12px auto 0;
  font-size: 11px;
  color: var(--ink-light);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

/* ===== DEMO REEL PLACEHOLDER ===== */
.demo-reel-section {
  padding: 0 60px 80px;
  background: var(--bg);
}
.demo-reel-placeholder {
  width: 100%;
  aspect-ratio: 16/6;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.demo-reel-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17,168,184,0.08) 0%, transparent 50%),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 40px,
      rgba(17,168,184,0.03) 40px,
      rgba(17,168,184,0.03) 41px
    );
}
.demo-reel-icon {
  width: 64px; height: 64px;
  border: 2px solid rgba(17,168,184,0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}
.demo-reel-icon::after {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent rgba(17,168,184,0.5);
  margin-left: 4px;
}
.demo-reel-text {
  font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(17,168,184,0.5);
  position: relative; z-index: 1;
}
.demo-reel-note {
  font-size: 11px; color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
  position: relative; z-index: 1;
}

/* ===== FILTER ===== */
.filter-section {
  padding: 20px 60px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0; /* JSで上書き */
  z-index: 50;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.filter-group:last-of-type { border-bottom: none; padding-bottom: 8px; }

.filter-group-label {
  font-size: 10px; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--brand); font-weight: 500;
}

.filter-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.filter-row:last-child { margin-bottom: 0; }
.filter-label {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brand); font-weight: 500; min-width: 72px;
}
.filter-btn {
  font-size: 11px; letter-spacing: 0.08em;
  padding: 6px 16px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--ink-light);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
}
.filter-btn:hover { border-color: var(--brand); color: var(--brand); }
.filter-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  font-weight: 500;
}
.filter-count {
  margin-left: auto;
  font-size: 12px; color: var(--ink-light);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.filter-count span { color: var(--brand); font-weight: 700; font-size: 16px; }

/* ===== WORKS GRID ===== */
.works-section {
  padding: 60px 60px 100px;
  background: var(--bg);
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.work-card {
  border: 1px solid var(--border);
  background: var(--white);
  transition: all 0.35s;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.work-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--brand);
  transition: width 0.4s;
}
.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(17,168,184,0.1);
  border-color: var(--brand-mid);
}
.work-card:hover::after { width: 100%; }
.work-card.hidden {
  display: none;
}

/* カード上部のカラーバー */
.work-card-bar {
  height: 4px;
  background: var(--brand-mid);
}
.work-card-bar.type-pr     { background: linear-gradient(to right, #11a8b8, #4ecfdb); }
.work-card-bar.type-recruit { background: linear-gradient(to right, #0d8a98, #11a8b8); }
.work-card-bar.type-motion  { background: linear-gradient(to right, #4ecfdb, #83e3eb); }
.work-card-bar.type-event   { background: linear-gradient(to right, #0a6e7a, #0d8a98); }
.work-card-bar.type-sns     { background: linear-gradient(to right, #11a8b8, #0d8a98); }
.work-card-bar.type-transit { background: linear-gradient(to right, #083e45, #0d8a98); }
.work-card-bar.type-wedding  { background: linear-gradient(to right, #b8a9c9, #d4c5e2); }

.work-card-

.work-card-industry {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 10px; font-weight: 500;
}
.work-card-title {
  font-size: 15px; font-weight: 700; line-height: 1.6;
  color: var(--ink); margin-bottom: 16px;
}
.work-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.work-tag {
  font-size: 10px; padding: 3px 10px;
  background: var(--brand-pale); color: var(--brand-dark);
  border: 1px solid var(--brand-mid); letter-spacing: 0.05em;
}
.work-tag.tag-process {
  background: var(--bg-soft); color: var(--ink-light);
  border-color: var(--border);
}
.work-card-note {
  font-size: 12px; line-height: 1.9; color: var(--ink-light);
  border-top: 1px solid var(--border); padding-top: 16px;
}

/* ===== NO RESULTS ===== */
.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
}
.no-results.show { display: block; }
.no-results p { font-size: 14px; color: var(--ink-light); line-height: 2; }

/* ===== CTA ===== */
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--brand); }
.section-label::after  { content: ''; width: 28px; height: 2px; background: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,168,184,0.28); }
.btn-outline-brand:hover { background: var(--brand); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(17,168,184,0.28); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav, nav.scrolled { padding: 16px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .works-hero { padding: 120px 24px 60px; }
  .works-hero::before { display: none; }
  .demo-reel-section { padding: 0 24px 60px; }
  .filter-section { padding: 0 0 0 0; top: 65px; }

  /* モバイル：各グループを横スクロール1行に */
  .filter-group {
    padding: 10px 16px;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
  }
  .filter-group:last-of-type { border-bottom: none; }
  .filter-group-label {
    font-size: 9px;
    letter-spacing: 0.25em;
  }
  .filter-buttons {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    gap: 6px;
  }
  .filter-buttons::-webkit-scrollbar { display: none; }
  .filter-btn {
    font-size: 11px;
    padding: 5px 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .filter-count { white-space: nowrap; flex-shrink: 0; }

  .works-section { padding: 40px 24px 80px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .cta-section { padding: 72px 24px; }
  footer { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-right { text-align: left; }
}
@media (max-width: 599px) {
  .works-stats { gap: 28px; }
  .works-stat-num { font-size: 36px; }
  .works-grid { grid-template-columns: 1fr; }
  .demo-reel-placeholder { aspect-ratio: 16/9; }
}

/* ===== ひらがな・句読点 縮小 ===== */
/* ===== work-card-body（padding修正） ===== */
.work-card-body { padding: 28px; }

/* ===== Achievements card スタイル ===== */
.ach-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  padding: 32px 24px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.ach-card:hover {
  box-shadow: 0 12px 40px rgba(17,168,184,0.12);
  transform: translateY(-4px);
}
.ach-industry {
  font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px; font-weight: 500;
}
.ach-title {
  font-size: 15px; font-weight: 700; line-height: 1.6;
  margin-bottom: 16px; color: var(--ink);
}
.ach-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ach-tag {
  font-size: 10px; padding: 3px 10px;
  background: var(--brand-pale); color: var(--brand-dark);
  border: 1px solid var(--brand-mid); letter-spacing: 0.05em;
}
.ach-note {
  margin-top: 28px; font-size: 12px; color: var(--ink-light);
  line-height: 1.9; padding: 16px 20px;
  background: var(--bg-tint); border-left: 3px solid var(--brand);
}

/* ===== CTA 中央寄せ ===== */
.works-section .cta-label,
.cta-section .cta-label { justify-content: center; }
