/* ============================================================
   services.css – 事業内容ページ固有スタイル
   ============================================================ */

/* ---------- SERVICES OVERVIEW ---------- */
.svc-overview {
  text-align: center;
}

.svc-overview__title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .svc-overview__title {
    font-size: 1.875rem;
  }
}

.svc-overview__desc {
  margin: 1.25rem auto 0;
  max-width: 36rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

/* Diagram */
.svc-overview__diagram {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .svc-overview__diagram {
    flex-direction: row;
    gap: 0;
  }
}

.svc-overview__entity {
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 1.75rem;
  transition: all 0.2s;
}

.svc-overview__entity:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.svc-overview__entity-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.svc-overview__entity-icon--green {
  background: #ecfdf5;
  color: #059669;
}

.svc-overview__entity-icon--orange {
  background: rgba(var(--upro-orange-rgb), 0.08);
  color: var(--upro-orange);
}

.svc-overview__entity-icon svg {
  width: 22px;
  height: 22px;
}

.svc-overview__entity-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.svc-overview__entity-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* Center hub */
.svc-overview__hub {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
}

.svc-overview__hub-arrow {
  display: none;
  color: var(--upro-orange);
}

@media (min-width: 640px) {
  .svc-overview__hub-arrow {
    display: block;
  }
}

.svc-overview__hub-arrow svg {
  width: 18px;
  height: 18px;
}

.svc-overview__hub-label {
  border-radius: 9999px;
  background: var(--upro-dark);
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
}

/* ---------- SERVICE DETAIL ---------- */
.svc-detail__grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .svc-detail__grid {
    flex-direction: row;
    align-items: center;
    gap: 4rem;
  }

  .svc-detail__grid--reverse {
    flex-direction: row-reverse;
  }
}

.svc-detail__content {
  flex: 1;
}

.svc-detail__visual {
  flex: 1;
}

.svc-detail__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 9999px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.svc-detail__badge--arbeit {
  background: #fff7ed;
  color: #ea580c;
}

.svc-detail__badge--career {
  background: rgba(var(--upro-orange-rgb), 0.06);
  color: var(--upro-orange);
}

.svc-detail__name {
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.svc-detail__title {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--foreground);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .svc-detail__title {
    font-size: 1.875rem;
  }
}

.svc-detail__desc {
  margin-bottom: 2rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.svc-detail__features {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svc-detail__feature {
  display: flex;
  gap: 0.875rem;
}

.svc-detail__feature-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.svc-detail__feature-icon--arbeit {
  background: #fff7ed;
  color: #ea580c;
}

.svc-detail__feature-icon--career {
  background: rgba(var(--upro-orange-rgb), 0.06);
  color: var(--upro-orange);
}

.svc-detail__feature-icon svg {
  width: 16px;
  height: 16px;
}

.svc-detail__feature-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.svc-detail__feature-text {
  margin-top: 2px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.svc-detail__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--upro-orange);
  transition: gap 0.2s;
}

.svc-detail__link:hover {
  gap: 0.75rem;
}

/* Visual: photo */
.svc-detail__photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.svc-detail__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.svc-detail__photo-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.svc-detail__photo-tag-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--upro-orange);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.svc-detail__photo-tag-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--foreground);
}

/* Visual: career mockup */
.svc-detail__mockup {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(135deg, #eff6ff, #bfdbfe, #93c5fd);
  padding: 2rem;
  aspect-ratio: 1 / 1;
}

@media (min-width: 768px) {
  .svc-detail__mockup {
    padding: 3rem;
  }
}

.svc-detail__mockup-grid {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.svc-detail__mockup-card {
  position: relative;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.85);
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.svc-detail__mockup-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.svc-detail__mockup-logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--upro-orange);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.svc-detail__mockup-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
}

.svc-detail__mockup-sub {
  font-size: 11px;
  color: var(--muted-foreground);
}

.svc-detail__mockup-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 0.75rem;
}

.svc-detail__mockup-video {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(var(--upro-orange-rgb), 0.06);
  color: rgba(var(--upro-orange-rgb), 0.25);
}

.svc-detail__mockup-video svg {
  width: 20px;
  height: 20px;
}

.svc-detail__mockup-tags {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.svc-detail__mockup-tag-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 8px;
  background: var(--upro-dim);
  padding: 0.625rem 0.75rem;
}

.svc-detail__mockup-tag-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(var(--upro-orange-rgb), 0.1);
  flex-shrink: 0;
}

.svc-detail__mockup-tag-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.svc-detail__mockup-tag-line1 {
  height: 8px;
  width: 75%;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.06);
}

.svc-detail__mockup-tag-line2 {
  height: 8px;
  width: 50%;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
}

.svc-detail__mockup-tag-badge {
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(var(--upro-orange-rgb), 0.06);
  color: var(--upro-orange);
  white-space: nowrap;
}

/* ---------- SERVICES TARGET ---------- */
.svc-target__grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .svc-target__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.svc-target__card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--background);
  padding: 2rem;
  transition: all 0.2s;
}

.svc-target__card:hover {
  transform: translateY(-4px);
  border-color: var(--upro-orange);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.svc-target__card-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.svc-target__card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.svc-target__card-icon--green {
  background: #ecfdf5;
  color: #059669;
}

.svc-target__card-icon--orange {
  background: rgba(var(--upro-orange-rgb), 0.06);
  color: var(--upro-orange);
}

.svc-target__card-icon svg {
  width: 20px;
  height: 20px;
}

.svc-target__card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.svc-target__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.svc-target__item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.svc-target__dot {
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.svc-target__dot--green {
  background: #059669;
}

.svc-target__dot--orange {
  background: var(--upro-orange);
}
