@charset "utf-8";

/* ===========================
 * 공통 레이아웃
 * =========================== */

/* 섹션 전체 */
.peap-apply-section {
  padding: 60px 20px 80px;
  background: #ffffff;             /* PC: 흰 배경 */
}

.peap-apply-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.05);
  box-sizing: border-box;
  padding: 40px 40px 45px;
}

/* 상단 헤더 카드 */
.peap-apply-head {
  background: linear-gradient(135deg, #ff8a3c, #ff4b5c);
  border-radius: 18px;
  padding: 22px 26px 24px;
  color: #fff;
  box-sizing: border-box;
}

.peap-apply-head .emoji {
  font-size: 28px;
  margin-bottom: 6px;
}

.peap-apply-head .sub-title {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 4px;
}

.peap-apply-head h1 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.peap-apply-head .desc {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.95;
}

/* 폼 기본 */
#peapApplyForm {
  margin-top: 24px;
}

.peap-form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 한 항목 */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.form-row .req {
  color: #ff4b5c;
  font-weight: 700;
}

/* 인풋 공통 */
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  box-sizing: border-box;
  outline: none;
  background: #ffffff;
}

.form-row textarea {
  resize: vertical;
  min-height: 90px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: #ff8a3c;
  box-shadow: 0 0 0 1px rgba(255, 138, 60, 0.2);
}

/* 체크박스 그룹 */
.peap-check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.peap-check-group label {
  font-size: 13px;
  font-weight: 500;
  color: #444;
}

.peap-check-group input[type="checkbox"] {
  margin-right: 4px;
}

.peap-check-group .etc input[type="text"] {
  margin-left: 4px;
  margin-top: 4px;
}

/* 개인정보 동의 줄 */
.form-row.agree-row {
  margin-top: 4px;
}

.form-row.agree-row label {
  font-size: 13px;
  font-weight: 500;
}

/* 버튼 */
.peap-apply-bottom {
  margin-top: 24px;
  text-align: center;
}

.peap-apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  background: #ff8a3c;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 138, 60, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.peap-apply-btn:hover {
  background: #ff6c20;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(255, 138, 60, 0.4);
}

/* ===========================
 * PC 2열 그리드 레이아웃
 * =========================== */

@media screen and (min-width: 1025px) {

  .peap-apply-section {
    background: #ffffff;     /* PC는 완전 흰색 */
  }

  .peap-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));  /* 2열 */
    column-gap: 24px;
    row-gap: 16px;
  }

  .form-row {
    margin: 0;
  }

  /* 한 줄 전체를 써야 하는 요소들(관심 전공, 메모, 동의 등) */
  .form-row.full-row {
    grid-column: 1 / -1;
  }
}

/* ===========================
 * 태블릿 / 모바일 튜닝
 * =========================== */

@media screen and (max-width: 1024px) {
  .peap-apply-inner {
    max-width: 640px;
  }
}

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

  .peap-apply-section {
    padding: 40px 16px 60px;
    background: #f6f7fb;         /* 모바일 랜딩 느낌 살리기 */
  }

  .peap-apply-inner {
    max-width: 480px;
    padding: 24px 18px 30px;
    border-radius: 18px;
    box-shadow: none;            /* 모바일은 그림자 약하게 */
    background: #f6f7fb;
  }

  .peap-apply-head {
    border-radius: 16px;
    padding: 18px 18px 20px;
  }

  .peap-apply-head h1 {
    font-size: 18px;
  }

  .peap-apply-head .desc {
    font-size: 13px;
  }

  .peap-apply-btn {
    width: 100%;
    min-width: 0;
  }
}

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

  .peap-apply-section {
    padding: 30px 12px 50px;
  }

  .peap-apply-inner {
    padding: 20px 14px 26px;
  }

  .form-row label {
    font-size: 13px;
  }

  .form-row input[type="text"],
  .form-row input[type="tel"],
  .form-row input[type="email"],
  .form-row select,
  .form-row textarea {
    font-size: 13px;
  }
}

/* 메인페이지 mainSec_06 전용 튜닝 */
#mainSec_06.peap-apply-section {
  background: #fff;
  padding: 0;
}

#mainSec_06 .peap-apply-inner {
  max-width: 100%;
  margin: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

@media screen and (min-width: 1025px) {
  #mainSec_06 .peap-apply-inner form {
    font-size: 16px;
  }
  #mainSec_06 .peap-apply-inner .form-row {
    margin-bottom: 18px;
  }
}

/* =========================================
 *  PC 전용 폰트/레이아웃 튜닝 (1025px 이상)
 * =======================================*/
@media screen and (min-width: 1025px) {

  /* 라벨(신청자 이름, 연락처 등) 글씨 키우기 */
  .peap-apply-inner .form-row > label {
    font-size: 20px;
    font-weight: 600;
  }

  /* 인풋/셀렉트/텍스트에어리어 글씨 키우기 */
  .peap-apply-inner .form-row input[type="text"],
  .peap-apply-inner .form-row input[type="tel"],
  .peap-apply-inner .form-row input[type="email"],
  .peap-apply-inner .form-row select,
  .peap-apply-inner .form-row textarea {
    font-size: 15px;
  }

  /* 체크박스(글로벌의사, STEM, 국제변호사 등) 글씨 키우기 */
  .peap-apply-inner .peap-check-group label {
    font-size: 17px;
  }

  /* '관심 전공'에서 기타는 한 줄 아래로 분리 + 왼쪽 체크박스 / 오른쪽 텍스트 입력칸 */
  .peap-apply-inner .peap-check-group .etc {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;        /* 위 항목들과 간격 */
  }

  /* 기타 체크박스/텍스트 사이 여백 정리 */
  .peap-apply-inner .peap-check-group .etc input[type="checkbox"] {
    margin-right: 4px;
  }

  .peap-apply-inner .peap-check-group .etc input[type="text"] {
    flex: 1;                /* 오른쪽 입력칸이 쭉 늘어나도록 */
    max-width: 380px;
  }

  /* 상담 신청하기 버튼 가운데 정렬 + 크기 키우기 */
  .peap-apply-bottom {
    margin-top: 28px;
    text-align: center;
  }

  .peap-apply-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 320px;       /* 가로 길이 넉넉하게 */
    height: 56px;
    padding: 0 48px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 999px;   /* 동그란 버튼 느낌 */
  }
}

/* ============================
   mainSec_06 모바일 좌우 여백 제거
   ============================ */

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

  /* hPad50 좌우 패딩 제거 */
  #mainSec_06 .hPad50 {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* inr_box 좌우 패딩 제거 */
  #mainSec_06 .inr_box {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* peap-apply-inner 박스 좌우 패딩 제거 */
  #mainSec_06 .peap-apply-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}