@charset "UTF-8";

/* ===== BUSINESS 事業案内ページ ===== */
.biz-overview__item {
  margin-block: clamp(2rem, 4vw, 4rem);
}
.biz-overview__list :last-child {
  margin-bottom: 0;
}
/* ===== 5グリッド（PCで最大5列／自動折返し） ===== */

/* Cards */
.cards {
  display: grid;
  gap: var(--sp-16);
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  text-align: center;
}
.card {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-main) 6%, #fff) 0%,
    color-mix(in srgb, var(--color-main) 6%, #fff) 100%
  );
  border: none;
  border-radius: 0.4rem;
  padding: var(--sp-16);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card .card__title {
  font-size: 0.9rem;
  font-weight: var(--weight-light);

  margin-bottom: 0.25rem;
  color: color-mix(in srgb, var(--color-grey) 60%, #fff);
  text-transform: uppercase;
  font-variant-numeric: lining-nums;
}
.card .card__text {
  font-size: 1.2rem;
  font-weight: var(--weight-medium);
}

.biz-overview__item ul li {
  margin-bottom: 0.75rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}
.biz-overview__item ul li {
  padding: 0.75rem 0 0.75rem 0;
  font-size: 1rem;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.biz-overview__item ul li:last-child {
  border-bottom: none;
}
.cards-stack {
  margin-top: 1.5rem;
  display: grid;
  gap: var(--sp-24);
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  text-align: left;
}
.product-card {
  display: grid;

  gap: clamp(0.75rem, 2vw, 1.5rem);
  align-items: stretch;
  background: var(--color-bg);

  padding: clamp(0.75rem, 2vw, 1.25rem);
  position: relative;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--color-main) 85%, #fff) 0%,
    var(--color-main) 35%,
    color-mix(in srgb, var(--color-main) 75%, #000) 100%
  );
  filter: saturate(0.9);
  opacity: 0.9;
}
.product-card__body {
  display: grid;
  gap: 0.5rem;
  align-content: start;
}
.product-card__title {
  font-size: var(--fs-h3);
}
.product-card__text p {
  margin: 0.25rem 0;
}
.product-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid
    color-mix(in srgb, var(--color-grey) 20%, var(--color-bg));
}
.product-specs li {
  border-bottom: 1px solid
    color-mix(in srgb, var(--color-grey) 20%, var(--color-bg));
  padding: 0.4rem 0;
  font-size: 0.95rem;
}
.product-specs--inline {
  margin-top: 0.25rem;
}

.product-specs--inline li {
  list-style: disc;
  margin-left: 1.2em;
  margin-bottom: 0.2rem;
}
/* ===== レスポンシブ対応 ===== */
@media (max-width: 960px) {
  .cards {
    display: grid;
    gap: var(--sp-16);
    grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
    text-align: center;
  }
  .card {
    aspect-ratio: auto;
    padding-block: calc(var(--sp-16) * 1.25);
  }

  .product-card {
    grid-template-columns: 1fr;
  }
  .cards-stack {
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  }
}
