@font-face {
  font-family: 'ITC Avant Garde Gothic Pro';
  src: url('/assets/fonts/ITCAvantGardeGothicExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Pro';
  src: url('/assets/fonts/ITCAvantGardeGothicBook.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Pro';
  src: url('/assets/fonts/font.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Pro';
  src: url('/assets/fonts/ITCAvantGardeGothic/ITCAvantGardeGothicMedium/font.woff')
    format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'ITC Avant Garde Gothic Pro';
  src: url('/assets/fonts/ITCAvantGardeGothic/ITCAvantGardeGothicDemiBold/font.woff')
    format('woff');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-ExtraLight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-ExtraBold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'Pretendard';
  src: url('/assets/fonts/Pretendard-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'din-2014';
  src: url('/assets/fonts/D-DIN.woff') format('woff');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'din-2014';
  src: url('/assets/fonts/D-DIN-Bold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
}

:root {
  --itc: 'ITC Avant Garde Gothic Pro', sans-serif;
  --pretendard: 'Pretendard', sans-serif;
  --gray02: #a4a4a5;
  --gray03: #282828;
  --red: #ce0000;
}

.blind {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  text-indent: -9999px;
}

.font-en {
  font-family: var(--itc);
}

.font-en02 {
  font-family: var(--inter);
}

.sample-img {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

.header {
  position: fixed;
  z-index: 99;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 1);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);

  .header-sns,
  .gnb-open,
  .gnb-close {
    display: none;
  }

  .grid-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 60px;
  }

  .header-bg {
    background-color: #fff;
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    z-index: -1;
  }

  .is-toggle {
    display: none;
    opacity: 0;

    &.active {
      display: block;
      -webkit-animation: fadeIn 0.3s ease-in-out forwards;
      animation: fadeIn 0.3s ease-in-out forwards;
    }
  }

  .header-gnb {
    position: absolute;
    left: 50%;
    display: flex;
    justify-content: space-between;
    width: 50%;
  }

  .gnb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 50px;

    > div {
      position: relative;

      &:hover .gnb-depth1 {
        opacity: 1;
        visibility: visible;

        &::after {
          width: 100%;
        }
      }
    }
  }

  .gnb-depth1 {
    font-size: 16px;
    color: var(--gray03);
    position: relative;
    line-height: 2;
    font-weight: 300;
    font-family: var(--itc);

    &::after {
      content: '';
      display: block;
      width: 0;
      height: 1px;
      background-color: var(--gray03);
      position: absolute;
      bottom: -3px;
      left: 0;
      -webkit-transition: width 0.3s;
      transition: width 0.3s;
    }
  }

  .gnb-depth2 {
    position: absolute;
    bottom: -12px;
    left: 0;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);

    a,
    span {
      font-family: var(--itc);
      display: block;
      line-height: 1.33;
      margin-bottom: 6px;
      white-space: nowrap;
      -webkit-transition: color 0.3s;
      transition: color 0.3s;
      font-size: 14px;
      color: var(--gray03);
      font-weight: 300;
      cursor: pointer;

      &:hover {
        color: var(--gray02);
      }
    }
  }

  .header-intro {
    margin-left: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;

    li {
      line-height: 1;

      &:not(:first-child)::before {
        content: '';
        display: inline-block;
        margin: 0 15px;
        width: 1px;
        height: 13px;
        background-color: var(--gray02);
      }

      &:nth-child(2) {
        display: none;
      }

      > a {
        position: relative;
        line-height: 1;
        font-size: 16px;
        font-family: var(--itc);
        font-weight: 300;

        &::after {
          content: '';
          display: block;
          width: 0;
          height: 1px;
          background-color: var(--gray03);
          position: absolute;
          bottom: -3px;
          left: 0;
          -webkit-transition: width 0.3s;
          transition: width 0.3s;
        }

        &:hover {
          &::after {
            width: 100%;
          }
        }
      }
    }
  }

  .header-contact {
    margin-left: 40px;
    position: relative;

    .gnb-depth2 {
      > a {
        text-decoration: underline;
        text-underline-offset: 0.3em;
        opacity: 0.5;
        &:hover {
          opacity: 1;
          color: #000;
        }
      }
    }

    &:hover {
      .gnb-depth1 {
        opacity: 1;
        visibility: visible;

        &::after {
          width: 100%;
        }
      }
    }
  }

  @media (max-width: 1280px) {
    .grid-wrapper {
      width: 100%;
      padding-inline: calc(10.937cqw / 2);
    }
    .header-bg {
      display: none;
    }
  }

  @container grid-container (max-width: 768px) {
    .grid-wrapper {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      height: 11.328cqw;
    }

    .header-logo {
      img {
        width: 13.542cqw;
      }
    }

    .gnb-open {
      display: block;
      margin-left: auto;
      width: 4.945cqw;
      height: 3.7cqw;
      svg {
        width: 100%;
        height: 100%;
      }
    }

    .gnb-close {
      display: block;
      margin-left: auto;
      width: 4cqw;
      height: 4cqw;
      svg {
        width: 100%;
        height: 100%;
      }
    }

    .header-sns {
      margin-top: auto;
      display: flex;
      gap: 3.385cqw;

      a {
        display: inline-block;
        margin-top: 10.417cqw;
        svg {
          width: 100%;
          height: 100%;
        }
        &:first-child {
          width: 6.136cqw;
          height: 4.318cqw;
        }
        &:last-child {
          width: 4.318cqw;
          height: 4.318cqw;
        }
      }
    }

    .is-toggle {
      display: none;
      opacity: 1;
    }

    .header-gnb {
      position: fixed;
      height: 100vh;
      padding: 3.669cqw 5.669cqw;
      right: 0;
      left: auto;
      top: 0;
      display: block;
      width: 62.045cqw;
      background-color: #fff;
      overflow-y: auto;
      display: none;
      flex-direction: column;
      z-index: 101;
    }

    .gnb {
      flex-direction: column;
      gap: 5.599cqw;
      margin-top: 11.589cqw;

      > div {
        width: 100%;
        position: relative;
      }
    }

    .gnb-depth1 {
      font-size: 5cqw;
      line-height: 1;
      letter-spacing: -0.1cqw;
      width: 100%;
      display: block;

      &::after {
        display: none;
      }

      &:has(+ .gnb-depth2) {
        &::before {
          content: '';
          display: block;
          position: absolute;
          width: 4.545cqw;
          height: 2.727cqw;
          position: absolute;
          right: 0;
          top: 50%;
          transform: translateY(-50%);
          background-image: url('/svg/arrow_down.svg');
          background-size: contain;
          background-repeat: no-repeat;
          background-position: center;
        }
      }

      &.active {
        &::before {
          transform: translateY(-50%) rotate(180deg);
        }
      }

      svg {
        width: 3.409cqw;
        height: 3.818cqw;
      }
    }

    .gnb-depth2 {
      position: static;
      bottom: auto;
      left: auto;
      transform: translateY(0);
      margin-left: 6.12cqw;
      margin-top: 5.599cqw;
      display: none;

      a {
        font-size: 4.091cqw;
        line-height: 1;
        letter-spacing: -0.082cqw;
        margin-bottom: 3.385cqw;
      }
    }

    .header-intro {
      flex-direction: column;
      align-items: flex-start;
      margin-left: 0;
      margin-top: 5.599cqw;
      padding-top: 5.599cqw;
      border-top: 1px solid rgba(0, 0, 0, 0.15);
      gap: 5.599cqw;
      li {
        line-height: 1;
        width: 100%;

        &:nth-child(1) {
          display: none;
        }

        &:nth-child(2) {
          display: block;
        }

        &:not(:first-child)::before {
          display: none;
        }

        > a {
          font-size: 5cqw;
          font-style: normal;
          line-height: 1;
          letter-spacing: -0.1cqw;
          display: block;

          &::after {
            display: none;
          }
        }
      }
    }

    .header-contact {
      margin-left: 0;
      display: flex;
      flex-direction: column;
      margin-top: 5.599cqw;
      padding-top: 5.599cqw;
      border-top: 1px solid rgba(0, 0, 0, 0.15);

      .gnb-depth1 {
        &::before {
          display: none;
        }
      }
      .gnb-depth2 {
        margin-left: 0;
        display: block !important;
        > a {
          color: rgba(40, 40, 40, 0.6);
          font-size: 4.091cqw;
          line-height: 1;
          letter-spacing: -0.082cqw;
          text-decoration-line: underline;
          text-decoration-style: solid;
          text-underline-offset: 0.25em;
          text-underline-position: from-font;
        }
      }

      &:hover {
        .gnb-depth1 {
          &::after {
            display: none;
          }
        }
      }
    }
  }
}

.footer {
  background-color: #000;
  .flex {
    display: flex;
    justify-content: space-between;
    padding-block: 32px 79px;
  }
  .footer-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 9px;
    margin-top: 27px;

    div {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      gap: 15px;

      a,
      p {
        color: #fff;
        line-height: 1;
        font-size: 15px;
        font-weight: 400;

        span {
          font-weight: 600;
          line-height: 1;
        }
      }
    }
  }

  .footer-copyright {
    color: var(--gray02);
    opacity: 0.8;
    font-size: 15px;
    font-family: var(--pretendard);
    margin-top: 17px;
  }

  .footer-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    gap: 42px;

    > img {
      width: 71px;
    }
  }

  @media (max-width: 1280px) {
    .grid-wrapper {
      width: 100%;
    }
  }

  @media (max-width: 768px) {
    .grid-wrapper {
      width: 89.063cqw;
    }
  }

  @container grid-container (max-width: 768px) {
    .flex {
      flex-direction: column;
      padding-block: 10.87cqw 8.213cqw;
    }
    .footer-info {
      order: 2;
      gap: 2.273cqw;
      margin-top: 3.283cqw;

      div {
        gap: 2.415cqw;
        margin-top: 0 !important;

        span,
        a,
        p {
          font-size: 2.727cqw;
          line-height: 2.899cqw;
        }

        &:last-of-type {
          flex-wrap: wrap;
        }
        .footer-sns {
          display: none;
        }
      }
    }

    .footer-copyright {
      font-size: 2.727cqw;
      margin-top: 0;
    }

    .footer-logo {
      order: 1;
      gap: 0;
      align-self: flex-start;

      > img {
        width: 16.797cqw;
      }
    }

    .footer-sns {
      width: 100%;
      svg {
        height: 4.318cqw;
      }
    }
  }
}

