@charset "utf-8";
/* index 콘텐츠 영역 공통 */
.page {
  background: center/cover no-repeat;
}
.page h2,
.page h3 {
  line-height: 1.2;
  padding-bottom: 10px;
  font-size: 2rem;
}
.description {
  line-height: 1.2;
  font-size: 1.2rem;
}

/* section1 */
.d-none {
	display:none;
}
#section1 .slide-wrapper .slide-items {
  width: 100%;
} 
#section1 .slide-wrapper #slide-item1 {
  background: url(../images/slide1-bg.jpg) center / cover no-repeat;
  color: #fff;
  text-shadow: 1px 1px 5px #000000;
} 
#section1 .slide-wrapper #slide-item2 {
  background: url(../images/slide2-bg.jpg) 80% 0 / cover no-repeat;
}
#section1 .textBox {
  padding: 90px 20px 70px;
}
#section1 .contentBox {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  width: 100%;
}
#section1 .contentBox .contents {
  position: relative;
  height: 220px;
  background: bottom/cover no-repeat;
}
#section1 .contentBox .contents:nth-child(1) {
  background-image: url(../images/section1-con1-bg.jpg);
}
#section1 .contentBox .contents:nth-child(2) {
  background-image: url(../images/section1-con2-bg.jpg);
}
#section1 .contentBox .contents:nth-child(3) {
  background-image: url(../images/section1-con3-bg.jpg);
}

#section1 .contentBox .contents div {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #fff;
  transition: 0.3s;
}
#section1 .contentBox .contents:nth-of-type(odd) div {
  background-color: rgba(30, 81, 143, 0.7);
}
#section1 .contentBox .contents:nth-of-type(even) div {
  background-color: rgba(25, 31, 79, 0.7);
}
#section1 .contentBox .contents img {
  height: 60px;
}
#section1 .contentBox .contents h3 {
  padding: 10px 0;
  font-weight: normal;
  font-size: 1rem;
}
#section1 .contentBox .contents p {
  padding: 0 15px;
  text-align: center;
  font-weight: normal;
  font-size: 0.8rem;
}
#section1 .contentBox .contents .btn-blue {
  display: none;
}

#section1 .contentBox .contents.on div {
  background-color: rgba(51, 196, 232, 0.8);
}
#section1 .contentBox .contents.on h3 {
  font-size: 1.1rem;
}
#section1 .contentBox .contents.on p {
  display: none;
}
#section1 .contentBox .contents.on .btn-blue {
  display: block;
}

/* section2 */
#section2 {
  padding: 80px 0 50px;
  background-image: url(../images/section2-bg.jpg);
  color: #fff;
}
#section2 h2 {
  width: 8em;
  margin: 0;
  font-size: 60px;
}
#section2 h2 span {
  display: block;
  text-transform: uppercase;
  color: #28c5f6;
}
#section2 h2 span:first-child {
  letter-spacing: 0.45em;
  font-weight: 300;
  color: #0c6fbc;
}
#section2 .textBox {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  padding-bottom: 40px;
}
#section2 .contentBox {
  display: flex;
  display: -ms-flexbox;
  flex-flow: wrap;
  justify-content: space-between;
  padding-bottom: 60px;
}
#section2 .contentBox li {
  overflow: hidden;
  width: 100%;
  margin-bottom: 15px;
  height: 200px;
  background: center/cover no-repeat;
}
#section2 .contentBox li:nth-of-type(1) {
  background-image: url(../images/section2-con4-bg.jpg);
}
#section2 .contentBox li:nth-of-type(2) {
  background-image: url(../images/section2-con5-bg.jpg);
}
#section2 .contentBox li:nth-of-type(3) {
  background-image: url(../images/section2-con6-bg.jpg);
}
#section2 .contentBox li:nth-of-type(4) {
  background-image: url(../images/section2-con2-bg.jpg);
}
#section2 .contentBox li:nth-of-type(5) {
  background-image: url(../images/section2-con3-bg.jpg);
}
#section2 .contentBox li:nth-of-type(6) {
  background-image: url(../images/section2-con1-bg.jpg);
}

#section2 .card {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  margin: 160px auto 0;
  background-color: rgba(51, 196, 232, 0.8);
  text-align: center;
  color: #000;
  transition: 0.5s;
}
#section2 .contentBox li .card.on {
  justify-content: center;
  background-color: rgba(51, 196, 232, 1);
  animation: cardUp 1s ease 1 forwards;
}
@keyframes cardUp {
  100% {
    width: 100%;
    margin-top: 0;
  }
}

#section2 .card h3 {
  font-size: 0.9em;
  padding: .95em 0;
}
#section2 .card > div {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.75em;
}
#section2 .card a {
  display: inline-block;
  margin: 0.7em auto 0;
}

@media screen and (min-width: 500px) {
  /* section2 */
  #section2 .contentBox li {
    width: calc(50% - 7px);
    margin-bottom: 15px;
  }
}

/* 타블랫 이상 */
@media screen and (min-width: 750px) {
  #section1 .textBox {
	width:100%;
    padding: 100px 20px 150px;
  }
  #section1 #slide-item2 .textBox {
	padding: 100px 20px 80px;
  }
  #section1 .slide-items {
	display: flex;
	flex-flow: column;
	justify-content: flex-end;
	align-items: flex-start;
	min-height:572px;
	box-sizing: border-box;
  }
  #section1 .contentBox {
    flex-direction: row;
    justify-content: center;
    margin-top: 0;
    height: 260px;
  }
  #section1 .contentBox .contents {
    width: 426px;
    height: 260px;
  }
  #section1 .contentBox .contents img {
    height: 90px;
  }

  /* section2 */
  #section2 .contentBox li {
    width: calc(100% / 3 - 9px);
    margin-bottom: 15px;
  }
  #section2 .card h3 {
    padding: .8em 0;
  }
}

/* 데스크탑 */
@media screen and (min-width: 1080px) {
  #section1 .textBox {
    padding: 120px 20px 200px;
  }
  #section1 #slide-item2 .textBox {
	padding: 120px 20px 110px;
  }
  #section1 .slide-items {
	min-height:611px;
  }
  /* section2 */
  #section2 {
    padding: 150px 0 80px;
  }
  #section2 h2 {
    margin-right: 40px;
  }
  #section2 h2 span {
    font-size: 79px;
  }
  #section2 .textBox {
    flex-direction: row;
    align-items: center;
  }
  #section2 .textBox p {
    max-width: 900px;
  }
  #section2 .contentBox {
    padding-bottom: 80px;
  }
  #section2 .contentBox li {
    flex-basis: calc(25% - 15px);
    margin-bottom: 20px;
    height: 280px;
  }
  #section2 .contentBox li:first-child,
  #section2 .contentBox li:last-child {
    flex-basis: calc(50% - 10px);
  }
  #section2 .card {
    width: 60%;
    margin: 235px auto 0;
  }
  
  @keyframes cardUp {
    20% {
      width: 100%;
      margin-top: 235px;
    }
    100% {
      width: 100%;
      margin-top: 0;
    }
  }
}
@media screen and (min-width: 1330px) {
  #section1 .textBox {
    padding: 120px 20px 150px;
  }
  #section1 #slide-item2 .textBox {
	padding: 120px 20px 60px;
  }
  #section1 .swiper-slide {
    padding-bottom: 50px;
  }
}
