.wrapper {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  width: 100%;
}

.bg_grey {
  background-color: #f2f2f2;
}

.mt_10 {
  margin-top: 10px;
}

.pb_2rem {
  padding-bottom: 2rem;
}

.pb_3rem {
  padding-bottom: 3rem;
}

.pb_4rem {
  padding-bottom: 4rem;
}


/* tabs */
.tablist {
  width: 100%;
  height: 65px;
  background-color: #000;
  justify-content: center;
  overflow: hidden;
}

.tablist li {
  width: 25%;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

.tablist li a {
  width: 100%;
  height: 65px;
  font-size: .9rem;
  text-align: center;
  word-spacing: -1px;
  justify-content: center;
}

.tablist li:first-child.active {
  background: #ff4c57;
}

.tablist li:nth-child(2).active {
  background: #127cff;
}

.tablist li:nth-child(3).active {
  background: #22211f;
}

.tablist li:last-child.active {
  background: #3bd598;
}


.tablist li.active a {
  font-size: .95rem;
  color: #fff;
  font-weight: 500;
}


.tablist li:last-child a {
  font-size: .7rem;
  line-height: 1.35;
}

.tablist li:last-child.active a {
  font-size: .8rem;
}

.tablist li a span {
  letter-spacing: 0.5px;
  font-size: .7rem;
  font-family: Futura;
}

/* caution */
.caution_box {
  width: 90%;
  margin: 0 auto;
}

.caution {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 12px;
  box-sizing: border-box;
}

.caution_wt {
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.caution_wt .caution_title p,
.caution_wt ul#caution_txt li {
  color: #fff;
}

.caution_title {
  width: 100%;
  justify-content: space-between;
}

.caution_title > p > img {
  vertical-align: bottom;
  margin-right: 7px;
  /* width: 16px; */
  width: 20px;
}

.caution_title p {
  font-weight: 700;
  font-size: .9rem;
  color: #222;
}

.caution_title button i {
  background-position: -4px -365px !important;
}

.caution_title button.open i {
  transform: rotate(180deg);
  background-position: -4px -368px !important;
}

.caution_title button.open img {
  transform: rotate(180deg);
}

#caution_txt {
  width: 100%;
  margin-top: 10px;
  padding-top: 10px;
  padding-left: 2px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.caution_wt ul#caution_txt {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hide-menu {
  display: none;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: unset;
}

#caution_txt li {
  line-height: 1.5;
  color: #000;
  font-size: .8125rem;
  word-spacing: -0.5px;
  letter-spacing: -.5px;
  text-align: left;
  position: relative;
  margin-bottom: 3px;
  word-break: break-word;
}

#caution_txt li::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #333;
  border-radius: 50%;
}

.caution_wt ul#caution_txt li::before {
  background-color: #fff;
}

#caution_txt li span {
  display: inline-block;
  text-indent: 8px;
}


/**************************************************************************/
/* first Event s */
.gr_first_wrap .sec_1 {
  padding-top: 3rem;
}

.gr_first_wrap .sec_2,
.gr_first_wrap .sec_3,
.gr_first_wrap .sec_4 {
  width: 100%;
  position: relative;
}

/* s2 btn */
ul.newFam-btn {
  width: 85%;
  margin: 0 auto 35px;
  justify-content: space-between;
}

ul.newFam-btn li:first-child {
  margin-right: 35px;
}

.sns_caution,
.sns_submit {
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 1.5rem;
}

.sns_caution_info {
  align-items: flex-start;
  text-align: left;
  margin-left: 2rem;
}

.sns_caution_info div:nth-of-type(2) {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 1.5rem 0;
  margin: 1.5rem 0;
}

.sns_caution_info div button {
  display: inline-block;
  text-align: left;
  width: 50%;
  position: relative;
  left: 45%;
  transform: translateX(-50%);
}

.sns_submit {
  width: 100%;
  margin: 1.875rem 0 2.5rem;
}

.sns_submit input {
  width: 100%;
  height: 38px;
  line-height: 35px;
  border-radius: 4px;
  border-width: 1px;
  font-size: .85rem;
  text-indent: 6px;
  margin-right: 6px;
  border: 1px solid #888;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sns_submit input::placeholder {
  color: #888;
  opacity: .8;
}

.sns_submit input::-ms-input-placeholder {
  color: #888;
  opacity: .8;
}

.sns_submit input:focus {
  outline: none;
}

.sns_submit button {
  width: 120px;
}

.sns_submit button img {
  height: 38px;
}

.comment button {
  width: 75%;
  margin: 2rem auto;
}


/* second Event s */
.gr_second_wrap>.img_wrap {
  background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/SecondEvent/mb/01_main_bg.png')no-repeat center/cover;
  text-align: center;
}

.gr_second_wrap .comment-img {
  margin-bottom: 35px;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: center;
}

.gr_second_wrap .comment-img >p:nth-child(2) {
  position: relative;
  right: 0;
  bottom: 0;
}

.gr_second_wrap .comment-img button {
  position: absolute;
  top: 75%;
  left: 0;
  transform: translateY(-50%);
  width: 80%;
}

.gr_second_wrap .comment-btn {
  position: absolute;
  right: 65px;
  bottom: 100px;
  transform: translate(-50%, -50%);
}

.gr_second_wrap .sec_5 {
  background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/SecondEvent/mb/06_appevent_bg.png')no-repeat center/cover;
  text-align: center;
}

.gr_second_wrap .btn_w,
.gr_third_wrap .btn_w {
  width: 60%;
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

.gr_second_wrap .evt_swiper,
.gr_third_wrap .evt_swiper {
  margin-bottom: 1.5rem;
  padding: 0 20px;
  box-sizing: border-box;
}

.gr_second_wrap .swiper-button-prev,
.gr_third_wrap .swiper-button-prev {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/SecondEvent/mb/evtImg/arrow_btn_left.png')no-repeat center/cover;
}

.gr_second_wrap .swiper-button-next,
.gr_third_wrap .swiper-button-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/SecondEvent/mb/evtImg/arrow_btn_right.png')no-repeat center/cover;
}

.gr_second_wrap .swiper-button-prev:after,
.gr_third_wrap .swiper-button-prev:after,
.gr_second_wrap .swiper-button-next:after,
.gr_third_wrap .swiper-button-next:after,
.swiper-button-next:after,
.swiper-button-prev:after {
  display: none;
}

/* third Event s */
.gr_third_wrap>.img_wrap {
  background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/ThirdEvent/mb/01_main_bg.png')no-repeat center/cover;
  text-align: center;
}

.gr_third_wrap>.sec_1 {
  background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/ThirdEvent/mb/02_event_bg.png')no-repeat center/cover;
  text-align: center;
}

.gr_third_wrap>.sec_3,
.gr_third_wrap>.sec_5 {
  background-color: #22211f;
}

.gr_third_wrap>.sec_2 .detail_gift {
  margin-top: 40px;
}

.gr_third_wrap>.sec_4 {
  background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/ThirdEvent/mb/05_appevent_bg.png')no-repeat center/cover;
  text-align: center;
}

.gr_third_wrap .comment-img {
  margin-bottom: 35px;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: center;
}

.gr_third_wrap .comment-img>p:nth-child(2) {
  position: relative;
  right: 0;
  bottom: 0;
}

/**************************************************************************/
/* last Event s */
.main {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
}

.main .top_circle {
  width: 50px;
  position: absolute;
  top: 0;
  right: 10px;
  transform: translateY(-50%);
  animation: updown1 1s ease-in Infinite Alternate;
}

.main .btm_circle {
  width: 100px;
  position: absolute;
  bottom: 0;
  left: 10px;
  transform: translateY(50%);
  animation: updown2 1s ease-in Infinite Alternate;
}

@keyframes updown1 {
  0% {
    top: 50px;
  }

  100% {
    top: 70px;
  }
}

@keyframes updown2 {
  0% {
    bottom: 0px;
  }

  100% {
    bottom: -15px;
  }
}

/* last Event e */

/* responsive */
@media (max-width: 375px) {
  .tablist li a {
    font-size: .725rem;
  }

  .tablist li.active a {
    font-size: .825rem;
  }

  .tablist li:last-child a {
    font-size: .55rem;
  }

  .tablist li:last-child.active a {
    font-size: .615rem;
  }

  .gr_first_wrap .sec_3 .sns_caution {
    flex-direction: column;
  }

  .gr_first_wrap .sec_3 .sns_caution>p {
    width: 23%;
  }

  .gr_first_wrap .sec_3 .sns_caution_info {
    margin: 2rem 0 0;
  }

  #caution_txt li span > br {
    display: none;
  }

  #caution_txt li span>span {
    display: contents;
  }

  .sns_caution_info div p img {
    margin-bottom: 10px;
  }
}


@media (min-width: 640px) {
  .wrapper {
    max-width: 100%;
  }

  .gr_first_wrap>.img_wrap {
    background: url('../../img/launchEvent/bg/01_main_gra.png')no-repeat center/cover;
    text-align: center;
  }

  .gr_last_wrap>.img_wrap {
    background: url('https://cdn.ypbooks.co.kr/assets/img/launchEvent/LastEvent/mb/main_gra.png')no-repeat center/cover;
    text-align: center;
  }

  .tablist,
  .tablist li a {
    height: 90px;
    font-size: 1rem;
  }

  .tablist li a,
  .tablist li:last-child.active a,
  .caution_title p {
    font-size: 1.125rem;
  }

  .tablist li.active a {
    font-size: 1.25rem;
  }

  .tablist li a span,
  .tablist li:last-child a,
  #caution_txt li {
    font-size: 1rem;
  }

  .se1,
  .sec_2,
  .sec_3 {
    padding-bottom: 3.5rem;
  }

  ul.newFam-btn {
    margin-bottom: 50px;
  }

  ul.newFam-btn li:first-child {
    margin-right: 65px;
  }

  .caution {
    padding: .85rem .85rem;
  }

  .sns_caution,
  .sns_submit {
    padding: 0 4rem;
  }

  #caution_txt {
    padding-top: .625rem;
    margin-top: .625rem;
  }

  #caution_txt li::before {
    top: 8px;
    left: -2px;
  }

  .sns_caution_info {
    margin-left: 5rem;
  }

  .sns_caution_info div button {
    margin: 1.5rem 0;
  }

  .sns_submit {
    margin: 3.5rem 0 4rem;
  }

  .sns_submit button {
    width: 150px;
  }

  .sns_submit input,
  .sns_submit button img {
    height: 50px;
    line-height: 50px;
    font-size: 1.25rem;
    text-indent: 10px;
  }

  .comment button {
    width: 55%;
    margin: 3rem auto 4rem;
  }

  .bg-grey {
    background-color: #f9f9f9;
  }

  .giftWrap___slide .swiper-slide .is-border img {
    width: 100%;
  }

  .gr_second_wrap .evt_swiper,
  .gr_third_wrap .evt_swiper {
    margin-bottom: 2.5rem;
  }
}

@media (min-width: 991px) {
  .tablist,
  .tablist li a {
    height: 90px;
    font-size: 1.25rem;
  }

  .tablist li a span,
  .tablist li:last-child a,
  .tablist li.active:last-child a {
    font-size: 1.125rem;
    line-height: 1.2;
  }

  .tablist li.active a {
    font-size: 1.4rem;
  }

  .tablist li.active a span {
    font-size: 1.125rem;
  }

}

