/* =====================================
   Service App Page CSS
   Scope: /service-app/
===================================== */

.service-app-page {
  background: #ffffff;
}

/* =========================
   Hero + Background Layer
========================= */
.service-hero {
  position: relative;
  padding: 140px 0 72px;
  text-align: center;
  background:
    linear-gradient(
      180deg,
      rgba(35, 63, 154, 0.06) 0%,
      rgba(35, 63, 154, 0.03) 45%,
      rgba(255, 255, 255, 1) 100%
    );
}

.service-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
}

.service-title-center {
  text-align: center;
  font-size: 32px;
  font-weight: 400;
  color: #233f9a;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.service-subtitle-center {
  text-align: center;
  font-size: 14px;
  color: #64748b;
  letter-spacing: 0.06em;
}

/* =========================
   Products Section
========================= */
.products-section {
  position: relative;
  padding: 72px 0 120px;
  background:
    linear-gradient(
      180deg,
      rgba(35, 63, 154, 0.03),
      rgba(255, 255, 255, 1)
    );
}

.products-section .section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================
   Products Grid
========================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
}

/* =========================
   Product Card（共通）
========================= */
.product-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 36px 32px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(35, 63, 154, 0.18);
}

/* =========================
   Card Header
========================= */
.product-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.product-title {
  font-size: 18px;
  font-weight: 500;
  color: #233f9a;
}

/* Badge */
.product-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(35, 63, 154, 0.1);
  color: #233f9a;
  letter-spacing: 0.04em;
}

.product-badge.is-muted {
  background: #f1f5f9;
  color: #64748b;
}

/* =========================
   Card Body
========================= */
.product-description {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
  margin-bottom: 24px;
}

/* =========================
   Card Action
========================= */
.product-actions {
  margin-top: auto;
}

.product-link {
  font-size: 14px;
  font-weight: 500;
  color: #233f9a;
  text-decoration: none;
  letter-spacing: 0.04em;
}

/* =========================
   CoreRa Card
   （Linxyと完全に同じ挙動）
========================= */
.product-card-corera {
  /* 見た目・挙動は product-card と同一 */
}

/* =========================
   Fade In（CSS only）
========================= */
.product-card {
  opacity: 0;
  transform: translateY(20px);
  animation: serviceFade 0.8s ease forwards;
}

.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.2s; }

@keyframes serviceFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {

  .service-hero {
    padding: 120px 0 64px;
  }

  .service-title-center {
    font-size: 26px;
  }

  .products-section {
    padding: 64px 0 96px;
  }

  .products-section .section-inner {
    padding: 0 24px;
  }

  .product-card {
    padding: 28px 24px;
  }
}