@charset "utf-8";
@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Pretendard';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/pretendard@1.0/Pretendard-Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafetyConstellation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimByeoljariTTF-L.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'SchoolSafetyConstellation';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-5@1.0/HakgyoansimByeoljariTTF-B.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

*{margin:0; padding:0; box-sizing: border-box;}
ul,li{list-style:none;}
a{text-decoration:none; color:#000;}
img{border:0;}

.cf:after{
	content:'';
	display:block;
	clear:both;
}

body{
	font-family:'Pretendard',"나눔고딕",NanumGothic, sans-serif;
	background-color:#2D2D2D;
	color:#fff;
}

header{
	width:100%;
	height:80px;
}

header .nav{
	width:100%;
	height:100%;
	padding:0 60px;
}

header .nav a{
	display:block;
	height:100%;
}

header .nav .back{
	width:40px;
	text-align:center;
	font-size:40px;
	line-height:40px;
	font-weight:700;
	color:#fff;	
	float:left;
	padding:20px 0;
	box-sizing:border-box;
}

header .nav .center{
	width:140px;
	height:80px;
	margin:0 auto;
	padding-top:20px;
	box-sizing:border-box;
}

header .nav .center img{
	display:block;
	width:100%;
}

header .nav ul{
	width:120px;
	float:right;
	height:40px;
	margin-top:20px;
}

header .nav ul li{
	width:40px;
	height:40px;
	float:left;
	cursor:pointer;
}

header .nav ul li.ko{
	margin-right:30px;
}

header .nav ul li img{
	display:block;
	width:40px;
}

main {
	width:80%;
	margin:50px auto;
	padding:10px;
	box-sizing:border-box;
}

main .txt {
	width: 100%;
	display: none;
	flex-direction: column;
	gap: 20px;
}

main .txt.on {
	display: flex; 
}


/* 푸터 전체 영역 */
.site-footer {
  background-color: #000000; /* 완전한 검은색 배경 */
  color: #ffffff;
  font-family: 'Pretendard', -apple-system, sans-serif;
  padding: 50px 20px; /* 위아래 여백을 넉넉하게 */
}

/* 내부 레이아웃 컨테이너 */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center; /* 로고와 텍스트 영역을 세로 중앙으로 정렬 */
  gap: 80px; /* 좌측 로고와 우측 텍스트 사이의 간격 */
}

/* 좌측 로고 이미지 */
.footer-logo img {
  width: 180px; /* 준비하신 로고 크기에 맞춰 조절하세요 */
  height: auto;
  display: block;
}

/* 우측 텍스트 정보 영역 전체 */
.footer-info {
  flex: 1; /* 남은 우측 가로 공간을 모두 차지하도록 설정 */
  display: flex;
  flex-direction: column;
}

/* 상단 링크 (이용약관 등) */
.footer-links {
  display: flex;
  gap: 20px; /* 링크 사이 간격 */
  margin-bottom: 12px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700; /* 글씨를 굵게 */
}

.footer-links a:hover {
  text-decoration: underline; /* 마우스 올렸을 때 밑줄 효과 (선택사항) */
}

/* 가로 구분선 */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #444444; /* 어두운 회색 선 */
  margin-bottom: 15px;
}

/* 이메일 연락처 */
.footer-contact {
  display: flex;
  gap: 30px; /* 연락처 항목 사이 간격 */
  font-size: 14px;
  color: #cccccc; /* 살짝 밝은 회색 */
  margin-bottom: 50px; /* 아래 카피라이트 텍스트와의 간격을 넓게 설정 */
}

@media screen and (max-width:900px){

/* 하단 카피라이트 */
.footer-copyright {
  margin: 0;
  font-size: 14px;
  color: #888888; /* 조금 더 어두운 회색 */
}

  .footer-container {
    flex-direction: column;
    align-items: flex-start; /* 좌측 정렬 (원하시면 center로 변경 가능) */
    gap: 30px; /* 로고와 텍스트 사이의 너무 넓은 간격을 줄여줍니다 */
  }

  /* 2. 우측 텍스트 영역이 화면 가로 너비를 꽉 채우도록 설정 (구분선을 위해) */
  .footer-info {
    width: 100%;
  }

  /* 3. 이메일 연락처 세로로 배치 (화면 밖으로 글자가 나가는 것 방지) */
  .footer-contact {
    flex-direction: column;
    gap: 10px; /* 이메일 사이의 간격을 좁혀줍니다 */
    margin-bottom: 30px; /* 모바일에서는 아래쪽 여백을 조금 줄여줍니다 */
  }

  /* 4. 모바일 화면에 맞춰 로고 크기 살짝 축소 (선택 사항) */
  .footer-logo img {
    width: 140px; 
  }
  }