* {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "Pretendard", sans-serif; /* 기본 폰트는 Pretendard */
}

.english {
  font-family: "Playfair Display", serif; /* 영어 전용 폰트 */
}

.korean {
  font-family: "Pretendard", sans-serif; /* 한글 전용 폰트 */
}

img,
video {
  vertical-align: top;
}

#fullpage {
  height: 100%;
}

.wrap {
  width: 100%;
  position: relative;
  height: auto;
  min-width: 340px;
  background-image: url(../img/02_about_main.png);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명 검정색 */
  background-blend-mode: darken; /* 혼합 모드 적용 */
}

.imageWrap {
  position: relative;
  width: 100%;
  height: 100vh;
}

.rending {
  width: 100%;
  position: relative;

  height: calc(100vh - 125px);
  display: flex;
  flex-direction: column;
  overflow-y: scroll; /* 세로 스크롤 추가 */
  overflow-x: hidden;
}

.aboutTextBox {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.aboutTextBox > .pcText,
.aboutTextBox > .mobileText {
  position: absolute;
  font-weight: lighter;
  color: white;
  font-size: 0.9em;
  line-height: 1.8em;
  left: 10%;
  display: flex;
}

.aboutTextBox > .mobileText {
  display: none;
}

.aboutTextBox > h1 {
  position: absolute;
  font-size: 2.5em;
  font-weight: 400;
  color: white;
  left: 10%;
}

.aboutTextBox > h1:nth-of-type(1) {
  top: 25%;
}

.aboutTextBox > h1:nth-of-type(2) {
  top: 60%;
}

.pcText1 {
  top: 33%;
}

.pcText2 {
  top: 45%;
}

.pcText3 {
  top: 68%;
}

.pcText4 {
  top: 77%;
  font-weight: 400;
}

.textBox {
  width: 100%;
  height: 100%;

  width: 100%;
  position: relative;
}

.textBoxSideBox {
  position: absolute;
  color: white;
  writing-mode: vertical-rl; /* 세로로 텍스트 표시 */
  width: fit-content;
  white-space: nowrap; /* 줄 바꿈 방지 */
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 1%;
  transform: translateY(-50%) rotate(180deg);
  letter-spacing: 1px;
  font-size: 0.7em;
}

.rendingTopBar {
  width: calc(100% - 40px);

  height: 80px;
  position: fixed;
  display: flex;
  left: 50%;
  transform: translateX(-50%);
  border-bottom: 1px solid rgb(226, 226, 226);
  z-index: 1000;
}

.blankBox {
  width: calc(100% / 3);
  height: 100%;
  z-index: 20;
}

.mobileLogoBox {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.mobileLogoBox > a {
  display: block;
  width: 25px;
  height: 25px;
}

.mobileLogoBox > a > img {
  width: 100%;
  height: 100%;
}

.searchBarWrap {
  width: calc(100% / 3);
  height: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  z-index: 20;
}

.menuBar {
  width: calc(100% / 3);
  height: 100%;
  z-index: 20;
  display: flex;
}

.menuBar > ul {
  width: 100%;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: end;
}

.menuBar > ul.mobile {
  display: none;
}

.menuBar > ul.pc {
  display: flex;
  align-items: end;
}

.menuBar > ul > li {
  padding: 0 2em;
  height: calc(80px / 3);
  display: flex;
  align-items: end;
  justify-content: center;
}

.menuBar > ul > li:first-child {
  justify-content: center;
  display: none;
}

.menuBar > ul > li:nth-child(2) {
  display: flex;
  justify-content: center;
}

.menuBar > ul > li:nth-child(3) {
  position: relative;
}

.menuBar > ul > li:last-child {
  height: 80px;
  padding: 0;
  align-items: start;
}

.menuBar > ul > li > a,
.menuBar > ul > li > i {
  font-size: 0.8em;
  color: white;
}

.menuBar > ul > li > a {
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.menuBar > ul > li > i {
  cursor: pointer;
}

.searchIcon {
  display: none;
}

.searchIcon2 {
  display: none;
}

.subMenuContainer {
  position: fixed; /* 화면에 고정 */
  top: 81px; /* rendingTopBar의 높이만큼 떨어뜨림 (필요에 따라 조정) */
  left: 0; /* 왼쪽 정렬 */
  width: calc(100vw - 40px);
  height: 144px;
  background: rgba(255, 255, 255, 0.374);
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.subMenu {
  position: absolute;
  top: 28px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 0.5em 0;
}

.menuBar > ul > li:hover > .subMenuContainer {
  opacity: 1;
  visibility: visible;
  justify-content: center; /* 가운데 정렬 */
}

.menuBar > ul > li:hover > .subMenu {
  opacity: 1;
  visibility: visible;
}

.subMenu > li {
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subMenu > li > a {
  font-size: 0.8em;
}

.logoBox {
  width: 50px;
  height: 50px;
  margin-top: 1em;
  z-index: 20;
}

.logoBox > a {
  display: flex;
  align-items: start;
  width: 100%;
  height: 100%;
}

.logoBox img {
  width: 100%;
}

.imgBox {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.imgBox > a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.imgBox img {
  max-width: 100%;
  min-width: 100%;
  width: 100%;
  min-height: 100vh;
  object-fit: cover;
}

.imgBoxTextBox {
  position: absolute;
  top: 20%;
  left: 2em;
  display: flex;
  width: 100%;
}

.imgBoxTextBox p {
  color: white;
  width: 50%;
}

footer {
  width: 100%;
  overflow: hidden;
}

.footerContentsWrap {
  max-width: 100%;

  margin: 0 auto;
  padding: 0 20px;
}

.footerContents {
  width: 100%;
  height: 100%;
  display: flex;
  border-top: 1px solid rgb(226, 226, 226);
}

.footerRightBox {
  width: 70%;
  height: 100%;
  /* border-top: 1px solid rgb(226, 226, 226); */
  display: flex;
  flex-direction: column;
}

.rightMiddleBox,
.rightBottomBox {
  width: 100%;

  display: flex;
  align-items: start;
  justify-content: center;
  flex-direction: column;
  /* color: rgb(165, 165, 165); */
  color: white;
  font-size: 0.8em;
}

.rightMiddleBox {
  margin: 1em 0;
}

.rightBottomBox > p:last-child {
  margin: 1em 0;
}

.rightTopBox {
  margin-top: 3em;
  height: 50px;
}

.kakaoText {
  cursor: pointer;
  color: black;
}

.rightMiddleBox > p:first-child {
  margin-bottom: 0.3em;
}

.footerLeftBox {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  font-size: 0.8em;
  color: rgb(165, 165, 165);
}

.leftTopBox {
  width: 100%;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: end;
}

.leftTopBox a {
  display: block;
  width: 30px;
  height: 30px;
}

.leftTopBox img {
  width: 30px;
}

.leftMiddleBox {
  width: 100%;
  height: 50px;
}

.leftBottomBox {
  width: 100%;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: end;
}

.leftBottomBox p {
  font-size: 1em;
  color: black;
  font-weight: lighter;
  text-align: end;
}

.mobile {
  display: none;
}

.pc {
  display: block;
}

.mobileMenuBar {
  width: 180px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.299);
  position: fixed;
  top: 0;
  right: -180px;
  z-index: 3000;
  transition: all 0.3s;
  backdrop-filter: blur(3px);
  overflow: hidden;
}

.mobileMenuBar.active {
  right: 0;
}

.mobileMenuBtnBox {
  position: relative;
  height: 50px;
  top: 10px;
}

.mobileMenuCancleBtn {
  position: absolute;
  top: 60%;
  transform: translatey(-50%);
  right: 17px;
  color: white;
  display: none;
  cursor: pointer;
}

.mobileMenuBar > ul {
  width: 100%;
  height: 100%;
  z-index: 3000;
  position: relative;
  top: 20px;
}

.mobileMenuBar > ul > li {
  padding: 1em 2em;
}

.mobileMenuBar > ul > li > a {
  color: white;
}

.mobileSubMenu {
  height: 0;
  overflow: hidden;
  transition: all 0.5s ease;
}

.mobileSubMenu > li {
  margin-left: 0.5em;
  margin-top: 0.5em;
}

.mobileSubMenu > li > a {
  color: white;
  font-size: 0.8em;
}

.bottomBtnBox {
  width: 50px;
  height: 165px;
  bottom: 10px;
  right: 1.2em;
  position: fixed;
  z-index: 2000;
}

.btnBox {
  width: 100%;
  height: 100%;
  display: flex;
  top: 0;
  left: 0;
  align-items: center;
  position: absolute;
  z-index: 20;
}

.kakaoBtn,
.instaBtn {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 2px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 20;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgb(134, 134, 134);
}

.kakaoBtn {
  top: 50%;
}

.instaBtn {
  top: 85%;
}

.kakaoBtn a,
.instaBtn a {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: black;
  background-color: white;
  font-size: 0.8em;
}

/* 모바일 */
@media (max-width: 767px) {
  /* 모바일 스타일 */

  .wrap {
    max-width: 767px;
    overflow: hidden;
  }

  .rending {
    height: calc(100vh - 125px);
  }

  .rendingTopBar {
    max-width: 767px;
    top: 0;
  }

  .mobileLogoBox {
    display: flex;
    position: relative;
  }

  .mobileLogoBox > a {
    position: absolute;
    left: 15%;
    top: 50%;
    transform: translateY(-50%);
  }

  .menuBar > ul:first-child {
    display: none;
  }

  .menuBar > ul:last-child {
    display: flex;
  }

  .menuBar > ul:last-child > li {
    padding: 0 1em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menuBar > ul:last-child > li:first-child {
    display: none;
  }

  .menuBar > ul:last-child > li > i {
    color: white;
    cursor: pointer;
  }

  .mobile .textBox {
    margin-top: 3em;
    z-index: 20;
  }

  .textBox {
    max-width: 767px;
    height: 100vh;
    position: relative;
  }

  .textBoxSideBox {
    left: 2.3%;
  }

  .aboutTextBox .mobileText {
    display: block;
    line-height: 1.5em;
  }

  .aboutTextBox > h1:nth-of-type(1) {
    top: 20%;
  }

  .mobileText1 {
    top: 30%;
  }

  .mobileText2 {
    top: 52%;
  }

  .aboutTextBox > h1:nth-of-type(2) {
    top: 70%;
  }

  .mobileText3 {
    top: 80%;
  }

  .aboutTextBox > .pcText {
    display: none;
  }

  .mobileMenuCancleBtn {
    right: 34px;
    top: 30px;
  }

  footer {
    max-width: 767px;
  }

  .footerContentsWrap {
    max-width: 767px;
    padding: 0 10px;
  }

  .footerContents {
    width: 100%;
  }

  .footerRightBox {
    /* position: absolute; */
    flex-grow: 3;
  }

  .rightTopBox {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
  }

  .kakaoText {
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .leftTopBox {
    margin-top: 0em;
  }

  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .footerLeftBox {
    flex-shrink: 0;

    position: absolute;
    right: 10px;
    width: 30px;
    margin-right: 0;
    display: none;
  }

  .rightMiddleBox p {
    margin-bottom: 0.3em;
  }

  .leftBottomBox > p {
    font-size: 0.6em;
    position: absolute;
    bottom: 24px;
  }
}
