@charset "UTF-8";

/* 외부 CSS 불러오기 */
@import url(./reset.css);
@import url(./core.css);

/******************************** 상단 ********************************/
#header {
  position: relative;
  z-index: 20;
}

.header-group {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  font-size: 12px;
  padding: 10px;
  box-sizing: border-box;
  backdrop-filter: blur(3px);
  /* mix-blend-mode: difference; */
}

.header-list {
  position: relative;
  display: flex;
  justify-content: space-between;
  height: 55px;
}

/* 로고 */
.logo {
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
}

.logo img {
  height: 58px;
}

/* gnb 메뉴 */
.nav-list {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list > * {
  padding: 0 20px;
}

/* gnb-btn 숨김 */
.gnb-btn {
  display: none;
}

/* 오른쪽 메뉴 */
.right-menu {
  display: flex;
  height: 100%;
}

.menu-list {
  display: flex;
  align-items: center;
}

.menu-list > * {
  padding: 0 20px;
}

/* 메뉴 */
.side-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  color: #000;
  background: #fff;
  padding-top: 80px;
  border-right: 1px solid #e0e0e0;
  z-index: 50;
  overflow-y: auto;
  transition: left 0.4s ease;
}

.side-menu.active {
  left: 0;
}

.side-menu-content {
  position: relative;
  display: flex;
  flex-direction: column;
  height: calc(100% - 110px);
  overflow-y: auto;
  padding: 0 0px 50px;
}

.list {
  border-top: 1px solid #e0e0e0;
}

.list > a {
  display: block;
  font-size: 20px;
  font-weight: bold;
  padding: 14px 20px;
}

.list:last-child > a {
  border-bottom: 1px solid #e0e0e0;
}

.menu-sub-list {
  background: #f5f5f5;
  border-top: 1px solid #e0e0e0;
}

.menu-sub-list li > a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  padding: 14px 20px;
}

/* 닫기 버튼 */
.close {
  position: absolute;
  top: 0;
  left: 0;
  padding: 20px;
  font-family: pretendard;
  font-size: 15px;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
   color: #222;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

/* SNS */
.sns {
  display: flex;
  gap: 10px;
  padding: 10px 20px 0;
  margin-top: auto;
}

.sns img {
  height: 20px;
}

/* search */
.search {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px 50px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  transition: 0.3s;
  z-index: 30;
}

.search.active {
  display: block;
}

.search-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.search-content span {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 90px;
  color: #fff;
  line-height: 1;
  font-family: "Playfair Display";
}

/* search 입력창 */
.search-input-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-input {
  width: 560px;
  height: auto;
  padding: 30px 0;
  font-size: 20px;
  font-weight: 300;
  color: #fff;
  background: none;
  border: 0;
  border-bottom: 1px solid #fff;
  outline: none;
}

.search-input::placeholder {
  color: #fff;
}

.search-btn {
  position: absolute;
  display: block;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  font-family: pretendard;
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  padding: 4px 11px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
  word-break: break-all;
  word-wrap: break-word;
}

/* search 닫기 버튼 */
.search-close {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 40px;
  padding: 4px 20px;
  font-family: pretendard;
  font-size: 20px;
  font-weight: 400;
  background: none;
  cursor: pointer;
  transition: 0.3s;
  word-break: break-all;
  word-wrap: break-word;
}

.search-close:hover {
  background: #fff;
  color: #000;
}

/******************************** 이벤트 ********************************/
#event-area {
  padding: 100px 0;
}

#event-content {
  max-width: 100%;
  padding: 0 50px;
  margin: 0 auto;
  min-height: 80vh;
  overflow: hidden;
}

h2 {
  font-size: 30px;
  font-weight: 600;
  text-align: left;
  line-height: 1;
  padding-bottom: 10px;
}

.event-img {
  margin-top: 22px;
}

.event-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  text-align: left;
}

.event-list li {
  position: relative;
}

.thumbnail {
  margin-bottom: 5px;
}

.description {
  font-size: 18px;
  font-weight: 200;
}

/******************************** 미디어쿼리 ********************************/
@media (max-width: 1024px) {
  #event-area {
    padding: 80px 0;
  }

  .event-list {
    gap: 5px;
    grid-template-columns: repeat(3, 1fr);
  }
  .description {
    font-size: 14px;
  }
}

@media (max-width: 750px) {
  #event-content {
    padding: 0 20px;
  }

  h2 {
    font-size: 20px;
  }

  .event-list {
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }
  .description {
    font-size: 12px;
  }
}

/******************************** 하단 ********************************/
.footer {
  display: block;
  position: relative;
  height: auto;
}

.footer-group {
  position: relative;
  border-top: 1px solid #000;
  margin: 0 20px;
  padding: 100px 0 40px;
}

/* strong */
.title {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}

/* company */
.company {
  position: relative;
  display: flex;
  flex-direction: column;
  word-break: keep-all;
}

.company p {
  font-size: 12px;
  line-height: 1.5;
}

/* customer */
.customer {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 50px;
}

.customer-list {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  gap: 10px;
}

/* info */
.info {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
}

.info-list {
  font-size: 12px;
  line-height: 1.4;
}

/* infinite */
.infinite {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.infinite-area {
  display: flex;
  font-size: 5vw;
  width: max-content;
  animation: infinite-ani 50s linear infinite;
}

@keyframes infinite-ani {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.infinite-area span {
  font-weight: bold;
  line-height: 1;
}
