* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Pretendard", sans-serif;
}
#container {
  background: #fff;
  padding-bottom: 100px;
}

a {
  text-decoration: none;
  color: inherit;
}

.form-wrapper {
  max-width: 1436px;
  margin: 0 auto;
  padding: 70px 1.25rem;
}

/* 제목 영역 */
.title-area {
  text-align: center;
  margin: 70px 0 60px;
}
.title-area h2 {
  font-size: 36px;
  font-weight: 700;
  color: #070707;
  margin-bottom: 10px;
}
.title-area p {
  /* font-size: 20px; */
  font-size: clamp(14px, 1.3vw, 20px);
}

/* 메인 레이아웃 (2단 구성) */
section.contents {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  /* align-items: flex-start; */
}
.form-section {
  max-width: 651px;
  flex: 1;
  margin-top: 50px;
}
.agree-section {
  flex: 1;
}

/* 입력 폼 타이틀 */
h3 {
  font-size: 25px;
  /* color: #f05566; */
  /* border-bottom: 1px solid #000000; */
  padding-bottom: 10px;
}

.kofurn_h3 {
  color: #184b97;
}

/* 가로 나열 레이아웃 핵심 */
.input_row {
  display: flex;
  padding: 25px 0;
  border-bottom: 1px solid #d7d7d7;
  align-items: center;
}
.input_row:last-child {
  border: 0;
}
.label-title {
  width: 140px;
  /* font-size: 20px; */
  font-size: clamp(18px, 1.3vw, 20px);
  font-weight: 400;
  color: #333;
}
.Address,
.input_row:nth-of-type(8),
.VSource {
  align-items: flex-start;
}
.label-title .requried {
  color: #da1f3d;
  margin-left: 3px;
  font-size: 25px;
  font-weight: 400;
}

.label-title .kofurn_requried {
  color: #184b97;
}

.label-title .sub-txt {
  display: block;
  font-size: 15px;
  color: #666666;
  font-weight: 400;
  margin-top: 4px;
}
.input-cont {
  flex: 1;
}

/* 입력 요소 스타일 */
input[type="text"] {
  width: 100%;
  height: 58px;
  border: 1px solid #d7d7d7;
  padding: 0 15px;
  border-radius: 4px;
  background: #fff;
}
.input100 {
  width: 100%;
}
.mt-10 {
  margin-top: 10px;
}

/* 휴대폰/주소 그룹 */
.mobile-group {
  display: flex;
  gap: 10px;
}
.mobile-group input {
  flex: 1;
  text-align: center;
}
.notice {
  /* font-size: 15px; */
  font-size: clamp(12px, 1vw, 15px);
  color: #666666;
  margin-top: 8px;
}

.address-group {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.address-group input {
  width: 120px;
}
.btn-gray {
  background: #888;
  color: #fff;
  font-size: 16px;
  border: none;
  padding: 0 20px;
  border-radius: 4px;
  cursor: pointer;
}

/* 라디오 & 체크박스 그리드 */
.flex-row {
  display: flex;
  gap: clamp(4px, 2vw, 30px);
}
.grid-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px 10px;
}
.grid-checks.path {
  grid-template-columns: repeat(4, 1fr);
}

