/* 메인 공통 */
.main_section {
  padding: 150px 0;
}

.main_section .main_title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 50px;
}

.main_section .main_title h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.more_button {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

@media screen and (max-width: 1024px) {
  .main_section {
    padding: 100px 0;
  }

  .main_section .main_title h2 {
    font-size: 2rem;
  }
}

@media screen and (max-width: 512px) {
  .main_section {
    padding: 80px 0;
  }

  .main_section .main_title h2 {
    font-size: 1.75rem;
  }
}

/* 메인 슬라이드 */

.main_visual {
  height: 720px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.main_visual .si_inner,
.main_visual .slide_txt {
  height: 100%;
}

.main_visual .slide_txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 30px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.main_visual .swiper-slide-active .slide_txt {
  opacity: 1;
  transform: translateY(0);
}

.main_visual .slide_txt span {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.main_visual .slide_txt h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3em;
}

.main_visual .slide_txt h2 strong {
  color: var(--color-primary);
}

.main_visual .slide_txt p {
  font-size: 1.5rem;
  font-weight: 400;
}

.main_next {
  background: url(/img/icon/right_arrow.png) no-repeat center / cover;
  width: 56px;
  height: 56px;
  right: 50px;
}

.main_prev {
  background: url(/img/icon/left_arrow.png) no-repeat center / cover;
  width: 56px;
  height: 56px;
  left: 50px;
}

.main_page_box {
  left: 50%;
  transform: translateX(-50%);
  bottom: 38px;
  width: 95px;
  height: 40px;
  line-height: 40px;
  position: absolute;
  z-index: 15;
  display: flex;
  align-items: center;
}

.main_page_box .num_box {
  height: 100%;
  width: 100%;
  position: relative;
}

.main_page_box .mv_more_box {
  height: 100%;
  margin-right: 10px;
}

.swiper-pagination.page_num {
  position: unset;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.swiper-pagination.page_num span {
  display: block;
  color: #fff;
  font-size: 1.063rem;
  font-weight: 700;
}

.swiper-pagination.page_num span.mainLine {
  width: 1px;
  height: 8px;
  background: rgba(255, 255, 255, 0.45);
}

.swiper-pagination.page_num .swiper-pagination-current {
  margin-right: 12px;
}

.swiper-pagination.page_num .swiper-pagination-total {
  margin-left: 12px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}

@media screen and (max-width: 1600px) {
  .main_visual_arrow {
    display: none;
  }

  .main_visual .slide_txt h2 {
    font-size: 2rem;
  }

  .main_visual .slide_txt p {
    font-size: 1.25rem;
  }

  .main_visual .slide_txt {
    row-gap: 20px;
  }

  .main_product .product_slide .product_amount > div {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 512px) {
  .main_visual {
    height: 750px;
  }

  .main_visual li {
    background-position: center;
  }

  .main_visual li::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 80%);
    z-index: -1;
  }

  .main_visual .slide_txt {
    justify-content: flex-end;
    padding-bottom: 120px;
    color: #fff;
  }

  .main_visual .slide_txt h2 {
    font-size: 1.5rem;
    word-break: keep-all;
  }

  .main_visual .slide_txt h2 strong,
  .main_visual .slide_txt span {
    color: #00edbc;
  }

  .main_visual .slide_txt p {
    font-size: 1rem;
  }

  .main_page_box {
    height: 35px;
  }
}

/* 메인 상품 리스트 */
.main_product .product_slide li figure {
  border-radius: 20px;
  overflow: hidden;
}

.main_product .product_slide .product_badges {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.main_product .product_slide .product_badges .badge {
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1rem;
}

.main_product .product_slide .product_badges .badge.badge_new {
  background: #ff5555;
  color: #fff;
}

.main_product .product_slide .product_badges .badge.badge_best {
  background: #121212;
  color: #fff;
}

.main_product .product_slide .product_badges .badge.badge_ship {
  background: #f7f7f7;
}

.main_product .product_slide .product_badges .badge.badge_ship i {
  color: var(--color-primary);
}

.main_product .product_slide .product_info {
  margin-top: 20px;
}

.main_product .product_slide .product_info .product_title {
  font-size: 1.5rem;
  font-weight: 700;
}

.main_product .product_slide .product_amount .consumer_price {
  display: block;
  margin: 12px 0;
  text-decoration: line-through;
  color: #999;
}

.main_product .product_slide .product_amount > div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.75rem;
  font-weight: 800;
}

.main_product .product_slide .product_amount .discount {
  color: var(--color-primary);
}

.product_next {
  background: url(/img/icon/right_arrow.png) no-repeat center / cover;
  width: 56px;
  height: 56px;
  right: 20px;
  top: 36%;
}

.product_prev {
  background: url(/img/icon/left_arrow.png) no-repeat center / cover;
  width: 56px;
  height: 56px;
  left: 20px;
  top: 36%;
}

.main_product .product_slide li img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1240px) {
  .main_product .product_slide .product_badges .badge {
    padding: 8px 10px;
  }
}

@media screen and (max-width: 1024px) {
  .main_product .product_slide .product_badges .badge {
    font-size: 0.875rem;
  }
}

@media screen and (max-width: 768px) {
  .product_next,
  .product_prev {
    width: 40px;
    height: 40px;
  }

  .product_next {
    right: 10px;
  }

  .product_prev {
    left: 10px;
  }
}

@media screen and (max-width: 512px) {
  .main_advantage {
    padding-bottom: 0;
  }

  .product_next,
  .product_prev {
    display: none;
  }

  .main_product .product_slide .product_badges {
    margin-top: 16px;
    gap: 5px;
  }

  .main_product .product_slide .product_badges .badge {
    font-size: 0.6875rem;
    padding: 5px;
  }

  .main_product .product_slide .product_info {
    margin-top: 16px;
  }

  .main_product .product_slide .product_info .product_title {
    font-size: 1.25rem;
  }

  .main_product .product_slide .product_amount > div {
    font-size: 1.25rem;
  }
}

/* 메인 소구점 부분 */

.main_advantage {
  position: relative;
}

.main_advantage .si_inner {
  display: flex;
  justify-content: space-around;
}

.main_advantage .main_title {
  display: block;
  padding-top: 50px;
  width: 30%;
  left: 0;
  top: 150px;
  position: sticky;
  height: 470px;
}

.main_advantage .main_title strong {
  color: var(--color-primary);
}

.main_advantage .main_title nav {
  margin-top: 50px;
}

.main_advantage .main_title li {
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 20%;
  margin-bottom: 30px;
  transition: opacity 0.3s;
}

.main_advantage .main_title li.active {
  opacity: 100%;
}

.main_advantage .main_title li span {
  display: inline-block;
  padding: 10px;
  background: #121212;
  color: #fff;
  border-radius: 50%;
  margin-right: 8px;
}

.product_advantage_content {
  width: 57%;
}

.main_advantage .advantage_item {
  margin-bottom: 120px;
}

.main_advantage .advantage_item:last-child {
  margin-bottom: 0;
}

.main_advantage .advantage_item figure {
  border-radius: 20px;
  overflow: hidden;
}

.main_advantage .advantage_item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin: 32px 0 28px;
}

