@font-face { font-family:'Noto Sans KR'; src:url('/fonts/NotoSansKR-VariableFont_wght.woff2') format('woff2'); font-weight:100 900; font-style:normal; font-display:swap; }  
    /* Reset & Base */
    * { margin:0; padding:0; box-sizing:border-box; }
    body { font-family:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color:#fff; color:#333; line-height:1.5; font-size:14px; }
    a { color:inherit; text-decoration:none; }
    ul, ol { list-style:none; }

    /* Layout Structure */
    .container { max-width:1200px; margin:0 auto; padding:0 20px; }
    .arrow { font-style:normal; margin-left:4px; font-size:0.9em; color:#888; font-weight:800; }
    
	/* Header */
	header { position:sticky; top:0; z-index:1000; background:#fff; border-bottom:1px solid #eee; }
	.header-inner { display:flex; align-items:center; justify-content:space-between; height:80px; gap:22px; }
	.logo { flex-shrink:0; transform:translateY(2px); }
	.logo img { height:26px; display:block; }
	.gnb { flex:1; height:100%; min-width:0; }
	.gnb-list { display:flex; align-items:center; justify-content:flex-end; gap:clamp(8px,1.2vw,20px); height:100%; }
	.gnb-list > li { display:flex; align-items:center; height:100%; }
	.gnb-list > li > a { display:flex; align-items:center; height:100%; font-size:clamp(12px,1.05vw,14px); font-weight:600; color:#222; white-space:nowrap; }
	.gnb-sub { display:none; }
	.gnb-dropdown { display:none; position:absolute; top:100%; left:0; width:100%; background:#fff; border-top:1px solid #eee; border-bottom:1px solid #ddd; box-shadow:0 10px 20px rgba(0,0,0,.08); }
	header.is-open .gnb-dropdown { display:block; }
	.gnb-dropdown-inner { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; max-width:1200px; margin:0 auto; padding:26px 20px 34px; }
	.gnb-dropdown-col { min-width:0; }
	.gnb-dropdown-col > a { display:block; font-size:16px; font-weight:700; margin-bottom:17px; color:#222; }
	.gnb-dropdown-col ul li { margin-bottom:13px; }
	.gnb-dropdown-col ul a { display:block; font-size:14px; color:#555; line-height:1.5; overflow-wrap:break-word; }
	.gnb-dropdown-col em { font-style:normal; color:#ff6600; white-space:nowrap; }
	.menu-icon { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; flex-shrink:0; width:30px; height:36px; padding:0; background:transparent; border:0; cursor:pointer; }
	.menu-icon span { display:block; width:22px; height:2px; background:#333; transition:transform .2s,opacity .2s; }
	.menu-icon.is-active span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
	.menu-icon.is-active span:nth-child(2) { opacity:0; visibility:hidden; background:transparent; }
	.menu-icon.is-active span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
	@media (max-width:1100px) {
		.header-inner { height:65px; }
		.gnb { display:none; }
		.gnb-dropdown { top:100%; max-height:calc(100vh - 65px); overflow-y:auto; }
		.gnb-dropdown-inner { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px 18px; }
	}
	@media (max-width:480px) {
		.gnb-dropdown-inner { grid-template-columns:1fr; gap:0; padding:12px 20px 24px; }
		.gnb-dropdown-col { border-bottom:1px solid #eee; padding:13px 0; }
		.gnb-dropdown-col > a { margin-bottom:8px; }
		.gnb-dropdown-col ul li { margin-bottom:9px; }
	}

        /* Top Section (Gray Background Grid) */
    .section-top { background-color:#f4f5f7; padding:40px 0; }
    .card-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
    .card { background-color:#fff; border-radius:16px; padding:30px; box-shadow:0 2px 8px rgba(0,0,0,0.03); position:relative; overflow:hidden; }
    .card-large { grid-row:span 2; }
    
    /* Card Background Images */
    .card-bg-02 { background-image:url('https://img.jongroeclass.co.kr/img23/img26091601.png'); background-repeat:no-repeat; background-position:right bottom; background-size:35% auto; }
    .card-bg-03 { background-image:url('https://img.jongroeclass.co.kr/img23/img26091603.png'); background-repeat:no-repeat; background-position:right bottom; background-size:35% auto; }

    .card-title { font-family:'Noto Sans KR'; font-size:20px; font-weight:700; color:#111; margin-bottom:2px; letter-spacing:-1px; }
    .card-sub { font-size:12px; color:#888; margin-bottom:24px; }
    
    .link-list { display:grid; grid-template-columns:1fr 1fr; gap:12px 20px; position:relative; z-index:1; }
    .link-list.single-col { grid-template-columns:1fr; }
	.link-list.recruit-list { grid-template-columns:1fr; }	
    .link-list a { font-size:15px; font-weight:600; color:#333; display:inline-flex; align-items:center; }
	.link-arrow { display:inline-block; width:5px; height:5px; border-top:1px solid #888; border-right:1px solid #888; transform:rotate(45deg); margin-left:5px; vertical-align:middle; }
    .divider { height:1px; background-color:#eee; margin:24px 0; position:relative; z-index:1; }

    /* Middle Section (White Background Grid) */
    .section-mid { padding:50px 0; background-color:#fff; }
    .mid-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px; }
    .mid-col-title { font-size:20px; font-weight:700; margin-bottom:24px; color:#111; }
    .thumb-box { width:100%; height:120px; background-color:#eee; border-radius:12px; margin-bottom:19px; overflow:hidden; }
    .thumb-box img { width:100%; height:100%; object-fit:cover; display:block; }
    
    .text-link-list { display:flex; flex-direction:column; gap:10px; }
    .text-link-list a { font-size:14px; font-weight:500; color:#333; }

    /* Form Card */

	.consult-iframe { display:block; width:100%; height:255px; border:0; overflow:hidden; background:transparent; }

    .form-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
    .privacy-link { font-size:12px; color:#666; text-decoration:underline; }
    .form-card { background-color:#f4f5f7; border-radius:16px; padding:0; }


    /* Footer */
    footer { border-top:1px solid #eee;  background-color:#fff; }
    .footer-nav { border-bottom:1px solid #eee; padding:15px 0; font-size:12px; color:#666; text-align:center; }
    .footer-nav a { margin:0 8px; color:#555; white-space:nowrap; }
    .footer-nav a.highlight { color:#e53935; font-weight:600; }
    
    .footer-body { padding:40px 0 30px; }
    .footer-links { display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; margin-bottom:40px; }
    .footer-links-col h4 { font-size:12px; color:#888; font-weight:600; margin-bottom:10px; }
    .footer-links-col ul li { margin-bottom:6px; }
    .footer-links-col ul li a { font-size:11px; color:#888; }
    
    .footer-info { display:flex; align-items:flex-start; gap:20px; }
    .footer-logo img { height:22px; }
    .footer-address { font-size:11px; color:#888; line-height:1.6; }
	
	

    /* Mobile Responsive Logic */
    @media (max-width: 768px) {
		#site-header .logo { transform:translateY(2px); }
		#site-header .logo img { height:24px; width:auto; }	
	  .card-bg-02 { background-position:right 0 bottom;  background-size:50% auto;}		  
	  .card-bg-03 { background-position:right 0 bottom;  background-size:55% auto;}		  
      .card-grid { grid-template-columns:1fr; }
      .card-large { grid-row:auto; }
      .mid-grid { grid-template-columns:1fr; gap:40px; }
      .link-list { grid-template-columns:1fr; }
      .divider { width:50%; margin-left:0; margin-right:auto; }
	  .consult-iframe {height:265px;}
	  .footer-nav { line-height:2.2; }
	  .footer-nav a { white-space:nowrap; }	  
      .footer-links { grid-template-columns:repeat(2, 1fr); gap:20px; }
      .footer-info { flex-direction:column; gap:12px; }
    }

/* THE JONGRO 바로가기 카드: 5개 이미지 순환 */
.card-bg-01 { position:relative; isolation:isolate; background:#fff; }
.card-bg-01 .card-slide { position:absolute; inset:0; display:block; background-color:#fff; background-repeat:no-repeat; background-position:right bottom; background-size:60% auto; opacity:0; z-index:0; pointer-events:none; animation:cardBgCycle 20s linear infinite; }
.card-bg-01 .card-slide:nth-child(1) { background-image:url('https://img.jongroeclass.co.kr/img23/img26091618.png'); animation-delay:0s; }
.card-bg-01 .card-slide:nth-child(2) { background-image:url('https://img.jongroeclass.co.kr/img23/img26091608.png'); animation-delay:-16s; }
.card-bg-01 .card-slide:nth-child(3) { background-image:url('https://img.jongroeclass.co.kr/img23/img26091608_sb.png'); animation-delay:-12s; }
.card-bg-01 .card-slide:nth-child(4) { background-image:url('https://img.jongroeclass.co.kr/img23/img26091608_sP.png'); animation-delay:-8s; }
.card-bg-01 .card-slide:nth-child(5) { background-image:url('https://img.jongroeclass.co.kr/img23/img26091607.png'); animation-delay:-4s; }
.card-bg-01 > :not(.card-slide) { position:relative; z-index:1; }

@keyframes cardBgCycle {
    0%, 18% { opacity:1; }
    20%, 98% { opacity:0; }
    100% { opacity:1; }
}

/* 설명회 팝업 - PC */
.jr-event-popup { position:fixed; top:120px; right:20px; z-index:9999; width:250px; overflow:hidden; border:1px solid #e5e7eb; background:#fff; box-shadow:0 6px 10px rgba(0,0,0,.10); font-family:'Noto Sans KR',Arial,sans-serif; }
.jr-event-popup[hidden] { display:none !important; }

.jr-event-head { display:flex; justify-content:space-between; align-items:center; padding:12px 16px; background:#172b4d; color:#fff; font-size:12px; font-weight:600; }
.jr-event-head button { border:0; background:none; color:#fff; font-size:23px; line-height:1; cursor:pointer; }

.jr-event-body { padding:24px 20px 22px; text-align:left; }
.jr-event-label { margin:0 0 7px; color:#55719b; font-size:12px; font-weight:600; }
.jr-event-body h2 { margin:0 0 22px; color:#142a4d; font-size:21px; font-weight:700; line-height:1.4; letter-spacing:-1px; text-align:left; }

.jr-event-info { padding-top:16px; border-top:1px solid #e9edf2; text-align:left; }
.jr-event-info p { display:flex; gap:10px; margin:0 0 12px; font-size:13px; line-height:1.55; }
.jr-event-info p:last-child { margin-bottom:0; }
.jr-event-info strong { flex:0 0 32px; color:#142a4d; font-weight:700; }
.jr-event-info span { flex:1; color:#555; }

.jr-event-foot { display:flex; justify-content:space-between; align-items:center; padding:11px 15px; border-top:1px solid #eee; background:#f8f9fb; }
.jr-event-foot label { display:flex; align-items:center; gap:5px; color:#777; font-size:11px; cursor:pointer; }
.jr-event-foot input { width:13px; height:13px; margin:0; accent-color:#172b4d; }
.jr-event-foot button { border:0; background:none; color:#555; font-size:12px; cursor:pointer; }




/* ========================================
   설명회 레이어 팝업 - PC
======================================== */

/* 팝업 외곽 */
.jr-event-popup { position:fixed; top:100px; right:20px; z-index:9999; width:320px; border:2px solid #142a4d; border-radius:0; background:#fff; box-shadow:none; font-family:'Noto Sans KR',Arial,sans-serif; }
.jr-event-popup[hidden] { display:none !important; }

/* 상단 설명회 이미지 */
.jr-event-border-title { position:absolute; top:-15px; left:50%; transform:translateX(-50%); padding:0; line-height:0; }
.jr-event-border-title img { display:block; width:80px; height:auto; }

/* 본문 */
.jr-event-body { padding:35px 20px 22px; text-align:left; }
.jr-event-body h2 { margin:0 0 22px; color:#142a4d; font-size:21px; font-weight:700; line-height:1.4; letter-spacing:-1px; }

/* 행사 정보 */
.jr-event-info { padding-top:16px; border-top:1px solid #e9edf2; text-align:left; }
.jr-event-info p { display:flex; gap:10px; margin:0 0 12px; font-size:13px; line-height:1.55; }
.jr-event-info p:last-child { margin-bottom:0; }
.jr-event-info strong { flex:0 0 32px; color:#142a4d; font-weight:700; }
.jr-event-info span { flex:1; color:#555; }

/* 바로가기 버튼 */
.jr-event-link { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; margin-top:22px; padding:10px 10px; border-radius:4px; background:#142a4d; color:#fff; font-size:14px; font-weight:600; text-decoration:none; transition:background .2s; }
.jr-event-link:hover { background:#294b7c; color:#fff; }
.jr-event-link span { font-size:17px; font-weight:400; }

/* 하단 닫기 */
.jr-event-foot { display:flex; justify-content:space-between; align-items:center; padding:11px 15px; border-top:1px solid #eee; background:#f8f9fb; }
.jr-event-foot label { display:flex; align-items:center; gap:5px; color:#777; font-size:11px; cursor:pointer; }
.jr-event-foot input { width:13px; height:13px; margin:0; accent-color:#172b4d; }
.jr-event-foot button { border:0; background:none; color:#555; font-size:12px; cursor:pointer; }

/* 팝업 외곽 */
.jr-event-popup { position:fixed; top:122px; right:20px; z-index:9999; width:300px; overflow:visible; border:2px solid #142a4d; border-radius:4px; background:#fff; box-shadow:none; font-family:'Noto Sans KR',Arial,sans-serif; }

/* 설명회 이미지 */
.jr-event-border-title { position:absolute; top:-11px; left:50%; transform:translateX(-50%); z-index:10; padding:0; line-height:0; }
.jr-event-border-title img { display:block; width:80px; height:auto; }

/* 팝업 본문 */
.jr-event-body { position:relative; z-index:1; padding:35px 20px 22px; text-align:left; }

/* ========================================
   설명회 레이어 팝업 - 모바일
======================================== */
@media (max-width:720px) {
    .jr-event-popup { top:167px; right:30px; width:43%; }
    .jr-event-border-title { top:-px; }
    .jr-event-border-title img { width:55px; }
    .jr-event-body { padding:20px 16px 16px; }
    .jr-event-body h2 { margin-bottom:10px; font-size:clamp(13px,4.5vw,16px); line-height:1.35; letter-spacing:-.7px; }
    .jr-event-info { padding-top:12px; }
    .jr-event-info p { gap:4px; margin-bottom:10px; font-size:clamp(12px,3.2vw,14px); line-height:1.4; }
    .jr-event-info strong { flex-basis:27px; }
    .jr-event-link { gap:4px; margin-top:15px; padding:5px 5px; font-size:clamp(11px,3vw,13px); }
    .jr-event-link span { font-size:14px; }
    .jr-event-foot { padding:9px 8px; }
    .jr-event-foot label { gap:3px; font-size:12px; }
    .jr-event-foot input { width:13px; height:13px; }
    .jr-event-foot button { font-size:14px; font-weight:700; }
	
    .jr-event-popup { top:167px; right:20px; width:48%; }
    .jr-event-border-title { top:-8px; }
    .jr-event-border-title img { width:55px; }
    .jr-event-body { padding:20px 16px 16px; }	
}
.custom-alert-overlay { display:none; position:fixed; inset:0; z-index:999999; background:rgba(0,0,0,.45); align-items:center; justify-content:center; padding:20px; box-sizing:border-box; }
.custom-alert-box { width:100%; max-width:380px; padding:28px 25px 22px; background:#fff; border-radius:8px; box-sizing:border-box; text-align:center; box-shadow:0 8px 30px rgba(0,0,0,.12); font-family:'NotoKR-Regular',sans-serif; }
.custom-alert-message { font-size:18px; line-height:1.5; color:#222; margin-bottom:19px; white-space:pre-line; font-weight:500; letter-spacing:-1px;}
.custom-alert-close { display:block; width:100%; height:44px; padding:0; background:#171717; border:0; border-radius:4px; color:#fff; font-size:15px; font-weight:500; cursor:pointer; transition:background .2s ease; }
.custom-alert-close:hover { background:#333; }

@media (max-width:720px) {
.custom-alert-box { max-width:600px; padding:30px 30px 23px; }
.custom-alert-message { font-size:19px; margin-bottom:23px; }
.custom-alert-close { height:45px; font-size:16px; }
}

/* 설명회 상단 안내 */
.jr-notice-wrap { width:100%; max-height:100px; overflow:hidden; background:#f8f9fa; color:#222; opacity:1; border-bottom:1px solid #e5e5e5; transition:max-height .5s ease,opacity .35s ease; }
.jr-notice-wrap.is-closed { max-height:0; opacity:0; border-bottom:0; }
.jr-notice-inner { position:relative; display:flex; align-items:center; justify-content:center; gap:18px; max-width:1200px; min-height:54px; margin:0 auto; padding:10px 50px 10px 20px; }
.jr-notice-badge { flex-shrink:0; padding:4px 10px; border:1px solid #d5d5d5; border-radius:3px; background:#fff; color:#555; font-size:12px; font-weight:600; line-height:1.4; }
.jr-notice-text { display:flex; align-items:center; gap:15px; min-width:0; font-size:14px; white-space:nowrap; }
.jr-notice-text strong { color:#222; font-weight:700; }
.jr-notice-text span { color:#777; font-size:13px; }
.jr-notice-link { display:inline-flex; align-items:center; gap:7px; flex-shrink:0; margin-left:10px; color:#142a4d; font-size:13px; font-weight:700; white-space:nowrap; }
.jr-notice-link:hover { color:#37649b; }
.jr-notice-link span { font-size:18px; font-weight:400; }
.jr-notice-close { position:absolute; right:18px; top:50%; transform:translateY(-50%); width:28px; height:28px; border:0; background:transparent; color:#555; font-size:26px; font-weight:300; line-height:1; cursor:pointer; opacity:.8; }
.jr-notice-close:hover { opacity:1; }

@media (max-width:768px) {
.jr-notice-inner { justify-content:flex-start; gap:9px; min-height:50px; padding:10px 38px 8px 15px; }
.jr-notice-badge { padding:3px 6px; font-size:10px; }
.jr-notice-text { flex:1; flex-direction:row; align-items:flex-start; gap:2px; font-size:12px; white-space:normal; }
.jr-notice-text span { font-size:12px; }
.jr-notice-link { gap:3px; margin-left:0; font-size:11px; }
.jr-notice-link span { font-size:14px; }
.jr-notice-close { right:8px; font-size:24px; }
}