.event_wrap {
  padding-bottom: 60px;
  /* padding-bottom: env(safe-area-inset-bottom);
  padding-bottom: constant(safe-area-inset-bottom); */
}

/* 연말기부 이벤트 */
.holiday_giving_event {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;

  .sec01 {
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250123_holidayGiving/01_main_bg.png') no-repeat center bottom/cover;
  }
  .sec02 {
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250123_holidayGiving/02_books_bg.png') no-repeat center bottom/cover;
  }
  .sec03 {
    position: relative;
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250123_holidayGiving/03_event_bg.png') no-repeat center bottom/cover;
  }
  
  .btn_link {
    position: absolute;
    left: 38%;
    top: 93.6%;
    width: 23%;
    transform: translateY(-50%);
    z-index: 1;
  }

  .sec04 {
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250123_holidayGiving/04_card_bg.png') no-repeat center bottom/contain;
    background-color: #6fc1fa;
  }
  
  .rolling_area {
    position: relative;
    padding-bottom: 100px;
    display: flex;
    max-width: 750px;
  }

  .rolling_list_wrap {
    display: flex;
    width: 2000px;
    flex-shrink: 0;
  }

  .rolling_list_wrap.original {
    animation: rollingleft1 120s linear infinite;
  }

  .rolling_list_wrap.clone {
    animation: rollingleft2 120s linear infinite;
  }

  .rolling_list_wrap li {
    position: relative;
    margin-right: 40px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    max-width: 210px;
    box-sizing: border-box;
  }

  .rolling_list_wrap li .txt {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 25px;
    width: 100%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    line-height: 25px;
    letter-spacing: -0.04em;
    box-sizing: border-box;
    word-break: break-all;
    cursor: default;
  }

  .rolling_list_wrap li .name {
    position: absolute;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 24px;
    color: #333;
    font-family: 'Roboto';
  }
}
@keyframes rollingleft1 {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(-100%);
  }

  50.01% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(0);
  }
}
@keyframes rollingleft2 {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-200%);
  }
}

/* 숨겨진 신간찾기 */
.hidden_book_event {
  .sec01 {
    position: relative;
    background-color: transparent;
  }

  .sec01 .btn--share {
    position: absolute;
    right: 20px;
    top: 20px;
    border: 1px solid #3d3c3f;
    border-radius: 50%;
    background: #fff;
    box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.1);
  }

  .sec01 .btn--share .ic_share {
    width: 36px;
    height: 36px;
    -webkit-background-size: 360px 360px;
    background-size: 360px 360px;
    background-position: -289px -0;
    background-repeat: no-repeat;
  }

  .sec01 .books_area {
    position: absolute;
    left: 0;
    top: 44%;
    width: 100%;
    height: 38.3%;
  }

  .sec01 .books_area .books {
    position: absolute;
    bottom: 0;
    padding: 0 20px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .sec01 .books_area .top_wrap {
    bottom: 55%;
  }

  .sec01 .books_area .bottom_wrap {
    padding: 0 9px 0 12px;
  }

  .sec01 .books_area .top_wrap .img:nth-child(2) {
    margin: 0 1.1% 0 13%;
  }

  .sec01 .books_area .bottom_wrap .img:nth-child(2) {
    position: absolute;
    left: 33%;
    width: 21%;
    z-index: 1;
  }

  .sec01 .books_area .bottom_wrap .img:nth-child(3) {
    margin: 0 2% 0 22%;
  }

  .sec01 .books_area .top_wrap .img {
    animation: moveY 7s ease-in-out infinite;
  }

  .sec01 .books_area .bottom_wrap .img {
    animation: moveY 7s ease-in-out infinite;
  }

  .sec01 .books_area .top_wrap .img:nth-child(1) {
    animation-delay: 5s;
  }

  .sec01 .books_area .top_wrap .img:nth-child(2) {
    animation-delay: 0s;
  }

  .sec01 .books_area .top_wrap .img:nth-child(3) {
    animation-delay: 2s;
  }

  .sec01 .books_area .bottom_wrap .img:nth-child(1) {
    animation-delay: 3s;
  }

  .sec01 .books_area .bottom_wrap .img:nth-child(2) {
    animation-delay: 6s;
  }

  .sec01 .books_area .bottom_wrap .img:nth-child(3) {
    animation-delay: 1s;
  }

  .sec01 .books_area .bottom_wrap .img:nth-child(4) {
    animation-delay: 4s;
  }

  @keyframes moveY {
    0% {
      transform: translateY(0);
    }

    45% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-1rem);
    }

    55% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(0);
    }
  }

  .sec02 {
    padding-bottom: 0;
    background-color: #f2ebda;
  }

  .sec02 .caution_box {
    position: relative;
    margin-top: -5%;
    padding: 0 0 30px;
    box-sizing: border-box;
  }

  .sec02 .caution_title p {
    font-size: 1rem;
    color: #333;
  }

  .sec02 #caution_txt li {
    padding-left: 15px;
  }

  .sec02 #caution_txt li::before {
    left: 7px;
    background-color: #333;
  }

  .sec02 #caution_txt li span {
    text-indent: unset;
  }

  .sec03 {
    padding-bottom: 0;
    background: #ff6a24;
  }
}

/* 250422 홀수 행운룰렛 이벤트 lucky-roulette */
.lucky_roulette_event {
  .img {
    max-width: 750px;
    margin: 0 auto;
  }

  .sec01 {
    position: relative;
    background-size: cover;
  }

  .sec01 .img {
    padding-top: min(20%, 150px);
  }

  .sec01 .btn--share {
    position: absolute;
    right: 20px;
    top: 20px;
    border: 1px solid #3d3c3f;
    border-radius: 50%;
    background: #fff;
    box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.1);
  }

  .sec01 .btn--share .ic_share {
    width: 36px;
    height: 36px;
    -webkit-background-size: 360px 360px;
    background-size: 360px 360px;
    background-position: -289px -0;
    background-repeat: no-repeat;
  }

  /* 네잎클로버 룰렛 */
  .roulette-container {
    position: absolute;
    left: 50%;
    top: 45%;
    margin-bottom: 0;
    transform: translateX(-50%);
    background: none;
  }

  .roulette {
    margin: 0 auto;
    border: none;
    /* width: min(90%, 672px) !important; */
    width: min(90%, 1024px) !important;
    height: min(90%, 692px) !important;
    aspect-ratio: 1 / 1;
    background: url(https://cdn.ypbooks.co.kr/ypbooks/event/250418_findBook/02_roulette_con.png) no-repeat 50% 50%;
    background-size: contain;
    overflow: visible;
  }

  .roulette-arrow {
    border: none;
    width: min(6%, 36px) !important;
    height: auto;
  }

  .roulette_btn {
    width: min(24%, 160px) !important;
    height: auto;
  }

  .roulette-wacu>div>p {
    font-size: 0;
  }

  .sec02 {
    background: #f9fff3;
  }

  .sec02 .caution_box {
    position: relative;
    margin-top: 0;
    padding: 30px 0;
    box-sizing: border-box;
  }

  .sec02 .caution_title.flex {
    align-items: center;
  }

  .sec02 .caution_title p {
    font-size: 17px;
    color: #848484;
    letter-spacing: -0.02em;
  }

  .sec02 .caution_title button {
    height: 7px;
  }

  .sec02 .caution_title button img {
    height: 100%;
  }

  .sec02 #caution_txt {
    margin-top: 22px;
    padding: 0;
    border-top: none;
  }

  .sec02 #caution_txt li {
    margin-bottom: 0;
    padding-left: 9px;
    font-size: 0.75rem;
    color: #666;
    line-height: 25px;
    letter-spacing: -0.05em;
  }

  .sec02 #caution_txt li::before {
    left: 0;
    top: 11px;
    background-color: #999;
    border-radius: 0;
  }

  .sec02 #caution_txt li span {
    text-indent: unset;
  }

  .sec03 {
    background: #60cf4b;
  }
}

/* 짝수 행운룰렛 이벤트 fortune-roulette */
.fortune_roulette_event {
  .img {
    max-width: 750px;
    margin: 0 auto;
  }

  .sec01 {
    position: relative;
    background-size: cover;
  }

  .sec01 .img {
    padding-top: min(20%, 150px);
  }

  .sec01 .btn--share {
    position: absolute;
    right: 20px;
    top: 20px;
    border: 1px solid #3d3c3f;
    border-radius: 50%;
    background: #fff;
    box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 1px 6px 0 rgba(0, 0, 0, 0.12), 0 0 1px 0 rgba(0, 0, 0, 0.1);
  }

  .sec01 .btn--share .ic_share {
    width: 36px;
    height: 36px;
    -webkit-background-size: 360px 360px;
    background-size: 360px 360px;
    background-position: -289px -0;
    background-repeat: no-repeat;
  }

  /* 네잎클로버 룰렛 */
  .roulette-container {
    position: absolute;
    left: 50%;
    top: 45%;
    margin-bottom: 0;
    transform: translateX(-50%);
    background: none;
  }

  .roulette {
    margin: 0 auto;
    border: none;
    /* width: min(90%, 672px) !important; */
    width: min(90%, 1024px) !important;
    height: min(90%, 692px) !important;
    aspect-ratio: 1 / 1;
    background: url(https://cdn.ypbooks.co.kr/ypbooks/event/250418_findBook/02_roulette_con.png) no-repeat 50% 50%;
    background-size: contain;
    overflow: visible;
  }

  .roulette-arrow {
    border: none;
    width: min(6%, 36px) !important;
    height: auto;
  }

  .roulette_btn {
    width: min(24%, 160px) !important;
    height: auto;
  }

  .roulette-wacu>div>p {
    font-size: 0;
  }

  .sec02 {
    background: #f9fff3;
  }

  .sec02 .caution_box {
    position: relative;
    margin-top: 0;
    padding: 30px 0;
    box-sizing: border-box;
  }

  .sec02 .caution_title.flex {
    align-items: center;
  }

  .sec02 .caution_title p {
    font-size: 17px;
    color: #848484;
    letter-spacing: -0.02em;
  }

  .sec02 .caution_title button {
    height: 7px;
  }

  .sec02 .caution_title button img {
    height: 100%;
  }

  .sec02 #caution_txt {
    margin-top: 22px;
    padding: 0;
    border-top: none;
  }

  .sec02 #caution_txt li {
    margin-bottom: 0;
    padding-left: 9px;
    font-size: 0.75rem;
    color: #666;
    line-height: 25px;
    letter-spacing: -0.05em;
  }

  .sec02 #caution_txt li::before {
    left: 0;
    top: 11px;
    background-color: #999;
    border-radius: 0;
  }

  .sec02 #caution_txt li span {
    text-indent: unset;
  }

  .sec03 {
    background: #60cf4b;
  }
}

