.main .main-banner {
  position: relative;
  height: fit-content;
}
.main .main-banner img {
  width: 100%;
  display: block;
  height: 100%;
}

.main .main-banner img.pc-img {
  display: block;
}
.main .main-banner img.mo-img {
  display: none;
}
.main .main-banner .banner-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: absolute;
  bottom: 20px;
  z-index: 20;
  left: 50%;
  transform: translateX(-50%);
}
.main .main-banner .banner-option button {
  width: 32px;
}
.main .main-banner .banner-option button img {
  display: block;
  width: 100%;
}
.main .main-banner .banner-option .banner-pagination {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.main .main-banner .banner-option span {
  display: inline-block;
  width: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: #1a1a1a;
  background: transparent;
  opacity: 1;
  height: fit-content;
  margin: 0;
}
.main .main-banner .banner-option span.swiper-pagination-bullet-active {
  color: #48c1c5;
  font-weight: bold;
}
.main .sec02 {
  background: #edfafa;
  padding: 150px 0;
}
.main .sec02 .top-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.main .sec02 .top-group h2 {
  font-weight: 600;
  font-size: 3.8rem;
  letter-spacing: -0.06em;
}
.main .sec02 .top-group h2 span {
  font-weight: 400;
}
.main .sec02 .top-group .btn-link a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #48c1c5;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.06em;
  transition: color 0.1s ease;
}
.main .sec02 .top-group .btn-link a img {
  width: 26px;
  display: block;
  transition: filter 0.1s ease;
}
.main .sec02 .top-group .btn-link:hover a {
  color: #09acb2;
}
.main .sec02 .top-group .btn-link:hover img {
  filter: drop-shadow(4px 4px 6px rgba(26, 26, 26, 0.15));
}
.main .sec02 .list-item ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.main .sec02 .list-item ul li {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.main .sec02 .list-item .info {
  padding: 15px;
}
.main .sec02 .list-item .info p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: break-all;
  letter-spacing: -0.04em;
  margin-bottom: 15px;
}
.main .sec02 .list-item .info span {
  font-size: 1.4rem;
  color: #aaaaaa;
  letter-spacing: -0.04em;
}
.main .sec03 {
  margin: 0 auto 150px;
}
.main .sec03 .img-box {
  width: 100%;
  overflow: hidden;
}
.main .sec03 .img-box img {
  width: 100%;
  display: block;
}
.main .sec04 {
  margin-bottom: 120px;
  margin-top: 120px;
}
.main .sec04 h2 {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: -0.06em;
  line-height: 1.4;
  margin-bottom: 14px;
}
.main .sec04 h2 strong {
  font-weight: 600;
}
.main .instructor-slide {
  width: 100%;
  height: fit-content;
}
.main .instructor-slide .swiper-wrapper {
  transition-timing-function: linear !important;
}
.main .instructor-slide .swiper-slide {
  width: 325px;
}
.main .instructor-slide .swiper-slide img {
  display: block;
  width: 100%;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.main .sec05 {
  background: #edfafa;
  padding: 80px 0;
}
.main .sec05 .container {
  display: flex;
  justify-content: space-between;
}
.main .sec05 .left-box p {
  font-size: 2.6rem;
  font-weight: 400;
  margin-bottom: 14px;
}
.main .sec05 .left-box h2 {
  font-size: 4.8rem;
}
.main .sec05 .main-form {
  width: 50%;
  max-width: 554px;
}
.main .sec05 .main-input {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #eee;
  display: flex;
  align-items: center;
  padding: 0 20px;
}
.main .sec05 .main-input + .main-input {
  margin-top: 8px;
}
.main .sec05 .main-input label {
  font-weight: 500;
  display: inline-block;
  width: 116px;
  text-align: left;
  letter-spacing: -0.06em;
}
.main .sec05 .main-input label span {
  color: #48c1c5;
}
.main .sec05 .main-input input {
  height: 62px;
  border: none;
  width: calc(100% - 118px);
}
.main .sec05 input[type=checkbox] {
  border: 1px solid #999;
}
.main .sec05 input[type=checkbox]:checked{
  border: none;
}
.main .sec05 .agree {
  margin-top: 10px;
}
.main .sec05 .agree label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.main .sec05 .agree button {
  color: #48c1c5;
}
.main .sec05 .agree button span {
  color: #999;
  font-weight: 400;
  letter-spacing: -0.06em;
  text-decoration: underline;
}
.main .sec05 .btn {
  margin-top: 20px;
  width: 100%;
  height: 70px;
  background-color: #48c1c5;
  font-weight: 500;
  color: #fff;
  border-radius: 60px;
  letter-spacing: -0.06em;
  transition: 0.2s ease;
}
.main .sec05 .btn:hover {
  background: #09acb2;
  box-shadow: 4px 4px 6px rgba(26, 26, 26, 0.15);
}

.video-box {
  position: relative;
  height: 0;
  padding-bottom: 56.25%;
}

.video-box iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 1200px) {
  .main .sec02 {
    padding: 70px 0;
  }
  .main .sec02 .top-group h2 {
    font-size: 2.8rem;
  }
  .main .sec02 .top-group .btn-link a {
    gap: 6px;
    font-size: 1.6rem;
  }
  .main .sec02 .top-group .btn-link a img {
    width: 20px;
    display: block;
  }
  .main .sec02 .list-item ul {
    gap: 14px;
  }
  .main .sec02 .list-item .info {
    padding: 15px;
  }
  .main .sec02 .list-item .info p {
    margin-bottom: 10px;
  }
  .main .sec02 .list-item .info span {
    color: #aaaaaa;
    letter-spacing: -0.04em;
    font-size: 1.2rem;
  }
  .main .sec03 {
    margin: 70px auto;
  }
  .main .sec04 {
    margin-bottom: 60px;
    margin-top: 60px;
  }
  .main .sec04 h2 {
    font-size: 3.2rem;
  }
  .main .sec05 {
    background: #edfafa;
    padding: 60px 0;
  }
  .main .sec05 .left-box p {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
  }
  .main .sec05 .left-box h2 {
    font-size: 3.2rem;
  }
  .main .sec05 .main-form {
    width: 50%;
    max-width: 554px;
  }
  .main .sec05 .main-input {
    padding: 0 16px;
  }
  .main .sec05 .btn {
    width: 100%;
    height: 60px;
  }
}
@media screen and (max-width: 1024px) {
  .main .sec05 .left-box {
    width: calc(50% - 32px);
  }
}
@media screen and (max-width: 768px) {
  .main .main-banner img.pc-img {
    display: none;
  }
  .main .main-banner img.mo-img {
    display: block;
  }
  .main .main-banner .banner-option button {
    width: 24px;
  }
  .main .main-banner .banner-option span {
    width: 24px;
    line-height: 24px;
    font-size: 1.4rem;
  }
  .main .sec02 .list-item ul {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  .main .sec03 {
    margin: 40px auto;
  }
  .main .sec03 .img-box {
    border-radius: 16px;
  }
  .main .sec02 .top-group h2 {
    font-size: 2rem;
  }
  .main .sec04 h2 {
    font-size: 2.4rem;
  }
  .main .sec05 .left-box {
    width: 100%;
  }
  .main .sec05 .left-box p {
    font-size: 1.6rem;
  }
  .main .sec05 .left-box h2 {
    font-size: 2.4rem;
  }
  .main .sec05 .container {
    display: flex;
    flex-direction: column;
    row-gap: 32px;
  }
  .main .sec05 .main-form {
    width: 100%;
    max-width: 100%;
  }
  .main .sec05 .main-input input {
    height: 52px;
    border: none;
  }
  .main .sec05 .main-input label {
    width: 104px;
  }
  .main .sec05 .main-input input {
    width: calc(100% - 104px);
  }
  .main .sec05 .btn {
    height: 52px;
  }
  .main .instructor-slide .swiper-slide {
    max-width: 240px;
    width: 85%;
  }
}
@media screen and (max-width: 576px) {
  .main .sec02 .top-group h2 {
    font-size: 1.8rem;
  }
  .main .sec02 .top-group .btn-link a {
    font-size: 1.4rem;
  }
  .main .sec04 h2 {
    font-size: 2rem;
  }
  .main .sec05 .left-box p {
    font-size: 1.4rem;
    margin-bottom: 6px;
  }
  .main .sec05 .left-box h2 {
    font-size: 1.8rem;
  }
}



/*


#popup {
  position: relative;
}

.popup-layer {
  z-index: 10000;
  position: absolute;
  background: #fff;
  box-shadow: 0px 0px 20px 0px rgba(0,0,0,.25);
  animation: popup-fade .65s ease-in-out .35s forwards;
  opacity: 0;
  max-width:800px;
}

@keyframes popup-fade {
  0% { opacity: 0;
    -webkit-transform: translateY(25px);
    -ms-transform: translateY(25px);
    transform: translateY(25px); }
  100% { opacity: 1;
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0); }
}
.popup-layer__body {
  background: #fff;
}

.popup-layer__body img {
  display: block;
  margin: 0 auto;
  border: none;
  max-width: 100%;
}

.popup-layer__foot {
  background: #424242;
}

.popup-layer__foot ul {
  display:flex;
  flex-wrap: wrap;
}

.popup-layer__foot li {
  width:50%;
  padding:10px;
}

.popup-layer__foot li:first-child {
  padding-right:0;
}

.popup-layer__foot li:last-child {
  text-align: right;
}

.popup-layer__foot span {
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition:all 0.3s ease;
}

.popup-layer__foot label:hover span { opacity: .7; }

!* .popup-layer-foot { background: #424242; }
.popup-layer-foot span { font-size: 15px; color: #fff; }
.popup-layer-foot label:hover span { opacity: .7; }
.popup-layer-foot li:first-child { padding-right: 0; }
.popup-layer-foot li:last-child { text-align: right; } *!


@media (max-width: 1024px){
  !* .popup-layer { z-index: 999; } *!
  .popup-layer { top: 95px !important; left: 0 !important; margin: 0 5px; }
}
@media (max-width: 768px){

  .popup-layer {
    width:calc(100% - 10px);
  }

  .popup-layer img {
    max-width: none;
    width:100%;
    height: auto !important;
  }
  .popup-layer-foot span { font-size: 14px; }

}
@media (max-width: 375px){
  .popup-layer-foot li { width: 100%; }
  .popup-layer-foot li:last-child { text-align: left; }
}
*/

/* popup 기본: 위치는 JS에서 fixed로 제어 */
.popup-layer {
  position: fixed;           /* JS가 left/top을 고정 적용하므로 fixed 사용 */
  z-index: 10000;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,.25);
  animation: popup-fade .65s ease-in-out .35s forwards;
  opacity: 0;
  box-sizing: border-box;
  /* padding: 8px;  수정             */
  /* 이미지와 푸터 사이 여백 */
  overflow: hidden;          /* 내부 스크롤 숨김 (이미지가 팝업보다 커지면 JS로 축소) */
  max-width: none;           /* JS로 너비 제어 */
}

