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

#content .text_box p {
  font-size: 1.8rem;
  color: #555;
  margin-bottom: 30px;
}

/* ********** content1 ********** */
#content .img_box {
  width: 100%;
  height: 320px;
  background-image: url(../img/guide/need_bg.png);
  background-position: center;
  position: relative;
}

/* 뒷배경 */
#content .img_box::before {
  content: "";
  width: 200vw;
  height: 200px;
  background-color: #f4f7f9;
  position: absolute;
  bottom: 0;
  left: -100vw;
  z-index: -1;
}

/* ********** content2 ********** */
#content .con_box:nth-of-type(2) {
  background-color: #f4f7f9;
  padding-bottom: 100px;
  display: flex;
}

#content .con_box:nth-of-type(2) article {
  display: flex;
}

/* 박스 디자인 */
#content .point {
  width: 20%;
  background-color: #fff;
  height: 280px;
  margin: auto;
  box-shadow: 0px 4px 30px rgba(0, 0, 0, 0.1);
  border-top: 2px solid #465dff;
  box-sizing: border-box;
}

#content .point img {
  height: 100px;
  margin: auto;
  padding-top: 10%;
}

/* 박스 문구 */
#content .point .text_box {
  margin: 5%;
  overflow: hidden;
  text-align: center;
}

#content .point .text_box h3 {
  font-size: 2.4rem;
  line-height: 38px;
  font-weight: 800;
}

#content .point .text_box p {
  font-size: 1.8rem;
  line-height: 24px;
}

/* ********** content3 ********** */
#content .con_box:nth-of-type(3) article {
  display: flex;
  justify-content: space-between;
}

#content .list_box {
  width: 49%;
  height: 350px;
  background-color: #f4f7f9;
  box-shadow: 10px 10px 15px rgba(0, 0, 0, 0.1);
  border-top: 2px solid #465dff;
  box-sizing: border-box;
}

#content .list_box h2 {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 800;
  padding: 40px 0;
}

#content .boxes {
  position: relative;
  width: 90%;
  height: 200px;
  border-radius: 20px;
  margin: auto;
  background-color: #fff;
}

#content .list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  font-size: 1.8rem;
  line-height: 24px;
}

/* 첫번째 컨텐츠 박스 */
#content .list_box:first-of-type li {
  list-style: disc;
  margin: 0 3%;
  margin-bottom: 20px;
}

/* 마지막 컨텐츠박스 */
#content .list span {
  font-weight: 800;
  margin-right: 10px;
  font-size: 2rem;
  display: flex;
  justify-content: space-between;
  color: #1c1c1c;
  margin-left: 5px;
}

#content .list_box:last-of-type li {
  list-style: url(../img/list.png);
  margin-left: 3%;
  border-bottom: 1px dotted #aaa;
}

#content .list_box:last-of-type li:last-child {
  border-bottom: none;
}

#content .list_box:last-of-type li p {
  display: flex;
  padding: 12px 0;
}

@media screen and (max-width: 1400px) {
  #content .point .text_box h3 {
    line-height: 2.6rem;
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 1280px) {
  #content .point {
    width: 24%;
  }

  #content .boxes {
    height: 250px;
  }

  #content .list_box {
    height: 400px;
  }

  #content .list_box h2 {
    font-size: 2.6rem;
  }

  #content .list_box:last-of-type li p {
    display: block;
  }

  #content .list span {
    margin-left: 0;
  }

  #content .list_box:last-of-type li {
    margin-left: 5%;
  }
}

@media screen and (max-width: 980px) {
  #content .point img {
    height: 80px;
    margin-bottom: 30px;
  }

  #content .list_box h2,
  #content .point .text_box h3 {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 840px) {
  #content .list_box {
    width: 100%;
    margin-bottom: 20px;
  }

  #content .con_box:nth-of-type(3) article {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  #content .boxes {
    width: 90%;
    height: 180px;
  }

  #content .list_box {
    height: 320px;
  }

  #content .list_box:last-of-type {
    height: 380px;
  }

  #content .list_box:last-of-type .boxes {
    height: 230px;
  }
}

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

  #content .list,
  #content .point .text_box p {
    font-size: 1.6rem;
  }

  #content .list_box h2 {
    padding: 30px 0;
  }
  #content .point .text_box p {
    line-height: 2rem;
  }
  #content .point img {
    height: 70px;
  }

  #content .point {
    height: 260px;
  }
}

@media screen and (max-width: 640px) {
  #content .point {
    width: 48%;
    height: 240px;
    margin-bottom: 20px;
  }

  #content .con_box:nth-of-type(2) article {
    flex-wrap: wrap;
  }

  #content .list_box:last-of-type .boxes {
    height: 250px;
  }

  #content .boxes {
    height: 200px;
  }

  #content .con_box:nth-of-type(2) {
    padding-bottom: 50px;
  }

  #content .text_box p,
  #content .list span {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 460px) {
  #content .list_box {
    height: 400px;
  }

  #content .boxes,
  #content .list_box:last-of-type .boxes {
    height: 70%;
  }

  #content .list_box h2,
  #content .point .text_box h3 {
    font-size: 2.2rem;
  }

  #content .point {
    width: 100%;
    height: 200px;
  }

  #content .point img {
    margin-bottom: 10px;
  }

  #content .point .text_box {
    margin: 2%;
  }

  #content .list_box:last-of-type li {
    list-style: none;
    margin-left: 0;
  }

  #content .boxes,
  #content .list_box:last-of-type .boxes {
    overflow: hidden;
  }

  #content .img_box {
    height: 180px;
  }

  #content .text_box p {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 310px) {
  #content .boxes {
    width: 95%;
  }
  #content .list_box:last-of-type,
  #content .list_box {
    height: 450px;
  }
}
