body {
  font-size: 18px;
}
.wrap {
  max-width: 860px;
  margin: 0 auto;
}
.wrap img {
  max-width: 100%;
  width:100%;
}
.cont02{
  background: url("../img/con02.png") no-repeat 100% 100% / contain;
  background-position-y: bottom;
  aspect-ratio: 99 / 140;
}
.cont02 > div > ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.cont02 > div > ul > li {
  width: 100%;
}
.cont02 > div > ul > li:nth-of-type(2) {
  align-items: center;
  width: 32%;
  max-width: 260px; 
  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;
  line-height: 100%;
  padding: 30px 0;
}

.cont02 > div > ul ul > li {
  width: 100% !important;
  height: 40px;
  margin-bottom: 10px;
  position: relative;
  border-width: 2px 6px;
}
.cont02 > div > ul ul > li:last-of-type {
  height: 60px;
}
.cont02 > div label {
  position: absolute;
  top: 50%;
  left: 13px;
  transform: translateY(-50%);
  font-size: 1.6rem;
  color: #fff;
  font-weight: 500;
}
.cont02 > div > ul ul > li:last-of-type label {
  top: 10px;
  transform: translateY(0);
}
.show_m {
  display: none;
}
.formBox{    
  padding: 40px 0 0 0;
}
.formBox ul{
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}
.formBox ul:not(.inputSpace) > li:not(.btn){
  width:100%;
  height: -webkit-fill-available;
  max-height: 238px;
}

/* 상담신청란 */
.formBox .inputSpace li{
  width: -webkit-fill-available;
  height: 100%;
  min-height: 60px;
}
.inputSpace li input{
  width: 100%;
  padding: 10px 30px;
  font-weight: 600;
  max-height: 100px;
  height: 100%;
  border-radius: 30px;
  border: none;
  min-height: 60px;
}

.inputSpace li input::placeholder{
  color:#6b6b6b;
}

.column2{
  display: flex;
  gap: 30px;
  align-items: center;
}

/* 상담신청버튼 */
.btn{
  height: 100%;
  width: 100%;
  max-width: 298px;
  max-height: 298px; 
  margin:0 auto;
}
.btn a {
  background: url(../img/btn.png) no-repeat 0 0 / contain;
  display: inline-block;
  width: 100%;
  aspect-ratio: 298 / 298;
}
/* 개인정보 수집 및 활용 동의 보기 */
.agree {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 820px;
  margin: 30px auto;
}
.cont02 .agree input {
  width: auto;
  height: auto;
  position: unset;
  border: none;
}
.cont02 .agree label {
  position: unset;
  transform: translateY(0);
  color: #000;
  font-size: 1.1rem;
  cursor: pointer;
}
.agree label span {
  text-decoration: underline;
}
.agree input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border: none;
  margin-right: 10px;
  background: #fff;
  border: 1px solid #000;
}
.agree input[type="checkbox"]::after {
  content: "\2713";
  text-align: center;
  color: #fff;
  font-weight:800;
}
.agree input[type="checkbox"]:checked {
  background: #2c80ff;
}
.agree input[type="checkbox"]:checked::after {
  display: block;
}

.privacy {
  height: 0;
  overflow-y: scroll;
  background: #f9f9f9;
  transition: all 0.3s ease 0s;
}
.privacy.open {
  height: 300px;
  padding: 1rem;
}

@media (max-width: 860px) {
  body{font-size:14px;letter-spacing: -2px;}
  .formBox{
    padding: 10px 10px 30px 10px;
  }
  .formBox ul{
    flex-direction: column;
  }
  .formBox ul:not(.inputSpace) > li:not(.btn){
    width:100%;
  }
  .agree {
    margin-top: unset;
    position: unset;
    width: 100%;
    margin-top:10px;
  }


  .cont02 h4 {
    text-align: center;
  }
  .cont02 > div > ul {
    align-items: center;
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 10px;
  }
  .cont02 > div > ul > li {
    width: 100%;
  }
  .cont02 > div > ul > li:nth-of-type(2) {
    width: 100%;
    font-size: 2rem;
  }
  .cont02 > div > ul > li:nth-of-type(2) div {
    width: 100%;
  }
  .cont02 > div label {
    font-size: 1.1rem;
  }
  .show_m {
    display: block;
    margin-bottom: -2px;
  }
  .cont02 img:nth-of-type(3) {
    display: none;
  }
  .cont02 > div > ul > li:nth-of-type(2) a {
    width: 100%;
  }
  @media (max-width: 693px) {
    .cont02 img:nth-of-type(3) {
      display: block;
    }
  }
  @media (max-width: 425px) {
    .cont02 > div label {
      font-size: 1rem;
    }
    .cont02{background-size:cover;}
    .column2{gap:10px;}
  }
}
