@charset "UTF-8";
/* Contact / Inquiry 공통: PC 최대 1920px, 페이지 좌우 여백 30px */
.contact-page,
.inquiry-page {
  background: #121213;
  color: #fff;
}

.contact-page *,
.inquiry-page * {
  box-sizing: border-box;
}

.contact-content.page-content {
  --contact-section-gap: 180px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-content.page-content > section + section {
  margin-top: var(--contact-section-gap);
}
.contact-content.page-content > .contact-overview + .contact-downloads {
  margin-top: 100px;
}
@media (max-width: 699px) {
  .contact-content.page-content > .contact-overview + .contact-downloads {
    margin-top: 60px;
  }
}
.contact-content.page-content {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  background: #121213;
  padding-bottom: var(--contact-section-gap);
}
@media (max-width: 1194px) {
  .contact-content.page-content {
    --contact-section-gap: 100px;
  }
}

.contact-layout {
  width: 100%;
  max-width: 1650px;
  padding-inline: 30px;
  margin-inline: auto;
}

.contact-content h1,
.contact-content h2,
.inquiry-content h1 {
  margin: 0;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.contact-content h2 {
  font-size: 40px;
}

/* 연락처와 문의 배너 */
.contact-overview {
  padding: 180px 0 100px;
  background: #0d0c11;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-overview > .contact-layout {
  display: grid;
  /* 좌측을 고정하지 않고 두 열을 같은 비율로 줄여 배너만 좁아지지 않게 합니다. */
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  align-items: stretch;
  gap: 55px;
}

.contact-overview__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 55px;
}

.contact-overview__top h1 {
  font-size: 40px;
}

.contact-overview__description {
  margin: 15px 0 0;
  font-size: 18px;
  line-height: 1.4;
}

.contact-overview address {
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-style: normal;
}

.contact-overview address a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  color: #fff;
  text-decoration: none;
}

.contact-overview address span {
  font-size: 16px;
  color: #a8a8ad;
}

.contact-overview address strong {
  font-size: 28px;
  font-weight: 500;
}

.contact-inquiry-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 60px 30px;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(0, 219, 124, 0.1);
}

/* 배너 색상은 아래 gradient에서, 그레인 강도는 --banner-grain에서 수정합니다. */
.contact-inquiry-banner {
  --banner-grain: 0.18;
  isolation: isolate;
  border: 0;
  clip-path: inset(0 round 20px);
  background: radial-gradient(ellipse at 100% 8%, rgba(222, 210, 255, 0.95), transparent 60%), radial-gradient(ellipse at 55% 115%, rgba(161, 130, 232, 0.85), transparent 50%), linear-gradient(110deg, #102d72 20%, #4655a7 65%, #8c88ce 100%);
}

/* 기존의 작은 노이즈 타일만 반복하여 이미지 확대 없이 질감을 유지합니다. */
/* 컬러는 유지하고 14초마다 방향 전환: 이동 폭을 넓혀 흐름을 강조합니다. */
.contact-inquiry-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at 12% 25%, rgba(210, 191, 255, 0.95), transparent 45%), radial-gradient(ellipse at 100% 100%, rgba(100, 145, 240, 0.9), transparent 50%), linear-gradient(125deg, #293d90, #7670bd 70%, #b9a8e8);
  opacity: 0.5;
  transform: translate(18%, 10%) scale(1.5);
  filter: brightness(1) contrast(1.16);
  transition: opacity 700ms ease-in-out, filter 900ms ease-in-out;
  pointer-events: none;
}

@media (prefers-reduced-motion: no-preference) {
  .contact-inquiry-banner::after {
    animation: contact-gradient-drift 14s ease-in-out infinite alternate;
  }
}
@keyframes contact-gradient-drift {
  from {
    transform: translate(18%, 10%) scale(1.5);
  }
  to {
    transform: translate(-18%, -10%) scale(1.6);
  }
}
.contact-inquiry-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: url("../img/aurora-grain-safari.png") repeat;
  opacity: var(--banner-grain);
  pointer-events: none;
}

.contact-inquiry-banner h2,
.contact-inquiry-banner a {
  position: relative;
  z-index: 2;
}

.contact-inquiry-banner h2 {
  font-size: 40px;
  /* x=0 / y=5 / blur=24 / 검정 25%: 윤곽이 강해지지 않는 은은한 그림자 */
  text-shadow: 0 5px 24px rgba(13, 12, 17, 0.25);
}

