/* 인코딩시 한글이 깨지지 않게 */
@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;700&family=Nanum+Myeongjo&display=swap');

/* font-family: 'Montserrat', sans-serif; */
  body{
    font-family: 'Nanum Myeongjo', serif;
    font-size: 14px;
    color: #333;
  }
  .wrap{
    width: 100%;
    overflow: hidden;
  }

  /* header */
  header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    background: #213135;
    color: #fff;
    padding: 40px 0 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    transition: all 0.4s;
  }
  /* z-index는 0에서 십만까지 가능한데 클수록 우선순위가 높아짐 */
  header .inner{
    width: 90%;
    margin: 0 auto;
  }
  header .inner .logo{
    display: inline-block;
    font-size: 25px;
    letter-spacing: 1px;
    transition: all 0.4s;
  }
  header .inner .gnbBtn{
    display: block;
    float: left;
    width: 32px;
    height: 12px;
    position: relative;
    margin-top: 15px;
    transition: all 0.4s;
  }
  header .inner .gnbBtn span{
    background: #fff;
    width: 100%;
    height: 3px;
    display: block;
    position: absolute;
    left: 0;
  }
  header .inner .gnbBtn span.a{
    top: 0;
  }
  header .inner .gnbBtn span.b{
    bottom: 0;
  }
  header .inner .contact{
    display: block;
    float: right;
    margin-top: 10px;
  }
  header.on{
    padding: 20px 0 18px;
    transition: all 0.4s;
  }
  header.on .logo{
    font-size: 22px;
    transition: all 0.4s;
  }
  header.on .gnbBtn,
  header.on .contact{
    margin-top: 4px;
    transition: all 0.4s;
  }

  /* gnb */
  nav.gnb{
    position: absolute;
    left: -1000px;
    top: 0;
    background: #000;
    color: #fff;
    width: 0;
    height: 100vh;
    padding: 95px 50px;
    box-sizing: border-box;
    text-align: left;
    transition: all 0.7s;
    overflow: hidden;
  }
  nav.gnb ul{
    position: absolute;
    width: 60%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    padding: 20px 0;
  }
  nav.gnb ul li a{
    text-align: left;
    line-height: 50px;
    font-size: 22px;
    letter-spacing: -0.6px;
  }
  nav.gnb ul li a span{
    text-transform: none;
    font-family: 'Nanum Myeongjo', serif;
    font-style: italic;
    font-size: 20px;
  }
/* header.on 붙을 때 gnb 디자인 */
header.on nav.gnb{
  width: 300px;
  transition: all 0.4s;
}
header.on nav.gnb ul{
  width: 50%;
}
/* header.on */
nav.gnb.on{
  width: 400px;
  left: 0;
}



/* contents */
.contents{
    background: #fff;
    position: relative;
    z-index: 1;
    margin-bottom: 200px;
}
.contents .visual{
    width: 100%;
    height: 100vh;
    position: relative;
}
.contents .visual iframe{
  /* background: rgba(0, 0, 0, 0.6); */
  filter: brightness(0.6);
}
.contents .visual .waves{
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}
/* object-fit : img나  video등의 컨텐츠 크기를 맞추는 방식
    cover : 가로 세로비를 유지하면서 요소 컨텐츠박스를 가득채움. 
            가로 세로비가 맞지 않을 경우 객체 일부가 잘려나감.
*/
.contents .visual .title{
    width: 100%;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 90px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
}
/* inner > 전체 레이아웃 넓이 공통부분 */
.inner{
    width: 1400px;
    margin: 0 auto;
}
/* text > 텍스트 공통부분 */
.text .title{
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}
.text p{
    font-size: 35px;
    line-height: 1.2;
    margin: 40px 0;
}
.text a{
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.2s;
}
.text a:hover,
.text a:focus{
    border: 1px solid transparent;
    border-bottom: 1px solid #333;
    border-radius: 0;
    padding: 5px 18px;
    transition: all 0.2s;
    /* background: #f2f0eb; */
}

section.about{
    background: #f2f0ed;
    padding: 100px 0;
}
section.about .inner .text p{
    font-size: 45px;
}


/* section.approach */
section.approach{
    padding: 100px 0;
}
section.approach .inner{
    position: relative;
}
section.approach .inner .list{
    width: 48%;
}
section.approach .inner .list li{
    margin-bottom: 30px;
}
section.approach .inner .list li:last-child{
    margin-bottom: 0;
}
section.approach .inner .list li a{
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
section.approach .inner .list li a span{
  display: none;
}
section.approach .inner .list li a img{
    width: 100%;
    border-radius: 10px;
}
section.approach .inner .fix{
    position: absolute;
    width: 45%;
    height: 100%;
    top: 0;
    right: 0;
}
/* section.approach 모션 */
section.approach .inner .fix .text{
    position: absolute;
    bottom: 10%;
}
section.approach .inner .fix .text.on{
    position: fixed;
    bottom: 50%;
    transform: translateY(50%);
}
section.approach .inner .list li a.on::after,
section.approach .inner .list li a:hover::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: rgba(41, 41, 41, 0.6);
  transition: all 0.3s;
}
section.approach .inner .list li a.on span,
section.approach .inner .list li a:hover span{
  position: absolute;
  display: block;
  z-index: 1;
  width: 100%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  font-size: 35px;
  font-style: italic;
}
section.approach .inner .list li a.on b,
section.approach .inner .list li a:hover b{
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-size: 30px;
  letter-spacing: -0.6px;
}

