/*
|---------------------------------------------------------------
| qinc2026-section-ecosystem.css - サービスエコシステム概要
|---------------------------------------------------------------
*/

/* ==========================================================================
   Section Ecosystem
   ========================================================================== */
.section-ecosystem {
  padding: 53px 0 0;
  background-color: var(--color-white);
}

.section-ecosystem__inner.container {
  position: relative;
}

/* --------------------------------------------------------------------------
   Header: Title + Lines
   -------------------------------------------------------------------------- */
.section-ecosystem__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 32px;
}

.section-ecosystem__line {
  flex: 1;
  max-width: 766px;
  height: 1px;
  background-color: var(--color-blue01);
}

.section-ecosystem__title {
  font-family: var(--font-family-ja);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  text-align: center;
  color: var(--color-blue01);
  margin: 0;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Cards Container
   -------------------------------------------------------------------------- */
.section-ecosystem__cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.section-ecosystem__plus {
  font-family: var(--font-family-ja);
  font-weight: 100;
  font-size: 54px;
  line-height: 1;
  color: var(--color-blue01);
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */
.section-ecosystem__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 251px;
  height: 164px;
  background-color: #f1f5f9;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.section-ecosystem__card:hover {
  background-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.section-ecosystem__card-category {
  font-family: var(--font-family-en);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--color-blue01);
  margin-bottom: 6px;
}

.section-ecosystem__card-title {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.27;
  letter-spacing: 0.05em;
  color: var(--color-blue01);
  margin-bottom: 6px;
}

.section-ecosystem__card-desc {
  font-weight: 400;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: 0.05em;
  color: var(--color-blue01);
  margin-bottom: 12px;
}

.section-ecosystem__card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 8px;
  color: var(--color-blue01);
  transition: transform 0.2s ease;
}

.section-ecosystem__card:hover .section-ecosystem__card-arrow {
  transform: translateY(3px);
}

.section-ecosystem__card-arrow svg {
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Divider
   -------------------------------------------------------------------------- */
.section-ecosystem__divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-blue01);
}

/* ==========================================================================
   Responsive - Section Ecosystem
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .section-ecosystem__cards {
    gap: 12px;
  }

  .section-ecosystem__card {
    width: 200px;
    height: 140px;
  }

  .section-ecosystem__card-title {
    font-size: 18px;
  }

  .section-ecosystem__plus {
    font-size: 40px;
  }
}

@media screen and (max-width: 768px) {
  .section-ecosystem {
    padding: 40px 0 0;
  }

  .section-ecosystem__header {
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-ecosystem__title {
    font-size: 16px;
  }

  .section-ecosystem__cards {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
  }

  .section-ecosystem__plus {
    font-size: 32px;
  }

  .section-ecosystem__card {
    width: 100%;
    max-width: 280px;
    height: 120px;
  }

  .section-ecosystem__card-title {
    font-size: 20px;
  }
}
