:root {
  --color-bk: #25262B;
  --color-gy: #848890;
  --color-wh: #ffffff;

  --color-bg: #F8FAFC;
  --color-line: #EEF0F2;

  --color-hl: #1E87F1;
  --color-hl-bg: #F2F8FF;

  --title-1: 45px;
  --title-2: 40px;
  --title-3: 32px;

  --font-xl: 28px;
  --font-l: 24px;
  --font-m: 20px;
  --font-s: 18px;
  --font-xs: 16px;

  --size-xl: 120px;
  --size-l: 80px;
  --size-m: 60px;
  --size-s: 40px;
  --size-xs: 20px;
}

/* ---------------- COMMON ---------------- */

::selection {
  background-color: var(--color-bg);
  color: var(--color-hl);
}

* {
  font-family: 'Pretendard Variable', sans-serif;
  word-break: keep-all;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 360px;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #F8FAFC;
}

section {
  max-width: 1920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: var(--size-s) 0;
}

.section-wrapper {
  max-width: 920px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-left: var(--size-s);
  padding-right: var(--size-s);
}

.section-title {
  font-size: var(--title-1);
  font-weight: 700;
  text-align: center;
  color: var(--color-bk);
  word-break: keep-all;
  line-height: 135%;
}

.section-desc {
  font-size: var(--font-m);
  font-weight: 400;
  text-align: center;
  color: var(--color-bk);
  word-break: keep-all;
  line-height: 150%;
}

/* 내용확인 버튼 */
.open-policy{
  color:#007aff;
  cursor:pointer;
  text-decoration:underline;
}

/* 오버레이 */
.modal-overlay{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.4);
  display:none;
  z-index:999;
}

/* 팝업 */
.modal{
  position:fixed;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  max-width:480px;
  width: 90%;
  background:#fff;
  border-radius: calc(0.6 * var(--size-xs));
  box-shadow:0 10px 30px rgba(0,0,0,0.2);
  display:none;
  z-index:1000;
}

/* 헤더 */
.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:var(--size-xs);
  border-bottom:1px solid #ECE9E9;
  border-top-left-radius: calc(0.6 * var(--size-xs));
  border-top-right-radius: calc(0.6 * var(--size-xs));
  background-color: #F5F5F5;
}

.modal-header h3{
  width: 100%;
  text-align: center;
  margin:0;
  font-size:var(--font-s);
}

.close-btn{
  border:none;
  background:none;
  font-size:var(--font-s);
  cursor:pointer;
}

/* 내용 */
.modal-body{
  padding:var(--size-xs);
  font-size:var(--font-xs);
  line-height:1.6;
}

/* ---------------- BUSINESS INDEX ---------------- */

#business-index img{
  height: var(--size-l);
  object-fit: contain;
}

#business-index .section-title{
  margin-top: var(--size-xs);
  margin-bottom: var(--size-xs);
}

#business-index .section-desc{
  margin-bottom: calc(1.2 * var(--size-xs));
}

#business-index .notice{
  font-size: var(--font-s);
  color: var(--color-hl);
  border-radius: calc(0.4 * var(--size-xs));
  border: 1px solid var(--color-hl);
  background-color: var(--color-hl-bg);
  padding: calc(0.6 * var(--size-xs)) calc(1.2 * var(--size-xs));
}

#business-index form{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: calc(1.6 * var(--size-xs));
  background-color: var(--color-wh);
  border-radius: calc(1.2 * var(--size-xs));
  padding: calc(2.4 * var(--size-xs));
  box-shadow: 0px 8px 32px #05309D0D;
  margin-top: var(--size-s);
}

#business-index form .input-wrapper{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(0.6 * var(--size-xs));
}

#business-index form .input-wrapper p{
  font-size: var(--font-m);
  color: var(--color-bk);
  font-weight: 700;
}

#business-index form .input-wrapper div{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: var(--size-m);
}

#business-index form .input-wrapper div label{
  font-size: var(--font-s);
  color: var(--color-bk);
  font-weight: 400;
}

#business-index form .input-wrapper > input{
  width: 100%;
  font-size: var(--font-s);
  color: var(--color-bk);
  font-weight: 400;
  padding: var(--size-xs) calc(1.2 * var(--size-xs));
  background-color: #F8F9FA;
  border-radius: calc(0.4 * var(--size-xs));
  outline: none;
  border: none;
}

#business-index form .input-wrapper > input::placeholder {
  color:#ACB0B4; 
}

