@charset "UTF-8";

/* main */
#main {
  position: relative;
  background-image: url("https://img.miraebiz.co.kr/outsider/boilercare/screen/img_main_banner.jpg");
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
#main:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(
    270deg,
    rgba(47, 55, 127, 0.3) 0%,
    rgba(47, 55, 127, 0.8) 100%
  );
}
#main .width-wrap {
  padding: var(--paddingMain);
}
#main .width-wrap h1 {
  margin-bottom: 16px;
}

/* intro */
#intro .width-wrap .box-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 62px;
}
#intro .width-wrap .box-area .box .img-zone {
  aspect-ratio: 212 / 139;
  width: 100%;
  border-radius: 8px;
  background: url("https://img.miraebiz.co.kr/outsider/boilercare/screen/img_intro01.jpg")
    50% / cover no-repeat;
}
#intro .width-wrap .box-area .box:nth-child(2) .img-zone {
  background: url("https://img.miraebiz.co.kr/outsider/boilercare/screen/img_intro02.jpg")
    50% / cover no-repeat;
}
#intro .width-wrap .box-area .box:nth-child(3) .img-zone {
  background: url("https://img.miraebiz.co.kr/outsider/boilercare/screen/img_intro03.jpg")
    50% / cover no-repeat;
}
#intro .width-wrap .box-area .box .bottom-zone p:first-child {
  margin: 24px 0 10px;
}

/* greetings */
#greetings {
  background: rgba(47, 55, 127, 0.03);
}
#greetings .width-wrap p:nth-child(2) {
  margin: 20px 0 40px;
}

/* portfolio */
#portfolio .width-wrap h2 {
  margin-bottom: 20px;
}
#portfolio .width-wrap .box-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px 20px;
  margin: 62px 0;
}
#portfolio .width-wrap .box-area .box .img-zone {
  aspect-ratio: 315 / 362;
  width: 100%;
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 12px;
}

/* review */
#review {
  background: linear-gradient(
      0deg,
      rgba(47, 55, 127, 0.03) 0%,
      rgba(47, 55, 127, 0.03) 100%
    ),
    #fff;
}
#review .width-wrap > p {
  margin: 8px 0 40px;
}
#review .width-wrap .review-area {
  column-count: 3;
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-gap: 20px;
}
#review .width-wrap .review-area .box {
  background: var(--white);
  padding: 28px 24px;
  text-align: left;
  word-break: break-all;
  box-sizing: border-box;
  break-inside: avoid;
  margin-top: 16px;
}
#review .width-wrap .review-area .box:first-child {
  margin-top: 0;
}
#review .width-wrap .review-area .box .star {
  height: 22px; /* 별 아이콘 높이 */
  background-image: url("https://ecomaxgarden.com/img/icons/icon_star.svg");
  background-repeat: repeat-x;
  background-size: 24px 22px;
}
#review .width-wrap .review-area .box .star.three {
  width: calc(23.5px * 3);
}
#review .width-wrap .review-area .box .star.four {
  width: calc(23.5px * 4);
}
#review .width-wrap .review-area .box .star.five {
  width: calc(23.5px * 5);
}
#review .width-wrap .review-area .box p:nth-of-type(1) {
  margin: 12px 0;
}

/* faq */
#faq .width-wrap .faq-list {
  margin-top: 60px;
}
#faq .width-wrap .faq-list li {
  border-bottom: 1px solid #eee;
}
#faq .width-wrap .faq-list li.on {
  background: rgba(47, 55, 127, 0.03);
}
#faq .width-wrap .faq-list li:hover {
  background: rgba(47, 55, 127, 0.03);
}
#faq .width-wrap .faq-list li .top-zone {
  justify-content: space-between;
  cursor: pointer;
  display: flex;
}
#faq .width-wrap .faq-list li .top-zone img {
  padding: 6.5px 4px;
}
#faq .width-wrap .faq-list li .top-zone,
#faq .width-wrap .faq-list li .bottom-zone {
  padding: 24px 20px;
  box-sizing: border-box;
  align-items: center;
  gap: 8px;
  text-align: left;
}
#faq .width-wrap .faq-list li.on .top-zone img {
  transform: rotate(180deg);
}
#faq .width-wrap .faq-list li .bottom-zone {
  display: none;
  align-items: flex-start;
  border-top: 2px solid var(--po);
}
#faq .width-wrap .faq-list li.on .bottom-zone {
  display: flex;
}

/* inquery */
#inquery {
  background: url("https://img.miraebiz.co.kr/outsider/default_screen_1p/bg_inquery.jpg")
    50% / cover no-repeat;
}
#inquery .width-wrap h2 {
  margin-bottom: 16px;
}

/* responsive */
@media all and (max-width: 1020px) {
  #review .width-wrap .review-area {
    column-count: 2;
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-gap: 12px;
  }
  #review .width-wrap .review-area .box {
    margin-top: 12px;
  }
}
@media all and (max-width: 850px) {
  #intro .width-wrap .box-area {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 62px auto 0;
  }

  #portfolio .width-wrap .box-area {
    grid-template-columns: repeat(2, 1fr);
  }

  #review .width-wrap .review-area {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }

  #faq .width-wrap .faq-list {
    margin-top: 50px;
  }
  #faq .width-wrap .faq-list li .top-zone,
  #faq .width-wrap .faq-list li .bottom-zone {
    padding: 24px 17px;
  }
}
@media all and (max-width: 500px) {
  #intro .width-wrap .box-area {
    margin: 28px auto 0;
    gap: 40px;
  }
  #intro .width-wrap .box-area .box .bottom-zone p:first-child {
    margin: 20px 0 6px;
  }

  #greetings .width-wrap p:nth-child(2) {
    margin: 16px 0 28px;
  }

  #portfolio .width-wrap h2 {
    margin-bottom: 16px;
  }
  #portfolio .width-wrap .box-area {
    margin: 40px 0;
    gap: 20px 14px;
  }

  #review .width-wrap > h2 {
    font-weight: 600;
  }
  #review .width-wrap .review-area .review-zone .box {
    padding: 20px 16px;
  }

  #faq .width-wrap > h2 {
    font-weight: 600;
  }
  #faq .width-wrap .faq-list {
    margin-top: 40px;
  }
  #faq .width-wrap .faq-list li .top-zone,
  #faq .width-wrap .faq-list li .bottom-zone {
    padding: 24px 14px;
  }
  #faq .width-wrap .faq-list li .top-zone img {
    width: 10px;
    padding: 5px 3px;
  }

  #inquery .width-wrap h2 {
    margin-bottom: 14px;
  }
}
