/* --------------- PC modal start-------------- */
.modal_open_btn {
  cursor: pointer;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  display: flex;
  justify-content: center;
  align-items: center;

  background: rgba(0, 0, 0, 0.7);

  z-index: 9999999999;
}

.modal_iner {
  width: 60vw;
  background: #fff;

  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;

  border-radius: 2vw;
  padding: 2vw;
}

.modal {
  display: none;
}

.modal.on_modal {
  display: flex;
}

.modal_hd {
  display: flex;
  justify-content: center;
  align-items: center;

  font-size: 1.4vw;
  font-weight: 600;
  margin-bottom: 2vw;

  width: 100%;
}

.modal_body {
  width: 100%;
  height: 60vh;
  overflow-y: scroll;
  font-size: 0.8vw;
}


.modal_close {
  width: 100%;
  height: 2vw;
  background: #000;
  color: #fff;
  font-size: 0.9vw;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1vw;
  cursor: pointer;
  margin-top: 2vw;
  font-weight: 500;
}


/* --------------- MO modal start-------------- */
@media screen and (max-width:599px) {
  .modal_iner {
    width: 93vw;
    border-radius: 4vw;
    padding: 6vw;
  }

  .modal_hd {
    font-size: 5vw;
    margin-bottom: 6vw;
  }

  .modal_close {
    height: 8vw;
    font-size: 3.6vw;
    border-radius: 2.8vw;
    margin-top: 6vw;
  }

  .modal_body {
    font-size: 3.3vw;
  }
}


/* =============== 석촌 PC 푸터 시작 =============== */

a {
  color: inherit;
}

