:root {
  --header-height: 100px;

  @media (width <=767px) {
    --header-height: 68px;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(-360deg);
  }
}

.animation-scroll {
  opacity: 0;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }

  100% {
    transform: translateX(0);
  }

  40%,
  100% {
    opacity: 1;
  }
}

.fadeInLeft.active {
  animation: slideIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

video {
  display: block;
  width: 100%;
  height: auto;
}

.on-sp {
  display: none;

  @media (width <=768px) {
    display: block;
  }
}

@media (width <=768px) {
  .none-sp {
    display: none;
  }
}

.pvmv_container {
  padding: 0 20px;
  overflow: hidden;
  background: #f6f8f7;
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section_fv {
  position: relative;
  margin-top: 95px;

  .wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
  }

  .heading_fv {
    font-size: 51px;
    line-height: 1.1;
    color: #50707c;
    letter-spacing: 0.02em;
  }

  .block_content {
    margin-top: 48px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
  }

  .block_video {
    position: relative;
    max-width: 1080px;
    margin: 100px auto 0;

    @media (width <=375px) {
      margin-top: 60px;
    }

    .play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 80px;
      height: 80px;
      cursor: pointer;
      background: rgb(0 0 0 / 60%);
      border-radius: 50%;
      transform: translate(-50%, -50%);

      @media (width <=650px) {
        width: 50px;
        height: 50px;
      }

      &::before {
        position: absolute;
        top: 25px;
        left: 32px;
        width: 0;
        height: 0;
        content: '';
        border-top: 15px solid transparent;
        border-bottom: 15px solid transparent;
        border-left: 25px solid white;

        @media (width <=650px) {
          top: 16px;
          left: 20px;
          border-top: 10px solid transparent;
          border-bottom: 10px solid transparent;
          border-left: 15px solid white;
        }
      }
    }
  }

  .bg_img {
    position: absolute;
    right: -24%;
    bottom: -14%;
    width: 1237px;
  }

  .bg_img img {
    animation: spinReverse 50s linear infinite;
  }
}

.section_second {
  position: relative;
  margin-top: 103px;

  & .wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
  }

  & .box_content {
    margin-bottom: 100px;
  }

  .box_content .heading_box {
    position: relative;
    display: block;
    width: fit-content;
    padding: 10px 20px 10px 85px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    background: #8f3147;

    &::after {
      position: absolute;
      bottom: 50%;
      left: 20%;
      font-size: 45px;
      color: #ccc;
      content: '\2022';
      transform: translateY(50%);
    }
  }

  .box_content .block {
    margin-top: 32px;
    margin-left: 80px;

    .title {
      font-size: 32px;
      font-weight: 700;
      line-height: 1.4;
    }

    .words {
      margin-top: 8px;
      font-size: 20px;
      line-height: 1.4;
    }
  }

  .box_content .list_mission {
    display: flex;
    gap: 10px;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 24px;
    margin-left: 20px;
    list-style: none;

    .it {
      width: 100%;
      max-width: 350px;
      padding: 20px 15px 28px;
      text-align: center;
      border: 2px solid #50707c;
      border-radius: 12px;
    }

    .title {
      font-size: 48px;
      font-weight: 700;
      line-height: 1;
      color: #50707c;
    }

    .sub_title {
      display: block;
      margin-top: 5px;
      font-size: 24px;
      font-weight: 700;
      line-height: 1.4;
      color: #50707c;
      text-transform: capitalize;
      letter-spacing: 0.02em;
    }

    .bottom {
      margin-top: 12px;
      font-size: 20px;
      font-weight: 400;
      line-height: 1.6;
      letter-spacing: 0.02em;
    }
  }

  .box_content.values {
    margin-bottom: 65px;
  }

  .list_value {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    margin-left: 20px;
    list-style: none;

    @media (width <=968px) {
      flex-wrap: wrap;
      row-gap: 20px;
      justify-content: left;
      margin-left: 0;
    }

    .it {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      max-width: 200px;
      text-align: center;
    }

    .it_img {
      width: 100%;
      max-width: 140px;
    }

    .it_content {
      margin-top: 13px;
    }

    .it_title {
      font-size: 28px;
      font-weight: 700;
      line-height: 1;
      color: #333;
      letter-spacing: 0.02em;
    }

    .it_text {
      font-size: 20px;
      line-height: 1.4;
    }
  }

  .our_value-box {
    position: relative;
    margin-top: 88px;

    .our_value-heading {
      position: relative;
      max-width: 960px;
      margin-left: 40px;
      font-size: 42px;
      font-weight: 700;
      line-height: 1.4;
      color: #50707c;
      text-align: center;
      letter-spacing: 0.02em;

      &::before {
        position: absolute;
        top: 50%;
        left: 0;
        width: 309px;
        height: 12px;
        content: '';
        background-image: url('../img/vector1.webp');
        transform: translateY(-50%);
      }

      &::after {
        position: absolute;
        top: 50%;
        right: 0;
        width: 309px;
        height: 12px;
        content: '';
        background-image: url('../img/vector2.webp');
        transform: translateY(-50%);
      }
    }

    .block {
      max-width: 1011px;
      margin: 60px auto 0;
    }

    .our_list {
      list-style: none;
    }

    .it {
      display: flex;
      gap: 40px;

      &:nth-child(n + 2) {
        margin-top: 79px;
      }

      .it_img {
        width: 100%;
        max-width: 140px;
      }

      .heading {
        display: block;
        margin-bottom: 10px;
        font-size: 48px;
        font-weight: 700;
        line-height: 1;
        color: #333;
      }

      p {
        font-size: 20px;
        font-weight: 400;
        line-height: 1.4;
      }

      .sub_title {
        margin-bottom: 11px;
      }
    }

    .bg_img {
      position: absolute;
      top: 5%;
      left: 90%;
      display: none;
      width: 726px;
    }
  }

  .bg_img {
    position: absolute;
    top: 47%;
    left: -24%;
    width: 1647px;
    transform: translateY(-50%);

    img {
      animation: spin 50s linear infinite;
    }
  }

  .img_bottom {
    max-width: 960px;
    margin: 0 auto;
  }
}

