.closing-section {
  position: relative;
  width: 100%;
  background-color: #58a7dd;
  overflow: hidden;
}

.closing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/img/closing-bg.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  opacity: 0.4;
  z-index: 0;
}

.closing-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #58a7dd 0%,
    rgba(88, 167, 221, 0.9) 20%,
    rgba(88, 167, 221, 0.35) 55%,
    rgba(88, 167, 221, 0.02) 100%
  );
  z-index: 1;
}

.closing-section > * {
  position: relative;
  z-index: 2;
}

.closing-section > .container {
  position: relative;
  margin: 0 auto;
  max-width: min(1200px, 100%);
  padding-inline: clamp(16px, 4vw, 40px);
  text-align: center;
}

.closing-section > .container > .title-img {
  margin: clamp(5px, 2.8vw, 40px) auto;
  max-width: 960px;
  width: 100%;
}

.card-wrap {
  position: relative;
  max-width: 960px;
  margin: clamp(10px, 2.2vw, 50px) auto;
  padding-top: 170px;
}

.woman-illust {
  position: absolute;
  top: -55px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  z-index: 4;
}

.closing-card {
  position: relative;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 28px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12), 0 30px 60px rgba(0, 0, 0, 0.08);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.closing-text {
  font-size: clamp(14px, 2.8vw, 32px);
  line-height: 1.8;
  color: #333;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .woman-illust {
    width: 200px;
    top: -20px;
  }
}

@media (max-width: 768px) {
  .woman-illust {
    width: 180px;
    top: 0px;
  }
}

@media (max-width: 540px) {
  .woman-illust {
    width: 150px;
    top: 30px;
  }
}