/* 이달의 서재 */
.monthly_library_event {
  .banner_area>* {
    display: block;
    width: 100%;
  }

  .banner_area>*:nth-child(1) {
    background-color: #ff8624;
  }

  .banner_area>*:nth-child(2) {
    background-color: #f96ac6;
  }

  .banner_area>*:nth-child(3) {
    background-color: #83d358;
  }

  .banner_area>*:nth-child(4) {
    background-color: #5571ff;
  }

  .bg_img_wrap {
    position: relative;
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250220_monthlyLibrary/01_main_bg.png') no-repeat center bottom/cover;
  }

  .bg_img_wrap .btn_share {
    position: absolute;
    right: 9px;
    top: 15px;
    width: 4%;
    min-width: 40px
  }

  .caution_box {
    padding: 30px 0 45px;
    margin: 0 auto;
    text-align: left;
    max-width: 670px;
  }

  .caution_title {
    display: flex;
    justify-content: space-between;
  }

  .caution_title p {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
  }

  .caution_title>p>img {
    width: 1.125rem;
  }

  .caution_title button {
    width: 24px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
  }

  .caution_title button.active {
    transform: rotate(180deg);
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 16px;
  }

  #caution_txt li span {
    font-size: 14px;
    line-height: 25px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: -0.5px;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 2px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
  }

  .sec01 .bg_inner {
    background-color: #28005d;
  }

  .sec02 {
    background-color: #6f1ddd;
  }

  .sec03 {
    background-color: #460b8f;
  }

  .sec04 {
    background-color: #eee5ff;
  }

  .sec04 .caution_box {
    padding: 36px 0 40px;
  }

  .sec04 .caution_title p {
    color: #333;
  }

  .sec04 #caution_txt li span {
    color: #666;
  }

  .sec04 #caution_txt li:before {
    background-color: #666;
  }

  .sec04 .gift_img {
    margin: 20px 18px 15px;
    padding: 0;
    box-sizing: border-box;
  }

  .sec04 .gift_img img {
    border-radius: 10px;
  }

  .evtDetailBtn {
    width: 20%;
    min-width: 240px;
  }

  /* 이달의서재 - 독파민 */
  .charge_list_area {
    position: relative;
  }

  img {
    max-width: 750px;
    margin: 0 auto;
  }

  .charge_list_area .charge_list_w {
    position: absolute;
    left: 50%;
    top: 33%;
    padding: 0 4%;
    width: 87%;
    max-width: 680px;
    min-width: 280px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: auto auto;
    row-gap: 6%;
    column-gap: 4%;
    box-sizing: border-box;
  }

  .battery_charge {
    position: relative;
  }

  .battery_charge .btn_charge {
    position: absolute;
    left: 50%;
    top: 32%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .sec03 .btn_wrap {
    padding: 45px 20px 75px;
    display: flex;
    justify-content: center;
    gap: 18px;
  }

  .sec02 .img_wrap {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  .sec02 .img_wrap img {
    width: auto;
  }

  .sec02 .img_wrap .bg_img {
    position: relative;
    width: 100%;
    max-width: 750px;
  }

  .sec02 .img_wrap .deco_01 {
    position: absolute;
    left: 0;
    bottom: -37%;
    width: 24%;
    z-index: 1;
  }

  .sec02 .img_wrap .deco_02 {
    position: absolute;
    top: 24%;
    right: 0;
    width: 16%;
    z-index: 1;
  }

  /* event02 배터리 충전 */
  .battery_charge_area {
    position: relative;
    margin: 0 auto;
    max-width: 750px;
  }

  .battery_charge_area .btn_charge {
    position: absolute;
    left: 50%;
    top: 36%;
    transform: translateX(-50%);
    z-index: 1;
  }

  .battery_charge_area .battery_img_wrap {
    position: relative;
  }

  .battery_charge_area .battery_img_wrap .battery_img {
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 100%;
    height: 100%;
    transition: clip-path 1s ease 0.4s;
    clip-path: inset(0 100% 0 0);
  }

  .battery_charge_area .battery_img_wrap .battery_img.active {
    clip-path: inset(0 0 0 0);
  }
}

/* 이달의서재 - 4월 */
.monthly_library_event_april {
  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }
  img {
    max-width: 750px;
    margin: 0 auto;
  }
  .bg_sec01 {
    padding-top: 40px;
    position: relative;
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250317_monthlyLibrary/mc_bg.png') no-repeat center top/cover;
  }
  .bg_sec01 .btn_share {
    position: absolute;
    right: 30px;
    top: -20px;
    max-width: 56px;
    width: 10%;
  }
  /* .caution_box .caution_title .flex { gap: 8px; } */
  .caution_box .caution_title button img {width: auto;}

  .btn_step01 {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 4%;
  }
  .sec01 {
    background-color: #f2ffe0;
  }
  .sec02 {
    padding: 38px 0 15px;
    background: #cceaa4;
  }
  .sec02 .img_wrap {
    position: relative;
    margin-top: 24px;
  }
  .sec02 .img_wrap .btn_copy_tag {
    position: absolute;
    right: 7%;
    top: 77%;
    width: 27%;
    height: 10%;
  }
  .sec02 .btn_step02 {
    display: block;
    margin: 15px auto 12px;
    width: 58.7%;
  }
  .sec02 .caution_title p {
    color: #161515 !important;
  }
  .sec02 .caution_list li {
    font-size: 26px !important;
    line-height: 50px !important;
    color: #161515 !important;
  }
  .sec02 .caution_list li:before {
    top: 24px !important;
    background-color: #161515 !important;
  }

  .sec03 {
    padding-bottom: 50px;
    background-color: #4b8300;
  }
  .sec03 .btn_wrap {
    padding: 0 18px;
    display: flex;
    justify-content: center;
    gap: 18px;
  }

  .sec04 {
    background-color: #f2f2c8;
  }
  .sec04 .evt_gift_swiper_wrap {
    box-sizing: border-box;
  }

  .sec04 .evt_gift_swiper {
    margin-bottom: 1.5rem;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .sec04 .evt_gift_swiper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
  }

  .caution_box {
    padding: 30px 0 45px;
    margin: 0 auto;
    text-align: left;
    max-width: 670px;
  }

  .caution_title {
    display: flex;
    justify-content: space-between;
  }

  .caution_title p {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f0d0d;
  }

  .caution_title>p>img {
    width: 1.125rem;
  }

  .caution_title button {
    width: 24px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
  }

  .caution_title button.active {
    transform: rotate(180deg);
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 16px;
  }

  #caution_txt li span {
    font-size: 14px;
    line-height: 25px;
    color: #0f0c0c;
    letter-spacing: -0.5px;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 2px;
    height: 2px;
    background-color: #0f0c0c;
    border-radius: 50%;
  }

  .evtDetailBtn {
    width: 20%;
    min-width: 240px;
  }

}

/* 5월 활짝 페스타 */
.festa_may_event {
  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    margin: 0 auto;
  }

  .btn_share {
    position: absolute;
    right: 30px;
    top: -20px;
    max-width: 56px;
    width: 10%;
  }

  .sec01 {
    padding-top: 32px;
    position: relative;
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250414_festaMayEvent/01_main_bg.png') no-repeat center top/cover;
  }
  
  .sec01 .btn_letter {
    margin: 5.4% auto 50px;
    display: block;
    text-align: center;
  }

  .sec01 .btn_letter img {
    width: 82%;
  }

  .sec01 .letter {
    margin-top: 35px;
  }

  .sec02 {
    padding: 40px 0 0;
    background-color: #ffe9a9;
  }

  .sec02 .caution_box {
    padding: 45px 0 35px;
  }

  .sec02 .evt_gift_swiper_wrap {
    margin: 40px 0 0;
  }
  .sec02 .evt_gift_swiper_wrap .evt_gift_swiper {
    padding: 0 20px;
  }
  .sec02 .evt_gift_swiper_wrap .swiper-button-prev,
  .sec02 .evt_gift_swiper_wrap .swiper-button-next {
    width: 7%;
    max-width: 40px;
    min-width: 20px;
    transform: translateY(-50%);
  }

  .sec03 {
    padding: 30px 0 36px;
    background-color: #fbb747;
  }
  .sec03 .btn_wrap {
    margin: 24px 36px 0;
    display: flex;
    justify-content: center;
    gap: 8px;
  }

  .banner_01 {
    display: block;
    background-color: #83d358;
  }

  .banner_02 {
    background-color: #f96ac6;
  }

  .banner_03 {
    display: block;
    background-color: #f46700;
  }

  .banner_04 {
    background-color: #5571ff;
  }

  .caution_box {
    padding: 20px 0 24px;
    margin: 0 auto;
    text-align: left;
    max-width: 670px;
  }

  .caution_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .caution_title p {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #171616;
  }

  .caution_title>p>img {
    width: 1.125rem;
  }

  .caution_title button {
    display: inline-block;
    width: 8px;
    height: 5px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
  }

  .caution_title button.active {
    transform: rotate(180deg);
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 14px;
    color: rgba(25, 25, 25, 0.8);
  }

  #caution_txt li span {
    font-size: 14px;
    line-height: 25px;
    color: rgba(25, 25, 25, 0.8);
    letter-spacing: -0.5px;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 11px;
    width: 2px;
    height: 2px;
    background-color: rgba(25, 25, 25, 0.8);
    border-radius: 50%;
  }

  .evtDetailBtn {
    margin-top: 15px;
    width: 31%;
    min-width: 240px;
  }
}

/* 250514 6월 북크닉 이벤트 */
.booknic_event {
  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;

    img {
      max-width: 750px;
      margin: 0 auto;
    }
  }

  .sec01 {
    padding: 30px 0 0 !important;
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250523_booknic/pc_bg.png') no-repeat center bottom !important;
    background-size: auto 100% !important;
  }
  .sec01 .img {
    display: block;
    padding-bottom: 15px;
  }

  .sec02 {
    padding: 60px 0 0;
    background-color: #f7a13c;
  }

  .sec03 {
    padding: 43px 0;
    background-color: #b3d8f2;
  }

  .btn_share {
    position: absolute;
    right: 4%;
    top: -7px;
  }

  .circle_box_wrap {
    position: relative;
    width: 100%;
    max-width: 750px;
  }
  .circle_box_wrap .circle_box:hover {
    animation-play-state: paused;
  }

  .circle_box {
    position: absolute;
    display: block;
    width: 100%;
  }

  .circle_box img {
    width: 100%;
    height: auto;
    display: block;
    max-width: none;
  }

  .circle_box:nth-child(1) {
    left: -9%;
    top: 42%;
    animation: moveY 1s ease-in-out 0s infinite alternate;
    max-width: 56.67%;
  }
  .circle_box:nth-child(2) {
    left: auto;
    right: 4%;
    top: 46%;
    animation: moveDiagonal01 1s ease-in-out 0s infinite alternate;
    max-width: 40.94%;
  }
  .circle_box:nth-child(3) {
    left: 18%;
    top: 70%;
    animation: moveY 1s ease-in-out 0s infinite alternate;
    max-width: 36.54%;
  }
  .circle_box:nth-child(4) {
    left: auto;
    right: 14%;
    top: 74%;
    animation: moveDiagonal02 1s ease-in-out 0s infinite alternate;
    max-width: 36.14%;
  }

  .btn_join_wrap {
    margin: 32px 0 0;
  }

  .banner_01 {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #83d358;
  }

  .banner_02 {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #f96ac6;
  }

  .banner_03 {
    display: block;
    width: 100%;
    text-align: center;
    background-color: #5571ff;
  }

  .sec02 .img_02 {
    margin-top: 28px;
  }

  .sec02 .caution_title p {
    mix-blend-mode: hard-light;
  }

  .sec03 .caution_box {
    padding: 36px 0 0 !important;
  }

  .sec03 #caution_txt li span {
    color: #666 !important;
  }

  .sec03 .evt_gift_swiper_wrap {
    margin: 40px auto 30px;
  }

  .sec03 .evt_gift_swiper_wrap .evt_gift_swiper {
    padding: 0 20px;
  }

  .sec03 .evt_gift_swiper_wrap .swiper-button-prev,
  .sec03 .evt_gift_swiper_wrap .swiper-button-next {
    width: 7%;
    max-width: 40px;
    min-width: 20px;
    transform: translateY(-50%);
  }

  .caution_box {
    padding: 60px 0 26px;
    margin: 0 auto;
    text-align: left;
    max-width: 670px;
  }

  .caution_title {
    display: flex;
    justify-content: space-between;
  }

  .caution_title p {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #333;
  }

  .caution_title>p>img {
    width: 1.125rem;
  }

  .caution_title button {
    width: 24px;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
  }

  .caution_title button.active {
    transform: rotate(180deg);
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 16px;
  }

  #caution_txt li span {
    font-size: 14px;
    color: #212121;
    line-height: 25px;
    letter-spacing: -0.05em;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 2px;
    height: 2px;
    background-color: #212121;
    border-radius: 50%;
  }
}
@keyframes moveY {
  0% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(10px);
  }
}

