@charset "UTF-8";

/* ================================
   하위 메뉴 공통 요소
================================ */
.intro {
  height: 27rem;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.intro .wrap3 {
  display: flex;
  gap: 9rem;
  align-items: baseline;
  padding-bottom: 7rem;
  border-bottom: 1px solid #555;
}

.intro h2 {
  font-size: clamp(24px, 3vw, 3rem);
  margin-bottom: 0;
}

.intro p {
  font-size: 18px;
  color: #fff;
}

/* ================================
   service
================================ */

/* common */
.serv h4 {
  margin-bottom: 1.4rem;
}

.serv h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
}

.serv .downgroup {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.serv .txtbox {
  margin-bottom: 4rem;
}

.serv .mainimg {
  width: 100%;
  height: auto;
  margin-bottom: 6rem;
}

.serv .subicon {
  width: 100%;
  height: auto;
  max-width: 40px;
  margin-bottom: 0;
}

.serv .topbox {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1rem;
}

.serv .cardbox {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 35px;
  width: 48rem;
  height: 20rem;
  border-top: 1px solid #555;
  width: 90%;
}

.serv footer {
  display: block;
}

.serv .p14 {
  font-size: 14px;
}

.serv p {
  font-size: 16px;
}

/* homepage */
.homepage {
  padding: 7rem 0 10rem 0;
}

.homepage .downgroup > div:nth-child(3),
.homepage .downgroup > div:nth-child(4) {
  border-bottom: 0.5px solid #555;
}

/* create */
.create {
  padding-bottom: 10rem;
}

.create .downgroup > div:nth-child(5),
.create .downgroup > div:nth-child(6) {
  border-bottom: 0.5px solid #555;
}

/* ad */
.ad {
  padding-bottom: 10rem;
}

.ad .downgroup > div:nth-child(3),
.ad .downgroup > div:nth-child(4) {
  border-bottom: 0.5px solid #555;
}

/* hospital */
.hospital .downgroup > div:nth-child(5),
.hospital .downgroup > div:nth-child(6) {
  border-bottom: 0.5px solid #555;
}

/* ================================
   About CEO
================================ */
/* imgbox */
.imgbox .wrap3 {
  margin-top: 7rem;
}

/* bran */
.brand .cardbox {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  height: auto;
  padding-top: 7rem;
  row-gap: 4rem;
}

.brand .card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.brand img {
  width: 100%;
  height: auto;
  max-width: 32.2rem;
  margin-bottom: 2rem;
}

.brand .p18 {
  font-size: clamp(14px, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand .p14 {
  font-size: clamp(12px, 2vw, 1.4rem);
  font-weight: 300;
  line-height: 1.3em;
  letter-spacing: -0.01em;
  color: #858585;
}

.brand span {
  font-size: clamp(10px, 2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.3em;
  letter-spacing: -0.01em;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 99px;
  background-color: var(--main);
  align-self: flex-start;
  position: absolute;
  top: 4%;
  left: 4%;
}

.port footer {
  display: block;
}

/* ceo */
.ceo footer {
  display: block;
}

.imgbox img {
  width: 100%;
  height: auto;
}

.pride {
  padding: 15rem 0;
}

.pride .wrap3 {
  display: flex;
  gap: 4rem;
  justify-content: center;
  align-items: center;
}

.pride .card {
  display: flex;
  flex-direction: column;
}

.pride img {
  margin-bottom: 3rem;
  width: 100%;
  height: auto;
}

.pride .p14 {
  font-family: "pretendard", "serif";
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5em;
  letter-spacing: -0.01em;
  color: #fff;
}

.pride .one {
  max-width: 15rem;
}

.pride .two {
  max-width: 17rem;
}

.pride .three {
  max-width: 17rem;
}

.introduce {
  padding: 15rem 0;
  background-color: #111;
}

.introduce .pcc {
  display: none;
}

.introduce .wrap3 {
  display: flex;
  justify-content: center;
  gap: 7rem;
}

.introduce .rightbox {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6rem;
}

.introduce .topbox {
  display: flex;
  flex-direction: column;
}

.introduce .downbox {
  display: flex;
  flex-direction: column;
}

.introduce span {
  font-family: "Mark Pro", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.5em;
  letter-spacing: 0.03em;
}

.introduce .p18 {
  font-family: "Mark Pro", sans-serif;
  font-size: clamp(15px, 2vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5em;
  letter-spacing: 0;
  margin-bottom: 2.5rem;
}

.introduce li {
  font-family: "Mark Pro", sans-serif;
  position: relative;
  font-size: clamp(13px, 2vw, 1.6rem);
  line-height: 1.45em;
  color: #999;
  padding-left: 1rem;
}

.introduce li::before {
  position: absolute;
  content: "";
  background-color: #999;
  border-radius: 50%;
  width: 4px;
  height: 4px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
}

.introduce img {
  width: 100%;
  height: auto;
  max-width: 18.4rem;
  align-self: flex-start;
}

.introduce h4 {
  margin-bottom: 2rem;
}

.career {
  padding-top: 15rem;
}

.career .wrap3 {
  display: flex;
  flex-direction: column;
  gap: 9rem;
}

.career .contentbox {
  display: flex;
  flex-direction: column;
}

.career .downbox {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.career h5 {
  margin-bottom: 4rem;
}

.career .title h5::after {
  width: 230%;
}

.career span {
  display: inline-block;
  font-family: "Mark Pro", sans-serif;
  font-size: clamp(18px, 2vw, 3rem);
  font-weight: 700;
  line-height: 1.5em;
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
}

.career p {
  font-family: "Mark Pro", sans-serif;
  color: #fff;
}

/* ================================
   prc
================================ */
.prc footer {
  display: block;
}

.prc .pcc {
  display: none;
}

.prc h3 {
  font-size: clamp(18px, 2vw, 2.4rem);
  color: #fff;
  margin-bottom: 3rem;
  font-weight: 600;
}

.prc span {
  font-size: clamp(12px, 2vw, 1.4rem);
  font-weight: 600;
  color: #fff;
}

.prc img {
  width: 100%;
  height: auto;
}

.prc .p14 {
  font-family: "pretendard", "serif";
  font-weight: 300;
  font-size: clamp(12px, 2vw, 1.4rem);
  letter-spacing: -0.01em;
  color: #fff;
}

.prc .cardbox {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.prc .card {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.home_pr .wrap3 {
  padding: 7rem 0;
  border-bottom: 1px solid rgba(221, 221, 221, 0.5);
}

.addo {
  padding-top: 5rem;
}

.addo .gridbox {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7rem 3.6rem;
  margin-bottom: 7rem;
}

.addo .downbox {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.addo .pr_img {
  margin-bottom: 4rem;
}

.addo .downbox h3 {
  margin-bottom: 0;
}

/* portfolio */
.portf footer {
  display: block;
}

.portbox {
  padding-top: 15rem;
}

.portbox .wrap3 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.portbox .p18 {
  font-size: clamp(14px, 2vw, 1.8rem);
  font-weight: 500;
  color: #fff;
  margin-bottom: 3rem;
}

.portbox a {
  font-family: "Mark Pro", sans-serif;
  font-size: clamp(18px, 2vw, 2.2rem);
  color: #fff;
  font-weight: 600;
}

/* =========================================
   Contact Section 스타일 (common.css 기반)
========================================= */
.cont {
  background-color: #f0f1f4;
}

.cont .intro .wrap3 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.cont h2,
.cont p {
  color: #000;
}

.cont header {
  background-color: #000;
}

.cont footer {
  display: block;
  background-color: #000;
}

/* 전체 섹션 배경 및 여백 */
.formbox {
  padding-top: 7rem;
}

/* .formbox 안에 form이 직접 있던 구조는 삭제됨 → rightbox 기준으로 세로 정렬 */
.formbox .select-break {
  flex-basis: 100%;
  height: 0;
}

/* 좌우 레이아웃 (제목 vs 폼) */
.formbox .wrap3 {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.formbox .form-title h2 {
  font-size: clamp(17px, 2.5vw, 2.4rem);
  font-weight: 600;
  color: #000;
  line-height: 1.3em;
  width: 30%;
  white-space: nowrap;
}

/* 오른쪽: 입력 폼 영역 */
.formbox .rightbox {
  padding: 1rem;
  min-width: 0;
  width: 70%;
  display: flex; /* 🔹 기존 form에 주던 세로 정렬 역할을 rightbox로 이관 */
  flex-direction: column;
  gap: 3.3rem;
}

/* 라벨 스타일 */
.formbox .group-label {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  color: #8f8f8f;
  margin-bottom: 1.5rem;
}

/* 필수 항목 별표 (*) */
.formbox .required {
  color: #ff0000;
  font-weight: 400;
}

/* 보조 텍스트 (중복 선택 가능 등) */
.formbox .sub-text {
  font-size: clamp(11px, 2vw, 1.2rem);
  font-weight: 400;
  color: #8f8f8f;
  margin-left: 0.3rem;
}

#fbox01 button {
  width: 15rem;
}

/* 버튼들을 감싸는 박스 */
.formbox .select-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* 버튼 사이 간격 */
}

/* 선택 버튼 디자인 (기본) */
.formbox .select-btn {
  width: 10rem;
  height: 4rem;
  font-size: clamp(11px, 2vw, 1.2rem);
  font-weight: 600;
  background-color: #fff;
  border-radius: 99px; /* 완전 둥근 형태 */
  color: #000;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit; /* 폰트 상속 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 버튼 마우스 올렸을 때 */
.formbox .select-btn:hover {
  background-color: #e5e5e5;
}

/* 버튼 활성화(선택) 되었을 때 (.active 클래스) */
.formbox .select-btn.active {
  background-color: #111;
  color: #fff;
  font-weight: 600;
}

/* 텍스트 입력창 (한 줄) */
.formbox .input-text {
  width: 100%;
  padding: 1.6rem;
  font-size: 1.6rem;
  border: 1px solid #eaeaea;
  background-color: #fff;
  outline: none;
  transition: border-color 0.3s;
}

/* 텍스트 영역 (여러 줄) */
.formbox .input-textarea {
  width: 100%;
  height: 20rem;
  padding: 1.6rem;
  font-size: 1.6rem;
  border: 1px solid #eaeaea;
  background-color: #fff;
  resize: none; /* 사용자 크기 조절 막기 */
  outline: none;
  font-family: inherit;
}

.formbox .input-text::placeholder {
  color: #c7c7c7;
}

.formbox .input-textarea::placeholder {
  color: #c7c7c7;
}

/* ================================
   Applicant Section (신청자 정보)
================================ */

.applicant-section {
  margin-top: 7rem;
}

.applicant-section .wrap3 {
  padding-top: 7rem; /* 상단 여백 7rem (요청사항) */
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* 상단 회색 실선 */
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* 입력 그룹 (회사 정보, 신청자 정보) */
.applicant-section .info-group {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 5rem;
  width: 100%;
}

.applicant-section h2 {
  font-size: clamp(17px, 2.5vw, 2.4rem);
  font-weight: 600;
  color: #000;
  line-height: 1.3em;
  width: 30%;
  white-space: nowrap;
}

/* 왼쪽 타이틀 (회사 정보, 신청자 정보) */
.applicant-section .group-title {
  width: auto;
  flex-shrink: 0;
}

/* 오른쪽 입력 영역 */
.applicant-section .group-content {
  width: 70%;
}

/* 한 줄 (라벨 + 인풋) */
.applicant-section .input-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 3.3rem;
}

.applicant-section .input-row:last-of-type {
  margin-bottom: 0;
}

/* 라벨 스타일 (회사명, 성함 등) */
.applicant-section .field-label {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  color: #8f8f8f;
  margin-bottom: 1.5rem;
}

.applicant-section .required {
  color: #ff4d4f;
  margin-left: 0.4rem;
}

/* 인풋 필드 스타일 */
.applicant-section .input-field {
  width: 100%;
  padding: 1.6rem;
  font-size: 1.6rem;
  border: 1px solid #eaeaea;
  background-color: #fff;
  outline: none;
}

.applicant-section .input-field::placeholder {
  color: #c7c7c7;
}

/* ================================
 하단 동의 및 버튼 영역
================================ */
.applicant-section .submit-area {
  text-align: right; /* 오른쪽 정렬 (디자인에 따라 center로 변경 가능) */
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* 우측 정렬 */
  gap: 3rem;
  margin-top: 2rem;
}

/* 개인정보 동의 체크박스 커스텀 */
.applicant-section .privacy-box {
  display: flex;
  align-items: center;
  font-size: clamp(12px, 2vw, 1.6rem);
  color: #8f8f8f;
}

#privacy_agree {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  pointer-events: none; /* 마우스 이벤트 무시 */
}

.custom-checkbox-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.custom-checkbox-label .check-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 5px;
  vertical-align: middle;
  background-image: url("/img/unchecked_box.svg"); /* 💡 이제 <span>이 이미지를 가집니다. */
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateY(-4%);
}

/* Input이 체크되었을 때 + 인접 Label의 <span> 스타일 변경 */
#privacy_agree:checked ~ .custom-checkbox-label .check-icon {
  background-image: url("/img/checked_box_full.svg");
}

/* 최종 상담 신청 버튼 */
.applicant-section .final-submit-btn {
  display: inline-block;
  background-color: #000;
  color: #fff;
  font-size: clamp(14px, 2vw, 2rem);
  font-weight: 500;
  padding: 2rem 2.4rem;
  border-radius: 99px; /* 알약 모양 */
  border: none;
  cursor: pointer;
  transition: transform 0.2s;
}

.applicant-section .final-submit-btn:hover {
  background-color: #222;
  transform: translateY(-2px); /* 살짝 떠오르는 효과 */
}

/* ================================
   개인정보 모달
================================ */

/* 모달 전체 컨테이너 (오버레이 + 다이얼로그) */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 999; /* 헤더/푸터보다 위에 오도록 */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* 기본은 클릭 불가 */
  opacity: 0; /* 기본은 안 보이게 */
  transition: opacity 0.25s ease;
}

/* 열렸을 때 상태 */
.privacy-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* 배경 오버레이 */
.privacy-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); /* 살짝 어두운 검정 */
}

/* 실제 팝업 박스 */
.privacy-modal__dialog {
  position: relative;
  background-color: #fff;
  color: #000;
  border-radius: 12px;
  max-width: 560px;
  width: 90%;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* 둥근 모서리 안으로 내용 잘라줌 */
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transform: translateY(10px);
  transition: transform 0.25s ease;
  z-index: 1;
}

/* 모달 열렸을 때 살짝 위로 올라오면서 부드럽게 */
.privacy-modal.is-open .privacy-modal__dialog {
  transform: translateY(0);
}

/* 헤더 (타이틀 + 닫기 버튼) */
.privacy-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2.2rem 2.5rem;
  border-bottom: 1px solid #eee;
}

.privacy-modal__header h3 {
  font-size: clamp(14px, 2vw, 1.8rem);
  font-weight: 600;
  margin: 0;
  color: #111;
}

/* 닫기 버튼 */
.privacy-modal__close {
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  color: #111;
  padding: 0;
}

.privacy-modal__close:hover {
  color: #000;
}

/* 본문 영역 - 스크롤 가능 */
.privacy-modal__body {
  padding: 3rem 3rem 4rem 3rem;
  line-height: 1.6;
  overflow-y: auto;
}

.privacy-modal__body p {
  font-size: clamp(11px, 2vw, 1.3rem);
}

/* 스크롤바 살짝 커스텀 (선택) */
.privacy-modal__body::-webkit-scrollbar {
  width: 6px;
}

.privacy-modal__body::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.privacy-modal__body::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/* "전문 보기" 버튼 스타일 */
.applicant-section .privacy-box button.privacy-detail-btn {
  font-size: clamp(12px, 2vw, 1.4rem);
  font-weight: 500;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid #a9a9a9;
  margin-left: auto;
  color: #999;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
