@charset "UTF-8";

@media screen and (max-width: 1400px) {
	#custom-toast {
    position: fixed;
    top: 20%;           /* 화면 위에서 20px 아래 */
    left: 50%;           /* 화면 가로 중앙 */
    transform: translateX(-50%); /* 자신의 너비의 50%만큼 왼쪽으로 이동 */
    z-index: 2000;
}

	.text-box {
		padding: 5px 10px;
		height: 100%;
	}
	.index_main {
		padding: 0;
	}
	.banner {
		padding: 15px;
		gap: 15px;
	}
	.right-banner {
		gap: 15px;
	}
	.left-banner {
		flex: 0.6;
		background-size: contain;
		background-color: #9ec6f7;
		max-width: 450px;
		min-width: 450px;
	}
	.ion_title h2 {
		font-size: 18px;
	}
	.icon-1 {
		width: 30px;
		height: 30px;
	}
	.item-group2, .item-group3 {
		gap: 10px;
	}
	.main-graph-group {
		max-width: 100%;
		width: 100%;
		padding: 0 20px;
		gap: 20px;
	}
	.graph-group-title {
		padding: 0;
		    width: 30%;
	}
	.main-accordion-container {
		padding: 20px;
		width: 100%;
	}
	.item .sm-text p, .item .lg-text p {
		font-size: 13px;
	}
	.left-text p {
		font-size: 20px;
	}
	.left-text h2 {
		font-size: 32px;
	}
	.graph-item3 .main-graph {
        height: 100%;
        width: 100%;
	}
	.graph-item3 {
height: 100%;
        width: 100%;
	}
	.graph-item2 .graph-item {
		height: 100%;
	}
	.graph-item2 {
		margin-bottom: 0;
	}
}
/* 태블릿용 */
@media screen and (max-width: 1200px) {
	.main-accordion-image-area {
		max-width: 100%;
		width: 100%;
		min-height: -webkit-fill-available;
	}
	.main-accordion-content {
		padding: 0 10px;
	}
	.main-accordion-item {
		margin: 0;
	}
	.item.w-60.h-122 {
		height: 100%;
	}
	.row-item-group {
		height: 100%;
	}
}

