@charset "utf-8";

/*
	** LAYOUT CSS
*/

.container {
	max-width: 1300px;
	padding: 0 20px;
	margin: 0 auto;
}

.header {
	font-family: var(--secondary-font);
}
.header .container {
	max-width: 1740px;
}
.header-box {
	display: flex;
	align-items: center;
	height: 120px;
}
.gnb {
	flex:1 1 auto;
	height: 100%;
}
.gnb-list {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	gap:0 8%;
}
.gnb-item {
	position: relative;
	display: flex;
	height: 100%;
	align-items: center;
}
.gnb-lnk {
	font-size: var(--font-size-22);
	font-weight: 600;
}
.header-util {
	display: flex;
	align-items: center;
}
.header-util .btn {
	font-size:var(--font-size-17);
	margin-left: 30px;
	font-weight: 500;
}
.header-util .btn:first-child {
	margin-left: 0;
}
.header-util .btn i {
	font-size: var(--font-size-20);
}
.header-util .btn.menu,
.btn-menu-close {
	display: none;
}
.gnb-menu {
	position: absolute;
	left:50%;
	top:70px;
	transform:translateX(-50%);
	min-width: 150px;
	white-space: nowrap;
	opacity: 0;
	visibility: hidden;
	z-index: 10;
	transition: var(--transition);
}
.gnb-menu.active {
	opacity: 1;
	visibility: visible;
	top:90px;
}
.gnb-menu li:not(:first-child) {
	margin-top:5px;
}
.gnb-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap:0 20px;
	width: 100%;
	padding: 12px 20px;
	border-radius: 30px;
	background: #fff;
	color: #2c2c2c;
	border: 1px solid #e3e3e3;
	line-height: 1.2;
	transition: var(--transition);
}
.gnb-menu a:hover {
	width: 110%;
}
.gnb-menu a::after {
	display: block;
	content:"\f061";
	font-family: "Font Awesome 6 Pro";
	font-weight: 400;
}
@media all and (max-width: 1199px) {
	.gnb-list {
		gap:0 6%;
	}
	.gnb-lnk {
		font-size: var(--font-size-20);
	}
	.header-util .btn {
		font-size: var(--font-size-16);
		margin-left: 20px;
	}
}
@media all and (max-width: 1023px) {
	.header-box {
		justify-content: space-between;
		height: 100px;
	}
	.header-logo img {
		max-width: 156px;
	}
	.header-util .btn.search {
		display: none;
	}
	.header-util .btn.menu {
		display: block;
		font-size: var(--font-size-24);
	}
	.gnb {
		position: absolute;
		left:0;
		top:0;
		width: 100%;
		height: 100%;
		background: #f9f9f9;
		opacity: 0;
		visibility: hidden;
		z-index: 100;
		transition: var(--transition);
		display: none;
	}
	.gnb.active {
		display: block;
		opacity: 1;
		visibility: visible;
	}
	.gnb::before,
	.gnb::after {
		display: block;
		content:"";
		width: 100%;
		height: 100px;
	}
	.gnb::before {
		background: var(--primary-color);
	}
	.gnb::after {
		position: absolute;
		left:0;
		top:0;
		background: url("../img/layout/logo.png") no-repeat 20px center / 156px;
		filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(1%) hue-rotate(19deg) brightness(103%) contrast(101%);
	}
	.gnb-list {
		display: block;
		position: relative;
		padding:20px;
		height: calc(100vh - 100px);
		overflow-y: auto;
		overflow-x: hidden;
	}
	.gnb-item {
		background:#fff;
		box-shadow: 2px 2px 10px 0 rgba(0, 0, 0, 0.1);
		border-radius: 10px;
		padding:20px;
		margin-bottom: 20px;
		height: auto;
		display: block;
	}
	.gnb-lnk {
		display: block;
		font-size: var(--font-size-18);
	}
	.btn-menu-close {
		display: block;
		position: absolute;
		right: 0;
		top:0;
		width: 75px;
		height: 100px;
		font-size: var(--font-size-30);
		z-index: 1;
		color: #fff;
	}
	.gnb-menu {
		position: static;
		left: auto;
		top:auto;
		transform:none;
		min-width: auto;
		white-space: normal;
		opacity: 1 !important;
		visibility: visible !important;
		width: 100%;
		border-top:1px solid #dedee3;
		padding-top:10px;
		margin-top:10px;
	}
	.gnb-menu li:not(:first-child) {
		margin-top:10px;
	}
	.gnb-menu a {
		display: block;
		background: transparent !important;
		border-radius: 0;
		border:none;
		color: #545454;
		padding:0;
		font-weight: 400;
	}
	.gnb-menu a::after {
		display: none;
	}
}
@media all and (max-width: 767px) {
	.header-box {
		height: 80px;
	}
	.header-logo img {
		max-width: 115px;
	}
	.header-util .btn {
		margin-left: 12px;
		font-size: var(--font-size-13);
		font-weight: 400;
	}
	.gnb::before,
	.gnb::after {
		height: 80px;
	}
	.gnb::after {
		background-size: 115px;
	}
	.gnb-list {
		height: calc(100vh - 80px);
	}
	.gnb-item {
		margin-bottom: 15px;
		padding:18px 20px;
	}
	.gnb-lnk {
		font-size: var(--font-size-16);
	}
	.btn-menu-close {
		width: 70px;
		height: 80px;
	}
	.gnb-menu a {
		font-size: var(--font-size-15);
	}
}


