/* =========================================
   Service page
   page-services.php 専用
   ========================================= */

.vm-services {
  padding-bottom: 72px;
}

.vm-services .vm-page-lead {
  padding: 0 0 34px;
}

.vm-services .vm-page-lead__text {
  max-width: 820px;
  margin: 0 auto;
  color: #556070;
  line-height: 1.9;
  text-align: center;
}

.vm-service-list {
  padding: 10px 0 0;
}

.vm-service-list__inner {
  display: grid;
  gap: 24px;
}

.vm-service-card {
  border: 1px solid #dfe5ef;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 34px rgba(21, 34, 64, 0.08);
  padding: 30px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vm-service-card:hover {
  transform: translateY(-4px);
  border-color: #cfd9e8;
  box-shadow: 0 18px 42px rgba(21, 34, 64, 0.14);
}

.vm-service-card__title {
  margin: 0 0 22px;
  font-size: 1.5rem;
  line-height: 1.45;
  color: #1f2a3c;
  font-weight: 700;
}

.vm-service-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.vm-service-card__main {
  min-width: 0;
}

.vm-service-card__desc {
  margin: 0 0 18px;
  color: #5a6578;
  font-size: 0.97rem;
  line-height: 1.95;
}

.vm-service-card__meta {
  display: grid;
  gap: 12px;
  max-width: 420px;
}

.vm-service-card__meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
}

.vm-service-card__meta-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef2f8;
  color: #4b5b78;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.vm-service-card__meta-value {
  color: #243247;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.7;
  white-space: nowrap;
}

.vm-service-card__image {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: #edf2f8;
  border: 1px solid #e1e8f1;
  aspect-ratio: 16 / 10;
}

.vm-service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vm-service-card__spec {
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

.vm-service-card__spec-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 10px;
  border-top: 1px solid #e8edf5;
}

.vm-service-card__spec-row:first-child {
  padding-top: 0;
  border-top: none;
}

.vm-service-card__spec-label {
  margin: 0;
  color: #6b7690;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.8;
}

.vm-service-card__spec-text {
  margin: 0;
  color: #2a3549;
  font-size: 0.94rem;
  line-height: 1.85;
  font-weight: 500;
}

.vm-service-card__actions {
  margin-top: 24px;
}

.vm-service-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 13px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8200ff 0%, #de00ff 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(130, 0, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.vm-service-card__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(130, 0, 255, 0.28);
  opacity: 0.96;
}

.vm-service-card__button::after {
  content: "→";
  margin-left: 8px;
  font-size: 0.95em;
}

/* tablet */
@media (max-width: 960px) {
  .vm-service-card__top {
    grid-template-columns: 1fr 320px;
    gap: 24px;
  }

  .vm-service-card__spec-row {
    grid-template-columns: 110px minmax(0, 1fr);
  }
}

/* sp */
@media (max-width: 768px) {
  .vm-services {
    padding-bottom: 56px;
  }

  .vm-services .vm-page-lead {
    padding-bottom: 24px;
  }

  .vm-services .vm-page-lead__text {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .vm-service-list__inner {
    gap: 18px;
  }

  .vm-service-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .vm-service-card__title {
    font-size: 1.18rem;
    margin-bottom: 16px;
  }

  .vm-service-card__top {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vm-service-card__image {
    order: -1;
  }

  .vm-service-card__desc {
    margin-bottom: 14px;
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .vm-service-card__meta {
    gap: 10px;
    max-width: none;
  }

  .vm-service-card__meta-item {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .vm-service-card__meta-label {
    min-width: 72px;
    font-size: 0.76rem;
    padding: 5px 10px;
  }

  .vm-service-card__meta-value {
    font-size: 0.9rem;
  }

  .vm-service-card__spec {
    margin-top: 18px;
    gap: 10px;
  }

  .vm-service-card__spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-top: 10px;
  }

  .vm-service-card__spec-label {
    font-size: 0.76rem;
    line-height: 1.7;
  }

  .vm-service-card__spec-text {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  .vm-service-card__actions {
    margin-top: 18px;
  }

  .vm-service-card__button {
    width: 100%;
    min-width: 0;
  }
}