@charset "utf-8";

/* ==================================================
	공통 틀 CSS
================================================== */
.m_content {
	position: relative;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	padding: 90px 0;
}

/* ==================================================
	공통 사항
================================================== */
/* 타이틀 */
.mtitcon {
	text-align: center;
}

.mtit {
	display: inline-block;
	position: relative;
	font-size: 6rem;
	font-family: 'Maven Pro';
	font-style: normal;
	font-weight: 700;
	color: #000;
	text-align: center;
	padding-right: 60px;
	line-height: 1;
}

.mtit:before {
	content: "";
	background: url('../images/icon/stit_ic.png');
	background-repeat: no-repeat;
	width: 49px;
	height: 29px;
	position: absolute;
	bottom: 12px;
	right: 0;
}

.mtitcon>p {
	margin-top: 25px;
	font-size: 2.4rem;
	font-weight: 400;
	color: #333;
}

/* 버튼 */
a.mbtn {
	position: relative;
	display: inline-block;
	font-size: 1.7rem;
	vertical-align: middle;
	transition: all .25s ease;
	line-height: 1;
	color: #fff;
	background: #c30d23;
	border-radius: 50px;
	font-family: 'Maven Pro';
	font-style: normal;
	font-weight: 600;
}

a.mbtn:hover,
a.mbtn:focus {
	background: #a80115;
	color: #fff;
}

a.mbtn span {
	display: block;
	padding: 18px 75px 18px 45px;
	line-height: 1;
}

a.mbtn .mbtn_icon {
	position: absolute;
	right: 25px;
	top: 50%;
	padding: 0;
	-webkit-transition: right .25s ease;
	transition: right .25s ease-out
}

a.mbtn:hover .mbtn_icon {
	right: 20px;
}

.mbtn_link {
	width: 31px;
	height: 11px;
	margin-top: -7px;
	background: url('../images/icon/arrow.png') no-repeat 0 0;
}

/* 모바일CSS */
@media screen and (max-width:1400px) {

	/* 타이틀 */
	.mtit {
		font-size: 5rem;
	}

	.mtitcon>p {
		margin-top: 22px;
		font-size: 2.2rem;
	}
}

@media screen and (max-width:1200px) {

	/* 버튼 */
	a.mbtn {
		font-size: 1.6rem;
	}

	a.mbtn span {
		display: block;
		padding: 15px 65px 15px 35px;
		line-height: 1;
	}

	a.mbtn .mbtn_icon {
		right: 23px;
	}

	a.mbtn:hover .mbtn_icon {
		right: 18px;
	}
}

@media screen and (max-width: 1023px) {

	/* 타이틀 */
	.mtit {
		font-size: 4rem;
		padding-right: 50px;
	}

	.mtit:before {
		width: 39px;
		height: 23px;
		background-size: 39px 23px;
		bottom: 10px;
	}

	.mtitcon>p {
		margin-top: 20px;
		font-size: 2rem;
	}
}

@media screen and (max-width: 640px) {

	/* 타이틀 */
	.mtit {
		font-size: 3.2rem;
		padding-right: 40px;
	}

	.mtit:before {
		width: 32px;
		height: 19px;
		background-size: 32px 19px;
		bottom: 6px;
	}


	.mtitcon>p {
		font-size: 1.7rem;
	}
}

/* ==================================================
	스크롭 탑 / 다운
================================================== */
.scroll_btn {
	position: fixed;
	bottom: 70px;
	right: 35px;
	width: 17px;
	height: 84px;
	background: url('../images/gnb/scroll_btn.png')no-repeat center;
	transition: 0.3s;
	z-index: 15;
}

.scroll_btn.top_btn:hover {
	transform: translateY(-15px);
	transition: 0.4s;
}

.scroll_btn.down_btn:hover {
	transform: translateY(15px);
	transition: 0.4s;
}

.theme_white .scroll_btn {
	background: url('../images/gnb/scroll_btn_w.png')no-repeat center;
}

/* 모바일CSS */
@media screen and (max-width:1600px) {
	.scroll_btn {
		display: none !important;
	}
}

