/* Setting fade transition and default settings */

body {
  color: #000;
  background: #1c1d21;
  transition: background-color 1s ease;
}

/* panel styles */
section {
  width: 100%;
  min-height: 100vh;
  position: relative;
}
section .inwrap {
  height: 100%;
  width: 1400px;
}

.container {
  padding: 0;
  overflow: hidden;
}

.tit {
  position: relative;

  padding-top: 10vh;
  left: 0;
}
.tit h2 {
  font-size: clamp(3.13rem, 1.5915rem + 1.2821vw, 1.88rem);
  font-weight: 800;
  opacity: 1;
  position: relative;
  left: 0px;
}
.tit p {
  font-size: clamp(1.25rem, 0.6731rem + 2.5641vw, 3.75rem);
  color: #b0b0b0;
  opacity: 1;
  position: relative;
  transform: translateY(0);
  letter-spacing: -0.2rem;
}

.tit p span {
  color: #000;
}
/******** section 01 ********/
.sec01 {
  background: #fff;
}
.sec01 .inwrap {
}
.sec01 {
  background-color: #fff !important;
  height: 100vh;
}
.sec01_bg2 {
  width: 100vw;
  height: 50vh;
  /* background: #d3d3d3; */
  position: absolute;
  bottom: 0;
}

.year_area {
  position: absolute;
  bottom: 40%;
  left: 0;
  transform: translate(0, -50%);
  display: flex;
  align-items: center;
  z-index: 5;
  color: #fff;
}

.year_area .year_20 {
  font-size: clamp(2.5rem, 2.2554rem + 1.0872vw, 3.56rem);
  padding-top: 20px;
  line-height: 100%;
}

.year_area div p:nth-child(1) {
  font-size: clamp(1.88rem, 1.7369rem + 0.6359vw, 2.5rem);
}