#business-index form > div{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: var(--size-xs);
}

#business-index form > div > button{
  width: 100%;
  background-color: #003CA0;
  border: none;
  outline: none;
  color: var(--color-wh);
  font-size: var(--font-m);
  font-weight: 600;
  padding: calc(1.1 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

#business-index form > div > a{
  width: 100%;
  font-size: var(--font-s);
  color: var(--color-hl);
  font-weight: 400;
  text-align: center;
}

.radio-custom input {
    display:none;
}

.radio-custom span{
    position:relative;
    padding-left:calc(0.3 * var(--size-xs) + var(--font-s));
    cursor:pointer;
}

.radio-custom span:before{
    content:"";
    position:absolute;
    left:0;
    top: 1.5px;
    width: var(--font-s);
    height: var(--font-s);
    background:url('/img/auto_estimate/radiobtn_custom_unchecked.svg') no-repeat center/contain;
}

.radio-custom input:checked + span:before{
    background:url('/img/auto_estimate/radiobtn_custom_checked.svg') no-repeat center/contain;
}

.checkbox-custom input{
    display:none;
}

.checkbox-custom span{
    color: var(--color-bk);
    font-weight: 400;
    font-size: var(--font-s);
    position:relative;
    padding-left:calc(0.3 * var(--size-xs) + var(--font-s));
    cursor:pointer;
}

.checkbox-custom span:before{
    content: "";
    position: absolute;
    left: 0;
    top: 1.5px;
    width: var(--font-s);
    height: var(--font-s);
    background:url('/img/auto_estimate/checkbox_custom_unchecked.svg') no-repeat center/contain;
}

.checkbox-custom input:checked + span:before{
    background:url('/img/auto_estimate/checkbox_custom_checked.svg') no-repeat center/contain;
}

/* ---------------- RESULT ---------------- */

#result .company{
  font-size: var(--font-l);
  font-weight: 400;
  color: var(--color-bk);
}

#result .company > span{
  font-weight: 700;
}

#result .section-title{
  margin-top: calc(0.4 * var(--size-xs));
  margin-bottom: var(--size-xs);
}

#result .section-desc{
  margin-bottom: calc(1.2 * var(--size-xs));
}

#result .edu-info{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  border: 1px solid var(--color-hl);
  background-color: var(--color-hl-bg);
  padding: calc(1.6 * var(--size-xs));
  border-radius: calc(0.8 * var(--size-xs));
  gap: var(--size-xs);
}

#result .edu-info > div{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(0.6 * var(--size-xs));
}

#result .edu-info > div > h3{
  font-size: var(--font-m);
  color: var(--color-hl);
  font-weight: 700;
  word-break: keep-all;
}

#result .edu-info > div > p{
  font-size: var(--font-s);
  font-weight: 400;
  color: var(--color-bk);
  line-height: 150%;
  word-break: keep-all;
}

#result .edu-info > div > p > span{
  color: var(--color-gy);
}

#result form, #estimate .form-wrapper{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: var(--color-wh);
  border-radius: calc(1.2 * var(--size-xs));
  padding: calc(2.4 * var(--size-xs));
  box-shadow: 0px 8px 32px #05309D0D;
  margin-top: var(--size-xs);
}

#result form h3, #estimate .form-wrapper h3{
  font-size: var(--font-l);
  color: var(--color-bk);
  font-weight: 700;
}

#result form p, #estimate .form-wrapper p{
  font-size: var(--font-s);
  color: var(--color-gy);
  font-weight: 400;
  margin-top: calc(0.6 * var(--size-xs));
  margin-bottom: var(--size-xs);
}

#result form .input-wrapper, #estimate .form-wrapper .input-wrapper{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: calc(0.6 * var(--size-xs));
}

#result form .input-wrapper > div, #estimate .form-wrapper .input-wrapper > div{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(0.6 * var(--size-xs));
}

#result form .input-wrapper input, #estimate .form-wrapper .input-wrapper input{
  width: 100%;
  font-size: var(--font-s);
  color: var(--color-bk);
  font-weight: 400;
  padding: var(--size-xs) calc(1.2 * var(--size-xs));
  background-color: #F8F9FA;
  border-radius: calc(0.4 * var(--size-xs));
  outline: none;
  border: none;
}

#result form .input-wrapper input::placeholder , #estimate .form-wrapper .input-wrapper input::placeholder{
  color:#ACB0B4; 
}

#result form .checkbox-wrapper, #estimate .form-wrapper .checkbox-wrapper{
  margin-top: var(--size-xs);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
}