/* 태블릿용 */
@media screen and (max-width: 1024px) {
	header {
		position: relative;
		height: 55px;
	}
	.left-banner {
		display: none;
	}
	.banner {
		flex-direction: column;
	}
	.item .sm-text p, .item .lg-text p {
		font-size: 13spx;
	}
	.left-text {
		width: 100%;
		max-width: 100%;
		padding: 20px;
	}
	.item {
		height: 100%;
	}
	.text-box {
		padding: 10px;
	}
	.main-graph-group {
		flex-direction: column;
	}
	.graph-item3 .graph-item {
		height: 100%;
	}
	.graph-item3 .main-graph {
		height: auto;
	}
	.main-graph-group {
		padding: 15px;
		margin: 0;
		gap: 15px;
	}
	.graph-item3 {
		height: auto;
	}
	.topwrap {
		display: none;
	}

	/**/
	nav .top_nav {
		width: auto;
	}
	nav .top_nav ul.menu {
		display: none;
	}

	/* 메뉴 열릴 때 */
	nav .top_nav ul.menu.active {
		display: flex;
		justify-content: flex-start;
		gap: 0px;
		gap: 10px;
	}
	nav .top_nav .menu-group-top.active ul.menu {
		display: flex;
		flex-direction: column;
		position: absolute;
		width: 100%;
		height: calc(100% - 105px);
		overflow: auto;
		gap: 10px;
		justify-content: flex-start;
	}
	.nav-login {
		position: fixed;
		bottom: 0;
		background-color: #fff;
		color: #000;
		font-size: 19px;
		width: 80%;
		right: 0;
		border-top: 1px solid #ddd;
		border-radius: 0;
		padding: 10px;
		background-color: #e4eaf5;
	}
	#custom-toast{
        left: auto;         /* 기존 left 제거 효과 */
        transform: none;    /* 가운데 이동 제거 */
	    top: 20px;
	    right: 20px;

    }

	/* 햄버거 버튼 보이기 */
	.menu-toggle {
		display: block;
	}

	/* 햄버거 아이콘 X로 변환 */
	.menu-toggle.active .hamburger {
		background: transparent;
	}
	.menu-toggle.active .hamburger::before {
		transform: rotate(45deg);
		top: 0;
	}
	.menu-toggle.active .hamburger::after {
		transform: rotate(-45deg);
		top: 0;
	}
	.submenu {
		display: flex;
		flex-direction: column;
		gap: 10px;
		position: relative;
		top: 0;
		left: 0;
		transform: none;
		background-color: #fff;
		min-width: calc(100% - 210px);
		border-radius: 0;
		align-items: flex-start;
	}
	.submenu li a {
		color: #000;
		font-weight: 400;
	}
	.submenu li {
		display: flex;
		width: 100%;
	}
	nav .top_nav ul.submenu li a {
		justify-content: flex-start;
	}
	/* 서브메뉴 hover 배경 제거 */
	.submenu li a:hover {
		background: none;
		color: #000 !important;
	}

	.submenu::after {
		display: none;
	}
	.nav .top_nav ul li a {
		width: 100%;
	}
	.menu li.has-sub>a:hover {
		background: none;
		color: #000 !important;
	}
	.menu li.has-sub a:hover .top_icon-1 img {
		content: "";
	}

	.has-sub-login {
		position: fixed;
		bottom: 0;
		right: 0;
		width: 80%;
		z-index: 9999;
		padding: 10px 0;
		text-align: center;
		height: 50px;
	}
	.login-user-icon::after, .sub-login-menu:after {
		content: none !important; /* 아이콘 제거 */
	}
	.login-user .login-text {
		font-size: 16px;
		color: #333;
		cursor: pointer;
	}
	.sub-login-menu {
		display: block;
		width: 100%;
		display: flex;
		justify-content: space-around;
		background-color: #ffffff;
		color: #000;
		border-top: 1px solid #ddd;
		border-radius: 0;
		display: flex;
		height: 100%;
		top: 0;
	}
	.sub-login-menu li {
		width: 100%;
		flex: 1;
		border-right: 1px solid #ddd;
	}
	.has-sub-login>.menu-group>.login-user {
		display: contents;
	}
	.login-user {
		width: 100%;
	}
	.has-sub-login:hover .sub-login-menu {
		width: 100%;
		display: flex;
		justify-content: space-around;
	}
	.graph-group-title{
	        width: 100%;
	}

	/**/
	footer {
		padding: 10px;
	}
	.fcont {
		width: 100%;
		margin: 0;
	}
	.fcont-wrap {
		flex-direction: column;
		gap: 15px;
	}
	.fsite-info {
		justify-content: center;
	}
	.full-list ul.full-group {
		flex-direction: column;
		min-height: 100%;
		height: 100%;
		flex-wrap: nowrap;
		padding: 0;
		border: none;
		max-height: 100%;
	}
	.fullmenu {
		left: auto;
		width: 100%;
		position: fixed;
		top: 0;
		height: 100%;
		max-width: 500px;
		padding: 50px 20px;
		z-index: 0;
	}
	.full-openmenu {
		overflow: auto;
		height: 100%;
	}
	.overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5); /* 어둡게 처리 */
		display: none; /* 기본은 숨김 */
	}
	.overlay.show {
		display: block;
	}
	body.no-scroll {
		overflow: hidden;
	}
	nav .top_nav ul li.has-sub {
		width: 100%;
		justify-content: center;
	}
	nav .top_nav ul li.has-sub>.menu-group>a {
		font-weight: bold;
		width: 100%;
		min-width: 100%;
		justify-content: left;
		background-color: #e4eaf5;
		padding: 10px;
		align-items: center;
		font-size: 17px;
	}
	nav .top_nav ul li.has-sub>.menu-group {
		display: flex;
		width: 100%;
		align-items: flex-start;
		height: 100%;
		gap: 10px;
		flex-direction: column;
	}
	nav .top_nav ul li.has-sub a {
		width: 100%;
		padding: 10px;
		height: 100%;
		font-size: 15px;
	}
	.top-menu-toggle {
		display: flex;
	}
	nav .top_nav ul li.has-sub .top-icon {
		width: 15px;
		height: 15px;
	}
	.menu li.has-sub>.menu-group.hide>a .top_icon-1 img {
		transform: rotate(180deg);
		transition: transform 0.3s ease; /* 회전 애니메이션 부드럽게 */
	}
	nav {
		padding: 10px;
		justify-content: space-between;
		width: 100%;
		max-width: 100%;
		height: 55px;
		background-color: #fff;
		z-index: 999;
		border-bottom: 1px solid #ddd;
		position: fixed;
	}
	.left-banner {
		flex: 1 1 200px;
	}

	/*햄버거*/
	.menu-toggle {
		display: block; /* 햄버거 표시 */
		position: relative;
		z-index: 1001;
	}
	.menu-group-top.active {
		display: flex;
		flex-direction: column;
		background: #ffffff;
		position: fixed;
		top: 55px;
		right: 0;
		width: 80%;
		box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
		z-index: 999;
		height: 100%;
	}
	.nav .top_nav ul.menu {
		flex-direction: column;
	}
	.sub-login-menu li {
		background: none !important; /* 배경색 제거 */
		color: inherit !important; /* 글자색 유지 */
	}
	.sub-login-menu li:hover {
		background: none !important; /* hover 시 배경색 제거 */
		color: inherit !important; /* hover 시 글자색 유지 */
	}

	/* 햄버거 클릭 시 열림 */
	.menu.active {
		display: flex;
	}

	/* X자 모양 변환 */
	.menu-toggle.active .hamburger {
		background: transparent;
	}
	.menu-toggle.active .hamburger::before {
		transform: rotate(45deg);
		top: 0;
	}
	.menu-toggle.active .hamburger::after {
		transform: rotate(-45deg);
		top: 0;
	}

	/*로그인*/
	.login-box {
		width: 100%;
	}
	/*통합로그인*/
	.nikom-login-text{
	    flex-direction: column;
    align-items: baseline;
    gap: 10px;
	}
	.nikom-login-text h3{
	    font-size: 20px;
	}
	.nikom-login-go a{
	    padding: 0;
	}
}