@media screen and (max-width:1280px) {
	.page_top {
		position: relative;
		z-index: 100;
		text-align: center;
	}

	.page_top #top_btn {
		border: 0;
		position: fixed;
		display: block;
		bottom: 60px;
		right: 3%;
		width: 60px;
		height: 60px;
		color: #1e1e1e;
		font-size: 14px;
		font-weight: 600;
		background: #c3c3c3;
		border-radius: 50%;
		text-align: center;
		line-height: 72px;
	}

	.page_top #top_btn:before {
		position: absolute;
		top: 17px;
		left: 26px;
		display: block;
		content: "";
		width: 2px;
		height: 8px;
		background: #1e1e1e;
		transform: rotate(45deg);
	}

	.page_top #top_btn:after {
		position: absolute;
		top: 17px;
		right: 27px;
		display: block;
		content: "";
		width: 2px;
		height: 8px;
		background: #1e1e1e;
		transform: rotate(-45deg);
	}
}

@media screen and (max-width:767px) {
	.page_top #top_btn {
		bottom: 95px;
		width: 45px;
		height: 45px;
		font-size: 12px;
		line-height: 58px;
	}

	.page_top #top_btn:before {
		top: 11px;
		left: 20px;
		width: 2px;
		height: 7px;
	}

	.page_top #top_btn:after {
		top: 11px;
		right: 19px;
		width: 2px;
		height: 7px;
	}
}


/* ==================================================
	section1 - 메인비주얼
================================================== */
 #section1{
	position: relative;
	height: calc(95rem);
} 
/* 모바일CSS */
 @media screen and (min-width: 1920px) {
	#section1 {
		height: 90rem;
	}
}
@media screen and (max-width: 1100px) {
	#section1{
		height: 80rem;
	}
}
@media screen and (max-width: 800px) {
	#section1{
		height: 60rem;
	}
} 
/* ==================================================
	section1 - 메인비주얼 영상
================================================== */
.m_visual{
	position: relative;
	width: 100%;
	height: calc(85rem);
}
.mv_box{
    overflow: hidden;
    height: 100%;
    position: relative;
}
.m_visual .mv_box video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 105%;
    min-height: 105%;
    transform: translate(-50%, -50%);
}
.mv_txt{
	position: absolute;
	width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white; /* 글자가 잘 보이도록 */
    z-index: 1; /* 필요 시 영상 위로 */
}
.mv_txt p{
	font-size: var(--rem-70);
	font-weight: var(--font-bd);
	text-transform: capitalize;
	line-height: 1.3;
	text-shadow: 1px 2px 2px rgba(0,0,0,0.6);
	opacity: 0; /* 초기 상태 숨김 */
    animation: fadeInLeft 0.8s ease-out forwards;
}
.mv_txt p:nth-child(1) {
    animation-delay: 0.2s;
}
.mv_txt p:nth-child(2) {
    animation-delay: 0.7s;
}
@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px); /* 왼쪽에서 시작 */
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* 모바일 */
@media screen and (min-width: 1920px) {
	.m_visual {
		height: 90rem;
	}
}
@media screen and (max-width: 1100px) {
	.m_visual{
		height: 80rem;
	}
	.mv_txt p{
		font-size: var(--rem-50);
		line-height: 1.3;
	}
}
@media screen and (max-width: 800px) {
	.m_visual{
		height: 60rem;
	}
}
@media screen and (max-width: 500px) {
	.mv_txt p{
		font-size: var(--rem-40);
		line-height: 1.2;
	}
}




/* 전체 배경 래퍼 */
.background-wrap {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px; /* 너비는 디자인에 맞게 조정 */
    height: 100%;
    pointer-events: none; /* 클릭 이벤트 무시 */
    z-index: -1; /* 배경 뒤로 보내기 */
}

/* 노란색 배경 모양 */
.background-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, #f7c948 20%, transparent 21%) no-repeat,
                radial-gradient(circle at bottom right, #f7c948 20%, transparent 21%) no-repeat,
                #ffffff; /* 배경색 */
    background-size: 80px 80px, 80px 80px;
}



/* ==================================================
	사업소개
================================================== */
#mnbiz {
	overflow: hidden;
	width: 100%;
	background: url(../images/main/bg_biz.jpg) no-repeat;
	background-position: 56% top;
	padding: 12rem 0 0 0;
	
}

.mnbiz_bg01 {
	margin: 0 auto;
	max-width: 1320px;	
	display: flex;
}
.mnbiz_cont{
	padding: 7rem 0 5rem 0;
	position: relative;
	max-width: 1320px;
	margin: 0 auto;
}
.mnbiz_cont::before {
	position: absolute;
    top: 52%;
    left: -4%;
    content: "";
    width: 204%;
    height: 260px;
    background-color: var(--brand-color-dmain);
    z-index: 1;
    border-radius: 15rem 0 0 15rem;
}
.mnbiz_cont ul{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	justify-content: center;
	position: relative;
	z-index: 2;
}
.mnbiz_cont ul li{
	text-align: center;
	
}
.mnbiz_cont ul li h3{
	padding-bottom: 2rem;
	font-size: var(--rem-30);
	text-align: center;
}
.mnbiz_cont ul li img{
	border-radius: 50%;
	border: solid 3px var(--color-white);
	transition: transform 0.3s;
	width: 100%;
    max-width: 366px;
}
.mnbiz_cont ul li img:hover {
    transform: scale(1.05);
}