#result form .checkbox-wrapper input, #estimate .form-wrapper .checkbox-wrapper input{
  width: var(--font-xs);
  height: var(--font-xs);
  accent-color: var(--color-hl);
}

#result form .checkbox-wrapper > label, #estimate .form-wrapper .checkbox-wrapper > label{
  font-size: var(--font-xs);
  color: var(--color-bk);
  font-weight: 400;
}

#result form .checkbox-wrapper > span, #estimate .form-wrapper .checkbox-wrapper > span{
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--color-gy);
  text-decoration: underline;
  cursor: pointer;
}

#result form .btn-wrapper, #estimate .form-wrapper .btn-wrapper{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: calc(1.6 * var(--size-xs));
}

#result form .btn-wrapper > .prev-btn, #estimate .form-wrapper .btn-wrapper > .prev-btn{
  background-color: var(--color-hl-bg);
  border: 1px solid var(--color-hl);
  outline: none;
  color: var(--color-hl);
  font-size: var(--font-m);
  font-weight: 600;
  padding: calc(1.1 * var(--size-xs)) calc(1.6 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

#result form .btn-wrapper > .next-btn, #estimate .form-wrapper .btn-wrapper > .next-btn{
  width: calc(50% - 0.3 * var(--size-xs));
  background-color: #003CA0;
  border: none;
  outline: none;
  color: var(--color-wh);
  font-size: var(--font-m);
  font-weight: 600;
  padding: calc(1.1 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

/* ---------------- APPLY ---------------- */

#apply .section-desc{
  margin-top: var(--size-xs);
  margin-bottom: calc(1.6 * var(--size-xs));
}

#apply .apply-info{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--size-xs);
}

#apply .apply-info > div{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background-color: var(--color-hl-bg);
  border: 1px solid var(--color-hl);
  border-radius: calc(0.8 * var(--size-xs));
  padding: calc(1.6 * var(--size-xs));
}

#apply .apply-info > div > h3{
  font-size: var(--font-m);
  font-weight: 700;
  color: var(--color-hl);
}

#apply .apply-info > div > h3 > span{
  font-weight: 400;
  font-size: var(--font-xs);
}

#apply .apply-info > div > span{
  border-radius: calc(0.2 * var(--size-xs));
  font-size: calc(0.8 * var(--font-xs));
  font-weight: 500;
  padding: calc(0.2 * var(--size-xs)) calc(0.4 * var(--size-xs));
  color: var(--color-wh);
  background-color: var(--color-hl);
  margin-top: var(--size-xs);
  margin-bottom: calc(0.4 * var(--size-xs));
}

#apply .apply-info > div > p{
  font-size: var(--font-s);
  font-weight: 400;
  color: var(--color-bk);
  line-height: 140%;
}

#apply .apply-info > div > p > span{
    font-size: calc(0.8 * var(--font-xs));
}

#apply .apply-info > div:last-of-type > p:last-of-type > span{
    font-size: var(--font-s);
    color: var(--color-gy);
}

#apply .apply-wrapper{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: var(--color-wh);
  border-radius: calc(1.2 * var(--size-xs));
  padding: calc(2.4 * var(--size-xs));
  box-shadow: 0px 8px 32px #05309D0D;
  margin-top: var(--size-xs);
}

#apply .apply-wrapper > p{
  font-size: var(--font-m);
  font-weight: 400;
  color: var(--color-bk);
  line-height: 150%;
  text-align: center;
  margin-bottom: var(--size-s);
}

#apply .apply-wrapper > p > span{
  color: var(--color-hl);
  font-weight: 700;
}

#apply .apply-wrapper > div{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: var(--size-xs);
}

#apply .apply-wrapper > div > div{
    width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: calc(0.6 * var(--size-xs));
}

#apply .apply-wrapper .individual-btn{
  width: 100%;
  background-color: #E8FFF3;
  border: 1px solid #22C177;
  text-align: center;
  outline: none;
  color: #22C177;
  font-size: var(--font-m);
  font-weight: 600;
  padding: calc(1.1 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

#apply .apply-wrapper .group-btn{
  width: 100%;
  background-color: #FFFCEF;
  border: 1px solid #FFA200;
  outline: none;
  color: #FFA200;
  font-size: var(--font-m);
  font-weight: 600;
  text-align: center;
  padding: calc(1.1 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

#apply .apply-wrapper .estimate-btn{
  width: 100%;
  background-color: #003CA0;
  border: none;
  outline: none;
  color: var(--color-wh);
  font-size: var(--font-m);
  font-weight: 600;
  padding: calc(1.1 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

/* ---------------- CURRICULUM ---------------- */

#curriculum .section-title{
  margin-bottom: calc(1.6 * var(--size-xs));
}

#curriculum form{
  width: 100%;
}

#curriculum form > .curriculum-wrapper{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--size-xs);
  column-gap: var(--size-xs);
}

