.sub-tabs {
  background: #ffffff;
  border-bottom: 0.0625rem solid #e1e1e4;
}
.sub-tabs .container {
  height: 3.75rem;
  display: flex;
  align-items: center;
}
@media only screen and (max-width: 767px) {
  .sub-tabs .container {
    height: 3.125rem;
  }
}
.sub-tabs .tabs-wrap {
  display: flex;
  gap: 0.25rem;
  height: 100%;
}
.sub-tabs .tab-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.625rem;
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: normal;
  color: #505050;
  text-decoration: none;
  border-bottom: 0.125rem solid transparent;
  transition: all 0.2s ease;
}
@media only screen and (max-width: 767px) {
  .sub-tabs .tab-item {
    font-size: 0.875rem;
  }
}
.sub-tabs .tab-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}
.sub-tabs .tab-item:hover:not(.active) {
  color: var(--font1);
}

.inquiry-content {
  padding: 5rem 0 10rem;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .inquiry-content {
    padding: 3.75rem 0 7.5rem;
  }
}
@media only screen and (max-width: 767px) {
  .inquiry-content {
    padding: 2.5rem 0 5rem;
  }
}
.inquiry-content .page-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
@media only screen and (max-width: 767px) {
  .inquiry-content .page-header {
    margin-bottom: 2rem;
  }
}
.inquiry-content .page-title {
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
  line-height: 1.4;
  color: var(--font1);
  margin: 0;
}
@media only screen and (max-width: 1279px) and (min-width: 768px) {
  .inquiry-content .page-title {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 767px) {
  .inquiry-content .page-title {
    font-size: 1.75rem;
  }
}
.inquiry-content .page-description {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--font2);
}
.inquiry-content .page-description p {
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .inquiry-content .page-description {
    font-size: 0.875rem;
  }
}

.inquiry-form-container {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 1.25rem 0;
}
@media only screen and (max-width: 767px) {
  .inquiry-form-container {
    padding: 1rem 0;
  }
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media only screen and (max-width: 767px) {
  .form-section {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

.form-row {
  display: flex;
  gap: 2.5rem;
}
@media only screen and (max-width: 767px) {
  .form-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.form-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.form-field label {
  font-size: 1.125rem;
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  color: var(--font1);
}
@media only screen and (max-width: 767px) {
  .form-field label {
    font-size: 1rem;
  }
}
.form-field input[type=text],
.form-field input[type=tel],
.form-field input[type=email] {
  height: 2.875rem;
  padding: 0.625rem 0;
  border: none;
  border-bottom: 1px solid var(--line2);
  border-radius: 0;
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--font1);
  background: #ffffff;
  transition: border-color 0.2s ease;
}
.form-field input[type=text]::-moz-placeholder, .form-field input[type=tel]::-moz-placeholder, .form-field input[type=email]::-moz-placeholder {
  color: var(--font3);
}
.form-field input[type=text]::placeholder,
.form-field input[type=tel]::placeholder,
.form-field input[type=email]::placeholder {
  color: var(--font3);
}
.form-field input[type=text]:focus,
.form-field input[type=tel]:focus,
.form-field input[type=email]:focus {
  outline: none;
  border-bottom-color: var(--primary);
}
@media only screen and (max-width: 767px) {
  .form-field input[type=text],
  .form-field input[type=tel],
  .form-field input[type=email] {
    font-size: 0.875rem;
    height: 2.5rem;
  }
}

.input-with-unit {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line2);
  height: 2.875rem;
  padding: 0.625rem 0;
  transition: border-color 0.2s ease;
}
.input-with-unit:focus-within {
  border-bottom-color: var(--primary);
}
.input-with-unit input {
  flex: 1;
  border: none;
  padding: 0;
  height: auto;
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--font1);
}
.input-with-unit input::-moz-placeholder {
  color: var(--font3);
}
.input-with-unit input::placeholder {
  color: var(--font3);
}
.input-with-unit input:focus {
  outline: none;
  border: none;
}
@media only screen and (max-width: 767px) {
  .input-with-unit input {
    font-size: 0.875rem;
  }
}
.input-with-unit .unit-label {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--font1);
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  .input-with-unit .unit-label {
    font-size: 0.875rem;
  }
}
@media only screen and (max-width: 767px) {
  .input-with-unit {
    height: 2.5rem;
  }
}

.form-field-full {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-field-full label {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  color: var(--font1);
}
@media only screen and (max-width: 767px) {
  .form-field-full label {
    font-size: 1rem;
  }
}
.form-field-full textarea {
  padding: 0.625rem 1rem;
  border: 1px solid var(--line2);
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--font1);
  resize: vertical;
  min-height: 7.5rem;
  transition: border-color 0.2s ease;
}
.form-field-full textarea::-moz-placeholder {
  color: var(--font3);
}
.form-field-full textarea::placeholder {
  color: var(--font3);
}
.form-field-full textarea:focus {
  outline: none;
  border-color: var(--primary);
}
@media only screen and (max-width: 767px) {
  .form-field-full textarea {
    font-size: 0.875rem;
    min-height: 6rem;
  }
}

