/*
|---------------------------------------------------------------
| qinc2026-btob-solution-202606.css
|---------------------------------------------------------------
*/
.btob-solution {
  position: relative;
  padding: 80px 0;
  color: #fff;
  background-image: url(https://www.qinc.co.jp/qwp/wp-content/themes/qinc2026/assets/images/btob202606/solution_bg.png);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: 31%;
  background-color: #020441;
}

.btob-solution::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  display: block;
  background-image: url(https://www.qinc.co.jp/qwp/wp-content/themes/qinc2026/assets/images/btob202606/solution_bg.png);
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: 31%;
  z-index: 0;
}

.btob-solution__inner {
  position: relative;
  z-index: 1;
}

.btob-solution__inner + .btob-solution__inner {
  margin-top: 120px;
}

.btob-solution__header {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.btob-solution__label {
  margin: 0;
  font-family: var(--font-family-en, "Montserrat", sans-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold, #c5a059);
}

.btob-solution__title {
  margin: 16px 0 0;
  font-size: clamp(28px, calc(16px + 2vw), 40px);
  font-weight: 900;
  line-height: 1.3;
  color: #fff;
  font-feature-settings: "palt" 1;
}

.btob-solution__lead {
  margin: 24px auto 0;
  font-size: 16px;
  line-height: 1.83;
  color: rgba(255, 255, 255, 0.9);
}

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

.btob-solution__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: 12px;
  background: #fff;
  color: var(--color-blue01, #020441);
  text-decoration: none;
  box-shadow: 0  0 #c5a059;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.btob-solution__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 0 #c5a059;
}

.btob-solution__card-media {
  border-radius: 0 8px 8px 8px;
  overflow: hidden;
}

.btob-solution__card-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.btob-solution__card-body {
  flex: 1;
  margin-top: 16px;
}

.btob-solution__card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.btob-solution__card-text {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .btob-solution__cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

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

.btob-solution__desc {
  display: block;
  background-color: hsl(0deg 0% 100% / 10%);
  border: solid 1px hsl(0deg 0% 100% / 20%);
  border-radius: 8px;
  padding: min(9vw, 60px);
  font-size: clamp(12px,4vw,20px);
  text-align: center;
  margin: 40px 0 0;
}