#curriculum .curriculum-wrapper > div{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: var(--color-wh);
  border: 1px solid var(--color-hl);
  border-radius: calc(0.8 * var(--size-xs));
}

#curriculum .curriculum-wrapper > div > h3{
  width: 100%;
  padding: calc(0.8 * var(--size-xs));
  font-size: var(--font-m);
  font-weight: 700;
  background-color: var(--color-hl);
  color: var(--color-wh);
  text-align: center;
  border-top-left-radius: calc(0.8 * var(--size-xs));
  border-top-right-radius: calc(0.8 * var(--size-xs));
}

#curriculum .curriculum-wrapper > div:last-of-type > h3{
  background-color: var(--color-hl-bg);
  color: var(--color-hl);
}

#curriculum .curriculum-wrapper > div > div{
  width: 100%;
  padding: 0 calc(0.6 * var(--size-xs));
}

#curriculum .curriculum-wrapper > div > div > label{
  width: 100%;
  display: block;
  padding: var(--size-xs) calc(0.6 * var(--size-xs));
  border-bottom: 1px dashed #D4D8DC;
}

#curriculum .curriculum-wrapper > div:last-of-type > div > label:last-of-type{
  border-bottom: none;
}

#curriculum .curriculum-wrapper .checkbox-group{
  width: 100%;
  padding: var(--size-xs) calc(0.6 * var(--size-xs));
}

#curriculum .curriculum-wrapper .checkbox-group .checkbox-parent{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: calc(0.3 * var(--size-xs));
  background: none;
  border: none;
  outline: none;
  margin-bottom: var(--size-xs);
  cursor: pointer;
}

#curriculum .curriculum-wrapper .checkbox-group .checkbox-parent > img{
  width: var(--font-s);
  object-fit: contain;
}

#curriculum .curriculum-wrapper .checkbox-group .checkbox-parent > span{
  font-size: var(--font-s);
  color: var(--color-bk);
  font-weight: 400;
}

#curriculum .curriculum-wrapper .checkbox-group .checkbox-children{
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: var(--size-xs);
  padding-left: var(--size-xs);
}

#curriculum form .btn-wrapper{
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--size-s);
}

#curriculum form .btn-wrapper > .prev-btn{
  background-color: var(--color-hl-bg);
  border: 1px solid var(--color-hl);
  outline: none;
  color: var(--color-hl);
  font-size: var(--font-m);
  font-weight: 600;
  padding: calc(1.1 * var(--size-xs)) calc(1.6 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

#curriculum form .btn-wrapper > .next-btn{
  width: calc(50% - 0.3 * var(--size-xs));
  background-color: #003CA0;
  border: none;
  outline: none;
  color: var(--color-wh);
  font-size: var(--font-m);
  font-weight: 600;
  padding: calc(1.1 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  cursor: pointer;
}

/* ---------------- ESTIMATE ---------------- */

#estimate .section-desc{
  margin-top: var(--size-xs);
  margin-bottom: var(--size-s);
}

#estimate form{
  width: 100%;
}

#estimate .edu-title{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: calc(0.3 * var(--size-xs));
}

#estimate .edu-title > img{
  width: calc(1.4 * var(--size-xs));
  object-fit: contain;
}

#estimate .edu-title > h3{
  font-size: var(--font-l);
  color: var(--color-bk);
  font-weight: 700;
}

#estimate .edu-desc{
  font-size: var(--font-s);
  color: var(--color-gy);
  font-weight: 400;
  margin-top: calc(0.8 * var(--size-xs));
  margin-bottom: calc(1.2 * var(--size-xs));
} 

#estimate .safe-edu > .edu-wrapper{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(0.4 * var(--size-xs));
  row-gap: calc(0.4 * var(--size-xs));
}

#estimate .edu-count {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: calc(0.4 * var(--size-xs));
  background-color: var(--color-wh);
  padding: calc(0.8  * var(--size-xs)) calc(1.2 * var(--size-xs));
  box-shadow: 0px calc(0.2 * var(--size-xs)) calc(1.2 * var(--size-xs)) #25262B0D;
}

