/* ********** intro bg + setting ********** */
#intro {
  background-image: url(../img/company/bg.png);
}

/* ********** content ********** */
#content article {
  margin: 30px 0;
}

#content article h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
}

#content article ul {
  display: flex;
  flex-wrap: wrap;
}

#content article ul li {
  float: left;
  width: 25%;
  margin-bottom: 50px;
}

#content .img_box {
  background-color: #f0f0f0;
  position: relative;
  width: 90%;
  height: 400px;
  margin: auto;
}

#content .img_box img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  width: 80%;
  height: 80%;
}

#content .text_box {
  margin-top: 10px;
  text-align: center;
}

#content .text_box h3 {
  font-size: 2rem;
  font-weight: 700;
}

#content .text_box p {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 30px;
  color: #555;
}

@media screen and (max-width: 1024px) {
  #content article {
    margin-top: 0;
  }

  #content article ul li {
    margin-bottom: 30px;
  }

  #content .img_box {
    height: 300px;
  }

  #content .text_box {
    padding: 0 5%;
  }

  #content .text_box p {
    line-height: 2rem;
  }

  #content .text_box h3 {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 820px) {
  #content .img_box {
    height: 250px;
  }
}

@media screen and (max-width: 740px) {
  #content .img_box {
    height: 200px;
  }
}

@media screen and (max-width: 620px) {
  #content article ul li {
    width: 50%;
  }
  .con_box {
    margin-top: 50px;
  }
}

@media screen and (max-width: 430px) {
  .con_box {
    margin-top: 0px;
  }

  #content article h2 {
    text-align: center;
  }

  #content article ul li {
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
  }
  #content .text_box h3 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 430px) {
  #content article ul li {
    width: 100%;
  }
}
