@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100..900&display=swap');
@import url('https://cdn.jsdelivr.net/gh/fonts-archive/Paperlogy/Paperlogy.css');
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");


*{
	padding: 0;
	margin: 0;
	box-sizing: border-box;
	word-break: keep-all;
}

img {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  user-select:none;
}

body {
	 font-family: 'NanumSquare', sans-serif;
}

a:hover {
	text-decoration-line: none;
}
p, h3 {
    margin: 0;
}

#special-event {
    position: relative;
}
.w1600 {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    text-align: center;
}
.block-img {
    display: block;
    margin: 0 auto;
    width: 100%;
    pointer-events : none;
}


.section-1 {
    position: relative;
    font-size: 0;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url(../img/hero-bg.png);
    background-size: 100% 100%;
}

.bg-left {
    display: inline-block;
    width: 48%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}
.bg-right {
    display: inline-block;
    width: 48%;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}

.teacher {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1005;
    max-width: 577px;
    width: 36.1%;
}
.title-1 {
    position: absolute;
    top: 11%;
    left: 21%;
    z-index: 1004;
    max-width: 314px;
    width: 19.7%;

    opacity: 0;
    animation: title-1 0.7s forwards;
    animation-timing-function:cubic-bezier(.215,.61,.355,1);
    animation-delay: .3s;
}
@keyframes title-1 {
    0% {transform: translateY(-70px); opacity: 0;}
    100% {transform: translateY(0); opacity: 1;}
}
.title-2 {
    position: absolute;
    top: 22%;
    left: 62.5%;
    z-index: 1006;
    max-width: 265px;
    width: 16.6%;

    opacity: 0;
    animation: title-2 0.7s forwards;
    animation-timing-function:cubic-bezier(.215,.61,.355,1);
    animation-delay: .8s;
}
@keyframes title-2 {
    0% {transform: translateY(70px); opacity: 0;}
    100% {transform: translateY(0); opacity: 1;}
}
.sub-left {
    position: absolute;
    top: 4%;
    left: 15.5%;
    z-index: 1007;
    max-width: 75px;
    width: 4.7%;
}
.sub-right {
    position: absolute;
    top: 32.5%;
    left: 81.3%;
    z-index: 1007;
    max-width: 43px;
    width: 2.7%;
}
.sub-bottom {
    position: absolute;
    top: 85.5%;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 1008;
    max-width: 165px;
    width: 10.3%;

    opacity: 0;
    animation: title-bottom 0.7s forwards;
    animation-timing-function:cubic-bezier(.215,.61,.355,1);
    animation-delay: 1.3s;
}
@keyframes title-bottom {
    0% {transform: translateY(10px); opacity: 0;}
    100% {transform: translateY(0); opacity: 1;}
}

.hero-wrap .title {
    position: absolute;
    width: 68%;
    max-width: 1306px;
    margin: 0 auto;
    top: 14.8%;
    left: 0;
    right: 0;
    z-index: 1002;

    opacity: 0;
    animation: title 0.7s forwards;
    animation-timing-function:cubic-bezier(.215,.61,.355,1);
    animation-delay: 1s;
}
@keyframes title {
    0% {transform: translateY(70px); opacity: 0;}
    100% {transform: translateY(0); opacity: 1;}
}

.hero-wrap .teacher-img {
    position: absolute;
    width: 58.4%;
    max-width: 1120px;
    margin: 0 auto;
    top: 1%;
    left: 0;
    right: 0;
    z-index: 1001;
}
.hero-wrap .sub-text-1 {
    position: absolute;
    width: 18.9%;
    max-width: 361px;
    top: 3.8%;
    left: 16.3%;
    z-index: 1003;

    opacity: 0;
    animation: sub1 0.6s forwards;
    animation-timing-function:cubic-bezier(.215,.61,.355,1);
    animation-delay: .2s;
}
@keyframes sub1 {
    0% {transform: translateX(50px); opacity: 0;}
    100% {transform: translateX(0); opacity: 1;}
}