/* section.sectors */
section.sectors{
  background: #f2f0eb;
  padding: 100px 0 230px;
  position: relative;
  margin-bottom: 260px;
}
section.sectors .list{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  position: absolute;
  width: 1400px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -160px;
}
section.sectors .list li{
  width: 31%;
  border-radius: 15px;
  overflow: hidden;
}
section.sectors .list li a{
  position: relative;
}
section.sectors .list li a img{
  width: 430px;
  height: 300px;
  filter: brightness(60%);
  transition: all 0.4s;
}
section.sectors .list li a h3{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 25px;
  letter-spacing: 1px;
  transition: all 0.4s;
  z-index: 100;
  font-family: 'Montserrat', sans-serif;
}
/* section.sectors 모션 */
section.sectors .list li a img:hover,
section.sectors .list li a img:focus{
  filter: brightness(70%);
  transition: all 1s;
  transform: scale(1.2);
}
section.sectors .list li a:hover h3,
section.sectors .list li a:focus h3{
  letter-spacing: 3px;
  transition: all 0.6s;
}
section.sectors .list.motion li{
  animation-name: sectors;
  animation-duration: 1s;
}
section.sectors .list.motion li:nth-child(2){
  animation-duration: 1.15s;
}
section.sectors .list.motion li:nth-child(3){
  animation-duration: 1.3s;
}
@keyframes sectors{
  0% {
    opacity: 0;
    transform: translateX(1000px);
  }
  30% {
    opacity: 0;
    transform: translateX(1000px);
  }
  /* 100%{
    opacity: 1;
    transform: translateX(0);
  } */
}


/* section.service */
section.service{
  padding: 100px 0;
}
section.service .inner{
  overflow: hidden;
}
section.service .img{
  width: 48%;
  float: left;
  border-radius: 10px;
  overflow: hidden;
}
section.service .img img{
  width: 100%;
}
section.service .text{
  width: 45%;
  float: right;
}
/* section.service 모션 */
section.service .img.motion{
  animation-name: service;
  animation-duration: 1s;
}
@keyframes service{
  0% {
    opacity: 0;
    transform: translateX(-1000px);
  }
  30% {
    opacity: 0;
    transform: translateX(-1000px);
  }
  100%{
    opacity: 1;
    transform: translateX(0);
  }
}



