/*
|---------------------------------------------------------------
| qinc2026-btob-next-202606.css
| 見出しは btob-architecture-202606.css の header クラスを共用
|---------------------------------------------------------------
*/

.btob-next-202606 {
  padding: 80px 0;
  background: #020441;
  color: #ffffff;
}

.btob-next-202606__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.btob-next-202606__card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 32px 24px;
  border-radius: 12px;
  background: hsl(0deg 0% 100% / 10%);
  color: #ffffff;
}

.btob-next-202606__card:not(:last-child)::before {
  content: "→";
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 98%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-gold, #c5a059);
  pointer-events: none;
  transform: translateY(-50%);
}

.btob-next-202606__card-step {
  margin: 0;
  font-family: "Oswald", "Montserrat", sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-gold, #c5a059);
}

.btob-next-202606__card-title {
  margin: 16px 0 0;
  font-size: clamp(18px, 6vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
}

.btob-next-202606__card-text {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #ffffff;
}

.btob-next-202606__card-action {
  margin: auto 0 0;
  padding-top: 24px;
  text-align: center;
}

.btob-next-202606__card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 9999px;
  background: #c5a059;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.btob-next-202606__card-btn::after {
  content: "→";
  font-weight: 700;
  line-height: 1;
}

a.btob-next-202606__card-btn:hover {
  opacity: 0.88;
  color: #ffffff;
}

@media (max-width: 768px) {
  .btob-next-202606 {
    padding: 56px 0;
  }

  .btob-next-202606__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .btob-next-202606__card:not(:last-child)::before {
    top: 100%;
    left: 50%;
    width: auto;
    height: 24px;
    transform: translate(-50%, 0) rotate(90deg);
  }
}