.footer {
	background: #f6f6f6;
	padding:70px 0;
	font-family: var(--secondary-font);
}
.footer-box {
	display: flex;
	align-items: center;
	gap:0 50px;
}
.footer-info {
	flex: 1 0 auto;
	font-size: var(--font-size-18);
	line-height: 1.4;
}
.footer-info span:not(:last-child) {
	margin-right: 15px;
}
.footer-info .copyright {
	font-size: var(--font-size-14);
	color: #8f8f8f;
	margin-top:10px;
}
.footer-box .img-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap:10px 20px;
}
@media all and (max-width: 1023px) {
	.footer {
		padding:40px 0;
	}
	.footer-box {
		display: block;
	}
	.footer-box .logo img {
		max-width: 140px;
	}
	.footer-info {
		font-size: var(--font-size-16);
		margin-top:15px;
	}
	.footer-info .copyright {
		margin-top:0;
	}
	.footer-box .img-box {
		gap:10px 10px;
		justify-content: flex-start;
		margin-top: 10px;
	}
	.footer-box .img-box img {
		/*max-width: 120px;*/
		max-height: 35px;
	}
}
@media all and (max-width: 767px) {
	.footer {
		padding:30px 0;
	}
	.footer-box .logo img {
		max-width: 110px;
	}
	.footer-info {
		font-size: var(--font-size-14);
	}
	.footer-info span:not(:last-child) {
		margin-right: 10px;
	}
	.footer-box .img-box img {
		/*max-width: 100px;*/
		max-height: 27px;
	}
}


body:has(.sub-wrapper) {
	background:url("../img/layout/sub-top-bg.png") no-repeat center 50px / 100%;
}
.sub-wrapper {
	padding-bottom: 150px;
}
.sub-top {
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 280px;
	flex-direction: column;
	position: relative;
	margin-bottom: 20px;
}
.sub-top::before {
	display: block;
	content:"";
	width: 100%;
	height: 100%;
	background-image: url("../img/layout/sub-top-img01.png");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: contain;
	position: absolute;
	left:0;
	top:0;
	animation: sub-img 2.5s ease-in-out infinite alternate;
	z-index: -1;
}
.sub-top.sub-type1::before {background-image:url("../img/layout/sub-top-img01.png");}
.sub-top.sub-type2::before {background-image:url("../img/layout/sub-top-img02.png");}
.sub-top.sub-type3::before {background-image:url("../img/layout/sub-top-img03.png");}
.sub-top.sub-type4::before {background-image:url("../img/layout/sub-top-img04.png");}
.sub-top.sub-type5::before {background-image:url("../img/layout/sub-top-img05.png");}
.sub-top.sub-type6::before {background-image:url("../img/layout/sub-top-img06.png");}
@keyframes sub-img {
	0%   { transform: translateY(0px) rotate(-1deg); }
	50%  { transform: translateY(-15px) rotate(0); }
	100% { transform: translateY(0px) rotate(1deg); }
}
.sub-title {
	font-weight: 900;
	font-size: 4em;
}
.breadcrumb {
	margin-top:20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: var(--font-size-18);
}
.breadcrumb li {
	display: flex;
	align-items: center;
	gap:0 15px;
}
.breadcrumb li:not(:last-child)::after {
	display: block;
	content:"\f105";
	font-family: "Font Awesome 6 Pro";
	font-weight: 300;
	margin-right: 15px;
	color: #858585;
}
@media all and (max-width: 1023px) {
	body:has(.sub-wrapper) {
		background-position: center 75px;
	}
	.sub-wrapper {
		padding-bottom: 100px;
	}
	.sub-top {
		height: 250px;
	}
	.sub-top::before {
		background-size: 95%;
	}
	.sub-title {
		font-size: 3.2em;
	}
}
@media all and (max-width: 767px) {
	body:has(.sub-wrapper) {
		background-size:200%;
		background-position: center 0;
	}
	.sub-wrapper {
		padding-bottom: 80px;
	}
	.sub-top {
		height: 160px;
		margin-bottom: 10px;
	}
	.sub-top::before {
		background-size: 90%;
	}
	.sub-title {
		font-size: 2.2em;
	}
	.breadcrumb {
		font-size: var(--font-size-15);
		margin-top:10px;
	}
	.breadcrumb li {
		gap:0 8px;
	}
	.breadcrumb li:not(:last-child)::after {
		margin-right: 8px;
	}
}