﻿body {
  font-size: 16px;
}

/* 내 아이 첫 생애 태아보험 무료상담신청 */
.cont02 > div {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  background: #fff9de;
  padding: 23px;
}
.cont02 h4 {
  font-size: 1.8rem;
  color: #fff;
  margin-left: 11px;
  font-weight: 500;
  margin-bottom: 12px;
  text-wrap: pretty;
}
.cont02 > div > ul {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.cont02 > div > ul > li {
  width: 100%;
}
.cont02 > div > ul > li:nth-of-type(2) {
  align-items: center;
  width: 50%;
  max-width: 400px;
  background: #fff9de;
  font-size: 3.5rem;
  font-weight: 700;
  color: #fff;
  border-radius: 11px;
  display: flex;
  justify-content: center;
  letter-spacing: -3.45px;
  transition: all 0.3s ease 0s;
  cursor: pointer;
  margin: 0 auto;
}
/* .cont02 > div > ul > li:nth-of-type(2):hover {
  background: #c74242;
} */
.cont02 > div > ul ul > li {
  height: 60px;
  margin-bottom: 10px;
  position: relative;
  border: 1px solid #dad1c2;
  background: #fff;
  filter: drop-shadow(1px 1px 1px #dad1c2);
  border-right: 1px dotted #dad1c2;
}
.cont02 > div > ul ul > li:last-of-type {
  height: 120px;
}
.cont02 > div label {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: #777777;
  font-weight: 500;
}
.cont02 > div input {
  width: 75%;
  height: 100%;
  position: absolute;
  right: 0;
  border: none;
}
.cont02 > div > ul ul > li:last-of-type label {
  top: 10px;
  transform: translateY(0);
}
.cont02 > div > ul ul > li:last-of-type input {
  left: 0;
  right: unset;
  bottom: 0;
  width: 100%;
}
.cont02 > div textarea {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 57%;
  border: none;
}

/* 개인정보 수집 및 활용 동의 보기 */
.agree {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.cont02 .agree input {
  width: auto;
  height: auto;
  position: unset;
  border: none;
}
.cont02 .agree label {
  position: unset;
  transform: translateY(0);
  color: #7d7c76;
  font-size: 1.5rem;
  cursor: pointer;
}
.agree label span {
  text-decoration: underline;
}
.agree input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border: none;
  margin-right: 10px;
  background: #fff;
  border: 1px solid #ece9e4;
}
.agree input[type="checkbox"]::after {
  border: solid #fff;
  border-width: 0 4px 3px 0;
  content: "";
  display: none;
  height: 40%;
  left: 19%;
  position: relative;
  top: 20%;
  transform: rotate(45deg);
  width: 65%;
}
.agree input[type="checkbox"]:checked {
  background: #2c80ff;
}
.agree input[type="checkbox"]:checked::after {
  display: block;
}

.privacy {
  height: 0;
  overflow-y: scroll;
  background: #fff;
  transition: all 0.3s ease 0s;
}
.privacy.open {
  height: 300px;
  padding: 1rem;
}
img {
  width: 860px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  img {
    max-width: 100% !important;
  }
  .cont02 h4 {
    text-align: center;
  }
  .cont02 > div > ul {
    flex-direction: column;
    align-items: center;
  }
  .cont02 > div > ul > li {
    width: 100%;
  }
  .cont02 > div > ul > li:nth-of-type(2) {
    width: 100%;
    font-size: 2rem;
  }
  .cont02 > div label {
    font-size: 1.1rem;
  }
  @media (max-width: 425px) {
    .cont02 > div label {
      font-size: 1rem;
    }
  }
}