/* 상단 섹션 밖의 다운로드와 FAQ 사이 간격 */
.contact-downloads__status:empty {
  display: none;
}

.contact-inquiry-banner .c-button {
  background: rgba(13, 12, 17, 0.3);
}

.contact-inquiry-banner:hover .c-button,
.contact-inquiry-banner:focus-within .c-button,
.contact-inquiry-banner .c-button:hover {
  background: rgba(13, 12, 17, 0.5);
}

/* 다운로드: 파일 경로는 js/inquiry.js의 DOWNLOADS에서 설정합니다. */
.contact-downloads h2 {
  margin-bottom: 55px;
}

.contact-downloads__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.contact-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 30px;
  color: #fff;
  background: #1b1b1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font: inherit;
  font-size: 22px;
  text-align: left;
  font-weight: 600;
  cursor: pointer;
}

.contact-download:hover {
  background: #29292c;
}

.contact-download {
  transition: background-color 350ms ease-in-out;
}

.contact-download:focus-visible {
  background: #29292c;
}

@media (prefers-reduced-motion: reduce) {
  .contact-download,
  .contact-inquiry-banner::after {
    transition: none;
  }
}
.contact-download__icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 50%;
}

.contact-download__icon img {
  transform: rotate(90deg);
}

.contact-downloads__status {
  margin: 12px 0 0;
  color: #a8a8ad;
}

/* FAQ: native details로 키보드와 터치에서 열고 닫습니다. */
.contact-faq::before,
.contact-faq::after {
  content: "";
  display: block;
  height: 1px;
  background: #fff;
}

.contact-faq h2 {
  margin: 55px 0;
}

.contact-faq__list {
  display: grid;
  gap: 20px;
  margin-bottom: 55px;
}

.contact-faq details {
  background: #1b1b1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0;
}

.contact-faq summary {
  /* 질문 행의 여백도 전부 클릭 영역에 포함합니다. */
  width: 100%;
  padding: 20px 20px 20px 20px;
  border-radius: 10px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 22px;
  font-weight: 500;
  cursor: pointer;
}

.contact-faq summary::-webkit-details-marker {
  display: none;
}

.contact-faq__icon {
  position: relative;
  display: block;
  flex: none;
  align-self: center;
  width: 22px;
  height: 22px;
}

.contact-faq__icon img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11.5px;
  height: 21.5px;
  transform: translate(-50%, -50%) rotate(90deg);
}

.contact-faq__opened {
  display: none;
}

.contact-faq details[open] .contact-faq__closed {
  display: none;
}

.contact-faq details[open] .contact-faq__opened {
  display: block;
  transform: translate(-50%, -50%) rotate(-90deg) scaleY(-1);
}

.contact-faq__answer {
  margin: 0 20px 20px;
  padding: 20px 20px;
  border-radius: 10px;
  background: #2d2d2f;
  color: #a8a8ad;
  font-size: 16px;
  line-height: 1.4;
}

/* 문의 폼: 소개 500px + 폼 나머지 공간(최대 900px) */
.inquiry-home {
  position: fixed;
  top: 25px;
  right: 30px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 12, 17, 0.3);
  backdrop-filter: blur(7.5px);
  z-index: 1000;
}

.inquiry-content {
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 900px);
  gap: 55px;
  max-width: 1650px;
  margin-inline: auto;
  padding: 150px 30px 120px;
  color: #fff;
}

.inquiry-intro h1 {
  font-size: 35px;
}

.inquiry-intro ul {
  display: grid;
  gap: 20px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
  line-height: 1.4;
}

.inquiry-intro li {
  display: block;
  position: relative;
  padding-left: 20px;
}

.inquiry-intro li::before {
  content: "*";
  color: #00db7c;
  position: absolute;
  left: 0;
}

.inquiry-intro a {
  color: inherit;
  text-decoration: underline;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 45px;
  padding: 45px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: #1b1b1d;
  min-width: 0;
}

.inquiry-field {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
  color: #a8a8ad;
  font-size: 16px;
}

.inquiry-field legend {
  padding: 0;
  margin-bottom: 15px;
}

.inquiry-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.inquiry-options label {
  position: relative;
}

