*  { margin: 0; padding: 0; box-sizing: border-box; word-break: keep-all; overflow-wrap: break-word; }
html, body { width:100%; height:100%; overflow: hidden; } 
body { height: 100%; margin:0; padding:0; font-family: Pretendard, "Malgun Gothic", sans-serif; }
ul, li, form, p, input, span, dl, dt, dd { margin:0; padding:0; list-style:none; } 
a { text-decoration:none; color: #000; } 
img { vertical-align: middle; }
:root { --basefont-size: 20px; --color1: #5AA5FF; --color2: #FFAEC9; --color3: #AFE73B; --tcolor2: #FFEEF4; }
.clear { display: block; content:''; clear: both; }
.mt10 { margin-top: 10px; }
.cont_txt { font-size: calc(var(--basefont-size) - 1px); line-height: 160%;  }
.cont_txt2 { font-size: calc(var(--basefont-size)); line-height: 160%;  }
.cont_txt > span, .cont_txt2> span { font-weight: 800; }
.mt50 { margin-top: 50px; }
/* 
font-size: var(--basefont-size);
font-size: calc(var(--basefont-size) - 2px);
font-size: calc((var(--basefont-size) * 2) - 1px);
*/

.bulit-nari { background: url('../images/bulit-nari.png') no-repeat left center; padding-left: 40px; }
.bulit-tree { background: url('../images/bulit-tree.png') no-repeat left center; padding-left: 50px; }

.downloadbtn1 { display: inline-block; padding: 0 20px 0 40px; margin-left: 20px; line-height: 40px; font-size: 16px; font-weight: bold; color: #fff; background: url('../images/icon-download-white.png') no-repeat left 10px center; background-color: var(--color1); border-radius: 10px; width: auto; text-align: center; }
.linkbtn { display: inline-block; padding: 0 20px 0 30px; margin-left: 20px; line-height: 35px; font-size: 16px; font-weight: bold; color: #49670a; background: url('../images/icon-link.png') no-repeat left 10px center; background-color: var(--color3); border-radius: 10px; width: auto; text-align: center; }

.img-caption, .lesson-step-body p.img-caption { font-size: 14px; color: #525252; padding: 10px; text-align: left; }

.wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); transform-origin: center; width: 1920px; height: 1080px; background-color: #fff; overflow: hidden;}
.ch2-bg { background-color: #f5f5f7; }

/* 메뉴 */
.topmenucont { opacity: 0; position: absolute; left: 0; top: -100px; width: 100%; height: auto; padding: 100px 200px; background-color: rgba(0,0,0,0.95); transition: all 0.5s; z-index: 80; }
.menuclosebtn { position: absolute; right: 17px; top: 20px; transition: all 0.3s; width: 60px; height: 60px; }
.menuclosebtn a { display: block; width: 60px; height: 40px; text-align: center; padding-top: 20px; }
.menuclosebtn:hover {transform: rotate(90deg);}
.menuclosebtn img { width: 20px; }
.botmenu { position: absolute; left: 0; bottom: 0; width: 100%; height: 50px; background-color: #4f4f4f; z-index: 70; }
.thumbnailbtn { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
.maintext { position: absolute; left: 60px; top: 50%; transform: translateY(-50%); font-size: 16px; color: #dcdcdc }
.pagemovebtn { display: flex; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); }
.pagemovebtn > li { display: flex; column-gap: 15px; }
.pagemovebtn > li > a { display: flex; width: 40px; height: 40px; align-items: center; justify-content: center; }
.pagemovebtn > li > a > img { width: 23px; height: 17px; }
.pagenum-input { width: 110px; height: 30px; font-size: 16px; text-align: center; background-color: #d9d9d9; border-radius: 5px; border: none; margin-top: 6px; }
.b_prevbtn { opacity: 0.6; position: fixed; left: 5px; top: 50%; transform: translateY(-50%); width: 80px; height: 80px; z-index: 200;}
.b_nextbtn { opacity: 0.6; position: fixed; right: 5px; top: 50%; transform: translateY(-50%); width: 80px; height: 80px; z-index: 200;}
.b_prevbtn img, .b_nextbtn img { width: 100%; }

.menusect { width: 100%; height: 100%; }
.menusect:after { display: block; content: ''; clear: both; }
.menucont { float: left; width: calc(100% / 4 - 3px); height: 440px; border-left: 1px solid rgba(100,100,100,0.5); }
.menucont:first-child { border-left: 0px; }
.menucont dt { margin-bottom: 40px; font-size: 35px; text-align: center; font-weight: 900; color: #fff; }
.menucont dt a { color: #fff; }
.menucont dt a > span { font-size: 20px; }
.menucont dd p { font-size: 16px; text-align: center; font-weight: 400; color: #fff; line-height: 40px; }
.menubtn { position: absolute; right: 17px; top: 15px; z-index: 70; }
.menubtn a { display: block; width: 60px; height: 40px; text-align: center; padding-top: 20px; }
.menubtn img { width: 30px; }
.viewmode-btn { display: inline-block; position: absolute; right: 230px; top: 50%; transform: translateY(-50%); line-height: 35px; padding: 0 20px; background-color: #000; border-radius: 5px; color: #fff; font-size: 18px; font-weight: bold; }

.thumbnail_menu { visibility: hidden; opacity: 0; position: absolute; left: 0; bottom: 20px; width: calc(100% - 40px); padding: 20px; background-color: rgba(0,0,0,0.8); overflow: hidden; overflow-x: scroll; overflow-y: hidden; white-space: nowrap; text-align: center; scroll-behavior: smooth; transition: all 0.3s; z-index: 100; }
.thumbnail_menu ul { display: flex; justify-content: left; gap: 20px; }
.thumbnail_menu li { margin: 0 10px; }
.thumbnail_menu li img { width: 250px; height: 130px; opacity: 0.6; border: 4px solid #ccc; transition: opacity 0.3s ease; }
.thumbnail_menu li.active img { opacity: 1; border: 4px solid #ff7b00; }
.thumbnail_menu li img:hover { opacity: 0.8; }

/* 메인 */
.mainlogo { position: absolute; bottom: 85px; left: 30px; }
.startbtn { position:absolute; bottom: 85px; right: 30px; }
.maintitle { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-50% - 115px)); width: 100%; max-width:1250px; height: 480px; z-index: 30; text-shadow: 0 0 20px rgb(116, 116, 116,0.5); }
.maintitle > p:nth-child(1) { position: absolute; left: 110px; top: 140px; font-size: calc(var(--basefont-size) * 4); font-weight: 300; text-decoration: underline; color: #fff; text-decoration-thickness: 3px; }
.maintitle > p:nth-child(2) { position: absolute; left: 110px; top: 230px; font-size: calc(var(--basefont-size) * 3); font-weight: 300; color: #fff; }
.maintitle > p:nth-child(3) { position: absolute; right: 0; bottom: 0; font-size: calc(var(--basefont-size) * 10); font-weight: 800; color: #fff; }
.maintitle > p:nth-child(4) { font-size: var(--basefont-size); font-weight: 500; color: #fff; width: 410px; }
.mainimgover { position: absolute;  left: 0; top: 0; width: 100%; height: calc(100% - 115px - 50px); background: url('../images/mainpattern.png') repeat; z-index: 20; }
.mainimg { position: absolute;  left: 0; top: 0; width: 100%; height: calc(100% - 115px - 50px); overflow: hidden; }
.mainimg div { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.5s ease-in-out;}
#img1 { background: url('../images/mainimg1.jpg') no-repeat; background-size: cover; }
#img2 { background: url('../images/mainimg2.jpg') no-repeat; background-size: cover; }
#img3 { background: url('../images/mainimg3.jpg') no-repeat; background-size: cover; }
#img4 { background: url('../images/mainimg4.jpg') no-repeat; background-size: cover; }
#img5 { background: url('../images/mainimg5.jpg') no-repeat; background-size: cover; }
#img6 { background: url('../images/mainimg6.jpg') no-repeat; background-size: cover; }
#img7 { background: url('../images/mainimg7.jpg') no-repeat; background-size: cover; }
.mainimg div.show { opacity: 1;}
.maincharactor { position: absolute; left: 50%; top: 100px; transform: translateX(-50%); z-index: 30; }
.maincharactor img { width: 100%; }
.maincharactor > .woman { width: 500px; }

/* contents */
.contents { width: 100%; height: 100%; overflow: hidden; }
.indexmv { position: absolute; left: 0; top: 0; width: 36%; height: 100%; background-color: #fff; z-index:3; }
.text-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; }
.text-mask img { width: 100%; }
/*.video-mask { position: absolute; left: 50%; top:-200px; transform: translateX(-50%); width: 1500px; height: 900px; z-index: 1; overflow: hidden; }*/
.video-mask { position: absolute; left: -250px; top: 40px; width: 1200px; height: 720px; z-index: 1; overflow: hidden; }
.background-video { width: 100%; height: 100%; }
.indexsect { position: absolute; right: 0; top: 0; width: calc(100% - 36%); height: 100%; z-index: 3; background-color: #FFE4CC; }
.indexsect > li { float: left; width: 33.3%; height: 100%; }
.indexsect > li:nth-child(1) { background-color: var(--color1); }
.indexsect > li:nth-child(2) { background-color: var(--color2); }
.indexsect > li:nth-child(3) { background-color: var(--color3); }
.indextext { position: absolute; left: 20px; bottom: 70px; font-size: calc(var(--basefont-size) - 5px); color:#CBCBCB; z-index: 10; }
.indexcont { padding: 120px 0 0 5%; width: 100%;}
.indexh1 p { font-size: calc(var(--basefont-size) * 2); font-weight: 800; color: #fff; }
.indexh2 p { margin-top: 20px; font-size: calc(var(--basefont-size) * 2); font-weight: 800; color: #000; }
.indexh3 { margin-top: 40px; height: 650px; overflow-y: auto; }
.indexh3 p { font-size: calc(var(--basefont-size) - 4px); font-weight: 400; line-height: 180%; color: #000; }
.indexh3 > li > a > p { margin-left: 20px; }
.indexh3 > li > a:nth-child(1) > p { font-weight: bold; margin: 23px 0 0 0; }

.section-mask { position: absolute; width: 100%; height: 100%; z-index: 2; }
.section-mask img { width: 100%; }
.section-video { position: absolute; left: 0; top: 0px; width: 100%; height: 100%; z-index: 1; }
.sectioncont { position: absolute; right: 0; top: 200px; width: 460px; overflow: hidden; z-index: 10;}
.sectionh1 { font-size: calc(var(--basefont-size) * 2); font-weight: 800; color: #fff; }
.sectionh1 > span { position: absolute; left: 200px; top: 20px; display: inline-block; width: 100%; height: 10px; background-color: #fff; }
.sectionh2 { margin-top: 20px; font-size: calc(var(--basefont-size) * 2); font-weight: 800; color: #000; }
.sectionh3 { margin-top: 40px; }
.sectionh3 p { font-size: calc(var(--basefont-size) - 4px); font-weight: 400; line-height: 180%; color: #000; }
.section-video-mask { position: absolute; top: 94px; width: 77%; height: auto; }

.intro_right { position: absolute; right: 50px; top: 130px; width: calc(1050px - 50px); height: calc(100% - 230px); padding: 0 50px 50px 0; overflow-y: auto; z-index: 10; }
.intro_right p { font-size:calc(var(--basefont-size) - 1px); line-height: 160%; }
.intro_title p:nth-child(1) { font-size:calc(var(--basefont-size) * 2); }
.intro_title p:nth-child(2) { font-size:calc(var(--basefont-size) * 3); font-weight: 800; }
.intro_sub1 { margin-top: 50px; border-left: 8px solid var(--color1); padding-left: 20px; }
.intro_sub1 p > span { font-weight: 800; color: var(--color1); }
.intro_img { margin: 50px auto; width: 100%; }

.section_current { position: absolute; left: 20px; top: 20px; z-index: 60; }
.section_current p { font-size: calc(var(--basefont-size) - 5px); color: #B5B2B2; font-weight: 800; }
.section_current span { font-size: calc(var(--basefont-size) - 5px); color: #000; }

.section_navi { position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: flex; column-gap: 5px; z-index: 60; }
.section_navi > li { border-bottom-left-radius: 20px; border-bottom-right-radius: 20px; overflow: hidden; }
.section_navi > li p { padding: 0 20px; font-size: calc(var(--basefont-size) - 4px); font-weight: bold; color: #000; line-height: 40px; background-color: #D9D9D9; }
.section_navi > li.active p { background-color: var(--color1); color:#fff; }
.section_navi > li.active2 p { background-color: var(--color2); color:#fff; }
.section_navi > li.active2-1 p { background-color: #1F1258; color:#fff; }
.section_navi > li.active2-2 p { background-color: #C51331; color:#fff; }
.section_navi > li.active2-3 p { background-color: #49670A; color:#fff; }
.section_navi > li.active3 p { background-color: var(--color3); color:#fff; }
.section_navi > li.active3-1 p { background-color: var(--color3); color:#fff; }
.section_navi > li.active3-2 p { background-color: var(--color2); color:#fff; }
.section_navi > li.active3-3 p { background-color: var(--color1); color:#fff; }

.ch1-contents { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 1500px; height: 900px; background-color: rgba(255,255,255,0.8); border-radius: 30px; padding: 50px; overflow: auto; }
.ch1-titlecont { display: flex; align-items: center; flex-direction: column; row-gap: 30px; width: 100%; height: auto; border-radius: 30px; 
    background-image: url('../images/ch1-title-bulet.png'), url('../images/ch1-title-bulet.png'), url('../images/ch1-title-bulet.png'), url('../images/ch1-title-bulet.png');
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat;
    background-position: left 20px top 20px, right 20px top 20px, left 20px bottom 20px, right 20px bottom 20px;
    background-color: #E6F3FF; padding: 30px; }
.ch1-titleh2 { font-size: 50px; font-weight: 900; }
.ch1-titleh3 { font-size: 24px; font-weight: 500; line-height: 180%; }

.ch1-cont { width: 100%; margin-top: 50px; padding: 0 50px; }
.ch1-cont .title { font-size: calc(var(--basefont-size) + 10px); font-weight: 800; margin-bottom: 20px; }
.ch1-cont .cont { font-size: calc(var(--basefont-size)); font-weight: 500; line-height: 180%; }
.link { display: inline-block; font-size: calc(var(--basefont-size) - 2px); font-weight: 500; text-decoration: underline; color: var(--color1); margin-top: 10px; }
.link:hover { background-color: lightblue; }
.link > a { padding-left: 15px; margin-left: 10px; background: url('../images/icon-link.png') no-repeat left center; color: var(--color1); }

.ch2-cont { position: absolute; right: 0; width: calc(100% - 430px); height: 910px; padding-bottom: 80px; overflow: auto; }

.ch2bg1 { background: url('../images/ch2-sec1.jpg'); background-size: cover; }
.ch2bg2 { background: url('../images/ch2-sec2.jpg'); background-size: cover; }
.ch2bg3 { background: url('../images/ch2-sec3.jpg'); background-size: cover; }

.ch2-sectitle { position: absolute; left: 200px; top: 300px; font-size: 60px; font-weight: 700; color: #1F1258; }
.ch2-secnavi { position: absolute; left: 200px; top: 400px; font-size: 24px; line-height: 200%; }


.ch2-section { width: 100%; max-width: 1600px; height: calc(100% - 165px); margin: 115px auto 0 auto; position: relative; }

.ch2-sec-navi-sect { position: absolute; left: 0; top: 75px; width: 350px; height: auto; }
.ch2-sec-navi { display: flex; flex-direction: column; row-gap: 10px; }
.secimg { width: 100%; margin-top: 50px; }
.ch2-sec-navi > li { font-size: 18px; font-weight: 600; border-radius: 20px; background-color: #fbfbfb; box-shadow: 5px 0 8px rgba(0, 0, 0, 0.1); border: 1px solid #fff; transition: all 0.3s; }
.ch2-sec1 > li:hover { border: 1px solid #082f5f }
.ch2-sec1 > li.active { background-color: var(--color1); }
.ch2-sec1 > li.active a { color: #082f5f; font-weight: 900; }
.ch2-sec2 > li:hover { border: 1px solid #c51331 }
.ch2-sec2 > li.active { background-color: var(--color2); }
.ch2-sec2 > li.active a { color: #c51331; font-weight: 900; }
.ch2-sec3 > li:hover { border: 1px solid #49670a }
.ch2-sec3 > li.active { background-color: var(--color3); }
.ch2-sec3 > li.active a { color: #49670a; font-weight: 900; }
.ch2-sec-navi > li > a { display: block; line-height: 45px; padding: 0 20px; }

.ch2-video-cont { display: flex; justify-content:space-between; }
.sec-video { width: calc(100% - 20px); padding: 0 20px; background-color: #000; border-radius: 10px; } 
.sec-text { width: 100%; font-size: 18px; line-height: 180%; padding: 20px; }
.sec-text h2 { font-size: 45px; }
.sec-text p { margin-top: 30px; }
.sec-tip { position: relative; border:3px dashed #EA2A94; border-radius: 30px; padding: 20px; margin-top: 50px; background-color: #FFEEF4; }
.sec-tip:before { display: block; content:''; width: 35px; height: 47px; background: url('../images/icon-tip.png') no-repeat; position: absolute; left: 0px; top: -30px; }

.song-cont { margin-top: 50px; padding: 20px; } 
.song-cont > ul { display: flex; justify-content: center; column-gap: 40px; }
.song-cont > ul > li { display: flex; flex-direction: column; align-items: center; width: 330px; height: 330px; border-radius: 30px; padding: 20px; transition: all 0.3s; 
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1); background: url('../images/icon-music.png') no-repeat left 10px top 10px; background-color: #fff;  }
.song-cont > ul > li > p { font-size: 16px; margin-top: 20px; line-height: 140%; }
.song-cont > ul > li > img { height: 96px; }
.song-cont > ul > li:hover { background-color: #e6e6e6; box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2); }
.playsect { display: flex; align-items: center; column-gap: 10px; margin-top: 20px; }
.playsect > p { font-size:18px; font-weight: 600; }

.playsect audio { display:none; }
.audio-btn img { width:40px; height:auto; display:block; }

.song-cont ul li .char-img {transition:transform 0.2s;}
.song-cont ul li:hover .char-img {animation:charPop 0.4s ease;}

.cont-grid { display: flex; flex-wrap: wrap;  }
.cont-item { display: flex; flex-direction: column; padding: 20px; width: 50%; }
.cont-item img { width: 100%; border-radius: 10px; margin-top: 20px; }
.cont-item-title { font-size: 22px; font-weight: 800; margin-top: 15px; }
.cont-item-text { font-size: 18px; margin-top: 10px; line-height: 160%; }

.half-cont { display: flex; column-gap: 30px; width: 100%; height: auto; margin-top: 50px; }
.half-cont .left-cont { width: 50%; }
.half-cont .right-cont { width: 50%; }
.half-cont .right-cont img { width: 100%; border-radius: 10px; }

.obj-cont { display: flex; background-color: rgba(255,255,255,0.5); padding: 30px; border-radius: 20px; width: 100%; height: auto; box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin-bottom: 50px; }
.obj-cont-title { font-size: 28px; font-weight: 800; width: 200px; height: 200px; border-radius: 50%; background-color: var(--color1); color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; line-height: 140%; }
.obj-cont-text { font-size: 18px; line-height: 180%; margin-left: 30px; display: flex; align-items: center; }

/* 표 */
.eval-table { width: 100%; font-size: 18px; overflow-x: auto; }
.eval-table table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.eval-table th, .eval-table td { border: 1px solid #ccc; padding: 12px; vertical-align: middle; line-height: 1.5; word-break: keep-all; }
.eval-table thead th { background-color: #909090; color: white; font-weight: bold; text-align: center; }
.eval-table tbody th { background-color: #e8e8e8; text-align: center; font-weight: bold; width: 80px; }
.eval-table tbody td { background-color: #fff; text-align: left; }
.eval-table th:first-child, .eval-table td:first-child { border-left: none; }
.eval-table th:last-child, .eval-table td:last-child { border-right: none; }

.ch2-act-title { font-size: 40px; font-weight: 600; margin-top: 10px; color: #000; display: inline-block; padding: 10px 20px; font-family: 'GangwonEducationTteontteon'; }
.lesson-flow { display: flex; flex-direction: column; gap: 20px; width: 98%; }
.lesson-step { padding: 24px; border-radius: 12px; background-color: #ffffff; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06); border: 1px solid #b6b7ce; transition: all 0.3s; }
.lesson-step:hover { border: 1px solid #1F1258; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); transform: translateY(-5px); }
.lesson-step-header { display: flex; align-items: center; margin-bottom: 15px; color: #333333; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.lesson-step .acc { font-weight: 800; }
.lesson-step-badge { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background-color: #5aa5ff; color: #082f5f; font-size: 12px; font-weight: 700; }
.lesson-step-title { margin: 0; font-size: 26px; font-weight: 700; font-family: 'YeogiOttaeJalnan'; }
.lesson-step-body { margin: 0; font-size: 18px; line-height: 1.7; font-weight: 600; color: #555555; }
.lesson-step-body ul { margin: 4px 0 0 18px; padding: 0; }
.lesson-step-body li { margin: 0 0 3px 20px; list-style-type: disc; }
.lesson-step-body p { font-size: 18px; }
.cont-text { font-size: 18px; line-height: 180%; margin: 0 20px 0 20px; }
.chat-section { padding: 10px 0 10px 50px; margin: 5px 0 5px 30px; }
.chat-section span { display: inline-block; font-size: 18px; line-height: 180%; padding: 5px 10px; border-radius: 10px; }
.teacher { background: url('../images/cha-tea.png') no-repeat left top; }
.child { background: url('../images/cha-child.png') no-repeat left top; }
.teacher span { background-color: #ffe3ba; }
.child span { background-color: #E5F0FF; }
.quiz-section { margin: 0 0 30px 30px; }
.quiz-ques { font-weight: 800; border-bottom: 1px solid #ccc; display: inline-block; color: #000; }
.quiz-exp { background-color:#f7f7f7; display: inline-block; border-radius:10px; padding: 0 0 0 55px; position: relative; }
.quiz-ques::before { content:'문제'; padding: 5px 10px; background-color: rgb(241, 90, 178); color: #fff; text-align: center; border-radius: 5px; margin-right: 10px; font-size: 16px; }
.quiz-answer::before { content:'정답'; padding: 5px 10px; background-color: rgb(235, 103, 110); color: #fff; text-align: center; border-radius: 5px; margin-right: 10px; font-size: 16px; }
.quiz-exp::before { content:'풀이'; padding:0 10px; background-color:rgb(136, 164, 255); color:#fff; text-align:center; border-radius:5px; font-size:16px; position:absolute; left: 0; top: 0px; }
.back-text { display: inline-block; padding: 15px; background-color: #efefef; border-radius: 10px; margin-left: 20px; }
.back-act-text { display: inline-block; padding: 15px; background-color: #efefef; border-radius: 10px; margin-left: 80px; }
.back-act-text .back-act-title { display: inline-block; font-size: 18px; padding: 0px 10px; background-color: #000; color: #fff; font-weight: 800; border-radius: 10px;; }
.bullet { position: relative; padding-left: 12px; }
.bullet::before { content: "•"; position: absolute; left: 0; }
/* 카드 */
.card-section { position: relative; max-width: 900px; margin: 50px auto; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.slider-wrapper { overflow: hidden; }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.slider-track img { width: 100%; flex-shrink: 0; height: 480px; object-fit: cover; }
.nav-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: rgba(255, 255, 255, 0.7); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; color: #333; cursor: pointer; z-index: 10; transition: background-color 0.3s; display: flex; justify-content: center; align-items: center; }
.nav-btn:hover { background-color: rgba(255, 255, 255, 1); }
.prev-btn { left: 15px; }
.next-btn { right: 15px; }
.caption-container { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0, 0, 0, 0.6); color: white; padding: 18px; text-align: center; font-size: 16px; }

.lesson-step-body ul.ques-section { margin-left: 60px; display: flex; flex-direction: column; row-gap: 5px; }
.ques-section li { list-style-type: none; max-width: 900px; font-size: 18px; border-radius: 5px; background-color: #f7f7f7; padding: 5px; }
.ques-section li > span { padding: 5px 10px; color: #fff; background-color: #C51331; font-size: 18px; font-weight: 800; border-radius: 5px; margin-right: 15px; }

/* chapter3 */
.ch3-cont { width: 100%; max-width: 1700px; height: calc(100% - 165px); margin: 115px auto 0 auto; position: relative; }
.ch3-sec-navi-sect { position: absolute; left: 0; top: 0; width: 280px; height: 100%; background-color: #eee; padding-top: 50px; }
.ch3-sec-navi { display: flex; flex-direction: column; row-gap: 10px; }
.ch3-sec-navi > li { width: 280px;height: 38px; }
.ch3-sec-navi > li > a { display: block; line-height: 38px; padding: 0 0 0 30px; font-size: 16px; font-weight: 600; }
.ch3-sec1 > li.active { width: 290px; background-color: var(--color3); box-shadow: 5px 0 5px rgba(0, 0, 0, 0.2); }
.ch3-sec2 > li.active { width: 290px; background-color: var(--color2); box-shadow: 5px 0 5px rgba(0, 0, 0, 0.2); }
.ch3-sec3 > li.active { width: 290px; background-color: var(--color1); box-shadow: 5px 0 5px rgba(0, 0, 0, 0.2); }


.ch3-contents { position: absolute; right: 0; top: 0; width: 1400px; height: 100%; display: flex; justify-content: space-between; column-gap: 50px; }
.ch3-cont-h1 { font-size: 58px; font-weight: 400; font-family:'Eulyoo1945-Regular'; }
.ch3-cont-h1 > strong { font-weight: 600; }
.ch3-cont-h1 > span { display: block; font-size: 24px; font-weight: 400; color: #939393; font-family: 'pretendard' }
.ch3-cont-h2 { width: 100%; padding: 30px; font-size: 20px; font-weight: 800; line-height: 170%; margin-top: 30px; 
  border-top-right-radius: 50px; border-bottom-left-radius: 50px; position: relative; }
.ch3-cont-h2::before { display: block; content:''; position: absolute; right: -9px; bottom: 0; width: 10px; height: 110px; background-color: #fff; }
.ch3-cont-h2-sec1 { border: 8px solid var(--color3);  }
.ch3-cont-h2-sec2 { border: 8px solid var(--color2);  }
.ch3-cont-h2-sec3 { border: 8px solid var(--color1);  }
.ch3-left { width: 600px; padding-left: 40px; }
.ch3-right { width: 100%; overflow: hidden; overflow-y: auto; padding-right: 40px; }

.ch3-text { width: 100%; margin: 50px 0 50px 0; }
.ch3-text .title { font-size: 22px; font-weight: 800; padding-left: 25px; margin: 50px 0 20px 0;}
.ch3-text .icon1 { background: url('../images/icon-carrot.png') no-repeat 0 center; }
.ch3-text .icon2 { background: url('../images/icon-tree.png') no-repeat 0 center; }
.ch3-text .icon3 { background: url('../images/icon-pia.png') no-repeat 0 center; padding-left: 33px; }
.ch3-text .sent { font-size: 19px; margin-bottom: 15px; line-height: 180%; }
.ch3-text .sent > span { font-weight: 800; }

.ch3-img { width: 100%; margin: 10px 0 30px 0; text-align: center; }
.ch3-img  img { width: 100%; }
.ch3-img  img.hori { width: 100%; max-width: 500px; }
.ch3-img2 { width: 100%; margin: 10px 0 30px 0; display: flex; column-gap: 10px; }
.ch3-img2 img { width: calc(50% - 5px); }

/*.actbtn { display: block; position: absolute; right: 50px; width: 200px; height: 143px; border: 2px solid #ccc; }
.actbtn::before { display: block; content:'클릭!'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; text-align: center; line-height: 80px; background-color: #000; color: #fff; font-size: 18px; font-weight: 800; border-radius: 50%; }
.actbtn:hover::before { display: block; content:'클릭!'; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; text-align: center; line-height: 80px; background-color: #F00; color: #fff; font-size: 18px; font-weight: 800; border-radius: 50%; }
.actbtn img { width: 100%; }*/

.activ-img { width: calc(100% - 40px); border: 2px solid #ccc; margin: 20px; border-radius: 20px; text-align: center; }
.activ-img img { width: 100%; border-radius: 20px; }
.activ-img img.hori { max-width: 500px; }

#link-hover-tooltip{
    position:fixed;
    left:0;
    top:0;
    transform:translate(-9999px,-9999px);
    pointer-events:none;
    z-index:999999;
    padding:6px 10px;
    border-radius:8px;
    background:rgba(0,0,0,.85);
    color:#fff;
    font-size:12px;
    line-height:1;
    white-space:nowrap;
    box-shadow:0 6px 18px rgba(0,0,0,.25);
    opacity:0;
    transition:opacity .25s ease;
  }
  #link-hover-tooltip[data-show="1"]{
    opacity:1;
  }


@keyframes charPop {0% {transform:scale(1);}50% {transform:scale(1.1);}100% {transform:scale(1);}}


@keyframes appearAndMove {
    0% { transform: translateX(-50px); }
    50% { transform: translateX(0px); }
    100% { transform: translateX(-50px); }
  }
  
  .animate__moveLoop {
    animation: appearAndMove 10s ease-in-out infinite; /* 3초마다 반복 */
  }

  @media (max-width: 1000px){
    .b_prevbtn, .b_nextbtn { width: 40px; height: 40px; }
  }