@charset "utf-8";

/*
 * main.css
 * 메인영역 삽입 추가하시면됩니다. 아래 커스텀진행하세요.
 *
 * 1) main visual
 * 
 */

/* 1) main visual */
[data-mainVisual] {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  margin-top: -100rem;
}
[data-mainVisual] .visual-list {
  height: 100%;
}
/* text */
[data-visual="text"] {
  display: flex;
  flex-direction: column;
  gap: 25rem;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 5;
  max-width: 1400rem;
  width: 100%;
  box-sizing: content-box;
  padding: 0 20rem;
  color: #fff;
  transform: translate(-50%, -50%);
}
[data-visual="text"] strong {
  font-size: 18rem;
  color: #99bbff;
  font-weight: 500;
}
[data-visual="text"] em {
  font-size: 70rem;
  font-weight: 600;
}
[data-visual="text"] span {
  margin-top: 25rem;
  font-size: var(--fs35);
  line-height: 1.6;
  font-weight: 300;
}
[data-visual="text"] :is(strong, em, span) {
  opacity: 0;
  transform: translateY(30rem);
  transition: 1s ease 0s;
  transition-property: opacity, transform;
  word-break: keep-all;
}
/* img */
[data-visual="img"] {
  overflow: hidden;
  display: block;
  height: 100%;
}
[data-visual="img"] img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(1.1);
  transition: transform 7000ms linear;
}
/* active motion */
[data-visual="img"].motion__in img {
  transform: scale(1);
}
[data-visual="text"].motion__in :is(strong, em, span) {
  opacity: 1;
  transform: translateY(0rem);
}
[data-visual="text"].motion__in strong {
  transition-delay: 0.15s;
}
[data-visual="text"].motion__in em {
  transition-delay: 0.3s;
}
[data-visual="text"].motion__in span {
  transition-delay: 0.45s;
}
/* control */
[data-mainVisual] .swiper-page {
  --swiper-theme-color: #fff;
  --swiper-pagination-bullet-inactive-color: #eee;
  position: absolute;
  bottom: 50rem;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  width: auto;
}
[data-mainVisual] .swiper-control {
  display: flex;
  align-items: stretch;
  position: absolute;
  bottom: 30rem;
  right: 50rem;
  z-index: 10;
}
[data-mainVisual] button {
  --sizeWid: 60rem;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: var(--sizeWid);
  height: var(--sizeWid);
  background-color: transparent;
  transition: opacity 0.3s ease;
}
[data-mainVisual] button[class*="swiper_"] {
  color: #fff;
}
[data-mainVisual] button[class*="swiper_"] span {
  font-size: 0;
}
[data-mainVisual] button[class*="swiper_"] i {
  font-size: 25rem;
}
[data-mainVisual] button:hover {
  opacity: 1;
}

[data-mainVisual] [data-visual="overley"] {
  /* content: ""; */
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.20211834733893552) 0%,
    rgba(0, 0, 0, 0.7035189075630253) 100%
  );
}
@media (max-width: 1440px) {
  /* text */
  [data-visual="text"] {
    box-sizing: border-box;
  }
}
@media (max-width: 1024px) {
  /* text */
  [data-visual="text"] em {
    font-size: clamp(50rem, 6.836vw, 70rem);
  }
  [data-mainVisual] {
    margin-top: -60rem;
  }
}
@media (max-width: 768px) {
  /* control */
  [data-mainVisual] .swiper-control {
    right: 10rem;
  }
}
@media (max-width: 480px) {
  /* text */
  [data-visual="text"] strong {
    font-size: 16rem;
  }
  [data-visual="text"] em {
    font-size: 40rem;
  }
  [data-visual="text"] span {
    font-size: 18rem;
  }
  /* control */
  [data-mainVisual] .swiper-page {
    bottom: 30rem;
    left: 10rem;
    transform: translateX(0);
  }
  [data-mainVisual] .swiper-control {
    bottom: 15rem;
  }
  [data-mainVisual] button {
    --sizeWid: 50rem;
  }
  [data-mainVisual] button[class*="swiper_"] i {
    font-size: 20rem;
  }
}

