/* ***************************** 상단 메뉴 */
.head {
	/* position: absolute; */
	position: relative;
	z-index: 1000;
	position: fixed;
	top: 0px;
	width: 100%;
	padding-top: 20px;
	padding-bottom: 10px;
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.2);
	transition: all 1s ease-in-out;
}

.head.show {
	color: rgb(32, 30, 30);
	background-color: rgb(255, 255, 255);
	padding-top: 5px;
	transition: all 0.7s ease-in-out;
	height: 60px;
}

.cont {
	display: flex;
	justify-content: flex-end;
}

.menu>li a {
	display: block;
	text-align: center;
	height: 55px;
	line-height: 55px;
	font-size: 15px;
	color: rgb(0, 0, 0);
	font-family: 'Frank Ruhl Libre', serif;
}

ul.menu {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	width: 80%;
}

.menu>li {
	overflow: hidden;
	padding-left: 50px;
}

.menu>li>a:before {
	position: absolute;
	display: block;
	content: '';
	width: 35px;
	height: 2px;
	transform: translateX(-50px);
	top: 10px;
	opacity: 0;
	background-color: black;
	transition: all 0.5s ease-in-out;
	-webkit-transform: translateX(-50px);
	-moz-transform: translateX(-50px);
	-ms-transform: translateX(-50px);
	-o-transform: translateX(-50px);
}

.menu>li:hover a::before {
	opacity: 1;
	transform: translateX(0px);
	transition: all 1s ease-in-out;
	-webkit-transform: translateX(0px);
	-moz-transform: translateX(0px);
	-ms-transform: translateX(0px);
	-o-transform: translateX(0px);
}

.logo {
	position: absolute;
	top: 5px;
	left: 10px;
	width: 163px;
}

.logo>img {
	width: 100%;
}

.head-fix {
	position: fixed;
	visibility: hidden;
	z-index: 100;
	width: 100%;
	margin: 0;
	background-color: rgb(50, 50, 83);
	transform: translateY(-80px);
	transition: all 0.5s ease-in;
}

.head-fix.show {
	visibility: visible;
	transform: translateY(0px);
	transition: all 1s ease-in;
}

/* 드롭메뉴 */
.m-submenu {}

.s-submenu {
	position: absolute;
	overflow: hidden;
	top: 55px;
	opacity: 0;
	transform: translateX(-1300px);
	background-color: transparent;
	transition: all 1s ease-in-out;
}

.m-submenu:hover .s-submenu {
	opacity: 1;
	transform: translateX(0px);
	transition: all 1s ease-in-out;
}

.s-submenu>ul {
	position: relative;
	display: flex;
	justify-content: flex-start;
	align-content: flex-start;
	padding: 0px 0px;
}

.s-submenu>ul>li>a {
	text-align: center;
	display: block;
	padding: 0 0px;
	margin: 0 1px 0 0;
	width: 150px;
	height: 35px;
	font-size: 13px;
	line-height: 35px;
	color: #ffffff;
	background-color: rgb(44, 44, 44);
	transition: all 0.5s ease-in;
}

.s-submenu>ul>li:hover a {
	color: rgb(50, 50, 83);
	background-color: rgb(255, 255, 255);
}

.s-submenu-1 {
	left: calc(-15%) !important;
}

.s-submenu-2 {
	left: calc(-8%) !important;
}

.s-submenu-3 {
	left: calc(14%) !important;
}

.s-submenu-4 {
	left: calc(40%) !important;
}

.s-submenu-6 {
	left: calc(51%) !important;
}

.s-submenu-7 {
	left: calc(64%) !important;
}

.s-submenu-5 {
	left: calc(78%) !important;
}

/* @media screen and (max-width: 1023.99px) {
	  .logo {
		  display: none;
		}

		ul.menu {
				width: 100%;
		}
	}
	*/

.s-submenu>ul>li>a {
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 13px;
	font-weight: 300;
}

