@charset "utf-8";

/*** 메인비주얼 ***/
.mainVisual { width: 100%; overflow: hidden; height: 540px; margin-top: 101px; border-top: 2px solid #222; border-bottom: 2px solid #222; position: relative; }
.mainVisualLayout { position: relative; height: 100%; }
.mainVisualImage { width: calc(100% - 400px); height: 100%; overflow: hidden; }
.mainVisualImage img { width: 100%; height: 100%; object-fit: cover; }
.mainVisualPanel { position: absolute; top: 0; right: 0; height: 100%; display: flex; flex-direction: column; background: #fff; border-left: 2px solid #222; }
.mainVisualText { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 80px; }
.mainVisualHeading { font-size: var(--fs45); font-family: 'YFavorite'; font-weight: 700; line-height: 1.4; }
.headingLine { display: block; }
.headingAccent { font-style: normal; color: var(--c_base1); }
.mainVisualDesc { margin-top: 22px; font-size: var(--fs16); color: #999; line-height: 1.6; }
.mainVisualBanner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 44px; background: #f7f6f0; border-top: 2px solid #222; transition: background 0.2s; }
.mainVisualBanner:hover { background: #f0efe8; }
.bannerTextWrap { flex: 1; min-width: 0; }
.bannerTitle { display: block; font-size: var(--fs20); font-weight: 700; }
.bannerDesc { font-size: var(--fs14); color: #888; }
.bannerArrow { flex-shrink: 0; display: flex; align-items: center; }

/*** 퀵메뉴 ***/
.quickMenu { border-bottom: 2px solid #222; }
.quickMenu .inner { max-width: 1400px; margin: 0 auto; }
.quickMenuList { display: flex; }
.quickMenuItem { flex: 1; border: 2px solid #222; border-top: 0; border-bottom: 0; }
.quickMenuItem + .quickMenuItem { border-left: 0; }
.quickMenuItem a { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 16px; gap: 14px; transition: background 0.2s; }
.quickMenuIcon { width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.quickMenuIcon img { max-width: 100%; max-height: 100%; object-fit: contain; }
.quickMenuLabel { font-size: var(--fs18); font-weight: 600; }

/*** 알림마당 ***/
.noticeSec { padding: 80px 0 100px; }
.noticeSec .inner { max-width: 1400px; margin: 0 auto; }
.noticeHeader { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 40px; }
.noticeTitle { font-size: var(--fs36); font-family: 'YFavorite'; font-weight: 700; line-height: 1; }
.noticeTitle em { font-style: normal; color: var(--c_base1); }
.noticeSubTitle { margin-top: 14px; font-size: var(--fs15); color: #999; }
.noticePlusBtn { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 2px solid #ccc; flex-shrink: 0; transition: border-color 0.2s, background 0.2s; }
.noticePlusBtn:hover { border-color: #222; background: #f7f7f7; }
.noticeBody { display: grid; grid-template-columns: 60fr 40fr; gap: 20px; align-items: stretch; }
.noticeCardGrid { display: flex; gap: 10px; }
.noticeCard { flex: 1; min-width: 0; border: 2px solid #222; transition: box-shadow 0.25s, transform 0.6s; }
.noticeCard a { display: flex; flex-direction: column; padding: 40px 30px; height: 100%; }
.noticeCard:hover { box-shadow: 5px 5px 0 0 #222; transform: translate(-2px, -2px); }
.noticeCardBadge { display: inline-flex; align-items: center; padding: 5px 12px; background: var(--c_base1); border: 2px solid #222; color: #fff; font-size: var(--fs14); font-weight: 700; margin-bottom: 18px; align-self: flex-start; }
.noticeCardTitle { font-size: var(--fs18); width: 270px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; line-height: 1.5; margin-bottom: 12px;}
.noticeCardDesc { font-size: var(--fs16); color: #666; line-height: 140%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.noticeCardDate { margin-top: 20px; font-size: var(--fs14); color: #bbb; }
.noticeLinkList { display: flex; flex-direction: column; gap: 10px; }
.noticeLinkItem { display: flex; align-items: center; justify-content: space-between; padding: 25px; border: 2px solid #222; flex: 1; transition: background .3s; }
.noticeLinkItem:hover { background: var(--c_base1); color: #fff; }
.noticeLinkItem:hover .noticeLinkArrow svg path { stroke: #fff; }

.noticeLinkLabel { overflow: hidden; }
.labelText { display: block; transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.noticeLinkItem:hover .labelText { transform: translateY(-100%); }

.labelText { display: block; position: relative; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.labelText::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
.noticeLinkItem:hover .labelText { transform: translateY(-100%); }

.noticeLinkLabel { font-size: var(--fs18); font-weight: 700; }
.noticeLinkArrow { display: flex; align-items: center; flex-shrink: 0; }

/*** 생생 현장스케치 ***/
.sketchScrollSec { height: 250vh; position: relative; }
.sketchStickyWrap { position: sticky; top: 0; height: 100vh; width: 100%; overflow: hidden; background: #FFFDF1; display: flex; flex-direction: column; justify-content: center; }
.sketchInfo { position: absolute; left: calc((100% - 1400px) / 2); top: 50%; transform: translateY(-50%); width: 340px; display: flex; flex-direction: column; gap: 60px; z-index: 1; padding: 80px 80px 80px 0; }
.sketchInfo::before { content: ""; position: absolute; left: -100vw; top: 0; width: calc(100% + 100vw); height: 100%; background: #FFFDF1; z-index: -1; }
.sketchTitle { font-size: var(--fs36); font-family: 'YFavorite'; }
.sketchTitleMain { display: block; font-style: normal; color: var(--c_base2); }
.sketchDesc { margin-top: 16px; font-size: var(--fs15); color: #999; line-height: 1.4; }
.sketchSnsWrap { display: flex; flex-direction: column; gap: 10px; }
.sketchSnsBtn { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 2px solid #222; font-size: var(--fs15); font-weight: 600; background: #fff; transition: background 0.2s; }
.sketchSnsBtn:hover { background: #222; color: #fff; }
.sketchSnsBtn:hover .sketchSnsIcon img { filter: brightness(0) invert(1); }
.sketchSnsIcon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sketchSnsIcon img { width: 100%; height: 100%; object-fit: contain; transition: filter 0.2s; }
.sketchSliderWrap { width: 100%; overflow: visible; }
.sketchSliderTrack { display: flex; gap: 16px; padding-left: 35vw; width: max-content; will-change: transform; }
.sketchSlide { flex-shrink: 0; width: 360px; }
.sketchSlideInner { position: relative; overflow: hidden; border: 2px solid #222; aspect-ratio: 1 / 1; }
.sketchSlideInner img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.sketchSlide:hover .sketchSlideInner img { transform: scale(1.04); }
.sketchSlideBadge { position: absolute; top: 0; left: 0; z-index: 1; padding: 7px 16px; background: var(--c_base2); color: #fff; font-size: var(--fs14); font-weight: 700; border-right: 2px solid #222; border-bottom: 2px solid #222; }

/*** 다양한 교육 프로그램 ***/
.eduSec { padding: 80px 0 100px; }
.eduSec .inner { max-width: 1400px; margin: 0 auto; }
.eduHeader { text-align: center; margin-bottom: 50px; }
.eduTitle { font-family: 'YFavorite'; font-size: var(--fs38); font-weight: 900; }
.eduTitle em { font-style: normal; color: #8D77F3; }
.eduSubTitle { margin-top: 12px; font-size: var(--fs15); color: #999; }
.eduBox { display: grid; grid-template-columns: 1fr 1.3fr; border: 2px solid #222; }
.eduLeft { display: flex; flex-direction: column; gap: 20px; padding: 30px; border-right: 2px solid #222; }
.eduGoalItem { display: flex; align-items: center; gap: 24px; padding: 20px 36px; border: 2px solid #222; }
.eduGoalItem + .eduGoalItem { border-top: 0; }
.eduGoalName { font-size: var(--fs18); font-weight: 800; flex-shrink: 0; min-width: 72px; }
.eduGoalDesc { font-size: var(--fs15); color: #555; }
.eduMoreBtn { display: flex; align-items: center; justify-content: space-between; padding: 20px 36px; background: #8D77F3; color: #fff !important; font-size: var(--fs18); font-weight: 700; border: 2px solid #222; transition: opacity 0.2s; }
.eduMoreBtn:hover { opacity: 0.85; }
.eduMoreArrow { display: flex; align-items: center; flex-shrink: 0; }
.eduGoalBox { padding: 30px; }
.eduRight { display: flex; flex-direction: column; border: 2px solid #222; }
.eduTabWrap { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 2px solid #222; }
.eduTabBtn { padding: 20px 16px; font-size: var(--fs20); color: #222; font-weight: 700; background: #fff; border-right: 2px solid #222; cursor: pointer; transition: background 0.2s; border-top:0; border-bottom:0; height:auto;}
.eduTabBtn:last-child { border-right: 0; }
.eduTabBtn.is-active { background: #8D77F3; color: #fff; border-left: 0;}
.eduTabBtn:not(.is-active):hover { background: #f5f0ff; }
.eduCurriculumWrap { flex: 1; padding: 30px 50px; }
.eduCurriculum { display: none; }
.eduCurriculum.is-active { display: block; }
.eduCurriculumList { display: flex; flex-direction: column; gap: 9px; }
.eduCurriculumList li { font-size: var(--fs18); color: #444; line-height: 1.6; padding-left: 22px; position: relative; }
.eduCurriculumList li::before { content: ""; width: 8px; height: 2px; background: #8D77F3; position: absolute; top: 13px; left: 0; }

/*** 반응형 - 1249px ***/
@media screen and (max-width: 1249px) {

    /* 메인비주얼 */
    .mainVisual { margin-top: 70px; }
    .mainVisualImage { width: calc(100% - 200px); }
    .mainVisualText { padding: 60px; }
    .mainVisualBanner { padding: 24px 40px; }

    /* 퀵메뉴 */
    .quickMenuIcon { width: 50px; height: 50px; }
    .quickMenuItem a { padding: 26px 12px; gap: 12px; }

    /* 알림마당 */
    .noticeSec { padding: 70px 40px; }
    .noticeBody { grid-template-columns: 1fr; gap: 15px; }
    .noticeLinkList { flex-direction: row; }
    .noticeLinkItem + .noticeLinkItem { margin-left: -1.5px; }
    .noticeLinkArrow svg { width: 36px; }
    .noticeCardGrid { min-width: 0; }

    /* 현장스케치 */
    .sketchScrollSec { height: auto; }
    .sketchStickyWrap { position: static; height: auto; padding: 60px 0; overflow: hidden; }
    .sketchInfo { position: static; transform: none; width: 100%; padding: 0 40px; margin-bottom: 32px; gap:25px; }
    .sketchInfo::before { display: none; }
    .sketchSnsWrap { flex-direction: row; }
    .sketchSliderWrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .sketchSliderTrack { padding: 0 40px; }
    .sketchSlide { width: 280px; }
    .sketchTitleMain {display: inline; padding-left:8px;}

    /* 교육 프로그램 */
    .eduSec { padding: 70px 40px; }
    .eduGoalItem { padding: 24px 28px; gap: 18px; }
    .eduMoreBtn { padding: 24px 28px; }
    .eduCurriculumWrap { padding: 28px; }

    /* hover 비활성화 */
    .mainVisualBanner:hover { background: #f7f6f0; }
    .quickMenuItem a:hover { background: none; }
    .noticePlusBtn:hover { border-color: #222; background: none; }
    .noticeCard:hover { box-shadow: none; transform: none; }
    .sketchSnsBtn:hover { background: #fff; color: inherit; }
    .sketchSnsBtn:hover .sketchSnsIcon img { filter: none; }
    .sketchSlide:hover .sketchSlideInner img { transform: none; }
    .eduMoreBtn:hover { opacity: 1; }
    .eduTabBtn:not(.is-active):hover { background: #fff; }
}

/*** 반응형 - 768px ***/
@media screen and (max-width: 768px) {

    /* 메인비주얼 */
    .mainVisual { height: auto; }
    .mainVisualLayout { height: auto; }
    .mainVisualImage { width: 100%; height: 260px; }
    .mainVisualPanel { position: static; width: 100%; border-left: 0; }
    .mainVisualText { padding: 32px 24px; border-top:2px solid #222;}
    .mainVisualBanner { padding: 20px 24px; gap: 12px; }
    .bannerArrow svg { width: 50px; }

    /* 퀵메뉴 */
    .quickMenu { border: 0; }
    .quickMenuList { flex-wrap: wrap; }
    .quickMenuItem { flex: 0 0 33.333%; border-bottom: 2px solid #222; }
    .quickMenuItem:nth-child(3n+1) { border-left: 0;}
    .quickMenuItem:nth-child(3n),.quickMenuItem:nth-child(5) {border-right:0;}
    .quickMenuItem:nth-child(4),
    .quickMenuItem:nth-child(5) { flex: 0 0 50%; }
    .quickMenuItem a { padding: 20px 8px; gap: 8px; }
    .quickMenuIcon { width: 36px; height: 36px; }

    /* 알림마당 */
    .noticeSec { padding: 50px 20px; }
    .noticeHeader { margin-bottom: 28px; }
    .noticePlusBtn { width: 38px; height: 38px; }
    .noticeCardGrid { flex-direction: column; gap: 12px; }
    .noticeCard { width: 100%; }
    .noticeCard a { padding: 22px 18px; }
    .noticeCardBadge { font-size: var(--fs12); padding: 4px 10px; margin-bottom: 14px; }
    .noticeLinkList { flex-direction: column; gap: 5px; }
    .noticeLinkItem { padding: 16px 18px; }
    .noticeLinkItem + .noticeLinkItem { margin-left: 0; margin-top: -1.5px; }

    /* 현장스케치 */
    .sketchStickyWrap { padding: 50px 0; }
    .sketchInfo { padding: 0 20px; }
    .sketchSliderTrack { padding: 0 20px; }
    .sketchSlide { width: 220px; }

    /* 교육 프로그램 */
    .eduSec { padding: 50px 20px; }
    .eduHeader { margin-bottom: 32px; }
    .eduBox { grid-template-columns: 1fr; border:0;}
    .eduLeft { border-right: 0; border-bottom: 0; padding:0; gap:10px;}
    .eduGoalItem { padding: 18px 20px; gap: 14px; }
    .eduGoalName { min-width: 60px; }
    .eduMoreBtn { padding: 18px 20px; }
    .eduMoreArrow { width: 50px; }
    .eduTabBtn { padding: 16px 8px; }
    .eduCurriculumWrap { padding: 20px; }
    .eduCurriculumList { gap: 14px; }
    .eduGoalBox {padding:20px 0 0 0;}
}