html{	font-size:10px !important;}
@media (max-width: 768px) {
	html{	font-size:9px !important;}
}
@media (max-width: 480px) {
	html{	font-size:8.5px !important;}
}

:root {
  --main-light: #9ECAD6;
  --main-dark: #748DAE;
  --sub-light: #FFEAEA;
  --sub-dark: #F5CBCB;
  --text: #333333;
  --text-sub: #748DAE;
  --border: #E0E0E0;
  --effet:all .3s ease-in-out;
}

body{
  margin: 0;
  padding: 0;
  font-family: 'Pretendard', sans-serif !important;
  color: var(--text);
  background: #fff; 
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
a{text-decoration: none;}

.container {
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 15px;
}




/* 스크린리더 전용 텍스트 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* "본문 바로가기" 스타일 */
.skip-nav a {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  z-index: 1000;
  text-decoration: none;
}
.skip-nav a:focus {
  top: 0;
}



/* 공통 초기화 */
header {
  position: fixed;
  top: 0%;
  width: 100%;
  background-color: rgba(255, 255, 255, .5);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
  z-index: 999;
}
header.header-scroll{ transform: translateY(0%);}
header .header-inner {
  position: relative;
}
header .logo{
  position: absolute;
  top: 50%; left: 2rem;
  transform: translateY(-50%);
}
header .logo img{width: 90px;}

/* 내비게이션 스타일 */
nav {
  max-width: 1200px;
  margin: 0 auto;
}

/* 메뉴 */
.gnb {
  display: flex;
  justify-content: center;
  gap: 4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gnb a {
  display: inline-block;
  position: relative;
  padding: 2rem 0;
  font-size: 2.2rem;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
}
.gnb a::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0; left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--main-dark);
  transition: width 0.3s ease;
}
.gnb a:hover,
.gnb a:focus {
  color: var(--main-dark);
}
.gnb a:hover::after,
.gnb a:focus::after {
  width: 100%;
}

/* 반응형 */
@media (max-width: 768px) {
  .gnb {
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.95rem;
  }
}


#main-content section h2{
  margin-bottom: 4rem;
  font-size: 8rem;
  font-weight: bold;
}


/* 소개 */
#intro{
  height: 100vh;
  background: #fff;
  overflow:hidden;
}
#intro .intro-mask{
	height:100%;
	-webkit-mask: url(/img/mv_logo.svg) center center / contain no-repeat;
          mask: url(/img/mv_logo.svg) center center / contain no-repeat;

  -webkit-mask-size: 40%;
          mask-size: 40%;

  -webkit-mask-position: 50% 50%;
          mask-position: 50% 50%;
	opacity: 1;
}
#intro .intro-bg{
	height:100%;
  text-align: center;
  background: url(/img/mv_bg.jpg) no-repeat center center / cover;
}
#intro .container{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height:100%;
  opacity: 0;
}
#intro .container .title{
  font-size: 10rem;
  font-weight: bold;
  white-space: nowrap;
}
#intro .container p{
  margin-top: 5rem;
  font-size: 2.5rem;
  font-weight: 500;
}



/* 어바웃 */
#about{
  z-index: 1;
  position: relative;
  background: #fff;
}
#about .inner{
  padding: 15rem 0;
  min-height: 100vh;
}
#about .contents-box{
  position: relative;
  width: 40%;
}
#about .contents-box div {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  opacity: 0; 
  visibility: hidden; 
  transition: var(--effet);
}
#about .contents-box div.active {
  position: relative;
  opacity: 1; 
  visibility: visible; 
  transition: var(--effet);
}
/* @starting-style {
  #about .contents-box div.active {opacity: 0;}
} */
#about .contents-box p{
  line-height: 2;
  font-size: 2rem;
  font-weight: 500;
}
#about .tab-box{
  position: absolute;
  top: 15rem; right: 0;
  width: 60%;
}
#about .tab-box > div{
  position: relative;
  margin-left: auto;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: var(--effet);
}
#about .tab-box > div[data-tabImg="1"]{width: 100%;}
#about .tab-box > div[data-tabImg="2"]{width: 85%;}
#about .tab-box > div[data-tabImg="3"]{width: 75%;}
#about .tab-box > div.active{width: 100%;}
#about .tab-box > div.w90{width: 85%;}
#about .tab-box > div.w80{width: 75%;}
#about .tab-box > div + div{margin-top: 2rem;}
#about .tab-box > div::after{
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  opacity: .6;
  transition: var(--effet);
}
#about .tab-box > div.active::after{opacity: 0;}
#about .tab-box img{
  width: 100%;
  height: 20rem;
  object-fit: cover;
}
#about .tab-box p{
  position: absolute;
  bottom: 2rem; left:2rem;
  color: #fff;
  font-size: 2.4rem;
  font-weight: 600;
  z-index: 1;
  transition: var(--effet);
}
#about .tab-box > div.active p{
  color: #000;
}

.spacer {
  background: transparent;
}


