.modal__wrap {
  position: fixed;
  z-index: -1;
  width: 100%;
  height: 100%;  
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease, z-index 0.5s ease 0.5s;
}

.modal__wrap.open {
  opacity: 1;
  z-index: 33;
  transition: opacity 0.5s ease;  
}

.modal__wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.modal__wrap > div {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.modal__wrap > div .close__btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 35px;
  height: 50px;
  cursor: pointer;
}

.com__link1 {
  text-align: right;
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 33;
  opacity: 0;
  transition: opacity 1s ease; 
}

.com__link1.on {
  opacity: 1;
}

.com__link1 a {
  display: inline-block;
  width: 80%;
  height: 100%;
  text-align: right;
}

.com__link1 a img {
  display:inline-block;
  width: 80%;
}

.com__link2 {
  position: fixed;
  left: 0;
  bottom: 0;  
  z-index: 5;
  opacity: 0;
  transition: opacity 1s ease; 
  width: 100%;
  background: #fb4f0e;
  text-align: center;
}

.com__link2.on {
  opacity: 1;
}

.com__link2 .mobile {
  display: none;
}

.com__link2 a {
  display: inline-flex;
  width: max-content;
  height: 100%;
  align-items: center;
  justify-content: center;
  height: 60px;
}


.com__link2 a p {  
  font-size: 19px;
  color: rgb(255, 255, 255);
  font-weight: 800;
  line-height: 1.079;
}

.com__link2 a p span {
  color: #fee55b;
  font-weight: bold;
}

.com__link2 a img {
  margin-left: 13px;
  margin-right: -13px;
  position: relative;
  top: -21px;
}

.com__link2 a b {  
  margin-left: 8px;
  display: inline-block;
  text-align: center;
  width: 34px;
  height: 18px;
  line-height: 18px;
  background: #fff;
  border-radius: 9px!important;
  font-size: 14px;
  font-family: "Pretendard";
  color: rgb(251, 79, 14);
  font-weight: 800;  
}


img {
  max-width: 100%;
}

.inner {
  max-width: 1920px;
  margin: 0 auto;
}

.inner2 {
  max-width: 1140px;
  margin: 0 auto;
}

h3.com__title1,
h3.com__title1 span,
h3.com__title1 i {
  font-size: 80px;
  font-style: normal;  
  font-weight: 800;
  line-height: 1.188;  
}

p.com__desc1 {
  font-size: 20px;  
  line-height: 1.5;
}

section .title h3,
section .title p.com__desc1 {
  opacity: 0;
  transform: translateY(100px);
}

/* 애니메이션 정의 */
@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .active 클래스가 있을 때만 애니메이션 실행 */
section .title.active h3,
section .animation.active .title h3 {
  animation: slideUpFade 0.8s ease-out 0s forwards;
}

section .title.active p.com__desc1,
section .animation.active .title p.com__desc1 {
  animation: slideUpFade 0.8s ease-out 0.6s forwards;
}

section.credit {  
  position: relative;
}

section.credit::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: calc( (100% - 1920px) / 2);
  height: 100%;
  background: url(../../images/esangsang_main/credit_bg2.png) repeat;
}

section.credit::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: calc( (100% - 1920px) / 2);
  height: 100%;
  background: url(../../images/esangsang_main/credit_bg3.png) repeat;
}

section.credit .inner {
  padding-top: 140px;
  padding-bottom: 290px;
  background: url("../../images/esangsang_main/credit_bg1.png")no-repeat;
  background-position: center top;
}

section.credit .title {
  text-align: center;  
}

section.credit .title h3 {
  position: relative;
  display: inline-block;
}

section.credit .title h3 span  {
  color: #fff;
}

section.credit .title h3 i {
  color: #000000;
}

section.credit .title .com__title1 .bubble1 {
  position: absolute;
  top: 50px;
  right: calc(100% + 110px);
}

section.credit .title .com__title1 .bubble2 {
  position: absolute;
  top: 56px;
  left: calc(100% + 50px);
}

section.credit .title.active .com__title1 .bubble1,
section.credit .title.active .com__title1 .bubble2 {
  animation: floatUpDown 3s ease-in-out infinite;
}

/* 부드럽게 위아래로 반복 이동 */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

section.credit p.com__desc1 {
  margin-top: 40px;
  color: #fff;
}