.main_advantage .advantage_item p {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8em;
}

.main_advantage .advantage_item p strong {
  font-weight: 700;
}

.main_advantage .advantage_item p i {
  font-style: italic;
}

@media screen and (max-width: 1420px) {
  .main_section .main_title h2 {
    font-size: 2rem;
  }

  .main_advantage .main_title li {
    font-size: 1.25rem;
  }

  .main_advantage .main_title li span {
    font-size: 1rem;
    padding: 8px;
  }

  .main_advantage .main_title li {
    margin-bottom: 20px;
  }

  .product_advantage_content {
    width: 70%;
  }

  .main_advantage .main_title {
    width: 40%;
    padding-top: 0;
  }

  .main_advantage .advantage_item h3 {
    font-size: 1.75rem;
  }

  .main_advantage .advantage_item p {
    font-size: 1rem;
    line-height: 1.5em;
  }
}

@media screen and (max-width: 1000px) {
  .main_advantage .si_inner {
    flex-wrap: wrap;
  }

  .main_advantage .main_title nav {
    margin-top: 30px;
  }

  .main_advantage .main_title {
    position: static;
    height: unset;
  }

  .main_advantage .advantage_item {
    margin-bottom: 70px;
  }

  .main_advantage .advantage_item:last-child {
    margin-bottom: 70px;
  }

  .main_advantage .main_title,
  .product_advantage_content {
    width: 100%;
  }

  .product_advantage_content img {
    width: 100%;
    height: auto;
  }
}

