/* --------------------------------------------------------------------------
  Chartered transport page
--------------------------------------------------------------------------- */

/* Feature
--------------------------------------------------------------------------- */

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

.service-detail-feature-card {
  padding: 32px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-detail-feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.service-detail-feature-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.9;
}

/* Cargo gallery
--------------------------------------------------------------------------- */

.service-detail-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-detail-gallery__item {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.service-detail-gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.service-detail-gallery__item p {
  margin: 0;
  padding: 14px 12px;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.service-detail-note {
  margin: 28px 0 0;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
  text-align: center;
}

/* =========================================================
  Vehicle
========================================================= */

.service-vehicle__lead {
  margin: 12px 0 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.9;
}

.service-vehicle__note {
  margin: 24px 0 0;
  padding: 16px 18px;
  color: #333;
  background: #fafafa;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.8;
}

/* PC table
--------------------------------------------------------------------------- */

.service-vehicle-table {
  margin-top: 36px;
  overflow-x: auto;
}

.service-vehicle-table table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e2e2e2;
}

.service-vehicle-table th,
.service-vehicle-table td {
  padding: 18px 20px;
  border: 1px solid #e2e2e2;
  color: #111;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: center;
  vertical-align: middle;
}

.service-vehicle-table thead th {
  color: #fff;
  background: #333;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.service-vehicle-table tbody th {
  font-weight: 800;
}

.service-vehicle-table__office {
  color: #9b001f !important;
  background: #fff7f8;
  white-space: nowrap;
}

/* Mobile cards default hidden
--------------------------------------------------------------------------- */

.service-vehicle-mobile {
  display: none;
}

/* Flow
--------------------------------------------------------------------------- */

.service-detail-flow {
  display: grid;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.service-detail-flow li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}

.service-detail-flow span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  font-weight: 800;
  background: #9b001f;
  border-radius: 50%;
}

.service-detail-flow h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 800;
}

.service-detail-flow p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* Responsive
--------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .service-detail-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Vehicle PC
--------------------------------------------------------------------------- */

@media (min-width: 769px) {
  .service-vehicle-table {
    display: block;
  }

  .service-vehicle-mobile {
    display: none;
  }
}

/* Vehicle SP
--------------------------------------------------------------------------- */

@media (max-width: 768px) {
  .service-vehicle-table {
    display: none;
  }

  .service-vehicle-mobile {
    display: grid;
    gap: 20px;
    margin-top: 30px;
  }

  .service-vehicle-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2d4d7;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(0, 0, 0, 0.05);
  }

  .service-vehicle-card__office {
    margin: 0;
    padding: 18px 20px;
    color: #9b001f;
    background: linear-gradient(
      90deg,
      rgba(155, 0, 31, 0.08) 0%,
      rgba(155, 0, 31, 0.03) 100%
    );
    border-bottom: 1px solid #e7d7da;
    font-size: 1.15rem;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .service-vehicle-card__group {
    padding: 18px 20px;
  }

  .service-vehicle-card__group + .service-vehicle-card__group {
    border-top: 1px dashed #ddd;
  }

  .service-vehicle-card__type {
    margin: 0 0 12px;
    color: #111;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .service-vehicle-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .service-vehicle-card__list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    color: #9b001f;
    background: #fff7f8;
    border: 1px solid rgba(155, 0, 31, 0.22);
    border-radius: 999px;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 800;
  }

  .service-vehicle-card__list span {
    color: #111;
    font-weight: 700;
  }

  .service-vehicle__note {
    margin-top: 20px;
    padding: 14px 16px;
    font-size: 0.86rem;
  }
}

@media (max-width: 600px) {
  .service-detail-feature-card {
    padding: 24px 20px;
  }

  .service-detail-gallery {
    grid-template-columns: 1fr;
  }

  .service-detail-note {
    text-align: left;
  }

  .service-detail-flow li {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 20px;
  }

  .service-detail-flow span {
    width: 48px;
    height: 48px;
  }
}

/* Vehicle Small SP
--------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .service-vehicle-card__office {
    padding: 16px 18px;
    font-size: 1.08rem;
  }

  .service-vehicle-card__group {
    padding: 16px 18px;
  }

  .service-vehicle-card__list {
    gap: 8px;
  }

  .service-vehicle-card__list li {
    padding: 7px 11px;
    font-size: 0.86rem;
  }
}