/* main - 메인 게시판 샘플 삭제하시면 됩니다. */
.notice-sample {
  max-width: 1600rem;
  margin: 0 auto;
}
.notice-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30rem;
}
.notice-list .img {
  display: block;
  aspect-ratio: 1/1;
}
.notice-list .img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.notice-list strong {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.notice-list p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.notice-list .date {
  display: block;
}

[data-visual="text"] {
  text-align: center;
}
[data-mainVisual] .swiper {
  --swiper-pagination-bullet-horizontal-gap: 20rem;
  --swiper-pagination-bullet-inactive-color: #fff;
}
[data-mainVisual] .swiper-pagination-bullet {
  background: var(--swiper-pagination-bullet-inactive-color, #fff);
  opacity: 1;
}

[data-mainVisual] .swiper-page {
  position: static;
  transform: none;
  display: flex;
  align-items: center;
}
[data-mainVisual] .swiper-pagination-bullet-active {
  background-color: transparent;
  border: 1px solid #fff;
  transform: scale(1.8);
  transform-origin: center;
}

[data-mainVisual] .scroll-icon {
  position: absolute;
  bottom: 50rem;
  left: 50rem;
  display: flex;
  flex-direction: column;
  gap: 12rem;
  color: var(--color-white);
  z-index: 99;
  font-weight: 300;
  font-size: 14rem;
  align-items: center;
}
[data-mainVisual] .scroll-icon p {
  writing-mode: sideways-rl;
}
[data-mainVisual] .swiper-slide .grid-style {
  display: grid;
  grid-template-columns: repeat(2, 50svw);
  grid-template-rows: repeat(2, 50svh);
}
/* [data-mainVisual] .swiper-slide .grid-style figure img {transition: none;} */
@media (max-width: 1024px) {
  [data-mainVisual] .scroll-icon {
    left: 40rem;
    bottom: 40rem;
  }
}
@media (max-width: 767px) {
  [data-mainVisual] .scroll-icon {
    left: 20rem;
    bottom: 20rem;
  }
}

.event-result {
  margin-top: 130rem;
  position: relative;
  overflow: hidden;
  .inr {
    display: grid;
    grid-template-columns: 490rem auto;
    gap: 50rem;
  }

  .result-info {
    display: flex;
    flex-direction: column;
    gap: 50rem;
    justify-content: center;
    color: var(--color-white);
    position: relative;
    padding-block: 50rem;
    .btn-circle {
      margin-top: 50rem;
      background-color: var(--color-white);
      width: 62rem;
      aspect-ratio: 1;
      border-radius: 50%;
      display: grid;
      place-items: center;

      i {
        color: var(--text-black);
      }
    }
    h4 {
      font-size: 16rem;
      font-weight: 400;
      text-transform: uppercase;
    }
    h3 {
      font-size: 45rem;
    }
    .bg-result {
      position: absolute;
      top: 0;
      right: 0;
      z-index: -1;
    }
    .bg-result > img {
      background-color: #0d0e14;
      width: 650rem;
    }
  }
  .result-lists {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20rem;

    li > a {
      background-color: #f5f5f5;
      border: 1px solid #e5e5e5;
      padding: 45rem 35rem;
      display: flex;
      flex-direction: column;
      gap: 15rem;
      height: 100%;
      transition: all var(--trans-ani);
    }
    em {
      background-color: var(--color-point);
      color: var(--color-white);
      width: 76rem;
      height: 32rem;
      display: grid;
      place-items: center;
      transition: all var(--trans-ani);
    }
    h4 {
      font-size: 18rem;
      line-height: 1.4;
    }
    p {
      font-size: 16rem;
    }
    article {
      display: flex;
      flex-direction: column;
      gap: 10rem;
    }
    article > div {
      display: flex;
    }
    article b {
      flex-basis: 6ch;
    }
    article i {
      flex: 1;
    }

    @media (hover: hover) {
      li > a:hover {
        background-color: var(--color-point);
        color: var(--color-white);
      }
      li > a:hover em {
        background-color: var(--color-white);
        color: var(--color-point);
      }
    }
  }

  @media (max-width: 1080px) {
    .inr {
      grid-template-columns: 1fr;
      gap: 20rem;
    }
    .result-lists {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .result-info {
      padding-block: 35rem;
      gap: 35rem;
      overflow: hidden;
      align-items: center;
      background-image: url(/images/main/event-result.jpg);
      background-position: center;
      background-size: cover;
      background-repeat: no-repeat;
      background-color: #0d0e14;
      h4 {
        font-size: 15rem;
      }
      h3 {
        font-size: 35rem;
      }
      p {
        text-align: center;
        line-height: 1.7;
      }
      .btn-circle {
        margin-top: 0;
      }
    }
    .bg-result {
      display: none;
      visibility: hidden;
    }
  }
  @media (max-width: 767px) {
    margin-top: 50rem;

    .result-info {
      padding-block: 35rem;
    }

    .result-lists {
      gap: 15rem;
      li > a {
        padding: 20rem 20rem;
        font-size: 14rem;
        gap: 12rem;
      }
      article > div {
        flex-direction: column;
      }
      article b {
        flex-basis: auto;
      }
      h4 {
        font-size: 15rem;
      }
      p {
        font-size: inherit;
      }
      em {
        font-size: 12rem;
      }
    }
  }
}

.event-photo {
  margin-top: 100rem;
  padding-bottom: 120rem;
  .sect-title {
    text-align: center;
    padding-block: 0 50rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25rem;
  }
  .sect-title h4 {
    font-size: 45rem;
  }
  .sect-title p {
    font-size: 18rem;
  }

  .swiper {
    width: 100%;
    height: 100%;
    --swiper-pagination-bullet-horizontal-gap: 8rem;
    --swiper-pagination-bullet-inactive-color: rgba(0, 0, 0, 0.5);
    --swiper-pagination-bullet-width: 7rem;
    --swiper-pagination-bullet-size: 7rem;
  }
  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper-slide img {
    display: block;
    width: 100%;
    aspect-ratio: 511 / 330;
    object-fit: cover;
  }
  .swiper-slide figcaption {
    text-align: start;
    padding-block: 25rem;
    font-weight: 500;
  }
  .swiper-pagination {
    position: static;
    margin-top: 30rem;
  }
  .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--color-white);
    border: 1rem solid var(--color-point);
    scale: 2.1;
  }
  .swiper-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    right: 0;
    left: 0;
  }
  .square-button-next,
  .square-button-prev {
    background-color: #fff;
    color: #aeaeae;
    border: 1px solid #ddd;
    width: 58rem;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    &:hover {
      border-color: #333333;
      color: #111111;
    }
    &:hover i {
      font-weight: 500;
      transition: all 0.3s ease-in-out;
    }
  }

  @media (max-width: 767px) {
    margin-top: 60rem;
    padding-bottom: 60rem;

    .sect-title {
      text-align: left;
      padding-block: 0 15rem;
      gap: 10rem;
    }
    .sect-title h4 {
      font-size: 35rem;
    }
    .sect-title p {
      font-size: 16rem;
    }

    .swiper-nav {
      bottom: auto;
      top: 0;
      transform: translateY(5rem);
      justify-content: flex-end;
    }
    .swiper-pagination {
      margin-top: 0;
    }
    .square-button-next,
    .square-button-prev {
      width: 38rem;
    }
  }
}

.ko_board_list[data-type="A"] li a img {
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.ko_board_list[data-type="A"] li a:hover img {
  border: 2px solid yellow;
}

.info-row[data-board="detail"] img {
  display: none;
  visibility: hidden;
}

.info-item .info-row strong {
  position: relative;
  min-width: 80px;
}

.info-item .info-row strong:after {
  content: ":";
  position: absolute;
  right: 0;
}
