/* main css*/
.title_area {
  position: relative;
  margin: 0 0 35px;
  text-align: center;
}

.title_area h2 {
  font-family: 'paybooc-ExtraBold';
  font-size: 2.625rem;
  color: #333;
  letter-spacing: -0.025em;
}

.title_area p {
  margin: 10px 0 0;
  font-size: 1rem;
  color: #666;
  letter-spacing: -0.03em;
}

/* 비주얼 */
#visual {
  position: relative;
  height:100%;
}
#visual .swiper-container{
  height: 790px;
}
#visual .swiper-slide {
  position: relative;
}

#visual .swiper-slide .inner {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#visual .swiper-slide .slide_bg {
  min-height: 100%;
  min-width: 100%;
  vertical-align: top;
  width: 100%;
}

#visual .swiper-slide .hide{
  background: url(../images/main/visual_bg.png)no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#visual .swiper-slide .txt_box {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 370px;
  right: 0;
  margin: 0 auto;
  z-index: 1;
}

#visual .swiper-slide .txt_box h2 {
  opacity: 0;
  position: relative;
  /* font-family: 'paybooc-ExtraBold'; */
  font-size: 60px;
  font-weight: 100;
  color: #fff;
  line-height: 72px;
  margin-top: 30px;
}

#visual .swiper-slide .txt_box p {
  opacity: 0;
  position: relative;
  top: 30px;
  margin: 30px 0 0;
  font-size: 20px;
  color: #fff;
  line-height: 84px;
}

#visual .swiper-slide .txt_box a {
  opacity: 0;
  position: relative;
  font-size: 18px;
  color: #fff;
  margin-top: 30px;
  transition: box-shadow .4s, color .4s;
}

#visual .swiper-slide .txt_box a:hover {
	box-shadow: inset 0 -24px 0 #5dc4e1;
	color: #fff;
}

#visual .swiper-slide .txt_box .pagination .current {
  font-size: 22px;
  color: #fff;
}

#visual .swiper-slide .txt_box .pagination .total,.swiper-slide .txt_box .pagination .bar{
  font-size: 16px;
  color: #a8acb9;
}

#visual .swiper-slide .txt_box .pagination .progress:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  content: '';
}
#visual .swiper-slide-active .txt_box h2 {
  animation-name: visualAnimation;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

#visual .swiper-slide-active .txt_box a {
  animation-name: visualAnimation;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

#visual .swiper-slide-active .txt_box p {
  animation-name: visualAnimation;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-delay: 0.5s;
  animation-fill-mode: forwards;
}

@-webkit-keyframes visualAnimation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    top: 0;
  }
}

@-moz-keyframes visualAnimation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    top: 0;
  }
}

@-o-keyframes visualAnimation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    top: 0;
  }
}

@keyframes visualAnimation {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
    top: 0;
  }
}

