/* ── Service Cards ── */
.services {
  background: var(--white);
  padding: 40px 0;
}

.services-header { margin-bottom: 52px; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--azure-87);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.service-card:hover { box-shadow: 0 4px 20px rgba(30, 114, 206, 0.12); }

.service-card.full-width { grid-column: 1 / -1; }

.service-card-img {
  background: var(--grey-96);
  overflow: hidden;
  flex-shrink: 0;
}

.service-card-img.h200 { height: 200px; }
.service-card-img.h280 { height: 280px; }

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s;
}

.service-card:hover .service-card-img img { transform: scale(1.03); }

.service-card-body {
  padding: 27px 28px;
  display: flex;
  flex-direction: column;
  gap: 7.5px;
  flex: 1;
}

.service-card-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 31.5px;
  color: var(--azure-12);
}

.service-card-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14.4px;
  line-height: 25.92px;
  color: var(--azure-38);
  flex: 1;
  padding-bottom: 5.5px;
}

.service-card-price {
  display: inline-flex;
  align-items: center;
  background: var(--grey-96);
  padding: 4px 12px;
  border-radius: 5px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--azure-46);
  line-height: 22.75px;
  align-self: flex-start;
}

/* ── Portfolio ── */
.portfolio {
  background: var(--grey-98);
  padding: 40px 0;
}

.portfolio-header { margin-bottom: 20px; }

.portfolio-card {
  background: var(--white);
  border: 1px solid var(--azure-87);
  border-radius: 14px;
  overflow: hidden;
}

.portfolio-img {
  height: 280px;
  background: linear-gradient(135deg, var(--grey-96) 0%, #c5e3ff 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-img img { width: 100%; height: 100%; object-fit: cover; }

.portfolio-body { padding: 24px 28px; }

.portfolio-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 29.75px;
  color: var(--azure-12);
}

.portfolio-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 14.4px;
  line-height: 25.2px;
  color: var(--azure-38);
  margin-top: 6px;
}

/* ── Portfolio SP slider ── */
.portfolio-slider-sp { display: none; }

@media (max-width: 768px) {
  .portfolio-img { display: none; }
  .portfolio-slider-sp { display: block; }

  .slider-viewport {
    overflow: hidden;
    width: 100%;
    touch-action: pan-y;
  }

  .slider-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .slider-slide {
    flex: 0 0 100%;
    width: 100%;
  }

  .slider-slide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 4px;
  }

  .slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--azure-87);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s;
  }

  .slider-dot.is-active { background: var(--azure-46); }
}

/* ── Process ── */
.process {
  background: var(--white);
  padding: 40px 0;
}

.process-header {
  text-align: center;
  margin-bottom: 52px;
}

.process-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 30.4px;
  color: var(--azure-38);
  text-align: center;
  margin-top: 4px;
}

.process-track { position: relative; }

.process-connector {
  position: absolute;
  top: 28px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 2px;
  background: var(--azure-87);
  z-index: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 10px;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--azure-46);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.process-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 18.2px;
  color: var(--azure-12);
  text-align: center;
  margin-top: 9px;
}

.process-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 18.6px;
  color: var(--azure-62);
  text-align: center;
  margin-top: 4px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .service-cards { grid-template-columns: 1fr; }
  .service-card.full-width { grid-column: 1; }
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .process-connector { display: none; }
  .process-step { gap: 4px; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