section.credit .circle__box {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

section.credit .circle__box .circle {
  position: relative;
  width: 325px;
  height: 325px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

section.credit .circle__box .circle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(255, 255, 255);
  opacity: 0.502;
  z-index: 1;
  border-radius: 50%;
}

section.credit .circle__box .circle h4 {
  position: relative;
  z-index: 2;
  font-size: 30px;  
  color: rgb(26, 25, 28);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

section.credit .circle__box .circle p {
  margin-top: 25px;
  position: relative;
  z-index: 2;  
  font-size: 18px;  
  font-weight: 400;
  color: rgba(26, 25, 28, 0.8);
  line-height: 1.444;
}

/* 초기 상태 설정 */
section.credit .circle__box .arr,
section.credit .circle__box .circle {
  opacity: 0;
  transform: translateY(30px);
}


/* keyframes 정의 */
@keyframes slideInLeftFade {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .active 클래스가 붙었을 때 실행 */
section.credit .circle__box.active .arr {
  animation: slideUpFade 0.6s ease-out 0s forwards;
}

section.credit .circle__box.active .circle:nth-of-type(1) {
  animation: slideUpFade 0.6s ease-out 0s forwards;  
}

section.credit .circle__box.active .circle:nth-of-type(3) {
  animation: slideUpFade 0.6s ease-out 0s forwards;
}

section.verified {
  background: url(../../images/esangsang_main/verified_bg1.png) no-repeat;
  background-size: cover;
  padding-top: 160px;
  padding-bottom: 200px;
}

section.verified .title {
  text-align: center;
}

section.verified .title h3 {
  color: #fff;
}

section.verified .title h3 i {
  color: #ff5a00;
}

section.verified .title p {
  margin-top: 40px;
  color: #fff;
}


.flip-vertical-left {
	
}

section.verified ul {
  margin-top: 40px;
  display: flex;
  gap: 10px;
}

section.verified ul li {
  position: relative;
  width: calc(25% - (30px / 4));
  height: 395px;
  overflow: hidden;
  border-radius: 20px;
  padding: 50px 0;
  box-sizing: border-box;
  transition: transform 1s ease, opacity 1s ease;    
  transform: rotateY(-180deg);
  opacity: 0;
}

section.verified ul.active li {
  transform: rotateY(0);
  opacity: 1;
}




section.verified ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: rgb(255, 255, 255);
  opacity: 0.922;  
}

section.verified ul li .textbox {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

section.verified ul li .textbox .text1 {  
  font-size: 24px;  
  color: rgb(26, 25, 28);
  font-weight: 800;
}

section.verified ul li .textbox .text2 {  
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
}

section.verified ul li .textbox .text2 span {  
  font-size: 120px;
  font-family: "Play";
  background: linear-gradient(-87deg, rgba(44, 137, 253, 1) 0%, rgba(37, 123, 229, 1) 68%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* 최신 브라우저 대응 */
  background-clip: text;
  color: transparent;
  font-weight: 600;
  line-height: 0.8;
}



section.verified ul li .textbox .text2 i {  
  font-size: 20px;  
  font-style: normal;
  color: rgb(103, 103, 103);
  font-weight: 800;
}

section.verified ul li:last-child .textbox .text2 i {
    position: absolute; 
    right: 17px;
}

section.verified ul li .textbox .text3 {  
  font-size: 18px;  
  color: rgba(26, 25, 28, 0.8);
  line-height: 1.444;
}

section.tendency {
  background: #0183fb;
}

section.tendency .inner {
  position: relative;
  padding: 190px 0;
}

section.tendency .tendency_img1 {
  position: absolute;
  top: 0;
  left: calc(50% + 130px);
  transform: translateX(-50%);
}

section.tendency .tendency_img1.mobile {
  display: none;
}



section.tendency .tendency_img2 {
  position: absolute;
  top: 265px;
  right: 25px;
}

.tendency_img2.mobile {
  display: none;
}

section.tendency .title {
  position: relative;
  z-index: 2;
  text-align: left;
}

section.tendency .title h3 {
  color: #fff;
}

section.tendency .title h3 span i {
  color: #fff82c;
}

section.tendency .title p {
  margin-top: 50px;
  color: #fff82c;
}

section.tendency .tab__menu {
  margin-top: 140px;
}

section.tendency .tab__menu > p {  
  padding-left: 32px;
  position:relative;
  font-size: 26px;  
  color: rgb(5, 37, 173);
  font-weight: 800;
  line-height: 1;  
}

section.tendency .tab__menu > p:before {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;  
  left: 13px;
  top: 50%;
  transform: translateY(-50%);    
  background: rgb(5, 37, 173);  
}

section.tendency .roundbox {
  display: flex;
  position: relative;
  margin-top: 20px;
  padding: 65px 80px;  
  border-radius: 20px;    
}

section.tendency .roundbox::before {
  content: '';
  position: absolute;
  background-color: rgb(253, 253, 253);
  opacity: 0.302;  
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

section.tendency .roundbox .textbox {
  width: 300px;
  position: relative;
  z-index: 3;
}

section.tendency .roundbox .textbox ul li {
  position: relative;  
  border-bottom: 1px solid rgba(1, 124, 243, 1);  
  transition: background 0.5s ease;
}

section.tendency .roundbox .textbox ul li > div {
  display: flex;
 /* padding: 15px 0 5px;*/
  gap: 15px;
  overflow: hidden;
}

section.tendency .roundbox .textbox ul li::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 45.5px solid transparent;
  border-bottom: 45.5px solid transparent;
  border-left: 32px solid #0525ad;
  position: absolute;
  right: -31px;
  z-index: 1;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s ease, right 0.5s ease;
}

section.tendency .roundbox .textbox ul li.active::before {  
  right: -31px;
  opacity: 1;
}

section.tendency .roundbox .textbox ul li.active {
  background: #0525ad;
}

section.tendency .roundbox .textbox ul li span {
  font-size: 100px;
  color: rgb(1, 131, 251);
  font-weight: 700;
  line-height: 0.7;
  padding: 0 7px;
  display: inline-block;
  position: relative;
  top: 9px;
  width: 70px;
  box-sizing: border-box;
  transition: color 0.5s ease;
}

section.tendency .roundbox .textbox ul li.active span {
  color: #fff;
}

section.tendency .roundbox .textbox ul li div div {
  margin-top: 10px;
}

section.tendency .roundbox .textbox ul li div div h4 {
  font-size: 26px;
  font-family: "Pretendard";
  color: rgb(255, 255, 255);
  font-weight: 800;
  transition: color 0.5s ease;
}

section.tendency .roundbox .textbox ul li.active div div h4 {
  color: #fff82c;
}

section.tendency .roundbox .textbox ul li div div p {  
  margin-top: 7px;
  font-size: 14px;
  font-family: "Pretendard";
  color: rgba(255, 255, 255, 0.502);
  line-height: 1.286;
}

section.tendency .roundbox .imgbox {
  background: #fff;
  width: 680px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

section.tendency .roundbox .imgbox ul li {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  box-sizing: border-box;
  transform: translateX(-50px);
}

section.tendency .roundbox .imgbox ul li.active {
  z-index: 2;
  opacity: 1;
  transform: translateX(0);
}

section.tendency .roundbox .imgbox ul li .mobile {
  display: none;
}

section.endowment {
  overflow-x: hidden;
  margin-top: 15px;
  padding-bottom: 200px;
}

section.endowment .inner2 {    
    position: relative;
}

section.endowment .title {
    display: flex;
    justify-content: space-between;
    transform: none;
    position: relative;
    width: 100%;
}

section.endowment .title h3 {
  color: #939393;
  position: relative;
  left: -150px;
  top: 40px;
}

section.endowment .title h3 span i {
  color: #0f6fe5;
}

section.endowment .title div.left {
  display: flex;
  position: relative;
  left: -233px;
}

section.endowment .title div.left .mobile {
  display: none;
}

section.endowment .title .left p.com__desc1 {
    left: -150px;
    position: relative;
    top: 60px;
    display: none;
}

section.endowment .title div.right {
    text-align: right;
    transform: translateY(-25%);
}

section.endowment .title.active img.teacher {
  animation: floatUpDown 3s ease-in-out infinite;
  position: relative;
  top: 10px;
}

section.endowment ul {
  margin-top: 80px;
  display: flex;  
  align-items: center;
  justify-content: center;
}

section.endowment ul li:nth-child(2) {
  margin: 0 50px;
  padding: 0 50px;
  border-left: 1px solid rgb(141, 141, 141, 0.5);
  border-right: 1px solid rgb(141, 141, 141, 0.5);
}

section.endowment ul li > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

section.endowment ul li > div span {  
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px!important;  
  background-color: rgb(237, 6, 6);  
  width: 49px;
  height: 29px;
  font-size: 18px;  
  color: rgb(255, 255, 255);
  font-weight: 800;
}

section.endowment ul li > div h4 {  
  font-size: 26px;  
  color: #000;
  font-weight: 800;
}

section.endowment ul li > div h4 b {
  color: rgb(15, 111, 229);
  font-weight: 800;
}

section.endowment ul li > p {
  margin-top: 15px;
  font-weight: 400;
  font-size: 18px;  
  color: rgba(25, 25, 26, 0.8);
  line-height: 1.444;
}

section.learning {
  background: #f7f6f4; 
  padding-top: 180px;
  padding-bottom: 160px;
  overflow-x: hidden;
}

section.learning .title {
    display: flex;
    justify-content: space-between;    
    width: 100%
}

section.learning .title .mark {
  transition: filter 0.5s ease;
  filter: blur(100px);
	background-color: rgba(0, 0, 0, 0); /* 검정색 배경에 50% 투명도 */
}

section.learning .title .mark.active {
  filter:blur(0);
}

section.learning .title h3 {
  color: #19191a;
}

section.learning .title h3 span i {
  color: #0f6fe5;
}

section.learning .title div {
  text-align: right;
}

section.learning .stepbox {
  position: relative;
}

section.learning .stepbox h4 {  
  text-align: center;
  font-size: 33px!important;  
  color: rgb(25, 25, 26);
  font-weight: 800;
}

section.learning .stepbox h4 span {
  color: #0f6fe5;
}

section.learning .stepline {
  margin-top: 50px;
  width: 0;
  background: #2e2d2d;
  height: 1px;
  left: -50vw;
  position: relative;
  transition: width 1s ease;
}

section.learning .stepbox.active .stepline {
  width: 150vw;
}

section.learning ul {
  display: flex;
  justify-content: center;
  gap: 12px;  
  position: relative;
  top: -12px;
}

section.learning ul li {
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

section.learning .stepbox.active ul li {
  opacity: 1;
  transform: translateY(0px);
}

section.learning .stepbox.active ul li:nth-child(1) {
  transition-delay: 1s;
}

section.learning .stepbox.active ul li:nth-child(2) {
  transition-delay: 1.5s;
}

section.learning .stepbox.active ul li:nth-child(3) {
  transition-delay: 2s;
}

section.learning ul li span {
  position: relative;
  padding: 5px 14px;
  background: #f7f6f4;
  border: 3px solid rgb(25, 25, 26);
  font-size: 16px;  
  color: rgb(25, 25, 26);
  font-weight: 800;
  line-height: 1.625;
  border-radius: 18px!important;
}

section.learning ul li span::before {
  content: '';
  position: absolute;
  bottom: -9px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid black;
}

section.learning ul li div {
  position: relative;
  margin-top: 20px;
  padding: 40px 45px;
  box-sizing: border-box;
  width: 360px;
  height: 390px;
  border-radius: 20px!important;
  overflow: hidden;
  text-align: left;
}

section.learning ul li:nth-child(1) div {
  background: #0f6fe5;
}

section.learning ul li:nth-child(2) div {
  background: url(../../images/esangsang_main/learning_bg1.png) no-repeat;
  background-size: cover;
}

section.learning ul li:nth-child(3) div {
  background: #163cae;
}

section.learning ul li div h5 {  
  font-size: 26px;  
  color: rgb(255, 255, 255);
  font-weight: 800;
  line-height: 1.308;
}

section.learning ul li div p {  
  margin-top: 30px;
  font-size: 18px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.444;
}

section.learning ul li div img {
  position: absolute;
  right: 45px;
  bottom: 30px;
}

section.plan {
  position: relative;
}

section.plan .moviebox {
  position: relative;
  padding-right: 100px;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

section.plan .moviebox::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: calc(100% - 100px);
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

section.plan .moviebox video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.plan .flex {
    position: absolute;
    display: flex;
    width: calc(100% - 200px);
    padding: 0 100px;
    top: 110px;
    z-index: 2;
    justify-content: space-between;
    align-items: flex-start;
}

section.plan .flex .title h3 {
  color: #fff;
}

section.plan .flex .title h3 span i  {
  color: #0f6fe5;
}

section.plan .flex .title p {  
  margin-top: 70px;
  color: rgba(255, 255, 255, 0.6);
}

section.plan .round__text1 {
  right: -220px;
  position: relative;
  font-size: 22px;
  font-weight: 400;
  color: rgb(255, 255, 255);
  line-height: 1.636;
  background: #146aea;
  padding: 40px 25px 40px 70px;
  border-top-left-radius: 100px!important;
  border-bottom-left-radius: 100px!important;
  top: 79px;
}

section.plan .round__text1.mobile {
  display: none;
}

section.plan .round__text1::before {
  content: '';  
  position: absolute;
  right: 0;
  bottom: -23px;
  background: url(../../images/esangsang_main/plan_tail1.png) no-repeat;
  width: 21px;
  height: 23px;
}

section.emotion {
  padding-top: 220px;
  padding-bottom: 150px;
}

section.emotion .title {
  display: flex;
  justify-content: space-between;
}

section.emotion .title h3 {
  color: #19191a;  
}

section.emotion .title h3 span {
  font-size: 100px;
  line-height: 1.2;
}

section.emotion .title h3 span i {
  color: #136aea;
  font-size: 100px;
}

section.emotion .title p {
  margin-top: 40px;
  text-align: right;
}

section.emotion .subject {
  margin-top: 90px;
  text-align: center;
}

section.emotion .subject p {  
  margin-top: 25px;
  font-size: 26px;  
  color: rgb(62, 133, 233);
  font-weight: 800;
  line-height: 1.538;
}

section.emotion ul {
  display: flex;
  justify-content: center;
}

section.emotion ul li .imgbox {
  padding-top: 50px;
  position: relative;
  overflow: hidden;
}

section.emotion ul li:nth-child(1) {
  position: relative;
  top: -80px;
}

section.emotion ul li:nth-child(2) {
  margin-top: 110px;
}

section.emotion ul li:nth-child(3) {
  margin-top: 0;
  text-align: center;
}

section.emotion ul li:nth-child(1) .imgbox {
  left: -55px;
}

section.emotion ul li:nth-child(3) .imgbox {
  height: 307px;
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  top: -22px;
}

section.emotion ul li:nth-child(4) .imgbox {
  left: 30px;
  height: 358px;
  display: flex;
  position: relative;
  top: -90px;
  flex-direction: column-reverse;
}

section.emotion ul li .imgbox img:last-child {
  position: absolute;
  transition: transform 0.5s ease;
  /* transform: translateY(100%);   */
  left: 0;
  bottom: 0;
}

section.emotion ul li .imgbox img.mobile {
  display: none;
}



section.emotion ul li .imgbox img:last-child {    
    transform: translateY(100px);
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

section.emotion ul.active li .imgbox img:last-child {
  transform: translateY(0);
    opacity: 1;
}

section.emotion ul li .imgbox:hover img:last-child {
  transform: translateY(0%);  
}

section.emotion ul li:nth-child(1) .textbox {
  margin-top: 20px;
}

section.emotion ul li:nth-child(2) .textbox {
  position: relative;
  left: -40px;
  top: -85px;
}

section.emotion ul li .textbox {
  display: inline-block;
  text-align: left;
  position: relative;
}

section.emotion ul li:nth-child(3) .textbox {
  left: 40px;
  margin-top: 20px;
}

section.emotion ul li:nth-child(4) .textbox {
  left: 65px;
  margin-top: 0;
  position: relative;
  top: -58px;
}

section.emotion ul li .textbox h4 {
  font-size: 24px;
  color: rgb(25, 25, 26);
  font-weight: 800;

}

section.emotion ul li .textbox p {  
  margin-top: 20px;
  font-size: 16px;
  font-weight: 400;
  color: rgba(51, 51, 51, 0.8);
  line-height: 1.5;
}

section.emotion ul li .textbox div {
  margin-top: 20px;
}

section.emotion ul li .textbox div span {  
  display: inline-block;
  font-size: 15px;    
  font-weight: 800;
  line-height: 1.267;
}

section.emotion ul li:nth-child(1) .textbox div span {
  color: rgb(237, 27, 35);
}

section.emotion ul li:nth-child(2) .textbox div span {
  color:#f15921;
}

section.emotion ul li:nth-child(3) .textbox div span {
  color: #4db847;
}

section.emotion ul li:nth-child(4) .textbox div span {
  color: #00aeef;
}

section.course  {
  position: relative;
  overflow: hidden;
}

section.course .bg {
  position: relative;
  background: url(../../images/esangsang_main/course_bg1.png) no-repeat;
  background-size: cover;  
  background-position: center;
  height: 100vh;  
}

section.course .bg img {
  display: none;
}

section.course .inner {
  position: relative;
}

section.course .title {
  position: absolute;
  top: 23vh;
  left: 9.8%;
  z-index: 3;
}

section.course .title h3 {
  color: #fff;
}

section.course .title h3 span i {
  color: #fcd500;
}

section.course .title p {
  margin-top: 30px;
  color: #fff;
}

section.course .title a {
  margin-top: 45px;
  width: 195px;
  height: 55px;
  background: #0a4191;
  border-radius: 28px!important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

section.course .title a span {
  font-size: 18px;  
  color: rgb(255, 255, 255);
  font-weight: 800;
  line-height: 1.333;
}

.balloonbox {
    position: absolute;
    top: 40vh;
    right: 15%;    
}

.balloonbox div {
  position: relative;
  width: 260px;
  height: 141px;  
}

.balloonbox div.balloon1 {
  background: url(../../images/esangsang_main/course_boom1.png) no-repeat;  
  right: 60px;
  
}

.balloonbox div.balloon2 {
  background: url(../../images/esangsang_main/course_boom2.png) no-repeat;
  right: 260px;    
  top: -70px;
}

.balloonbox div.balloon3 {
  background: url(../../images/esangsang_main/course_boom3.png) no-repeat;
  right: 90px;    
  top: -180px;
  z-index: 2;
}

.balloonbox div.balloon4 {
 background: url(../../images/esangsang_main/course_boom4.png) no-repeat; 
 top: -270px;
 right: 210px;
 z-index: 1;
}

.balloonbox div.balloon5 {
  background: url(../../images/esangsang_main/course_boom5.png) no-repeat;
  top: -372px;
  right: 7px;
  z-index: 1;
}

.balloonbox div span {
  font-size: 23px;
  color: rgb(255, 255, 255);
  font-weight: 800;
  position: relative;
  top: 40px;
  left: 49px;
}

/* 초기 상태: 안 보이게 설정 */
.balloonbox div {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}

/* 애니메이션 정의 */
@keyframes floatUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .active 상태에서 순차 애니메이션 적용 */
.balloonbox.active .balloon1 {
  animation: floatUpFade 0.6s ease-out 0s forwards;
}
.balloonbox.active .balloon2 {
  animation: floatUpFade 0.6s ease-out 0.2s forwards;
}
.balloonbox.active .balloon3 {
  animation: floatUpFade 0.6s ease-out 0.4s forwards;
}
.balloonbox.active .balloon4 {
  animation: floatUpFade 0.6s ease-out 0.6s forwards;
}
.balloonbox.active .balloon5 {
  animation: floatUpFade 0.6s ease-out 0.8s forwards;
}

.balloonbox.active div.active {
  animation-name: wiggle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  opacity: 1;
  transform: translateY(0);
}

.balloonbox.active .balloon1.active {
    animation-duration: 2.6s;
    animation-delay: 0s;
}
.balloonbox.active .balloon2.active {
    animation-duration: 3.2s;
    animation-delay: 0.5s;
}
.balloonbox.active .balloon3.active {
   animation-duration: 2.4s;
  animation-delay: 0.2s;
}
.balloonbox.active .balloon4.active {
  animation-duration: 3s;
  animation-delay: 0.7s;
}
.balloonbox.active .balloon5.active {
  animation-duration: 2.8s;
  animation-delay: 0.3s;
}

.iconbox__web {
  display: block;
}

.iconbox__mobile {
  display: none;
}

.iconbox img {
  position: absolute;
}

.iconbox_img1 {
  top: 10vh;
  left: 38%;
}

.iconbox_img2 {
  top: 40vh;
  right: 12%;
}

.iconbox_img3 {
  bottom: 24vh;
  left: 11.3%;
}

.iconbox_img4 {
  bottom: 16vh;
  left: 16%;
}

.iconbox_img5 {
  bottom: 0;
  left: 27%;
}

.iconbox_img6 {
  bottom: 18vh;
  left: 36%;
}

.iconbox_img7 {
  bottom: -60px;
  left: 37%;
}

.iconbox_img8 {
  bottom: 19px;
  left: 56%;
}

.iconbox_img9 {
  bottom: 50px;
  left: 75.5%;
}

/* 공통 애니메이션 정의 */
@keyframes wiggle {
  0% {
    transform: scale(1) rotate(0deg) translateY(0);
  }
  25% {
    transform: scale(1.05) rotate(2deg) translateY(-3px);
  }
  50% {
    transform: scale(0.98) rotate(-2deg) translateY(2px);
  }
  75% {
    transform: scale(1.03) rotate(1deg) translateY(-2px);
  }
  100% {
    transform: scale(1) rotate(0deg) translateY(0);
  }
}

.iconbox img {
  animation-name: wiggle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
}

/* 각 아이콘에 다른 타이밍 적용 */
.iconbox_img1 {
  animation-duration: 2.6s;
  animation-delay: 0s;
}

.iconbox_img2 {
  animation-duration: 3.2s;
  animation-delay: 0.5s;
}

.iconbox_img3 {
  animation-duration: 2.4s;
  animation-delay: 0.2s;
}

.iconbox_img4 {
  animation-duration: 3s;
  animation-delay: 0.7s;
}

.iconbox_img5 {
  animation-duration: 2.8s;
  animation-delay: 0.3s;
}

.iconbox_img6 {
  animation-duration: 3.4s;
  animation-delay: 0.6s;
}

.iconbox_img7 {
  animation-duration: 2.5s;
  animation-delay: 0.4s;
}

.iconbox_img8 {
  animation-duration: 3.1s;
  animation-delay: 0.8s;
}

.iconbox_img9 {
  animation-duration: 2.9s;
  animation-delay: 0.1s;
}

section.review {
  background: #fcd500;
  padding: 90px 0;
  overflow-x: hidden;
}


section.solution {
  background: #fdfaf6;
  padding: 125px 0;
}

section.solution .title {
  text-align: center;
  overflow: hidden;
}

section.solution .title > h3 {
  letter-spacing: -0.5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Allin, NE - 페이드 + 이동 효과 */
section.solution .title > h3 .text {
  font-size: 280px;
  font-family: "SofiaPro";
  color: white;
  font-weight: 800;
  text-shadow:
    -2px -2px 0 black,
     2px -2px 0 black,
    -2px  2px 0 black,
     2px  2px 0 black,
    0px  -2px 0 black,
    0px   2px 0 black,
    -2px  0px 0 black,
     2px  0px 0 black;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.title.active .text:nth-of-type(1) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.title.active .text:nth-of-type(2) {
  transition-delay: 0.8s;
  opacity: 1;
  transform: translateY(0);
}

/* O 텍스트 스타일 */
section.solution .title > h3 b {
  position: relative;
  font-size: 280px;
  font-family: "SofiaPro";
  color: transparent; 
  font-weight: 800;
  margin: 0 -10px;
  display: inline-block;  
  overflow: hidden; /* ::before가 부모를 넘지 않게 */
}

/* O 그려지는 before */
section.solution .title > h3 b::before {
  content: 'O';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.1);
  font-size: 1em;
  font-family: "SofiaPro";
  font-weight: 800;
  color: #ed1b23;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1s ease 1s, transform 1s ease 1s;
}

/* 활성화되면 중앙부터 부드럽게 확장 */
section.solution .title.active b::before {
    clip-path: circle(150% at 50% 50%);
    transform: translate(-50%, -50%) scale(1);
}

/* section.solution .title > h3 b:after {
  content: 'O';
  position: absolute;
  font-size: 280px;
  font-family: "SofiaPro";
  color: #ed1b23;
  font-weight: 800;
  left: 0;
  top: 0;
} */

section.solution .title > span {  
  font-size: 65px;  
  color: rgb(25, 25, 26);
  font-weight: 800;
  line-height: 0.923;
}

section.solution .title > p { 
  margin-top: 60px;
  font-size: 20px;
  font-weight: 500;
  color: rgb(15, 112, 243);
  line-height: 1.5;
}

section.solution .linebox {
  position: relative;
  z-index: 2;
}

section.solution .linebox ul {
  position: relative;
  z-index: 2;
  margin-top: 100px;
  display: flex;
  gap: 7px;
  justify-content: center;
}

section.solution .linebox ul li {
  
}

section.solution .linebox ul li > span {
  position: relative;
  text-align: center;
  display: flex;
  width: 138px;
  height: 80px;
  align-items: center;
  justify-content: center;
  border-radius: 100px!important;  
  font-size: 18px;
  color: rgb(255, 255, 255);
  line-height: 1.5;
  font-weight: 800;

}

section.solution .linebox ul li > span::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translate(-50%);
  bottom: -11px;
  width: 0;
  height: 0;
  border-left: 6.5px solid transparent;
  border-right: 6.5px solid transparent;
  border-top: 11px solid #1f59cd; /* 원하는 색상으로 변경 가능 */
}

section.solution .linebox ul li.bg1 > span {
  background: #1f59cd;
}

section.solution .linebox ul li.bg2 > span {
  background: #0f90f3;
}

section.solution .linebox ul li.bg2 > span::before {  
  border-top: 11px solid #0f90f3; /* 원하는 색상으로 변경 가능 */
}

section.solution .linebox ul li.bg3 > span {
  background: #0f6fe5;
}

section.solution .linebox ul li.bg3 > span::before {  
  border-top: 11px solid #0f6fe5; /* 원하는 색상으로 변경 가능 */
}

section.solution .linebox ul li.bg4 > span {
  background: #000000;
  width: 197px;
}

section.solution .linebox ul li.bg4 > span::before {  
  border-top: 11px solid #000000; /* 원하는 색상으로 변경 가능 */
}

section.solution .linebox ul li.bg4 img {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease 1s, bottom 1s ease 1s;
  bottom: 70px;  
  max-width: max-content;
  transform: translateX(-80px);
  z-index: -1;
}

section.solution .linebox.active ul li.bg4 img {
  opacity: 1;
  bottom: 130px;  
}

section.solution .linebox ul li > div {
  margin-top: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section.solution .linebox ul li > div i {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid #000;
  border-radius: 50%!important;
}

section.solution .linebox ul li.bg4 > div i {
  background: #ff6c00;
  width: 47px;
  height: 47px;
  box-sizing: border-box;
  position: absolute;    
  bottom: 12px;
  display: block;
  border-radius: 50%!important;
}

section.solution .linebox ul li.bg4 > div b {
  font-size: 16px;
  margin-top: 7px;
  z-index: 1;
}

section.solution .linebox ul li > div b { 
  margin-top: 7px;
  display: inline-block; 
  font-size: 12px;  
  color: rgb(0, 0, 0);
  font-weight: 800;
}

section.solution .linebox ul li > div b span {
  font-size: 20px;  
  font-style:italic;
  color: rgb(0, 0, 0);
  font-weight: 800;
}

section.solution .linebox .line {
  display: flex;
  align-items: center; 
  position: absolute;
  z-index: 1;
  bottom: 33px;
  left: calc((1140px - 100vw) / 2);
  width: 0;
  transition: width 1.5s ease;
}

section.solution .linebox.active .line {
  width: 100vw;
}

section.solution .linebox .line span {
  background: #0e69d9;
  width: 100vw;  
  height: 5px;
  border-top: 1px solid #5892d9;
  border-bottom: 1px solid #5892d9;
}

section.review .title {
  text-align: center;
}

section.review .title h3 {
  font-size: 60px;  
  color: rgb(255, 255, 255);
  font-weight: 800;
}

section.review .title p {  
  margin-top: 15px;
  font-size: 20px;  
  color: rgb(255, 255, 255);
  line-height: 1.5;
}

section.review .slick-list {
  padding-top: 8px;  
}

section.review .silickbox {
  margin: 0 -15px;
  margin-top: 40px;
  padding: 0 100px;
  opacity: 0;
  transform: translateY(30px);
}

section.review .silickbox.active {
  animation: slideUpFade 0.8s ease-out 0s forwards;
}

section.review .slick1 div.item {  
  position: relative;  
  margin: 0 7.5px;
}

section.review .slick1 div > span.mark {
  position: absolute;
  top: -9px;
  right: 28px;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0); /* 검정색 배경에 50% 투명도 */
}

section.review .slick1 div .round {
  box-sizing: border-box;
  padding-top: 66px;
  border-radius: 20px!important;
  background: #fff;
  overflow: hidden;
}

section.review .slick1 div .round .textbox {
  padding: 0 25px;
}

section.review .slick1 div .round .textbox p {
  font-size: 18px;  
  color: #19191a;  
  font-weight: 800;
  line-height: 1.217;
}

section.review .slick1 div .round .textbox p > span {
  display: block;  
  margin-bottom: 10px;
  font-size: 20px;    
  font-weight: 800;
  line-height: 1.217;
  color: rgb(15, 111, 229);
}

section.review .slick1 div .round .textbox > span {  
  margin-top: 15px;
  display: block;
  font-size: 16px;  
  color: rgba(51, 51, 51, 0.8);
  line-height: 1.5;
}

section.review .slick1 div .round .imgbox {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

section.review .slick1 div .round .imgbox .img__mark {
  position: absolute;
  left: 20px;
  bottom: 30px;
}

section.review .slick1 div .round .imgbox .img__human {
  position: relative;
  z-index: 1;
}

section.review .slick-arrow {
  cursor: pointer;
  font-size: 0;
  border: 0;
  width: 50px;
  height: 50px;
  transition: filter 0.5s ease;  
}

section.review .slick-arrow:hover {
  filter: invert(1);
}

section.review .slick-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: -65px;
  background: url(../../images/esangsang_main/review_arr1.png) no-repeat;
}

section.review .slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: -65px;
  background: url(../../images/esangsang_main/review_arr2.png) no-repeat;
}

@media screen and (max-width: 1920px) {

  section.review .slick1 div .round .textbox {    
    min-height: 140px;
  }

}

@media screen and (max-width: 1700px) {

  section.tendency .tendency_img2 {
    position: absolute;
    top: 22vw;
    right: 25px;
    width: 60vw;
  }

}

@media screen and (max-width: 1600px) {

  section.course .iconbox {
    position: absolute;
    left: -10vw;
    top: -10vh;
    width: 120vw;
    height: 120vh;
    transform: scale(0.8);
  }

  section.endowment .title div.left {    
    left: -233px;
    padding-left: 10%;
  }

}


@media screen and (max-width: 1500px) {

  h3.com__title1, h3.com__title1 span, h3.com__title1 i {
    font-size: 60px;    
  }

  section.emotion .title h3 span,
  section.emotion .title h3 span i {
    font-size: 80px;    
  }

  p.com__desc1 {
    font-size: 16px;  
  }


  section.credit .circle__box .circle {    
    width: 275px;
    height: 275px;    
  }

  section.credit .circle__box .circle h4 {
    font-size: 25px;
  }

  section.credit .circle__box .circle p {    
    font-size: 15px;    
  }

  section.verified ul li {    
    height: 315px;
  }

  section.verified ul li .textbox .text2 span {
    font-size: 90px;
  }

  section.verified ul li:last-child .textbox .text2 i {  
    right: 37px;
  }

  section.plan .round__text1 {    
    font-size: 17px;    
    padding: 30px 25px 30px 70px; 
  }

}

@media screen and (max-width: 1280px) { 

  .inner,
  .inner2 {
    padding: 0 20px;
  }

  h3.com__title1, h3.com__title1 span, h3.com__title1 i {
      font-size: 45px;
  }

  h3.com__title1, h3.com__title1 span, h3.com__title1 i {
      font-size: 50px;
  }

  section.emotion .title h3 span,
  section.emotion .title h3 span i {
    font-size: 60px;    
  }


  section.learning {    
    padding-top: 150px;
    padding-bottom: 150px;  
  }

  section.learning .title {
    flex-direction: column;
    align-items: center;
    margin-bottom: 70px;
  }

  section.learning .title h3 br {
    display: none;
  }

  section.learning .title p {
    text-align: left;
  }

  section.learning .title p br {
    display: none;
  }

  section.learning .title div {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    margin-bottom: 50px;
  }

  section.learning .title {     
      margin-bottom: 0;
  }
  

  section.learning .stepbox.active ul li {    
    flex: 1;
  }

  section.learning ul li div {
    width: 100%;
  }

  section.plan .moviebox {    
    padding-right: 20px;    
  }

  section.plan .flex {
      position: absolute;
      display: flex;
      width: calc(100% - 80px)!important;
      padding: 0 40px;
      height: 100vh;
      top: 0;
      padding-top: 50px;
  }
  
  section.plan .round__text1 {
    right: -80px;
    position: absolute;    
    top: 70%;
  }

  section.emotion ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 70px;
  }

  section.emotion ul li {
    width: 50%;
  }

  section.emotion ul li {
    top: 0 !important;
    margin: 0 !important;
    text-align: center;
  }

  section.emotion ul li .imgbox img:first-child {
    width: max-content;
  }

  section.emotion ul.active li .imgbox img:last-child {
    transform: translate(-50%, 0);
    opacity: 1;
    left: 50%;
  }

  section.emotion ul li .imgbox img:last-child {
    transform: translate(-50%, 100px);    
  }

  section.emotion ul li .imgbox {    
    align-items: center;
  }

  section.emotion ul li:nth-child(2) .textbox {
    position: relative;
    left: -90px;
    top: -85px;
  }

  section.emotion {
    padding-top: 150px;
    padding-bottom: 100px;
  }

  section.course .iconbox {
      position: absolute;
      left: -20vw;
      top: -15vh;
      width: 140vw;
      height: 140vh;
      transform: scale(0.6);
      z-index: 1;
  }

  .balloonbox {
    position: absolute;
    top: 35vh;
    right: 0%;
    z-index: 2;
  }

  section.solution .title > h3 .text {
    font-size: 180px;
  }

  section.solution .title > h3 b {    
    font-size: 180px;    
    margin: 0 0px;    
    padding: 0 5px;
  }

  section.solution .title > h3 {
    margin-top: 20px;
  }

  section.solution {  
    padding: 100px 0;
  }

  section.solution .linebox ul li > span {    
    width: 110px;
    height: 70px;    
    font-size: 14px;        
  }

  section.solution .linebox ul li.bg4 > span {  
    width: 150px;
  }

  section.solution .linebox .line span {
      width: min(95vw, 1110px);
  }

  section.solution .linebox .line {    
    left: -20px;    
  }

  section.solution .linebox ul li {
    position: relative;
  }

  section.solution .linebox.active ul li.bg4 img {
    opacity: 1;
    bottom: 133px;
  }
  
  section.solution .linebox ul li.bg4 img {
    max-width: 100%;
    transform: none;
    z-index: -1;
  }

  section.endowment .title div.left {
      left: -5%;
      padding-left: 0%;
  }

  section.endowment ul li:nth-child(2) {
    margin: 0 30px;
    padding: 0px 30px;    
  }

  section.endowment ul li > div h4 {
    font-size: 24px;    
  }

  section.endowment ul li > p {    
    font-size: 16px;    
  }

  section.endowment {
    margin-top: 15px;
    padding-bottom: 100px;
  }

  section.tendency .roundbox {    
    padding: 35px 40px;    
  }

  section.tendency .roundbox .imgbox ul li {    
    padding: 25px 35px;    
  }

  section.tendency .tendency_img2 {
      position: relative;
      top: 0;
      right: 0;
      width: max-content;
      max-width: 100%;
      margin-top: 70px;
      margin: 0 auto;
      margin-top: 80px;
  }

  section.tendency .tendency_img2.web {
    display: none;
  }

  section.tendency .tendency_img2.mobile {
      display: inline-block;
  }

  section.tendency .roundbox .textbox {
    width: 330px;    
  }

  section.tendency .roundbox .imgbox {    
    width: 650px;    
  }

  section.tendency .inner {
    position: relative;
    padding: 100px 0;
  }

  section.plan .moviebox::before {    
    width: calc(100% - 20px);    
  }



}

@media screen and (max-width: 1024px) { 

  section.verified ul {
      flex-direction: row;
      flex-wrap: wrap;
      max-width: 780px;
      margin: 0 auto;
      margin-top: 40px;
  }

  section.verified ul li {
    position: relative;
    width: calc(50% - 5px);
  }

  section.verified ul li:last-child .textbox .text2 i {
      right: 0;
      position: relative;
  }

  section.credit .inner {
    padding-top: 100px;
    padding-bottom: 250px;
  }

  section.verified {    
    padding-top: 100px;
    padding-bottom: 150px;
  }

  section.learning ul li div {    
    padding: 30px 25px;    
    height: 310px;
  }

  section.learning ul li div h5 {
    font-size: 19px;
  }

  section.learning ul li div p {   
    font-size: 15px;
  }

  section.learning ul li div img {
    position: absolute;
    right: 25px;
    bottom: 20px;  
    width: 30%;
  }

  section.course .title {    
    left: 5%;    
  }

  .balloonbox div {  
    width: 190px;
    height: 115px;
    background-size: cover !important;
  }

  .balloonbox div span {
    font-size: 17px;    
    top: 34px;
    left: 47px;
  }

  .balloonbox div.balloon4 {    
    top: -240px;    
  }

  .balloonbox div.balloon5 {   
    top: -352px;
  }

  section.review .silickbox {
    padding: 0 50px;
  }

  section.review .slick-prev {    
    left: -50px;
  }

  section.review .slick-next {    
    right: -50px;
  }

  section.review .title h3 {
    font-size: 50px;    
  }

  section.review .title p {
    margin-top: 15px;
    font-size: 17px;    
    line-height: 1.5;
  }

  section.solution .linebox ul li > span {
      width: 100px;     
  }

  section.solution .title > h3 .text {
      font-size: 150px;
  }

  section.solution .title > h3 b {
      font-size: 150px;
      margin: 0 0px;
      padding: 0 5px;
  }

  section.solution .title > h3 b::before {    
    font-size: 150px;
  }

  section.endowment .title div.right {
    display: none;
  }

  section.endowment .title .left p.com__desc1 {
    display: block;
  }

  section.endowment ul li > div span {    
    width: 47px;
    height: 26px;
    font-size: 15px;    
 }

  section.endowment ul li > div h4 {
    font-size: 22px;
  }

  section.endowment ul li > p {
    font-size: 15px;
  }

  section.credit .inner {
      padding-top: 37vw;
      padding-bottom: 100px;
      background: url(../../images/esangsang_main/credit_bg1m.png) no-repeat;
      background-position: top;
      background-size: cover;
  }

  section.tendency .roundbox {
    display: flex;
    position: relative;    
    flex-direction: column;
    overflow: hidden;
    gap: 30px;
  }

  section.tendency .roundbox .textbox {
      width: 100%;
  }

  section.tendency .roundbox .imgbox {
      width: 100%;
      height: 600px;
  }

  section.tendency .roundbox .textbox ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
  }

  section.tendency .roundbox .textbox ul li.active::before {
    display: none;
  }

  section.tendency .tendency_img1 {
    position: absolute;
    top: 0;
    left: inherit;
    transform: none;
    right: 0;
  }

  section.tendency .tendency_img1.web {
    display: none;
  }

  section.tendency .tendency_img1.mobile {
    display: block;
  }

  section.tendency .roundbox .textbox ul li span {
    font-size: 80px;
    top: 9px;
    width: 50px;    
  }

  section.tendency .roundbox .textbox ul li div div h4 {
    font-size: 22px;
  }

  .com__link1 {
    display: none;
  }

  section.plan .moviebox {
      padding-right: 20px;
      padding-bottom: 56.8%;
      height: 0;
      margin-top: 50px;
  }

  section.plan .moviebox video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
  }

  section.plan .moviebox::before {
      width: 100%;
  }


  section.plan .flex {
    position: relative;
    display: flex;
    width: 100%!important;
    padding: 0 40px!important;
    height: auto;
    top: 0;
    padding-top: 100px!important;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
  }

  section.plan .flex .title h3 {
    color: #000;
  }

  section.plan .flex .title p {
    color: #000;
  }

  section.plan .round__text1::before {
    display: none;
  }

  section.plan .round__text1.web {
    display: none;
  }

  section.plan .round__text1.mobile {
    display: block;
      right: 0px;
      position: relative;
      top: 70%;
      border-radius: 0;
      margin-top: -1px;
      padding: 20px;
      text-align: center;
  }

  .com__link2 {
      height: 60px;
  }

  .com__link2 .web {
    display: none;
  }

  .com__link2 .mobile {
    display: block;
  }

  .com__link2 a {    
    width: 100%;    
  }
  


  section.tendency .roundbox .textbox ul li::before {
    display: none;
  }


  section.tendency .roundbox .imgbox ul li {    
    transform: translateX(0);
  }
  
  

}

@media screen and (max-width: 870px) { 

  /* section.course .bg {
      position: relative;
      background: #151515 url(../images/main/course_bg1m.png) no-repeat;
      background-size: initial;
      background-position: center bottom;
      height: 100vh;
  }

  .balloonbox {
    display: none;
  } */

  section.course .bg {
    background: #151515 url(../../images/esangsang_main/course_bg1.png) no-repeat;
    background-size: initial;
    background-position: 67% 230px;
    height: 100vh;
  }

  section.course .title {   
    top: 90px;
  }

  .balloonbox {      
    top: 58vh;      
  }

  .iconbox_img1 {
    top: 0;
    left: initial;
    right: 0;
  }

  .iconbox_img3 {
    display: none;
  }

  .iconbox_img4 {
    display: none;
  }

  .iconbox_img5 {
    bottom: 0;
    left: 0;
  }

  .iconbox_img7 {
    bottom: -60px;
    left: 24%;
  }

  section.solution .linebox ul {    
    margin-top: 50px;    
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
  }

  section.solution .linebox ul li {
    display: flex;
    flex-direction: row-reverse;
    gap: 20px;
    width: 100%;
    justify-content: flex-end;
  }

  section.solution .linebox ul li > span {
      width: 70%;
  }

  section.solution .linebox ul li > div {
      margin-top: 0;
      text-align: center;
      display: flex;
      flex-direction: row-reverse;
      align-items: center;
      gap: 10px;
      width: 15%;
  }

  section.solution .linebox ul li.bg4 > span {
      width: 70%;
  }

  section.solution .linebox ul li > div b {
      margin-top: 0;
      display: inline-flex;
      font-size: 11px;
      align-items: center;
      gap: 2px;
      width: 50px;
      justify-content: space-between;
  }

  section.solution .linebox ul li > div b span {
      font-size: 17px;
  }

  section.solution .linebox .line {
      left: calc(15% - 22px);
      display: flex;
      align-items: center;
      position: absolute;
      z-index: 1;
      bottom: 0;      
      height: 0;
      transition: height 1.5s ease;
      flex-direction: column;
      top: 0;
  }

 section.solution .linebox .line img {
      transform: rotate(90deg);
      /* width: 6px; */
      /* height: 16px; */
      position: relative;
      left: 0;
      top: -2px;
      opacity: 0;
      transition: opacity 0.5s ease 1s;
  }

  section.solution .linebox.active .line img {
    opacity: 1;
  }

  section.solution .linebox.active .line {
      width: 23px;
      height: 110%;
  }

  section.solution .linebox .line span {
      height: 100%;
      width: 3px;
  }

  section.solution .linebox ul li > span br {
    display: none;
  }

  section.solution .linebox ul li > span::before {
    content: '';
    position: absolute;
    left: -8px;
    transform: translateY(-50%);
    bottom: initial;
    width: 0;
    height: 0;
    top: 50%;
    border-top: 6.5px solid transparent;
    border-bottom: 6.5px solid transparent;
    border-right: 11px solid #1f59cd;
    border-left: 0;
  }

  section.solution .linebox ul li.bg2 > span::before {      
      border-top: 6.5px solid transparent;
      border-bottom: 6.5px solid transparent;
      border-right: 11px solid #0f90f3;
  }

  section.solution .linebox ul li.bg3 > span::before {    
    border-top: 6.5px solid transparent;
    border-bottom: 6.5px solid transparent;
    border-right: 11px solid #0f6fe5;
  }

  section.solution .linebox ul li.bg4 > span::before {    
    border-top: 6.5px solid transparent;
    border-bottom: 6.5px solid transparent;
    border-right: 11px solid #000000;
  }

  section.solution .linebox ul li.bg4 {
    padding-top: 110px;
  }

  section.solution .linebox.active ul li.bg4 img {
      opacity: 1;
      bottom: 65px;
  }

  section.solution .linebox ul li.bg4 img {    
    bottom: 0;
    transform: translateX(-80px);
    z-index: -1;
    left: 55%;
    width: 110px;
  }

  section.solution .linebox ul li.bg4 > div i {    
    transform: translateX(11px);
  }

  section.solution .linebox ul li.bg4 > div b {
      font-size: 15px;
      margin-top: 1px;
      transform: translateX(13px);
      justify-content: center;
  }

  section.endowment ul {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  section.endowment ul li {
    width: 50%;
    text-align: center;
  }

  section.endowment ul li > div {
    display: flex;
    align-items: center;
    gap: 8px;
    align-content: center;
    justify-content: center;
  }
  
  section.endowment ul li > div h4 {
    font-size: 22px;
  }

  section.endowment ul li > div span {
    width: 47px;
    height: 26px;
    font-size: 15px;
  }

  section.endowment ul li > p {
    font-size: 15px;
  }

  section.endowment ul li:nth-child(2) {
    margin: 30px 0;
    padding: 30px 0;
    border: 0;
    border-top: 1px solid rgb(141, 141, 141, 0.5);
    border-bottom: 1px solid rgb(141, 141, 141, 0.5);
  }

  section.endowment .inner > img ,
  section.endowment .title div.left .web {
    display: none;
  }

  section.endowment .title div.left .mobile {
      display: block;
      width: calc(100% + 80px);
      max-width: max-content;
  }

  section.endowment .title div.left {
      left: 0;
      padding-left: 0%;
      width: 100%;
      justify-content: center;
  }

  section.endowment .title div.left div {
    position: absolute;
    right: -5vw;
    bottom: 50px;
  }

  section.tendency .roundbox {
    padding: 20px;
  }

  section.tendency .roundbox .textbox ul li > div {
    display: flex;
    padding: 15px 0 5px;
    gap: 5px;
    overflow: hidden;
    align-items: center;
  }

  section.tendency .roundbox .textbox ul li span {
      font-size: 60px;
      top: 0;
      width: 50px;
  }

 section.tendency .roundbox .textbox ul li div div h4 {
      font-size: 18px;
  }

  section.tendency .roundbox .textbox ul li div div p {    
    font-size: 12px;    
  }

  section.tendency .roundbox .textbox ul li > div {      
    padding: 10px 0 10px;      
  }

  section.tendency .title {    
    margin-top: 50px;
  }

  section.tendency .tab__menu {
    margin-top: 50px;
  }



  section.tendency .roundbox .imgbox ul li {
      padding: 0 20px;
  }

  section.solution .linebox ul li > span {
    font-size: 18px;
  }

}

@media screen and (max-width: 780px) { 

  h3.com__title1, h3.com__title1 span, h3.com__title1 i {
      font-size: 40px;
  }

  section.emotion .title h3 span, section.emotion .title h3 span i {
      font-size: 50px;
  }

  section.emotion .subject p {
    margin-top: 25px;
    font-size: 21px;    
  }


  p.com__desc1 {
      font-size: 15px;
  }

  section.credit .circle__box {        
    flex-direction: column;
  }

  section.credit .circle__box .arr img {
    transform: rotate(90deg);
  }

  /* arr는 좌우 슬라이드 효과 */
  section.credit .circle__box .arr {
    transform: translateY(-30px);
  }

  /* keyframes 정의 */
  @keyframes slideInLeftFade {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  section.credit .circle__box .circle {
      width: 225px;
      height: 225px;
  }

  section.credit .circle__box .circle h4 {
      font-size: 20px;
  }

  section.credit .circle__box .circle p {
      font-size: 13px;
  }

  section.credit .circle__box .arr img {     
      width: 20px;
  }

  section.verified ul li .textbox .text1 {
      font-size: 19px;
  }

  section.verified ul li .textbox .text2 span {
      font-size: 70px;
  }

  section.verified ul li .textbox .text3 {
    font-size: 15px;  
    line-height: 1.444;
  }


  section.learning {
      padding-top: 80px;
      padding-bottom: 80px;
  }

  section.learning .title h3 {  
    text-align: center;
  }

  section.learning .title .mark {    
    width: 60vw;
    max-width: 450px;
    transition: filter 0.5s ease 0.5s;
  }

  section.learning .title p {
    text-align: center;
  }

  section.learning .stepbox h4 {
      font-size: 24px!important;
      line-height: 1.3;
  }
  
  section.learning .title {     
      margin-bottom: 20px;
  }

  section.learning ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    top: 0;
    flex-direction: column;
    margin-top: 50px;
    z-index: 2;
  }

  section.learning ul li div {   
      max-width: 300px;
      margin: 0 auto;
      margin-top: 20px;
  }

  section.learning .stepbox.active .stepline {
      width: 1px;
      height: calc(100% - 100px);
  }
  section.learning .stepline {
      margin-top: 50px;
      width: 1px;
      background: #2e2d2d;
      height: 0;
      left: 50%;
      position: absolute;
      transition: height 1s ease;      
      transform: translateX(-50%);
      z-index: 1;
      top: 30px;
      display: none;
  }

  section.plan .round__text1 {
      font-size: 13px;
      padding: 20px 15px 20px 40px;
      right: 0px;
      position: absolute;
      top: 60%;
	   border-top-left-radius: 0px!important;
      border-bottom-left-radius: 0px!important;
  }

  section.emotion {
    padding-top: 100px;
    padding-bottom: 100px;
  }

}

@media screen and (max-width: 640px) { 
  

  h3.com__title1, h3.com__title1 span, h3.com__title1 i {
      font-size: 40px;
  }

  section.endowment .title h3 {
    line-height: 1;
  }

  section.endowment .title h3 span,
  section.endowment .title h3 span i {
    font-size: 35px;
  }

  p.com__desc1 {
      font-size: 15px;
  }  

  p.com__desc1 br {
    display: none;
  }

  section.verified ul li .textbox .text1 {
      font-size: 17px;
  }

  section.verified ul li .textbox .text2 span {
      font-size: 50px;
  }

  section.verified ul li {
      height: 185px;
      padding: 20px 0;
  }

  section.verified ul li .textbox .text3 {
      font-size: 13px;
      line-height: 1.5;
  }

  section.credit .inner {
      padding-top: 230px;
      padding-bottom: 50px;
  }

  section.credit .circle__box .circle h4 {
      font-size: 23px;
  }

  section.credit .circle__box .circle p {
      font-size: 15px;
  }


  section.emotion {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  section.emotion .title h3 span, section.emotion .title h3 span i {
      font-size: 35px;
  }

  section.emotion .title {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  
  section.emotion .title p {  
    text-align: center;
  }

  section.emotion .subject {
    margin-top: 40px;
    text-align: center;
  }

  section.emotion .subject p {      
      font-size: 15px;
  }

  section.emotion .subject img {
    width: 130px;
  }

  section.emotion ul li {
      width: 100%;
      margin-top: 0px !important;
  }

  section.emotion ul li:nth-child(3) {
    margin-top: 0 !important;  
  }

  section.emotion ul li:nth-child(4) {
      width: 100%;
      margin-top: 0px !important;
  }

  section.emotion ul li:nth-child(1) .imgbox {
    left: 0;
  }

  section.emotion ul li:nth-child(2) .textbox {
      position: relative;
      left: 0;
      top: 0;
  }

  section.emotion ul li:nth-child(3) .imgbox {
    top: 0;
  }

  section.emotion ul li:nth-child(4) .imgbox {
    left: 0;    
    top: 0;    
  }
  
  section.emotion ul li:nth-child(1) .textbox {
    margin-top: 0;
  }

  section.emotion ul li:nth-child(4) .textbox {
    left: 0;
    margin-top: 0;    
    top: 0;
  }

  section.emotion ul li .textbox {
    margin-top: 20px !important;
  }

  section.emotion ul li .textbox p {
    margin-top: 10px;
  }

  section.emotion ul li .textbox div {
    margin-top: 10px;
  }

  section.emotion ul {
      gap: 30px;
      padding: 0 30px;
      box-sizing: border-box;
  }

  /* section.emotion ul li .imgbox img:last-child {
    transform: translate(-50%, 0);
    opacity: 1;
  } */

  section.course {
      position: relative;
      overflow: hidden;
      background: #151515;
      display: flex;
      flex-direction: column-reverse;
      padding-bottom: 50px;
  }

  section.course .bg {
      background: none;      
      height: auto;
  }

  section.course .title {
      top: 0;
      left: 0;
      position: relative;
      padding: 50px 20px;
  }

  section.course .bg img {
    display: block;
  }

  .balloonbox {     
      display: none;
  }

  section.course .iconbox {
      position: absolute;
      left: 0;
      top: inherit;
      width: 100vw;
      height: 100%;
      transform: scale(1);
      z-index: 1;
      bottom: 0;
  }

  .iconbox__web {
    display: none;
  }

  .iconbox__mobile {
    display: block;
  }

  .iconbox__mobile img {
    filter: invert(1) brightness(1.5);
  }

  .iconbox_img1 {
      top: 50px;
      left: initial;
      right: 20px;
  }

  .iconbox_img2 {
      top: inherit;
      right: 0;
      bottom: 0;
      left: 20px;
      width: 60px;
  }

  .iconbox_img3 {
      bottom: 110px;
      left: 110px;
      display: block !important;
      width: 20px;
  }

  .iconbox_img4 {
      bottom: -10px;
      left: 160px;
      display: block !important;
      width: 35px;
  }

  .iconbox_img5 {
      bottom: 0;
      left: inherit;
      right: 20px;
      width: 110px;
  }

  .iconbox_img6 {
      bottom: 90px;
      left: inherit;
      right: 20px;
      width: 27px;
  }

  .iconbox_img7 {
      bottom: 170px;
      left: inherit;
      right: 10px;
      width: 19px;
  }

  section.course .title a {
    margin-top: 25px;
    width: 175px;
    height: 50px;    
  }

  section.course .title a span {
    font-size: 15px;
  }

  section.course .title p {
    margin-top: 20px;  
  }

  /* section {
    display: none;
  }

  section.review {
    display: block;
  } */

  section.review .slick-arrow {    
    width: 35px;
    height: 35px;    
    filter: invert(1);
  }

  section.review .slick-next {    
    right: -37px;
    background: url(../../images/esangsang_main/review_arr2.png) no-repeat;
    background-size: contain;
  }

  section.review .slick-prev {
    left: -37px;
    background: url(../../images/esangsang_main/review_arr1.png) no-repeat;
    background-size: contain;
  }

  section.review .title h3 {
      font-size: 36px;
      line-height: 1.3;
      word-break: keep-all;
  }

  section.review .title p {
      margin-top: 15px;
      font-size: 15px;
      line-height: 1.5;
  }

  section.review {    
    padding: 50px 0;  
  }

  section.solution .linebox ul li > span {
    width: calc(100% - 90px);
  }

  section.solution .linebox ul li.bg4 > span {
      width: calc(100% - 90px);
  }

  section.solution .linebox ul li > div {
    margin-top: 0;
    text-align: center;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 10px;
    width: 90px;
  }

  section.solution .linebox .line {
    left: 62px;
  }  

  section.solution .linebox ul li.bg4 img {
      bottom: 0;
      transform: none;
      z-index: -1;
      left: 49%;
      width: 110px;
  }

  section.solution .title img {
    width: 170px;
  }

  section.solution .title {
    text-align: center;
    overflow: hidden;
  }

  section.solution .title > h3 {
    letter-spacing: -0.5em;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  section.solution .title {
    text-align: center;
    overflow: hidden;
  }

  section.solution .title > h3 .text {
      font-size: 19vw;
      letter-spacing: 0.025em;
  }

  section.solution .title > h3 b {
      font-size: 19vw;
      margin: 0 0;
      padding: 0 5px;
      margin-left: -7px;
  }

  section.solution .title > h3 b::before {    
    font-size: 19vw;    
  }

  section.solution .title > span {
    font-size: 11.5vw;    
  }

  section.solution .title > p {
      margin-top: 40px;
      font-size: 17px;
  }

  section.solution {
      padding: 50px 0 100px;
  }

  section.verified {
      padding-top: 50px;
      padding-bottom: 50px;
  }

  section.credit .title .com__title1 .bubble1,
  section.credit .title .com__title1 .bubble2 {
    display: none;
  }

  section.plan .flex .title p {
    margin-top: 20px;    
  }

  

  section.endowment .title h3 {
    color: #939393;
    position: relative;
    left: 0;
    top: 0;
  }

  section.endowment .title .left p.com__desc1 {
    left: 0;
    position: relative;
    top: 30px;  
  }

 section.endowment .title div.left div {
      position: absolute;
      right: 0;
      bottom: 40px;
      padding-left: 34vw;
      padding-top: 11vw;
  }

  section.endowment ul li {
    width: 100%;
    text-align: left;
  }

  section.endowment ul li > div {      
    justify-content: flex-start;
  }

  section.endowment .inner2 {  
    padding: 0;
  }

  section.endowment {
    margin-top: 15px;
    padding-bottom: 50px;
  }

  section.tendency .roundbox .textbox ul {    
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);    
  }

  section.tendency .roundbox .textbox ul li span {
      font-size: 50px;
      top: 0;
      width: 40px;
  }

  section.tendency .roundbox .textbox ul li div div h4 {
      font-size: 17px;
  }

  section.tendency .inner {     
      padding: 100px 0 50px;
  }

  section.tendency .title p {
    margin-top: 20px;  
  }

  section.tendency .tab__menu > p {
    padding-left: 25px;
    font-size: 17px;    
  }

  section.tendency .tab__menu > p:before {    
    width: 6px;
    height: 6px;    
  }

  section.plan .round__text1.mobile {
    padding: 10px;
  }

  section.tendency .roundbox .imgbox ul li .web {
    display: none;
  }

  section.tendency .roundbox .imgbox ul li .mobile {
    display: block;
  }

  section.tendency .roundbox .imgbox {
      height: auto;
  }

  section.tendency .roundbox .imgbox ul li {
      padding: 0;
  }

  section.tendency .roundbox .imgbox ul li.active {
    z-index: 2;
    opacity: 1;
    position: relative;
  }
  
  section.emotion ul li .imgbox {      
    padding-top: 50px;
  }

  section.emotion ul li:nth-child(3) .imgbox {
    height: auto;
  }
  
  section.emotion ul li .imgbox img:first-child,
  section.emotion ul li .imgbox img:last-child {
    width: 100%;
    max-width: 335px;
  }

  section.emotion ul li .imgbox img:first-child {     
    display: inline-block;
  }

  section.emotion ul li:nth-child(3) .textbox {
    left: 0;  
  }

  section.emotion .slick-arrow {
    cursor: pointer;
    font-size: 0;
    border: 0;
    width: 35px;
    height: 35px;
    transition: filter 0.5s ease;  
    filter: invert(1);
    z-index: 2; 
  }

  section.emotion .slick-arrow:hover {
    /* filter: invert(1); */
  }

  section.emotion .slick-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -10px;
    background: url(../../images/esangsang_main/review_arr1.png) no-repeat;
    background-size: cover;
  }

  section.emotion .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -10px;
    background: url(../../images/esangsang_main/review_arr2.png) no-repeat;
    background-size: cover;
  }

  section.emotion ul li .imgbox img.web {
    display: none !important;
  }

  section.emotion ul li .imgbox img.mobile {
    display: inline-block;
  }

  section.emotion ul li:nth-child(4) .imgbox {
    height: auto;
  }

  section.emotion ul.active li .imgbox img:last-child {
      transform: none;
      opacity: 1;
      left: 0;
      position: relative;
  }

  section.review .silickbox {
      padding: 0 40px;
  }

  .modal__wrap > div {
    z-index: 2;
    padding: 0 20px;
  }

  .modal__wrap > div .close__btn {
    position: absolute;
    top: 0;
    right: 20px;
    width: 25px;
    height: 30px;
  }

}

@media screen and (max-width: 500px) {

  section.credit .inner {
      padding-top: 150px;
      padding-bottom: 50px;
  }

  section.endowment .title div.left div {      
      bottom: -10px;      
  }

  section.endowment ul {
      margin-top: 110px;
  }

  .com__link2 a p {
    font-size: 20px;
  }

}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4); /* 배경 어둡게 */
  justify-content: center;
  align-items: flex-end; /* ⬅ 하단 정렬 */
}

.modal-content {
  background-color: #fff;
  /*padding: 20px;*/
  border-radius: 10px 10px 0 0;
  width: 100%;
  max-width: 600px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
  position: relative; /* 닫기 버튼 절대 위치 기준 */	
}



@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* 이미지 */
.modal-content img {
  display: block;
  width: 100%;
  height: auto;
}

/* 닫기 버튼 */
.modal-content .close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  z-index: 1000;
}

.modal-content .close:hover {
  color: #ff0000;
}

.footer_link a {	
	color: rgb(12, 110, 254);	
}

.footer_link a:hover {	
	color: #ffffff;	
}

#goTopBtn {
  position: fixed;
  bottom: 70px;
  right: 10px;
  z-index: 999;
  background-color: rgb(12, 110, 254);
  color: #fff;
  border: none;
  border-radius: 50%!important;
  width: 45px;
  height: 45px;
  font-size: 20px;
  cursor: pointer;
  display: none;
  transition: opacity 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

#goTopBtn:hover {
  background-color:  rgb(12, 110, 254);
}