.hero-wrap .sub-text-2 {
    position: absolute;
    width: 18.9%;
    max-width: 361px;
    top: 6.3%;
    right: 16.3%;
    z-index: 1003;

    opacity: 0;
    animation: sub2 0.6s forwards;
    animation-timing-function:cubic-bezier(.215,.61,.355,1);
    animation-delay: .6s;
}
@keyframes sub2 {
    0% {transform: translateX(-50px); opacity: 0;}
    100% {transform: translateX(0); opacity: 1;}
}

.home-btn {
    position: absolute;
    font-size: 0;
    width: 2.8%;
    height: 5%;
    top: 45.6%;
    left: 16.4%;
    max-width: 418px;
    margin: 0 auto;
    z-index: 2999;
}

.section-2 {
    position: relative;
    font-size: 0;
    overflow: hidden;
    background-color: #ffffff;
    padding: 100px 0;
}

.s2-title {
    max-width: 1200px;
    width: 95%;
    margin-bottom: 80px;
}

.review-slick {
    margin: 0 auto;
    text-align: center;
    max-width: 1920px;
}
.review-slick .slick-track {
    padding: 20px 0;
}
.review-slick .slick-list {
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}
.review-slick .list-wrap {
    display: flex;
    flex-direction: column;
    height: 100%; 
    text-align: left;
    max-width: 980px;
    margin: 0 20px;
    color: #030B22;
    border-radius: 2px;
    padding: 40px 30px 30px;
    min-height: 380px;
    line-height: 1.6;
    letter-spacing: -1px;
    font-size:1.1rem;
    border-radius: 8px;
    background-color: #F9F9FB;
    box-shadow: 0 8px 3px 0 rgba(0, 0, 0, 0.03);
    font-family: "Pretendard Variable";
}