@media (max-width: 1199.99px) and (min-width: 992px) {

	ul.menu {
		width: 80%;
	}

	.menu>li {
		padding-left: 30px;
	}

	.menu>li>a:before {
		transform: translateX(-34px);
		transition: all 0.5s ease-in-out;
		-webkit-transform: translateX(-34px);
		-moz-transform: translateX(-34px);
		-ms-transform: translateX(-34px);
		-o-transform: translateX(-34px);
	}

	.menu>li:hover a::before {
		opacity: 1;
		transform: translateX(0px);
		transition: all 1s ease-in-out;
		-webkit-transform: translateX(0px);
		-moz-transform: translateX(0px);
		-ms-transform: translateX(0px);
		-o-transform: translateX(0px);
	}

	.s-submenu-1 {
		left: calc(-21%) !important;
	}

	.s-submenu-2 {
		left: calc(-15%) !important;
	}

	.s-submenu-3 {
		left: calc(9%) !important;
	}

	.s-submenu-4 {
		left: calc(39%) !important;
	}

	.s-submenu-6 {
		left: calc(50%) !important;
	}

	.s-submenu-7 {
		left: calc(63%) !important;
	}

	.s-submenu-5 {
		left: calc(78%) !important;
	}

}

@media (max-width: 991px) and (min-width: 920px) {

	ul.menu {
		right: -50px;
		width: 90%;
	}

	.menu>li {
		padding-left: 20px;
	}

	.menu>li>a:before {
		transform: translateX(-19px);
		transition: all 0.5s ease-in-out;
		-webkit-transform: translateX(-19px);
		-moz-transform: translateX(-19px);
		-ms-transform: translateX(-19px);
		-o-transform: translateX(-19px);
}

	.menu>li:hover a::before {
		opacity: 1;
		transform: translateX(0px);
		transition: all 1s ease-in-out;
		-webkit-transform: translateX(0px);
		-moz-transform: translateX(0px);
		-ms-transform: translateX(0px);
		-o-transform: translateX(0px);
}

	.logo {
		position: absolute;
		top: 5px;
		left: -60px;
		width: 163px;
	}

	.s-submenu-1 {
		left: calc(-26%) !important;
	}

	.s-submenu-2 {
		left: calc(-21%) !important;
	}

	.s-submenu-3 {
		left: calc(6%) !important;
	}

	.s-submenu-4 {
		left: calc(39%) !important;
	}

	.s-submenu-6 {
		left: calc(50%) !important;
	}

	.s-submenu-7 {
		left: calc(63%) !important;
	}

	.s-submenu-5 {
		left: calc(80%) !important;
	}

}

/* 미디어 쿼리 */
@media (max-width: 918px) and (min-width: 0) {
	.head {
		display: none !important;
		transition: all 0.5s ease-in;
	}
}

/* ***************************** 상단 메뉴 끝 */


/* ***************************** 모바일 메뉴  */
.mo-menu {
	display: block;
	border: 0;
	width: 40px;
	height: 25px;
	background-color: transparent;
	cursor: pointer;
	position: absolute;
	top: 7px;
	right: 10px;
	z-index: 700;
}

.mo-menu .bar,
.mo-menu .bar:before,
.mo-menu .bar:after {
	display: block;
	position: absolute;
	width: 30px;
	height: 2px;
	background-color: rgb(0, 0, 0);
	-webkit-transition: all 0.3s ease-in-out;
	transition: all 0.3s ease-in-out;
}

.mo-menu .bar {
	top: 10px;
	left: 0;
}

.mo-menu .bar:before {
	position: absolute;
	content: '';
	top: 7px;
	left: 0;
}

.mo-menu .bar:after {
	position: absolute;
	content: '';
	top: -7px;
	left: 0;
}

.top-bg {
	position: fixed;
	z-index: 700;
	background-color: rgb(255, 255, 255);
	width: 100%;
	height: 36px;
}

.top-bg>p {
	position: relative;
	display: flex;
	justify-content: flex-start;
	margin-left: 20px;
	margin-top: 8px;
}

.top-bg>p img {
	width: 90px;
}

.show .mo-menu .bar {
	background-color: transparent;
}

.show .mo-menu .bar:before {
	top: 0;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
}