#estimate .edu-count > div:first-of-type > p:first-of-type{
  font-size: var(--font-s);
  color: var(--color-bk);
  font-weight: 700;
  margin-bottom: calc(0.3 * var(--size-xs));
}

#estimate .edu-count > div:first-of-type > p:first-of-type > span{
  font-size: calc(0.85 * var(--font-xs));
}

#estimate .edu-count > div:first-of-type > p:last-of-type{
  font-size: calc(0.85 * var(--font-xs));
  color: var(--color-gy);
  font-weight: 400;
  margin-top: calc(0.3 * var(--size-xs));
}

#estimate .edu-count > div:last-of-type{
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
}

#estimate .edu-count > div:last-of-type > input{
  display: inline-block;
  font-size: var(--font-m);
  color: var(--color-bk);
  font-weight: 700;
  width: 64px;
  text-align: center;
  padding: calc(0.2 * var(--size-xs));
  background-color: #F8F9FA;
  border-radius: calc(0.2 * var(--size-xs));
  border: none;
  outline: none;
}

#estimate .edu-count > div:last-of-type > span{
  font-size: calc(0.85 * var(--font-xs));
  color: var(--color-bk);
  font-weight: 600;
}

#estimate .edu-count > div:last-of-type > img{
  width: var(--size-xs);
  object-fit: contain;
  margin-left: 4px;
  cursor: pointer;
}
#estimate .edu-count > div:last-of-type .tooltip-container {
  position: relative;
  display: inline-block;
}

#estimate .edu-count > div:last-of-type .tooltip-container img{
  width: var(--size-xs);
  object-fit: contain;
  margin-left: 4px;
  cursor: pointer;
}

/* 툴팁 텍스트 스타일 */
#estimate .edu-count > div:last-of-type .tooltip-text {
  visibility: hidden;
  width: calc(4.5 * var(--size-l));
  background-color: #909399;
  line-height: 140%;
  color: #fff;
  font-size: calc(0.85 * var(--font-xs));
  text-align: left;
  padding: calc(0.3 * var(--size-xs)) calc(0.4 * var(--size-xs));
  border-radius: calc(0.3 * var(--size-xs));

  position: absolute;
  z-index: 10;
  bottom: 150%;
  right: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

/* 마우스 오버 시 표시 */
#estimate .edu-count > div:last-of-type .tooltip-container:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}


#estimate hr{
  width: 100%;
  height: 1px;
  background: none;
  border: none;
  border-bottom: 1px dashed #D4D8DC;
  margin: calc(1.2 * var(--size-xs)) 0;
}

#estimate .legal-edu > div{
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc(0.4 * var(--size-xs));
    align-items: flex-end;
}

#estimate .legal-edu > div > div{
  width: 100%;
}

#estimate .legal-edu .edu-desc{
  margin-bottom: calc(0.4 * var(--size-xs));
}

#estimate .legal-edu .legal-wrapper{
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
}

#estimate .legal-edu .legal-wrapper > span{
  background-color: #FFA200;
  color: var(--color-wh);
  font-weight: 400;
  font-size: calc(0.8 * var(--font-xs));
  padding: calc(0.2 * var(--size-xs)) calc(0.4 * var(--size-xs));
  border-radius: calc(0.3 * var(--size-xs));
}

#estimate .legal-edu > p{
  font-size: var(--font-s);
  line-height: 140%;
  color: var(--color-hl);
  background-color: var(--color-hl-bg);
  padding: calc(0.8 * var(--size-xs)) calc(1.2 * var(--size-xs));
  border-radius: calc(0.6 * var(--size-xs));
  border: 1px solid var(--color-hl);
  margin-top: var(--size-xs);
}

#estimate .legal-edu > p > span{
  font-weight: 700;
}

#estimate .form-wrapper{
  margin-top: calc(1.6 * var(--size-xs));
}
/* ---------------- RESPONSIVE ---------------- */