#visual .swiper-slide-active .pagination .progress:before {
  animation-name: paginationAni;
  animation-duration: 5s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@-webkit-keyframes paginationAni {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@-moz-keyframes paginationAni {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@-o-keyframes paginationAni {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes paginationAni {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Swiper Arrows */
.swiper-button-next,
.swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  width: 32px;
  height: 60px;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}

.swiper-button-prev {
  left: 80px;
  background-image: url(../images/main/arrow_visu_prev.png);
}

.swiper-button-next {
  right: 80px;
  background-image: url(../images/main/arrow_visu_next.png);
}

.swiper-button-prev:after, .swiper-container-rtl .swiper-button-next:after {
  display: none;
}

.swiper-button-next:after, .swiper-container-rtl .swiper-button-prev:after {
  display: none;
}

/* about */
#about {
  margin-top: 100px;
}
#about .inner{
  position: relative;
  width: 100%;
  margin: 0 auto;
}
#about .inner img{
  width: 60%;
}
#about .title_area {
  padding: 85px 36px 85px 100px;
  text-align: left;
  position: absolute;
  top: 350px;
  right: 350px;
  margin-top: -270px;
  background: #fff;
  box-shadow: 5px 3px 5px rgba(0,0,0,.12);
  width: 100%;
  max-width: 690px;
  box-sizing: border-box;
}
#about h2{
  font-size: 24px;
}
#about p{
  font-size: 16px;
  line-height: 32px;
}
#about a{
  display: block;
  text-align: center;
  background: #5dc4e1;
  color: #fff;
  width: 180px;
  padding: 22px 30px 22px 0;
  margin-top: 38px;
  position: relative;
  font-size: 16px;
  border: 1px solid #5dc4e1;
}
#about a:before{
  content: "";
  position: absolute;
  display: block;
  right: 44px;
  top:49%;
  width: 6px;
  height: 1px;
  transform: rotate(-135deg);
  background: #fff;
}
#about a span:after{
  content: "";
  position: absolute;
  display: block;
  right: 46px;
  top:52%;
  width: 15px;
  height: 1px;
  background: #fff;
}
#about a:after{
  content: "";
  position: absolute;
  display: block;
  right: 44px;
  top:55%;
  width: 6px;
  height: 1px;
  transform: rotate(135deg);
  background: #fff;
}
#about a:hover{
  background: #fff;
  color: #333;
  border: 1px solid #333;
  transition: all 0.3s ease-in-out;
}
#about a:hover:before{
  right: 30px;
  transition: all 0.3s ease-in-out;
  background: #333;
}
#about a:hover:after{
  right: 30px;
  transition: all 0.3s ease-in-out;
  background: #333;
}
#about a:hover span:after{
  right: 32px;
  transition: all 0.3s ease-in-out;
  background: #333;
}
/* portfolio */
#portfolio{
  margin-bottom: 71px;
  margin-top: 100px;
}
#portfolio h2{
  font-size: 60px;
  margin-bottom: 57px;
}
#portfolio .inner{
  width: 1200px;
  padding: 0 20px;
}
#portfolio ul{
  overflow: hidden;
}
#portfolio ul li{
  float: left;
  width: calc((100% - 40px)/3);
  height: 400px;
  margin-right: 20px;
  position: relative;
  overflow: hidden;
}
#portfolio ul li .hide{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color:#c9c9c9;
  font-size: 16px;
  transition: 0.5s ease-in-out;
  z-index: 1;
}
#portfolio ul li a:after{
  content:" ";
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: -1px;
  bottom:-1px;
  background:url(../images/main/port_bg.png) center center no-repeat;
  background-size:100% 100%;
  transition: 0.5s ease-in-out;
  transform:scale(1.5);
}
#portfolio ul li:hover a:after{
  opacity: 1;
  transform:scale(1);
}
#portfolio ul li .hide h3{
  color: #fff;
  font-size: 20px;
  margin-top:10px;
}
#portfolio ul li:hover .hide{
  display: block;
  
}
#portfolio ul li img{
  transition: 0.3s ease;
}
#portfolio ul li:hover img{
  transform: scale(1.07,1.07);
}
#portfolio ul li .hide p{
  margin-bottom: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#portfolio ul li:nth-child(3),#portfolio ul li:nth-child(6){
  margin-right: 0px;
}
#portfolio ul li:nth-child(n+4){
  margin-top: 20px;
}
#portfolio ul li img{
  width: 100%;
  height: 100%;
}
#portfolio ul li .hide .text_box{
  padding: 0 40px;
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  transform: translate3d(10px, 10px, 10px);
}


#portfolio ul{
  overflow: hidden;
}
#portfolio ul li{
  float: left;
  width: calc((100% - 40px)/3);
  margin-right: 20px;
  position: relative;
  overflow: hidden;
}
#portfolio  ul li .hide01{
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color:#c9c9c9;
  font-size: 16px;
  transition: 0.5s ease-in-out;
  z-index: 1;
}
#portfolio  ul li a:after{
  content:" ";
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: -1px;
  bottom:-1px;
  background:url(../images/main/port_bg.png) center center no-repeat;
  background-size:100% 100%;
  transition: 0.5s ease-in-out;
  transform:scale(1.5);
}
#portfolio  ul li:hover a:after{
  opacity: 1;
  transform:scale(1);
}
#portfolio  ul li .hide01 h3{
  color: #fff;
  font-size: 20px;
  margin-top:10px;
}
#portfolio  ul li:hover .hide01{
  display: block;

}
#portfolio  ul li img{
  transition: 0.3s ease;
}
#portfolio  ul li:hover img{
  transform: scale(1.07,1.07);
}
#portfolio  ul li .hide01 p{
  margin-bottom: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

