.case-section {
  scroll-margin-top: 84px;
  padding: clamp(38px, 6vw, 76px) 0;
  background: linear-gradient(160deg, #edf7ff, #f9fcff);
}
.case-section h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -.05em;
  overflow-wrap: anywhere;
}
.case-note {
  margin: 12px 0 22px;
  color: #42607a;
  font-size: 14px;
  line-height: 1.6;
}
.case-panel {
  padding: clamp(17px, 3vw, 32px);
  border: 1px solid #c6dceb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 38px #18457212;
}
.case-panel h3 {
  margin: 0 0 16px;
  font-size: clamp(20px, 2.65vw, 28px);
  line-height: 1.25;
  letter-spacing: -.035em;
}
.case-steps,
.case-photos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
}
.case-steps > div {
  padding-top: 10px;
  border-top: 2px solid #73c8e8;
}
.case-steps h4 {
  margin: 0 0 5px;
  font-size: 15px;
  color: #104c78;
}
.case-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #304a61;
}
.case-photos {
  margin-top: 20px;
}
.case-photos figure {
  margin: 0;
  min-width: 0;
}
.case-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #edf5fb;
  border-radius: 12px;
}
.case-photos figcaption {
  margin-top: 7px;
  font-size: 13px;
  line-height: 1.4;
  color: #3b566f;
}
.gallery-note {
  margin-top: 16px;
  font-size: 13px;
  color: #c0d8eb;
}
@media (max-width: 650px) {
  .case-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .case-photos {
    gap: 7px;
  }
  .case-photos img {
    aspect-ratio: 3 / 4;
    border-radius: 7px;
  }
  .case-photos figcaption {
    font-size: 11px;
  }
}