@keyframes moveDiagonal01 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-10px, 10px);
  }
}

@keyframes moveDiagonal02 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-10px, 10px);
  }
}
/* // 250514 6월 북크닉 이벤트 */

/* 앱전용 0일 꿀혜택 이벤트 */
.zero_day_event {
  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    margin: 0 auto;
  }

  .btn_share {
    position: absolute;
    right: 4%;
    top: -20px;
    max-width: 56px;
    width: 10%;
    border: none;
  }

  .sec01 {
    padding-top: 32px;
    position: relative;
    background-color: #4172ff;
  }

  .sec01 .evt_inner {
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250516_zeroday/01_main_bg.png') no-repeat center top;
    background-size: cover;
  }

  .sec01 .img_01 {
    margin-top: 9%;
    position: relative;
  }
  .sec01 .btn_wrap {
    position: absolute;
    left: 50%;
    top: 38%;
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: translateX(-50%);
  }
  .sec01 .btn_wrap .btn {
    border: none;
  }
  .sec01 .btn_wrap .btn:nth-child(2) {
    margin: 3% 0 6.5%;
  }

  .sec01 .btn_wrap .btn img {
    max-width: none;
  }
  .sec01 .btn_wrap .btn img.on {
    display: none;
  }
  .sec01 .btn_wrap .btn.selected img.default {
    display: none;
  }
  .sec01 .btn_wrap .btn.selected img.on {
    display: block;
  }

  .caution_box {
    padding-bottom: 50px;
  }

  .caution_title p {
    font-size: 17px;
    color: #fff;
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    margin-bottom: 0;
    padding-left: 14px;
    color: #fff;
  }

  #caution_txt li span {
    font-size: 12px;
    line-height: 25px;
    color: #fff;
    letter-spacing: -0.5px;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 12px;
    width: 2px;
    height: 2px;
    background-color: #fff;
    border-radius: 0;
  }

  .caution_box .caution_title button {
    width: 10px;
    height: auto;
  }

  .bottom_line {
    background-color: #265eff;
  }
}
/* // 앱전용 0일 꿀혜택 이벤트 */

/* 250612 7월 그림책이참좋아 영풍문고 */
.picture_book_event {
  padding-bottom: 60px !important;

  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    margin: 0 auto;
  }

  .btn_share {
    position: absolute;
    right: 42px;
    top: 20px;
    max-width: 56px;
    width: 10%;
    border: none;
  }

  .sec01 {
    padding-bottom: 20px !important;
    background: url('https://cdn.ypbooks.co.kr/ypbooks/event/250616_pictureBook/01_main_bg.png') no-repeat 50% 100% #68d6e1;
    /* background-size: 535% 100%; */
    background-size: 4000px 100% !important;
  }

  @media (max-width: 750px) {
    .sec01 {
      background-size: 535% 100% !important;
    }
  }

  .sec01 .main_tit {
    padding-top: 0;
  }

  /* 작가별 메인 도서표지 swiper */
  .evt_author_swiper_w {
    margin-top: 0 !important;
    position: relative;
    padding: 0 30px;
    box-sizing: border-box;
  }

  .evt_author_swiper_w .evt_author_swiper {
    padding: 0;
  }

  .evt_author_swiper_w .btn_wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 30px;
    transform: translate(-50%, -50%);
  }

  .evt_author_swiper_w .btn_wrap button {
    position: absolute;
    left: 10px;
    display: block;
    z-index: 1;
    border: none;
  }
  .evt_author_swiper_w .btn_wrap button:disabled {
    background-color: transparent !important;
  }
  .evt_author_swiper_w .btn_wrap button img {
    width: 8px;
  }

  .evt_author_swiper_w .btn_wrap .author_next {
    left: auto;
    right: 10px;
  }

  .evt_author_swiper {
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
  }

  .evt_author_swiper .swiper-wrapper {
    align-items: center;
    /* height: 400px; */
    height: 340px;
  }

  .evt_author_swiper .swiper-slide {
    width: auto;
    height: auto;
  }

  .evt_author_swiper .swiper-slide .img_txt_wrap {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease;
  }

  .evt_author_swiper .swiper-slide .img {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    max-width: 86%;
    /* aspect-ratio: 1 / 1.295; */
    aspect-ratio: 0.9 / 1.2;
    border-radius: 10px;
    overflow: hidden;
    transition: max-width 0.4s ease, height 0.4s ease, border-radius 0.4s ease;
    box-sizing: border-box;
    border-color: transparent;
  }

  .evt_author_swiper .swiper-slide .txt {
    margin-top: 13px;
    display: block;
  }

  .evt_author_swiper .swiper-slide .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .evt_author_swiper .swiper-slide .txt img {
    width: 70%;
    object-fit: contain;
  }

  .evt_author_swiper .swiper-slide .img:after,
  .evt_author_swiper .swiper-slide.soon .img:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: background-color 0.4s ease;
    box-sizing: border-box;
  }

  .evt_author_swiper .swiper-slide.soon .img_txt_wrap {
    cursor: default;
  }

  .evt_author_swiper .swiper-slide.soon .img:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 28%;
    background-size: contain !important;
    background: url('https://cdn-qa.ypbooks.co.kr/ypbooks/event/250616_pictureBook/rolling/01_main/coming_soon.png') no-repeat 50% 50%;
    z-index: 1;
  }

  .evt_author_swiper .swiper-slide-active .img {
    max-width: 100%;
    border: 4px solid #fff;
  }

  .evt_author_swiper .swiper-slide-active .img:after {
    background-color: transparent;
  }

  /* 작가 소개 내 책 swiper */
  .author_content {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .author_content {
    display: none !important;
  }
  .author_content.show {
    display: flex !important;
  }

  .author_content .sub_con_01 {
    position: relative;
    padding: 50px 0 40px;
    background-color: #e9f7d0;
    box-sizing: border-box;
  }

  .author_content .sub_con_01 .circle:nth-child(1) {
    position: absolute;
    right: 0;
    top: 0;
    width: 30%;
  }

  .author_content .sub_con_01 .circle:nth-child(2) {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 45%;
  }

  .author_content .sub_con_01 .writer_tit {
    margin: 0 auto 20px;
    width: 80%;
  }

  .author_content .sub_con_01 .btn_move {
    margin-top: 35px;
  }

  .author_content .evt_author_book_swiper_w {
    position: relative;
    margin: 15px auto 0;
    padding: 0 40px;
    box-sizing: border-box;
  }

  .author_content .evt_author_book_swiper_w .btn_wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 16px;
    transform: translate(-50%, -50%);
  }

  .author_content .evt_author_book_swiper_w .btn_wrap button {
    position: absolute;
    left: 10px;
    display: block;
    height: 16px;
  }

  .author_content .evt_author_book_swiper_w .btn_wrap button:disabled {
    color: transparent !important;
    background: transparent !important;
  }

  .author_content .evt_author_book_swiper_w .btn_wrap button img {
    width: 8px;
  }

  .author_content .evt_author_book_swiper_w .btn_wrap .btn_next {
    left: auto;
    right: 10px;
  }

  .author_content .evt_author_book_swiper {
    position: relative;
    overflow: hidden;
  }

  .author_content .evt_author_book_swiper .swiper-slide {
    width: auto;
  }

  .author_content .evt_author_book_swiper .swiper-slide img {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
    aspect-ratio: 1 / 1.25;
    object-position: 50% 0;
  }

  .author_content .evt_author_book_swiper .img_wrap {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .author_content .evt_author_book_swiper .img_wrap:before {
    opacity: 0;
    visibility: hidden;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .author_content .evt_author_book_swiper .img_wrap .txt {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 0;
    top: 0;
    padding: 16px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    text-align: center;
    word-break: keep-all;
    box-sizing: border-box;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .author_content .evt_author_book_swiper .img_wrap:hover:before {
    opacity: 1;
    visibility: visible;
    ;
  }

  .author_content .evt_author_book_swiper .img_wrap:hover .txt {
    opacity: 1;
    visibility: visible;
  }

  .author_content .sub_con_02 {
    order: 2;
    padding: 35px 0 24px;
    background-color: #fffdea;
  }

  .author_content .sub_con_02 .youtube_wrap {
    margin: 28px 37px 6px;
  }

  .author_content .sub_con_02 iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 24px 0 rgba(30, 29, 27, 0.06);
  }

  .author_content .sub_con_02 .file_area {
    position: relative;
  }

  .author_content .sub_con_02 .file_area .right {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
  }

  .author_content .sub_con_02 .file_area .right p:nth-child(2) {
    margin-top: 40px;
  }

  .author_content .sub_con_02 .btn_download {
    position: absolute;
    right: 6.7%;
    bottom: 16%;
    width: 48.8%;
    height: 30%;
  }

  .author_content .sub_con_03 {
    order: 1;
    padding: 30px 0 48px;
    background-color: #e9e8f6;
  }

  .author_content .sub_con_03 .img_02 {
    margin-top: 38px;
  }

  .author_content .sub_con_03 .img_03 {
    position: relative;
    margin: 36px 0 18px;
    width: 100%;
    height: 81px;
  }

  .author_content .sub_con_03 .btn_program {
    position: absolute;
    left: 50%;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: 67%;
    transform: translateX(-50%);
    border-radius: 18px;
    overflow: hidden;
    z-index: 1;
  }

  .author_content .sub_con_03 .img_03 img {
    position: absolute;
    left: 0;
  }

  .author_content .sub_con_03 .img_03 img.disabled {
    display: none;
  }

  .author_content .sub_con_03 .img_03.soon img.disabled {
    display: block;
  }

  .author_content .sub_con_03 .img_03.soon .btn_program {
    pointer-events: none;
  }

  .author_content .sub_con_04 {
    order: 0;
    padding: 30px 0 40px;
    background-color: #faf3f3;
  }

  .sub_con_04 .evt_gift_swiper_wrap {
    position: relative;
    margin: 40px 10px;
  }

  .sub_con_04 .evt_gift_swiper_wrap .evt_gift_swiper {
    position: relative;
    padding: 0 20px;
  }

  .sub_con_04 .evt_gift_swiper_wrap .swiper-button-prev,
  .sub_con_04 .evt_gift_swiper_wrap .swiper-button-next {
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
  }

  /* 에필로그 - 운영배포 후 css 반영하기*/
  &.epilogue {
    .sec01 {
      padding-bottom: 25px;
      background: url("https://cdn.ypbooks.co.kr/ypbooks/event/250616_pictureBook/01_main_bg_02.png") no-repeat 50% 0% #0e4d35;
    }

    .author_07 .sub_con_01 {
      padding: 10px 0 40px;
      background: url("https://cdn.ypbooks.co.kr/ypbooks/event/250616_pictureBook/02_main_bg_7.png") no-repeat 50% 0 #ffeacd;
    }
    .author_07 .evt_author_book_swiper_w {
      margin: 0 auto;
    }
    .author_07 .sub_con_01 .writer_tit {
      margin-bottom: 0;
    }
    .author_07 .sub_con_01 .btn_move {
      margin-top: 24px;
    }
    .author_07 .sub_con_04 .evt_gift_swiper_wrap {
      position: relative;
      margin: 0 auto 40px;
    }
    .author_07 .evt-slide--wrap {
      margin: 0 auto !important;
    }
    .author_07 .sub_con_02 {
      padding: 15px 0 50px;
      background-color: #ffebe6;
    }
    .author_07 .sub_con_03 {
      padding: 0 0 20px;
      background-color: #ecffe3;
    }
    .author_07 .sub_con_03 .img_02 {
      margin-top: 0;
    }
    .author_07 .sub_con_04 {
      padding: 20px 0 48px;
      background-color: #ffebe6;
    }

    .evt_picture_swiper_w {
      padding: 0 20px;
      overflow: hidden;

      .swiper-slide {
        background-color: #282828;
      }
      .swiper-slide img {
        width: 100%;
        opacity: 0.6;
        transition: opacity 0.3s ease;
      }
      .swiper-slide.swiper-slide-active img {
        opacity: 1;
      }
    }
  }
  /* // 에필로그 */

  .caution_box .caution_title button img {
    width: 60%;
  }

  .caution_title p {
    font-size: 17px;
    color: #251e1e;
    font-weight: 700;
  }
  .caution_title p.flex {
    align-items: center;
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 7px;
  }

  #caution_txt li span {
    font-size: 12px;
    color: #151513;
    line-height: 25px;
    letter-spacing: -0.05em;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 2px;
    height: 2px;
    background-color: #151513;
    border-radius: 50%;
  }

  /* 신민재 작가 */
  .author_01 .sub_con_01 {
    background-color: #e9f7d0;
  }
  /* 쇼츠 비율 */
  .author_01 .sub_con_02 .youtube_wrap iframe {
    aspect-ratio: 1.59 / 2;
  }
  .author_01 .sub_con_03 .btn_program, 
  .author_02 .sub_con_03 .btn_program, 
  .author_03 .sub_con_03 .btn_program,
  .author_04 .sub_con_03 .btn_program,
  .author_05 .sub_con_03 .btn_program {
    pointer-events: none;
  }
  .author_01 .sub_con_03 .btn_program:after,
  .author_02 .sub_con_03 .btn_program:after,
  .author_03 .sub_con_03 .btn_program:after,
  .author_04 .sub_con_03 .btn_program:after,
  .author_05 .sub_con_03 .btn_program:after {
    content: '신청이 마감되었습니다.';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 32px;
    line-height: 80px;
    font-weight: 700;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    /* background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250623_summerJuly/01_main_bg.png") no-repeat 50% 50% #000; */
  }
  .author_01 .sub_con_03 .img_03 .default,
  .author_02 .sub_con_03 .img_03 .default,
  .author_03 .sub_con_03 .img_03 .default,
  .author_04 .sub_con_03 .img_03 .default,
  .author_05 .sub_con_03 .img_03 .default {
    display: none;
  }

  /* 유설화 작가 */
  .author_02 .sub_con_01 {
    background-color: #fbf8d2;
  }
  .author_02 .sub_con_02 iframe {
    aspect-ratio: 16 / 9;
  }
  .author_02 .sub_con_03 {
    background-color: #dff4ff;
  }

  /* 윤정주 작가 */
  .author_03 .sub_con_01 {
    background-color: #dff4ff;
  }
  .author_03 .sub_con_03 {
    background-color: #e2f7f0;
  }

  /* 김유진 작가 */
  .author_04 .sub_con_01 {
    .evt_author_book_swiper .img_wrap img {
      aspect-ratio: 1 / 1.302;
      /* object-position: 50% 30%; */
    }
  }
  .author_04 .sub_con_03 {
    background-color: #e0e9ff;
  }

  /* 김영진 작가 */
  .author_05 .sub_con_01 {
    background-color: #fcf5e4;
  }
  .author_05 .sub_con_03 {
    background-color: #e1e2f5;
  }
  
  /* 최숙희 작가 */
  .author_06 .sub_con_01 {
    background-color: #eefffb;
  }
  .author_06 .sub_con_03 {
    background-color: #ffffd5;
  }

  @media (max-width: 500px) {
    .evt_author_swiper .swiper-wrapper {
      height: 220px;
    }
    
    .evt_author_swiper .swiper-slide .txt img {
      width: 60%;
    }

    .author_content .evt_author_book_swiper .img_wrap .txt {
      font-size: 14px;
    }
    
    .author_content .sub_con_03 .btn_program {
      height: 50px;
    }

    .author_01 .sub_con_03 .btn_program:after,
    .author_02 .sub_con_03 .btn_program:after,
    .author_03 .sub_con_03 .btn_program:after,
    .author_04 .sub_con_03 .btn_program:after,
    .author_05 .sub_con_03 .btn_program:after {
      font-size: 18px;
      line-height: 50px;
    }
  }
}
/* // 250612 7월 그림책이참좋아 영풍문고 */