#portfolio  ul li:nth-child(3),
#portfolio  ul li:nth-child(6){
  margin-right: 0px;
}
#portfolio  ul li:nth-child(n+4){
  margin-top: 20px;
}
#portfolio  ul li img{
  width: 100%;
  height: 100%;
}
#portfolio  ul li .text_box{
  padding: 0 40px;
  position: absolute;
  left: 0;
  bottom: 40px;
  width: 100%;
  transform: translate3d(10px, 10px, 10px);
  text-align:left;
}

/* banner */
#banner {
  background: #476d9e;
}
#banner .inner {
  width: 1200px;
  padding: 41px 0 27px 20px;
  background: url(../images/main/banner01.jpg)no-repeat center center;
}
#banner .inner p{
  color: #fff;
  font-size: 24px;
  line-height: 34px;
}
#banner .inner a{
  display: block;
  background: #5dc4e1;
  padding: 8px 35px;
  color: #fff;
  width: 180px;
  margin-top: 22px;
  border: 1px solid #5dc4e1;
}
#banner .inner a:hover{
  transition: all 0.3s ease-in-out;
  background: #fff;
  color: #333;
  border: 1px solid #333;
}
@media screen and (min-width:1024px) and (max-width: 1440px) {
  #visual .swiper-slide .txt_box{
    left: 100px;
  }

  /* Swiper Arrows */
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  /* about */
  .title_area h2 {
    font-size: 1.25rem;
  }

  .about_list {
    max-width: 1024px;
  }

  .about_list li a .txt strong {
    font-size: 1.3rem;
  }
  #about .inner img{
    width: 70%;
  }
  /* portfolio */
  #portfolio .inner{
    width: 100%;
  }
}

/* tablet */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  #visual .swiper-slide .txt_box{
    left: 100px;
  }
  #visual .swiper-slide .txt_box h2 {
    font-size: 2rem;
    word-break: keep-all;
  }

  #visual .swiper-slide .txt_box p {
    font-size: 1rem;
  }

  /* Swiper Arrows */
  .swiper-button-next,
  .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  /* about */
  #about .inner{
    padding: 0 20px;
  }
  #about .inner img{
    width: 100%;
  }
  #about .title_area {
    position: static;
    top: auto;
    right: auto;
    max-width: 100%;
    padding: 30px 50px;
    margin-top: 0;
    box-shadow: 0 0 black;
  }

  #about .title_area h2 {
    font-size: 1.2rem;
  }

  #about p {
    font-size: 14px;
  }
  #about a{
    padding: 18px 30px 18px 0;
    margin-top: 20px;
  }
  #portfolio .inner{
    width: 100%;
  }
  #portfolio .inner h2{
    font-size: 3rem;
  }
  #portfolio ul li {
    width: calc(50% - 10px);
  }
  
  #portfolio ul li:nth-child(n+3){
    margin-top: 20px;
    margin-right: 20px;
  }
  #portfolio ul li:nth-child(2n){
    margin-right: 0;
  }
}

@media screen and (min-width:481px) and (max-width:767px) {
  #visual .swiper-slide .txt_box {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
  }

  #visual .swiper-slide .txt_box h2 {
    font-size: 1.8rem;
    left: 50px;
    word-break: keep-all;
  }

  #visual .swiper-slide .txt_box p {
    font-size: 1rem;
    left: 50px;
    margin-top: 50px;
  }
	
  #visual .swiper-slide .txt_box a {
    font-size: 1rem;
    left: 50px;
    margin-top: 50px;
  }


  #visual .swiper-slide .txt_box strong {
    font-size: 1.8rem;
  }

  #visual .swiper-slide .txt_box .pagination {
    left: 50px;
    position: absolute;
  }
  #visual .swiper-slide .txt_box{
    right: auto;
    left: auto;
  }
  #visual .swiper-slide .txt_box h2{
    line-height: 50px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  /* 어바웃 */
  .title_area h2 {
    font-size: 1.8rem;
  }
  #about{
    margin-top: 50px;
  }
  #about .inner{
    padding: 0 20px;
  }
  #about .inner img{
    width: 100%;
  }
  #about .title_area {
    position: static;
    top: auto;
    right: auto;
    max-width: 100%;
    padding: 30px 50px;
    margin-top: 0;
    box-shadow: 0 0 black;
  }
  #about .title_area  h2{
    font-size: 1rem;
  }
  #about .title_area p{
    font-size: .8rem;
    line-height: 24px;
  }
  #about .title_area a{
    font-size: .8rem;
    line-height: 24px;
  }
  #about a {
    width: 140px;
    padding: 10px 30px 10px 0;
    margin-top: 10px;
    font-size: 12px;
  }
  #about a:before {
    top: 47%;
    right: 26px;
  }
  #about a:after {
    top: 59%;
    right: 26px;
  }
  #about a span:after{
    right: 26px;
  }
  /*portfolio*/
  #portfolio{
    margin-top: 50px;
  }
  #portfolio .inner{
    width: 100%;
  }
  #portfolio h2{
    font-size: 3rem;
    margin-bottom: 30px;
  }
  #portfolio ul li{
    width: calc((100% - 20px)/2);
    height: 260px;
  }
  #portfolio ul li:nth-child(2n){
    margin-right: 0;
  }
  #portfolio ul li:nth-child(n+3){
    margin-top: 20px;
  }
  #portfolio ul li:nth-child(3){
    margin-right: 20px;
  }
  #portfolio ul li .hide h3{
    margin: 5px 0;
    font-size: 1rem;
  }
  /*banner*/
  #banner .inner{
    width: 100%;
    padding: 10px 0 26px 20px;
  }
  #banner .inner p{
    font-size: 1rem;
  }
  
}

