.hero-section {
  position: relative;
  width: 100%;
  display: flex;

  .hero-content {
    position: absolute;
    margin-top: 120px;
    width: 100%;
    z-index: 2;

    .hero-title-wrapper {
      display: flex;
      flex-direction: column;
      gap: 16px;
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;

      .hero-title {
        color: var(--white);
        font-size: 72px;
        font-weight: 700;
        line-height: 130%;
      }

      .hero-desc {
        color: var(--white);
        font-size: 20px;
        line-height: 150%;
      }
    }
  }

  .video-container {
    width: 100vw;
    height: 100vh;
    overflow: hidden;

    .video-dim {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.5) 100%
      );
    }

    video {
      min-width: 100%;
      min-height: 100%;
    }
  }
}

.core-section {
  padding-top: 150px;

  .core-content {
    display: flex;
    flex-direction: column;
    gap: 120px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

    .core-title {
      font-size: 52px;
      font-weight: 700;
      line-height: 130%;
    }

    .core-list {
      display: flex;
      flex-direction: column;
      gap: 120px;

      .core-item {
        display: flex;
        flex-direction: column;

        .core-item-title-wrapper {
          display: flex;
          flex-direction: row;
          width: 100%;
          gap: 120px;

          .core-item-title {
            font-size: 40px;
            font-weight: 700;
            line-height: 130%;
            flex: 6;
          }

          .core-item-numb {
            font-size: 64px;
            font-weight: 700;
            height: 160px;
            flex: 4;
          }
        }

        .core-item-content {
          display: flex;
          flex-direction: row;
          height: 100%;
          gap: 120px;

          .core-item-thumb {
            width: 100%;
            height: 200px;
            border-radius: 4px;
            overflow: hidden;
            flex: 4;

            img {
              width: 100%;
              height: 100%;
            }
          }

          .core-item-desc-wrapper {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex: 6;

            .core-item-desc {
              font-size: 16px;
              line-height: 150%;
              color: var(--gray-400);
            }
            .core-item-divider {
              width: 100%;
              height: 1px;
              background-color: var(--gray-200);
            }
          }
        }

        &.right {
          .core-item-title-wrapper {
            .core-tiem-title {
              flex: 6;
            }
            .core-item-numb {
              flex: 4;
            }
          }
          .core-item-content {
            .core-item-desc-wrapper {
              flex: 6;
            }
            .core-item-thumb {
              flex: 4;
            }
          }
        }
      }

      &.mobile {
        display: none;
      }
    }
  }
}

.impact-section {
  width: 100%;
  padding-top: 150px;

  .impact-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 48px;

    .impact-title {
      font-size: 52px;
      font-weight: 700;
      line-height: 130%;
      flex: 5;
    }
    .impact-info {
      display: flex;
      flex-direction: column;
      width: 100%;
      flex: 5;

      .impact-info-row {
        display: flex;
        flex-direction: row;
        gap: 48px;

        .impact-info-item {
          display: flex;
          width: 100%;
          flex-direction: column;
          gap: 8px;
          border-top: 1px solid var(--gray-500);
          padding-top: 32px;
          padding-bottom: 64px;

          .impact-info-title {
            font-size: 48px;
            font-weight: 700;
          }
          .impact-info-desc {
            font-size: 14px;
            color: var(--gray-400);
          }
        }
      }
    }
  }
}