.footer {
  width: 100%;

  padding-top: 9.4vw;
  padding-bottom: 7.3vw;

  background: #fef4e4;
  color: #000;

  font-size: calc(var(--px) * 17);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.05vw;

  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.ft_logo {
  width: calc(var(--px) * 256);
  aspect-ratio: 256 / 44;

  display: flex;
  justify-content: center;
  align-items: center;
}

.ft_logo img {
  width: 100%;
}

.ft_line {
  width: 100%;
  height: 1px;
  background: #000;
  opacity: 0.1;

  margin-top: 1.8vw;

  display: flex;
  justify-content: center;
  align-items: center;
}

.ft_inner {
  width: 100%;

  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;

  padding-left: 12.65%;
  padding-right: 11.7%;

  margin-top: 2.8vw;
}

.ft_info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.ft_company {
  margin: 0;
  line-height: 1.53;
}

/* 회사정보 구분자 — PC: 원래 nbsp(+양옆 공백) 재현 / 모바일: hide */
.finfo_sep::before {
  content: ' \00a0\00a0\00a0 ';
}

.finfo_sep.finfo_sep2::before {
  content: ' \00a0\00a0 ';
}

.ft_copy {
  margin: 0;
  margin-top: 1.5vw;
  opacity: 0.5;
  line-height: 1.53;
}

.ft_privacy {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;

  text-decoration: underline;
  text-underline-offset: 20%;
}

.ft_privacy p {
  margin: 0;
}

.top_btn {
  position: fixed;
  width: calc(var(--px) * 106);
  aspect-ratio: 1;

  right: calc(var(--px) * 20);
  bottom: calc(var(--px) * 105);

  z-index: 99999;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.top_btn.on {
  opacity: 1;
  visibility: visible;
}

.top_btn img {
  width: 100%;
}

/* =============== 석촌 PC 푸터 끝 =============== */


/* =============== 석촌 PC 퀵바 시작 =============== */

.contact_service {
  position: fixed;
  z-index: 99999999;
  left: 0;
  bottom: 0;

  width: 100%;
  height: calc(var(--px) * 84);

  border-top: 1px solid #000;
  background: #133b94;

  display: flex;
  justify-content: center;
  align-items: center;

  gap: calc(var(--px) * 20);
}

.quick_logo {
  width: calc(var(--px) * 211);
  aspect-ratio: 211 / 36;

  display: flex;
  justify-content: center;
  align-items: center;
}

.quick_logo img {
  width: 100%;
}

.quick_form {
  display: flex;
  justify-content: center;
  align-items: center;

  gap: calc(var(--px) * 4);
}

.quick_input {
  width: calc(var(--px) * 204);
  height: calc(var(--px) * 47);

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff;
  font-size: calc(var(--px) * 17);
  font-weight: 400;
  text-align: center;

  box-sizing: border-box;
}

.quick_input::placeholder {
  color: #fff;
  opacity: 0.9;
}

.quick_submit {
  width: calc(var(--px) * 196);
  height: calc(var(--px) * 47);

  background: #d0161b;
  color: #fff;

  font-size: calc(var(--px) * 17);
  font-weight: 600;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
}

.quick_submit p {
  margin: 0;
}

.quick_right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;

  gap: calc(var(--px) * 6);
}

.quick_call {
  display: flex;
  justify-content: center;
  align-items: center;

  color: #fff;
  font-size: calc(var(--px) * 25);
  font-weight: 900;
  letter-spacing: -0.02vw;
}

.quick_call p {
  margin: 0;
}

.quick_agree {
  display: flex;
  justify-content: center;
  align-items: center;

  color: #fff;
  font-size: calc(var(--px) * 15);
  font-weight: 400;
}

.quick_check {
  -webkit-appearance: none;
  appearance: none;

  display: flex;
  justify-content: center;
  align-items: center;

  width: calc(var(--px) * 15);
  height: calc(var(--px) * 15);

  border: 1px solid #fff;
  background: transparent;

  margin: 0 calc(var(--px) * 6) 0 0;
  flex-shrink: 0;
  cursor: pointer;
}

.quick_check:checked {
  background: #fff;
}

.quick_check:checked::before {
  content: "";
  width: calc(var(--px) * 5);
  height: calc(var(--px) * 10);
  border: solid #d0161b;
  border-width: 0 calc(var(--px) * 2) calc(var(--px) * 2) 0;
  transform: translateY(-13%) rotate(45deg);
}

.quick_agree_txt {
  margin: 0;
  cursor: pointer;
}

.quick_call_ico {
  width: 1.146vw;
  aspect-ratio: 1;
}

/* =============== 석촌 PC 퀵바 끝 =============== */


/* =============== 석촌 모바일 푸터 + 퀵바 시작 =============== */
@media screen and (max-width: 599px) {

  .footer {
    padding: 17vw 4vw 28vw;

    font-size: 3.3vw;
    line-height: 1.7;

    text-align: center;
    word-break: keep-all;

    align-items: center;
  }

  .ft_logo {
    width: 42vw;
  }

  .ft_line {
    margin-top: 5vw;
  }

  .ft_inner {
    flex-direction: column;
    align-items: center;

    padding: 0;
    margin-top: 6vw;
    row-gap: 4vw;
  }

  .ft_info {
    align-items: center;
    order: 2;
  }

  .ft_company,
  .ft_copy {
    font-size: 3.3vw;
    line-height: 1.7;
  }

  .ft_copy {
    margin-top: 4vw;
    font-size: 3.1vw;
  }

  /* 회사정보: 항목당 한 줄, 구분자/PC줄바꿈 br 숨김 */
  .finfo_part {
    display: block;
  }

  .finfo_sep,
  .finfo_br {
    display: none;
  }

  .ft_privacy {
    order: 1;
    font-size: 3.6vw;
    font-weight: 600;
  }

  .top_btn {
    width: 13vw;
    right: 3vw;
    bottom: 22vw;
  }

  /* 퀵바 */
  .contact_service {
    height: auto;
    box-sizing: border-box;

    flex-wrap: wrap;
    justify-content: center;
    align-items: center;

    padding: 3vw 2vw 1vw;
    gap: 2vw;
  }

  .quick_logo {
    display: none;
  }

  .quick_right {
    order: 1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    width: 100%;
  }

  .quick_call {
    font-size: 5vw;
    margin-left: 1vw;
  }

  .quick_agree {
    font-size: 3.3vw;
    margin-right: 1vw;
  }

  .quick_check {
    width: 3.9vw;
    height: 3.9vw;
    margin-right: 1.5vw;
  }

  .quick_check:checked::before {
    width: 1.3vw;
    height: 2.4vw;
    border-width: 0 0.45vw 0.45vw 0;
  }

  .quick_form {
    order: 2;

    width: 100%;
    column-gap: 1.2vw;
  }

  .quick_input {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: 7.9vw;

    font-size: 3.3vw;
    border-radius: 0;
  }

  .quick_input::placeholder {
    font-size: 3.2vw;
  }

  .quick_submit {
    flex: 1 1 0;
    width: auto;
    height: 7.9vw;

    font-size: 3.5vw;
  }

  .quick_submit p {
    display: none;
  }

  .quick_submit::after {
    content: "문의하기";
  }

  .quick_call_ico {
    width: 4.2vw;
    margin-right: 0.4vw;
  }
}

/* =============== 석촌 모바일 푸터 + 퀵바 끝 =============== */