@charset "utf-8";

/* 탑 버튼 */
a.btn-top {
  /* display: none; */
	position: fixed; bottom: 0; right: -100px; z-index: 99;
	width: 62px; height: 62px;
	/* background-color: #121410;  */
  background-image: radial-gradient(60% 60% at 40% 35%, rgb(245, 59, 102) 00%,rgb(255, 171, 190) 100%);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.16);
	overflow: hidden; border-radius: 50%;
	font-size: 16px; color: #fff; font-weight: 500; 
	display: flex; align-items: center; justify-content: center;
}
a.btn-top.show {bottom: 50px; right: 1%;} 

@media(max-width: 430px) {
  /* 탑버튼 */
  a.btn-top{
    width: 100%; height: 60px;
    bottom: -60px; right: 0;
    border-radius: 0;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.2em;
    /* background-image: linear-gradient(90deg, rgb(255, 169, 189) 0%, rgb(243, 101, 134) 100%); */
    background-image: linear-gradient(90deg, #121410 0%, #121410 100%);
  }
  a.btn-top.show { bottom: 0; right: 0;}
}

.top_banner{
	width: 100%; 
	position: relative;
	/* overflow: hidden; */
	padding: var(--container-padding);
	margin: 17rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.top_banner_tit{
  position: relative;
  grid-column: 1 / span 2;
  display: flex;
  align-items: flex-end;
}
.top_banner_tit h1{
	font-size: 10rem; font-weight: 300;
  letter-spacing: 0.05em;
  margin-right: 2.5rem;
  margin-left: -0.1em;
  position: relative;
}
.top_banner_tit h1::after{
  content: attr(data-text);
  position: absolute; bottom: -47%; left: 0;
  transform: rotateX( 180deg );
  background: -webkit-linear-gradient(rgba(255, 255, 255, 0)15%, rgba(233, 17, 88, 0.15)50%, rgba(34, 0, 14, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.top_banner_tit h2{
  font-size: var(--font-size-24px);
  letter-spacing: 0.5em;
  color: var(--outline-dark);
  margin-bottom: 1.3em;
}
.top_banner_txt{
  grid-column: 1 / span 2;
  justify-self: end;
  margin-top: 10rem;
  text-transform: uppercase;
  font-size: var(--font-size-20px); font-weight: 300;
  color: var(--outline-dark);
}
.top_banner_txt h2:last-child{
  text-align: right;
}
.top_banner_img{
  position: absolute;
  bottom: -50%; right: 7%;
  z-index: -1;
  width: 35rem; height: 35rem;
  border-radius: 50%;
  opacity: 0.6;
  background-image: radial-gradient(200% 100% at 50% -40%, rgb(172, 1, 43) 1%, #E9115847 71%, #073AFF00 100%),repeating-linear-gradient(0deg, #073AFF00 94%, #E911580D 100%),radial-gradient(160% 154% at 711px -303px, #4F061C82 0%, #ffffff00 68%);
}


/* 포트폴리오 */
.portfolio_wrap{
  width: 100%;
  padding: var(--container-padding);
  display: grid;
  grid-template-columns: 15rem auto;
  margin: 15rem auto;
}
.tab-list{
  font-size: clamp( 18px, 1.55rem, 1.55rem );
  display: flex; flex-direction: column;
  color: var(--outline);
}
.tab-list li{ margin-bottom: 0.5em; }
/*  */
.tab-list li.current{
  font-weight: 700;
  color: var(--main-color);
}
.tab-list li.current::after, .tab-list li.current::before{
  content: '';
  width: 1px; height: 8rem;
  margin: 0 0.5em;
  background-color: var(--outline-dark);
  display: block;
}
.tab-list li.current::after{
  margin-top: 0.5em;  
}
.tab-list li.current::before{
  margin-bottom: 0.5em;
}
.tab-list li:last-child.current::after,.tab-list li:first-child.current::before{
  height: 0rem;
}
.tab-list li:last-child.current::before,.tab-list li:first-child.current::after{
  height: 8rem;
}
.tab-list li:nth-child(2).current::after,.tab-list li:nth-last-child(2).current::before{
  height: 7rem;
}
.tab-list li:nth-child(2).current::before,.tab-list li:nth-last-child(2).current::after{
  height: 1rem;
}
.tab-list li:nth-child(3).current::after,.tab-list li:nth-last-child(3).current::before{
  height: 5.5rem;
}
.tab-list li:nth-child(3).current::before,.tab-list li:nth-last-child(3).current::after{
  height: 2.5rem;
}
.tab-list li:nth-child(4).current::after,.tab-list li:nth-last-child(4).current::before{
  height: 4rem;
}
.tab-list li:nth-child(4).current::before,.tab-list li:nth-last-child(4).current::after{
  height: 4rem;
}

.portfolio { 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  grid-auto-rows: minmax(275px, auto);
  grid-auto-flow: dense;
}
.span-2 {
  grid-column-end: span 2;
  grid-row-end: span 2;
}
.span-3 {
  grid-column-end: span 3;
  grid-row-end: span 2;
}
.span-4 {
  grid-column-end: span 2;
  grid-row-end: span 1;
}
.portfolio .port-item { 
  position: relative;
  overflow: hidden;
  color: var(--white);
  /* filter: grayscale(100%); */
  border-radius: 0px;
  /* border: 1px solid #d8d8d8; */
}
.portfolio .port-item a { 
  width: 100%; height: 100%; 
}
.portfolio .port-item .thumb {  
  width: 100%; 
  height: 100%; 
  transition: transform 1s cubic-bezier(.19, 1, .22, 1); 
  position: relative;
}
.portfolio .port-item .thumb::after{
  content: '';
  width: 100%; height: 20%;
  background: linear-gradient(180deg, rgba(39, 41, 39, 0.2),30%, rgba(145, 152, 229, 0.0));
  mix-blend-mode: color-burn;
  position: absolute;
  top: 0; left: 0;
  display: none;
}
.portfolio .port-item .thumb div{
  height: 130%;
  width: 130%;
  position: absolute;
  top: 0%; left: -15%;
}
/*  */
.portfolio .port-item .thumb img{
  width: 100%;
  object-fit: cover;
  object-position:  center;
}
img.lazyload:not([src]){
  visibility: hidden;
}
.blur-up {
	-webkit-filter: blur(2px);
	filter: blur(2px);
	transition: filter 500ms 200ms, -webkit-filter 500ms 200ms;
}
.blur-up.lazyloaded {
	-webkit-filter: blur(0);
	filter: blur(0);
}

@media (min-width: 501px) {
  .portfolio .port-item:hover {
    -webkit-filter: none; /* Safari 6.0 - 9.0 */
    filter: none;
  }
}

.portfolio .port-item .caption-box { 
  position: absolute; bottom: 0; right: 0; 
  padding: 1.2rem 1rem; 
  width: 100%;
  text-align: right;
}
.portfolio .port-item .caption-box h2.subject { 
  font-size: clamp(22px, 2rem, 2rem);  
  font-weight: 500; line-height: 1; 
  color: #FFF;
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
}
.portfolio .port-item p.category { 
  position: absolute;
  bottom: 2.8rem; right: 0.5rem;  
  font-size: clamp(14px, 1.2rem, 1.2rem); font-weight: 400; 
  color: var(--white);
  text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
  padding: 0.5em;
  /* display: none; */
}

@media (max-width: 1024px) {
  .top_banner_txt{
    margin-top: 15rem;
  }
  .top_banner_img{
    bottom: -40%; right: 7%;
    width: 35rem; height: 35rem;
    border-radius: 50%;
  }
  .portfolio { 
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 5px;
    grid-auto-rows: minmax(200px, auto);
  }
  .portfolio .port-item .caption-box { 
    padding: 1rem 0.5rem; 
  }
  .portfolio .port-item p.category { 
    right: 0;  
  }
}
@media (max-width: 768px) {
  .portfolio_wrap{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .top_banner_txt{
    margin-top: 20rem;
    font-size: 1.55rem;
  }
  .top_banner_img{
    bottom: -30%; right: 7%;
    width: 30rem; height: 30rem;
    border-radius: 50%;
  }
  .tab-menu{
    width: 100%;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--outline-dark) ;
    z-index: 10;
  }
  .tab-list{
    padding-top: 60px;
    padding-bottom: 10px;
    font-size: clamp( 17px, var(--font-size-20px), var(--font-size-20px) );
    display: flex; flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    color: var(--black);
  }
  .tab-list li{ 
    width: 25%;
    text-align: center;
    margin: 0.25em 0; 
  }
  .tab-list li.current::after, .tab-list li.current::before{
    display: none;
  }
  .portfolio { 
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 5px;
    grid-auto-rows: minmax(180px, auto);
    margin-top: 6rem;
  }
  .portfolio .port-item .caption-box h2.subject { 
    font-size: clamp(18px, 20px, 20px);  
    font-weight: 500; line-height: 1; 
    color: #FFF;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.5);
  }
  .span-2 {
    grid-column-end: span 2;
    grid-row-end: span 2;
  }
  .span-3 {
    grid-column-end: span 2;
    grid-row-end: span 1;
  }
  .span-4 {
    grid-column-end: span 2;
    grid-row-end: span 1;
  }
}
@media (max-width: 430px) {
  .top_banner_tit{
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .top_banner_tit h1{
    font-size: 8rem; font-weight: 300;
    margin-right: 0;
  }
  .top_banner_tit h1[data-text='3D SIMULATION']{
    letter-spacing: -0.08em;
  }
  .top_banner_tit h2{
    font-size: var(--font-size-24px);
    margin-bottom: 0;
  }
  .top_banner_img{
    bottom: -25%; right: 7%;
    width: 30rem; height: 30rem;
    border-radius: 50%;
  }
  .tab-list{
    padding-top: 60px;
    font-size: clamp( 15px, var(--font-size-20px), var(--font-size-20px) );
  }
  .tab-list li{ 
    width: 25%;
    text-align: center;
    margin: 0.25em 0; 
  }
  .portfolio { 
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 5px;
    grid-auto-rows: minmax(190px, auto);
    margin-top: 6rem;
  }
  .span-2 {
    grid-column-end: span 1;
    grid-row-end: span 1;
  }
  .span-3 {
    grid-column-end: span 1;
    grid-row-end: span 1;
  }
  .span-4 {
    grid-column-end: span 1;
    grid-row-end: span 1;
  }
}




/* =========================== */
.animated {
  -webkit-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.5, 0.5, 0.5);
    transform: scale3d(0.5, 0.5, 0.5);
  }
  50% {
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(0.5, 0.5, 0.5);
    transform: scale3d(0.5, 0.5, 0.5);
  }
  50% {
    opacity: 1;
  }
  100%{
    opacity: 1;
  }
}
.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}
.easing-one { 
  -webkit-transition: all 0.3s ease-in-out; 
  -o-transition: all 0.3s ease-in-out; 
  transition: all 0.3s ease-in-out; 
}
.easing-two { 
  -webkit-transition: all 0.35s ease-in-out;
  -o-transition: all 0.35s ease-in-out; 
  transition: all 0.35s ease-in-out; 
}
.easing-three {
   -webkit-transition: all 0.4s ease-in-out; 
   -o-transition: all 0.4s ease-in-out; 
   transition: all 0.4s ease-in-out; 
}
.easing-four {
   -webkit-transition: all 0.7s ease-in-out; 
   -o-transition: all 0.7s ease-in-out; 
   transition: all 0.7s ease-in-out; 
}
.easing-load {
   -webkit-transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
   -o-transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);
   transition: all .6s cubic-bezier(0.165, 0.84, 0.44, 1);    
}
.easing-fast{
  transition: -webkit-transform .8s cubic-bezier(.19,1,.22,1),opacity .4s cubic-bezier(.19,1,.22,1); 
  transition: transform .8s cubic-bezier(.19,1,.22,1),opacity .4s cubic-bezier(.19,1,.22,1); 
  -webkit-transition: -webkit-transform .8s cubic-bezier(.19,1,.22,1),opacity .4s cubic-bezier(.19,1,.22,1); 
  -webkit-transition: transform .8s cubic-bezier(.19,1,.22,1),opacity .4s cubic-bezier(.19,1,.22,1);
}

/* transition 세팅 */
@keyframes side-on {
  0% { -webkit-transform: translateX(100%);
      transform: translateX(100%); opacity: 0; visibility: hidden; 
  }
  100% { -webkit-transform: translateX(0);
      transform: translateX(0); opacity: 1;  visibility: visible; 
  }
}

@keyframes side-off {
  0% { 
      -webkit-transform: translateX(0); 
      transform: translateX(0); opacity: 1; visibility: visible;        
  } 
100% {
       -webkit-transform: translateX(100%); 
       transform: translateX(100%); opacity: 0; visibility: hidden;        
      }
}
@keyframes up {
  0% { transform: translateY(40px); opacity: 0; visibility: hidden; } 
100% { transform: translateY(0px); opacity: 1; visibility: visible; }
}
@keyframes down {
  0% { transform: translateY(0px); opacity: 1; visibility: visible; } 
  100% { transform: translateY(40px); opacity: 0; visibility: hidden; }
}
@keyframes bar-on {
  0% { width: 0%; } 
100% { width: 100%;}
}
@keyframes bar-fade { 
0% { width: 100%; opacity: 0; visibility: hidden; } 
100% { width: 100%; opacity: 1; visibility: visible; } 
}
@keyframes bar-off {
  0% { width: 100%;} 
100% { width: 0%;}
}
@keyframes fade-in {
  0% { opacity: 0; visibility: hidden;} 
100% { opacity: 1; visibility: visible;}
}
@keyframes fade-out {
  0% { opacity: 1; visibility: visible; } 
100% { opacity: 0; visibility: hidden; }
}