/* 250623 7월 썸머북캉스 이벤트 */
.summer_July_event {
  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    margin: 0 auto;
  }

  .btn_share {
    position: absolute;
    right: 5.3%;
    top: 3%;
    max-width: 56px;
    width: 10%;
    border: none;
  }

  .sec01 {
    padding-bottom: 25px;
    background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250623_summerJuly/01_main_bg.png") no-repeat 50% 0% #7fe1e4;
  }

  .sec01 .main_tit {
    padding-top: 30px;
  }

  /* 선풍기 룰렛 */
  .roulette_area {
    margin-top: 42px;
    height: min(90%, 686px) !important;
    min-height: 288px;
  }

  .roulette-container {
    /*
      position: absolute;
      left: 50%; 
      transform: translateX(-50%);
    */
    width: 100%;
    background: none;

    .roulette {
      margin: 0 auto;
      border: none;
      width: min(90%, 657px) !important;
      height: min(90%, 633px) !important;
      aspect-ratio: 1 / 1;
      background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250623_summerJuly/roulette/01_roulette_con_01.png") no-repeat 50% 50%;
      background-size: contain;
      overflow: visible;
    }

    .roulette_inner {
      position: relative;
      background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250623_summerJuly/roulette/01_roulette_con.png") no-repeat 50% 50%;
      background-size: contain;
    }

    .roulette-wacu {
      position: relative;
      background-repeat: no-repeat;
      /* background-size: 100%; */
      background-size: 90%;
      transform-origin: center;
    }

    .roulette-wacu>div {
      position: absolute;
      width: 50%;
      height: 50%;
      top: 50%;
      left: 50%;
      transform-origin: top left;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .roulette-wacu>div>p {
      font-size: 0;
    }

    .roulette-arrow {
      top: 8px;
      width: min(6%, 34px) !important;
      /* 
      position: absolute;
      top: -2px;
      left: 50%;
        width: 34px;
        height: 53px; 
        transform: translateX(-50%);
      */
    }

    .roulette_btn {
      width: min(24%, 160px) !important;
      display: block;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 6rem;
    }

    .roulette-arrow {
      border: none;
    }

    .roulette_btn {
      width: min(24%, 160px) !important;
      height: auto;
    }
  }

  .sec02 {
    padding: 40px 0;
    background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250623_summerJuly/02_gift_bg.png") no-repeat 50% 100% #eafff9;
  }
  .sec02 .evt_gift_swiper_wrap {
    position: relative;
    margin: 40px 10px;
  }

  .sec02 .evt_gift_swiper_wrap .evt_gift_swiper {
    padding: 0 20px;
  }

  .sec02 .evt_gift_swiper_wrap .swiper-button-prev,
  .sec02 .evt_gift_swiper_wrap .swiper-button-next {
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
  }

  .sec03 {
    padding: 50px 0 40px;
    background: #0097ff;
  }

  .sec03 .btn_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px 4%;
  }
  .sec03 .btn_wrap a {
    display: block;
    width: calc((100% / 2) - 40px);
    max-width: 360px;
  }
  .sec03 .btn_wrap img {
    width: 100%;
  }

  .bottom_banner_area {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .bottom_banner_area button {
    margin: 0 auto;
    padding: 0;
    display: block;
    text-align: center;
  }
  .bottom_banner_area button img {
    display: block;
  }

  .bottom_banner_area .banner_01 {
    background-color: #64d358;
  }

  .bottom_banner_area .banner_02 {
    background-color: #f96ac6;
  }

  .bottom_banner_area .banner_03 {
    background-color: #5571ff;
  }

  /*** caution ***/
  .caution_box .caution_title {
    align-items: center;
  }
  .caution_box .caution_title button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: auto;
    border: none;
  }
  .caution_box .caution_title button img {
    width: 60%;
    height: auto;
  }
  
  .caution_title p>img {
    width: 24px;
    margin-right: 6px;
  }

  .caution_title p {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 10px;
  }

  #caution_txt li span {
    font-size: 13px;
    line-height: 24px;
    letter-spacing: -0.05em;
    color: #666;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 2px;
    height: 2px;
    background-color: #666;
    border-radius: 50%;
  }
  @media (max-width: 750px) {
    .sec01 {
      background-size: 495%;
    }
  }
}
/* // 250623 7월 썸머북캉스 이벤트 */

