@charset "utf-8";
/* 메인페이지 리뉴얼 (front.css 뒤에 로드) */
:root { --mr-blue: #1f4d8f; }
.mr-page #container { padding: 0; }

#gnb > ul > li .btn-dep1 {font-size: 18px;}

:root {
	 --white : #fff;
	 --brand-color1: #111;
	 --brand-color2: #666;
	 --font-color1: #111;
	 --font-color2: #505050;
	 --font-color3: #767676;
	 --font-color4: #acacac;
	 --bg-color1: #f7f8fb;
	 --bg-color2: #F5F7FE;
	 --bg-color3: #FFF4F8;
	 --bg-color4: #EDF9F8;
	 --bg-color5: #F7F8FB;
	 --background-color: #f7f8fb;
	 --line-color1: #e5e5e5;
	 --line-color2: #d4d4d8;
	 --line-color3: #111;
	 --system-color1: #115658;
	 --system-color2: #ffaa00;
	 --system-color3: #db1f31;
	 --system-color4: #ff1f53;
	 --system-color5: #EE001D;
	 --system-color6: #0066CC;
     --system-color7: #33969b;
}

/* ---------- 헤더: 평소 투명+흰 글씨 / 오버·2번째 화면 흰 배경+검정 글씨 ---------- */
.mr-page #header { position: fixed; left: 0; right: 0; top: 0; height: 136px; z-index: 200; background: transparent; border: 0; color: #fff; transition: background .4s ease-in-out, color .4s; }
.mr-page #header a, .mr-page #header .top .menu span { color: #fff; transition: color .4s; }
.mr-page #header .logo-w { display: inline; }
.mr-page #header .logo-d { display: none; }
.mr-page #header .top .menu i, .mr-page #header .allmenu a { filter: brightness(0) invert(1); }
.mr-page #header .btn-dep1:before { background: currentColor; }
.mr-page #gnb { width: 100%; }
.mr-page #gnb > ul { justify-content: space-evenly; }
.mr-page #header:hover, .mr-page.mr-on2 #header { background: #fff; color: #111; }
.mr-page #header:hover a, .mr-page.mr-on2 #header a,
.mr-page #header:hover .top .menu span, .mr-page.mr-on2 #header .top .menu span { color: #111; }
.mr-page #header:hover .logo-w, .mr-page.mr-on2 #header .logo-w { display: none; }
.mr-page #header:hover .logo-d, .mr-page.mr-on2 #header .logo-d { display: inline; }
.mr-page #header:hover .top .menu i, .mr-page.mr-on2 #header .top .menu i,
.mr-page #header:hover .allmenu a, .mr-page.mr-on2 #header .allmenu a { filter: none; }

/* ---------- 화면 구성: 일반 스크롤 + 스크롤 시 각 section 상단에 맞춤(js/main-renew.js) ---------- */
.mr-viewport { position: relative; }
.mr-panel { position: relative; width: 100%; }
.mr-arrow { position: fixed; left: 50%; width: 52px; height: 52px; margin-left: -26px; border-radius: 50%; background: rgba(17, 17, 17, .55); z-index: 60; transition: opacity .3s, background .3s; }
.mr-arrow:hover { background: #111; }
.mr-arrow:before { content: ''; position: absolute; left: 20px; width: 12px; height: 12px; border: solid #fff; border-width: 0 0 3px 3px; }
.mr-prev { top: 84px; } .mr-prev:before { top: 23px; transform: rotate(135deg); }
.mr-next { bottom: 24px; } .mr-next:before { top: 19px; transform: rotate(-45deg); }
.mr-arrow.off { opacity: 0; visibility: hidden; }
.mr-dots { position: fixed; top: 50%; right: 24px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 60; }
.mr-dots button { width: 10px; height: 10px; border-radius: 5px; background: #5b98d2; transition: all .3s; }
.mr-dots button.on { height: 28px; background: #33969b; }

/* ---------- section1: 비주얼 + 카드뉴스 + 예약 위젯(수강신청 위젯은 기존 front.css 스타일 그대로 사용, 배치만 지정) ---------- */
.mr-sec1 { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; padding: 136px 0 48px; background: url(../img/main/tmp__visual_banner.jpg) no-repeat 50% 50% / cover; }
.mr-sec1:before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, .4) 35%, rgba(0, 0, 0, .3)); pointer-events: none; }
.mr-sec1 > * { position: relative; }
.mr-hero { flex: 1; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.mr-hero h2{margin-bottom: 150px;}
.mr-copy small { display: block; font-size: 24px; font-weight: 400; color: #fff; text-shadow: 3px 3px 3px #000;  }
.mr-copy strong { display: block; margin-top: 8px; font-size: 52px; font-weight: 600; letter-spacing: -1px; color: #fff; text-shadow: 3px 3px 3px #000;  }
.mr-banner { flex: 0 0 400px; width: 400px; border-radius: 24px; overflow: hidden; }
.mr-banner .swiper-slide img { display: block; width: 100%; max-height: calc(100vh - 470px); /*object-fit: cover;*/ }
.mr-widget { width: 100%; }
.mr-widget .main-inquiry { margin: 0; }

.tabs2 a {margin-right:1px;}

/* ---------- section2: 퀵메뉴 + 이번달 일정(.main-calendar는 기존 front.css 사용) / section3: 정보마당 + 자주묻는 질문 + 예약현황(기존 front.css 사용) ---------- */
.mr-sec2, .mr-sec3 { display: flex; flex-direction: column; padding-top: 136px; background: #fff; }
.mr-sec2 .inner, .mr-sec3 .inner { width: 100%; }
.mr-calendar { padding: 20px 0 20px; }
.mr-quick-wrap { padding: 20px 0; /*background: linear-gradient(135deg, #e6edf2, #f7f9fa);*/background: #b8dafa; }
.mr-quick { display: flex; justify-content: center; gap: 100px; }
.mr-quick li { flex: 0 0 180px; border-radius: 10px; }
.mr-quick a { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 180px; padding: 20px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); font-size: 20px; font-weight: 500; transition: transform .3s, box-shadow .3s;  border-radius: 15px; }
.mr-quick a img { width: 80px; height: 120px; margin-bottom: 10px; object-fit: contain; }
.mr-quick a:hover { transform: translateY(-6px); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); color:#004a4c; font-weight: 600;}
.mr-faq { flex: 1; width: 100%; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 32px 0; }
.mr-faq  .main_inner { display: flex; justify-content: space-between; gap: 40px; } 
.mr-faq  .faq_left { position: relative; width: 50%; height: 264px; padding: 40px; background: url(../img/main/img_faq.png) no-repeat 110% 20px / 60%; border-radius: 0; overflow: hidden; background-color: #8fc3f4} 
.mr-faq  .faq_left h3 { font-size: 40px; line-height: 48px; font-weight: 700; } 
.mr-faq  .faq_left p { margin-top: 24px; font-size: 16px; font-weight: 500; } 
.mr-faq  .faq_left span{display: inline-block; position: relative; margin-top: 30px}
.mr-faq  .faq_left span:before {content: " →"; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; line-height: 40px; background-color: #111; border-radius: 50%; font-size: 20px; font-weight: 600; color: var(--white); text-align: center;} 
.mr-faq  .faq_left span:hover:before{opacity: 0.5;}
.mr-faq  .question_box { width: 50%; display: flex;    flex-direction: column;    flex-wrap: nowrap; gap:16px} 
.question_box li { position: relative;  padding: 20px 20px 20px 80px; box-sizing: border-box; border: 1px solid #ddd; } 
.question_box li:hover{transition: 0.3s ease-in-out; background: #f7f9fa; }
.question_box li::before { content: "Q"; position: absolute; left: 24px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; line-height: 40px; background-color: #111; border-radius: 50%; font-family: var(--ff-ko2); font-size: 20px; font-weight: 600; color: var(--white); text-align: center; } 
.question_box li a { position: relative; font-size: 19px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;width: 100%;display: inline-block; } 
 

/* calendar */
.main-calendar  { margin-bottom: 35px; } 
.main-calendar .calendar-col { display: flex; justify-content: space-between; gap: 20px; } 
.main-calendar .calendar-col .calendar-inner { width: 50%; } 
.main-calendar .calendar-inner { min-height: 510px; padding: 40px 40px 30px 40px; border-radius: 8px; background-color: #F5F8FD; } 
.main-calendar .calendar-titarea { display: flex; align-items: center; gap: 12px; } 
.main-calendar .calendar-tit { font-size: 28px; font-weight: 700; } 
.main-calendar .calendar-left .calendar-titarea { justify-content: space-between; } 
.main-calendar .calendar-control { display: flex; align-items: center; gap: 6px; } 
.main-calendar .calendar-control .btn { display: flex; align-items: center; justify-content: center; position: relative; width: 46px; height: 46px; padding: 0; border-radius: 50%; background-color: var(--white); border: 1px solid var(--line-color1); transition: .3s; } 
.main-calendar .calendar-control .btn::before { content: ""; display: inline-block; width: 24px; height: 24px; background-image: url(../img/common/ico_s24_arr_prev.svg); background-repeat: no-repeat; background-position: center; background-size: contain; transition: .3s; } 
.main-calendar .calendar-control .btn.btn-next::before { transform: rotate(180deg); } 
.main-calendar .calendar-control .btn:hover { background-color: var(--system-color1); } 
.main-calendar .calendar-control .btn:hover::before { filter: invert(100%); } 
.main-calendar .calendar-state { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 20px 0 14px 0; } 
.main-calendar .calendar-state li { display: inline-flex; align-items: center; gap: 8px; } 
.main-calendar .calendar-state li i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; } 
.main-calendar .calendar-state li i.color1 { border: 2px solid var(--system-color1); } 
.main-calendar .calendar-state li i.color2 { background-color: var(--system-color1); } 
.main-calendar .calendar-state li i.color3 { background-color: #EE5D4D; border-radius: 0; } 
.main-calendar .calendar-state li span { font-size: 14px; font-weight: 400; } 
.main-calendar .calendar-table .sunday { color: var(--system-color3) !important; } /* REQ-077: 일요일 텍스트 #EE5D4D(3.13:1)→#db1f31(4.94:1). 배경/dot 표식(:color3 bg)은 비텍스트라 별개 */ 
.main-calendar .calendar-table .saturday { color: var(--system-color6) !important; } 
.main-calendar .calendar-table table { width: 100%; } 
.main-calendar .calendar-table thead { border-bottom: 1px solid var(--line-color1); } 
.main-calendar .calendar-table thead tr th { height: 48px; font-size: 16px; line-height: 28px; font-weight: 500; text-align: center; } 
.main-calendar .calendar-table tbody tr td { height: 44px; padding: 4px; text-align: center; } 
.main-calendar .calendar-table tbody tr td .day { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; width: 48px; height: 48px; margin: 0 auto; } 
.main-calendar .calendar-table tbody tr td .day.day-today button { border-color: var(--system-color1); } 
.main-calendar .calendar-table tbody tr td .day.day-select button { background-color: var(--system-color1); border-color: var(--system-color1); color: var(--white) !important;} 
.main-calendar .calendar-table tbody tr td .day-on button span::after { content: ""; position: absolute; left: 50%; top: calc(100% + 2px); transform: translateX(-50%); width: 6px; height: 6px; border-radius: 0; background-color: #EE5D4D; } 
.main-calendar .calendar-table tbody tr td .day button { position: relative; width: 100%; height: 100%; border-radius: 50%; transition: .3s; border: 2px solid transparent; background-color: transparent; font-size: 16px; line-height: 28px; font-weight: 500; } 
.main-calendar .calendar-table tbody tr td .day button span { position: relative; display: inline-block; } 
.main-calendar .calendar-right { max-height: 510px; overflow-y: auto; } 
.main-calendar .calendar-right .calendar-titarea { position: sticky; top: 0; padding-bottom: 40px; background-color: #F5F8FD; } 
.main-calendar .calendar-right .calendar-titarea::before { content: ""; position: absolute; left: 0; bottom: 100%; z-index: 10; width: 100%; height: 40px; background-color: #F5F8FD; } 
.main-calendar .calendar-right .calendar-tit { display: inline-flex; align-items: center; gap: 12px; } 
.main-calendar .calendar-right .calendar-tit::before { content: ""; display: inline-block; width: 40px; height: 40px; background: url(../img/main/ico_main_calendar.svg) no-repeat center / contain; } 
.main-calendar .calendar-item { padding: 20px 24px; background-color: var(--white); border-radius: 8px; } 
.main-calendar .calendar-item+.calendar-item { margin-top: 10px; } 
.main-calendar .calendar-item .calendar-badge { display: inline-block; margin-bottom: 10px; padding: 4px 12px; font-size: 14px; font-weight: 500; color: var(--system-color1); border: 1px solid var(--system-color1); text-align: center; border-radius: 90px; } 
.main-calendar .calendar-item .calendar-textarea p { font-size: 1.1em; font-weight: 500; } 

.main-information{ padding:20px 0; margin-bottom: 0; background: #e2f0f1 url(../img/main/bg_infor.png) no-repeat 50% 100%; }
.main-information .controls .swiper-button-next:hover { background-color: var(--system-color1);}


/* ---------- 모바일/태블릿 ---------- */
@media all and (max-width: 1024px) {
  
    h1 span{text-indent: -9999px; display: block; width: 200px; }
  h1 span:after{height: 50px;content: '';position: absolute;top: 50%;transform: translateY(-50%);left: 0;background: url(../img/common/logo.png) 0 0 no-repeat;background-size: contain;display: block;width: 200px;}
  
  .mr-panel { padding-top: 60px; }
  .mr-sec1 { display: block; padding: 60px 0 96px; }
  .mr-sec2, .mr-sec3 { padding-top: 60px; }
  .mr-calendar { padding: 40px 0 0; }
  .mr-hero { flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 16px; }
  .mr-hero h2{margin-bottom: inherit;}
  .mr-copy small { font-size: 15px; }
  .mr-copy strong { font-size: 30px; }
  .mr-banner { flex: none; width: 100%; }
  .mr-banner .swiper-slide { height: auto !important; }
  .mr-banner .swiper-slide img { width: 100% !important; height: auto !important; max-height: none; }
  .mr-widget { padding: 0 12px; }
  .mr-quick-wrap { padding: 24px 16px; }
  .mr-quick { flex-wrap: wrap; gap: 12px; }
  .mr-quick li { flex: 0 0 calc(50% - 6px); }
  .mr-quick a { height: 150px; font-size: 16px; }
  .mr-quick a img { width: 72px; height: 72px; margin-bottom: 0; }
  .mr-faq { flex-direction: column; align-items: stretch; padding: 24px 16px; }

   .mr-faq  .main_inner { flex-direction: column; } 
   .mr-faq  .faq_left { width: 100%; padding: 24px; } 
   .mr-faq  .faq_left h3 { font-size: 28px; } 
   .mr-faq  .faq_left p { margin-top: 16px; font-size: 15px; } 
   .mr-faq  .faq_left span { width: 34px; height: 34px; margin-top: 24px; } 
   .mr-faq  .question_box { width: 100%; } 
   .question_box li { padding: 16px 16px 16px 52px; } 
   .question_box li:before { left: 16px; width: 28px; height: 28px; line-height: 28px; font-size: 16px; }    
   .question_box li a { display: -webkit-box; font-size: 16px; line-height: 24px; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } 

  /* 모바일: 버튼 전환 없이 한 페이지로 이어서 스크롤 */
  .mr-arrow, .mr-dots { display: none; }
  
  
  /*calendar*/
  .main-calendar { } 
.main-calendar .tabs4 { margin-bottom: 24px; overflow-x: auto; } 
.main-calendar .tabs4 ul { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; } 
.main-calendar .calendar-inner { min-height: auto; } 
.main-calendar .calendar-col { flex-direction: column; align-items: flex-start; gap: 16px; } 
.main-calendar .calendar-col .calendar-inner { width: 100%; padding: 24px 16px; } 
.main-calendar .calendar-titarea { gap: 8px; } 
.main-calendar .calendar-tit { font-size: 20px; line-height: 28px; } 
.main-calendar .calendar-control .btn { width: 36px; height: 36px; } 
.main-calendar .calendar-control .btn::before { width: 18px; height: 18px; } 
.main-calendar .calendar-state { gap: 12px; margin: 16px 0; } 
.main-calendar .calendar-state li { gap: 6px; } 
.main-calendar .calendar-state li span { font-size: 12px; } 
.main-calendar .calendar-table thead tr th { height: 32px; font-size: 14px; } 
.main-calendar .calendar-table tbody tr td { height: 32px; padding: 0; } 
.main-calendar .calendar-table tbody tr td .day { width: auto; } 
.main-calendar .calendar-table tbody tr td .day button { width: 32px; height: 32px; font-size: 14px; } 
.main-calendar .calendar-table tbody tr td .day-on button span::after { top: 100%; width: 4px; height: 4px; } 
.main-calendar .calendar-right { max-height: 403px; } 
.main-calendar .calendar-right .calendar-titarea { padding-bottom: 20px; } 
.main-calendar .calendar-right .calendar-titarea::before { height: 24px; } 
.main-calendar .calendar-right .calendar-tit { gap: 8px; } 
.main-calendar .calendar-right .calendar-tit::before { width: 30px; height: 30px; } 
.main-calendar .calendar-item { padding: 16px 18px; } 
.main-calendar .calendar-item .calendar-badge { margin-bottom: 8px; padding: 4px 10px; font-size: 12px; line-height: 16px; } 
.main-calendar .calendar-item .calendar-textarea p { font-size: 16px; line-height: 26px; } 
}


@media all and (max-width: 768px) {
  .mr-sec1 {padding:0 0 30px 0 ;}
  .mr-sec2, .mr-sec3 { padding-top: 0; }
  .mr-faq .faq_left {height: inherit;}
}
