/*
|---------------------------------------------------------------
| qinc2026-contact-cards.css - お問い合わせカードグリッド
|---------------------------------------------------------------
*/

/* ==========================================================================
   Contact Cards
   ========================================================================== */
.contact-cards {
  padding: var(--page-content-padding-y) 0;
}

/* --------------------------------------------------------------------------
   Container (narrow: 960px)
   -------------------------------------------------------------------------- */
.contact-cards__inner.container {
  max-width: 960px;
}

/* --------------------------------------------------------------------------
   Subtitle
   -------------------------------------------------------------------------- */
.contact-cards__subtitle {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  color: var(--color-blue01);
  margin: 0 0 48px;
  font-feature-settings: "palt" 1;
}

/* --------------------------------------------------------------------------
   Grid
   -------------------------------------------------------------------------- */
.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin: 0 0 48px;
}

/* --------------------------------------------------------------------------
   Card
   -------------------------------------------------------------------------- */
.contact-cards__card {
  background-color: var(--color-white);
  border: none;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-cards__card:hover {
  transform: scale(1.03);
}

.contact-cards__card-title {
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--color-blue01);
  margin: 0 0 24px;
  font-feature-settings: "palt" 1;
}

.contact-cards__card-desc {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--color-blue01);
  background-color: #eff6ff;
  border-radius: 12px;
  padding: 24px 32px;
  margin: 0 0 24px;
  flex-grow: 1;
}

.contact-cards__card-desc ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.contact-cards__card-desc li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.contact-cards__card-desc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  background-color: var(--color-blue01);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
}

.contact-cards__card-desc li:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   CTA Button
   -------------------------------------------------------------------------- */
.contact-cards__card-action {
  margin-top: auto;
}

.contact-cards__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 60px;
  background-color: var(--color-blue01);
  color: var(--color-white);
  border-radius: 9999px;
  padding: 0 24px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-decoration: none;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s ease;
}

.contact-cards__btn:hover {
  opacity: 0.8;
}

.contact-cards__btn-arrow {
  font-size: 18px;
}

/* --------------------------------------------------------------------------
   Footer (text link)
   -------------------------------------------------------------------------- */
.contact-cards__footer {
  text-align: center;
}

.contact-cards .contact-cards__footer-link {
  font-size: 14px;
  color: var(--color-blue02);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.contact-cards .contact-cards__footer-link:hover {
  opacity: 0.7;
}

/* ==========================================================================
   Responsive - Contact Cards
   ========================================================================== */
@media screen and (max-width: 1024px) {
  .contact-cards {
    padding: var(--page-content-padding-y-md) 0;
  }

  .contact-cards__subtitle {
    font-size: 18px;
    margin-bottom: 36px;
  }

  .contact-cards__grid {
    gap: 20px;
    margin-bottom: 36px;
  }

  .contact-cards__card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .contact-cards__card-title {
    font-size: 20px;
  }

  .contact-cards__card-desc {
    padding: 20px 24px;
    font-size: 15px;
  }

  .contact-cards__btn {
    height: 54px;
    font-size: 18px;
  }
}

@media screen and (max-width: 768px) {
  .contact-cards {
    padding: var(--page-content-padding-y-sp) 0;
  }

  .contact-cards__subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .contact-cards__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  .contact-cards__card {
    padding: 28px 20px;
    border-radius: 16px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.2);
  }

  .contact-cards__card-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .contact-cards__card-desc {
    padding: 16px 20px;
    font-size: 14px;
  }

  .contact-cards__card-desc li {
    padding-left: 24px;
    margin-bottom: 8px;
  }

  .contact-cards__card-desc li::before {
    width: 14px;
    height: 14px;
    top: 5px;
  }

  .contact-cards__btn {
    height: 50px;
    font-size: 16px;
  }
}