/* 프로젝트 */
#projects{
  position: relative;
  padding-top: 15rem;
  padding-bottom: 30rem;
  background:#1f1f1f;
  z-index: 2;
}
#projects .projects-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 5rem;
}
#projects #projects-title{
  flex-shrink: 0;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
}
#projects .category-tabs{
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
#projects .category-tabs li{
  position: relative;
  width: auto;
  padding:1.2rem 2.5rem 1.4rem;
  line-height: 1;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--main-dark);
  background: var(--sub-light);
  z-index: 1;
  cursor: pointer;
}
#projects .category-listBx {
  position: relative;
}
#projects .category-listBx .pin{
  perspective: 1000px;
  margin-bottom: 4rem;
}
#projects .category-listBx .sw-box{
  padding: 6rem 3rem;
  border-radius: 2rem;
  transform-origin: center top;
}
#projects .category-listBx .pin[data-category="0"] .sw-box{
  background: #4D5E74;
}
#projects .category-listBx .pin[data-category="1"] .sw-box{
  background: #4AA4F7;
  transform: translateY(60px);
}
#projects .category-listBx .pin[data-category="2"] .sw-box{
  background: #4156E1;
  transform: translateY(120px);
}
#projects .category-list{
  display: flex;
  gap:2rem;
}
#projects .category-list li{
  border-radius: 1rem;
  overflow: hidden;
}
#projects .category-list li .thum{
  position: relative;
  padding-top: 100%;
  border: 1px solid #ddd;
  box-shadow: 5px 1rem 1rem rgba(0, 0, 0, 0);
  box-sizing: border-box;
  transition: var(--effet);
  overflow: hidden;
}
#projects .category-list li img{
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: var(--effet);
}
#projects .category-list li h3{
  margin-top: 1.5rem;
  text-decoration: none;
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--text);
}
#projects .category-list li h3 span{color: var(--main-dark);}
#projects .category-list .btns a{
  display: block;
  width: calc(50% - .5rem);
  height: 4.5rem;
  text-align: center;
  line-height: 4.3rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--main-dark);
  box-shadow: 2px 2px 2px var(--main-dark);
  border-radius: 3rem;
  transition: var(--effet);
}
@media (min-width:1024px){
  #projects .category-tabs li::before,
  #projects .category-tabs li::after{
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background:#9fbade;
    opacity: 0;
    animation: none;
    transform: translate(-50%,-50%);
  }
  /* hover */
  #projects .category-tabs li:hover::before {
    animation: circle 1s linear infinite;
  }
  #projects .category-tabs li:hover::after {
    animation: circle2 1s linear infinite;
  }
  #projects .category-list li:hover .thum{
    box-shadow: 5px 1rem 1rem rgba(0, 0, 0, 0.05);
  }
  #projects .category-list li:hover .thum::after{opacity: 1;}
  #projects .category-list li:hover img{transform: scale(1.1);}

  #projects .category-list .btns a:hover{background: var(--main-dark); color: #fff;}

  @keyframes circle {
    0% {
      width: 0;
      height: 0;
      opacity: 0;
    }

    40% {
      width: 2.5rem;
      height: 2.5rem;
      opacity: 0.5;
    }

    70% {
      width: 4rem;
      height: 4rem;
      opacity: 1;
    }

    100% {
      width: 5rem;
      height: 5rem;
      opacity: 0;
    }
  }

  @keyframes circle2 {
    0% {
      width: 0;
      height: 0;
      opacity: 0;
    }

    40% {
      width: 5rem;
      height: 5rem;
      opacity: 0.3;
    }

    70% {
      width: 7rem;
      height: 7rem;
      opacity: 0.5;
    }

    100% {
      width: 9rem;
      height: 9rem;
      opacity: 0;
    }
  }
}
@media (max-width:768px) {

}
@media (max-width:576px) {
  #projects .category-list {gap: 2rem;}
  #projects .category-list li{width: 100%;}
}



#footer{
  background:#fff;
	overflow: hidden;
}
#footer .contact-section{
	position:relative;
	height:100vh;
}
#footer .contact-section .text{
	position:absolute;
	top:50%; left:0;
	width:100%;
	text-align:center;
	font-size:24rem;
	font-weight:700;
	color:var(--text);
	transform:translateY(-50%);
}
#footer .contact-section .text p{
	position:absolute;
	top:50%; left:0;
	width:100%;
	transform:translateY(-50%);
}
#footer .contact-section .text p:nth-child(1){
	clip-path: inset(0 0 calc(50% - 1px) 0);
}
#footer .contact-section .text p:nth-child(2){
	clip-path: inset(calc(50% - 1px) 0 0 0);
}
#footer .contact-section .bg-box{
	position:absolute;
	left:0; top:50%;
	width:100%; height:0;
	background:var(--text);
	transform:translateY(-50%);
	z-index:1;
}
#footer .info-box{
  display: flex;
  align-items: center;
  justify-content: center;
	position:absolute;
	left:0; top:0;
	width:100%; height: 100%;
  text-align: center;
	z-index:3;
}
#footer .info-box > div p:nth-child(1){
  line-height: 1.6;
  font-size: 4rem;
  font-weight: bold;
  color: #fff;
}
#footer .info-box > div p:nth-child(2){
  font-size: 3rem;
}
#footer .info-box > div p:nth-child(3){font-size: 2rem;}
@media (max-width:1199.98px) {
	#footer .contact-section .text{font-size: 20rem;}
}
@media (max-width:991.98px) {
	#footer .info-box .inq_section {height: 60rem;}
	#footer .contact-section .text{font-size: 16rem;}
	#footer .info-box .cate{
    width: 22rem;
    height: 6.5rem;
    font-size: 3rem;
	}
}
@media (max-width:767.98px) {
	#footer .contact-section .text{font-size: 12rem;}
	#footer .info-box{padding-bottom: 8rem;}
	#footer .footer_info{
		display: block;
		text-align: center;
	}
	#footer .footer_info .info{margin-top: 1rem;}
}
@media (max-width:575.98px) {
	#footer .info-box .inq_section {height: 50rem;}
	#footer .contact-section .text{font-size: 8rem;}
	#footer .info-box {padding-bottom: 6rem;}
}
