@charset "UTF-8";

/* main */
#main {
  position: relative;
  background-image: url("https://img.miraebiz.co.kr/outsider/ecomaxgarden/screen/bg_main.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/ecomaxgarden/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/ecomaxgarden/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/ecomaxgarden/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;
}

/* 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;
}

/* send */
#send .width-wrap form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: start;
  gap: 24px 16px;
}
#send .width-wrap form .col1 {
  grid-column: -1/1;
}
#send .width-wrap form > label > p.rqr {
  position: relative;
  width: fit-content;
}
#send .width-wrap form > label > p.rqr:before {
  content: "*";
  position: absolute;
  color: #fd4611;
  right: -8px;
  top: -4px;
}
#send .width-wrap form .agree-area {
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid #eaeaea;
  transition: all 0.25s linear;
}
#send .width-wrap form .agree-area .top-zone {
  display: flex;
  justify-content: space-between;
}
#send .width-wrap form .agree-area .top-zone label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
#send .width-wrap form .agree-area .top-zone button {
  display: flex;
  align-items: center;
  gap: 4px;
}
#send .width-wrap form .agree-area .top-zone button svg {
  transition: all 0.25s linear;
}
#send .width-wrap form .agree-area.on .top-zone button svg {
  transform: rotate(180deg);
}
#send .width-wrap form .agree-area .bottom-zone {
  height: 0;
  overflow: hidden;
}
#send .width-wrap form .agree-area.on .bottom-zone {
  height: 100%;
  margin-top: 20px;
}
/* input */
input[type="text"],
input[type="number"],
textarea,
input[type="text"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
  font-family: "Pretendard";
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  width: 100%;
}
input[type="text"],
input[type="number"],
textarea {
  padding: 12px 14px;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid #eaeaea;
}
textarea {
  height: 172px;
}
input[type="text"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
  color: rgba(28, 28, 28, 0.5);
}
input[type="checkbox"] {
  background: url("https://img.miraebiz.co.kr/outsider/icon/icon_check.svg") 50%
    no-repeat;
  background-size: auto;
  padding: 0;
  margin: 0;
  width: 20px;
  height: 20px;
  appearance: none;
  cursor: pointer;
  transition: all 0.25s linear;
  border: 1px solid var(--black);
  border-radius: 1000px;
}
input[type="checkbox"]:checked {
  background: var(--black)
    url("https://img.miraebiz.co.kr/outsider/icon/icon_checked.svg") 50%
    no-repeat;
}

/* responsive */
@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);
  }
}
@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;
  }

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

  #send .width-wrap form {
    grid-template-columns: 1fr;
  }
  #send .width-wrap form .agree-area .top-zone label p {
    font-size: 12px;
    letter-spacing: -0.24px;
  }

  input[type="text"],
  input[type="number"],
  textarea {
    padding: 10px 12px;
  }
  input[type="checkbox"] {
    width: 14px;
    height: 14px;
    background-size: cover;
  }
}
