/* popup */
.pc {
  display: block;
}

.mobile {
  display: none;
}

.layer-popup {
  /* position: absolute; */
  z-index: 9999;
  background-color: #fff;
  box-shadow: 2px 3px 10px #555;
  border-radius: 10px;
  height: auto !important;
}

.layer-popup:nth-child(1) {
  left: 0;
}

.layer-popup img {
  width: 100%;
  height: auto !important;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.layer-popup .show-chk-wrap {
  display: flex;
  padding: 6px 10px;
  box-sizing: border-box;
  justify-content: space-between;
  align-items: center;
}

.show-chk-div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.layer-popup .show-chk-wrap a {
  font-size: 16px;
  color: #505050;
  cursor: pointer;
}

.layer-popup .show-chk-wrap a:hover {
  color: #222;
  font-weight: 600;
  transition: 0.3s;
}

.close-popup {
  box-sizing: border-box;
  padding: 4px 12px;
  border: 1px solid #999;
  border-radius: 4px;
}

.close-popup:hover {
  border: 1px solid #505050; 
  background-color:#505050; 
  color: #fff !important;
  transition: 0.3s;
}

.popup-space {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 5%;
  left: 5%;
  gap: 10px;
  align-items: start;
  z-index: 100;
}


/* main */
#main {
  width: 100%;
  flex-direction: column;
}

.main-container {
  width: 100%;
  position: relative;
  display: flex;
}

.main-tit-div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 19%;
  transform: translateX(-50%);
}

.main-tit {
  color: #D2EADF;
  font-family: Montserrat;
  font-size: 64px;
  font-weight: 900;
  line-height: 130%; /* 83.2px */
  text-align: center;
  white-space: nowrap;
}

.main-tit .line-txt {
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: #d2eadf;
  color: #00754A;
  paint-order: stroke fill;
}

.text--slide .char {
  display: inline-block;
  transition: all 0.6s ease;
  transition-delay: calc(0.05s + var(--char-index) * 0.05s);
}

.text--slide[data-scroll="out"] .char {
  opacity: 0;
  transform: translateX(-100px);
}

.text--slide[data-scroll="in"] .char {
  opacity: 1;
  transform: translateX(0);
}

.main-tit-div p {
  color: #FFF;
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%; /* 28px */
  opacity: 0.8;
}

.main-wrap {
  width: 25%;
  height: 100%;
  padding-top: 510px;
  padding-bottom: 50px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.main-wrap-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-wrap:hover .main-wrap-bg {
  transform: scale(1.05);
}

.main-img {
  width: 120%;
  z-index: 5;
  transform: translateX(15%);
}

.main-wrap:hover .main-img {
  transform: translateX(0);
}

.marquee-swiper-container {
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 0, 0, 0.40);
  background: #00754A;
  padding: 20px 0px;
}

.marquee-swiper-container .swiper-wrapper {
  transition-timing-function: linear;
  height: fit-content !important;
}

.marquee-swiper-container .swiper-slide {
  width: fit-content !important;
  height: fit-content !important;
}

.marquee-div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 28px;
  font-weight: 700;
  line-height: 130%; /* 36.4px */
  box-sizing: border-box;
  padding: 10px;
  border-radius: 8px;
  background: #026641;
}

.marquee-div img {
  width: 56px;
}

.marquee-div span {
  font-size: 24px;
  display: flex;
  box-sizing: border-box;
  padding: 4px 12px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 8px;
  background: #722323;
}


/* section2 */
#section2 {
  width: 100%;
  background: url(../img/main/st2-bg.png);
  background-size: cover !important;
  background-position: center !important;
}

.st2-container {
  width: 100%;
  background-color: #00754A;
  z-index: 5;
  position: relative;
  /* overflow: hidden; */
}

.st2-top {
  width: 100%;
  height: 125vh;
  position: sticky;
  top: 0;
  left: 0;
}

.st2-container .pinBx {
  width: 100%;
  /* height: calc(var(--vh, 1vh)* 100); */
  display: flex;
  flex-direction: column;
  /* gap: 80px; */
  align-items: center;
  justify-content: flex-end;
  gap: 80px;
  position: sticky;
  left: 0;
  top: 0;
  padding-top: 80px;
}

