/* ========================================
   導入したソリューション - 6カードグリッドレイアウト
======================================== */

/* Section */
.solutions-section {
  padding: 80px 24px 96px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafb 100%);
}

.solutions-section__title {
  text-align: center;
  font-size: 38px;
  letter-spacing: -0.01em;
  margin: 0;
  color: #0b1b3a;
  font-weight: 700;
}

.solutions-section__subtitle {
  text-align: center;
  margin: 16px auto 0;
  color: #4a5f7a;
  font-size: 18px;
  font-weight: 400;
  max-width: 780px;
  line-height: 1.6;
}

/* Grid - 3列×2行レイアウト（PC） */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  max-width: 1280px;
  margin: 56px auto 0;
  align-items: stretch;
}

/* Solution Card */
.solution-card {
  background: #ffffff;
  border: 1px solid rgba(220, 230, 245, 0.6);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(15, 37, 68, 0.04);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 37, 68, 0.1);
  border-color: rgba(74, 144, 226, 0.4);
}

/* Visual area */
.solution-card__visual {
  background: linear-gradient(135deg, #f8fafc 0%, #f3f6fa 100%);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
}

.solution-card__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 11;
  object-fit: contain;
}

/* Body */
.solution-card__body {
  padding: 24px 24px 28px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.solution-card__number {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex: 0 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Number colors */
.solution-card__number--blue {
  background: linear-gradient(135deg, #4a90e2, #5ba3f5);
}

.solution-card__number--green {
  background: linear-gradient(135deg, #10b981, #34d399);
}

.solution-card__number--yellow {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

.solution-card__number--purple {
  background: linear-gradient(135deg, #8b7fc8, #a599d6);
}

.solution-card__number--orange {
  background: linear-gradient(135deg, #ff9a56, #ffb380);
}

.solution-card__number--cyan {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.solution-card__title {
  font-size: 18px;
  margin: 0;
  color: #0b1b3a;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.solution-card__description {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: #4a5f7a;
}

/* Callout: compact + clean */
.dx-callout {
  max-width: 980px;
  margin: 28px auto 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  
  border-radius: 14px;
  background: #FFF4E6;
  border: 1px solid rgba(255, 166, 77, .35);
  box-shadow: 0 14px 34px rgba(0,0,0,.06);
}

/* icon: no longer floating above */
.dx-callout__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  
  border-radius: 999px;
  background: #FFA64D;
  box-shadow: 0 10px 20px rgba(255, 166, 77, .25);
}

.dx-callout__emoji {
  font-size: 18px;
  line-height: 1;
}

/* text */
.dx-callout__body {
  min-width: 0;
}

.dx-callout__title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #1F2A44;
  letter-spacing: .01em;
}

.dx-callout__text {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.65;
  color: rgba(31,42,68,.78);
}

/* Responsive */
@media (max-width: 1024px) {
  .solutions-section {
    padding: 64px 20px 80px;
  }

  .solutions-section__title {
    font-size: 32px;
  }

  .solutions-section__subtitle {
    font-size: 17px;
  }

  .solutions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 48px;
  }

  .solution-card__visual {
    min-height: 180px;
    padding: 20px 16px;
  }

  .solution-card__title {
    font-size: 17px;
  }

  .solution-card__description {
    font-size: 13px;
  }

  .dx-callout {
    margin-top: 24px;
    padding: 12px 14px;
  }

  .dx-callout__title {
    font-size: 14px;
  }

  .dx-callout__text {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .solutions-section {
    padding: 56px 16px 64px;
  }

  .solutions-section__title {
    font-size: 28px;
  }

  .solutions-section__subtitle {
    font-size: 16px;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
  }

  .solution-card__visual {
    min-height: 180px;
    padding: 20px 16px;
  }

  .solution-card__body {
    padding: 20px 20px 24px;
  }

  .solution-card__number {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .solution-card__title {
    font-size: 16px;
  }

  .solution-card__description {
    font-size: 13px;
  }

  .dx-callout {
    margin-top: 20px;
    padding: 12px 14px;
    align-items: flex-start;
  }

  .dx-callout__icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    margin-top: 2px;
  }

  .dx-callout__emoji {
    font-size: 16px;
  }

  .dx-callout__title {
    font-size: 14px;
  }

  .dx-callout__text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .solutions-section {
    padding: 48px 12px 56px;
  }

  .solutions-section__title {
    font-size: 24px;
  }

  .solutions-section__subtitle {
    font-size: 15px;
  }

  .solutions-grid {
    gap: 16px;
    margin-top: 32px;
  }

  .solution-card__visual {
    min-height: 160px;
    padding: 16px 12px;
  }

  .solution-card__body {
    padding: 18px 18px 22px;
  }

  .solution-card__header {
    gap: 10px;
    margin-bottom: 10px;
  }

  .solution-card__number {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .solution-card__title {
    font-size: 15px;
  }

  .solution-card__description {
    font-size: 12px;
    margin-top: 10px;
  }

  .dx-callout {
    margin-top: 20px;
    padding: 12px 12px;
    align-items: flex-start;
  }

  .dx-callout__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    margin-top: 2px;
  }

  .dx-callout__emoji {
    font-size: 15px;
  }

  .dx-callout__title {
    font-size: 13px;
  }

  .dx-callout__text {
    font-size: 11.5px;
    line-height: 1.7;
  }
}