.top-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  width: 41px;
  height: 41px;
  border: 1px solid #f4f4f4;
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;

  img {
    width: 22px;
  }

  &:hover {
    background-color: #f4f4f4;

    img {
      -webkit-filter: brightness(0);
      filter: brightness(0);
    }
  }

  @container grid-container (max-width: 768px) {
    position: fixed;
    width: 8.594cqw;
    height: 8.594cqw;
    z-index: 96;
    bottom: 5%;
    right: calc(10.937cqw / 2);
    background-color: #fff;
    box-shadow: 0 0 2.273cqw 0 rgba(0, 0, 0, 0.1);
    img {
      width: 3.8cqw;
      -webkit-filter: brightness(0);
      filter: brightness(0);
    }
  }
}

.video-box {
  margin-top: 120px;
  video {
    aspect-ratio: 16 / 9;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 15px;

  li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #f4f4f4;
    font-size: 0;
    &.slick-active {
      background-color: #000;
      width: 10px;
      height: 10px;
    }
  }

  @container grid-container (max-width: 768px) {
    margin-top: 5.208cqw;
    gap: 1.953cqw;
    li {
      width: 1.042cqw;
      height: 1.042cqw;
      &.slick-active {
        width: 1.563cqw;
        height: 1.563cqw;
      }
    }
  }
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 300px;
  background-color: #fff;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 41px;
  text-align: center;
  display: none;

  p {
    font-family: var(--pretendard);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.24px;
    margin-top: 25px;
  }
  button {
    margin-top: 62px;
    width: 124px;
    height: 39px;
    border: 1px solid var(--gray02);
    color: var(--gray02);
    font-family: var(--pretendard);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all ease 0.3s;
    margin-inline: auto;
    &:hover {
      background-color: var(--gray02);
      color: #fff;
    }
  }

  @media (max-width: 768px) {
    width: 86.364vw;
    height: 52.51vw;
    padding-top: 7.422vw;

    .icon {
      width: 11.45vw;
      height: 11.45vw;
      margin-inline: auto;
      svg {
        width: 100%;
        height: 100%;
      }
    }
    p {
      font-size: 3.636vw;
      line-height: 1;
      letter-spacing: -0.145vw;
    }
    button {
      margin-top: 8.807vw;
      width: 34.091vw;
      height: 9.132vw;
      font-size: 3.182vw;
      line-height: 1;
      letter-spacing: -0.064vw;
    }
  }
}

.dim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 98;
  height: 100vh;
}

.dim-mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 98;
  height: 100vh;
}

.modal-dim {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 119;
  height: 100vh;
}

@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

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

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

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

  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

@-webkit-keyframes scaleUp {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleUp {
  0% {
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 1;
  }
}