.st2-container .circleBx {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.st2-container .circle {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  clip-path: circle(18%);
  overflow: hidden;
}

.st2-container .pinBx .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url(../img/main/st2-bg.png);
  background-size: cover !important;
  background-position: center !important;
}

.st2-container .circle-txt {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  z-index: 5;
  position: relative;
}

.st2-img {
  width: 300px;
  margin-bottom: -50px;
}

.st2-sub-tit {
  color: #FCF8F4;
  text-align: center;
  font-family: Montserrat;
  font-size: 28px;
  font-weight: 500;
  line-height: 140%; /* 39.2px */
}

.st2-container .bottom {
  width: 100%;
  height: 180vh;
  position: relative;
  overflow: hidden;
}

.st2-top .bottom {
  display: none;
}

.st2-box {
  width: 100%;
  box-sizing: border-box;
  padding: 40px 30px;
  flex-direction: column;
  align-items: center;
  background: rgba(114, 35, 35, 0.80);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 5;
  position: relative;
}

.st2-box .st2-sub-tit {
  font-family: "Noto Sans KR";
}

.st2-box-sub {
  color: #FFF;
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 20px;
  line-height: 145%; /* 29px */
}

.thumbup {
  width: 197px;
  position: absolute;
  bottom: 0;
  right: 10%;
}

.st2-bottom {
  height: 20vh;
}


/* section3 */
#section3 {
  width: 100%;
  background: #E7EAE9;
  display: flex;
  box-sizing: border-box;
  padding: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.st3-inner {
  width: 100%;
  display: flex;
  box-sizing: border-box;
  padding: 80px 40px;
  align-items: flex-start;
  gap: 40px;
  border: 1px solid #00754A;
}