@media screen and (max-width: 512px) {
  .main_section .main_title h2 {
    font-size: 1.5rem;
  }

  .main_advantage .main_title li {
    font-size: 0.875rem;
    margin-bottom: 10px;
  }

  .main_advantage .advantage_item h3 {
    margin: 20px 0;
    font-size: 1.25rem;
  }

  .main_advantage .advantage_item {
    margin-bottom: 50px;
  }

  .main_advantage .advantage_item:last-child {
    margin-bottom: 50px;
  }
}

/* 배너 */

.main_banner {
  background: url("/img/main/main_banner.jpg") no-repeat center bottom / cover;
  height: 630px;
  color: #fff;
  padding: 120px 0;
}

.main_banner .si_inner {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.main_banner .banner_txt {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 30px;
}

.main_banner .banner_txt span {
  font-size: 1.25rem;
  font-weight: 700;
  opacity: 0.4;
}

.main_banner .banner_txt h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3em;
}

.main_banner .banner_txt p {
  font-size: 1.5rem;
  font-weight: 400;
}

@media screen and (max-width: 1400px) {
  .main_banner .si_inner {
    justify-content: center;
  }

  .main_banner .banner_txt {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 1024px) {
  .main_banner {
    padding: 80px 0;
  }

  .main_banner .banner_txt {
    row-gap: 20px;
  }

  .main_banner .banner_txt h2 {
    font-size: 2rem;
  }

  .main_banner .banner_txt p {
    font-size: 1rem;
  }

  .main_banner {
    height: 450px;
  }
}

@media screen and (max-width: 512px) {
  .main_banner {
    padding: 50px 0;
  }

  .main_banner .banner_txt h2 {
    font-size: 1.5rem;
  }
}

/* 회사소개 */

.main_company {
  text-align: center;
}

.main_company .si_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.main_company .si_inner h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.main_company .si_inner h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-primary);
}

.main_company .si_inner p {
  font-size: 1.25rem;
  line-height: 1.8em;
}

@media screen and (max-width: 1024px) {
  .main_company .si_inner {
    gap: 20px;
  }

  .main_company .si_inner h2 {
    font-size: 2rem;
  }

  .main_company .si_inner h3 {
    font-size: 1.5rem;
  }

  .main_company .si_inner p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 512px) {
  .main_banner .si_inner {
    line-height: 1.8em;
  }

  .main_company .si_inner h2 {
    font-size: 1.5rem;
  }

  .main_company .si_inner h3 {
    font-size: 1.25rem;
  }
}

/* 이벤트 */

.main_event {
  background: #f7f7f7;
}

.main_event_list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.main_event_list ul figure {
  border-radius: 20px;
  overflow: hidden;
  max-height: 360px;
  display: flex;
  align-items: center;
}

.main_event_list ul figure img {
  width: 100%;
}

.main_event_list ul h3 {
  font-weight: 700;
  font-size: 1.75rem;
  margin: 40px 0 25px;
}

.main_event_list ul p {
  font-size: 1.25rem;
  word-break: keep-all;
  line-height: 1.8em;
}

@media screen and (max-width: 1024px) {
  .main_event_list ul h3 {
    font-size: 1.5rem;
    margin: 20px 0;
  }

  .main_event_list ul p {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .main_event_list ul {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .main_event_list ul h3 {
    font-size: 1.25rem;
  }
}