.year_area .num_20 {
  font-size: clamp(9.38rem, 7.5338rem + 8.2051vw, 17.38rem);
  font-weight: 600;
  line-height: 100%;
}
.ozcns {
  position: absolute;
  bottom: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.ozcns div.split {
  font-size: clamp(7.51rem, 5.9985rem + 6.7179vw, 14.06rem);
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.5rem;
}

.oz_txt {
  padding-top: 5%;
}

.ozcns .oz_txt p {
  font-size: clamp(1.88rem, 1.4485rem + 1.9179vw, 3.75rem);
  font-weight: 600;
  color: #fff;
  opacity: 1;
  transform: translate(0, 70px);
  letter-spacing: -0.3rem;
}

.split > span {
  display: inline-block;
}

.sec01_bg2 .parllx_bg {
  background: url(../images/main/section1_bg.jpg) center bottom no-repeat;
  background-size: cover;
  background-attachment: fixed;
  width: 30%;
  height: 100%;
  opacity: 0;
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translate(-50%, 0);
}

/******** section 02 ********/
.sec02 {
  display: flex;
  flex-direction: column;
  min-height: 1200px;
  background: #fff;
}

/* .sec02::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 700px;
  background: #994343;
  z-index: 1;
} */

.sec02 > .inwrap {
  z-index: 1;
  position: relative;
}
.sec02 .sec_wrap {
  height: 50%;
  width: 100%;
  background: #1c1d21;
  bottom: 0;
  position: absolute;
}

.biz_wrap {
  display: flex;
  justify-content: space-around;
  position: relative;
  margin-top: 150px;
  width: 100%;
  /* top: -50px; */
}

.biz_wrap li {
  opacity: 0;
}

.biz_wrap li a {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  min-width: 300px;
  background: #1a2831;
  color: #fff;
  padding: 40px 30px;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 0 0 0 #fff;
}

.biz_wrap li a * {
  transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.biz_wrap li.biz01 a {
  background: url(../images/main/biz_pic01.jpg) center center no-repeat;
  background-size: 100%;
}
.biz_wrap li.biz02 a {
  background: url(../images/main/biz_pic02.jpg) center center no-repeat;
  background-size: 100%;
}
.biz_wrap li.biz03 a {
  background: url(../images/main/biz_pic03.jpg) center center no-repeat;
  background-size: 100%;
}
.biz_wrap li.biz04 a {
  background: url(../images/main/biz_pic04.jpg) center center no-repeat;
  background-size: 100%;
}

.biz_wrap li:hover a {
  background-size: 110%;
  transition: 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.biz_wrap li a::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}

.biz_wrap li a:hover {
  box-shadow: 0 0 0 2px #fff, 2px 4px 3px 0px rgba(0, 0, 0, 0.3),
    4px 12px 8px 4px rgba(0, 0, 0, 0.1), 2px 11px 16px 4px rgba(0, 0, 0, 0.18);
}

.biz_wrap li a:hover:before {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.biz_wrap li a > div {
  font-size: clamp(1.56rem, 1.4862rem + 0.3282vw, 1.88rem);
  font-weight: 700;
  z-index: 1;
  position: absolute;
  top: 40px;
}

.biz_wrap li a:hover > div {
  top: 30%;
}

.biz_wrap li a > div > span {
  display: block;
  font-size: 15px;
  font-weight: 300;
}

.biz_wrap li a p {
  font-size: 15px;
  font-weight: 300;
  z-index: 1;
  position: absolute;
  bottom: 40px;
}

.biz_wrap li a:hover p {
  bottom: 45%;
}

.biz_wrap li a div.btn_more {
  font-size: 14px;
  font-weight: 400;
  opacity: 0;
  position: absolute;
  bottom: 0;
  top: auto;
  width: 100%;
  height: 40px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.biz_wrap li a div.btn_more:after {
  content: '';
  height: 1px;
  width: 25px;
  display: flex;
  background: #fff;
}
.biz_wrap li a:hover div.btn_more {
  opacity: 1;
  transform: translateY(0);
  bottom: 40px;
}
.biz_wrap li a:hover div.btn_more:after {
  width: 50%;
  height: 1px;
  transition: ease 0.5s;
}

/******** section 03 ********/
.sec03 {
  background: #1c1d21;
  height: calc(100% + 20%) !important;
  min-height: calc(100% + 20%) !important;
}

.sec03 .tit {
  position: sticky;
}

.sec03 h2,
.sec03 .tit p span {
  color: #fff;
}
.sec03 .tit p {
  color: rgba(255, 255, 255, 0.5);
}

.sec03_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding-top: 15%;
}

.sec03_bg .bg01 {
  background: url(../images/main/work_bg01.png) 0 0 no-repeat #1c1d21;
  background-size: contain;
  height: 0;
  width: 30%;
  padding-bottom: 94%;
  background-blend-mode: overlay;
  animation: pulse infinite;
  animation-duration: 6s;
  position: absolute;
  top: 0;
}

.sec03_bg .bg02 {
  background: url(../images/main/work_bg02.png) 0 0 no-repeat #1c1d21;
  background-size: contain;
  height: 0;
  width: 30%;
  padding-bottom: 94%;
  background-blend-mode: overlay;
  animation: pulse infinite;
  animation-duration: 5s;
  position: absolute;
  top: 30%;
  left: 30%;
}

@keyframes pulse {
  from {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  50% {
    -webkit-transform: translate3d(0px, 150px, 0);
    transform: translate3d(0px, 150px, 0);
  }

  to {
    -webkit-transform: translate3d(0px, 0, 0);
    transform: translate3d(0px, 0, 0);
  }
}

.work_wrap {
  position: relative;
  padding: 100px 0 240px;
}
.work_wrap ul {
  display: flex;
  gap: 45px;
  position: relative;
  left: 30%;

  width: 70%;
  flex-wrap: wrap;
  z-index: 2;
}
.work_wrap ul li {
  width: calc(50% - 45px);
  position: relative;
}

.work_wrap ul li:nth-child(even) {
  top: 80px;
}
.work_wrap a {
  display: block;
  position: relative;
  box-shadow: 0 -1px 0 0 rgba(255, 255, 255, 0.3) inset;
}
.work_wrap a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: #fff;
  transition: ease 0.5s;
}

.work_wrap figure {
  display: flex;
  flex-direction: column;
}
.work_wrap figure div {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
}

.work_wrap figure div img {
  display: block;
  transform: scale(1);
  transition: ease-in 0.5s;
}

.work_wrap figcaption {
  margin-bottom: 20px;
}
.work_wrap figcaption strong {
  color: #fff;
  display: block;
  padding: 15px 0 5px;
}

.work_wrap figcaption em {
  display: inline-block;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  padding: 5px 10px;
  color: #fff;
}

.work_wrap a:hover:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background: #fff;
  transition: ease 0.1s;
}
.work_wrap a:hover img {
  transform: scale(1.5);
  transition: ease-in 0.5s;
  transition: ease 0.3s;
}

.work_wrap a:hover em {
  background: rgba(255, 255, 255, 1);
  color: #000;
}

/******** sec04 ********/
.sec04 {
  background: url(../images/main/client_bg.png) center center no-repeat;
  background-size: cover;
}

.sec04 .tit h2 {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 0 10px;
}

.sec04 .tit p span {
  color: #fff;
}

.client_wrap ul:first-child {
  margin-top: 10%;
}
.client_wrap .clt_bnner {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  overflow: hidden;
  flex-wrap: wrap;
  align-items: center;
}
.client_wrap .clt_bnner li {
  display: grid;
  align-items: center;
  overflow: hidden;
  height: 90px;
  background: rgba(0, 0, 0, 0);
  overflow: hidden;
  position: relative;
}
.client_wrap .clt_bnner li:hover {
  /* background: rgba(0, 0, 0, 1); */
}

.client_wrap .clt_bnner li::before {
  content: '';
  width: 0;
  height: 0;
  border-top: 1px solid transparent;
  border-right: 1px solid transparent;
  position: absolute;
  display: inline-block;
  right: 0;
  top: 0;
}
.client_wrap .clt_bnner li:hover::before {
  border-top-color: #fff;
  border-right-color: #fff;
  transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
  width: 100%;
  height: 100%;
  z-index: 1;
  right: 1px;
}

.client_wrap .clt_bnner li::after {
  content: '';
  width: 0;
  height: 0;
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
  position: absolute;
  display: inline-block;
  left: 0px;
  bottom: 0;
}
.client_wrap .clt_bnner li:hover::after {
  border-bottom-color: #fff;
  border-left-color: #fff;
  transition: width 0.15s ease-out, height 0.15s ease-out 0.15s;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.client_wrap .clt_bnner li img {
  opacity: 0.6;
}

.client_wrap .clt_bnner li:hover img {
  opacity: 1 !important;
}

/******** 반응형 ********/

@media (max-width: 1200px) {
  .year_area {
    flex-direction: column;
    transform: translate(-50%, -20%) !important;
    text-align: center;
    left: 50% !important;
  }
  .ozcns {
    flex-direction: column;
    padding: 0 1rem;
  }
  .oz_txt {
    padding-bottom: 5%;
    padding-top: 2%;
  }

  /*biz*/
  .biz_wrap {
    flex-wrap: wrap;
    gap: 3%;
  }
  .biz_wrap li {
    width: calc(50% - 3%);
    margin-bottom: 5%;
  }

  .biz_wrap li a:hover > div {
    top: 15%;
  }

  .biz_wrap li a:hover div.btn_more {
    bottom: 5%;
    top: auto;
  }
  /*work*/
  .work_wrap {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .biz_wrap {
    flex-wrap: wrap;
    gap: 50px 20px;
  }
  .biz_wrap li {
    width: 45%;
  }
  .biz_wrap li a {
    width: 100%;
    min-width: auto;
    min-height: 300px;
  }
  .biz_wrap li a:hover > div {
    top: 25%;
  }
  .biz_wrap li a:hover p {
    bottom: 35%;
  }
  .biz_wrap li a:before {
    background: rgba(0, 0, 0, 0.7);
  }

  .work_wrap {
    width: 100%;
  }

  .work_wrap ul {
    width: 100%;
    left: 0;
  }
  .work_wrap ul li {
    width: calc(50% -45px);
  }
  .work_wrap ul li:nth-child(even) {
    top: 0;
  }
}

@media (max-width: 480px) {
  .sec02 .sec_wrap {
    height: 80%;
  }
  .biz_wrap {
    margin-top: 50px;
  }
  .biz_wrap li {
    width: 100%;
    transform: translate(0px, 0px) !important;
    border: 1px solid #fff;
  }
  .work_wrap ul {
    width: 100%;
    left: 0;
  }
  .work_wrap ul li {
    width: 100%;
  }
  .work_wrap ul li:nth-child(even) {
    top: 0;
  }

  .sec04 .tit h2 {
    margin-bottom: 20px;
  }

  .client_wrap .clt_bnner li {
    width: 50%;
    height: auto;
  }
}