/* 애니메이션 */
@keyframes popup-fade {
  0% { opacity: 0; transform: translateY(25px); }
  100% { opacity: 1; transform: translateY(0); }
}

.popup-layer__container { width: 100%; height: 100%; display: flex; flex-direction: column; box-sizing: border-box; overflow: hidden; }
.popup-layer__body { flex: 1 1 auto; display:flex; align-items:center; justify-content:center; overflow: hidden; padding:0; box-sizing: border-box; background:#fff; }

/* 이미지 기본: JS가 width/height 직접 설정하므로 max 규칙만 둠 */
.popup-layer__body .popup_img {
  display:block;
  width:auto;
  height:auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 푸터는 기존대로 사용 */
/* .popup-layer__foot { flex:0 0 auto; background:#424242; box-sizing:border-box; padding:6px 8px; }  아래로 수정 */
.popup-layer__foot { flex:0 0 auto; background:#1a1a1a; box-sizing:border-box; padding:14px 20px; }
.popup-layer__foot ul { display:flex; flex-wrap:wrap; margin:0; padding:0; list-style:none; 

  /* 추가 */
justify-content: space-between;
}
/* 수정 */
.popup-layer__foot li { 
  /* width:50%;  */
  /* padding:10px;  */
  padding: 0;
  box-sizing:border-box; 
}
.popup-layer__foot li:first-child { padding-right:0; }
.popup-layer__foot li:last-child { text-align:right; }

/* 수정 */
.popup-layer__foot span { 
  /* font-size:1.5rem; */
  font-size: 1.6rem;
  font-weight: 300;
  color:#fff;
  cursor:pointer;
  transition:all .3s ease; 
}
.popup-layer__foot label:hover span { opacity:.7; }

/* 작은 화면 예비 처리 (JS 적용 전후 안전장치) */
@media (max-width: 768px) {
  .popup-layer { left:5px !important; right:5px !important; width:auto !important; }
  .popup-layer__body .popup_img { width:100%; height:auto !important; }
}


/*  수정 */

.popup-layer__foot li:last-child button{
  font-weight: 500;
}








.video-box .warning-box{
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;align-items: center;
  justify-content:center ;color: #48C1C5;
  font-size: 2.4rem;
  font-weight: 600;
  text-align: center;

}

@media screen and (max-width: 768px) {
  .video-box
.warning-box{
font-size: 1.6rem;

}
}
@media screen and (max-width: 576px) {
  .video-box
.warning-box{
font-size: 1.4rem;

}
}

.popup-layer{
  height: auto !important;
}
.popup-layer__body a{
  width: 100%;
}
.popup-layer__body a img{
  width: 100% !important;
}