@media screen and (max-width: 835px) {
	.network-sm-group {
		flex-direction: column;
		width: 100%;
	}
	.network-sm-group .flex-1 {
		width: 100%;
		min-height: 70px;
		flex-direction: row;
		gap: 5px;
		justify-content: left;
	}
	.item .flex-1 p {
		justify-content: left;
		font-size: 16px;
	}
	br {
		display: none;
	}
	.row-item-group.min-w-100 {
		flex-direction: column;
		width: 100%;
	}
	.item,.item-2 {
		width: 100%;
	}

}

@media screen and (max-width: 768px) {
	.announcement-page > .justify-space-between{
	    flex-direction: column;
	}
	
		.search-inp{
	    width: 100%;
	}

	.item .sm-text p, .item .lg-text p {
		font-size: 15px;
	}
	.date-group {
		padding: 0 15px;
	}
	.item-group {
		padding: 0;
	}
	.graph-item3 .graph-item {
		height: 100%;
	}
	.graph-item3 .main-graph {
		height: 100%;
	}
	.main-graph-group {
		flex-direction: column;
		padding: 10px;
	}
	.graph-item3 {
		height: 100%;
	}
	.index_main {
		background: none;
		width: 100%;
		padding: 0;
	}
	.row-item h2 {
		font-size: 20px;
	}
	.bold-text-22 {
		font-size: 18px;
	}
	.item-group2, .item-group3 {
		flex-direction: column;
	}
	.left-text p {
		font-size: 15px;
	}
	.left-text {
		gap: 10px;
		padding: 10px;
	}
	.popup-justify-space-between {
		flex-direction: column;
		display: flex;
		gap: 10px;
	}
	.textarea-w {
		width: 100%;
	}
	.menu-group-top.active {
		width: 100%;
	}
	.has-sub-login {
		width: 100%;
	}
	.nav-login {
		width: 100%;
	}
	/*로그인*/
	.login-box {
		width: 100%;
		padding: 20px;
	}
	.filter-area-top {
		padding: 10px;
	}
	.item .flex-1:hover p {
		width: 100%;
	}
	.main-accordion-container {
		flex-direction: column;
		width: 100%;
		height: 100%
	}
	.main-accordion-list {
		width: 100%;
	}
	.main-accordion-image-area {
		min-height: 350px;
	}
}

/* 아주 작은 화면 (예: 480px 이하) */
@media screen and (max-width: 480px) {
	.left-text {
		gap: 5px;
	}
	.left-text p {
		width: 50%;
		font-size: 15px;
	}
	.left-text h2 {
		font-size: 25px;
	}
	.item .sm-text p, .item .lg-text p {
		font-size: 14px;
	}
	.row-item-group {
		gap: 10px;
	}
	.date-group {
		padding: 0;
	}
	.bold-text-22 {
		font-size: 13px;
	}
	.row-item {
		padding: 13px 0;
	}
	.ion_title h2 {
		font-size: 20px;
	}
	.login-top {
		padding: 0;
	}
	.login-top h2 {
		text-align: justify;
		font-size: 22px;
	}
	.login-top p {
		text-align: justify;
		font-size: 18px;
	}
	.login-box {
		padding: 15px;
		margin: 10px 0;
		        gap: 20px;
	}
	.main-accordion-image-area {
		min-height: 260px;
	}
	.list_area.gallery .dataset {
		top: 0;
		right: 0;
	}
	.nikom-login{
	    padding-top: 20px;
	}
	.nikom-login-go a{
	    font-size: 16px;
	}

}

/* 아주 작은 화면 (예: 480px 이하) */
@media screen and (max-width: 380px) {
	.announcement-page-group {
		flex-direction: column;
		gap: 1px !important;
	}
	.page-item::after {
		content: none !important;
	}
	.announcement-answer {
		justify-content: flex-end !important;
		padding: 5px 0 !important;
	}
}

@media screen and (max-width: 333px) {
	.link-wrap{
	    flex-direction: column;
	}
}