@media (max-width: 440px) {
  .top {
    background-image: url(../images/topback_sp.png);
  }
  .top-title strong {
    position: absolute;
    font-size: 16vw;
    right: 0px;
  }
  .top-title p {
    position: absolute;
    right: 90px;
    font-size: 15vw;
  }

  .slides-titlesp1 {
    letter-spacing: 5.4px;
    font-size: 50px;
    line-height: 100%;
  }
  .details_section {
    top: 110px;
  }

  .works {
    width: 100%;
    background-image: url("../images/section8-end.png"),
      linear-gradient(to top, white 0%, white 60%, #76cbff 60%, #76cbff 100%);
    background-repeat: no-repeat;
    background-position: top, top;
    background-size: 100% auto, 100% auto;
    padding-top: 0;
  }

  .slide {
    height: 600px;
  }
  .slide-title {
    padding-bottom: 6px;

    height: unset;
  }
  .slides h1 {
    font-size: 5vw;
    margin-right: 15px;
    text-align: right;
    display: flex;
    justify-content: flex-end;
  }

  .slide-title p {
    padding-left: 15px;
  }

  .slide-title strong {
    letter-spacing: 2.8px;
    padding-left: 15px;
  }
  .imgbox {
    width: 100%;
    height: 290px;

    img {
      object-fit: cover;
      aspect-ratio: 16/10;
      object-position: top;
    }
  }

  .detail {
    width: 100%;
    letter-spacing: 0.05em;
    margin: 0 auto;
    padding-top: 0;
    font-size: 15px;
  }

  .section-end_cloud {
    bottom: -90px;
  }

  .balloon {
    width: 102px;
    height: 155px;
    bottom: -150px;
    left: 78px;
  }

  .work-with-us {
    margin-top: 0px;
  }

  .rainbow_area {
    height: 220px;
  }

  .rainbow {
    width: 400px;
    height: auto;
    left: -205px;
    bottom: -30px;
    left: -55.405vw;
    bottom: -8.108vw;
  }

  .onthesea_cloud {
    width: 305px;
    height: auto;
    right: -140px;
    bottom: -20px;
    right: -37.838vw;
    bottom: -5.405vw;
  }

  .img-box {
    width: 100%;
    height: 1050px;
    height: 182vw;
    position: relative;
  }

  .gallery_interview_wrap {
    background-size: 100%;
    background-position: 50% 280px;
    margin-top: -190px;
    padding-bottom: 160px;
  }

  .interview {
    padding-top: 100px;
    padding-bottom: 190px;
  }

  .data-title {
    padding-bottom: 50px;
    padding-top: 0;
  }
  .card {
    gap: 25px;
  }

  .percent5-math {
    padding-top: 0;
  }
  .percent5-box {
    gap: 15px;
  }
  .tmc-data-grid {
    max-width: 100%;
  }

  .wanted-people {
    bottom: -45vw;
  }

  .entry-wordsp {
    width: 370px;
  }
  .entry-wordsp p {
    padding-right: 0px;
    padding-left: 0px;
    padding-top: 10px;
    margin: 0 auto;
  }

  /* MESSAGE スクロールトリガーUI */

  .message-text {
    padding: 0 15px;
  }

  .message-text.section-word {
    font-size: clamp(24px, 6vw, 35px);
    line-height: 120px;
    writing-mode: vertical-rl;
    text-orientation: upright;
  }

  .message-text.section-word2 {
    font-size: clamp(24px, 6vw, 35px);
  }

  .message-text.section-word3 {
    font-size: clamp(22px, 6vw, 35px);
    line-height: 150%;
    letter-spacing: 0;
  }

  .message-text .section8-box {
    padding-top: 120px;
    text-align: center;
    margin: 0 auto;
  }

  .message-text .section8-box img {
    width: 220px;
  }

  .message-text .section8-box p {
    font-size: 16px;
  }

  .job-assignment2 h1 {
    span {
      font-size: 12px;
      margin-left: 10px;
      display: block;
    }
  }

  .modal__close {
    right: 5px;
  }
}

@media (max-width: 380px) {
  .imgbox {
    width: 100%;
    height: 250px;

    img {
      object-fit: cover;
      aspect-ratio: 16/10;
      object-position: top;
    }
  }
}
