/*폰트*/
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

/*나눔스퀘어 네오*/
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css');

/*clearfix*/
.cf:after {
  clear: both;
  content: '';
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'NanumSquareAc', sans-serif;
}

:root {
  --body-color: #2c2d2a;
  --beach-bg: #e7dfcf;
  --glacier-bg: #b6d6c8;
  --coral-bg: #e86357;
  --arrow-fill: #333231;
  --body-font: 'Pretendard', serif;
  --title-font: 'NanumSquareAc', sans-serif;
}

* {
  box-sizing: border-box;
  outline: none;
}

img {
  max-width: 100%;
}

.boxBook {
  margin: 0 auto;
  width: 1120px;
  height: 500px;
  display: flex;
  flex-direction: column;
  scroll-behavior: smooth;
  background: var(--glacier-bg) url('/img/img_slide_bg.png') no-repeat;
  background-size: contain;
  padding-left: 100px;
  padding-top: 60px;
  overflow: hidden;
  position: relative;
}

.left-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #f8f8f8;
}

.mySwiper {
  display: flex;
  flex-grow: 1;
  position: relative;
}

.main-slide {
  padding: 0px;
  display: flex;
  flex-grow: 1;
  position: relative;
}

.right-side__img {
  width: 525px;
  height: auto;
}

.main-header {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 4px;
  font-weight: 600;
  transition-delay: 0.2s;
}
.main-title {
  font-family: var(--title-font);
  font-size: 30px;
  font-weight: 600;
  margin-top: 30px;
  line-height: 1em;
  transition-delay: 0.3s;
  letter-spacing: 1px;
  line-height: 1.3em;
}
.main-title span {
  font-weight: 900;
}
.main-title b {
  font-weight: 900;
}
.main-subtitle {
  font-family: var(--title-font);
  font-weight: 400;
  font-size: 16px;
  margin-top: 15px;
  margin-bottom: 60px;
  transition-delay: 0.4s;
  border-left: 2px solid #fff;
  padding-left: 10px;
}
.main-content__title {
  position: absolute;
  width: 300px;
  height: auto;
  top: -62px;
  left: 148px;
  font-style: italic;
  margin-bottom: 14px;
  transition-delay: 0.2s;
}
.main-content__subtitle {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  transition-delay: 0.3s;
}
.main-content .more-menu {
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition-delay: 0.4s;
  background: #4ca170;
  color: #fff;
  display: inline-block;
  border-radius: 0 10px 10px 10px;
  margin-top: 11px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.main-content .more-menu a {
  font-size: 16px;
  font-weight: bold;
  display: inline-block;
  padding: 7px 30px;
  letter-spacing: 1px;
}

.main-content .more-menu svg {
  width: 28px;
  height: 18px;
  margin-left: 10px;
}

.right-side {
  display: flex;
  position: absolute;
  flex-shrink: 0;
  right: 40px;
  top: 25px;
}
.center .bottle-img {
  position: absolute;
  top: 15%;
  left: 0;
  transform: scale(1.6);
}

.swiper-pagination {
  position: absolute;
  right: 52%;
  left: auto;
  top: 110px;
  width: auto;
  bottom: auto;
  z-index: 2;
  color: #f8f8f8;
  font-size: 14px;
  font-family: var(--body-font);
  font-weight: 500;
}

.button-wrapper {
  position: absolute;
  left: 100px;
  bottom: 18%;
  z-index: 1;
  display: flex;
  align-items: center;
}

.button-wrapper svg {
  width: 28px;
  color: #555;
}
.button-wrapper .swiper-button {
  border: 1px solid #555;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, var(--body-color) 40%, transparent 0%);
  background-size: 200% 100%;
  background-position: right bottom;
  transition: all 0.3s ease-out;
  cursor: pointer;
}
.button-wrapper .swiper-button + .swiper-button {
  margin-left: 16px;
}

.button-wrapper .swiper-button:hover {
  background-color: var(--body-color);
  background-position: left bottom;
}
.button-wrapper .swiper-button:hover svg {
  stroke: #fff;
}
.button-wrapper .swiper-prev-button {
  background: linear-gradient(to left, var(--body-color) 40%, transparent 0%);
  background-size: 200% 100%;
  background-position: left bottom;
  transition: all 0.3s ease-out;
}
.button-wrapper .swiper-prev-button svg {
  transform: rotate(-180deg);
}
.button-wrapper .swiper-prev-button:hover {
  background-position: right bottom;
}

.swiper-slide {
  opacity: 0 !important;
  transition: 0.4s;
}
.swiper-slide-active {
  opacity: 1 !important;
}

.swiper-slide .main-wrapper > *,
.swiper-slide .main-content > * {
  transform: translateY(-30px);
  opacity: 0;
  transition-duration: 0.8s;
}

.swiper-slide-active .main-wrapper > *,
.swiper-slide-active .main-content > * {
  transform: none;
  opacity: 1;
}

.swiper-slide .book-img {
  transition-duration: 0.8s;
  transform: scale(0.5);
  opacity: 0;
}

.swiper-slide-active .book-img {
  opacity: 1;
  transform: scale(1);
}

.swiper-slide .bottle-img {
  transition-duration: 0.8s;
  transform: scale(0.5);
  opacity: 0;
}

.swiper-slide-active .bottle-img {
  opacity: 1;
  transform: scale(1);
}

.Sec-title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
}
.Sec-title span {
  color: #709d78;
}

