@charset "utf-8";

#inc01 {
  position: relative;
}
#inc01 .tit {
  padding: 150px 0 120px;
  font-size: 17px;
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}
#inc01 .tit span {
  font-size: 16px;
  font-weight: 700;
  color: var(--main-blue);
  font-family: 'Play';
}
#inc01 .tit p {
  margin: 15px 0 18px;
  font-size: 42px;
  letter-spacing: -0.5px;
  color: #222;
  word-break: keep-all;
  font-family: 'LotteMartDreamBold';
}
/* 배경이미지 */
#inc01 .bg {
  overflow: hidden;
  position: absolute;
  bottom: 0;
  z-index: -1;
  transform: scale(0.85);
  width: 100%;
  height: 750px;
}
#inc01 .bg:before {
  display: block;
  content: '';
  position: absolute;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}
#inc01 .bg img {
  position: relative;
  top: -200px;
  transition: all 0.8s;
}
#inc01 .bg.aos-animate {
  transform: scale(1);
}
/* 링크 */
#inc01 ul {
  display: flex;
  position: relative;
  transform: scale(0.85);
  height: 750px;
}
#inc01 ul.aos-animate {
  transform: scale(1);
}
#inc01 ul li {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 25%;
  color: #fff;
  text-align: center;
}
#inc01 ul li:before {
  opacity: 0;
  display: block;
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#inc01 ul li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}
#inc01 ul li .txt {
  display: flex;
  flex-flow: column;
  height: 100%;
  justify-content: center;
  position: relative;
}
#inc01 ul li .txt span {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Play';
}
#inc01 ul li .txt p {
  margin-top: 25px;
  font-size: 36px;
  line-height: 1.4;
  white-space: pre-line;
  word-break: keep-all;
  font-family: 'LotteMartDreamBold';
}
#inc01 ul li .txt div {
  opacity: 0;
  margin-bottom: 50px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  white-space: pre-line;
  transition: all 0.4s;
}
#inc01 ul li .txt a {
  opacity: 0;
  display: flex;
  position: absolute;
  left: 50%;
  bottom: 150px;
  transform: translateX(-50%);
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#inc01 ul li .txt a svg {
  margin: auto;
  color: #fff;
}

@media (hover: hover) {
  #inc01 ul li:hover:before {
    opacity: 1;
  }
  #inc01 ul li:hover .txt div {
    opacity: 1;
    margin: 35px 0 150px;
  }
  #inc01 ul li:hover .txt a {
    opacity: 1;
    bottom: 200px;
  }
  #inc01 ul li:hover .txt a:hover {
    border-color: var(--primary);
    background: var(--primary);
  }
}
@media (max-width: 1320px) {
  #inc01 ul li .txt p {
    font-size: 32px;
  }
}
@media (max-width: 1024px) {
  #inc01 .tit {
    padding: 80px 0 50px;
    font-size: 15px;
  }
  #inc01 .tit p {
    font-size: 32px;
  }
  #inc01 .bg {
    height: 450px;
  }
  #inc01 ul {
    height: 450px;
  }
  #inc01 ul li .txt p {
    padding: 0 15px;
    white-space: normal;
    font-size: 24px;
  }
  #inc01 ul li .txt div {
    opacity: 1;
    margin: 15px 0 30px;
    font-size: 14px;
  }
  #inc01 ul li .txt a {
    opacity: 1;
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: 45px;
    height: 45px;
    margin: 0 auto;
    border-radius: 8px;
  }
  #inc01 ul li .txt a svg {
    width: 18px;
    height: 18px;
  }
}
@media (max-width: 768px) {
  #inc01 .tit {
    padding: 50px 15px 30px;
    font-size: 14px;
  }
  #inc01 .tit span {
    font-size: 13px;
  }

  #inc01 .tit p {
    font-size: 24px;
    line-height: 1.35;
  }
  #inc01 .bg {
    height: 550px;
  }
  #inc01 ul {
    flex-wrap: wrap;
    height: 550px;
  }
  #inc01 ul li {
    width: 50%;
    transition-delay: 0s !important;
  }
  #inc01 ul li:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  #inc01 ul li .txt span {
    font-size: 13px;
  }
  #inc01 ul li .txt p {
    margin-top: 10px;
    font-size: 16px;
  }
  #inc01 ul li .txt div {
    margin-bottom: 20px;
    font-size: 13px;
  }
}
@media (max-width: 380px) {
  #inc01 ul {
    height: auto;
    background: url(./bg.webp) center no-repeat;
    background-size: cover;
  }
  #inc01 ul li {
    width: 100%;
    padding: 25px 15px;
    background: rgba(0, 0, 0, 0.5);
  }
  #inc01 ul li + li {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }
  #inc01 ul li .txt a {
    width: 40px;
    height: 40px;
  }
}
