.s1 {
  width: 100%;
  height: calc(100vh - 90px);
  max-height: 850px;
  gap: 20px;
  padding: 25px;
  padding-top: 150px;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  gap: 50px;
}
.s1 h1 {
  font-family: "Klee One", cursive;
  font-size: 60px;
  line-height: 1;
  font-weight: 600;
}
.s1 h2 {
  font-family: "Klee One", cursive;
  font-size: 24px;
  padding: 10px;
}
.s1 .image {
  background: url("../Media/Home/hero.png") no-repeat center/cover;
  width: 100%;
  min-width: 100%;
  aspect-ratio: 1218/366;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.s1-2 {
  width: 100%;
  margin-top: 100px;
  padding: 0px 25px 50px 25px;
  flex-direction: column;
  position: relative;
}
.s1-2 h3 {
  font-family: "Klee One", cursive;
  font-size: 20px;
  font-weight: 600;
  line-height: 3;
  text-align: center;
  padding: 10px;
}

.s2 {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0 50px;
  margin: 0 auto;
  margin-top: 100px;
  margin-bottom: 150px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 150px;
  overflow: hidden;
}
.s2 .title {
  width: 100%;
  max-width: 794px;
  aspect-ratio: 794/125;
  background: url("../Media/Home/gray-join-us.svg") no-repeat center/contain;
}
.s2 .title h2 {
  font-family: "Noto Sans JP";
  font-size: 50px;
  line-height: 1;
  letter-spacing: 3px;
  background: linear-gradient(to right, #DB0000, #8E0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.s2 .box {
  width: 100%;
  height: 100%;
  max-width: 1150px;
  justify-content: space-between;
  transition: transform 0.6s ease;
  cursor: pointer;
  gap: 74px;
}
.s2 .box .text-box {
  width: 100%;
  max-width: 450px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.s2 .box .text-box h1 {
  font-family: "Shippori Mincho B1", serif;
  font-size: 24px;
  font-weight: 400;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 20px;
  background: linear-gradient(to right, #DB0000, #8E0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.s2 .box .text-box h1 span {
  width: 74px;
  aspect-ratio: 74/62;
  display: inline-block;
  white-space: nowrap;
}
.s2 .box .text-box h2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 18px;
  white-space: nowrap;
  margin-top: 5px;
}
.s2 .box .text-box p {
  font-size: 18px;
  line-height: 2;
  margin-bottom: 20px;
}
.s2 .box .text-box button {
  padding: 10px 30px;
  font-size: 17px;
  font-weight: 600 !important;
  color: white;
  background: linear-gradient(to right, #8E0000, #B40000);
  border-radius: 10px;
  cursor: pointer;
}
.s2 .box .text-box button span {
  width: 12px;
  height: 12px;
  background: url("../Media/Icon/arrow-white.svg") no-repeat center center/contain;
  display: inline-block;
  margin-left: 20px;
}
.s2 .box .image {
  width: 100%;
  max-width: 600px;
  height: 348px;
  border: 1px solid #DDDDDD;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.s2 .box .image.img1::before {
  background: url("../Media/Home/box1.webp") no-repeat center/cover;
}
.s2 .box .image.img2::before {
  background: url("../Media/Home/box2.webp") no-repeat center/cover;
}
.s2 .box .image.img3::before {
  background: url("../Media/Home/box3.webp") no-repeat center/cover;
}
.s2 .box .image::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 0.35s ease;
  z-index: 0;
}
.s2 .box .image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: auto;
  width: 0;
  height: 100%;
  background: white;
  opacity: 0.15;
  transition: width 0.35s ease;
}
.s2 .box:hover .image::after {
  left: 0;
  right: auto;
  width: 100%;
}
.s2 .box:hover .image::before {
  transform: scale(1.02);
}

@media (max-width: 1124px) {
  .s2 .box .image {
    width: 90%;
  }
}
@media (max-width: 900px) {
  .s2 .box {
    gap: 37px;
  }
  .s2 .box .text-box {
    max-width: 350px;
  }
  .s2 .box .image {
    height: 350px;
  }
}
@media (max-width: 800px) {
  .s2 .box {
    flex-direction: column;
    gap: 20px;
  }
  .s2 .box .text-box {
    max-width: 100%;
  }
  .s2 .box .text-box h2 {
    margin-bottom: 10px;
  }
  .s2 .box .image {
    width: 100%;
    max-width: 100%;
    height: 300px;
  }
}
@media (max-width: 550px) {
  .s2 {
    margin: 75px 0;
    padding: 0 25px;
    gap: 75px;
  }
  .s2 .title {
    margin-bottom: -10px;
  }
  .s2 .title h2 {
    font-size: 40px;
  }
  .s2 .box .text-box h1 {
    font-size: 24px;
  }
  .s2 .box .text-box h1 span {
    width: 60px;
  }
  .s2 .box .text-box h2 {
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 5px;
  }
  .s2 .box .text-box p {
    font-size: 16px;
    line-height: 28px;
  }
  .s2 .image {
    height: 225px !important;
  }
}
.s3 {
  width: 100%;
  height: 250px;
  justify-content: space-around;
  background: white;
  border: 1px solid #DDDDDD;
  border-radius: 20px;
  padding: 40px 50px;
  gap: 50px;
}
.s3 .left {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.s3 .left .logo {
  width: 250px;
  aspect-ratio: 250/35;
  background: url("../Media/Logo/logo_1.svg") no-repeat left center/contain;
  display: inline-block;
}
.s3 .left .pc {
  font-size: 17px;
}
.s3 .left .mobile {
  display: none;
}
.s3 .right {
  flex-direction: column;
  gap: 8px;
}
.s3 .right p {
  font-size: 16px;
  font-weight: 200;
}
.s3 .right .btn {
  width: 300px;
  height: 55px;
  font-weight: 600;
  color: white;
  background: linear-gradient(to right, #8E0000, #B40000);
  border-radius: 10px;
  transition: background 0.3s;
}

@media (max-width: 1280px) {
  .s3 {
    border-radius: 0;
  }
}
@media (max-width: 900px) {
  .s3 .right .btn {
    width: 250px;
  }
}
@media (max-width: 700px) {
  .s3 {
    height: 200px;
  }
  .s3 .right p {
    font-size: 15px;
  }
  .s3 .right .btn {
    width: 235px;
    height: 45px;
    font-size: 17px;
  }
}
@media (max-width: 635px) {
  .s3 {
    height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 40px 25px;
  }
  .s3 .left {
    align-items: center;
    gap: 10px;
  }
  .s3 .right {
    width: 100%;
  }
  .s3 .right p {
    font-size: 16px;
  }
  .s3 .right .btn {
    width: 100%;
    max-width: 300px;
    height: 40px;
    font-size: 17px;
  }
}
@media (max-width: 475px) {
  .s3 {
    gap: 15px;
    padding: 24px 15px 30px 15px;
  }
  .s3 .left {
    gap: 10px;
  }
  .s3 .left .logo {
    width: 240px;
  }
  .s3 .left .pc {
    display: none;
  }
  .s3 .left .mobile {
    display: flex;
    font-size: 16px;
    text-align: center;
  }
  .s3 .right {
    gap: 2px;
  }
  .s3 .right p {
    font-size: 14px;
    display: none;
  }
  .s3 .right .btn {
    font-size: 16px;
    max-width: 287.25px;
  }
}