/* PC 스타일 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
.Inner {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  position: fixed;
  width: 100%;
  top: 0px;
  left: 0px;
  padding: 30px 0;
  z-index: 99;
  background: transparent;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

header.on {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
header .Inner {
  display: flex;
  justify-content: space-between;
}
header .Logo {
  font-size: 25px;
  font-weight: bold;
}
header nav {
  flex: 1;
}
header ul {
  flex: 1;
  display: flex;
  justify-content: space-evenly;
}
header ul li {
  width: 100%;
}
header ul li a {
  font-weight: bold;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  transition: color 0.3s;
}

header ul li a:hover {
  color: #7292d2;
  transition: 0.3s;
}

main .section2 .Inner,
main .section3 .Inner,
main .section4 .Inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main .section1 {
  width: 100%;
  height: 100vh;
  background:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url("../images/secBg.jpg") 0 90% repeat-x;
}
main .section1 .Inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .section1 .slogan p {
  font-size: clamp(50px, 6vw, 70px);
  font-weight: bold;
  line-height: 1.1;
}
main .section2 {
  width: 100%;
  min-height: 100vh;
  padding: 100px 0 0;

  /*background:
    linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)),
    url("../images/sec2Bg.jpg") right 0 no-repeat;*/
}

main h2 {
  font-size: 30px;
  font-weight: bold;
  padding-bottom: 20px;
}

main .section2 .careerBoxWrap {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}

main .section2 .careerBox {
  padding-bottom: 40px;
}

main .section2 .careerBox > div,
main .section2 .careerBox > p {
  padding-bottom: 20px;
}

main .section2 .careerBox h3 {
  padding-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}

main .section2 .careerBox h4 {
  font-weight: bold;
  padding-bottom: 5px;
}

main .section2 .careerBox .careerDate {
  font-size: 18px;
}

main .section3 {
  width: 100%;
  height: 100vh;
}

main .section3 button.moreBtn {
  display: block;
  font-weight: bold;
  color: #fff;
  background: #868e96;
  padding: 8px 15px;
  border-radius: 20px;
  margin: 20px auto;
}

main .section3 .workList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

main .section3 .workList article {
  padding: 15px;
  border: 1px solid #062a4f;
  border-radius: 15px;
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}

main .section3 .workList.on article {
  opacity: 1;
  transform: translateY(0);
}

main .section3 .workList.on article:nth-child(2) {
  transition-delay: 0.15s;
}

main .section3 .workList.on article:nth-child(3) {
  transition-delay: 0.3s;
}
main .section3 .workList.on article:nth-child(4) {
  transition-delay: 0.45s;
}

main .section3 .workList.on article:nth-child(5) {
  transition-delay: 0.6s;
}

main .section3 .workList.on article:nth-child(6) {
  transition-delay: 0.75s;
}

main .section3 .workList article h3 {
  font-weight: 600;
  text-align: Center;
  margin-bottom: 10px;
}

main .section3 .workList article a {
  display: block;
  padding: 10px;
  margin-top: 10px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #aeaeae;
  transition:
    color 0.3s,
    background 0.3s;
}

main .section3 .workList article a:hover {
  color: #fff;
  background: #aeaeae;
  transition:
    color 0.3s,
    background 0.3s;
}

main .section4 {
  width: 100%;
  height: 100vh;
}

main .section4 h3 {
  font-size: 35px;
  margin-bottom: 20px;
}

main .section4 p {
  font-size: 18px;
  padding: 0 0 10px 0;
}

main .section4 p b {
  font-weight: bold;
}

/* ==========================
   Responsive
========================== */

@media (max-width: 1200px) {
  .Inner {
    padding: 0 5%;
    max-width: 1024px;
  }

  main .section2,
  main .section3,
  main .section4 {
    padding: 50px 0 0 0;
    height: auto;
  }
  main .section2 .Inner,
  main .section3 .Inner,
  main .section4 .Inner {
    display: block;
    height: 100%;
  }
}

@media (max-width: 768px) {
  header {
    background: #fff;
  }
  h1.Logo {
    font-size: 18px;
  }

  header ul li a {
    justify-content: center;
    font-size: 15px;
  }

  main .section1 {
    height: auto;
  }

  main .section1 .slogan {
    padding: 200px 0;
  }

  main .section2 .careerBoxWrap {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  main .section3 .workList {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  html {
    scroll-padding-top: 130px;
  }
  header {
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
  }
  header .Inner {
    display: block;
    padding: 0px;
  }
  header h1.Logo {
    text-align: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
  }
  header .menu li:nth-child(2) {
    border: 1px solid #ddd;
    border-top: none;
    border-bottom: none;
  }

  main .section2 .Inner,
  main .section3 .Inner,
  main .section4 .Inner {
    display: block;
  }

  main .section2 .careerBoxWrap {
    display: block;
  }

  main .section3 .workList {
    grid-template-columns: repeat(1, 1fr);
  }

  main .section4 {
    padding-bottom: 50px;
  }

  main .section4 h3 {
    font-size: 20px;
  }

  main .section4 p {
    font-size: 15px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.on {
  opacity: 1;
  transform: translateY(0);
}