.file-upload-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.file-upload-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1.5;
}
.file-upload-header label {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  color: var(--font1);
}
@media only screen and (max-width: 767px) {
  .file-upload-header label {
    font-size: 1rem;
  }
}
.file-upload-header .file-info {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  color: var(--font3);
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .file-upload-header .file-info {
    font-size: 0.875rem;
  }
}

.file-upload-control {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
@media only screen and (max-width: 767px) {
  .file-upload-control {
    flex-direction: column;
  }
}
.file-upload-control .file-list-area {
  flex: 0 0 25rem;
  min-height: 2.875rem;
  border-bottom: 1px solid var(--line2);
  display: flex;
  flex-direction: column;
  padding-bottom: 0.3125rem;
}
@media only screen and (max-width: 767px) {
  .file-upload-control .file-list-area {
    flex: 1;
    width: 100%;
  }
}
.file-upload-control .file-list-area .file-placeholder {
  font-size: 1rem;
  font-weight: var(--fw-regular);
  color: var(--font3);
  line-height: 1.5;
  margin: auto 0;
}
@media only screen and (max-width: 767px) {
  .file-upload-control .file-list-area .file-placeholder {
    font-size: 0.875rem;
  }
}
.file-upload-control .file-list-area:has(.file-list:not(:empty)) .file-placeholder {
  display: none;
}
.file-upload-control .file-upload-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  height: 2.875rem;
  background: #000000;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.file-upload-control .file-upload-btn:hover {
  background: #333333;
}
@media only screen and (max-width: 767px) {
  .file-upload-control .file-upload-btn {
    width: 100%;
  }
}

.file-list {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.3125rem;
  padding: 0.3125rem;
  border: 0.0625rem solid #E1E1E4;
  border-radius: 0.625rem;
}
.file-item .file-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.file-item .file-info svg {
  flex-shrink: 0;
}
.file-item .file-info .file-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
  flex: 1;
}
.file-item .file-info .file-details .file-name {
  font-size: 0.875rem;
  font-weight: var(--fw-medium);
  color: var(--font1);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media only screen and (max-width: 767px) {
  .file-item .file-info .file-details .file-name {
    font-size: 0.8125rem;
  }
}
.file-item .file-info .file-details .file-size {
  font-size: 0.75rem;
  font-weight: var(--fw-regular);
  color: var(--font3);
  line-height: 1.4;
}
@media only screen and (max-width: 767px) {
  .file-item .file-info .file-details .file-size {
    font-size: 0.6875rem;
  }
}
.file-item .file-remove {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.file-item .file-remove:hover svg path {
  stroke: var(--error);
}
.file-item .file-remove svg {
  width: 1rem;
  height: 1rem;
}
@media only screen and (max-width: 767px) {
  .file-item {
    padding: 0.375rem 0;
  }
}

.privacy-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media only screen and (max-width: 767px) {
  .privacy-section {
    margin-top: 1.5rem;
  }
}
.privacy-section .privacy-title {
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  color: var(--font1);
  margin: 0;
}
@media only screen and (max-width: 767px) {
  .privacy-section .privacy-title {
    font-size: 1rem;
  }
}

.privacy-box {
  border: 1px solid var(--line2);
  border-radius: 0.5rem;
  overflow: hidden;
}

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.25rem;
  background: #ffffff;
  border-bottom: 1px solid var(--line2);
}
@media only screen and (max-width: 767px) {
  .privacy-header {
    padding: 0.5rem 1rem;
  }
}
.privacy-header .privacy-header-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.privacy-header .privacy-toggle-checkbox {
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
  accent-color: var(--primary);
}
.privacy-header .privacy-toggle-label {
  font-size: 1rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  color: var(--font1);
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  .privacy-header .privacy-toggle-label {
    font-size: 0.875rem;
  }
}
.privacy-header .privacy-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.privacy-header .privacy-toggle-btn.open {
  transform: rotate(180deg);
}
.privacy-header .privacy-toggle-btn svg {
  width: 2.5rem;
  height: 2.5rem;
}
@media only screen and (max-width: 767px) {
  .privacy-header .privacy-toggle-btn svg {
    width: 2rem;
    height: 2rem;
  }
}

.privacy-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.privacy-content.open {
  max-height: 10.0625rem;
  border-bottom: 1px solid var(--line2);
}
.privacy-content .privacy-text {
  padding: 0.625rem 1rem;
  background: var(--bg2);
  font-size: 0.875rem;
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--font1);
  height: 10.0625rem;
  overflow-y: auto;
}
.privacy-content .privacy-text p {
  margin: 0 0 0.5rem 0;
}
.privacy-content .privacy-text p:last-child {
  margin-bottom: 0;
}
@media only screen and (max-width: 767px) {
  .privacy-content .privacy-text {
    font-size: 0.8125rem;
    padding: 0.5rem 0.75rem;
  }
}

.submit-btn {
  width: -moz-fit-content;
  width: fit-content;
  height: 3.5rem;
  padding-inline: 2.5rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: var(--fw-bold);
  line-height: 1.5;
  border: none;
  border-radius: 3.3125rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 1.25rem;
}
.submit-btn:hover:not(:disabled) {
  background: #7a3e3e;
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
@media only screen and (max-width: 767px) {
  .submit-btn {
    font-size: 1rem;
    height: 3rem;
  }
}