.sv__notice {
  background: url(/assets/img/sub/notice_visual.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

section {
  padding: 150px 0 100px;
}

/* write.skin.php */
.inquiry form {
  border-top: 1px solid #e5e5e5;
  padding: 26px 0;
}

.inquiry__row {
  display: flex;
  margin-bottom: 26px;
}

.inquiry__row label {
  display: block;
  width: 200px;
  padding: 16px 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.inquiry__row label strong {
  font-weight: 700;
  color: #845e42;
}

.inquiry__row input[type="text"] {
  flex: 0.5;
}

.inquiry__row textarea {
  flex: 1;
}

.inquiry__row input[type="text"],
.inquiry__row textarea {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 1.125rem;
  font-family: inherit;
}

.inquiry__row input:focus,
.inquiry__row textarea:focus {
  outline: 0;
}

.inquiry__row input::placeholder,
.inquiry__row textarea::placeholder {
  color: #e5e5e5;
  opacity: 1;
  font-weight: 400;
}


.inquiry__row textarea {
  height: 300px;
  resize: none;
}

.inquiry__file {
  flex: 0.5;
}

.inquiry__file__input {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* 전체 영역 */
.inquiry__file__wrap {
  position: relative;
  width: 100%;
}

/* 클릭 영역 */
.inquiry__row label.inquiry__file__btn {
  flex: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  width: 100% !important;
  padding: 0;

  border: 1px solid #ddd;
  border-radius: 16px;
  cursor: pointer;

  transition: border-color 0.2s ease;
}

.inquiry__file__btn:hover {
  border-color: #000;
}

/* + 아이콘 */
.inquiry__file__icon {
  font-size: 34px;
  font-weight: 300;
  color: #7a4a2e;
  /* 갈색 계열 */
  margin-left: 10px;
  transform: translateY(-1px);
}

/* 오른쪽 버튼 */
.inquiry__file__text {
  margin-left: auto;
  padding: 18px 26px;

  background: #000;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 400;

  border-radius: 14px;
  white-space: nowrap;
}

/* 설명 문구 */
.inquiry__file__desc {
  font-size: 0.875rem;
  font-weight: 500;
  color: #666666;
  margin-top: 20px;
}

.inquiry__file__desc span {
  color: #845e42;
}

.inquiry__file__filename {
  margin-top: 6px;
  font-size: 13px;
  color: #444;
}

.btn_confirm {
  border-top: 1px solid #e5e5e5;
  padding-top: 50px;
  text-align: center;
}

.btn_confirm button {
  background-color: #845e42;
  color: #ffffff;
  padding: 20px 60px;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 10px;
}

/* 전체 캡챠 영역 */
#captcha.captcha {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
}

#captcha legend {
  display: none;
}

/* 캡챠 이미지 */
#captcha_img {
  width: 120px;
  height: 48px;
  object-fit: contain;
}

#captcha_mp3,
#captcha_reload {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  text-indent: -9999px;
  /* 글자 숨김 */
  overflow: hidden;
}

#captcha_mp3:hover,
#captcha_reload:hover {
  background: #f5f5f5;
}

#captcha_mp3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/common/icon_volumeup.svg') no-repeat center;
  background-size: 18px 18px;
}

#captcha_reload::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/assets/img/common/icon_refresh.svg') no-repeat center;
  background-size: 18px 18px;
}

#captcha_info {
  font-size: 1.125rem;
  color: #666666;
}

/* write.skin.php 반응형 추가 */

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

  /* 1440px 이하는 기본 스타일 유지 또는 미세 조정 가능 */
  section {
    padding: 140px 0 100px;
  }
}

@media screen and (max-width: 1280px) {
  section {
    padding: 100px 0 100px;
  }

  .inquiry__row label {
    width: 160px;
    /* 라벨 너비 살짝 축소 */
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 1024px) {
  section {
    padding: 80px 0 90px;
  }

  /* 테블릿 가로: 입력창들의 비율 조정 */
  .inquiry__row input[type="text"],
  .inquiry__file {
    flex: 1;
    /* 가로가 좁아지므로 0.5에서 1로 확장 */
  }
}

@media screen and (max-width: 768px) {
  section {
    padding: 60px 0 90px;
  }

  /* 테블릿 세로 / 모바일 상단 */
  .inquiry__row {
    flex-direction: column;
    /* 세로 배치 */
    margin-bottom: 20px;
  }

  .inquiry__row label {
    width: 100% !important;
    padding: 0 0 10px 0;
    /* 아래쪽 여백으로 변경 */
    font-size: 1.1rem;
  }

  .inquiry__row input[type="text"],
  .inquiry__row textarea {
    width: 100%;
    padding: 12px 15px;
    /* 패딩 축소 */
    font-size: 1rem;
  }

  .inquiry__row textarea {
    height: 350px;
    /* 모바일에서 높이 너무 크지 않게 조정 */
  }

  .inquiry__file {
    width: 100%;
  }

  .inquiry__file__text {
    padding: 14px 20px;
    font-size: 1rem;
  }

  /* 캡챠 영역 조정 */
  #captcha.captcha {
    flex-wrap: wrap;
    /* 캡챠가 넘치면 줄바꿈 */
  }

  .btn_confirm {
    padding-top: 30px;
  }

  .btn_confirm button {
    width: 100%;
    /* 버튼을 가로로 꽉 차게 */
    padding: 16px 0;
    font-size: 1.125rem;
  }
}

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

  /* 소형 모바일 */
  .inquiry form {
    padding: 15px 0;
  }

  .inquiry__file__icon {
    font-size: 24px;
    /* 아이콘 크기 축소 */
  }

  .inquiry__file__text {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  #captcha_img {
    width: 100px;
    /* 캡챠 이미지 크기 조정 */
    height: 40px;
  }

  #captcha_mp3,
  #captcha_reload {
    width: 40px;
    height: 40px;
  }

  #captcha_info {
    font-size: 0.9rem;
    width: 100%;
    /* 캡챠 안내 문구 줄바꿈 유도 */
    margin-top: 5px;
  }
}

/* 캡챠 오디오 재생바 숨기기 */
#captcha audio {
  display: none !important;
  width: 0;
  height: 0;
  visibility: hidden;
}

/* 추가로 발생할 수 있는 내부 input 박스 너비 문제 방지 */
#captcha_key {
  flex: 1;
  /* 입력창이 남은 공간을 다 채우도록 */
  min-width: 100px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
}