.disposal-wrapper {
  margin: 140px 27px 0;
}

.disposal-selector {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 32px auto 0;
  max-width: 748px;
}
.disposal-sub-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin: 32px auto 0;
}
.button {
  padding: 12px 10px;
  border-radius: 8px;
  border: 1px solid #707070;
  font-size: 16px;
  line-height: 24px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.3s;
  background-color: white;
  color: black;
}

.disposal-selector .button {
  width: calc(50% - 10px);
}

.disposal-sub-selector .button {
  width: 100%;
  max-width: 264px;
}

.button.active {
  background-color: #37c281;
  color: white;
  border: 1px solid #37c281;
}
.button:hover {
  opacity: 0.8;
}

.content {
  padding: 32px 27px 60px;
}

.procedure-gallery {
  width: 100%;
  margin: 0 auto;
  font-family: sans-serif;
}

.procedure-gallery__title {
  color: #3f926b;
  text-align: center;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 16px;
}

.procedure-gallery__main-image {
  width: 100%;
  aspect-ratio: 320 / 180;
  margin-bottom: min(20px, max(10px, calc(20px + 50vw - 188px)));
}

.procedure-subgallery {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  gap: min(25px, max(10px, calc(25px + 50vw - 188px)));
  margin-bottom: 16px;
}

.procedure-subgallery-item {
  width: calc((100% - 2 * min(25px, max(10px, calc(25px + 50vw - 188px)))) / 3);
  aspect-ratio: 90 / 51;
  object-fit: cover;
  background-color: #707070;
}

.procedure-gallery__description {
  opacity: 0.85;
}

#general-metal .procedure-gallery__description,
#general-car .procedure-gallery__description {
  text-align: center;
}

.procedute-gallery__note {
  margin: 32px auto 0;
  opacity: 0.85;
}

#general-car .procedute-gallery__note span {
  display: inline-block;
  width: 98%;
}

#business-collect .page-table--numbered td span {
  display: inline-block;
  width: 95%;
}

.procedure {
  margin: 80px auto 0;
}

.procedure__note {
  margin: 16px auto 0;
}

.procedure .page-table {
  margin-top: 24px;
}

.cta {
  margin: 80px auto 0;
  border-radius: 8px;
  width: 100%;
  max-width: 320px;
  border-radius: 8px;
  background: #3f926b;
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  padding: 24px 20px;
}

.cta p {
  color: #ffffff;
}

.cta-call {
  color: #ffffff;
  margin: 8px auto 0;
  font-size: 24px;
  line-height: 32px;
  font-weight: 900;
  display: block;
  width: fit-content;
  text-align: center;
}

#business-documents .cta-call {
  margin-top: 16px;
}

#business-documents .cta .link-button {
  margin-top: 32px;
}

.page-table--car th {
  width: 80px;
}

.page-table--documents th {
  width: 80px;
}

#business-documents .link-button {
  margin-top: 32px;
  padding: 10px;
  text-align: center;
  line-height: 28px;
}

.procedure-images {
  margin: 30px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.procedure-images img {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .disposal-wrapper {
    margin: 200px 27px 0px;
  }

  .content {
    margin-bottom: 200px;
    padding-bottom: 0;
    padding-top: 64px;
  }

  .disposal-selector {
    gap: 60px;
    margin: 100px auto 0;
  }
  .disposal-selector .button {
    padding: 12px 10px;
    font-size: 24px;
    line-height: 32px;
    height: 80px;
  }

  .disposal-sub-selector {
    gap: 24px;
    margin: 150px auto 0;
    max-width: 840px;
  }

  .page-table--documents th {
    width: 114px;
  }

  .disposal-sub-selector .button {
    font-size: 20px;
    line-height: 32px;
    height: 60px;
  }

  .procedures {
    max-width: 840px;
    margin: 0 auto;
  }

  .procedure-gallery__title {
    font-size: 30px;
    line-height: 42px;
    margin-bottom: 33px;
  }

  .procedure-gallery__main-image {
    aspect-ratio: 840 / 473;
    margin-bottom: 24px;
    object-fit: cover;
    object-position: center;
  }

  #business-collect .procedure-gallery__main-image {
    object-position: center 20%;
  }

  .procedure-subgallery {
    gap: 24px;
    margin-bottom: 24px;
  }

  .procedure-subgallery-item {
    width: calc((100% - 48px) / 3);
    aspect-ratio: 264 / 149;
    object-fit: cover;
    background-color: #707070;
  }

  .procedure-gallery__note {
    margin-top: 24px;
  }

  .procedure {
    margin: 100px auto 0;
  }

  .procedure__note {
    margin: 32px auto 0;
    max-width: 792px;
  }

  .procedure .page-table {
    margin-top: 32px;
  }

  .cta {
    margin: 100px auto 0;
    max-width: 792px;
    padding: 32px 22px;
  }

  .cta p {
    text-align: center;
  }

  .cta-call {
    margin-top: 0;
  }

  #business-documents .link-button {
    margin-top: 64px;
    padding: 10px;
    text-align: center;
    line-height: 28px;
  }

  #business-documents .cta-call {
    margin-top: 0px;
  }
}