.inquiry-options input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.inquiry-options span {
  display: block;
  padding: 15px 25px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  font-size: 18px;
  line-height: normal;
  cursor: pointer;
  transition: border-color 200ms ease, color 200ms ease;
}

.inquiry-options input:checked + span {
  border-color: #fff;
  color: #fff;
}

.inquiry-options input:focus-visible + span {
  outline: 2px solid #00db7c;
  outline-offset: 3px;
}

.inquiry-field > input,
.inquiry-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 20px;
  background: #2d2d2f;
  color: #fff;
  font: inherit;
  font-size: 18px;
  line-height: 1.4;
  resize: none;
}

.inquiry-field > input::placeholder,
.inquiry-field textarea::placeholder {
  color: #8d8d91;
  opacity: 1;
}

.inquiry-field > input:focus,
.inquiry-field textarea:focus {
  border-color: #00db7c;
  outline: 0;
}

.inquiry-field textarea {
  min-height: 300px;
}

.inquiry-form__submit {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.inquiry-send {
  border: 0;
  border-radius: 999px;
  padding: 20px 40px;
  gap: 15px;
  font-size: 22px;
  font-weight: 600;
  line-height: normal;
  cursor: pointer;
}

.inquiry-send:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* 보내기 버튼: 모든 상태에서 작은 화살표의 크기를 유지합니다. */
.inquiry-send.c-button img {
  width: 21px;
  height: 15px;
  object-fit: contain;
}

.inquiry-send.c-button:hover img,
.inquiry-send.c-button:focus-visible img,
.inquiry-send.c-button:active img {
  content: url("../img/ico_right_arrow_small_hover.svg");
}

#inquiry-status {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}

#inquiry-status[data-state=error] {
  color: #DD2B55;
}

#inquiry-status[data-state=success] {
  color: #00db7c;
}

/* 태블릿 및 모바일: 입력란이 좁아지지 않도록 세로로 배치합니다. */
@media (max-width: 1194px) {
  .contact-inquiry-banner h2 {
    font-size: 32px;
  }
  .contact-inquiry-banner {
    min-height: 360px;
    padding: 40px 30px;
  }
  .contact-downloads h2 {
    margin-bottom: 35px;
  }
  .contact-overview {
    padding-top: 130px;
  }
  .contact-overview > .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
  .contact-overview__top {
    gap: 40px;
  }
  .contact-overview__top h1 {
    font-size: 32px;
  }
  .contact-overview address strong {
    font-size: 24px;
  }
  .contact-download {
    font-size: 18px;
    padding: 25px 25px;
  }
  .inquiry-content {
    grid-template-columns: 1fr;
    padding: 125px 30px 80px;
    gap: 45px;
  }
  .inquiry-form {
    width: 100%;
  }
}
@media (max-width: 699px) {
  .contact-overview address span {
    font-size: 14px;
  }
  .contact-overview address strong {
    font-size: 20px;
  }
  .contact-layout {
    padding-inline: 20px;
  }
  .contact-overview {
    padding: 120px 0 60px;
  }
  .contact-overview__description {
    font-size: 16px;
  }
  .contact-overview > .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-faq {
    align-items: stretch;
  }
  .contact-overview__top h1 {
    font-size: 30px;
  }
  .contact-content h2 {
    font-size: 30px;
  }
  .contact-inquiry-banner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 320px;
    padding: 35px 24px;
  }
  .contact-inquiry-banner .c-button {
    font-size: 22px;
    padding: 15px 25px;
  }
  .contact-downloads__grid {
    grid-template-columns: 1fr;
  }
  .contact-download {
    min-height: auto;
    font-size: 18px;
  }
  .contact-faq h2 {
    margin-block: 35px;
  }
  .contact-faq details {
    padding: 0;
  }
  .contact-faq summary {
    padding: 24px 20px;
    font-size: 20px;
  }
  .contact-faq__answer {
    margin: 0 20px 24px;
    font-size: 16px;
    padding: 24px 16px;
  }
  .inquiry-home {
    right: 20px;
  }
  .inquiry-content {
    padding: 120px 20px 60px;
  }
  .inquiry-intro h1 {
    font-size: 28px;
  }
  .inquiry-intro ul {
    font-size: 18px;
  }
  /* 699px 이하부터 문의 배너를 연락처 아래에 배치합니다. */
  .contact-overview > .contact-overview__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .contact-overview__grid > * {
    min-width: 0;
  }
  .contact-overview .contact-inquiry-banner {
    min-height: auto;
    padding: 40px 30px;
    gap: 40px;
  }
}
/* 문의 배너의 큰 버튼: 공통 contact-section과 같은 듀오·모바일 크기입니다. */
@media (max-width: 1194px) {
  .contact-inquiry-banner .c-button--big {
    padding: 16px 28px;
    font-size: 18px;
    gap: 15px;
    line-height: normal;
  }
}
@media (max-width: 699px) {
  .contact-inquiry-banner .c-button--big {
    /* 단독 바로가기 버튼은 좌우 여백을 넉넉하게 유지합니다. */
    padding: 16px 24px;
    font-size: 16px;
    gap: 10px;
    min-width: 0;
    justify-content: center;
  }
  .inquiry-send {
    padding: 15px 30px;
  }
}
/* Contact 섹션 제목: 다른 페이지와 같은 공통 변수로 관리합니다.
   PC 최대 40px / 태블릿·듀오 32px / 모바일 28px. */
