.tool-hero-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 18px;
  min-height: 112px;
  margin: 14px 0 12px;
  padding: 8px 18px 4px;
  overflow: hidden;
  border-top: 1px solid #c8e3f2;
  border-bottom: 1px solid #c8e3f2;
  background: rgba(255, 255, 255, .68);
}

.tool-hero-art img {
  display: block;
  width: 78px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px rgba(15, 61, 117, .18));
}

.tool-hero-art img.tool-hero-main {
  width: 132px;
  height: 104px;
}

.tool-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
  border: 1px solid #cbdfee;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(18, 74, 112, .08);
  overflow: hidden;
}

.tool-flow a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 76px;
  padding: 8px 11px;
  color: #073b68;
  text-decoration: none;
  border-left: 1px solid #d8e7f2;
  background: #fff;
}

.tool-flow a:first-child {
  border-left: 0;
}

.tool-flow a:hover,
.tool-flow a:focus-visible {
  background: #eef8ff;
}

.tool-flow-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: #0b76b8;
  font-size: 1.15rem;
  font-weight: 900;
}

.tool-flow-copy {
  min-width: 0;
  line-height: 1.35;
}

.tool-flow-copy strong,
.tool-flow-copy span {
  display: block;
  letter-spacing: 0;
}

.tool-flow-copy strong {
  margin-bottom: 2px;
  font-size: 1rem;
  font-weight: 900;
}

.tool-flow-copy span {
  color: #47647d;
  font-size: .78rem;
  font-weight: 700;
}

.tool-visual-card {
  position: relative;
}

.tool-visual-card > .tool-section-art {
  position: absolute;
  z-index: 1;
  top: 10px;
  right: 14px;
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(15, 61, 117, .15));
  pointer-events: none;
}

.tool-visual-card > .section-title {
  min-height: 58px;
  padding-right: 70px;
  display: flex;
  align-items: center;
}

@media (max-width: 700px) {
  .tool-hero-art {
    gap: 10px;
    min-height: 86px;
    margin: 12px -4px 10px;
    padding: 6px 8px 3px;
  }

  .tool-hero-art img {
    width: 56px;
    height: 61px;
  }

  .tool-hero-art img.tool-hero-main {
    width: 92px;
    height: 78px;
  }

  .tool-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 12px;
  }

  .tool-flow a {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 6px;
    min-height: 66px;
    padding: 6px 7px;
    border-bottom: 1px solid #d8e7f2;
  }

  .tool-flow a:nth-child(odd) {
    border-left: 0;
  }

  .tool-flow a:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .tool-flow-number {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  .tool-flow-copy strong {
    font-size: .9rem;
  }

  .tool-flow-copy span {
    font-size: .68rem;
  }

  .tool-visual-card > .tool-section-art {
    top: 8px;
    right: 10px;
    width: 48px;
    height: 48px;
  }

  .tool-visual-card > .section-title {
    min-height: 48px;
    padding-right: 56px;
  }
}

@media (max-width: 370px) {
  .tool-flow a {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .tool-flow-number {
    width: 36px;
    height: 36px;
    font-size: .9rem;
  }

  .tool-flow-copy span {
    font-size: .64rem;
  }
}