.section_bottom {
  position: relative;

  .wrap {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 100px auto 160px;
  }

  .block-text {
    margin-top: 65px;
    font-size: 44px;
    font-weight: 700;
    line-height: 1.6;
    color: #50707c;
    text-align: center;
  }

  .contact-img {
    position: relative;
    max-width: 1040px;
    margin: 110px auto 0;
    overflow: hidden;
    border-radius: 8px;
  }

  .contact_link {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 100%;
    max-width: 306px;
    transform: translate(-50%, -50%);
  }

  .bg_img {
    position: absolute;
    right: -26%;
    bottom: 9%;
    width: 1300px;

    img {
      animation: spinReverse 50s linear infinite;
    }
  }
}

@media (width <=1024px) {
  .section_second {
    & .our_value-box {
      & .our_value-heading {
        margin-left: 0;
        font-size: clamp(35px, 6.65vw, 42px);

        &::before {
          width: clamp(90px, 23vw, 250px);
        }

        &::after {
          width: clamp(90px, 23vw, 250px);
          background-position: right;
        }
      }
    }
  }
}

@media (width <=920px) {
  .section_second {
    & .our_value-box {
      & .it {
        gap: 30px;

        .it_img {
          max-width: clamp(160px, 20vw, 200px);
        }

        .heading {
          font-size: clamp(25px, 5.7vw, 48px);
        }

        p {
          font-size: clamp(15px, 2.8vw, 20px);
        }
      }
    }
  }
}

@media (width <=768px) {
  .btn-menu {
    display: block;
  }

  .section_fv {
    .heading_fv {
      font-size: clamp(38px, 7vw, 48px);
    }
  }

  .section_second {
    .box_content .list_mission {
      flex-direction: column;
      align-items: center;
      margin-left: 0;
    }

    .box_content .block {
      margin-left: 0;
    }

    .box_content .heading_box {
      margin-left: -20px;
      font-size: 35px;

      &::after {
        font-size: clamp(28px, 6vw, 45px);
      }
    }

    & .list_value {
      .it_img {
        max-width: clamp(108px, 20vw, 140px);
      }
    }

    & .our_value-box {
      & .it {
        gap: 20px;

        .it_img {
          flex: 1;
          max-width: clamp(108px, 20vw, 140px);
        }

        .content {
          flex: 1;
        }
      }
    }
  }
}

@media (width <=650px) {
  .header_new-wrap {
    padding: 0 25px;
  }

  .header_new-logo a {
    max-width: 160px;
  }

  .section_bottom {
    .block-text {
      font-size: clamp(30px, 7vw, 44px);
    }
  }

  .section_bottom {
    .contact_link {
      max-width: 250px;
    }
  }

  .section_second {
    .box_content .list_mission {
      margin-left: 0;
    }
  }
}

@media (width <=480px) {
  .section_second {
    & .list_value {
      .it {
        max-width: clamp(150px, 42vw, 200px);
      }

      .it_title {
        font-size: 25px;
      }
    }

    & .our_value-box {
      & .our_value-heading {
        &::before {
          width: 78px;
          background-image: url('../img/vector1_sp.webp');
          background-repeat: no-repeat;
        }

        &::after {
          width: 78px;
          background-image: url('../img/vector2_sp.webp');
          background-repeat: no-repeat;
        }
      }
    }
  }

  .section_bottom {
    .contact_link {
      max-width: 200px;
    }
  }
}