.contact-content {
  --section-title-size: clamp(32px, 3.47vw, 36px);
}

.contact-content .contact-overview__top h1,
.contact-content .contact-inquiry-banner h2,
.contact-content .contact-downloads > h2,
.contact-content .contact-faq > h2 {
  font-size: var(--section-title-size);
}

@media (max-width: 1194px) {
  .contact-content {
    --section-title-size: 28px;
  }
}
@media (max-width: 699px) {
  .contact-content {
    --section-title-size: 24px;
  }
  /* 모바일: 섹션의 제목 영역과 본문 사이를 40px로 통일합니다. */
  .contact-overview__top {
    gap: 40px;
  }
  .contact-downloads > h2,
  .contact-faq > h2 {
    margin-bottom: 40px;
  }
  .contact-inquiry-banner {
    gap: 40px;
  }
  /* 다운로드 버튼: 699px 이하에서는 한 줄에 하나씩 배치합니다. */
  .contact-downloads__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* 문의 배너 호버: 배경 전체 색상 대신 마우스 주변의 빛만 밝아집니다.
   크기는 --banner-light-size, 강도는 radial-gradient의 알파 값으로 조절하세요. */
.contact-inquiry-banner__light {
  --banner-light-size: 900px;
  position: absolute;
  top: 0;
  left: 0;
  width: var(--banner-light-size);
  height: var(--banner-light-size);
  margin: calc(var(--banner-light-size) / -2);
  z-index: 1;
  /* 빛 레이어만 강하게 흐려 원형 윤곽을 없앱니다. 텍스트·그레인은 흐려지지 않습니다. */
  filter: blur(100px);
  /* 밝은 흰색 중심 대신 배경과 같은 보라·파랑을 넓게 섞어 원형 조명 느낌을 줄입니다. */
  background: radial-gradient(ellipse at 35% 45%, rgba(222, 210, 255, 0.18), rgba(222, 210, 255, 0.09) 30%, transparent 65%), radial-gradient(ellipse at 65% 55%, rgba(161, 130, 232, 0.16), transparent 65%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 450ms ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .contact-inquiry-banner.is-light-active .contact-inquiry-banner__light {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-inquiry-banner__light {
    transition: none;
  }
}
/* Figma download_default/active: 버튼 전체 호버 시 원형 아이콘에 흰색 20% 배경. */
.contact-download__icon {
  background-color: transparent;
  transition: background-color 350ms ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
  .contact-download:hover .contact-download__icon {
    background-color: rgba(255, 255, 255, 0.2);
  }
}
.contact-download:focus-visible .contact-download__icon {
  background-color: rgba(255, 255, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .contact-download__icon {
    transition: none;
  }
}
/* Figma extra_projects: 카드 400px, 카드 사이 30px, 제목 아래 55px. */
.contact-projects {
  min-width: 0;
  box-sizing: border-box;
}

.contact-projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 55px;
}

.contact-content .contact-projects h2 {
  font-size: var(--section-title-size);
}

.contact-projects__controls {
  display: flex;
  flex: none;
  gap: 15px;
}

.contact-projects__controls button {
  padding: 0;
  cursor: pointer;
}

.contact-projects__controls picture {
  display: grid;
  place-items: center;
}

.contact-projects__controls img {
  display: block;
}

.contact-projects__previous img {
  transform: rotate(180deg);
}

.contact-projects__controls button:disabled {
  opacity: 0.35;
  cursor: default;
}

.contact-projects__list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 400px;
  gap: 30px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.contact-projects__list::-webkit-scrollbar {
  display: none;
}

.contact-project {
  display: block;
  min-width: 0;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: start;
}

/* 정사각형 카드 안의 이미지 이동·확대는 홈의 공통 프로젝트 스타일을 사용합니다. */
.contact-projects .project-item__image {
  aspect-ratio: 1;
}

.contact-projects .project-item__content {
  margin-top: 30px;
  gap: 15px;
}

.contact-projects .project-item__content h3 {
  font-size: 25px;
}

.contact-projects .project-item__content ul {
  font-size: 16px;
}

@media (min-width: 700px) and (max-width: 1194px) {
  .contact-projects__list {
    /* 모바일과 같은 카드 크기·간격 */
    grid-auto-columns: min(85%, 320px);
    gap: 20px;
  }
  .contact-projects .project-item__content h3 {
    font-size: 22px;
  }
}
@media (max-width: 699px) {
  .contact-projects__header {
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 40px;
  }
  .contact-projects__controls {
    gap: 10px;
  }
  .contact-projects__list {
    grid-auto-columns: min(85%, 320px);
    gap: 20px;
  }
  .contact-projects .project-item__content h3 {
    font-size: 22px;
  }
}
/* 문의 페이지 우측 홈 버튼: 흰색 10% 배경만 부드럽게 전환합니다. */
.inquiry-page .inquiry-home {
  background-color: transparent;
  transition: background-color 350ms ease-in-out;
}

.inquiry-page .inquiry-home:hover,
.inquiry-page .inquiry-home:focus-visible {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-page .inquiry-home {
    transition: none;
  }
}
/* 프로젝트 목록은 화면 끝까지 표시하고 제목만 기존 콘텐츠 너비에 정렬합니다. */
.contact-projects.contact-layout {
  max-width: none;
  padding-inline: 0;
}

.contact-projects__header {
  max-width: 1650px;
  width: 100%;
  padding-inline: 30px;
  margin-inline: auto;
  box-sizing: border-box;
}

.contact-projects__list {
  width: 100%;
  box-sizing: border-box;
  padding-left: max(30px, (100% - 1650px) / 2 + 30px);
  scroll-padding-left: max(30px, (100% - 1650px) / 2 + 30px);
  overflow-anchor: none;
}

/* 자동·버튼 이동 중에는 스냅을 잠시 끄고 easing이 끝나면 복원합니다. */
.contact-projects__list.is-sliding {
  scroll-snap-type: none;
}

@media (max-width: 699px) {
  .contact-projects__header {
    padding-inline: 20px;
  }
  .contact-projects__list {
    padding-left: 20px;
    scroll-padding-left: 20px;
  }
}
/* 문의 카테고리별 입력: 숨긴 항목은 레이아웃에서도 완전히 제외합니다. */
.inquiry-field[hidden] {
  display: none;
}

.inquiry-field--multiple legend {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.inquiry-field--multiple legend small {
  color: #00db7c;
  font-size: 16px;
}

.inquiry-bottom {
  padding-bottom: 30px;
  color: #fff;
}

.inquiry-return {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 45px 30px;
  border: 1px solid rgba(0, 219, 124, 0.1);
  border-radius: 10px;
}

.inquiry-return__background {
  position: absolute;
  width: 100%;
  height: 457.64%;
  top: -178.82%;
  left: 0;
  pointer-events: none;
}

.inquiry-return h2,
.inquiry-return__button {
  position: relative;
}

.inquiry-return h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
}

.inquiry-return__button {
  flex: none;
  padding: 20px 30px;
  gap: 10px;
  border: 1px solid #fff;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
}

.inquiry-return__button:hover,
.inquiry-return__button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.inquiry-return__button img {
  width: 21px;
  height: 15px;
}

.inquiry-last-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 180px;
}

.inquiry-last-info__copyright {
  margin: 30px 0 0;
  font-size: 20px;
  line-height: 1.4;
}

.inquiry-last-info address {
  display: flex;
  gap: 30px;
  flex: none;
  font-style: normal;
}

.inquiry-last-info address a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.inquiry-last-info address span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}

.inquiry-last-info address strong {
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 1194px) {
  .inquiry-return {
    flex-wrap: wrap;
  }
  .inquiry-last-info {
    margin-top: 100px;
    flex-wrap: wrap;
  }
}
@media (max-width: 699px) {
  .inquiry-return {
    padding: 30px 24px;
    gap: 25px;
  }
  .inquiry-return h2 {
    font-size: 24px;
  }
  .inquiry-return__button {
    padding: 16px 24px;
    font-size: 16px;
  }
  .inquiry-last-info {
    margin-top: 60px;
    gap: 30px;
  }
  .inquiry-last-info__copyright {
    font-size: 16px;
  }
  .inquiry-last-info address {
    flex-wrap: wrap;
    gap: 20px;
  }
}
/* 문의 페이지: 11인치 태블릿·듀오(1194px 이하)부터 소개 다음에 폼을 배치합니다. */
@media (max-width: 1194px) {
  .inquiry-content {
    grid-template-columns: minmax(0, 1fr);
    gap: 45px;
  }
  .inquiry-form {
    width: 100%;
    box-sizing: border-box;
    padding: 25px 20px;
    gap: 40px;
  }
  .inquiry-options {
    gap: 10px;
  }
  .inquiry-options span {
    font-size: 16px;
    padding: 12px 16px;
  }
  .inquiry-field > input,
  .inquiry-field textarea {
    font-size: 18px;
    padding: 16px;
  }
  .inquiry-field--multiple legend {
    flex-wrap: wrap;
  }
  .inquiry-field--multiple legend small {
    font-size: 14px;
  }
}
/* 문의 폼 소개도 1194px부터 글자 크기를 조절합니다. */
@media (min-width: 700px) and (max-width: 1194px) {
  .inquiry-intro h1 {
    font-size: 32px;
  }
  .inquiry-intro ul {
    font-size: 18px;
  }
}
@media (max-width: 699px) {
  .inquiry-intro h1 {
    font-size: 28px;
  }
  .inquiry-intro ul,
  .inquiry-field {
    font-size: 16px;
  }
}
.contact-page .contact-faq .contact-faq__list {
  display: grid;
  gap: 15px;
  margin-bottom: 0;
}
.contact-page .contact-faq details {
  padding: 0;
  background: #1b1b1d;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.contact-page .contact-faq summary {
  padding: 25px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  box-sizing: border-box;
}
.contact-page .contact-faq .contact-faq__heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.contact-page .contact-faq .contact-faq__category {
  color: #00db7c;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}
.contact-page .contact-faq .contact-faq__question {
  overflow-wrap: anywhere;
}
.contact-page .contact-faq .contact-faq__answer {
  margin: -10px 25px 25px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  font-size: 16px;
  line-height: 1.4;
  color: #a8a8ad;
}
.contact-page .contact-faq .contact-faq__icon {
  width: 18px;
  height: 10px;
}
.contact-page .contact-faq .contact-faq__icon img {
  width: 9.5px;
  height: 17.5px;
}
@media (max-width: 699px) {
  .contact-page .contact-faq .contact-faq__category {
    font-size: 14px;
  }
  .contact-page .contact-faq summary {
    padding: 20px;
    font-size: 18px;
  }
  .contact-page .contact-faq .contact-faq__answer {
    margin: 0 20px 20px;
  }
}
.contact-page .contact-faq {
  --faq-line-gap: 55px;
  padding-block: 0;
}
.contact-page .contact-faq::before {
  margin-bottom: var(--faq-line-gap);
}
.contact-page .contact-faq::after {
  margin-top: var(--faq-line-gap);
}
.contact-page .contact-faq > h2 {
  margin: 0 0 55px;
}
.contact-page .contact-faq .contact-faq__list {
  margin-bottom: 0;
}
@media (max-width: 1194px) {
  .contact-page .contact-faq > h2 {
    font-size: 28px;
  }
}
@media (max-width: 699px) {
  .contact-page .contact-faq {
    --faq-line-gap: 35px;
  }
  .contact-page .contact-faq > h2 {
    font-size: 24px;
    margin-bottom: 35px;
  }
}

@media (max-width: 1194px) {
  .contact-content .contact-inquiry-banner h2 {
    font-size: 28px;
  }
}
@media (max-width: 699px) {
  .contact-content .contact-inquiry-banner h2 {
    font-size: 22px;
  }
  .inquiry-field > input,
  .inquiry-field textarea {
    font-size: 15px;
  }
  .inquiry-options span {
    font-size: 15px;
  }
}
.contact-download__icon picture {
  display: grid;
  place-items: center;
}
.contact-download__icon img {
  display: block;
}
@media (max-width: 1194px) {
  .contact-download__icon {
    width: 30px;
    height: 30px;
  }
}

.contact-projects__controls button {
  transition: background-color 250ms ease-in-out;
}
@media (max-width: 1194px) {
  .contact-projects__controls button {
    width: 30px;
    height: 30px;
  }
}

.contact-faq__tabs {
  margin-bottom: 30px;
}
@media (max-width: 699px) {
  .contact-faq__tabs {
    margin-bottom: 35px;
  }
}

.contact-faq__empty {
  margin: 0;
  color: #a8a8ad;
}

.contact-faq [hidden] {
  display: none;
}

@media (max-width: 1194px) {
  .inquiry-send.c-button img.c-arrow-compact,
  .inquiry-send.c-button:is(:hover, :focus-visible, :active, .is-active) img.c-arrow-compact {
    content: url("../img/ico_right_arrow_xsmall.svg");
    width: 15px;
    height: 12px;
  }
}
.contact-faq__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.contact-faq__pagination .c-icon-button {
  padding: 0;
  cursor: pointer;
  transition: background-color 250ms ease-in-out;
}
.contact-faq__pagination .c-icon-button picture {
  display: grid;
  place-items: center;
}
.contact-faq__pagination .c-icon-button img {
  display: block;
}
.contact-faq__pagination .c-icon-button:disabled {
  opacity: 0.3;
  cursor: default;
  background: transparent;
}
.contact-faq__pagination .contact-faq__page-previous img {
  transform: rotate(180deg);
}
@media (max-width: 1194px) {
  .contact-faq__pagination .c-icon-button {
    width: 30px;
    height: 30px;
  }
}
@media (max-width: 699px) {
  .contact-faq__pagination {
    margin-top: 35px;
  }
}

.contact-faq__page-status {
  color: #a8a8ad;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}

.contact-content .contact-faq > h2 {
  scroll-margin-top: 120px;
}

html.is-inquiry-success-open {
  overflow: hidden;
}

.inquiry-success-dialog {
  position: fixed;
  inset: 0;
  max-width: calc(100% - 40px);
  max-height: calc(100% - 40px);
  margin: auto;
  padding: 40px;
  overflow-y: auto;
  border: 0;
  border-radius: 20px;
  background: #1b1b1d;
  color: #fff;
  box-sizing: border-box;
}
.inquiry-success-dialog::backdrop {
  background: rgba(13, 12, 17, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.inquiry-success-dialog__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.inquiry-success-dialog__copy {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}
.inquiry-success-dialog h2 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
}
.inquiry-success-dialog h2:focus {
  outline: none;
}
.inquiry-success-dialog p {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.02em;
  word-break: keep-all;
  color: rgba(255, 255, 255, 0.6);
}
.inquiry-success-dialog__close.c-button {
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 15px 25px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.02em;
  cursor: pointer;
}
.inquiry-success-dialog__close.c-button img {
  flex: none;
}
.inquiry-success-dialog__close.c-button:is(:hover, :focus-visible) {
  background: rgba(255, 255, 255, 0.1);
}
@media (max-width: 699px) {
  .inquiry-success-dialog {
    padding: 30px;
  }
  .inquiry-success-dialog h2 {
    font-size: 20px;
  }
  .inquiry-success-dialog p {
    font-size: 14px;
  }
  .inquiry-success-dialog__close.c-button {
    font-size: 16px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .inquiry-success-dialog[open], .inquiry-success-dialog[open]::backdrop {
    animation: inquiry-success-enter 200ms ease-in-out both;
  }
}

@keyframes inquiry-success-enter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.class-page .contact-projects .project-item__image {
  aspect-ratio: 16/9;
}

.inquiry-field__error {
  display: block;
  margin-top: 0;
  color: #DD2B55;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.inquiry-field.has-error {
  scroll-margin-block: 120px;
}