.mnbizTit{
	padding-left: 2rem;
	line-height: 1.3;
}
.mnbizTit p:nth-child(1), .mproTit p:nth-child(1){
	font-size: var(--rem-20);
	color: var(--brand-color-main);
	font-weight: var(--font-sb);
}
.mnbizTit p:nth-child(2), .mproTit p:nth-child(2){
	font-size: var(--rem-55);
	font-weight: var(--font-bd);
	text-transform: uppercase;
}
.mnbizTit p:nth-child(3), .mproTit p:nth-child(3){
	font-size: var(--rem-17);
}
.mnbizBox{
	position: relative;
}
.mnbizBox::before{
	position: absolute;
    top: 0;
    left: -44%;
    content: "";
    width: 184%;
    height: 260px;
    background: #8EA9D9;
    z-index: -1;
}


.mbiz_smenu{
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
	margin-top: 2rem;
}
.mbiz_smenu li{
	background-color: #EBEEF3;
	border-radius: 20px;
	padding: 1rem 2rem;
	font-size: 1.6rem;
	text-align: center;
}
.mbiz_movie {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
	padding-top: 3rem;
}


/*모바일*/
@media screen and (max-width: 500px) {
	.mnbiz_cont {
		padding: 7rem 0 0 0;
	}
	.mnbiz_bg01{
		display: block;
	}
	.mnbizTit{
		text-align: center;
	}
	.mnbiz_cont::before {
		background-color: var(--color-white);
	}
	.mnbiz_cont ul {
		grid-template-columns: repeat(1, 3fr);
	}
	.mnbiz_cont ul li{
		padding-bottom: 6rem;
	}
	.mnbiz_cont ul li img{
		width: 70%;
	}
	.mproTit p:nth-child(2){
		line-height: 1;
		padding: 1.5rem 0;
	}
	
}





/* ==================================================
	product  production
================================================== */
#mproduct {
	overflow: hidden;
	width: 100%;
}
.mpro_sbg{
	margin: 0 auto;
	width: 29px;
	background: url(../images/main/bg02.png) 50% center no-repeat;
	height: 79px;
}
.mproduct_bg {
	position: relative;
	max-width: 1320px;
	margin: 0 auto;
}
.mproTit{
	padding-top: 4rem;
	text-align: center;
	line-height: 1.4;
}
.mproduct_bg::before{
	position: absolute;
    top: 40%;
    right: -4%;
    content: "";
    width: 204%;
    height: 300px;
    background-color: var(--color-gray1);
    z-index: -1;
    border-radius: 0 15rem 15rem 0;
}
.mpro_cont ul{	
    margin: 0 auto;
    padding: 5rem 0;
	max-width: 1100px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
    gap: 4rem;    
    border-bottom: solid 1px #D2D1D1;
}
.mpro_cont ul li{
	position: relative;
}
.mpro_cont ul li .mpro_imgBox{
	position: relative;
}
.mpro_cont ul li .mpro_imgBox img{
	width: 100%;
    max-width: 340px;
	border-radius: 2rem;
}
.mpro_cont ul li .mpro_titBox{
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 이미지 기준 가운데 정렬 */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    font-size: var(--rem-36);
    color: var(--color-white);
    font-weight: var(--font-sb);
    border: solid 1px var(--color-white);
    border-radius: 2rem;
    width: 92%;
    height: 93%;
    padding: 3rem 1rem; /* 안쪽 여백으로 크기 조절 */
    text-align: center;
    box-sizing: border-box;
}
.mpro_titBox::after {
    content: "";
    position: relative; /* absolute → relative로 바꾸는 게 핵심 */
    width: 44px;
    height: 22px;
    background: url(../images/common/arrow01.png) center center no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
	transform: translateX(0);
}

/* 마우스 오버 상태 */
.mpro_cont ul li:hover .mpro_titBox::after {
     transform: translateX(10px);
}

/*모바일*/
@media screen and (max-width: 800px){
	.mpro_cont{
		padding: 0 2rem;
	}
}