.main-content {
  position: absolute;
  top: 50%;
}
[data-sld='1'] .boxBook {
  background: var(--beach-bg) url('/img/img_slide_bg.png') no-repeat;
  background-size: contain;
}

[data-sld='2'] .boxBook {
  background: var(--coral-bg) url('/img/img_slide_bg.png') no-repeat;
  background-size: contain;
}

.video-container {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 0 20px 20px 20px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 1120px) {
  .boxBook {
    position: relative;
    width: 100%;
    height: 700px;
    background: var(--glacier-bg) url('/img/img_slide_bg.png') no-repeat;
    background-size: 200%;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-left: 100px;
    padding-right: 100px;
  }
  [data-sld='1'] .boxBook {
    background: var(--beach-bg) url('/img/img_slide_bg.png') no-repeat;
    background-size: 200%;
  }

  [data-sld='2'] .boxBook {
    background: var(--coral-bg) url('/img/img_slide_bg.png') no-repeat;
    background-size: 200%;
  }
  .mySwiper {
    width: 100%;
  }

  .button-wrapper .swiper-button + .swiper-button {
    margin-left: 0;
  }

  .button-wrapper {
    top: 30%;
    left: 0;
    width: 100%;
    justify-content: space-between;
    padding: 0 60px;
  }
  .left-side {
    width: 100%;

    position: relative;
  }
  .right-side {
    width: 100%;
    right: 0px;
    top: -50px;
    position: relative;
  }
  .main-content .more-menu {
    justify-content: center;
    margin-top: 55px;
  }
  .main-slide {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
  }
  .main-content__title {
    left: 270px;
  }

  .swiper-pagination {
    display: none;
  }
  .Sec-title {
    font-size: 32px;
    text-align: center;
    position: relative;
    top: -10px;
  }
}
@media (max-width: 1119px) {
  .main-title {
    color: #333231;
    margin-top: -15px;
  }
  .main-subtitle {
    color: #555;
    border-left: 2px solid #555;
  }
  .boxBook {
    background: var(--glacier-bg) url('/img/img_slide_bg.png') no-repeat;
    background-size: 120%;
  }
  .right-side {
    margin-left: calc(100% - 50vw);
  }
  .left-side {
    margin-left: calc(100% - 50vw);
  }
}

@media (max-width: 769px) {
  .right-side {
    margin-left: calc(100% - 70vw);
  }
  .left-side {
    margin-left: calc(100% - 70vw);
  }
}

@media (max-width: 500px) {
  .main-title {
    color: #333231;
    margin-top: 20px;
    font-size: 24px;
  }
  .boxBook {
    padding-top: 50px;
    padding-left: 20px;
    padding-right: 20px;
    height: 750px;
  }

  .boxBook {
    background: var(--glacier-bg) url('/img/img_slide_bg.png') no-repeat;
    background-size: 200%;
  }
  [data-sld='1'] .boxBook {
    background: var(--beach-bg) url('/img/img_slide_bg.png') no-repeat;
    background-size: 200%;
  }

  [data-sld='2'] .boxBook {
    background: var(--coral-bg) url('/img/img_slide_bg.png') no-repeat;
    background-size: 200%;
  }

  .right-side {
    margin-left: auto;
  }
  .left-side {
    margin-left: auto;
  }
  .button-wrapper {
    top: 4%;
    padding: 0 25px;
  }
  .right-side {
    top: -115px;
  }
  .main-content__title {
    left: 35px;
    top: -205px;
  }
  .main-content .more-menu {
    margin-top: 140px;
    margin-left: 45px;
  }
  .left-side .main-wrapper {
    position: relative;
    top: 80px;
    left: 50px;
  }
}

@media (max-width: 375px) {
  .main-content__title {
    left: 20px;
  }
  .left-side .main-wrapper {
    left: 30px;
  }
  .main-content .more-menu {
    margin-left: 25px;
  }
}
