/* WOOVE - index.css */

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 背景動画 */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* 動画の上に暗めオーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(10,20,30,0.72) 0%,
    rgba(10,20,30,0.55) 55%,
    rgba(10,20,30,0.3) 100%
  );
  z-index: 1;
}

.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 64px 100px 60px;
  max-width: 760px;
}

.hero-label {
  font-size: 10px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--brand-mid);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
}
.hero-label::before {
  content: '';
  width: 36px; height: 2px;
  background: var(--brand-mid);
}

.hero-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-title em {
  font-style: normal;
  color: var(--brand-mid);
}

.hero-sub {
  font-size: 13px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.78);
  line-height: 2.1;
  margin-bottom: 48px;
  max-width: 400px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(17,168,184,0.28);
}

.btn-secondary {
  display: inline-block;
  padding: 15px 36px;
  border: 1.5px solid rgba(255,255,255,0.7);
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  transition: all 0.25s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.28);
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,255,255,0.15);
}

/* CTAセクション用：ブランドカラーのアウトラインボタン */
.btn-outline-brand:hover {
  background: var(--brand);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(17,168,184,0.28);
}

/* Hero visual card — 削除済み */

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  opacity: 0;
  animation: fadeUp 0.9s 1s forwards;
}

.hero-stat {
  padding: 0;
  text-align: left;
  border-right: none;
}

.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  color: #ffffff;
  line-height: 1;
}
.hero-stat-num sup { font-size: 18px; color: var(--brand-mid); }
.hero-stat-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  margin-top: 5px;
}

.hero-stat + .hero-stat {
  padding-left: 32px;
  border-left: 1px solid rgba(255,255,255,0.2);
}

/* ===== PITCH ===== */
.pitch {
  background: var(--brand);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
/* 右側：斜め白ライン装飾 */
.pitch::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 100%;
  background: rgba(255,255,255,0.06);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}
/* 左側：縦ライン */
.pitch::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: rgba(255,255,255,0.2);
}
.pitch-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.pitch-label {
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.pitch-text {
  font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700;
  line-height: 1.8;
  color: var(--white);
  letter-spacing: 0.03em;
}
.pitch-sub {
  margin-top: 24px;
  font-size: 14px;
  line-height: 2.2;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  font-weight: 300;
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 100px 60px;
}
.section-lead {
  font-size: 14px; line-height: 2.2; color: var(--ink-light);
  max-width: 640px; margin-bottom: 56px;
}

.section-label::before {
  content: '';
  width: 28px; height: 2px;
  background: var(--brand);
}

/* ===== ACHIEVEMENTS ===== */
.achievements { background: var(--bg-soft); }

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.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: 500;
  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);
}

/* ===== SERVICES ===== */
.services { background: var(--white); }

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

.svc-card {
  border: 1.5px solid var(--border);
  padding: 44px 32px;
  position: relative;
  transition: all 0.3s;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--brand);
  transition: width 0.4s;
}
.svc-card:hover {
  border-color: var(--brand-mid);
  box-shadow: 0 16px 48px rgba(17,168,184,0.1);
  transform: translateY(-4px);
}
.svc-card:hover::after { width: 100%; }

.svc-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--brand);
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 12px;
}
.svc-icon { font-size: 28px; margin-bottom: 16px; display: block; }
.svc-iso {
  width: 120px;
  height: 90px;
  margin-bottom: 20px;
  display: block;
}
.svc-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ink);
  line-height: 1.5;
}
.svc-desc {
  font-size: 13px;
  line-height: 2.1;
  color: var(--ink-light);
}
.svc-tools { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-badge {
  font-size: 10px;
  padding: 4px 10px;
  background: var(--brand-pale);
  color: var(--brand-dark);
  border: 1px solid var(--brand-mid);
  letter-spacing: 0.05em;
}

/* ===== WHY ===== */
.why { background: var(--bg-soft); }

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

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

.why-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}
.why-point:first-child { border-top: 1px solid var(--border); }

.why-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  color: var(--brand);
  line-height: 1;
  padding-top: 2px;
}

.why-point-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}
.why-point-text {
  font-size: 13px;
  line-height: 2;
  color: var(--ink-light);
}

/* Skills panel */
.skills-panel {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 40px;
  box-shadow: 0 4px 24px rgba(17,168,184,0.08);
}

.skills-panel-title {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 32px;
  font-weight: 500;
}

.skill-row {
  margin-bottom: 28px;
}
.skill-row:last-child { margin-bottom: 0; }

