@import url("global_common_pc.css");

@media only all and (max-width: 1023px) {
	body {
		min-width: 320px;
		list-style: none;
		outline: 0;
		font-size: 1rem;
		line-height: 1rem;
		-webkit-text-size-adjust: none;
	}

	body.fixed {
		overflow: hidden;
	}

	.wrapper {
		position: relative;
		margin: 0;
		padding-top: 4.231rem;
		clear: both;
		overflow: hidden;
	}

	.wrapper:after {
		content: "";
		clear: both;
		display: block;
	}

	.gnb-wrapper {
		display: none;
	}

	/* header */
	.header {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 4.231rem;
	}

	.header-wrapper {
		position: static;
		width: 100%;
		height: 4.231rem;
	}

	.header-area {
		position: relative;
		max-width: 100%;
		height: 100%;
		padding: 0 1.538rem;
		margin: 0;
	}


	.header-area > h1 {
		position: static;
		margin-top: 1.154rem;
	}

	.header-area h1 > a {
		padding-top: 0.9231rem;
		padding-left: 5rem;
	}

	.header-area h1 > a > img {
		width: 10.04rem;
	}

	.header-area h1 > a > strong {
		display: block;
		color: #212121;
		font-size: 1rem;
		line-height: 1.154rem;
		font-weight: 500;
		letter-spacing: -1px;
	}

	.header-area h1 > a > strong .small{
		font-size: 0.7rem;
		line-height: 1rem;
	}

	
	.top-menu-wrapper {
		display: none;
	}

	.btn-totalmenu {
		position: absolute;
		top: 0;
		right: 0;
		display: block;
		width: 4.231rem;
		height: 4.231rem;
		background-size: 1.615rem 1.615rem;
		transform: none;
	}

	.mask-totalmenu {
		display: none;
		top: 0;
		width: 100%;
		height: 100%;
		background: #000;
		opacity: 0.3;
		z-index: 100;
	}

	.totalmenu-wrapper {
		display: block;
		position: fixed;
		top: 0;
		right: -21.54rem;
		width: 21.54rem;
		height: 100%;
		border-top: 0;
		background: #e9e9e9;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
		-webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
		z-index: 10000;
		opacity: 0;
	}

	.totalmenu-wrapper.active {
		right: 0;
		opacity: 1;
	}

	.wrapper.fixed .totalmenu-wrapper {
		top: 0;
	}

	.totalmenu-wrapper > .bg {
		display: none;
	}

	.mobile-gnb-wrapper {
		display: block;
		background: #2194dc;
		height: 9.846rem;
		padding: 1.538rem 1.538rem 0 1.538rem;
		color: #fff;
	}
	.mobile-gnb-wrapper .mobile-gnb-area {
		display: block;
	}

	.mobile-gnb-wrapper .mobile-gnb-area:after {
		content: "";
		clear: both;
		display: block;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > h2 {
		font-size: 1.231rem;
		line-height: 1.385rem;
		margin-bottom: 0.9231rem;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul {
		display: block;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul:after {
		content: "";
		clear: both;
		display: block;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul > li {
		float: left;
		width: 32%;
		margin-left: 2%;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul > li:first-child  {
		margin-left: 0;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul > li > a {
		display: block;
		text-align:center;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul > li > a > .image {
		position: relative;
		display: block;
		vertical-align: middle;
		text-align: center;
		width: 2.692rem;
		height: 2.692rem;
		border-radius: 50%;
		margin: 0 auto 0.7692rem auto;
		background-color: #0ac394;
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul > li:first-child > a > .image {
		background-color: #45bdfd
	}

	.mobile-gnb-wrapper .mobile-gnb-area > ul > li > a > .image > img {
		position: absolute;
		top: 50%;
		left: 50%;
		display: block;
		width: 2.154rem;
		height: 2.154rem;
		margin-top: -1.077rem;
		margin-left: -1.077rem;
	}
	
	.mobile-gnb-wrapper .mobile-gnb-area > ul > li > a > strong {
		display: block;
		font-size: 0.8462rem;
		line-height: 1rem;
	}
	

	.totalmenu-area {
		position: relative;
		max-width: 100%;
		height: calc(100% - 9.846rem);
		padding: 0;
		margin: 0 auto;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.totalmenu-area > ul {
		padding: 0;
		background: #fff;
	}

	.totalmenu-area > ul > li {
		float: none;
		width: 100%;
		background: #fff;
		border-top: 1px solid #e7e7e7;
	}

	.totalmenu-area > ul > li > a {
		position: relative;
		display: block;
		margin-bottom: 0;
		font-size: 1.385rem;
		line-height: 1.615rem;
		padding: 1.308rem 1.308rem 1.077rem 2.923rem;
		font-weight: 500
	}

	.totalmenu-area > ul > li > a .on {
		position: absolute;
		top: 50%;
		left: 1.538rem;
		display: block;
		width: 1.231rem;
		height: 0.6923rem;
		margin-top: -0.3077rem;
		background: url(../img/icon/icon_arrow_right02@2x.png) no-repeat 0 0;
		background-size: 0.3462rem 0.6154rem;
		text-indent: -5000rem;
	}

	.totalmenu-area > ul > li.active > a .on,
	.totalmenu-area > ul > li.on > a .on {
		background: url(../img/icon/icon_arrow_right02_over@2x.png) no-repeat 0 0;
		background-size: 0.3462rem 0.6154rem;
	}

	.totalmenu-area > ul > li > a .off {
		display: block;
		color: #000000;
		-webkit-transition: all 0.2s ease-in-out;
		transition: all 0.2s ease-in-out;
	}

	.totalmenu-area > ul > li > a:hover .off,
	.totalmenu-area > ul > li.active > a .off,
	.totalmenu-area > ul > li.on > a .off {
		display: block;
		color: #001f84
	}

	.totalmenu-area > ul > li.active > a + .top-submenu {
		display: block;
	}

	.totalmenu-area > ul > li > .top-submenu {
		display: none;
		padding: 0;
	}

	.totalmenu-area > ul > li > .top-submenu h2 {
		display: none;
	}

	.totalmenu-area > ul > li > .top-submenu > ul {
		display: block;
		background: #f0f4f9;
		border-top: 2px solid #1355a4;
		padding: 1.538rem
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li {
		margin-bottom: 1.154rem;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li:last-child {
		margin-bottom: 0;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > a {
		position: relative;
		display: block; 
	}
	

	.totalmenu-area > ul > li > .top-submenu > ul > li > a .title {
		position: relative;
		display: inline-block;
		color: #424242;
		padding-left: 1rem;
		font-size: 1.077rem;
		line-height: 1.077rem;
		background: url(../img/bul/bul_type01@2x.png) no-repeat 0 50%;
		background-size: 0.2308rem 0.2308rem
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > a:hover .title,
	.totalmenu-area > ul > li > .top-submenu > ul > li > a.active .title {
		color: #3f7dc8;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > a > .arrow {
		display: none;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > a > .bg {
		display: none;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > a .new-window01 {
		display: inline-block;
		vertical-align: baseline;
		margin-left: 0.2308rem;
		width: 0.6923rem;
		height: 0.7692rem;
		background: transparent url(../img/icon/icon_new_window02.gif);
		background: -webkit-linear-gradient(transparent,transparent),url(../img/icon/icon_new_window02@2x.gif);
		background: linear-gradient(transparent,transparent),url(../img/icon/icon_new_window02@2x.gif);
		background-repeat: no-repeat;
		background-position: center center;
		background-size: 0.6923rem 0.7692rem;
		text-indent: -5000rem;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li:last-child {
		margin-bottom: 0;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > ul {
		display: block;
		padding: 1rem 0 1rem 1rem;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > ul > li {
		display: block;
		margin-bottom: 0.5769rem;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > ul > li:last-child {
		margin-bottom: 0;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > ul > li > a {
		position: relative;
		display: block;
		color: #424242;
		font-size: 0.9231rem;
		line-height: 0.9231rem;
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > ul > li > a:before {
		content: "- ";
		font-weight: 700
	}

	.totalmenu-area > ul > li > .top-submenu > ul > li > ul > li > a.active {
		color: #3f7dc8;
		font-weight: 500;
	}

	

	.totalmenu-wrapper .btn-mobile-close {
		position: absolute;
		top: 1.538rem;
		right: 1.462rem;
		display: block;
		width: 1.308rem;
		height: 1.308rem;
	}

	.totalmenu-wrapper .btn-mobile-close > img {
		display: inline-block;
		vertical-align: middle;
		width: 1.308rem;
	}


	/* footer */
	.footer {
		border-top: 1px solid #e0e0e0;
		padding: 1.423rem 0;
	}

	.footer-wrapper {
		max-width: 100%;
		padding: 0 1.154rem;
		margin: 0;
	}

	.footer-left-wrapper {
		float: none;
	}

	.footer-left-wrapper > ul {
		display: block;
		margin-bottom: 0.5385rem;
	}


	.footer-left-wrapper > ul > li {
		float: left;
		padding-right: 0.7308rem;
		margin-right:  0.6538rem;
		margin-bottom: 1.077rem;
		background-size: 1px 0.7692rem
	}

	.footer-left-wrapper > ul > li > a {
		font-size: 0.9231rem;
		line-height: 1.077rem;
	}


	.footer-left-wrapper > ul > li > a .line {
		display: none;
	}

	.footer-information {
		font-size: 0.9231rem;
		line-height: 1.385rem;
	}


	.footer-select-wrapper {
		position: relative;
		padding-top: 1.538rem
	}

	.footer-select-wrapper > dl {
		position: relative;
		float: left;
		width: calc(50% - 0.3846rem); 
		margin-left: 0;
	}

	.footer-select-wrapper > dl:nth-child(even) {
		float: right;
	}


	.footer-select-wrapper > dl > dt > button {
		width: 100%;
		height: 2.615rem;
		font-size: 0.9231rem;
		text-indent: 1.154rem;
	}

	.footer-select-wrapper > dl > dt > button > .arrow {
		right: 1.154rem;
		width: 0.6154rem;
		height: 0.3077rem;
		margin-top: -0.1538rem;
		background-size: 0.6154rem 0.3077rem;
	}

	.footer-select-wrapper > dl > dd {
		bottom: 2.615rem;
		max-height: 10.15rem;
		margin-bottom: -1px;
		padding: 1.154rem;
	}

	.footer-select-wrapper > dl > dd > ul > li {
		margin-top: 0.3846rem;
	}

	.footer-select-wrapper > dl > dd > ul > li > a {
		font-size: 0.9231rem;
		line-height: 1.385rem;
	}

	.footer-select-wrapper > dl > dd > ul > li > ul {
		padding: 0.3846rem 0.7692rem;
	}

	.footer-select-wrapper > dl > dd > ul > li > ul > li {
		margin-top: 0.3846rem;
	}

	.footer-select-wrapper > dl > dd > ul > li > ul > li:first-child {
		margin-top: 0;
	}

	.footer-select-wrapper > dl > dd > ul > li > ul > li > a {
		padding-left: 0.5769rem;
		font-size: 0.7692rem;
		line-height: 1rem;
	}
	
	.sns {
		position: relative;
		width: 100%;
		margin-bottom: 20px;
	}
	.btn-top-go, 
	.btn-mobile-back  {
		display: none;
		top: auto;
		top: initial;
		bottom: 8rem; /* bottom 5rem 에서 8rem으로 변경 */
		right: auto;
		right: initial;
		width: 2.692rem;
		height: 2.692rem;
		line-height: 2.692rem;
		font-size:  0.7692rem;
	}

	.btn-top-go {
		right: 0;
	}

	.btn-mobile-back {
		left: 0;
		margin-top: 0;
	}

	.btn-top-go:hover,
	.btn-mobile-back:hover { 
		opacity: 1;
		background: #000;
	}

	.btn-real-time {
		position: fixed;
		bottom:  2.154rem;
		right: 1.154rem;
		display: block;;

	}



	.btn-real-time > img {
		display: block;
		width: 5.923rem

	}
}