/* 체크박스/라디오 커스텀 디자인 */
.check_area,
.radio_area {
  display: flex;
  align-items: center;
  /* font-size: 16px; */
  font-size: clamp(14px, 1.1vw, 16px);
  color: #555;
  cursor: pointer;
}
.agree-box label {
  color: #222222;
}
.check_area input,
.radio_area input {
  display: none;
}
.check_area span,
.radio_area span {
  width: 18px;
  height: 18px;
  border: 1px solid #ccc;
  margin-right: 8px;
  position: relative;
  display: inline-block;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

/* .check_area input:checked + span {  border-color: #da1f3d; } */
.check_area input:checked + span::after {
  content: "✓";
  color: #f05566;
  position: absolute;
  left: 2px;
  top: -1px;
}
.radio_area input:checked + span::after {
  content: "✓";
  position: absolute;
  left: 2px;
  top: -1px;
  color: #f05566;
}

/* 오른쪽 약관 영역 */
.agree-box {
  max-width: 718px;
  background: #fdf2f3;
  padding: 5.5%;
  border-radius: 15px;
}

.kofurn_agree-box {
  background: #e4f0f9;
}

.agree-box h3 {
  margin-bottom: 25px;
}
.policy-viewer {
  height: 350px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  overflow-y: auto;
  font-size: 16px;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.6;
  color: #666;
  margin-bottom: 15px;
  border-radius: 5px;
}
.policy-viewer.short {
  height: 80px;
  overflow-y: hidden;
}

.mt-40 {
  margin-top: 40px !important;
}
.agree-box span {
  margin-left: 5px;
  background: #fff;
}

/* 하단 버튼 */
.bottom-btns {
  text-align: center;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.bottom-btns button {
  padding: 15px 20px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  cursor: pointer;
}

.btn-submit {
  background: #f05566;
  color: #fff;
  border: none;
}

.kofurn_btn-submit {
  background-color: #184b97;
}

.btn-back {
  background: #f1f1f1;
  color: #4f4f4f;
  border: 1px solid #e6e6e6;
}

/* group 시작 */
.group-title-area {
  margin-bottom: 40px;
}
.group-contents {
  display: flex;
  justify-content: center;
}

.btn-group-submit {
  background-color: #f05566;
  height: 80px;
  border-radius: 20px;
  padding: 20px clamp(20px, 12.8vw, 175px);
  border: 0;
  margin-top: 60px;
  align-items: center;
  cursor: pointer;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 600;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.kofurn_btn-group-submit {
  background-color: #184b97;
}

.btn-group-submit a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.group-box {
  max-width: 638px;
  padding: 0;
  background: none;
}

/* 파일 첨부 전체 영역 */
.file-upload-area {
  margin: 30px 0 0;
  padding-bottom: 0;
  flex-direction: column;
  align-items: flex-start;
}

.file-title-group {
  margin-bottom: 15px;
}

.file-sub-text {
  font-size: 15px;
  color: #666;
  margin-top: 5px;
}

/* 파일 선택 박스 컨테이너 */
.file-select-box {
  max-width: 400px;
  min-width: 50px;
  height: 42px;
  display: flex;
  align-items: center;
  max-width: 500px; /* 적절한 너비 설정 */
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden; /* 버튼과 입력창의 경계를 깔끔하게 */
}

/* 왼쪽 '파일선택' 버튼 스타일 */
.btn-file-select {
  display: inline-block;
  background-color: #a3a3a3; /* 이미지 속 회색 */
  padding: 12px 20px;
  font-size: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  height: 100%;
}

.btn-file-select p {
  color: #fff;
}

.btn-file-select:hover {
  background-color: #8e8e8e;
}

#groupFile {
  border: 0;
}

/* 파일명 표시창 스타일 */
.file-name-input {
  flex: 1;
  border: none;
  padding: 12px 15px;
  font-size: 14px;
  color: #333;
  outline: none;
  background-color: #fff;
}

/* 실제 input은 숨김 */
.hidden-file-input {
  display: none;
}

/* 하단버튼 */
.bottom-notice {
  margin: 15px 0 0;
  text-align: center;
  line-height: 1.4;
}

.bottom-notice p {
  font-size: 15px;
  color: #666;
}

.bottom-notice p:last-child {
  color: #888;
  font-size: 14px;
}
/* group 끝 */

/* 반응형 모바일 (1125px 이하) */
@media (max-width: 1125px) {
  section.contents {
    grid-template-columns: 1fr;
    /* flex-direction: column; */
    align-items: center;
  }
  .form-section {
    /* order: 2; */
    margin: 0 auto;
  }
  .input_row {
    flex-direction: column;
    width: 100%;
  }
  .input_row .input-cont {
    width: 100%;
  }
  .label-title {
    width: 100%;
    margin-bottom: 18px;
  }
  .grid-checks,
  .grid-checks.path {
    grid-template-columns: repeat(2, 1fr);
  }
  .agree-section {
    width: 100%;
    order: 1;
    justify-items: center;
  }

  .flex-row {
    flex-direction: column;
  }

  .bottom-btns {
    flex-direction: column;
  }
  .btn-submit,
  .btn-back {
    width: 100%;
  }
}



.section_timer{
  height: 500px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.section_timer .timer_text{
  position: relative;
  z-index: 999;
  text-align: center;
  color: #fff;
}
.section_timer .timer_text h3{
  font-size: 25px;
}
.section_timer .timer_text .p{
  font-size: 16px;
  margin-top: 5px;
}
.section_timer .timer_box{
  padding: 0 20px;
}
.section_timer .timer_box::after{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/images/common/sofurn_timer.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
}
.section_timer .timer_box.ko::after{
  background: url("/images/common/kofurn_timer.jpg") no-repeat;
  background-size: cover;
  background-position: center;
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.btn_box{
  text-align: center;
  margin-top: 30px;
}
.btn.a{
  padding: 8px 20px;
}
.btn.a::after{
  background-image: url(/images/common/vector.png);
  width: 7px;
  height: 11px;
}
.day_box{
  width: 20vw;
  max-width: 174px; 
  aspect-ratio: 1 / 1; 
  height: auto; 
  border-radius: 50%; 
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.day_box p{
  font-weight: 700;
  font-size: 60px;
  color: #fff;
  font-family: 'GmarketSansBold';
  /* padding-top: 10px; */
  /* font-weight: 300; */
}
.timer_text.two{
  margin-top: 40px;
  display: flex;
  color: #fff;
  align-items: center;
}
.day{
  margin-top: 10px;
  font-size: 16px;
}
.timer_day{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 40px;
}
.timer_day:last-of-type,.dis_none:last-of-type{
  margin-right: 0;
}
.dis_none{
  display: flex;
}
.dis_none{
  margin-right:40px ;
}
@media (max-width: 1259px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (max-width: 1000px){
  .timer_day,.dis_none{
    margin-right: 20px;
  }
  .day_box p{
    font-size: 3.5em;
  }
}
@media (max-width: 923px) {
  .card-grid {
    grid-template-columns: 1fr;
    gap: 100px;
  }
}
@media (max-width: 768px){
.dis_none{
  display: flex;
  margin-right: 0;
}
.timer_text.two{
  flex-direction: column;
}
.dis_none:last-of-type{margin-top: 10px;}
.day_box{width: 110px;}
.day_box p{font-size: 2.5em;}
.section_timer .timer_text h3{font-size: 20px;}
.section_timer .timer_text .p{font-size: 14px;}
/* .timer_text.own{
    background: #ffffffb3;
    border-radius: 10px;
    padding: 10px 20px;
} */
.section_timer .timer_box::after{
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("/images/common/sofurn_timer.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}
.section_timer .timer_box.ko::after{
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("/images/common/kofurn_timer.jpg") no-repeat;
  background-size: cover;
  background-position: center;
}
/* .timer_day{margin-right: 0;} */
}


.btn {
  padding: 8px 14px;
  border-radius: 20px;
  border: none;
  background: #fff;
  font-weight: 400;
  cursor: pointer;
  font-size: clamp(14px, 1.1vw, 16px);
  color: #555555;
  align-items: center; /* 수직(위아래) 중앙 정렬 */
  justify-content: center;
  display: inline-flex;
  gap: 6px;
  position: relative;
  z-index: 999;
}

.btn::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("/images/common/solar_arrow-up-linear.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* 호버 시 효과 (선택 사항) */
.btn:hover {
  background-color: #db4c59;
  border-color: #999;
  color: #fff;
}