/* ============================================================
   Services page styles — テック系デザイン
   ============================================================ */

.page-hero {
  padding-top: calc(var(--nav-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: var(--color-bg-dark);
  border-bottom: 1px solid rgba(99,102,241,0.12);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.page-hero__content {
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: var(--space-sm);
  background: linear-gradient(135deg, var(--color-white), var(--color-gray-200));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero__desc {
  margin-top: var(--space-base);
  font-size: 1rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.8;
  max-width: 560px;
  margin-inline: auto;
}

.service-detail {
  max-width: 960px;
  margin-inline: auto;
}

.service-detail__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.service-detail__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(99,102,241,0.1);
  border: 1px solid rgba(99,102,241,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-light);
  flex-shrink: 0;
  margin-top: 4px;
}

.service-detail__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin-top: var(--space-xs);
}

.service-detail__lead {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.85;
  margin-bottom: var(--space-2xl);
  border-left: 2px solid var(--color-primary);
  padding-left: var(--space-base);
}

.service-detail__grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
  align-items: start;
}

.service-detail__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.service-detail__content h3 {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
  font-family: var(--font-mono);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.check-list li {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.68);
  padding-left: var(--space-xl);
  position: relative;
  line-height: 1.65;
}

.check-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-family: var(--font-mono);
}

.service-detail__cta-box {
  background: var(--color-bg-card);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-base);
  position: sticky;
  top: calc(var(--nav-height) + var(--space-base));
  overflow: hidden;
}

.service-detail__cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.service-detail__cta-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}

.service-detail__cta-box p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.75;
}

.service-detail__cta-box .btn {
  width: 100%;
}

.product-highlight {
  display: flex;
  gap: var(--space-base);
  background: rgba(6,182,212,0.05);
  border: 1px solid rgba(6,182,212,0.15);
  border-radius: var(--radius-md);
  padding: var(--space-base);
  align-items: flex-start;
}

.product-highlight__emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

.product-highlight h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.product-highlight p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: var(--space-base);
}

@media (max-width: 768px) {
  .service-detail__header {
    flex-direction: column;
    gap: var(--space-base);
  }

  .service-detail__grid {
    grid-template-columns: 1fr;
  }

  .service-detail__cta-box {
    position: static;
    order: -1;
  }
}
