.mechanism-sequence {
  margin-top: clamp(52px, 7vw, 88px);
  padding-top: clamp(34px, 5vw, 54px);
  border-top: 1px solid var(--line);
}

.mechanism-sequence-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  align-items: end;
  gap: clamp(32px, 6vw, 82px);
  margin-bottom: 30px;
}

.mechanism-sequence-head h3 {
  max-width: 700px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.mechanism-sequence-head > p {
  max-width: 500px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.mechanism-sequence-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  max-width: 1060px;
  margin: 0 auto;
}

.mechanism-sequence-grid::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 44%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--accent);
  border-right: 2px solid var(--accent);
  transform: translate(-62%, -50%) rotate(45deg);
}

.mechanism-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 54px rgba(32, 63, 75, 0.12);
}

.mechanism-image {
  position: relative;
  aspect-ratio: 941 / 1672;
  overflow: hidden;
  background: #dce5e8;
}

.mechanism-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -70px 90px rgba(10, 26, 34, 0.08);
}

.mechanism-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mechanism-card figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  min-height: 150px;
  padding: 24px 26px 26px;
}

.mechanism-step {
  align-self: start;
  color: var(--cyan);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.mechanism-card strong {
  display: block;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.25;
}

.mechanism-card figcaption p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.mechanism-note {
  max-width: 760px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 760px) {
  .mechanism-sequence-head {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .mechanism-sequence-head > p {
    max-width: none;
  }

  .mechanism-sequence-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 42px;
    max-width: 470px;
  }

  .mechanism-sequence-grid::after {
    top: calc(50% - 2px);
    left: 50%;
    transform: translate(-50%, -50%) rotate(135deg);
  }
}

@media (max-width: 640px) {
  .mechanism-sequence {
    margin-top: 48px;
    padding-top: 34px;
  }

  .mechanism-sequence-head {
    margin-bottom: 24px;
  }

  .mechanism-sequence-head h3 {
    font-size: clamp(29px, 8.8vw, 37px);
    line-height: 1.1;
  }

  .mechanism-sequence-head > p {
    font-size: 15px;
  }

  .mechanism-card {
    border-radius: 16px;
  }

  .mechanism-card figcaption {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    min-height: 0;
    padding: 20px 20px 22px;
  }

  .mechanism-card strong {
    font-size: 20px;
  }

  .mechanism-note {
    margin-top: 18px;
    text-align: left;
  }
}
