@charset "UTF-8";
:root {
  /* --vh: 100vh; */
}
.sub_top {
  position: relative;
  height: var(--vh);
  overflow: hidden;
}
.sub_top .sub_top_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  overflow: hidden;
}

.parallax-bg {
  height: 100vh;
}

.sub_top .parallax-content {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 각 서브 폴더별 배경 이미지 */
.sub_top_bg.intro {
  background-image: url("/img/sub_top/intro_top_bg.png");
}
.sub_top_bg.community {
  background-image: url("/img/sub_top/community_top_bg.png");
}
.sub_top_bg.clinic {
  background-image: url("/img/sub_top/clinic_top_bg.png");
}
.sub_top_bg.course {
  background-image: url("/img/sub_top/course_top_bg.jpg");
}

@media screen and (max-width: 960px) {
  .sub_top_bg.clinic {
    background-image: url("/img/sub_top/clinic_top_bg_m.png");
    background-position: 40% 50%;
  }
}

@media screen and (max-width: 500px) {
  .sub_top_bg.intro {
    background-image: url("/img/sub_top/intro_top_bg_mo.png");
  }
}

/* 서브탑의 메뉴 전체 넓이 */
.sub_top_w {
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding-right: 25%;
}
.sub_top_eng {
  letter-spacing: 5px;
  font-size: 18px;
  line-height: 20px;
  font-style: normal;
  font-weight: 400;
  font-family: "Noto Serif", serif;
}
.cataract {
  color: #ddbf9c;
}
.title_box > div {
  color: #ffa139;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.8px;
}
.title_box h2 {
  margin-top: 24px;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -2.4px;
}

.title_box [data-ani="fade-up"] {
  overflow: hidden;
}

.title_box [data-ani="fade-up"] span {
  display: inline-block;
  transform: translate(0, 50%);
  opacity: 0;

  animation: fadeUp 0.6s forwards;
}

.title_box [data-delay="500"] span {
  animation-delay: 0.4s;
}

@keyframes fadeUp {
  from {
    transform: translate(0, 60%);
    opacity: 0;
  }
  to {
    transform: translate(0, 0);
    opacity: 1;
  }
}

.sub_top_menu {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 32px;
}
.sub_top_menu li {
  position: relative;
}
.sub_top_menu li::after {
  content: "|";
  position: absolute;
  top: 50%;
  right: -16px;
  transform: translate(0, -50%);

  color: #bcbcbc;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.72px;
}

.sub_top_menu li:last-child::after {
  display: none;
}
.sub_top_menu li.on a {
  color: #ffa139;
}
.sub_top_menu li a {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  color: #bcbcbc;
  letter-spacing: -0.72px;

  padding: 6px;

  transition: color 0.25s;
}

.sub_top_menu li:not(.on) a:hover {
  color: #ffffff;
}

@media screen and (max-width: 1360px) {
  .sub_top_w {
    width: 95%;
  }

  .title_box h2 {
    margin-top: 12px;
    font-size: 50px;
    letter-spacing: -1.6px;
  }
}
@media screen and (max-width: 960px) {
}
@media screen and (max-width: 768px) {
  .sub_top_height {
    height: auto;
  }
  .sub_top_bg {
    padding: 350px 0;
    box-sizing: border-box;
  }
  .title_box h3 {
    font-size: 18px;
    letter-spacing: -0.72px;
  }
  .title_box h2 {
    margin-top: 12px;
    font-size: 40px;
    letter-spacing: -1.6px;
  }
  .sub_top_menu {
    margin-top: 12px;
    column-gap: 24px;
  }

  .sub_top_menu li::after {
    right: -12px;
  }
  .sub_top_menu li a {
    font-size: 14px;
    letter-spacing: -0.56px;
  }
  .sub_top_menu li::after {
    font-size: 14px;
  }
}

@media screen and (max-width: 500px) {
  .title_box > div {
    font-size: 18px;
  }

  .title_box h2 {
    font-size: 34px;
    margin-top: 10px;
  }

  .sub_top_menu {
  }
}