.skill-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.skill-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.skill-level {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--brand);
  font-weight: 500;
}
.skill-bar-bg {
  height: 5px;
  background: var(--brand-pale);
  overflow: hidden;
}
.skill-bar {
  height: 100%;
  background: linear-gradient(to right, var(--brand), var(--brand-dark));
  transform: scaleX(0);
  transform-origin: left;
  animation: growBar 1.4s ease-out forwards;
}

/* ===== FLOW ===== */
.flow { background: var(--white); }

/* ===== FLOW ===== */
.flow { background: var(--white); }

.flow-timeline {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  padding: 8px 0 8px 0;
}

/* ベースライン（グレー） */
.flow-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
  z-index: 0;
}

/* 進行ライン（ブランドカラー・JS制御） */
.flow-progress-line {
  position: absolute;
  left: 27px;
  top: 0;
  width: 2px;
  height: 0%;
  background: linear-gradient(to bottom, var(--brand), var(--brand-dark));
  z-index: 1;
  transition: height 0.05s linear;
}

.flow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 52px;
  position: relative;
  z-index: 2;
}
.flow-item:last-child { padding-bottom: 0; }

/* ノード（丸ボタン） */
.flow-node {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--ink-light);
  flex-shrink: 0;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

/* アクティブ状態 */
.flow-item.active .flow-node {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 0 0 6px var(--brand-pale);
}

.flow-item-

.flow-item-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink-light);
  margin-bottom: 8px;
  transition: color 0.4s;
}

.flow-item.active .flow-item-title {
  color: var(--ink);
}

.flow-item-text {
  font-size: 13px;
  line-height: 2;
  color: var(--ink-light);
  opacity: 0.6;
  transition: opacity 0.4s;
}

.flow-item.active .flow-item-text {
  opacity: 1;
}

/* ===== CTA ===== */
.cta-info {
  margin-top: 32px;
  font-size: 12px;
  color: var(--ink-light);
  letter-spacing: 0.08em;
  position: relative;
}

/* ===== SCROLL REVEAL ===== */

/* 初期状態：非表示 */

/* 横からフェード（左） */

/* 横からフェード（右） */

/* フェードのみ（大きなブロック用） */

/* 出現済み */
nav.scrolled .nav-hamburger span { background: var(--ink); }

/* モバイルメニュー */
/* ===== RESPONSIVE ===== */

/* タブレット〜スマホ共通 */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero-left { padding: 100px 24px 72px; }
  .pitch { padding: 64px 24px; }
  .section { padding: 72px 24px; }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .flow-steps::before { display: none; }
  .cta-section { padding: 72px 24px; }
  footer { grid-template-columns: 1fr; padding: 40px 24px; }
  .footer-right { text-align: left; }
}

/* スマホ */
@media (max-width: 599px) {
  .hero-left { padding: 90px 20px 60px; }

  .hero-title { font-size: 24px; line-height: 1.6; }

  .hero-ctas { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-secondary { text-align: center; padding: 15px 28px; font-size: 13px; }

  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stat + .hero-stat { padding-left: 0; border-left: none; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 16px; }

  .pitch { padding: 52px 20px; }
  .pitch-text { font-size: 18px; }
  .pitch-sub { font-size: 13px; }

  .section { padding: 56px 20px; }
  .section-title { font-size: 24px; margin-bottom: 36px; }

  .achievements-grid { grid-template-columns: 1fr; }

  .svc-iso { width: 90px; height: 68px; }
  .svc-name { font-size: 16px; }

  .skills-panel { padding: 28px 20px; }

  .why-point { grid-template-columns: 40px 1fr; gap: 14px; }
  .why-num { font-size: 28px; }

  .flow-steps { grid-template-columns: 1fr; gap: 32px; }
  .flow-timeline { padding-left: 0; }
  .flow-num { width: 48px; height: 48px; font-size: 18px; }

  .cta-section { padding: 56px 20px; }
  .cta-title { font-size: 24px; }
  .cta-buttons { flex-direction: column; align-items: center; }

  footer { padding: 36px 20px; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}

/* ===== ひらがな・句読点 縮小 ===== */
/* ===== WHY・FLOW セクション タイトル中央寄せ ===== */
.why .section-label,
.why .section-title,
.flow .section-label,
.flow .section-title,
.flow .section-lead {
  text-align: center;
}
.why .section-label,
.flow .section-label {
  justify-content: center;
}

/* ===== coverage-label / coverage-tags ===== */
.coverage-block {
  margin-bottom: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.coverage-block:first-of-type { border-top: none; padding-top: 0; }
.coverage-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 12px; font-weight: 500;
}
.coverage-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.skills-panel-title {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 32px; font-weight: 500;
}
