.main {
  position: relative;
  height: 95vh;
}

.main img {
  width: 100%;
  height: 95vh;
}

.imgText {
  color: white;
  font-weight: bold;
  position: absolute;
  top: 33%;
  left: 15%;
}

.imgText h1 {
  font-size: clamp(28px, 6vw, 56px);
  line-height: 1.6;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: rgb(0, 0, 0);
  text-shadow: 2px 2px 2px #3b3b3b;
}

.contents {
  padding: 90px 40px 120px;
}

.about {
  padding: 130px 100px;
  background-color: white;
}

.flexCont {
  display: flex;
  justify-content: space-evenly;
}

.subTitle {
  padding: 20px 0 50px;
  text-align: center;
}

.contents .contentsDiv {
  max-width: 1000px;
  margin: auto;
  align-items: center;
}

.detailsPage h2 {
  margin: 20px 0;
}

.detailsPage a {
  background-color: #2E48A2;
  color: white;
  text-decoration: none;
  font-size: 20px;
  margin: 30px auto;
  display: block;
  width: 200px;
  align-items: center;
  padding: 10px 20px;
  text-align: center;
  border-radius: 5px;
}

.detImg img {
  width: 320px;
  border-radius: 1px;
}

.flexCont div {
  margin: 0 40px;
}

.service {
  background-color: #f2f5f7;
}

.contents .services {
  display: flex;
  gap: 40px 40px;
  flex-wrap: wrap;
  margin: auto;
  justify-content: center;
  max-width: 1400px;
}

.serviceBlock {
  padding: 20px;
  text-align: center;
  border-radius: 3px;
}

.serviceBlock img {
  margin: auto;
  max-width: 320px;
  height: 240px;
}

.serviceBlock .notpic {
  margin: auto;
  max-width: 320px;
  height: 240px;
  background-color: #9e9e9e;
  display: flex;
  text-align: center;
  align-items: center;
}

.serviceBlock .notpic p {
  text-decoration: none;
  color: black;
  margin: auto;
  font-size: 25px;
}

.zoom-in-img {
  width: 320px;
  margin: 0;
  padding: 0;
  background: #fff;
  /* background-color: #f2f5f7; */
  overflow: hidden;
  cursor: pointer;
}

.zoom-in-img img {
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: .3s ease-in-out;
}

.zoom-in-img #nonpic {
  width: 60%;
  height: 60%;
  margin-top: 40px;
}

.zoom-in-img:hover img {
  transform: scale(1.3);
}

.serviceBlock div {
  height: 240px;
  overflow: hidden;
}

.serviceBlock h3 {
  text-align: center;
  margin: 20px auto 20px;
  font-size: 18px;
  color: black;
}

.achievements {
  max-width: 1000px;
  margin: auto;
}

.achievementsDiv {
  display: grid;
  gap: 30px 10px;
  grid-template-columns: 1fr 1fr;
  margin: 30px 20px;
}

.achievementsBlock {
  display: flex;
  margin: auto;
  position: relative;
  color: white;
  width: 400px;
  height: 180px;
}


.achievementsBlock img {
  position: relative;
  width: 400px;
  height: 240px;
  opacity: 0.7;
}

.achievementsBlock h3 {
  position: absolute;
  font-size: 27px;
  margin: 20px 20px;
  font-weight: 100;
}

.achievementsBlock p {
  font-size: 22px;
  position: absolute;
  right: 20px;
  bottom: 20px;
}

.recruit {
  margin: auto;
  background-color: #f2f5f7;
}

.recruitFlex {
  display: flex;
  margin: 0 auto 30px;
  padding: 10px 40px;
  align-items: flex-start;
}

.recruiteText {
  font-size: 25px;
  margin-bottom: 30px;
}

.recruitDiv img {
  width: 320px;
  border-radius: 1px;
}

.detailsPage a:hover {
  background-color: white;
  color: #2E48A2;
  border: #2E48A2 2px solid;
  text-decoration: none;
}

.achievementsDiv a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 600px) {
  p {
    font-size: 14px;
  }

  .imgText {
    color: white;
    font-weight: bold;
    position: absolute;
    top: 33%;
    left: 7%;
  }

  .main img {
    width: 100%;
    height: 95vh;
    object-fit: cover;
  }

  .about {
    padding: 70px 10px;
  }

  .about .flexCont div {
    margin: 60px 30px 0;
  }

  .about .flexCont {
    display: block;
  }

  .detailsPage h2 {
    margin: 20px 0 40px;
    text-align: center;
  }

  .detailsPage a {
    width: auto;
    border-radius: 10px;
  }

  .detImg {
    margin: auto;
    display: flex;
    justify-content: center;
  }

  .contents {
    padding: 40px 10px 80px;
  }

  .service .contentsDiv {
    max-width: 600px;
    margin: auto;
    padding: 0 20px;
    gap: 0;
  }

  .serviceBlock img {
    margin: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
  }

  .serviceBlock {
    padding: 5px 10px;
    margin: 20px 0;
  }

  .serviceBlock h3 {
    text-align: center;
    margin: 20px auto;
    font-size: 16px;
    color: black;
  }

  .contents .contentsDiv {
    max-width: 600px;
    margin: auto;
    padding: 0 15px;
  }

  .achievementsBlock img {
    position: relative;
    opacity: 0.9;
    width: 200px;
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .achievementsDiv {
    display: flex;
    margin: 30px 10px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .achievementsBlock h3 {
    position: absolute;
    font-size: 23px;
    margin: 20px 20px;
  }

  .achievementsBlock p {
    font-size: 20px;
    position: absolute;
    right: 10px;
    bottom: 10px;
  }

  .recruitDiv {
    display: flex;
    justify-content: center;
    margin: auto;
  }

  .recruitFlex {
    display: block;
    margin: auto;
    background: none;
    padding: 20px;
  }

  .recruiteText {
    font-size: 17px;
    text-align: center;
    margin: 30px auto 0px;
  }

  .detailsPage a {
    width: auto;
    border-radius: 50px;
    padding: 5px;
    margin: 40px auto 30px;
  }
}