.main-page {
  .section {
    position: relative;
    background-color: #fff;

    &[data-anchor='main-visual01'] {
      position: relative;
      min-height: 100vh;
      overflow: hidden;
      video {
        position: absolute;
        top: 0;
        left: 0;
      }

      .main-video01-01 {
        z-index: 2;
      }

      .main-video01-02 {
        z-index: 1;
      }
    }

    &[data-anchor='main-animation'] {
      .title {
        margin-top: 146px;
        font-size: 45px;
        font-style: normal;
        font-weight: 300;
        line-height: 1.3;
        letter-spacing: -0.9px;
        font-family: var(--itc);
      }

      .description {
        font-family: var(--pretendard);
        font-size: 26px;
        line-height: 153.846%;
        letter-spacing: -1.04px;
        margin-top: 25px;
        position: relative;
        width: 50%;
        left: 50%;
        white-space: nowrap;
      }

      .list {
        position: relative;
        display: flex;
        margin-top: 80px;
        padding-left: 48px;
        .video {
          width: 320px;
          height: 320px;
          position: relative;
          margin-right: 130px;
          video {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        ul {
          position: absolute;
          width: 50%;
          left: 50%;
          display: flex;
          flex-direction: column;
          gap: 27px;

          li {
            &.on p {
              color: var(--red);
            }

            p {
              &:first-child {
                font-family: var(--itc);
                font-size: 22px;
                font-weight: 300;
                line-height: 1;
                letter-spacing: -0.44px;
              }

              &:last-child {
                font-size: 18px;
                font-weight: 400;
                line-height: 1.66;
                letter-spacing: -0.36px;
                margin-top: 5px;
              }
            }
          }
        }
      }
    }

    &[data-anchor='main-news'] {
      .main-tit__area {
        margin-top: 242px;
      }
      .gallery-list {
        margin-top: 60px;
      }
    }

    iframe {
      width: 100%;
      aspect-ratio: 16/9;
    }
    video {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  .main-contact {
    margin-top: 315px;
  }

  .main-clients {
    margin-top: 322px;
  }

  .main-clients {
    padding-bottom: 200px;
  }
}

.main-tit__area {
  position: relative;
  padding-top: 35px;
  left: 50%;
  max-width: 640px;

  &::before {
    content: '';
    position: absolute;
    width: 203px;
    height: 3px;
    background-color: #000;
    top: 0;
    left: 0;
  }

  h2 {
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.8px;
    font-family: var(--itc);
  }

  p {
    margin-top: 7px;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.66;
  }
}

.main-contact__info {
  margin-top: 62px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 88px;

  .img {
    width: 410px;
  }

  > ul {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;

    > li {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;

      &:not(:first-child) div {
        border-bottom: 1px solid rgba(164, 164, 165, 0.5);
      }

      > b {
        display: block;
        width: 142px;
        padding-top: 30px;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;
      }

      div {
        border-top: 1px solid rgba(164, 164, 165, 0.5);
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        padding-block: 28px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;

        dl {
          -webkit-box-flex: 1;
          -ms-flex: 1;
          flex: 1;

          dt {
            font-family: var(--itc);
            font-size: 16px;
            font-weight: 600;
            line-height: 1.62;
            letter-spacing: -0.32px;
          }

          dd {
            margin-top: 10px;

            ul {
              height: 103px;

              li {
                display: -webkit-box;
                display: -ms-flexbox;
                display: flex;

                span {
                  font-size: 16px;
                  line-height: 1.62;

                  &:first-child {
                    display: block;
                    width: 70px;
                    font-weight: 400;
                  }

                  &:last-child {
                    display: block;
                    -webkit-box-flex: 1;
                    -ms-flex: 1;
                    flex: 1;
                    font-weight: 700;
                  }
                }
              }
            }

            b {
              display: block;
              font-size: 14px;
              font-weight: 700;
              line-height: 1.42;
              margin-bottom: 4px;
            }

            p {
              margin-top: 3px;
              font-size: 14px;
              font-weight: 400;
              line-height: 1.42;
            }

            a {
              font-size: 14px;
              font-weight: 400;
              line-height: 1.42;
              display: inline-block;
              margin-top: 18px;

              em {
                display: inline-block;
                transform: translate(0, 0.15em);
                margin-left: -0.15em;
              }
            }
          }
        }
      }
    }
  }
}

.main-clients__list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-gap: 0 25px;

  > li {
    height: 140px;
    position: relative;

    img {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100%;
      object-fit: cover;
    }
  }
}

.main-top-btn {
  display: none;
}

.showreel-mobile {
  display: none;
}

@media (max-width: 1280px) {
  .main-page {
    .section {
      height: auto !important;
      max-width: 768px;
      margin-inline: auto;

      > div {
        height: auto !important;
        display: block;
      }

      &[data-anchor='main-visual01'] {
        aspect-ratio: 9 /16;
        min-height: auto;
        video {
          position: absolute;
          top: 50%;
          left: 50%;
          height: auto;
          transform: translate(-50%, -50%);
        }
      }

      &[data-anchor='main-animation'] {
        .title {
          font-size: 45px;
          font-style: normal;
          font-weight: 300;
          line-height: 1.3;
          letter-spacing: -0.9px;
          font-family: var(--itc);
        }

        .description {
          font-family: var(--pretendard);
          font-size: 26px;
          line-height: 153.846%;
          letter-spacing: -1.04px;
          margin-top: 25px;
          position: relative;
          width: 50%;
          left: 50%;
        }

        .list {
          position: relative;
          display: flex;
          margin-top: 80px;
          padding-left: 48px;
          .video {
            width: 320px;
            height: 320px;
            position: relative;
            margin-right: 130px;
            video {
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 100%;
              object-fit: cover;
            }
          }
          ul {
            position: absolute;
            width: 50%;
            left: 50%;
            display: flex;
            flex-direction: column;
            gap: 27px;

            li {
              &.on p {
                color: var(--red);
              }

              p {
                &:first-child {
                  font-family: var(--itc);
                  font-size: 22px;
                  font-weight: 300;
                  line-height: 1;
                  letter-spacing: -0.44px;
                }

                &:last-child {
                  font-size: 18px;
                  font-weight: 400;
                  line-height: 1.66;
                  letter-spacing: -0.36px;
                  margin-top: 5px;
                }
              }
            }
          }
        }
      }

      &[data-anchor='main-news'] {
        .gallery-list {
          margin-top: 60px;
        }
      }

      video {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }

    .main-contact,
    .main-clients {
      margin-top: 0;
      .main-tit__area {
        width: 89.063cqw;
        margin-inline: auto;
        margin-top: 27.214cqw;
      }
    }

    .main-clients {
      padding-bottom: 0;
    }
  }

  .showreel-mobile {
    display: block;
    width: 100% !important;
    aspect-ratio: 1/1 !important;
  }

  .showreel-pc {
    display: none;
  }
}

@media (max-width: 768px) {
  .main-page .top-btn {
    display: none;
  }

  .main-top-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    border: 1px solid #f4f4f4;
    transition: background-color 0.3s ease;
    border-radius: 50%;
    position: fixed;
    width: 8.594vw;
    height: 8.594vw;
    z-index: 96;
    bottom: 5%;
    right: 2.5%;
    background-color: #fff;
    img {
      width: 3.8vw;
      -webkit-filter: brightness(0);
      filter: brightness(0);
    }
  }
}

@container grid-container (max-width: 768px) {
  .main-page {
    .section {
      &[data-anchor='main-animation'] {
        .title {
          margin-top: 27.214cqw;
          width: 82.5cqw;
          margin-inline: auto;
          font-size: 5.455cqw;
          font-weight: 300;
          line-height: 141.667%;
          letter-spacing: -0.109cqw;
          br {
            display: none;
          }
        }

        .description {
          width: 82.5cqw;
          margin-inline: auto;
          font-size: 3.636cqw;
          letter-spacing: -0.073cqw;
          margin-top: 3.385cqw;
          position: static;
          left: 0;
        }

        .list {
          flex-direction: column;
          padding-left: 0;
          margin-top: 16.016cqw;
          .video {
            width: 72.656cqw;
            height: 72.656cqw;
            margin-inline: auto;
            video {
              position: static;
            }
          }
          ul {
            margin-top: 6.771cqw;
            position: static;
            gap: 6.771cqw;
            width: 48.568cqw;
            margin-inline: auto;
            li {
              p {
                &:first-child {
                  font-size: 4.545cqw;
                  font-weight: 300;
                  letter-spacing: -0.091cqw;
                }

                &:last-child {
                  font-size: 3.636cqw;
                  font-weight: 400;
                  letter-spacing: -0.559px;
                  margin-top: 1.042cqw;
                }
              }
            }
          }
        }
      }

      &[data-anchor='main-news'] {
        .main-tit__area {
          margin-top: 27.295cqw;
          width: 89.063cqw;
          margin-inline: auto;
        }
        .gallery-list {
          margin-top: 60px;
          width: 89.063cqw;
          margin-inline: auto;
          margin-top: 8.984cqw;
        }
      }
    }

    .main-contact,
    .main-clients {
      .main-tit__area {
        width: 89.063cqw;
        margin-inline: auto;
        margin-top: 27.214cqw;
      }
    }

    .main-clients {
      padding-bottom: 30cqw;
    }
  }

  .main-tit__area {
    max-width: 100%;
    position: relative;
    left: 0;
    padding-top: 6.771cqw;
    &::before {
      width: 31.901cqw;
    }
    h2 {
      font-weight: 300;
      font-size: 6.818cqw;
      line-height: 116.667%;
      letter-spacing: -0.136cqw;
    }
    p {
      font-size: 3.636cqw;
      line-height: 156.25%;
      letter-spacing: -0.073cqw;
      margin-top: 2.272cqw;
    }
  }

  .main-contact__info {
    width: 89.063cqw;
    margin-inline: auto;
    flex-direction: column;
    margin-top: 8.984cqw;
    gap: 11.328cqw;
    .img {
      width: 100%;
      height: 52.474cqw;
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    > ul {
      width: 100%;
      > li {
        display: flex;
        flex-direction: column;

        > b {
          border-top: 1px solid rgba(164, 164, 165, 0.5);
          width: 100%;
          font-size: 4.091cqw;
          line-height: 1;
          letter-spacing: -0.041cqw;
          padding-top: 8.984cqw;
        }

        div {
          flex-direction: column;
          border-top: none;
          padding-block: 9.091cqw;
          gap: 9.091cqw;
          dl {
            dt {
              font-size: 3.636cqw;
              line-height: 1;
              letter-spacing: -0.073cqw;
            }

            dd {
              margin-top: 4.103cqw;

              ul {
                height: auto;

                li {
                  display: -webkit-box;
                  display: -ms-flexbox;
                  display: flex;

                  span {
                    font-size: 16px;
                    line-height: 1.62;

                    &:first-child {
                      width: 11.719cqw;
                      font-size: 3.182cqw;
                      line-height: 142.857%;
                      letter-spacing: -0.064cqw;
                    }

                    &:last-child {
                      font-size: 3.182cqw;
                      line-height: 164.286%;
                      letter-spacing: -0.064cqw;
                    }
                  }
                }
              }

              b {
                margin-top: 0.651cqw;
                margin-left: 11.719cqw;
                font-size: 3.182cqw;
                line-height: 164.286%;
                letter-spacing: -0.064cqw;
              }

              p {
                margin-top: 0.651cqw;
                margin-left: 11.719cqw;
                font-size: 3.182cqw;
                line-height: 142.857%;
                letter-spacing: -0.064cqw;
              }

              a {
                margin-top: 2.85cqw;
                margin-left: 11.719cqw;
                font-size: 3.182cqw;
                line-height: 142.857%;
                letter-spacing: -0.064cqw;
                text-decoration: none;
                em {
                  display: inline-block;
                  transform: translate(0, 0.15em);
                  margin-left: -0.15em;
                }
              }
            }
          }
        }
      }
    }
  }

  .main-clients__list {
    width: 89.063cqw;
    margin-inline: auto;
    margin-top: 7.813cqw;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0;
    margin-bottom: 20.443cqw;

    > li {
      height: 14cqw;
      position: relative;

      img {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        object-fit: cover;
      }
    }
  }
}
