@charset "utf-8";

#home_m_mainSlide {
  width: 100%;
  height: 100vh;
}

.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(50%); /* 밝기를 50%로 줄여 어둡게 */
}

.home_m_mainSlide_titleDiv {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  align-items: start;
  justify-content: center;
  padding: 0 20px;
  z-index: 10;
  transform: translate(-50%, 0);
}

.swiper-pagination {
  position: static;
  width: 100%;
  text-align: left;
  display: flex;
  gap: 8px;
}

.swiper-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background-color: #fff;
  opacity: 0.3;
}

.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0px 0px;
}

.swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  opacity: 1;
}

#home_m_mainSlide_title {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #fff;
}

#home_m_mainSlide_title > h1 {
  font-size: 36px;
  font-weight: 600;
}

#home_m_mainSlide_title > p {
  font-size: 16px;
  font-weight: 600;
}

.home_m_mainSlide_scrollDown {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  bottom: 50px;
  z-index: 10;
  align-items: center;
  transform: translate(-50%, 0%);
  left: 50%;
  animation: moveUpDown 2s ease-in-out infinite;
}

@keyframes moveUpDown {
  0% {
    transform: translate(-50%, 0); /* 시작 위치 */
  }
  50% {
    transform: translate(-50%, 14px); /* 아래로 이동 */
  }
  100% {
    transform: translate(-50%, 0); /* 다시 원래 위치로 돌아옴 */
  }
}

.home_m_mainSlide_scrollDown p {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

/* 사업안내 */
#home_m_biz {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 80px;
  margin: 80px auto;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.home_m_biz_top {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.home_m_biz_top .home_m_biz_top_title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.home_m_biz_top .home_m_biz_top_title h2 {
  color: #333;
  font-weight: 700;
  font-size: 32px;
}

.home_m_biz_top .home_m_biz_top_subtitle {
  color: #333;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

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

.home_m_biz_grid_itemBox:hover .home_m_biz_body_bg {
  opacity: 1;
  transform: scale(1.1);
}

.home_m_biz_grid_container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 4개의 열 */
  grid-template-rows: repeat(2, 1fr); /* 2개의 행 */
}

.home_m_biz_grid_item {
  width: 100%;
  aspect-ratio: 160/100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  position: relative;
  box-shadow: 0 0 0 0.2px #fff; /* 0.5px 두께의 그림자 효과 */
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.home_m_biz_grid_item > .grid_item_title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  position: absolute;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.5s ease;
}

.home_m_biz_grid_item_bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

/* news */
#home_m_news {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

.home_m_news_title {
  color: #333;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}
.home_m_news_contents {
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  padding: 0 20px;
}

.home_m_news_container {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
  flex: 1;
}
.home_m_news_tab_bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.home_m_news_tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.home_m_news_tabs div {
  font-size: 16px;
  font-weight: 500;
  color: #565656;
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.home_m_news_tabs div:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.news_m_tab.active {
  background-color: #f9c041;
  color: #fff;
  font-weight: 600;
}

.news_m_tab.active:hover {
  background-color: #f9c041;
}

.lt_more {
  font-size: 24px;
  color: #cecece;
  font-weight: 500;
}

.home_m_news_body {
  width: 100%;
  padding: 20px 0;
  border-top: 1px solid #cecece;
}

.latest_wr {
  display: none;
}

.latest_wr.active {
  display: block;
  animation: slideIn 0.6s ease;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.home_m_news_calender {
  width: 100%;
  overflow: hidden;
}

/* ReferenceRoom */
#home_m_referenceRoom {
  width: 100%;
  background-color: #fcf8ef;
  padding: 80px 0;
}

.home_m_referenceRoom_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 20px;
}

.home_m_referenceRoom_title {
  color: #333;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
}

.home_m_referenceRoom_slide {
  width: 100%;
  position: relative;
}

.home_m_referenceRoom_button {
  font-size: 16px;
  font-weight: 600;
  color: #383838;
  border: 1px solid #dadada;
  border-radius: 50px;
  background: none;
  padding: 18px 60px;
  transition: all 0.2s ease;
}

.home_m_referenceRoom_button:hover {
  color: #fff;
  border: none;
  border: 1px solid #582079;
  background: #582079;
}

/* Help Center */
#home_m_help {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 80px 0;
  align-items: center;
}

.home_m_help_title {
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

.home_m_help_menus {
  display: flex;
  flex-direction: column;
  gap: 60px;
  width: 100%;
}

.home_m_help_menuItem {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  flex: 1;
}
.home_m_help_menuItemTop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.home_m_help_menuItem_icon {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.home_m_help_menuItem_icon::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: #fcf8ef;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 1s ease;
}

.home_m_help_menuItem_icon > img {
  width: 80px;
  height: 80px;
}

.home_m_help_menuItem_text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home_m_help_menuItem_text > h5 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-align: center;
}

.home_m_help_menuItem_text > p {
  font-size: 15px;
  font-weight: 500;
  color: #848484;
  text-align: center;
}

.home_m_help_menuItem_moreBtn {
  font-size: 16px;
  font-weight: 600;
  color: #383838;
  border: 1px solid #dadada;
  border-radius: 50px;
  background: none;
  padding: 18px 60px;
  transition: all 0.2s ease;
  opacity: 1;
}

/* Spon */
#home_m_spon {
  width: 100%;
  display: flex;
}

.home_m_spon_section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 40px 20px;
  text-align: center;
}

.home_m_spon_section.home_m_spon_left {
  align-items: end;
  color: #fff;
  align-items: center;
  background-color: #602278;
}
.home_m_spon_section.home_m_spon_right {
  align-items: start;
  color: #333;
  align-items: center;
  background-color: #f9c041;
}

.home_m_spon_text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.home_m_spon_text > h3 {
  font-size: 18px;
  font-weight: 700;
}

.home_m_spon_text > p {
  font-size: 12px;
  font-weight: 500;
}

.home_m_spon_button {
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  background: none;
  padding: 18px 60px;
  transition: all 0.2s ease;
}

.home_m_spon_button.left {
  color: #fff;
  border: 1px solid #fff;
}

.home_m_spon_button.right {
  color: #4c4c4c;
  border: 1px solid #4c4c4c;
}

/* Company */

#home_m_company {
  width: 100%;
  padding: 24px 0;
  background-color: #fff;
}

.home_m_wrap {
  display: flex;
  overflow: hidden;
}

.home_m_wrap .rolling-list {
  padding-right: 100px;
}
.home_m_wrap .rolling-list ul {
  padding: 0px;
  display: flex;
  gap: 30px;
}
.home_m_wrap .rolling-list ul li {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.home_m_wrap .rolling-list ul li a img {
  height: 30px;
}

.rolling-list.original {
  animation: rollingleft1 70s linear infinite;
}
.rolling-list.clone {
  animation: rollingleft2 70s linear infinite;
}

@keyframes rollingleft1 {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-100%);
  }
  50.01% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes rollingleft2 {
  0% {
    transition: translateX(0);
  }
  100% {
    transform: translateX(-200%);
  }
}