.review-slick .text-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.list-wrap .text-wrap span {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}
.list-wrap .text-wrap span b {
    font-size: 20px;
    line-height: 1.5;
    font-weight: 400;
}
.review-slick .text-wrap .star {
    width: 33%;
    max-width: 316px;
    margin-left: auto;
}
.list-wrap .text-wrap h3 {
  margin-bottom: 3%;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.5;
}
.list-wrap .text-wrap p {
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.review-slick .slick-arrow {
    position: absolute;
    top: 0;
    z-index: 3000;
    display: inline-block;
    cursor: pointer;
    width: 60px;
    top: 50%;
    transform: translate(0, -50%);
}
.review-slick .slick-arrow img {
    width: 100%;
}
.review-slick .slick-prev {
    left: 28%;
}
.review-slick .slick-next {
    right: 28%;
}

.section-3 {
    position: relative;
    font-size: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #FFB43B -6.97%, #FF5E00 36.23%, #E85500 100%);
}

.section-4 {
    position: relative;
    font-size: 0;
    overflow: hidden;
    background-color: #ffffff;
    padding: 100px 0;
}
.s4-title {
    max-width: 1595px;
    width: 100%;
    margin-bottom: 100px;
}
.s4-box {
    max-width: 1202px;
    width: 100%;
    margin-bottom: 80px;
}
.video-btn {
  position: absolute;
  font-size: 0;
    top: 33.5%;
  left: 0;
  right: 0;
  width: 74.9%;
  height: 31.5%;
  max-width: 1295px;
  margin: 0 auto;
  cursor: pointer;
}
  /* 팝업 커리큘럼 영상 */
  .popup {
      visibility: hidden; 
      opacity: 0; 
      pointer-events: none; 
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 95%;
      max-width: 1000px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
      border: 2px solid #ffffff;
      z-index: 1000;
      transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  /* 팝업이 활성화되었을 때 적용할 클래스 */
  .popup.show {
      visibility: visible;
      opacity: 1;
      pointer-events: auto; 
  }
.popup .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 비율 */
    height: 0;
}
.popup .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

/* 구매하기 박스 */
.lecture-box-wrap {list-style: none; margin: 0 auto; max-width: 1200px; font-family: "Pretendard Variable"; border-top: 4px solid var(--color-2, #030B22);}
.lecture-item {
  position: relative;
  display: flex; align-items: center; gap: 24px;
  padding: 40px 20px;
  background: #fff;
  border-bottom: 1px solid #030B22;
}
.name { flex: 0 0 64px; color: #FF5E00; margin-right: 10px; font-size: 24px; font-weight: 600; }
.item-info { flex: 1 1 auto; min-width: 0; }
.item-info .desc { margin: 0 0 10px; color: #6b7280; font-size: 24px; text-align: left;}
.item-info .title { margin: 0; font-size: 36px; line-height: 1.25; text-align: left;}

.check-wrap {
  display: flex; flex-direction: column; gap: 20px;
  margin-left: auto; width: 19%;
}
.check-item { display: flex; align-items: center; gap: 10px; line-height: 20px;}

/* ========== checkbox-like button ========== */
.check-btn{
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 4px; border: 1px solid #333; background: #fff;
  color: #FF5E00; cursor: pointer;
  transition: border-color .15s, background-color .15s;
}
.check-btn.checked { border-color: #FF5E00; background: #FF5E00; color: #fff; }

.check-btn.checked svg {
    display: block;
    vertical-align: middle;
}

.check-label{ cursor: pointer; user-select: none; color:#374151; margin-right: 10px; font-size: 24px;}
.check-item .price {
    margin-left: auto;
    font-size: 30px;
    font-weight: 700;
    display: inline-block;
    text-align: right;
}

/* ========== purchase button ========== */
.buy-btn-wrap { margin-left: 20px; }
.buy-btn {
    cursor: pointer;
}
.buy-btn img {
    width: 100%;
    max-width: 78px;
}


.section-5 {
    position: relative;
    font-size: 0;
    overflow: hidden;
    background-color: #FFFDF0;
}

.section-5 .arrow {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 104px;
    width: 6.5%;

    animation: arrowBounce 1.2s cubic-bezier(.22,1,.36,1) infinite;
}
@keyframes arrowBounce {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-12px); }
  55%  { transform: translateY(-12px); } /* 살짝 머무름 */
  100% { transform: translateY(0); }
}

.section-5 .arrow-1 {
    top: 43.7%;
}
.section-5 .arrow-2 {
    top: 70.9%;
}

.section-6 {
    position: relative;
    font-size: 0;
    overflow: hidden;
    background: linear-gradient(180deg, #FFB43B -6.97%, #FF5E00 18.28%, #D34D00 94.04%);
    background-image: url(../img/s6-bg.png);
    background-size: 100% 100%;
}

.section-7 {
    position: relative;
    font-size: 0;
    overflow: hidden;
    background: #030B22;
}

.fp-btn-wrap {
    position: absolute;
    background-image: url(../img/fp-btn.png);
    background-size: 100%;
    background-repeat: no-repeat;
    top: 69%;
    left: 0;
    right: 0;
    width: 75%;
    padding-bottom: 25.3%;
    max-width: 1206px;
    margin: 0 auto;
}
.fp-btn-wrap:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(../img/fp-btn-hover.png);
  background-size: 100%;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.2s ease; /* ← 부드럽게 전환 */
}
.fp-btn-wrap:hover:before {
    opacity: 1;
}

.countdown-wrap {
    margin-bottom: 80px;
}

#countdown {
    display: inline-block;
    background: #31A884;
    color: #fff;
    padding: 20px 40px;
    font-size: 86px;
    font-family: "Paperlogy";
    font-weight: 900;
}


.faq-wrap .faq-title {
    display: block;
    width: 9.2%;
    margin: 0 auto 80px;
    max-width: 175px;
}
.faq-wrap .faq-content {
    display: block;
    width: 67.8%;
    margin: 0 auto;
    max-width: 1300px;
}

@media(min-width:1921px) {
    
}
@media(max-width:1921px) {
    .section-1 .w1600 {
        max-width: 1600px;
    }
    .w1600 {
        max-width: 1000px;
    }
    .review-slick .list-wrap {
        min-height: 400px;
    }
    .list-wrap .text-wrap p {
        font-size: 1vw;
    }
    .gallery {
        width: 68%;
    }
    .s3-2-wrap .left-wrap {
        gap: 20px;
    }
    .section-4 {
        padding: 6% 0;
    }
    .video-btn {
        top: 28.8%;
        height: 27.1%;
    }
    .lecture-box-wrap {
        max-width: 1020px;
    }
    .lecture-item {
        gap: 18px;
        padding: 40px 20px;
    }
    .name {
        font-size: 20px;
    }
    .item-info .desc {
        font-size: 18px;
    }
    .item-info .title {
        font-size: 30px;
    }
    .check-label {
        font-size: 20px;
    }
    .check-item .price {
        font-size: 24px;
    }
    #countdown {
        padding: 20px 30px;
        font-size: 62px;
    }
}

@media(max-width:1501px) {
    .s4-wrap {
        margin-bottom: 14%;
    }
    .s4-wrap .s4-title {
        margin-bottom: 4%;
    }
    .s5-wrap .s5-title {
        margin: 0 auto 6%;
    }
    .s5-wrap .s5-video {
        margin: 0 auto 3%;
    }
    .s5-wrap {
        margin-bottom: 12%;
    }
    .s6-wrap {
        margin-bottom: 12%;
    }
    .s7-wrap .s7-title {
        margin: 0 auto 4%;
    }
    .countdown-wrap {
        margin-bottom: 4%;
    }
    .s7-wrap {
        margin-bottom: 8%;
    }
    .faq-wrap .faq-title {
        margin: 0 auto 5%;
    }
}

@media(max-width:1301px) {
    .s2-title {
        width: 75.5%;
        margin-bottom: 80px;
    }
    .review-slick .list-wrap {
        margin: 0 15px;
    }
    .list-wrap .text-wrap p {
        font-size: 1.4vw;
    }
    .review-slick .slick-prev {
        left: 2%;
    }
    .review-slick .slick-next {
        right: 2%;
    }
    .lecture-box-wrap {
        width: 75.5%;
    }
    .item-info .title {
        font-size: 26px;
    }
    .s4-box {
        width: 75.5%;
    }
}

@media(max-width:992px) {
    .section-1 .block-img {
        width: 140%;
        margin-left: -20%;
    } 
    .teacher {
        width: 55.1%;
    }
    .title-1 {
        top: 5%;
        left: 10%;
        width: 26.7%;
    }
    .title-2 {
        top: 21%;
        left: 66.5%;
        width: 23.6%;
    }
    .sub-left {
        top: 2.4%;
        left: 1.5%;
        width: 6.5%;
    }
    .sub-right {
        top: 28.5%;
        left: 92.3%;
        width: 4%;
    }
    .sub-bottom {
        top: 85.5%;
        width: 15.3%;
    }  

    .section-2 {
        padding: 12% 0;
    }

    .s2-title {
        width: 95%;
        margin-bottom: 6%;
    }
    .list-wrap .text-wrap p {
        font-size: 1.8vw;
    }
    .section-3 .block-img {
        width: 126%;
        margin-left: -13%;
    } 

    .section-4 {
        padding: 5% 0 12%;
    }
    .s4-title {
        width: 126%;
        margin-left: -13%;
        margin-bottom: 8%;
    }

    .s4-box {
        width: 95%;
        margin-bottom: 6%;
    }
    .video-btn {
        top: 30.6%;
        width: 95%;
        height: 28.9%;
    }

    .lecture-box-wrap {
        width: 95%;
    }

    .section-5 .block-img {
        width: 126%;
        margin-left: -13%;
    } 

    .section-7 .block-img {
        width: 126%;
        margin-left: -13%;
    } 
    .fp-btn-wrap {
        width: 94.6%;
        padding-bottom: 31.9%;
    }

    .gallery {
        top: 71.5%;
        width: 92%;
        gap: 12px;
    }
    .thumbs {
        padding: 4%;
    }
    .s3-2-wrap .left-wrap {
        gap: 0;
    }
    .thumbs, .s3-2-wrap .left-wrap .btn-wrap {
        margin-top: 3.5%;
    }
    .s3-2-wrap .left-wrap .btn-wrap {
        gap: 10px;
    }
    .thumbs .swiper-slide {
        border: 2px solid transparent;
    }
    .thumbs .swiper-slide-thumb-active {
        border: 2px solid #18FFC4;
    }

    .s3-3-wrap .s3-3-title {
        top: 89%;
        width: 80%;
    }
    .s3-3-wrap .s3-3-stemp {
        top: 93.5%;
        width: 60%;
    }

    .review-slick .list-wrap {
      padding: 25px 20px;
      min-height: 340px;
    }
    .review-slick .text-wrap h3 {
      margin-bottom: 5%;
      font-size: 2.3vw;
      font-weight: 500;
    }
    .review-slick .text-wrap p {
      font-size: 1.6vw;
      line-height: 1.7;
    }
    .review-slick .text-wrap span {
      font-size: 1.6vw;
    }

    .s4-wrap .s4-title {
        width: 90%;
    }
    .s5-wrap .s5-title {
        width: 90%;
    }
    .s5-wrap .s5-video {
        width: 78%;
    }
    .s5-wrap .s5-text {
        width: 85%;
    }
    .s7-wrap .s7-title {
        margin: 0 auto 4%;
    }
    .countdown-wrap {
        margin-bottom: 6%;
    }
    .s7-wrap {
        margin-bottom: 14%;
    }
    .faq-wrap .faq-title {
        margin: 0 auto 5%;
    }


    .lecture-item {
        flex-direction: column;
        align-items:flex-start;
        padding: 25px 20px 15px;
        gap: 12px;
    }
    .name {
        flex: 0;
    }
    .item-info .desc {
        font-size: 20px;
        line-height: 1.5;
        margin: 0 0 5px;
    }
    .item-info .title {
        font-size: 26px;
        margin-bottom: 1%;
    }
    .check-wrap {
        margin: 0 auto 0 0;
        gap: 15px;
    }
    .check-item .price {
        font-size: 22px;
        margin-left: 0;
    }

    /* 체크박스+라벨 세로 가운데 */
    .check-item{ align-items:center; }

    /* 구매 버튼: 3번째 줄(.check-wrap) 오른쪽 정렬 */
    .lecture-item > div:last-child .buy-btn{
        position:absolute;
        right:2%; top:70%;
        transform:translateY(-50%);
    }

    .s7-wrap .s7-title {
        width: 160%;
        margin: 0 0 8% -30%;
    }
    #countdown {
        padding: 15px 25px;
        font-size: 7.5vw;
    }
    .s7-wrap .s7-text {
        width: 90%;
        max-width: 1217px;
    }
    .faq-wrap .faq-title {
        width: 15%;
        margin: 0 auto 5%;
    }
    .faq-wrap .faq-content {
        width: 95%;
    }

    @keyframes title {
        0% {transform: translateY(30px); opacity: 0;}
        100% {transform: translateY(0); opacity: 1;}
    }
    @keyframes sub1 {
        0% {transform: translateX(20px); opacity: 0;}
        100% {transform: translateX(0); opacity: 1;}
    }
    @keyframes sub2 {
        0% {transform: translateX(-20px); opacity: 0;}
        100% {transform: translateX(0); opacity: 1;}
    }
    @keyframes arrowBounce {
        0%   { transform: translateY(0); }
        40%  { transform: translateY(-5px); }
        55%  { transform: translateY(-5px); } /* 살짝 머무름 */
        100% { transform: translateY(0); }
    }
}
@media(max-width:767px) {
    .review-slick .text-wrap h3 {
        font-size: 4vw;
        margin-bottom: 3%;
    }
    .review-slick .text-wrap p {
        font-size: 2.8vw;
        font-weight: 400;
    }
    .review-slick .text-wrap span {
        font-size: 2.4vw;
        margin-bottom: 3%;
    }
    .name {
        font-size: 3.5vw;
    }
    .item-info .desc {
        font-size: 2.8vw;
    }
    .item-info .title {
        font-size: 4vw;
    }
    .check-wrap {
        width: 24%;
        gap: 8px;
    }
    .check-label {
        font-size: 3.2vw;
    }
    .check-item .price {
        font-size: 3.2vw;
    }
    .check-btn {
        width: 16px;
        height: 16px;
    }
    .buy-btn img {
        max-width: 60px;
    }
}
@media(max-width:480px) {
    .review-slick .list-wrap {
        min-height: 300px;
    }
    .review-slick .text-wrap h3 {
        font-size: 4.8vw;
    }
    .review-slick .text-wrap p {
        font-size: 3vw;
    }
    .review-slick .text-wrap span {
        font-size: 3vw;
    }
    .lecture-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 10px 5px;
        gap: 12px;
    }
    .buy-btn img {
        max-width: 45px;
    }
}