.x-solution-section {
  width: 100%;
  min-height: 100dvh;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  gap: 64px;

  .title-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 64px;

    .title {
      font-size: 52px;
      display: flex;
      font-weight: 900;
    }
    .divider {
      width: 100px;
      height: 2px;
      background-color: var(--main-blue);
    }
  }

  .content-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100dvh;

    .content {
      display: flex;
      align-items: center;
      flex-direction: row;
      gap: 64px;
      width: 100%;
      max-width: 1000px;
      margin: 0 auto;
      height: 100%;

      .thumb {
        position: absolute;
        top: 0;
        left: 0;
        width: 45%;
        height: 100%;
        overflow: hidden;

        img {
          width: 100%;
          height: 100%;
        }
      }

      .info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 72px;
        padding-left: 55%;
        height: 100vh;

        .info-title-wrapper {
          display: flex;
          flex-direction: column;

          gap: 20px;

          .subtitle-wrapper {
            display: flex;
            flex-direction: row;
            gap: 32px;
            align-items: center;
            font-size: 18px;
            line-height: 150%;
          }

          .title {
            font-size: 100px;
            font-weight: 900;
          }
        }

        .desc {
          font-size: 18px;
          line-height: 150%;
        }
      }
    }
  }

  &.right {
    .content-wrapper {
      background-color: var(--bg-main-deep);
      .content {
        .thumb {
          width: 40%;
          left: initial;
          right: 0;
        }

        .info {
          padding-left: initial;
          padding-right: 55%;
        }
      }
    }
  }
}

