/* ========================================
   consult.css - 11. 무료 상담신청
   ======================================== */

.consult {
  width: 100%;
  background: url("../assets/mono_bg.png") center / cover;
  display: flex;
  justify-content: center;
  padding: 100px 16px;
  text-align: center;
}

.consult__inner {
  width: 100%;
  max-width: 1200px;
  position: static;
}

/* 타이틀 */
.consult__title {
  font-family: var(--font-pretendard);
  font-weight: 300;
  font-size: 54px;
  color: #fff;
  letter-spacing: -5px;
  margin-bottom: 30px;
}

.consult__title b {
  font-weight: 700;
}

/* 폼 보드 */
.consult__board {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 65px 80px;
  border-radius: 3px;
}

/* 폼 행 */
.consult__row {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.consult__row:first-child {
  margin-top: 0;
}

/* 라벨 */
.consult__label {
  flex: 0 0 65px;
  display: flex;
  justify-content: space-between;
  margin-right: 25px;
}

.consult__label span {
  font-family: var(--font-pretendard);
  font-size: 16px;
  color: #616161;
}

/* 입력 영역 */
.consult__input-wrap {
  display: flex;
  justify-content: space-between;
  flex: 1 0 0;
  align-items: center;
}

.consult__input-wrap input,
.consult__input-wrap select {
  width: 100%;
  background: #f2f2f2;
  border: 1px solid #d6d6d6;
  padding: 10px;
  border-radius: 3px;
  font-family: var(--font-pretendard);
  font-size: 14px;
  color: #333;
}

/* 전화번호 구분자 */
.consult__blank {
  margin: 0 5px;
  color: #616161;
}

/* 동의 영역 */
.consult__agree-wrap {
  flex: 1 0 0;
  text-align: left;
  font-family: var(--font-pretendard);
  font-size: 14px;
  color: #333;
}

.consult__agree-wrap input[type="checkbox"] {
  vertical-align: middle;
  margin-right: 4px;
}

/* 내용보기 버튼 */
.consult__view-btn {
  background: #696969;
  color: #fff;
  font-family: var(--font-pretendard);
  font-size: 13px;
  margin-left: 10px;
  padding: 3px 10px;
  border: none;
  cursor: pointer;
}

/* 상담신청 버튼 */
.consult__apply-btn {
  display: block;
  background: #66c5a5;
  width: 230px;
  height: 85px;
  margin: 50px auto 0;
  font-family: var(--font-pretendard);
  font-size: 36px;
  font-weight: 700;
  color: #000;
  border: none;
  cursor: pointer;
}

/* --- 모바일 (~767px) --- */
@media (max-width: 767px) {
  .consult {
    background: none;
    height: 15vw;
    padding: 0;
    display: block;
  }

  .consult__inner {
    padding: 0;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;
    background: #f5f5f5;
    box-shadow: 0px -3px 5px 0px rgba(0, 0, 0, 0.1);
  }

  .consult__title,
  .consult__title * {
    color: #555;
    font-size: 5vw;
    letter-spacing: -0.2vw;
  }

  .consult__title {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    height: 15vw;
    margin-bottom: 0;
    cursor: pointer;
  }

  .consult__title b {
    margin-right: 1vw;
  }

  .consult__title b::before {
    content: "";
    display: inline-block;
    width: 4vw;
    height: 4vw;
    background: url("../../images/new/common/icon_arrow_down.png") no-repeat center;
    background-size: 90%;
    margin-right: 1vw;
    transform: rotate(180deg);
  }

  .consult__title b.is-active::before {
    transform: rotate(0deg);
  }

  .consult form {
    display: none;
    border-top: 0.2vw solid #ccc;
    padding: 6vw 3vw;
  }

  .consult__board {
    max-width: none;
    margin: 0;
    background: none;
    padding: 0;
    border-radius: 0;
  }

  .consult__row {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 3vw;
  }

  .consult__row:first-child {
    margin-top: 0;
  }

  .consult__label {
    flex: 0 0 16vw;
    margin-right: 5vw;
    margin-bottom: 0;
  }

  .consult__label span {
    font-size: 4vw;
  }

  .consult__input-wrap input,
  .consult__input-wrap select {
    border-width: 0.2vw;
    padding: 3vw 2.5vw;
    border-radius: 1vw;
    font-size: 4.2vw;
  }

  .consult__blank {
    margin: 0 1vw;
  }

  .consult__agree-wrap {
    font-size: 3.5vw;
  }

  .consult__agree-wrap input[type="checkbox"] {
    width: 4vw;
    height: 4vw;
    vertical-align: middle;
    margin-right: 1vw;
  }

  .consult__view-btn {
    background: #fff;
    color: #008ed2;
    font-size: 3.2vw;
    margin-left: 4vw;
    padding: 0.5vw 2vw;
    border: 0.2vw solid #008ed2;
  }

  .consult__apply-btn {
    background: #007eba;
    width: 40vw;
    height: 10vw;
    margin-top: 6vw;
    font-size: 4.5vw;
    font-weight: 400;
    color: #fff;
    border-radius: 1vw;
    max-width: none;
  }
}
