.s1 {
  width: 100%;
  height: 400px;
  position: relative;
}
.s1 .background {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("../Media/BG/4.webp");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -1;
}
.s1 h1 {
  color: white;
  font-size: 44px;
  font-weight: 700;
}
.s1 .img {
  width: 100%;
  height: 110px;
  background-image: url("../Media/Images/TOPICS.webp");
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 900px) {
  .s1 {
    height: 200px;
	  padding-top: 35px;
  }
  .s1 h1 {
    font-size: 32px;
  }
}
.s2 {
  width: 100%;
  padding: 100px 0 100px 0;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.s2 .background {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-image: url("../Media/BG/1.webp");
  background-size: 100% 1000px;
  background-position: bottom center;
  background-repeat: no-repeat;
  z-index: -1;
}
.s2 .wrapper {
  width: 100%;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 50px;
align-items: stretch; /* ← flex-start を stretch に変更 */
}
.s2 .wrapper .item {
  width: calc((100% - 100px) / 3);
/*   height: 425px; */
  background: white;
  border: 1px solid #E8E8E8;
  justify-content: flex-start;
  align-items: flex-start;
  box-shadow: 4px 4px 4px 0 rgba(48, 51, 122, 0.15);
  flex-direction: column;
  position: relative;
}
.s2 .wrapper .item .img {
  width: 100%;
  aspect-ratio: 475/250;
  overflow: hidden;
}

.s2 .wrapper .item .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.s2 .wrapper .item .bottom-box {
  width: 100%;
  padding: 25px;
}
.s2 .wrapper .item .bottom-box .title-2 {
  min-width: 100%;
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 500;
}
.s2 .wrapper .item .bottom-box p {
  font-size: 16px;
  line-height: 1.5;
}
.s2 .wrapper .item .bottom-box .icon {
  width: 40px;
  aspect-ratio: 1/1;
  background-image: url("../Media/Icon/arrow-right.svg");
  background-size: contain;
  background-position: bottom center;
  background-repeat: no-repeat;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

@media (max-width: 900px) {
  .s2 {
    padding: 50px 15px 0 15px;
    align-items: center;
    justify-content: center;
  }
  .s2 .wrapper {
    min-width: 100%;
    justify-content: center;
  }
  .s2 .wrapper .item {
    width: 100%;
    min-width: 100%;
    flex-direction: column;
    height: auto;
  }
  .s2 .wrapper .item .bottom-box {
    padding: 20px 20px 60px 20px;
  }
  .s2 .wrapper .item .bottom-box .title-2 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
  }
  .s2 .wrapper .item .bottom-box .icon {
    bottom: 10px;
    right: 10px;
  }
}
.s3 {
  width: 100%;
  max-width: 850px;
  padding: 100px 0 100px 0;
  margin: 0 auto;
  margin-top: 100px;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}
.s3 .background {
  width: 100vw;
  height: 100%;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, rgba(190, 74, 211, 0.75), rgba(48, 51, 122, 0.75));
  z-index: -1;
}
.s3 .title {
  width: 100%;
  flex-direction: column;
  gap: 10px;
}
.s3 .title h2 {
  color: white;
  font-size: 32px;
  font-weight: 500;
}
.s3 .title .line {
  width: 350px;
  height: 5px;
  background-image: url("../Media/BG/3.webp");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  box-shadow: 4px 4px 4px 0 rgba(48, 51, 122, 0.15);
}
.s3 .form {
  width: 100%;
  max-width: 780px;
  margin-top: 50px;
  background: white;
  border: 2px solid #252525;
}

@media (max-width: 900px) {
  .s3 {
    padding: 50px 15px 50px 15px !important;
    align-items: center;
  }
  .s3 .title h2 {
    font-size: 18px;
  }
  .s3 .title h2 span {
    font-size: 18px;
  }
  .s3 .title .line {
    max-width: 100%;
    width: 350px;
  }
  .s3 .form {
    width: 100%;
    margin: 50px 0;
  }
}