@charset "utf-8";

.survey__form--wrap .form__title-wrap {
  margin-bottom: 0;
}
.survey__form--wrap .form__title-wrap .form__title {
  padding: 2.4rem;
  font-size: 1.8rem;
  line-height: 1.33;
  margin-bottom: 0;
}

.survey__form--contents {
  counter-reset: my-counter;
  padding: 0 2.4rem 20rem;
}

.survey__form--wrap .form__item {
  margin-bottom: 2.4rem;
}

.survey__form--wrap .form__item .form__input-name {
  counter-increment: my-counter;
  position: relative;
}
.survey__form--wrap .form__item .form__input-name::before {
  content: counter(my-counter) ".";
  position: relative;
  margin-right: .6rem;
  left: 0;
  top: 0;
}




.survey__form--wrap .form__input-name {
  margin: 0 0 1.6rem;
}

.survey__form--wrap .form__input-name .--required {
  color: #FF3B00;
}


.form__blog--web {
  display: flex;
}

.form__blog--default {
  flex-shrink: 0;
  margin-right: .8rem;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
  color: #444;
}
.form__blog--web .form__input-box {
  padding: 1rem 1.6rem;
}

.survey__form--wrap .text-area__box {
  padding: 1rem 1.6rem;
}

/* ========== radio, checkbox 그리드 공통========== */
.form__select--radio,
.form__select--checkbox {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem 4.7rem;
}

.form__select--radio.--cols-2,
.form__select--checkbox.--cols-2 {
  grid-template-columns: repeat(2, minmax(0,1fr));
}

.form__select--radio .radio__label,
.form__select--checkbox .checkbox__label {
  margin: 0;
  width: 100%;
}

.radio--text,
.checkbox--text {
  word-break: break-word;
}

/* ========== radio button - 텍스트형 ========== */
.radio__label {
  position: relative;
  display: inline-block;
  margin-bottom: 1.6rem;
  display: flex;
}
.radio__label:last-child {
  margin-bottom: 0;
}
.input--radio {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  appearance: none;
  border: .3rem solid #ececec;
  border-radius: 50%;
  background: #fff;
  outline: none;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: .8rem;
  margin-top: .2rem;
  margin-left: .2rem;
}

.input--radio::before {

  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #222;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.input--radio:checked::before {
  transform: scale(1);
}

.radio--text {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}



/* ========== checkbox - 텍스트형 ========== */
.checkbox__label {
  margin-bottom: 1.6rem;
}
.checkbox__label:last-child {
  margin-bottom: 0;
}

.checkbox__label label {
  position: relative;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #222;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2857;
}

.checkbox__label label:before {
  flex-shrink: 0;
  content: "";
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  margin-right: .8rem;
  background: url(../../images/icon/ico_check_default.svg) center center / 100% 100% no-repeat;
}

.checkbox__label input:checked + label::before {
  background: url(../../images/icon/ico_check_press.svg) center center / 100% 100% no-repeat;
}

.checkbox--text {
  font-size: 1.6rem;
  color: #222;
  line-height: 1.5;
  font-weight: 400;
}


/* ========== radio, checkbox - 이미지형 ========== */
/* 이미지 박스 */
.survey--image {
  width: 9.6rem;
  height: 11rem;
  background-color: #F4F7FB;
  background-color: #FFF;
  border: .1rem solid #F2F2F2;
  border-radius: .4rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 내부 img 처리 */
.survey--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