@media screen and (max-width: 1024px) {
  :root {
    --title-1: 40px;
    --title-2: 34px;
    --title-3: 28px;

    --font-xl: 24px;
    --font-l: 20px;
    --font-m: 18px;
    --font-s: 16px;
    --font-xs: 14px;

    --size-xl: 96px;
    --size-l: 72px;
    --size-m: 54px;
    --size-s: 36px;
    --size-xs: 18px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --title-1: 28px;
    --title-2: 26px;
    --title-3: 24px;

    --font-xl: 21px;
    --font-l: 19px;
    --font-m: 17px;
    --font-s: 15px;
    --font-xs: 13px;

    --size-xl: 56px;
    --size-l: 56px;
    --size-m: 42px;
    --size-s: 28px;
    --size-xs: 16px;
  }

  #apply .apply-info{
    grid-template-columns: 1fr;
    row-gap: calc(0.6 * var(--size-xs));
  }

  #curriculum form > .curriculum-wrapper{
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  #estimate .safe-edu > .edu-wrapper{
    grid-template-columns: 1fr;
  }

  #estimate .legal-edu > div{
    grid-template-columns: 1fr;
    row-gap: var(--size-xs);
  }

  .section-wrapper{
    padding: 0 20px;
  }

}

@media screen and (max-width: 576px) {

  .section-wrapper{
    padding: 0 18px;
  }

  .section-title{
    font-size: var(--title-2);
  }

  .section-desc{
    font-size: 16px
  }

  #result form, #estimate .form-wrapper{
    padding: calc(1.4 * var(--size-xs));
    border-radius: 12px;
  }

  #result form .btn-wrapper, #estimate .form-wrapper .btn-wrapper{
    gap: 12px;
  }

  #result form .btn-wrapper > .next-btn, #estimate .form-wrapper .btn-wrapper > .next-btn{
    width: 100%;
  }

  #result form .btn-wrapper > .prev-btn, #estimate .form-wrapper .btn-wrapper > .prev-btn{
    font-size: var(--font-s);
    padding: calc(1.1 * var(--size-xs));
  }

  #result form .btn-wrapper > .next-btn, #estimate .form-wrapper .btn-wrapper > .next-btn{
    font-size: var(--font-s);
  }

  #estimate .edu-desc{
    font-size: 14px;
    line-height: 135%;
    margin-top: 8px;
    margin-bottom: 16px;
  }

  #estimate .edu-count > div:last-of-type > input{
    padding: 6px;
  }

  #estimate .edu-count{
    padding: 12px 16px;
  }

  #estimate .legal-edu > p{
    font-size: 14px;
    padding: 10px 16px;
    border-radius: 6px;
    margin-top: 12px;
  }

  #estimate .legal-edu > p > br{
    display: none;
  }

  #estimate .section-desc{
    margin-top: 10px;
    margin-bottom: 24px;
  }

  #estimate .form-wrapper{
    margin-top: var(--size-xs);
  }

  #result form p, #estimate .form-wrapper p{
    line-height: 135%;
  }

  #curriculum .curriculum-wrapper > div > h3{
    font-size: 16px;
    padding: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }

  #curriculum .curriculum-wrapper > div{
    border-radius: 12px;
  }

    #curriculum form .btn-wrapper{
      gap: var(--size-xs);
    }

  #curriculum form .btn-wrapper > .next-btn{
    width: 100%;
  }

  #curriculum form .btn-wrapper > .next-btn, #curriculum form .btn-wrapper > .prev-btn{
    font-size: var(--font-s);
    padding: calc(1.1 * var(--size-xs));
  }

  #apply .section-desc > br{
    display: none;
  }

  #apply .apply-info > div{
    padding: 20px 16px;
    border-radius: 12px;
  }
  #apply .apply-wrapper > p{
    font-size: 16px;
    margin-bottom: 20px;
  }

  #apply .apply-wrapper > p > br{
    display: none;
  }

  #apply .apply-wrapper{
    padding: 24px 16px;
    border-radius: 12px;
  }

  #apply .apply-wrapper > div{
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  #apply .apply-wrapper .individual-btn, #apply .apply-wrapper .group-btn, #apply .apply-wrapper .estimate-btn{
    font-size: var(--font-s);
  }

  #result .edu-info{
    padding: 20px 18px;
    border-radius: 12px;
  }

  #result .section-title, #business-index .section-title{
    margin-bottom: 12px;
  }

  #business-index .notice{
    font-size: 14px;
    padding: 12px;
  }

  #business-index .section-desc{
    margin-bottom: 14px;
  }

  #business-index form{
    padding: 24px;
    border-radius: 12px;
    gap: 20px;
  }

  #business-index form .input-wrapper div{
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
  }


  #business-index form > div > button{
    font-size: var(--font-s);
  }

  #business-index form > div > a{
    font-size: 14px;
  }

  .checkbox-custom span:before{
    top: 1px;
  }
}