body {
  background: #000;
  color: #fff;
  font-size: 33px;
  font-family: "Noto Sans KR", sans-serif;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

#wrapper {
  padding: 80px 128px;
  padding-top: 60px;
}

header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 62px;
}

header:after {
  position: absolute;
  content: "";
  display: block;
  left: 100px;
  top: 50%;
  right: 100px;
  transform: translateY(-50%);
  height: 6px;
  background: #fff;
}

header svg {
  background: #000;
  z-index: 1;
  padding-right: 24px;
  position: relative;
}

header .title {
  background: #000;
  z-index: 1;
  padding-left: 30px;
  position: relative;
}

footer {
  margin-top: 68px;
  background: #fff;
  height: 6px;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  height: calc(100vh - 324px);
}

main .item {
  width: 100%;
  display: flex;
  gap: 57px;
}

main .item ul {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  /* transition: 0.3s; */
}

main .item ul li {
  height: 117px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

main .item .belong {
  height: 117px;
  flex: 1;
  background: #5993c1;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  font-size: 69px;
  line-height: 110px;
  font-weight: 900;
  letter-spacing: -0.2px;
  text-align: center;
  overflow: hidden;
}

main .item .name {
  width: 343px;
  height: 117px;
  background: #8d62a5;
  border-radius: 20px;
  color: #fff;
  font-size: 69px;
  line-height: 110px;
  font-weight: 900;
  letter-spacing: -0.2px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
  box-sizing: border-box;
}

main .item .name span {
  display: inline-block;
  opacity: 0;
  transform: scale(0.5);
}

main .item .name span.show {
  opacity: 1;
  transform: scale(1);
  transition: all 0.5s;
}

main[data-count="1"] .item {
  flex-direction: column;
  gap: 44px;
}

main[data-count="1"] .item .belong {
  flex: auto;
  height: 117px;
}

main[data-count="1"] .item .name {
  width: 100%;
  height: 117px;
  background: #8d62a5;
  color: #fff;
  font-size: 69px;
  line-height: 110px;
  font-weight: 900;
  letter-spacing: -0.2px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 10px;
}