/* mobile */
@media screen and (max-width: 480px) {
  .tit_box:before {
    display: none;
  }
  #visual .swiper-container{
    height: 450px;
  }
  #visual .swiper-slide .txt_box h2 {
    font-size: 1.2rem;
    left: 20px;
    word-break: keep-all;
  }

  #visual .swiper-slide .txt_box p {
    font-size: .8rem;
    left: 20px;
    margin-top: 50px;
  }
  
  #visual .swiper-slide .txt_box a {
    font-size: .4rem;
    left: 20px;
    word-break: keep-all;
  }

  #visual .swiper-slide .txt_box strong {
    font-size: 1.8rem;
  }

  #visual .swiper-slide .txt_box .pagination {
    left: 20px;
    position: absolute;
  }
  #visual .swiper-slide .txt_box{
    right: auto;
    left: auto;
  }
  #visual .swiper-slide .txt_box h2{
    line-height: 50px;
  }

  #visual .swiper-button-next,
  #visual .swiper-button-prev {
    display: none;
  }

  /* 어바웃 */
  .title_area h2 {
    font-size: 1.8rem;
  }
  #about{
    margin-top: 50px;
  }
  #about .inner img{
    width: 100%;
  }
  #about .title_area {
    position: static;
    top: auto;
    right: auto;
    max-width: 100%;
    padding: 30px 25px;
    margin-top: 0;
    box-shadow: 0 0 black;
  }
  #about .title_area  h2{
    font-size: .8rem;
  }
  #about .title_area p{
    font-size: .6rem;
    line-height: 20px;
  }
  #about a {
    width: 110px;
    padding: 10px 30px 10px 0;
    margin-top: 10px;
    font-size: 10px;
  }
  #about a:before {
    top: 47%;
    right: 26px;
  }
  #about a:after {
    top: 59%;
    right: 26px;
  }
  #about a span:after{
    right: 26px;
  }
  /*portfolio*/
  #portfolio{
    margin-top: 50px;
  }
  #portfolio .inner{
    width: 100%;
  }
  
  #portfolio .inner h2{
    font-size: 2rem;
    margin-bottom: 30px;
  }
  #portfolio ul li{
    width: calc((100% - 20px)/2);
    height: 160px;
  }
  #portfolio ul li:nth-child(2n){
    margin-right: 0;
  }
  #portfolio ul li:nth-child(n+3){
    margin-top: 20px;
  }
  #portfolio ul li:nth-child(3){
    margin-right: 20px;
  }
  #portfolio ul li .hide h3{
    margin: 5px 0;
    font-size: 1rem;
  }
  #portfolio ul li .text_box{
    padding: 0 10px;
    bottom: 10px;
    font-size: 10px;
  }
  #portfolio ul li .hide01 h3{font-size: 10px;margin-top: 0;}
  /*banner*/
  #banner .inner{
    width: 100%;
    padding: 5px 0 10px 20px;
  }
  #banner .inner p{
    font-size: .6rem;
  }
  #banner .inner a{
    font-size: 10px;
    width: 90px;
    padding: 8px 10px;
    margin-top: 6px;
  }
}
