/*fonts*/
@font-face {
  font-family: "KiwiMaru";
  src:
    url("/fonts/KiwiMaru-Light.woff2") format("woff2"),
    url("/fonts/KiwiMaru-Light.woff") format("woff"),
    url("/fonts/KiwiMaru-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/InstrumentSerif-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: Inter, sans-serif;
  font-feature-settings:
    "liga" 1,
    "calt" 1;
  /* fix for Chrome */
}

@supports (font-variation-settings: normal) {
  * {
    font-family: InterVariable, sans-serif;
  }
}

body {
  font-family: "Noto Sans KR", sans-serif;
  background: #f5f5f5;
  color: #333;
}

.page {
  max-width: 480px;
  margin: auto;
  background: white;
  padding: 20px;
}
.page_confirm{
  max-width: 380px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: .8rem;
  box-shadow: 0 5px 20px 5px rgb(166 177 201 / 19%);
}
.page_confirm img{
  width: 100%;    
  border-radius: 5px;
}

.content{margin-top: 80px;}

.page_confirm input{
  border: 1px solid #e5e8ed;
  background: #f9f9f9;
  height: 50px;
  position: relative;
  padding: 0 10px 0 35px;
}
.page_confirm .form-group{
  position: relative;
}
.page_confirm .form-group:before{
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 5px;
  z-index: 99999;
}
.fin:before{
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  left: 5px;
  z-index: 99999;
  transform: translate(0, -50%);
}
.fin.con1:before{
  background: url("../images/person.png");
}
.fin.con2:before{
  background: url("../images/phone.png");
}
.fin.con3:before{
  background: url("../images/email.png");
}
.page_confirm .form-group.con1:before{
  background: url("../images/person.png");
}
.page_confirm .form-group.con2:before{
  background: url("../images/phone.png");
  top: 53%;
}
.page_confirm .form-group.con3:before{
  background: url("../images/email.png");
  top: 53%;
}
.page_confirm input:hover{
  border:1px solid #5191f2;
}
.page_confirm input:focus {
  outline: none;
  border:1px solid #5191f2;
}
.page_confirm input::placeholder {
  color: #999;
  transition: none
}
.page_confirm input:focus::placeholder {
  opacity: 1;
}
.confirm_frm{
  margin-top: 20px;
}
.submit_btn{
  padding: 0 20px;
  width: 100%;
  background: #1143b3;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  height: 50px;
  margin-top: 20px;
  cursor: pointer;
}
.submit_btn:hover{
  background: #0a3083;
  transition: ease .2s;
}
.submit_btn:focus{
  background: #0a3083;
}
body.confirm{
  background: #e9edf5;
}
.fin{
  border: 1px solid #e5e8ed;
  background: #f9f9f9;
  width: 100%;
  height: 50px;
  position: relative;
  padding: 0 10px 0 35px;
  border-radius: 4px;
  font-size: 14px;
  color: #252525;
  display: flex;
  align-items: center;
  position: relative;
  font-weight: 600;
  font-size: 1rem;
}
.fin_qr{
  border: 1px solid #e5e8ed;
  background: #f9f9f9;
  width: 100%;
  position: relative;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  color: #252525;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.fin_text{
  text-align: center;
  font-weight: 600;
}
/* header */

.header {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  font-size: 28px;
  font-weight: 700;
}

.intro {
  font-size: 14px;
  color: #666;
  margin-top: 10px;
  line-height: 1.6;
}

/* form */

.form-group {
  margin-bottom: 12px;
  /* 16 */
}

.form-group>label {
  font-weight: 500;
  color: #494c59;
}

label {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
}

input,
select {
  width: 100%;
  height: 42px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0 10px 0 10px;
  font-size: 14px;
  color: #252525;
}

input::placeholder {
  color: #a6a5aa;
}

.mb_gap53 {
  margin-bottom: 2%;
}

/* 기본 placeholder */

input::placeholder {
  color: #999;
  transition: opacity 0.2s ease;
}

/* 커서 들어가면 placeholder 숨김 */

input:focus::placeholder {
  opacity: 0;
}

.address-row {
  display: flex;
  gap: 10px;
}

.email-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-search {
  width: 110px;
  background: #444;
  color: white;
  border: none;
  border-radius: 4px;
}

/* survey */

.survey {
  margin-top: 30px;
}

.survey-title-wrap {
  display: flex;
  margin-bottom: 15px;
}

.survey-title-point {
  width: 8px;
  background: #6880f6;
  border-radius: 0px 0 0 0px;
}

.survey-title {
  flex: 1;
  background: #eaeaea;
  padding: 10px 15px;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  border-radius: 0 0px 0px 0;
}

.survey-title .cou {
  font-family: "Instrument Serif", serif;
  font-size: 22px;
  margin-right: 4px;
}

/* survey 2*/
.survey-title-point2 {
  width: 8px;
  background: #6880f6;
  border-radius: 5px 0 0 5px;
}

.survey-title2 {
  flex: 1;
  background: #eaeaea;
  padding: 21px 15px;
  font-size: 17px;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  border-radius: 0px 28px 28px 0px;
}

.survey-title2 .cou {
  font-family: "Instrument Serif", serif;
  font-size: 21px;
}

.survey-item {
  margin-bottom: 20px;
}

.question {
  font-weight: 600;
  margin-bottom: 10px;
}

.question>.Required-selec {
  color: #f82020;
  margin-left: 3%;
  font-size: 14px;
}

.question>.Multiple-selec {
  color: #202bf8;
  margin-left: 1.5%;
}

.survey label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

/* privacy */

.privacy {
  margin-top: 30px;
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.privacy-box {
  border: 1px solid #ccc;
  padding: 12px;
  height: 120px;
  overflow-y: scroll;
  overflow-x: hidden;
  /* 가로 넘침 숨김 */
  font-size: 13px;
  background: #fafafa;
}

.privacy-box pre {
  white-space: pre-wrap;
  word-break: break-word;
}

.agree {
  margin-top: 10px;
  display: block;
  font-size: 14px;
}

/* submit */

.submit-area {
  margin-top: 30px;
  margin-bottom: 120px;
}

.submit-btn {
  width: 100%;
  height: 52px;
  background: #6880f6;
  color: white;
  border: none;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
}

/* 체크박스 icon svg */
.checked-svg {
  display: none;
}

.check-custom input:checked+.check-icon .checked-svg {
  display: block;
}

/*  모든 체크박스 변경 CSS */
input[type="checkbox"] {
  display: none;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

input:checked+.checkbox-box {
  background: url(images/check.svg);
  background-size: cover;
}

/*  체크박스 변경 CSS */

/* 체크 되었을 때 SVG 표시 */

.check-custom input:checked+.check-icon {
  background-image: url("data:image/svg+xml;utf8,<svg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'><rect width='40' height='40' fill='%236880F6'/></svg>");

  background-size: cover;
  border: none;
}

/* checkbox custom */

.checkbox-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 10px;
  font-size: 14px;
  min-height: 44px;
}

.checkbox-custom input {
  display: none;
}

.checkbox-box {
  position: relative;
  float: left;
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

/* 체크 아이콘 */

.check-icon {
  width: 40px;
  height: 40px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  display: none;
  align-items: center;
  justify-content: center;
}

/* 체크 상태 */

.checkbox-custom input:checked+.checkbox-box {
  background: #fff;
  /* SVG 뒤 흰색 배경 */
  border: none;
}

.checkbox-custom input:checked+.checkbox-box .check-icon {
  display: block;
  border: 0;
}

/* 기타 라디오 선택 시 표시 */
#route_other:checked~.other-input {
  display: block;
}

/*  라디오 버튼 SVG 변경 */
.radio-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  margin-left: 0.5%;
}

.radio-text {
  position: relative;
  font-family:
    "Kiwi Maru", "KiwiMaru", KiwiMaru, kiwi-maru, "Kiwi Maru Light", sans-serif !important;
  font-size: 16px;
  margin-left: 47px;
  padding-top: 1%;
}

.checkbox-text {
  position: relative;
  font-family:
    "Kiwi Maru", "KiwiMaru", KiwiMaru, kiwi-maru, "Kiwi Maru Light", sans-serif !important;
  font-size: 16px;
  line-height: 1.4;
  margin-left: 51px;
  padding-top: 1.5%;
}

.radio-custom input {
  display: none;
}

.radio-ui {
  width: 40px;
  height: 40px;
  position: relative;
}

/* 기본 라디오 */

.radio-default {
  width: 40px;
  height: 40px;
  border: 2px solid #ccc;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 0;
  left: 0;
}

/* SVG 아이콘 */

.radio-icon {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

/*
.other-input {
  visibility: hidden;
}
*/

/* 선택 상태 */

.radio-custom input:checked+.radio-ui .radio-default {
  display: none;
}

.radio-custom input:checked+.radio-ui .radio-icon {
  display: block;
}

.form-group.tc-b select {
  color: #252525;
  font-weight: 600;
}

/* 그리드 칼럼 나눔 2단 */
.form-section {}

/* 레이어 팝업 */
/* 전체 배경 */
.layer_wrap {
  position: fixed;
  inset: 10px;
  /* 상하좌우 10px */
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* 팝업 박스 */
.layer_inner {
  width: 100%;
  max-width: 800px;
  max-height: 100%;
  background: #fff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

/* 내용 스크롤 */
.layer_content {
  padding: 30px;
  overflow-y: auto;
  max-height: calc(100vh - 40px);
  /* 10px 여백 * 2 */
}

/* 닫기 버튼 */
.layer_close {
  position: absolute;
  top: 10px;
  right: 19px;
  font-size: 20px;
  border: none;
  background: none;
  cursor: pointer;
}

.layer_content pre {
  white-space: pre-wrap;
  /* 자동 줄바꿈 */
  word-break: keep-all;
  /* 한글 단어 기준 줄바꿈 */
}
@media (max-width: 768px){
  .content{padding: 0 10px;}
}
/*  반응형 추가 */
@media (min-width: 768px) {

  /* 수정 3차 */
  .question {
    padding-top: 9px;
  }

  /* checkbox custom */

  .checkbox-custom {
    min-height: 0px !important;
  }

  .checkbox-box {
    width: 24px;
    height: 24px;
  }

  /* 체크 아이콘 */

  .check-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  /*  라디오 버튼 SVG 변경 */
  .radio-custom {
    min-height: 0px !important;
  }

  .radio-text {
    margin-left: 33px;
    padding-top: 0%;
  }

  .checkbox-text {
    margin-left: 37px;
    padding-top: 0%;
  }

  .radio-ui {
    width: 24px;
    height: 24px;
  }

  /* 기본 라디오 */

  .radio-default {
    width: 24px;
    height: 24px;
  }

  .radio-icon {
    width: 24px;
    height: 24px;
  }

  /* 수정3차 end */
  .form-section {}

  .page {
    max-width: 100%;
    padding: 40px;
  }

  .logo {
    font-size: 32px;
  }

  @font-face {
    font-family: "KiwiMaru";
    src:
      url("/fonts/KiwiMaru-Light.woff2") format("woff2"),
      url("/fonts/KiwiMaru-Light.woff") format("woff"),
      url("/fonts/KiwiMaru-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Inter";
    src: url("/fonts/Inter-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Inter";
    src: url("/fonts/Inter-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Instrument Serif";
    src: url("/fonts/InstrumentSerif-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
}

@media (min-width: 1200px) {

  /* 수정 3차 */
  .question {
    padding-top: 9px;
  }

  /* checkbox custom */

  .checkbox-custom {
    min-height: 0px;
  }

  .checkbox-box {
    width: 24px;
    height: 24px;
  }

  /* 체크 아이콘 */

  .check-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
  }

  /*  라디오 버튼 SVG 변경 */
  .radio-custom {
    min-height: 0px;
  }

  .radio-text {
    margin-left: 33px;
    padding-top: 0%;
  }

  .checkbox-text {
    margin-left: 37px;
    padding-top: 0%;
  }

  .radio-ui {
    width: 24px;
    height: 24px;
  }

  /* 기본 라디오 */

  .radio-default {
    width: 24px;
    height: 24px;
  }

  .radio-icon {
    width: 24px;
    height: 24px;
  }

  /* 수정3차 end */
  .form-section {}

  .page {
    max-width: 960px;
  }

  .register-form {}

  .survey-title2 {
    background: #eaeaea;
    padding: 21px 100px 46px 100px;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    line-height: 22px;
    border-radius: 0px 28px 28px 0px;
  }

  .survey-title-point2 {
    background: #6880f6;
    padding: 21px 0px 85px 10px;
    font-size: 21px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
    float: left;
    height: auto;
  }

  .survey-title2>.cou {
    font-family:
      "Instrument Serif",
      Instrument Serif;
    font-size: 16px;
  }

  .privacy-box {
    font-size: 13px;
  }

  .survey,
  .privacy,
  .submit-area {
    grid-column: 1 / 3;
  }
}

.radio-custom {
  min-height: 44px;
}