/* STOREVANCE - サービス詳細ページ */
/* ======================================== */

.service-hero {
  padding: 200px 0 120px;
  background: var(--bg-gray, #F7F8FA);
  text-align: center;
}

.service-hero .service-badge {
  display: inline-block;
  padding: 8px 16px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.service-hero-title {
  font-size: 64px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.service-hero-subtitle {
  font-size: 20px;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.service-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* スワイプ型LPとは */
.service-about {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.service-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-about-text h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text);
}

.service-about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 2;
}

.device-frame {
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: #1A1A1A;
  border-radius: 12px;
  padding: 16px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.swipe-demo {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--bg-gray, #F7F8FA);
}

.swipe-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-light);
  padding: 24px;
}

.swipe-indicator {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.swipe-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
}

.swipe-indicator span.active {
  width: 24px;
  border-radius: 4px;
  background: var(--primary);
}

/* 4つの強み詳細 */
.feature-detail-section {
  padding: var(--section-padding) 0;
  background: var(--bg-gray);
}

.feature-detail {
  display: grid;
  grid-template-columns: 80px 1fr 300px;
  gap: 40px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-detail:last-child {
  margin-bottom: 0;
}

.feature-detail.reverse {
  direction: rtl;
}

.feature-detail.reverse > * {
  direction: ltr;
}

.feature-detail-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.feature-detail-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-detail-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.feature-points {
  list-style: none;
}

.feature-points li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  color: var(--text);
}

.feature-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

.feature-detail-visual {
  aspect-ratio: 4/3;
  background: var(--bg-gray, #F7F8FA);
  border-radius: 8px;
}

/* 制作フロー */
.process-section {
  padding: var(--section-padding) 0;
  background: var(--white);
}

.process-timeline {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0 16px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.process-step {
  padding: 30px 20px;
  background: var(--bg-gray);
  border-radius: 8px;
  border: 1px solid var(--border, #E5E7EB);
  transition: var(--transition);
}

.process-step:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.process-step-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.process-step h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  color: var(--primary);
  font-size: 24px;
}

/* FAQ */
.faq-section {
  padding: var(--section-padding) 0;
  background: var(--bg-gray);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  padding: 28px 24px;
  background: var(--white);
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--border, #E5E7EB);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.faq-q span:first-child {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.faq-q strong {
  font-size: 16px;
  color: var(--text);
}

.faq-a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding-left: 48px;
}

.faq-a span:first-child {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--secondary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.faq-a p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0;
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .service-about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-detail,
  .feature-detail.reverse {
    grid-template-columns: 60px 1fr;
    direction: ltr;
    gap: 24px;
  }

  .feature-detail-visual {
    grid-column: 1 / -1;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .process-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .service-hero {
    padding: 160px 0 80px;
  }

  .service-hero-title {
    font-size: 36px;
  }

  .service-hero-subtitle {
    font-size: 16px;
  }

  .service-hero-cta {
    flex-direction: column;
  }

  .service-hero-cta .btn {
    width: 100%;
  }

  .device-frame {
    width: 240px;
    height: 480px;
  }

  .feature-detail {
    grid-template-columns: 1fr;
    margin-bottom: 48px;
  }

  .feature-detail-number {
    font-size: 36px;
  }

  .faq-a {
    padding-left: 0;
  }
}