.st3-left {
  display: flex;
  width: 240px;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.st3-left>p {
  color: #00754A;
  font-family: Montserrat;
  font-size: 48px;
  font-weight: 900;
  line-height: 125%; /* 60px */
}

.tab-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.menu-tab {
  width: 100%;
  display: flex;
  box-sizing: border-box;
  padding: 16px;
  justify-content: center;
  align-items: center;
  border: 1px solid #00754A;
  color: rgba(0, 117, 74, 0.55);
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px; /* 111.111% */
  letter-spacing: -0.45px;
  cursor: pointer;
}

.menu-tab.active, .menu-tab:hover {
  color: #FFF;
  background: #00754A;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.08);
}

.menu-wrap {
  width: calc(100% - 280px);
  display: none;
  align-items: center;
  flex-wrap: wrap;
  border-left: 1px solid #00754A;
  border-top: 1px solid #00754A;
}

.menu-wrap.contain-active {
  display: flex !important;
}

.menu-box {
  width: 25%;
  display: flex;
  box-sizing: border-box;
  padding: 20px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  border-right: 1px solid #00754A;
  border-bottom: 1px solid #00754A;
}

.menu-box:hover {
  outline: 2px solid #C3FFA1;
  background: rgba(0, 117, 74, 0.80);
  animation: box-shadow 1s linear infinite;
}

@keyframes box-shadow {
  0% {
    box-shadow: 0px 0px 18px 0px #57D212;
  }
  50% {
    box-shadow: none;
  }
  100% {
    box-shadow: 0px 0px 18px 0px #57D212;
  }
}

.menu-box:hover img {
  transform: scale(1.25);
}

.menu-img-div {
  width: 100%;
  overflow: hidden;
  border-radius: 100%;
}

.menu-box img {
  width: 100%;
  border-radius: 100%;
}

.menu-box p {
  color: #222;
  text-align: center;
  font-family: "Noto Sans KR";
  font-size: 18px;
  line-height: 26px; /* 144.444% */
  letter-spacing: -0.36px;
  min-height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu-box:hover p {
  color: #FFF;
}


/* section4 */
#section4 {
  min-height: 100vh;
  position: relative;
  background: #E7EAE9;
}

.absolute {
  position: absolute;
  inset: 0;
}

.st4-fixed-wrapper {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.st4-back {
  background: url(../img/main/st4-bg.png);
  background-position: center center;
  background-size: cover;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.st4-back-bg {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  object-fit: cover;
}

.st4-tit-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  z-index: 5;
}

.st4-tit-div>div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.view-details {
  display: flex;
  width: 200px;
  box-sizing: border-box;
  padding: 16px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid #FFF;
  background: rgba(255, 255, 255, 0.10);
  color: #FFF;
  text-align: center;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 700;
  line-height: 20px; /* 111.111% */
  letter-spacing: -0.45px;
}

.view-details:hover {
  border: 1px solid #00754A;
  background: #D2EADF;
  color: #00754A;
}

.hello {
  width: 300px;
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
}

.st4-size-wrapper {
  width: 50%;
  margin-left: auto;
}

.st4-conts {
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-sizing: border-box;
  padding: 80px;
  align-items: center;
}

.interior-box {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.interior-box img {
  width: 100%;
}

.interior-box p {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #FFF;
  font-family: "Noto Sans KR";
  font-size: 24px;
  font-weight: 500;
  line-height: 125%; /* 30px */
  letter-spacing: -0.6px;
  box-sizing: border-box;
  padding: 15px;
  background: rgba(0, 0, 0, 0.30);
}


@media(max-width: 1400px) {
  .menu-box {
    width: 33.3%;
  }
}


@media (max-width: 1280px) {
  .main-tit {
    font-size: 56px;
    letter-spacing: -1.4px;
  }
  .main-tit-div p {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .main-wrap {
    padding-top: 440px;
  }
  .marquee-swiper-container {
    padding: 15px 0;
  }
  .marquee-div {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .marquee-div span {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .marquee-div img {
    width: 48px;
  }
  .st2-sub-tit {
    font-size: 24px;
    letter-spacing: -0.6px;
  }
  .st2-box-sub {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .thumbup {
    width: 165px;
    right: 5%;
  }
  #section3 {
    padding: 20px;
  }
  .st3-inner {
    padding: 60px 20px;
  }
  .menu-box p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.4px;
  }
  .st4-conts {
    padding: 80px 40px;
  }
  .view-details {
    width: 180px;
  }
  .interior-box p {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .hello {
    width: 250px;
  }
}

@media(max-width: 1024px) {
  .main-container {
    height: 100vh;
    margin-top: 65px;
    flex-direction: column;
  }
  .main-tit-div {
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .main-wrap {
    width: 100%;
    height: 25%;
    padding-top: 0;
    padding-bottom: 0;
  }
  .main-img {
    width: 50%;
    position: absolute;
    bottom: -40%;
    transform: none;
  }
  .main-wrap:nth-child(3) {
    justify-content: flex-end;
  }
  .main-wrap:nth-child(3) .main-img {
    right: -25%;
  }
  .main-wrap:nth-child(4) {
    justify-content: flex-start;
  }
  .main-wrap:nth-child(4) .main-img {
    left: -25%;
  }
  .thumbup {
    width: 155px;
    right: 3%;
  }
  .st3-inner {
    flex-direction: column;
    align-items: center;
  }
  .st3-left {
    width: 100%;
  }
  .st3-left>p {
    text-align: center;
  }
  .tab-wrap {
    flex-direction: row;
    gap: 10px;
    justify-content: center;
  }
  .menu-tab {
    width: 25%;
  }
  .menu-wrap {
    width: 100%;
    border: none;
    gap: 0px 15px;
  }
  .menu-box {
    width: calc(33.3% - 10px);
    border: none;
    padding: 0;
    aspect-ratio: 5 / 7;
    gap: 10px;
  }
  .menu-box:hover {
    outline: none;
    background: transparent;
    box-shadow: none;
  }
  .menu-box:hover p {
    color: #222;
  }
  .st4-fixed-wrapper {
    position: relative;
    height: 600px;
  }
  .st4-back-bg {
    display: inline-block;
  }
  .st4-size-wrapper {
    width: 100%;
  }
  .st4-conts {
    padding: 40px;
    gap: 15px;
  }
  .hello {
    width: 210px;
    bottom: -30px;
  }
}

@media(max-width: 900px) {
  .pc {
    display: none !important;
  }
  .mobile {
    display: block;
  }
  .layer-popup .show-chk-wrap {
    margin-top: 0;
  }
  .layer-popup .show-chk-wrap a {
    font-size: 14px;
    line-height: 20px; /* 142.857% */
    letter-spacing: -0.35px;
  }
  .layer-popup .show-chk-wrap .x-btn {
    padding: 0 15px;
  }
  .main-tit {
    font-size: 48px;
    letter-spacing: -1.2px;
  }
  .main-tit-div p {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .main-img {
    width: 60%;
  }
  .marquee-div {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .marquee-div span {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .marquee-div img {
    width: 42px;
  }
  .st2-img {
    margin-bottom: -80px;
  }
  .st2-sub-tit {
    font-size: 20px;
    letter-spacing: -0.5px;
  }
  .st2-box-sub {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
  .st3-left>p {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .menu-tab {
    font-size: 16px;
    letter-spacing: -0.4px;
    padding: 12px 10px;
  }
  .view-details {
    font-size: 16px;
    letter-spacing: -0.4px;
    padding: 12px 16px;
    width: auto;
  }
}

@media (max-width: 768px) {
  .layer-popup {
    position: fixed;
    top: 5%;
    left: 5%;
  }
  #section3 {
    padding: 16px;
  }
  .st3-inner {
    padding: 60px 10px;
  }
  .menu-box {
    width: calc(50% - 7.5px);
    aspect-ratio: 5 / 6.5;
  }
  .menu-box p {
    min-height: unset;
  }
  .st4-conts {
    padding: 40px 30px;
  }
}

@media(max-width: 700px) {
  .tab-wrap {
    width: 95%;
    flex-wrap: wrap;
  }
  .menu-tab {
    width: calc(50% - 5px);
  }
}

@media (max-width: 650px) {
  .main-container {
    margin-top: 50px;
  }
  .main-tit {
    font-size: 40px;
    letter-spacing: -1px;
  }
  .main-tit-div p {
    font-size: 14px;
    letter-spacing: -0.35px;
  }
  .main-img {
    width: 75%;
  }
  .marquee-swiper-container {
    padding: 10px 0;
  }
  .marquee-div {
    font-size: 16px;
    letter-spacing: -0.4px;
    padding: 5px;
    gap: 5px;
  }
  .marquee-div span {
    font-size: 14px;
    letter-spacing: -0.35px;
    padding: 2px 6px;
    border-radius: 4px;
  }
  .marquee-div img {
    width: 35px;
  }
  .st2-container .pinBx {
    gap: 60px;
  }
  .st2-img {
    width: 250px;
  }
  .st2-sub-tit {
    font-size: 18px;
    letter-spacing: -0.45px;
  }
  .st2-box {
    padding: 30px 16px;
  }
  .st2-box-sub {
    font-size: 14px;
    letter-spacing: -0.35px;
  }
  .thumbup {
    display: none;
  }
  .menu-box {
    aspect-ratio: 5 / 7;
  }
  .st4-fixed-wrapper {
    height: 500px;
  }
  .interior-box p {
    font-size: 18px;
    letter-spacing: -0.45px;
    padding: 10px;
  }
  .hello {
    width: 200px;
  }
}

@media (max-width: 480px) {
  .main-wrap:nth-child(3) .main-img {
    right: -45%;
  }
  .main-wrap:nth-child(4) .main-img {
    left: -35%;
  }
  .marquee-div {
    font-size: 14px;
    letter-spacing: -0.35px;
  }
  .marquee-div span {
    font-size: 12px;
    letter-spacing: -0.3px;
  }
  .marquee-div img {
    width: 30px;
  }
  .st2-container .main-tit, .st3-left>p, .st4-fixed-wrapper .main-tit {
    font-size: 32px;
    letter-spacing: -0.8px;
  }
  .st2-img {
    width: 200px;
  }
  .menu-box p {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.35px;
  }
  .st4-conts {
    padding: 40px 20px;
  }
  .interior-box p {
    font-size: 16px;
    letter-spacing: -0.4px;
  }
}

@media(max-width: 400px) {
  .st2-container .pinBx {
    gap: 40px;
  }
  .menu-box p {
    font-size: 13.187px;
    line-height: 19.78px; /* 150% */
    letter-spacing: -0.264px;
  }
}
