/* Reset & 기본 설정 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background: #fcfcfc;
  color: #242424;
}

ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: transparent;
  cursor: pointer;
}

input {
  outline: none;
  font-family: inherit;
}

/* placeholder 애니메이션 */
input:focus::placeholder {
  opacity: 0;
  transition: opacity 0.2s;
}

/* Layout */
.wrap {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
}

.landing {
  width: 100%;
  height: 2000px;
  background: #f1f1f1;
}

.landing > img {
  width: 100%;
}

/* Fixed form */
.fixed_form {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 230px;
}

.fixed_form_inner {
  width: 100%;
  max-width: 882px;
  height: 100%;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.08);
  padding-top: 10px;
}

/* Input area */
.input_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 86%;
  margin: 0 auto;
}

.input_wrap .input {
  width: 100%;
}

.input_wrap .input + .input {
  margin-top: 5px;
  /* name과 phone 간격 */
}

.input_wrap .input input {
  width: 100%;
  height: 45px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #e5e8eb;
  border-radius: 7px;
}

.input_wrap .input input::placeholder {
  color: #9c9c9c;
  font-size: 15px;
  font-weight: 500;
}

.input_wrap .input input:hover {
  border-color: #a1c9fa;
  transition: all 0.2s;
}

.input_wrap .input input:focus {
  border-color: #007bff;
  transition: all 0.2s;
}

/* Terms */
.terms_wrap {
  width: 260px;
  margin: 10px auto 0;
  font-size: 14px;
  display: flex;
  flex-direction: column;
}

.terms_wrap .term {
  display: flex;
  align-items: center;
}

.terms_wrap label {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.terms_wrap .term a:hover {
  background: #f1f1f1;
  cursor: pointer;
  transition: all 0.3s;
}

.terms_wrap .term a span {
  color: #007bff;
  font-weight: 500;
}

.terms_wrap .term a {
  display: inline-block;
  width: 100%;
  color: #4f4f4f;
  padding: 2px 5px 2px 10px;
  border-radius: 5px;
  margin-left: 19px;
}

/* 체크박스 커스텀 */
.terms_wrap input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.terms_wrap label::before {
  content: "";
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background: url("./image/term_chk.svg") no-repeat center/contain;
}

/* 체크된 상태 */
.terms_wrap input[type="checkbox"]:checked + label::before {
  background-image: url("./image/term_chk_on.svg");
}

.d-none {
  display: none;
}

/* 버튼 */
.go_db {
  width: 86%;
  margin: 10px auto 0;
}

.go_db button {
  width: 100%;
  height: 45px;
  background: #007bff;
  color: #fff;
  border-radius: 7px;
  font-size: 17px;
  font-weight: 600;
}

/* 필요없음 */
.version_btn_wrap {
  position: fixed;
  top: 50%;
  left: 30%;
  transform: translate(-30%);
}

.version_btn_wrap .button {
  display: inline-block;
  width: 150px;
  border-radius: 5px;
  background: #fff;
  border: 1px solid #4f4f4f;
  text-align: center;
  padding: 10px 0;
}

@media all and (max-width: 485px) {
  .terms_wrap {
    white-space: nowrap;
  }

  .terms_wrap label {
    font-size: 13px;
    letter-spacing: -0.5px;
  }
}