/* 250714 럭키해빗 이벤트 */
.lucky_habit_event {
  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
  }

  .btn_share {
    position: absolute;
    right: 5.3%;
    top: 3%;
    max-width: 56px;
    width: 10%;
    border: none;
  }

  .sec01 {
    background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250714_luckyHabit/01_main_bg.png") no-repeat 50% 0% #0d9f0d;
  }

  .sec01 .main_tit {
    padding-top: 30px;
  }

  /* 카드 롤링 스와이퍼 */
  .card_swiper_w {
    padding: 35px 0 50px;
  }
  .card_swiper_w .swiper {
    overflow: visible;
  }
  .card_swiper_w .swiper-slide {
    width: auto !important;
  }
  .card_list .card {
    width: 230px;
    height: 304px;
    perspective: 1000px;
    border-radius: 18px;
  }
  .card_list .card img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    /* transition: transform 0.6s ease; */
    transform-style: preserve-3d;
  }
  .card_list .card img.default {
    opacity: 1;
    transform: rotateY(0);
  }
  .card_list .card img.active {
    opacity: 0;
    transition: transform 0.6s ease, opacity 0.3s ease;
    transform: rotateY(-180deg);
  }
  .card_list .card.flipped img.default {
    opacity: 0;
  }
  .card_list .card.flipped img.active {
    opacity: 1;
    transform: rotateY(0);
    transition: transform 0.6s ease;
  }
  .card_list .card.flipped + .btn_select {
    display: none;
  }
  .card_list .btn_select {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 1;
  }
  .card_list.swiper-slide-active .btn_select {
    opacity: 1;
  }

  
  .sec02 {
    padding: 140px 0 70px;
    background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250714_luckyHabit/02_main_bg.png") no-repeat 50% 0 #e2f8c2;
  }

  .sec02 .caution_wrap {
    padding: 70px 0 46px;
  }

  /* 럭키해빗 결과 */
  .result_con_w .tit {
    margin-bottom: 40px;
  }

  /* 행운의 책 */
  .result_book_swiper {
    margin: 0 auto;
    width: 100%;
    max-width: 750px;
    box-sizing: border-box;
    overflow: visible;
  }

  .result_book_swiper .swiper-wrapper {
    align-items: center;
  }

  .result_book_swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50% !important;
    flex-shrink: 0;
    min-height: 576px;
  }

  .result_book_swiper .swiper-slide .img {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    max-width: 86%;
    aspect-ratio: 0.65 / 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px 3px rgba(148, 164, 107, 0.78);
  }

  .result_book_swiper .swiper-slide .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .result_book_swiper .swiper-slide-active .img {
    max-width: 100%;
  }

  @media (max-width: 570px) {
    .result_book_swiper .swiper-slide  {
      min-height: 420px;
    }
  }
  @media (max-width: 430px) { 
    .result_book_swiper .swiper-slide {
      min-height: 350px;
    }
  }

  /* 행운적립금 당첨 팝업 */
  .result_popup {
    position: relative;
    margin: 35px auto 0;
  }
  .result_popup .img {
    margin: 0 auto;
  }
  .result_popup .book_btn {
    position: absolute;
    left: 50%;
    bottom: 13%;
    width: 90%;
    transform: translateX(-50%);
  }
  /* // 럭키해빗 결과 */

  .sec03 {
    padding: 35px 0;
    background: #fffbd3;
  }

  .sec03 .btn_wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px 4%;
  }
  .sec03 .btn_wrap a {
    display: block;
    width: calc((100% / 2) - 40px);
    max-width: 360px;
  }
  .sec03 .btn_wrap img {
    width: 100%;
  }
  .sec03 .evt_gift_swiper_wrap {
    position: relative;
    margin: 40px 10px;
  }

  .sec03 .evt_gift_swiper_wrap .evt_gift_swiper {
    padding: 0 20px;
  }

  .sec03 .evt_gift_swiper_wrap .swiper-button-prev,
  .sec03 .evt_gift_swiper_wrap .swiper-button-next {
    top: 55%;
    transform: translateY(-50%);
    width: 20px;
  }

  .sec03 .evt_gift_swiper_wrap .swiper-button-prev::after,
  .sec03 .evt_gift_swiper_wrap .swiper-button-next::after {
    display: none;
  }

  .bottom_banner_area {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .bottom_banner_area button {
    margin: 0 auto;
    padding: 0;
    display: block;
    text-align: center;
  }
  .bottom_banner_area button img {
    display: block;
  }

  .bottom_banner_area .banner_01 {
    background-color: #64d358;
  }

  .bottom_banner_area .banner_02 {
    background-color: #f96ac6;
  }

  .bottom_banner_area .banner_03 {
    background-color: #5571ff;
  }

  /*** caution ***/
  .caution_box {
    width: 90%;
    margin: 0 auto;
  }
  .caution_box .caution_title {
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  .caution_box .caution_title button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: auto;
    border: none;
  }
  .caution_box .caution_title button img {
    width: 60%;
    height: auto;
  }
  
  .caution_title p>img {
    width: 24px;
    margin-right: 6px;
  }

  .caution_title p {
    font-size: 20px;
    color: #333;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  #caution_txt {
    width: 100%;
    margin-top: 10px;
    padding-top: 10px;
    padding-left: 2px;
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 10px;
  }

  #caution_txt li span {
    font-size: 13px;
    line-height: 24px;
    letter-spacing: -0.05em;
    color: #666;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 2px;
    height: 2px;
    background-color: #666;
    border-radius: 50%;
  }
}
/* // 250714 럭키해빗 이벤트 */

/* 250806 sns 팔로우 이벤트 */
.follow_sns_event {
  /* padding-bottom: 0; */
  padding-bottom: env(safe-area-inset-bottom);

  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    margin: 0 auto;
    width: 100%;
  }
  
  .sec01 {
    position: relative;
    background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/250806_followEvent/01_insta_bg.png") no-repeat 50% 0 #127cff;
    background-size: cover;
  }

  .btn_share {
    position: absolute;
    right: 13px;
    top: 15px;
    width: 4%;
    min-width: 40px;
    z-index: 1;
  }

  .sec01 .main_tit {
    position: relative;
  }

  .sec01 .main_tit .btn_insta {
    position: absolute;
    left: 50%;
    bottom: 3%;
    width: 100%;
    transform: translateX(-50%);
  }

  .sec01 .upload_area {
    margin: 20px 0 36px;

    .upload_label {
      position: relative;
      display: inline-block;
      width: 100%;
      max-width: 80%;
      overflow: hidden;
      border: 2px dashed #fff;
      border-radius: 14px;
      z-index: 1;
      cursor: pointer;
    }
    
    .upload_label:after {
      content:'';
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 26, 58, 0.6);
      overflow: hidden;
      z-index: -1;
    }

    .preview_img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      z-index: -1;
    }
    .preview_img img {
      object-position: 0 -40px;
    }
  }

  /* 응모하기 */
  .btn_wrap {
    margin: 0 auto;
    padding: 32px 0 40px;
  }
  .btn_wrap .btn_apply {
    width: 72%;
    max-width: 467px;
  }

  /*** caution ***/
  .caution_box {
    width: 90%;
    margin: 0 auto;
  }
  .caution_box .caution_title {
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }
  .caution_box .caution_title button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: auto;
    border: none;
  }
  .caution_box .caution_title button img {
    width: 60%;
    height: auto;
  }
  
  .caution_title p>img {
    width: 16px;
    margin-right: 6px;
  }

  .caution_title p {
    font-size: 16px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  #caution_txt {
    padding: 0;
    width: 100%;
    margin-top: 10px;
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 0;
  }

  #caution_txt li span {
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    line-height: 20px;
    letter-spacing: -0.02em;
    text-indent: unset;
    word-spacing: normal;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 2px;
    height: 2px;
    background-color: #fff;
    border-radius: 50%;
  }
}
/* // 250806 sns 팔로우 이벤트 */

/* 251117 동탄롯데점 스탬프 이벤트 */
.stamp_event {
  padding-bottom: 60px;

  .wrapper {
    position: relative;
  }

  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    width: 100%;
  }

  .sec01 {
    padding-bottom: 40px;
    background: url("https://cdn-qa.ypbooks.co.kr/ypbooks/event/251114_stampChallenge/00_start_bg.png") no-repeat center top #ff6716;
    background-size: cover;
  }

  .stamp_area {
    position: relative;
  }

  .btn_stamp {
    position: absolute;
    left: 50%;
    bottom: 19%;
    width: 100%;
    transform: translateX(-50%);
  }

  .caution_box {
    padding: 40px 0;
  }
}
/* // 251117 동탄롯데점 스탬프 이벤트 */