.video-section {
  width: 100%;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  /* gap: 32px; */

  .video-content {
    /* gap: 32px; */
    margin-left: auto;
    margin-right: auto;

    .columns {
      display: flex;
      width: 100%;
      /* gap: 32px; */

      video {
        width: 600px;
        margin: 24px;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .video-section {
    padding-top: 100px;

    .video-content {
      .columns {
        video {
          width: 350px;
          margin: 20px;
        }
      }
    }
  }
}

@media screen and (max-width: 768px) {
  .video-section {
    padding-top: 64px;

    .video-content {
      .columns {
        display: flex;

        video {
          width: 300px;
          margin: 10px;
        }
      }
    }
  }
}

@media screen and (max-width: 480px) {
  .video-section {

    .video-content {
      .columns {
        display: block;
      }
    }
  }
}

.history-section {
  width: 100%;
  padding-top: 150px;
  display: flex;
  flex-direction: column;
  gap: 32px;

  .history-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 32px;

    .history-title {
      font-size: 52px;
      font-weight: 700;
      line-height: 130%;
    }

    .history-title-wrapper {
      max-width: 1000px;
      width: 100%;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;

      .history-title {
        font-size: 52px;
        font-weight: bold;
        width: fit-content;
        line-height: 120%;
      }

      .controller {
        .controller-container {
          cursor: pointer;
        }
      }
    }
    .history-divider {
      height: 1px;
      width: 100vw;
      background-color: var(--gray-400);
    }
  }
  .history-list-container {
    display: flex;
    flex-direction: column;
    width: 100vw;
    /* max-width: 1000px; */
    padding: 0 24px;
    margin: 0 auto;
    gap: 64px;

    .history-list {
      .history-item {
        width: 400px;
        display: flex;
        flex-direction: column;
        gap: 24px;

        .history-item-title {
          font-size: 48px;
          font-weight: 700;
        }
        .history-item-desc {
          font-size: 16px;
          line-height: 160%;
        }
      }
    }
  }
}

.map-section {
  width: 100%;
  padding: 150px 0;

  .map-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    gap: 120px;

    .map-title {
      font-size: 52px;
      font-weight: 700;
      line-height: 130%;
      text-align: center;
    }

    .map-illust {
      width: 100%;

      img {
        width: 100%;
        height: 100%;
      }
    }
  }
}

.company-section {
  width: 100%;
  padding-top: 150px;
  padding-bottom: 150px;

  .content {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;

    .title {
      width: 100%;
      font-size: 52px;
      font-weight: 700;
      line-height: 130%;
    }

    .table {
      display: flex;
      width: 560px;
      font-size: 16px;
      line-height: 150%;
      color: var(--gray-400);
      flex-shrink: 0;

      table {
        width: 100%;
        border-collapse: collapse;
      }

      tbody {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 24px;
      }

      tr {
        display: flex;
        border-top: 1px solid var(--gray-100);
        padding-top: 24px;

        &:last-child {
          border-bottom: 1px solid var(--gray-100);
          padding-bottom: 24px;
        }
      }

      th {
        flex: 4;
        text-align: left;
        font-weight: 400;
        color: var(--gray-300);
        padding: 10px 0;
      }

      td {
        flex: 6;
        font-weight: 700;
        color: var(--black);
        padding: 10px 0;
        text-align: left;
      }
    }
  }
}

@media screen and (max-width: 480px) {
  .hero-section {
    min-width: 360px;
    width: 100vw;

    .hero-content {
      margin-top: 200px;
      padding: 0 24px;

      .hero-title-wrapper {
        .hero-title {
          font-size: 32px;
        }

        .hero-desc {
          font-size: 16px;
        }
      }
    }
  }

  .core-section {
    padding-top: 120px;

    .core-content {
      gap: 64px;

      .core-title {
        font-size: 32px;
        padding: 0 24px;
        line-height: 120%;
      }

      .core-list {
        .core-item {
          gap: 32px;

          .core-item-title-wrapper {
            display: flex;
            flex-direction: column;
            padding: 0 24px;
            gap: 24px;

            .core-item-title {
              font-size: 28px;
            }

            .core-item-numb {
              font-size: 40px;
            }
          }

          .core-item-content {
            display: flex;
            flex-direction: column;
            gap: 32px;

            .core-item-thumb {
              border-radius: initial;
              height: 200px;
              flex: initial;
            }

            .core-item-desc-wrapper {
              padding: 0 24px;
              gap: 32px;
              justify-content: initial;
              flex: initial;
            }
          }

          &.right {
            .core-item-title-wrapper {
              .core-item-title {
                text-align: right;
              }
              .core-item-numb {
                text-align: right;
              }
            }
            .core-item-content {
              .core-item-thumb {
                flex: initial;
              }
            }
          }
        }
        &.desktop {
          display: none;
        }
        &.mobile {
          display: flex;
        }
      }
    }
  }

  .impact-section {
    padding: 120px 0;

    .impact-content {
      flex-direction: column;
      padding: 0 24px;

      .impact-title {
        font-size: 32px;
      }

      .impact-info {
        gap: 48px;

        .impact-info-row {
          .impact-info-item {
            width: 100%;
            padding-top: 24px;
            padding-bottom: initial;

            .impact-info-title {
              font-size: 32px;
            }
          }
        }
      }
    }
  }

  .history-section {
    min-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 120px 0;

    .history-content {
      .history-title-wrapper {
        padding: 0 24px;
        flex-direction: column;
        gap: 24px;

        .history-title {
          font-size: 32px;
        }

        .controller {
          width: 100%;
          justify-content: end;
        }
      }
    }

    .history-list-container {
      .history-list {
        margin: initial;

        .history-item {
          width: 240px;
        }
      }
    }
  }

  .map-section {
    padding: 120px 0;
    .map-content {
      gap: 64px;
      padding: 0 24px;
      .map-title {
        font-size: 32px;
      }
    }
  }

  .company-section {
    padding: 120px 0;
    .content {
      padding: 0 24px;
      flex-direction: column;
      gap: 32px;
      .title {
        font-size: 32px;
      }

      .table {
        font-size: 12px;
        width: 100%;

        tbody {
          gap: 16px;
        }

        tr {
          padding-top: 16px;
        }
      }
    }
  }

  .x-solution-section {
    padding-top: 64px;
    gap: 64px;

    .title-wrapper {
      flex-direction: column;
      gap: 12px;

      .title {
        font-size: 32px;
      }
    }

    .content-wrapper {
      width: 100%;

      .content {
        .thumb {
          width: 100%;
          opacity: 0.2;
        }

        .info {
          position: absolute;
          padding: 0 24px;
          z-index: 99;
          .info-title-wrapper {
            .title {
              font-size: 52px;
            }
            .subtitle-wrapper {
              display: inline-block;

              img {
                margin-right: 32px;
              }
            }
          }

          .desc {
            font-size: 16px;
          }
        }
      }
    }

    &.right {
      .content-wrapper {
        .content {
          .thumb {
            width: 100%;
          }

          .info {
            position: absolute;
            padding: 0 24px;
          }
        }
      }
    }
  }
}
