:root{
	/* 라이트/다크 모두 자연스러운 유리톤 */
	--glass-light: rgba(255,255,255,0.6);
	--glass-dark:  rgba(20,20,20,0.35);
	--stroke-light: rgba(255,255,255,0.6);
	--stroke-dark:  rgba(255,255,255,0.08);
	--nppay-grad: linear-gradient(90deg, #4267cf, #ce3c66);
	--check: #CB3D67;
	--check-hover: #b82a54;
	--point: #4366CD;
	--point-hover: #1d44b6;
	--err: #CB3D67;
	--key: #B24C69;
	--key-hover: #9f3554;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	font-family:'Outfit','Noto Sans KR',sans-serif !important;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color:#000000; position: relative;
	background-color: #ffffff !important;
	word-break:keep-all;
}
.only-mo {display: none}

/* 레이아웃 그리드: 상단 전체 헤더 + 본문(좌 520px, 우 1fr) */
.layout {
	display: grid;
	grid-template-columns: 420px 1fr;   /* 좌측 고정, 우측 가변 */
	grid-template-rows: 1fr;     /* 1행: 전역 헤더, 2행: 본문 */
	min-height: 100dvh;
}
.global-header {display: none}

.global-header{ grid-column: 1 / -1; }

/* 좌측 사이드바(aside): 내부에 header/body/footer */
.sidebar {
	position: sticky;
	top: 0;
	padding: 40px 30px;
	display: flex;
	flex-direction: column;
	background: rgba(245, 245, 247, 1);
}

.sidebar header {
	padding: 0;
	margin-bottom: 40px;
}

.sidebar .sidebar-body {
	//overflow: auto;      /* 콘텐츠 길어질 때 스크롤 */
	flex: 1 1 auto;      /* 남는 공간 채움 */
}

footer {
	padding: 30px 0;
	background: #eee;
	text-align: center;
	margin-top: auto;    /* 항상 하단으로 밀착 */
	font-size: 13px;
	font-family: 'Outfit';
	width: 100%;
}

/* 우측 메인 영역 */
.content {
	min-width: 0;
	padding: 0;
}

.wrap {margin: 0 auto;width:960px}

nav.nav {margin: 50px auto 0;}
nav.nav a {width: 47.5%;text-decoration: none;color: #3A3A3A;font-size: 17px;font-family: 'Noto Sans KR';font-weight:600;letter-spacing: -2%}
nav.nav a .nav_btn {padding: 30px;height: 160px;border-radius: 35px;margin-bottom: 20px}
nav.nav a .nav_btn .nm {margin-top: 15px;width: 80%;line-height: 1.3em}
nav.nav a:hover .nav_btn {background: #F2F2F2;border-radius: 35px;border:1px solid #4565cb;}
nav.nav .nav_btn.active {background: #F2F2F2;border-radius: 35px;border:1px solid #4565cb;}

.profileBox {padding: 30px 30px;border-radius: 35px;}
.profileBox .t {font-family: 'Noto Sans KR';font-weight:600;font-size: 13px;letter-spacing: -3%;text-align: center;margin-bottom: 10px}
.login-links {
   text-align: center;
   margin-top: 24px;
 }
 
 .login-links ul {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   justify-content: center;
   gap: 12px;
   flex-wrap: wrap;
 }
 
 .login-links li {
   position: relative;
 }
 
 .login-links li:not(:last-child)::after {
   content: "|";
   margin-left: 12px;
   color: #cccccc;
 }
 
 .login-links a {
   text-decoration: none;
   font-size: 15px;
   color: #888888;
   transition: color 0.3s ease;
 }
 
 .login-links a:focus,
 .login-links a:hover {
   color: #555555;
   text-decoration: underline;
   outline-offset: 2px;
 }
 
 .form-signin .form-floating:focus-within {
   z-index: 2;
 }
 
 .form-signin input[type="email"] {
   margin-bottom: -1px;
   border-bottom-right-radius: 0;
   border-bottom-left-radius: 0;
 }
 
 .form-signin input[type="password"] {
   margin-bottom: 10px;
   border-top-left-radius: 0;
   border-top-right-radius: 0;
 }
 
 .remember-alert {
   display: none;
   padding: 10px 12px;
   margin: 8px 0 16px;
   font-size: 14px;
   line-height: 1.4;
   border-radius: 4px;
   background: #fff3cd;      /* 옅은 노랑 */
   color: #856404;           /* 경고 텍스트 */
   border: 1px solid #ffeeba;
 }
 .remember-alert.show { display: block; }
 
 nav.breadcrumb {
	 width: 90%;
	 background: #f5f5f7;
	 border: 1px solid #e3e3e3;
	 border-radius: 0 0 35px 35px;
	 padding: 0 40px;
	 margin: 0 auto;
	 height: 50px;
	 display: flex;
	 align-items: center;
	 --bs-breadcrumb-divider: url('data:image/svg+xml,%3Csvg%20width%3D%224%22%20height%3D%228%22%20viewBox%3D%220%200%204%208%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M0.269526%207.75C0.201018%207.75%200.132509%207.71871%200.078424%207.65166C-0.0261413%207.52203%20-0.0261413%207.30746%200.078424%207.17783L2.42934%204.26334C2.60241%204.04877%202.60241%203.70011%202.42934%203.48554L0.078424%200.571053C-0.0261413%200.44142%20-0.0261413%200.226857%200.078424%200.0972242C0.182989%20-0.0324081%200.356063%20-0.0324081%200.460628%200.0972242L2.81154%203.01172C2.99543%203.23969%203.1%203.54813%203.1%203.87444C3.1%204.20076%202.99904%204.50919%202.81154%204.73717L0.460628%207.65166C0.406542%207.71424%200.338034%207.75%200.269526%207.75Z%22%20fill%3D%22%23454545%22/%3E%3C/svg%3E');
 }
 nav.breadcrumb ol {margin: 0;font-size: 13px;color: #777}
 nav.breadcrumb ol li a {color: #777;text-decoration: none}
 nav.breadcrumb ol li.active {color: #333}
 
 .sub_img {margin: 50px auto 80px;border-radius: 35px;overflow: hidden;height: 300px;width: 90%}
  
  /* 반응형: 좁아지면 1열 스택 (원하는 기준폭으로 조절) */
@media (max-width: 1600px) {
	.layout {
		grid-template-columns: 400px 1fr;
		grid-template-rows: auto auto auto; /* 헤더, 사이드바, 콘텐츠 순 */
	}
	.sidebar {min-width: 400px;}
	
	nav.nav a {width: 47.5%;text-decoration: none;color: #3A3A3A;font-size: 17px;font-family: 'Noto Sans KR';font-weight:700;}
	nav.nav a .nav_btn {padding: 25px;height: 150px;border-radius: 30px;margin-bottom: 20px}
	nav.nav a .nav_btn .nm {margin-top: 15px;width: 100%;line-height: 1.3em}
	nav.nav a:hover .nav_btn {background: #F2F2F2;border-radius: 35px;border:1px solid #4565cb;}
	
	.wrap {margin: 0 auto;width:90%}
}
@media (max-width: 1100px) {
  .layout {
	grid-template-columns: 1fr;   /* 한 컬럼 */
	grid-template-rows: auto auto auto; /* 헤더, 사이드바, 콘텐츠 순 */
  }
  
  /* 헤더가 있을 때만 2행으로 바꿔줌 */
	.layout:has(.global-header){
	  grid-template-rows: auto 1fr;
	}
  .global-header {
	  grid-column: 1 / -1; /* 두 컬럼 가로 전체 */
	  position: sticky; top: 0; /* 스크롤해도 상단 고정 (원치 않으면 제거) */
	  background: #fff;
	  border-bottom: 1px solid #e5e7eb;
	  padding: 16px 20px;
	  z-index: 99;
	  display: block;
  }
  .global-header .logo img {height: 32px}

  .toggle-mnu {
	display: block !important;
	width: 24px;
	height: 24px;
	padding: 4px 0;
  }
  
  .toggle-mnu span:after, .toggle-mnu span:before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
  }
  
  .toggle-mnu span:after {
	top: 14px;
  }
  
  .toggle-mnu span {
	position: relative;
	display: block;
  }
  
  .toggle-mnu span, .toggle-mnu span:after, .toggle-mnu span:before {
	width: 100%;
	height: 3px;
	background-color: #565;
	transition: all 0.3s;
	backface-visibility: hidden;
	border-radius: 2px;
  }
  
  .toggle-mnu.on span {
	background-color: transparent;
  }
  
  .toggle-mnu.on span:before {
	transform: rotate(45deg) translate(-1px, 0px);
  }
  
  .toggle-mnu.on span:after {
	transform: rotate(-45deg) translate(5px, -7px);
  }
  .sidebar {visibility: hidden;right: '-100%';opacity: 0;position: absolute;min-width: 300px;z-index: 90}
  .sidebar {
	  padding: 30px 20px;
  }
  nav.nav {margin: 20px auto 0;}

  .sidebar header {display: none}
  .sidebar .sidebar-body {padding-top: 50px}
  
  nav.breadcrumb {
	   width: 90%;
	   background: #f5f5f7;
	   border: 1px solid #e3e3e3;
	   border-radius: 0 0 15px 15px;
	   padding: 0 5%;
	   margin: -1px auto 0;
	   height: 38px;
   }
   
   .sub_img {margin: 20px auto 40px;border-radius: 15px;overflow: hidden;height: 250px;width: 90%}
}

@media (max-width:640px){
	.only-pc {display: none}
	.only-mo {display: block}
	.pc {display: none}
	
	.sidebar {visibility: hidden;right: '-100%';opacity: 0;position: absolute;min-width: 100%;z-index: 90}
}