/* 251105 연말 기부 이벤트 눈송이 효과 */
.booktree_event {
  padding-bottom: 60px;

  .wrapper {
    position: relative;
  }

  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }

  img {
    max-width: 750px;
    width: 100%;
  }

  .sec01 {
    padding-bottom: 40px;
    background: url("https://cdn.ypbooks.co.kr/ypbooks/event/251106_bookTree/01_main_bg.png") no-repeat center bottom/cover;

    .btn_share {
      position: absolute;
      top: 16px;
      right: 4px;
      width: 30px;
      z-index: 10;
    }

    .btn_popup_open {
      margin-top: 20px;
    }

    .tree {
      margin-top: -38%;
      
      img {
        width: 90%;
      }
    }

    .count_wrap {
      position: relative;
      margin: 66px auto 0;
    }
    
    .count_wrap .count_num {
      position: absolute;
      left: 51%;
      top: 50%;
      transform: translateY(-50%);
      width: 100%;
      max-width: 21%;
      word-break: break-all;
      font-size: 1.625rem;
      line-height: 1;
      font-weight: 700;
      color: #041b3e;
      text-align: right;
      letter-spacing: -0.01em;
    }
  }

  .sec02 {
    padding: 50px 0 65px;
    background: url("https://cdn.ypbooks.co.kr/ypbooks/event/251106_bookTree/02_con_bg.png") no-repeat center bottom/cover;

    p:nth-child(2) {
      margin-top: 36px;
    }

    .btn_link_wrap {
      position: relative;
      margin: 23px auto 0;
      width: 100%;
      max-width: 750px;
    }
    .btn_link {
      position: absolute;
      left: 47%;
      bottom: 10%;
      width: 24%;
      max-width: 176px;
    }
  }

  /* 사은품 */
  .sec03 { 
    padding: 50px 0; 
    background: url("https://cdn.ypbooks.co.kr/ypbooks/event/251106_bookTree/03_message_bg.png") no-repeat center bottom/cover;
  }

  .sec04 {
    position: relative;
    z-index: 2;

    .bg_inner {
      position: relative;
      padding: 50px 0;
      background: url("https://cdn.ypbooks.co.kr/ypbooks/event/251106_bookTree/04_gift_bg_bottom.png") no-repeat;
      background-position: center bottom;
      background-size: 550%;
      z-index: 2;
    }
  }
  .sec04:before {
    content:'';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url("https://cdn.ypbooks.co.kr/ypbooks/event/251106_bookTree/04_gift_bg_top.png") no-repeat #1a7332;
    background-position: center top;
    background-size: 550%;
    z-index: 1;
  }

  .evt_gift_swiper_wrap {
    margin-top: 25px;
  }
  .sec04 .evt_gift_swiper {
    margin-bottom: 1.5rem;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .sec04 .evt_gift_swiper .swiper-slide {
    border-radius: 10px;
    overflow: hidden;
  }

  /* 응원하기 팝업 */
  .popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }

  .popup_content {
    position: relative;
    width: 80%;
    max-width: 750px;
    overflow-y: unset !important;
    border-radius: 6px;
  }

  .holiday_popup .popup_content {
    max-width: 480px;
  }

  .holiday_popup .btn_popup_close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 1;
    margin-bottom: 0;
    width: auto;
  }

  .holiday_popup .btn_popup_close img {
    width: 80%;
  }

  .holiday_popup .tit {
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 22px; 
    color: #333;
    font-weight: 500; 
    letter-spacing: -0.04em;
  }

  .holiday_popup .tit .point_red {
    color: #e43535; 
    font-weight: 700;
  }

  .holiday_popup textarea, .holiday_popup pre {
    padding: 14px 16px; 
    width: 100%; 
    height: 120px; 
    font-size: 0.75rem; 
    font-weight: 400; 
    line-height: 18px; 
    letter-spacing: -0.04em; 
    border: 1px solid #ccc; 
    border-radius: 10px; 
    box-sizing: border-box; 
    resize: none;
  }

  .holiday_popup pre {
    height: auto;
    margin: 0 auto;
    white-space: pre-wrap;
    font-family: 'Pretendard';
    font-weight: 500;
  }

  .holiday_popup textarea:focus, .holiday_popup pre:focus {
    border-color: #ccc !important; outline: none !important;
  }

  .holiday_popup textarea::placeholder {
    color: #c7c7c7 !important;
  }

  .holiday_popup textarea::-webkit-scrollbar, .popup-detail pre::-webkit-scrollbar {
    display: none;
  }

  .holiday_popup .message_wrap {
    padding: 50px 15px 26px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
  }
  .holiday_popup .message_wrap .small_tree {
    position: absolute;
    left: 50%;
    top: -51px;
    transform: translateX(-50%);
    width: auto;
    width: 21%;
    max-width: 68px;
    min-width: 68px;
  }

  .holiday_popup .share_message_wrap {
    border-radius: 6px;
    overflow: hidden;
  }

  .holiday_popup .btn_submit_message {
    margin-top: 10px;
  }

  .holiday_popup .share_message_wrap .btn_wrap {
    position: absolute;
    left: 50%;
    bottom: 4%;
    width: 100%;
    padding: 0 8%;
    transform: translateX(-50%);
    justify-content: center;
    display: flex;
    gap: 7%;
    box-sizing: border-box;
  }

  .holiday_popup .share_message_wrap .btn_share_link {
    width: auto;
  }

  /* 유의사항 */
  .caution_box {
    padding: 16px 0 60px;
    margin: 0 auto;
    text-align: left;
    max-width: 670px;
  }

  .caution_title {
    display: flex;
    justify-content: space-between;
  }

  .caution_title p {
    display: inline-flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #e5ffec;
  }

  .caution_title>p>img {
    width: 1.125rem;
  }

  .caution_title button {
    width: auto;
    transform: rotate(180deg);
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
  }

  .caution_title button.open {
    transform: rotate(0deg);
  }

  .caution_title button.open img {
    transform: none;
  }

  #caution_txt {
    border-top: none;
  }

  #caution_txt li {
    position: relative;
    padding-left: 16px;
  }

  #caution_txt li span {
    font-size: 14px;
    line-height: 25px;
    color: #e5ffec;
    letter-spacing: -0.5px;
    text-indent: unset;
  }

  #caution_txt li:before {
    content: '';
    position: absolute;
    left: 6px;
    top: 10px;
    width: 2px;
    height: 2px;
    background-color: #e5ffec;
    border-radius: 50%;
  }

  /* 모바일 무한롤링 */
  .rolling-area {
    position: relative;
    overflow: hidden;
    padding-top: 30px;
  }

  .rolling-track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marquee 50s linear infinite;
  }

  .rolling-list {
    display: flex;
  }

  .rolling-list li {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 226px;
    max-width: 226px;
    box-sizing: border-box;
  }

  .rolling-list li img {
    display: block;
    width: 226px;
    height: auto;
  }

  .rolling-list li .txt {
    position: absolute;
    left: 50%;
    top: 50%;
    padding: 0 18px 0 10px;
    width: 77%;
    transform: translate(-50%, -50%);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5625rem;
    letter-spacing: -0.04em;
    box-sizing: border-box;
    word-break: break-all;
    cursor: default;
    /* 5줄 말줄임 */
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
  }

  .rolling-list li .name {
    position: absolute;
    left: 50%;
    bottom: 20%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.5rem;
    color: #333;
    font-family: 'Roboto';
  }

  /* 이벤트 하단 배너 */
  .banner_area .banner_01 {
    background-color: #930000 !important;
  }
}

/* 화면 전체 덮는 눈 레이어 */
.global-snow {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

/* 개별 눈송이 */
.global-snow .snowflake {
  position: absolute;
  top: -10%;
  left: 0;
  color: #fff;
  text-shadow: 0 0 1px #000;
  user-select: none;
  cursor: default;
  animation-name: snowflake-fall, snowflake-shake;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
}

/* 무한롤링 */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .rolling-track { animation: none !important; transform: none !important; }
}

@keyframes snowflake-fall {
  0% {
    top: -10%;
  }
  100% {
    top: 100%;
  }
}
@keyframes snowflake-shake {
  0%,
  100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(80px);
  }
}

/* 260623 7월 썸머 잭팟 이벤트 : s */
.summer_jackpot_event {
  .evt_inner {
    position: relative;
    max-width: 750px;
    margin: 0 auto;
  }
  .caution_box {
    padding: 20px 0 24px;
    margin: 0 auto;
    text-align: left;
    max-width: 670px;
    
    #caution_txt li {
      position: relative;
      padding-left: 10px;
    }

    #caution_txt li span {
      font-size: 13px;
      line-height: 24px;
      letter-spacing: -0.05em;
      color: #666;
      text-indent: unset;
    }

    &.wht {
      #caution_txt {
        border-color: rgba(255,255,255,0.2);
      }
      .caution_title p,
      #caution_txt li span {
        color: #fff;
      }
      #caution_txt li::before {
        background-color: #fff;
      }
    }
  }
  .sec01 {
    background: url('https://cdn-qa.ypbooks.co.kr/ypbooks/event/260622_summerJackpot/01_main_bg.jpg') no-repeat center top / cover;
    
    .btn_share {
      position: absolute;
      top: 10px;
      right: 20px;
      width: 35px;
    }
  }
  .sec03 {
    .benefit:not(.benefit_04) {
      padding-bottom: 35px;
    }
    .benefit_01 {
      background-color: #f1f4f7;
    }
    .benefit_03 {
      background-color: #edf6ff;
    }

    .detail-btn button {
      font-size: 14px;
      font-weight: 500;
      color: #24282c;
      text-decoration: underline;
    }
  }
  .sec04 {
    background: #0072ff url('https://cdn.ypbooks.co.kr/ypbooks/event/260622_summerJackpot/07_main_bg.png') no-repeat center top / 537%;
    padding-bottom: 50px;

    .benefit {
      position: relative;
      margin-top: -2%;
      
      .detail-btn {
        position: absolute;
        bottom: 14%;
        left: 50%;
        transform: translateX(-50%);
        font-size: 14px;
        color: #3c3c3c;
        text-decoration: underline;
      }

      &.benefit05 .detail-btn {
        bottom: 32%;
      }
    }
  }
}
/* 260623 7월 썸머 잭팟 이벤트 : e */

/* 네이버페이 템플릿 */
.npay_event_wrap {
  .evt_tit_wrap {
    margin-top: 16px;
  }
  .sec_tit {
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: #222;
  }
  .sec_txt {
    font-size: 32px;
    font-weight: 600;
    color: #222;
  }
  .sec_txt strong {
    font-size: 34px;
    font-weight: 700;
    color: #222;
  }
  .sec_txt span.i {
    font-size: 32px;
    font-weight: 300;
    font-style: italic;
  }
  .sec_txt span.unit {
    font-size: 29px;
    font-weight: 300;
  }
  .date {
    margin: 19px 0 5px;
    font-size: 14px;
    color: #222;
    font-weight: 600;
    font-family: 'Futura PT', sans-serif;
  }
  .date span {
    font-size: 12px;
    font-weight: 500;
    line-height: 26px;
    letter-spacing: -0.02em;
    color: #aaa;
  }

  .npay_logo {
    margin-top: 6px;
    width: 70px;
    height: auto;
  }

  .dot_txt {
    padding-left: 12px;
  }

  .event_02 {
    .sec_tit {
      font-size: 27px;
      line-height: 43px;
    }
    .sec_txt {
      line-height: 40px;
      letter-spacing: -0.04em;
    }
    .sec_txt strong {
      font-weight: 600;
      line-height: 40px;
    }
    .sec_txt span.unit {
      line-height: 40px;
      font-weight: 400;
    }
  }

  /* 유의사항 */
  .caution_wrap {
    padding: 25px 18px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-color: #f1f1f1;
  }
  .caution_title {
    width: auto;
  }
  .caution_title p {
    font-size: 15px;
    font-weight: 600;
    color: #606060;
    letter-spacing: -0.02em;
  }
  .caution_title img {
    margin-right: 0;
    width: auto;
  }
  .caution_list .point {
    color: #f32a2a;
  }
  .caution_list p {
    font-size: 14px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: -0.02em;
    color: #595959;
  }
}