.show .mo-menu .bar:after {
	top: 0;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

.overlay {
	width: 0;
	height: 100%;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: 0;
	transition: width 0.3s ease-in;
	background-color: rgba(255, 255, 255, 0.8);
	z-index: 500;
}

.show .overlay {
	position: fixed;
	width: 100%;
	height: 100%;
}

.monav ul {
	list-style-type: none;
	position: relative;
	/* top: 50px; */
	opacity: 0;
	transform: translateX(-100px);
	transition: all 0.5s 0.2s ease-out;
}

.show .monav ul {
	opacity: 1;
	transform: translateX(0);
}

.monav {
	margin-top: 50px;
}

.monav a {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 14px;
	font-family: 'Frank Ruhl Libre', serif;
	line-height: 42px;
	text-decoration: none;
	color: rgb(0, 0, 0);
}

.monav a:hover {
	background-color: rgba(255, 255, 255, 0.8);
}

.mo-submenu>li>a {
	font-family: 'Noto Sans KR', sans-serif;
	font-size: 13px;
	font-weight: 300;
}

#about {
	position: relative;
	z-index: 20;
}

.mo-sub1 {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	/* display: none; */
	height: 0px;
}

.mo-sub1>li>a {
	position: relative;
	line-height: 35px;
	top: -150px;
}

#about:hover .mo-sub1 {
	height: 105px;
}

#about:hover .mo-sub1>li>a {
	top: 0px;
	transition: all 1s ease-in-out;
}

#business {
	position: relative;
	z-index: 20;
}

.mo-sub2 {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	/* display: none; */
	height: 0px;
}

.mo-sub2>li>a {
	position: relative;
	line-height: 35px;
	top: -150px;
}

#business:hover .mo-sub2 {
	height: 105px;
}

#business:hover .mo-sub2>li>a {
	top: 0px;
	transition: all 1s ease-in-out;
}


#gallery {
	position: relative;
	z-index: 20;
}

.mo-sub3 {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	/* display: none; */
	height: 0px;
}

.mo-sub3>li>a {
	position: relative;
	line-height: 35px;
	top: -150px;
}

#gallery:hover .mo-sub3 {
	height: 105px;
}

#gallery:hover .mo-sub3>li>a {
	top: 0px;
	transition: all 1s ease-in-out;
}

#rd {
	position: relative;
	z-index: 20;
}

.mo-sub4 {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	/* display: none; */
	height: 0px;
}

.mo-sub4>li>a {
	position: relative;
	line-height: 35px;
	top: -150px;
}

#rd:hover .mo-sub4 {
	height: 35px;
}

#rd:hover .mo-sub4>li>a {
	top: 0px;
	transition: all 1s ease-in-out;
}

#factory {
	position: relative;
	z-index: 20;
}

.mo-sub6 {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	/* display: none; */
	height: 0px;
}

.mo-sub6>li>a {
	position: relative;
	line-height: 35px;
	top: -150px;
}

#factory:hover .mo-sub6 {
	height: 35px;
}

#factory:hover .mo-sub6>li>a {
	top: 0px;
	transition: all 1s ease-in-out;
}

#test {
	position: relative;
	z-index: 20;
}

.mo-sub7 {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	/* display: none; */
	height: 0px;
}

.mo-sub7>li>a {
	position: relative;
	line-height: 35px;
	top: -150px;
}

#test:hover .mo-sub7 {
	height: 35px;
}

#test:hover .mo-sub7>li>a {
	top: 0px;
	transition: all 1s ease-in-out;
}


#community {
	position: relative;
	z-index: 20;
}

.mo-sub5 {
	position: relative;
	z-index: 1;
	overflow: hidden;
	background-color: rgba(255, 255, 255, 0.5);
	/* display: none; */
	height: 0px;
}

.mo-sub5>li>a {
	position: relative;
	line-height: 35px;
	top: -150px;
}

#community:hover .mo-sub5 {
	height: 35px;
}

#community:hover .mo-sub5>li>a {
	top: 0px;
	transition: all 1s ease-in-out;
}




@media screen and (min-width: 919px) {
	.mosec {
		display: none;
	}
}

/* ***************************** 모바일 메뉴 끝 */