/* section.journal */
section.journal{
  background: #f2f0ed;
  padding: 350px 0 200px;
  margin-top: -250px;
  font-family: 'Montserrat', sans-serif;
}
section.journal h2{
  font-size: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 100px;
}
section.journal .list{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
section.journal .list li{
  width: 330px;
}
section.journal .list li a{
  display: block;
}
section.journal .list li a .img{
  border-radius: 10px;
  overflow: hidden;
}
section.journal .list li a .img img{
  width: 330px;
  height: auto;
}
section.journal .list li a h3{
  font-size: 15px;
  letter-spacing: -0.6px;
  text-transform: uppercase;
  margin-top: 20px;
  margin-bottom: 30px;
}
section.journal .list li:nth-child(3) a p{
  margin-top: -10px;
}
section.journal .list li a p{
  font-size: 16px;
  line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: justify;
  letter-spacing: -0.6px;
}
/* section.journal 모션 */
section.journal .list.motion li{
  animation-name: journal;
  animation-duration: 0.5s;
}
section.journal .list.motion li:nth-child(2){
  animation-duration: 0.6s;
}
section.journal .list.motion li:nth-child(3){
  animation-duration: 0.7s;
}
section.journal .list.motion li:nth-child(4){
  animation-duration: 0.8s;
}
@keyframes journal{
  0% {
    opacity: 0;
    transform: translateY(200px);
  }
  30% {
    opacity: 0;
    transform: translateY(200px);
  }
}




/* footer */
footer{
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: #213135;
  color: #fff;
  padding: 75px 0;
  box-sizing: border-box;
  z-index: -1;
}
footer .inner{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-family: 'Montserrat', sans-serif;
}
footer .inner .footerLogo{
  font-size: 50px;
  font-weight: bold;
}
footer .inner .contact{
  width: 30%;
  line-height: 1.4;
  margin-top: 10px;
}
footer .inner .sns{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
footer .inner .sns li{
  margin: 0 40px;
  font-size: 17px;
  font-weight: bold;
}


/* 텍스트 애니메이션 */
@keyframes textAni{
  0%{
    opacity: 0;
  }
  30%{
    opacity: 0;
  }
}

/* 비쥬얼 텍스트 애니메이션 */
.visual .title.motion .char{
  animation: textAni 2s both;
  animation-delay: calc(0.08s * var(--char-index));
}

/* text 공통 텍스트 애니메이션 */
.text.motion .word{
  animation: textAni 0.8s both;
  animation-delay: calc(0.02s * var(--word-index));
}

.text.motion a{
  animation: border 1s both;
}
@keyframes border{
  0%{
    border-color: transparent;
  }
  60%{
    border-color: transparent;
  }
}









/* 반응형 웹*/
/* 1004 */
@media screen and (max-width:1400px){
  .inner,
  section.sectors .list{
    width: 90%;
  }
  section.journal .list li,
  section.journal .list li a .img img{
    width: 220px;
  }
}
/* 1024 */
@media screen and (max-width:1024px){
  .contents .visual .title{
    font-size: 66px;
  }
  section.about .inner .text p,
  .text p{
    font-size: 28px;
  }
  section.approach .inner .list{
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  section.approach .inner .list li{
    width: 48.5%;
    margin-bottom: 20px;
  }
  section.approach .inner .list li:last-child{
    margin-bottom: 20px;
  }
  section.approach .inner .fix{
    width: 100%;
    margin-bottom: 50px;
  }
  section.approach .inner .fix,
  section.approach .inner .fix .text,
  section.approach .inner .fix .text.on{
    /* 기본값 */
    position: static;
    transform: none;
  }
  section.approach .inner{
    display: flex;
    flex-wrap: wrap;
    /* 컬럼이 역으로 바뀜 */
    flex-direction: column-reverse;
  }
  section.approach .inner .list li a.on::after, 
  section.approach .inner .list li a:hover::after{
    display: none;
  }
  section.approach .inner .list li a.on span,
  section.approach .inner .list li a:hover span,
  section.approach .inner .list li a span{
    display: none;
  }
  section.approach .inner .list li a.on b,
  section.approach .inner .list li a:hover b,
  section.approach .inner .list li a span b{
    display: none;
  }
  section.sectors{
    padding: 100px 0 20%;
    margin-bottom: 15%;
  }
  section.sectors .list{
    bottom: -23%;
  }
  section.sectors .list li a img{
    width: 100%;
    height: auto;
  }
  section.journal{
    padding: 25% 0 100px;
  }
  .contents{
    margin-bottom: 330px;
  }
  footer{
    height: 330px;
    padding-top: 75px;
    padding-bottom: 0;
  }
  footer .inner{
    flex-wrap: wrap;
  }
  footer .inner .footerLogo{
    width: 100%;
    font-size: 60px;
  }
  footer .inner .contact{
    width: 100%;
    margin: 20px 0;
  }
  footer .inner .sns{
    width: 100%;
    justify-content: flex-end;
    padding-top: 35px;
  }
  footer .inner .sns li{
    margin-right: 0;
  }
}
/* 768 */
@media screen and (max-width:768px){
  section.service .inner{
    display: flex;
    flex-wrap: wrap;
    flex-direction: column-reverse;
  }
  section.service .img,
  section.service .text{
    width: 100%;
  }
  section.service .text{
    margin-bottom: 50px;
  }
  section.journal .list{
    flex-wrap: wrap;
  }
  section.journal .list li{
    width: 48.5%;
    margin-bottom: 30px;
  }
  section.journal .list li a{
    margin-bottom: 30px;
  }
  section.journal .list li a .img img{
    width: 100%;
    height: auto;
  }
}
/* 500 */
@media screen and (max-width:500px){
  header{
    padding: 20px 0 18px;
  }
  header .inner .gnbBtn, 
  header.on .inner .gnbBtn{
    width: 22px;
    margin-top: 5px;
  }
  header .inner .logo,
  header.on .inner .logo{
    font-size: 18px;
  }
  header .inner .contact{
    display: none;
  }
  nav.gnb.on,
  header.on nav.gnb{
    width: 100%;
    padding: 0;
  }
  nav.gnb ul,
  header.on nav.gnb ul{
    width: 50%;
  }
  header .inner .gnbBtn{
    z-index: 200;
  }
  .contents .visual .title{
    font-size: 40px;
  }
  section.about .inner .text p, 
  .text p{
    font-size: 23px;
  }
  section.about,
  section.approach{
    padding: 80px 0;
  }
  section.approach .inner .list li{
    width: 100%;
  }
  section.sectors{
    padding: 80px 0 85px;
  }
  section.sectors .list li a h3{
    font-size: 16px;
    text-align: center;
  }
  section.journal{
    padding: 60% 0 80px;
  }
  section.journal .list li{
    width: 100%;
  }
  section.journal .list li:nth-child(2){
    display: none;
  }
  /* 2번째 자식까지만 해당하고 그 이상은 안보이게 처리. */
  /* section.journal .list li:nth-child(2)~ * {display: none;} */
  footer{
    height: 280px;
    padding: 50px 0;
  }
  footer .inner .footerLogo{
    font-size: 43px;
  }
  footer .inner .sns{
    justify-content: flex-start;
    align-items: flex-start;
  }
  footer .inner .sns li{
    margin-left: 0;
    margin-right: 60px;
    font-size: 14px;
  }
}