@media screen and (max-width: 768px) {
  .npay_event_wrap .caution_wrap {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}



/* 260702 7월 찌글이 새학기 이벤트 폰트 추가 */
@font-face {
    font-family: 'NostalgicCocochoitoon';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2601-1@1.0/Griun_Cocochoitoon-Rg.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}

.newsemester_event {
  position: relative;

  .btn_share {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 30px;
  }

  .evt_inner {
    position: relative;
    margin: 0 auto;
    width: 100%;
  }

  .evt-detail {
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }
  /* 스와이퍼 */
  .evt_slide_wrap {
    position: relative;
    width: 90%;
    margin: 0 auto;
  }
  .swiper-button-prev {
    width: 30px;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
  }
  .swiper-button-next {
    width: 30px;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 0;
  }

  #caution_txt {
    text-align: left;
    color: rgba(0,0,0,0.8);

    strong {
      font-size: 13px;
      font-weight: 500;
      margin-top: 10px;
    }
    p {
      font-size: 13px;
      line-height: 26px;
      margin-top: 10px;
    }
  }

  /* 공유하기 팝업 */
  .popup-detail {
    position: relative;

    .share_sns_wrap {
      display: inline-flex;
      gap: 20px;
      width: 80%;
    }

    .layer__top {
      padding: 16px 20px;
      justify-content: space-between;

      .layer__type {
        font-size: 1.3rem;
      }
    }

    .popup-content {
      border-radius: 0;
      /* overflow-y: scroll; */
      /* aspect-ratio: 1/1; */
      border-radius: 0 0px 6px 6px;

      img {
        max-height: unset;
      }
    }

    .popup-content::-webkit-scrollbar {
      display: none;
    }
  }

  .sec01 {
    background: #7dc07d url("https://cdn.ypbooks.co.kr/ypbooks/event/260703_newsemester/01_main_bg.png") no-repeat center top / 530%;

    .author_info {
      position: relative;

      .evt_author_swiper_wrap {
        position: absolute;
        top: 7%;
        left: 50%;
        transform: translateX(-50%);
        width: 65%;

        .evt_author_slide {
          position: relative;
        }
        .swiper-slide {
          position: relative;
          width: 100%;
          padding-bottom: 100%;

          img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        .author_pagination {
          margin-top: 10px;

          span {
            width: 10px;
            height: 10px;
            background-color: #c5cad0;
            margin: 0 4px;

            &.swiper-pagination-bullet-active {
              background-color: #4e5ff6;
            }
            &::after {
              display: none;
            }
          }
        }
        
        .swiper-button-prev {
          width: 50px;
          left: -25px;
        }
        .swiper-button-next {
          width: 50px;
          right: -25px;
        }
      }
      .author_instagram {
        position: absolute;
        bottom: 13.5%;
        right: 10%;
        width: 40%;

        a {
          font-size: clamp(13px, 3vw, 30px);
          font-weight: 500;
          text-decoration: underline;
          color: #4232eb;
        }
        .btn_arrow img {
          width: clamp(6px, 1.5vw, 15px);
          vertical-align: middle;
          margin: -2px 0 0 2px;
        }
      }
    }
  }

  .sec02 {
    background: #fffadc;

    .evt_template_swiper_wrap {
      width: 100%;
      margin: 0 auto;
      
      .swiper {
        width: 60vw;
        overflow: visible;
      }
      .swiper-slide {
        position: relative;
        border: 1vw solid #fff;
      }

      .template_content {
        position: relative;
        box-sizing: border-box;
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
        padding-bottom: 84vw;

        .text {
          position: absolute;
          top: 24.8vw;
          left: 0;
          width: 100%;

          p {
            font-family: 'NostalgicCocochoitoon';
            font-size: 2vw;
            color: #DD6D69;
            line-height: 5vw;

            &:nth-child(2) {
              margin-top: 8.7vw;
            } 
            &:nth-child(3) {
              margin-top: 8vw;
            } 
          }
        }
      }
    }

    .template_btn {
      display: flex;
      gap: 10px;
      margin: 0 6%;

      a, button {
        display: inline-block;
        flex: 1;
      }
    }
  }

  .sec03 {
    position: relative;
    margin-top: 30px !important;
    background-color: #edfdff;

    &::before {
      content: "";
      position: absolute;
      top: -60px;
      left: 0;
      width: 100%;
      height: 100%;
      background: url("https://cdn.ypbooks.co.kr/ypbooks/event/260703_newsemester/04_reward_bg.png") no-repeat center top / cover;
    }
  }

  .sec04 {
    background-color: #fbe4e4;
    padding-bottom: 50px;
  }

  .sec05 {
    background-color: #e7f4cd;
    padding-bottom: 50px;

    .caution_box {
      margin-top: 40px;
    }
  }
}

/* 나의 다짐 쓰기 팝업 */
.newsemester_popup {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 999 !important;

  .popup-detail {
    position: relative;
    width: 300px;
    max-height: 75vh;
    background: #f4e6e6;
    border-radius: 5px;
    margin: 0 auto;
    overflow: auto;
  }
  .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 20px;
    z-index: 10;
  }
  .popup_content {
    text-align: center;

    img {
      width: 100%;
    }
    
    &.write_popup {
      position: relative;
      padding-bottom: 40px;

      .write_area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 46% 5% 0 8%;
        box-sizing: border-box;
      }
      .resolution_text {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        margin-top: 10px;

        &:nth-child(2) {
          margin-top: 45px;
        }
        &:nth-child(3) {
          margin-top: 50px;
        }

        input {
          width: calc(100% - 35px);
          height: 35px;
          padding: 0 10px;
          font-size: 13px;
          border: 1px solid #d1d1d1;
          border-radius: 5px;
        }
        span {
          width: 35px;
          font-size: 14px;
          color: #333;
          margin-left: 5px;
        }
      }
      .marketing_agree {
        display: flex;
        align-items: center;
        padding: 0 25px 30px;
        text-align: left;

        .agree_wrap {
          display: flex;
        }

        input[type=checkbox] {
          width: 13px;
          height: 13px;
          border: 1px solid #333;
          margin: 2px 5px 0 0;
        }
        input[type=checkbox]:checked {
          background: #333 url("https://cdn.ypbooks.co.kr/ypbooks/images/etc/icon_24_v2.svg") no-repeat -90px -48px / 264px;
        }
        .agree_text {
          flex: 1;
          font-size: 13px;
          line-height: 1.5;

          b {
            display: block;
          }
        }
      }
    }

    
    &.preview_popup {
      padding-bottom: 40px;
      
      .resolution_image {
        position: fixed;
        left: -9999px;
        top: 0;
      }
      .resolution_area {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        padding: 306px 0 0;

        p {
          font-family: 'NostalgicCocochoitoon';
          font-size: 30px;
          line-height: 50px;
          color: #DD6D69;

          &:nth-child(2) {
            margin-top: 106px;
          }
          &:nth-child(3) {
            margin-top: 98px;
          }
        }
      }
      .preview_img {
        width: 100%;
        min-height: 458px;
      }
    }
  }
}


/* kbpay event css */
.kbpay_event_wrap {
  .evt-detail {
    padding: 50px 18px 40px;
  }
  .tit_wrap {
    text-align: left;

    .kbpay_logo {
      font-size: 35px;
      margin: 0;
      color: #222;

      img {
        width: 90px;
        vertical-align: middle;
      }
    }
    .sec_tit {
      font-size: 40px;
      text-align: left;
      line-height: 55px;
      letter-spacing: -0.04em;
      margin: 0;
      color: #222;

      &.tit2 {
        font-size: 45px;
      }

      strong {
        font-size: 45px;
        font-weight: 600;
        color: #222;
      }
      .i {
        font-style: italic;
      }
    }
    .date {
      font-size: 18px;
      font-weight: 600;
      margin: 20px 0 15px;
      color: #222;

      em {
        font-size: 13px;
        font-weight: 400;
        font-style: normal;
      }
    }
  }
  .discount_img img {
    height: auto;
  }
  .caution_wrap {
    .caution_tit {
      display: block;
      font-size: 14px;
      text-align: left;
      margin-bottom: 10px;

      img {
        width: 13px;
        vertical-align: text-top;
        margin-top: 2px;
      }
    }
    .caution_list {
      padding-left: 0;

      li {
        position: relative;
        text-align: left;
        list-style: none;
        padding-left: 10px;

        &::before {
          content: "";
          position: absolute;
          top: 9px;
          left: 0;
          width: 3px;
          height: 3px;
          border-radius: 50%;
          background-color: #000;
          opacity: 0.4;
        }

        .dot_txt {
          font-size: 13px;
          line-height: 1.7;
          color: #222;
          margin: 0;
          padding: 0;

          &::before {
            display: none;
          }
        }
        .notice_txt {
          display: block;

          &::before {
            content: "※";
            font-size: 13px;
            line-height: 1.7;
            margin-right: 2px;
          }
        }
      }
    }
    &.caution_01 {
      margin-bottom: 30px;
    }
    &.caution_02 .dot_txt {
      opacity: 0.7;
    }
  }
}

/* 260714 김구 이벤트 */
.kimgu_event {
  max-width: 1060px;
  margin: 0 auto;
  overflow: hidden;

  .evt_inner {
    position: relative;
    width: 100%;
  }
  .btn_share {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
  }
  /*** caution ***/
  #caution_txt li {
    opacity: 0.7;
  }
  .caution_title button img {
    transform: rotate(180deg);
  }
  .caution_title button.open img {
    transform: rotate(0deg);
  }

  .sec01 {
    position: relative;
    background: url("https://cdn.ypbooks.co.kr/ypbooks/event/260706_kimgu/01_main_bg.jpg") no-repeat center top / cover;
    padding-bottom: 60px;

    &::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 190px;
      background: url("https://cdn.ypbooks.co.kr/ypbooks/event/260706_kimgu/01_main_flower.png") no-repeat left -80px bottom / 200px;
    }

    .quiz_area {
      position: relative;
      overflow: hidden;
      padding-bottom: 50px;

      &::before {
        content: "";
        position: absolute;
        top: 130px;
        right: -113px;
        width: 168px;
        height: 254px;
        background: url("https://cdn.ypbooks.co.kr/ypbooks/event/260706_kimgu/02_event_pencil.png") no-repeat center / contain;
      }
      .evt_con {
        display: flex;
        flex-direction: column;
        align-items: center;
        background: #fff url("https://cdn.ypbooks.co.kr/ypbooks/event/260706_kimgu/02_event_shadow.png") no-repeat right -23px top 130px / 65px;
        border-radius: 17px;
        padding: 30px 0;
        box-sizing: border-box;
        text-align: center;
        box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1);
        margin: 0 18px;
      }
      .quiz_tit {
        font-size: 19px;
        font-weight: 600;
        letter-spacing: -0.04em;
        color: #1c1d1e;
      }
      .quiz_answer {
        padding: 0 50px;
        margin-top: 40px;

        .answer {
          margin-bottom: 20px;

          input {
            display: none;
          }
          input:checked + label::before {
            content: "";
            position: absolute;
            top: -12px;
            left: 3px;
            width: 22px;
            height: 25px;
            background: url("https://cdn.ypbooks.co.kr/ypbooks/event/260706_kimgu/check_icon.png") no-repeat center / contain;
            mix-blend-mode: darken;
          }
          label {
            position: relative;
            display: flex;
            align-items: center;
            cursor: pointer;
          }
          .quiz_num {
            width: 20px;
          }
          p {
            font-size: 17px;
            font-weight: 500;
            color: #000;
            padding-left: 8px;
          }
        }
      }
      .submit_btn {
        width: 70%;
        max-width: 250px;
        margin-top: 10px;
      }
    }
  }
  .sec02 {
    background: url("https://cdn.ypbooks.co.kr/ypbooks/event/260706_kimgu/03_book_bg.png") no-repeat top center / cover;
    text-align: center;
    padding: 30px 0 60px;

    .book_slide_wrap {
      position: relative;
      margin: 0 auto;

      .book_slide {
        width: 45%;
        padding: 30px 0;
        margin-top: -20px;
        overflow: visible;
      }

      .swiper-slide {
        position: relative;
        transform: scale(0.85);
        transition: transform 0.5s 0.3s;

        .book_img {
          width: 100%;
          border-radius: 6px;
          box-shadow: 0 0 20px 5px rgba(0, 0, 0, 0.2);
          overflow: hidden;

          img {
            width: 100%;
            height: 100%;
            object-fit: cover;
          }
        }
        .book_tit {
          position: absolute;
          bottom: -60px;
          left: 0;
          width: 100%;
          font-size: 30px;
          font-weight: 600;
          color: #333;
          letter-spacing: -0.04em;
          text-align: center;
          margin-top: 30px;
          opacity: 0;
          visibility: hidden;
        }

        &.swiper-slide-active {
          transform: scale(1);
        }
      }

      .book_slide_btn {
        position: absolute;
        top: 50%;
        left: -55px;
        transform: translateY(-50%);

        &.book_slide_next {
          left: auto;
          right: -55px;
        }
      }
    }
  }
}