html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.blind {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

#intro {
  overflow: hidden;
  background: #030e1c;
  font-family: var(--font-primary, "Wanted Sans Variable", "Wanted Sans", "Pretendard", sans-serif);
  letter-spacing: -0.03em;
}

.intro-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: table;
  table-layout: fixed;
}

.intro-wrap .cell {
  position: relative;
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
}

#myVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  pointer-events: none;
}

.intro-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0.4;
  pointer-events: none;
}

.intro-box {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.intro-box .slogan {
  margin: 0 0 48px;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  word-break: keep-all;
}

.intro-box .row {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 60px;
}

.intro-box .col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(50% - 30px);
  aspect-ratio: 1 / 1;
  padding: 40px 20px;
  border-radius: 18px;
  box-sizing: border-box;
  text-align: center;
  transition: background 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

.intro-box .col::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 18px;
  pointer-events: none;
  transition: border 0.25s ease-in-out;
}

.intro-box .col a {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

.intro-box .col .logo {
  position: relative;
  height: 48px;
  margin: 0 auto 24px;
}

.intro-box .col .logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: auto;
  height: 48px;
  max-width: 180px;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.intro-box .col .logo .logo-c {
  opacity: 0;
}

.intro-box .col .tit {
  margin: 0;
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  word-break: keep-all;
  transition: color 0.25s ease-in-out;
}

.intro-box .col2 .tit {
  color: #fff;
}

.intro-box .col .txt {
  margin: 13px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  word-break: keep-all;
  transition: color 0.25s ease-in-out;
}

.intro-box .col .arrow {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 60px;
  height: 60px;
  margin-left: -30px;
  border: 0;
  border-radius: 50%;
  background: var(--color-sub, #0168b7);
  opacity: 0;
  pointer-events: none;
  transform: translateY(50%);
  transition: opacity 0.25s ease-in-out;
}

.intro-box .col .arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: #fff;
  transform: translate(-50%, -50%);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.2 5.2 19 11H4v2h15l-5.8 5.8 1.4 1.4L22.8 12 14.6 3.8z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M13.2 5.2 19 11H4v2h15l-5.8 5.8 1.4 1.4L22.8 12 14.6 3.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.intro-box .col2 .arrow {
  background: var(--color-main, #5ed1ff);
}

.intro-box .col:hover {
  background: #fff;
}

.intro-box .col:hover::after {
  border: 3px solid var(--color-sub, #0168b7);
}

.intro-box .col2:hover::after {
  border-color: var(--color-main, #5ed1ff);
}

.intro-box .col:hover .tit {
  color: var(--color-sub, #0168b7);
}

.intro-box .col2:hover .tit {
  color: var(--color-main, #5ed1ff);
}

.intro-box .col:hover .txt {
  color: #454545;
}

.intro-box .col:hover .logo .logo-w {
  opacity: 0;
}

.intro-box .col:hover .logo .logo-c {
  opacity: 1;
}

.intro-box .col:hover .arrow {
  opacity: 1;
}

.intro-box .col a:focus-visible {
  outline: 3px solid var(--color-main, #5ed1ff);
  outline-offset: 6px;
}

@media (max-width: 768px) {
  .intro-box .slogan {
    margin-bottom: 28px;
    font-size: 28px;
  }

  .intro-box .row {
    flex-wrap: wrap;
    gap: 20px;
  }

  .intro-box .col {
    width: 100%;
    aspect-ratio: auto;
    padding: 40px 16px;
  }

  .intro-box .col .logo {
    height: 40px;
    margin-bottom: 20px;
  }

  .intro-box .col .logo img {
    height: 40px;
  }

  .intro-box .col .tit {
    font-size: 22px;
  }

  .intro-box .col .txt {
    font-size: 14px;
  }

  .intro-box .col .arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-box .col,
  .intro-box .col::after,
  .intro-box .col .tit,
  .intro-box .col .txt,
  .intro-box .col .arrow {
    transition: none;
  }
}