@media screen and (max-width: 500px) {
	.mproduct_bg::before{
		background-color:var(--color-white);
	}
	.mproTit {
		line-height: 1.2;
	}
	.mpro_cont ul{
		gap: 1rem;
	}
	.mpro_cont ul li .mpro_titBox {
		font-size: var(--rem-28);
	}
	.mpro_titBox::after{
		width: 34px;
		height: 12px;
	}
}



/* ==================================================
	하단 quick
================================================== */
#mquick {
	overflow: hidden;
	width: 100%;
}
.mquick_cont {
	position: relative;
	margin: 0 auto;
	max-width: 1320px;	
}
.mquick_cont::before{
	position: absolute;
    top: 40%;
	left: -48%;
    content: "";
    width: 204%;
    height: 100%;
    background: url(../images/main/bg03.jpg) no-repeat;
    background-repeat: no-repeat;
	background-size: cover;
    z-index: -1;
}
.mq_bg{
	margin: 0 auto;
	width: 29px;
    background: url(../images/main/bg02.png) 50% center no-repeat;
    height: 79px;
}
.mq_tit{
	padding-top: 5rem;
	text-align: center;
}
.mq_tit h3{
	font-size: var(--rem-90);
	font-weight: var(--font-eb);
	color: var(--color-gray2);
}
.mq_tit  p{
	padding-top: 1rem;
}
.mq_cont{
	padding-top: 6rem;
}
.mq_cont ul{
	padding: 7rem 0 6rem 0;
	display: flex;
	gap: 3rem;
}
.mq_cont ul li img{
	width: 100%;
	border-radius: 1rem;
	transition: transform 0.3s ease;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mq_cont ul li  p{
	padding-top: 2rem;
	font-size: var(--rem-28);
	font-weight: var(--font-sb);
	text-align: center;
}
.mq_cont ul li a {
	display: block;
	overflow: hidden;
	border-radius: 1rem; /* 이미지와 동일하게 둥글게 */
}
.mq_cont ul li:hover img {
	transform: scale(1.05); /* 마우스 오버 시 확대 */
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/*모바일*/
@media screen and (max-width: 500px) {
	.mquick_cont::before{
		top: 30%;
	}
	.mq_cont ul{
		padding: 9rem 0 6rem;
		display: block;
	}
	.mq_cont ul li{
		text-align: center;
	}
	.mq_cont ul li:nth-child(2){
		padding-top: 5rem;
	}
	.mq_cont ul li img {
		width: 95%;
	}
}

/* ==================================================
	하단 공지&자료실
================================================== */
#mpost {
	overflow: hidden;
	width: 100%;
}
.mNotice{	
	margin: 0 auto;
	padding: 5rem 0;
	max-width: 1320px;	
}
.mNotice ul{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem;
}
.mNotice ul li img{
	width: 100%;
	border-radius: 1rem;
}
.mNotice ul li{
	position: relative;
}
.mNotice_imgBox{
	position: relative;
}
.mNotice_titBox{
	padding-left: 3rem;
	position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
	color: var(--color-white);
	font-size: var(--rem-24);
	font-weight: var(--font-sb);
}
.mNotice_titBox::after{
	content: "";
    position: absolute;
    top: 50%;
    right: 3%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 22px;
    background: url(../images/common/arrow01.png) 50% 50% no-repeat;
    transition: transform 0.3s ease;
}
/* 마우스 오버 상태 */
.mNotice ul li:hover .mNotice_titBox::after {
    transform: translate(-50%, -50%) translateX(10px); 
}

/*모바일*/
@media screen and (max-width: 1400px) {
	#mComm{
		padding-left: 5rem;
		padding-right: 5rem;
	}
}
@media screen and (max-width: 1024px) {
	.mgallery {
		display: block;
	}
	.mgall_tit {
		padding: 0 3rem 2rem 0;
		width: 100%;
		display: flex	;
		align-items: center;
		justify-content: space-between;
	}
	.mgall_tit h4 {
		padding-bottom: 0
	}	
	.mgall_tit a::after{
		top: 1px;
	}
}
@media screen and (max-width: 800px) {
	#mComm{
		padding-left: 2rem;
		padding-right: 2rem;
	}
	.mComm_cont {
		padding-top: 0rem;
	}
	.mComm_tit {
		padding-bottom: 2rem
	}
	.mboard> ul{
		grid-template-columns: repeat(1, 2fr);
		gap:3rem
	}
	.mgall_cont ul{
		grid-template-columns: repeat(2, 2fr);
	}
	.mNotice {
		padding: 5rem 2rem;
	}
	.mNotice ul{
		display: block;
	}
	.mNotice ul li {
		margin-bottom: 2rem;
	}
}