body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fdfdfd;
  -webkit-font-smoothing: antialiased;
}

.page-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.up_h4_title {
  font-size: 24px;
  font-weight: 700;
  color: #1c3c70;
  margin-bottom: 20px;
  padding-left: 0; /* PC에서는 정렬 맞춤 */
}

/* 모든 텍스트 요소 공통 왼쪽 정렬 */
.up_text_block,
.up_h4_title,
.up_text_paragraph,
.up_quote,
.up_quote-block,
.up_callout,
.up_callout .up_cta_contact {
  margin-left: 0;
  padding-left: 0;
}


.up_text {
  margin-bottom: 0px;
  padding: 0;
  box-sizing: border-box;
}


.up_text_block {
  margin-bottom: 40px;
}



.up_subtitle {
  font-size: 18px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 16px;
}

.up_text_paragraph {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
}

.up_text_list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.up_text_list li {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 6px;
}





.up_quote {
  margin: 24px 0;
  color: #2a4f7a;
}

.up_quote-block {
  border-left: 1px solid #1c3c70;
  padding-left: 12px; /* 너무 붙지 않게만 최소 여백 */
  margin-left: 0;
}

.up_quote-block p {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: #2a4f7a;
}



.up_callout {
  background-color: #f6f9fc;
  border-left: 1px solid #1c3c70; /* ← 두께 줄임 */
  padding: 16px 20px 16px 16px;    /* ← 왼쪽 padding 줄임 */
  margin: 32px 0;
  margin-left: 0;	
  border-radius: 8px;
  color: #2a4f7a;
  font-size: 16px;
  line-height: 1.6;
}

.up_callout p {
  margin-bottom: 14px;
}

.up_callout strong {
  font-weight: 600;
  color: #1c3c70;
}

.up_callout .up_cta_contact {
  margin-top: 16px;
  font-weight: 600;
  color: #1a2a44;
  font-size: 15.5px;
  background: #e4eef8;
  padding: 10px 14px;
  border-radius: 6px;
  margin-left: 0;
  padding-left: 0;
  display: block;
}

 .up_subtitle-bar {
	padding-left: 14px;
	border-left: 4px solid #1c3c70;
	font-weight: 600;
	color: #1c3c70;
 }	


.up_gallery_block {
  margin: 32px 0;
}

.up_gallery_title {
  font-size: 17px;
  font-weight: 600;
  color: #003366;
  margin-bottom: 12px;
}

.up_gallery_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  margin-bottom: 32px; /* 원하는 만큼 조절 가능 */	
}

.up_gallery_item {
  margin-bottom: 8px; /* 이미지 캡션과의 간격도 가능하면 추가 */
}

.up_gallery_grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}

.up_gallery_grid img:hover {
  transform: scale(1.03);
}

.up_gallery_caption {
  font-size: 14px;
  color: #555;
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 768px) {
  .up_gallery_grid > .up_gallery_item:nth-last-child(1):nth-child(odd) {
    display: none;
  }
}

/* PC 전용: 이미지 개수에 따른 열 설정 */
.up_gallery_grid.cols-1 {
  grid-template-columns: repeat(1, 1fr);
}
.up_gallery_grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.up_gallery_grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.up_gallery_grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.up_gallery_grid.cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* 모바일에서는 무조건 2열로 고정 */
@media (max-width: 768px) {
  .up_gallery_grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}



/* 공통 리스트 wrapper */
.up_list_bullet,
.up_list_number,
.up_list_check {
  background-color: #f9f9f9;    /* ✅ 밝은 회색 박스 배경 */
  border: 1px solid #ddd;       /* ✅ 연한 외곽선 */
  border-radius: 6px;           /* ✅ 모서리 둥글게 */
  padding: 16px 16px 14px 16px; /* ✅ 내부 여백 */
	
	
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.5;
  color: #000;             /* ✅ 글씨 색: 검정 */
  font-weight: 500;  /* ✅ 볼드체로 강조 */
}

/* 공통 li 항목 스타일: 들여쓰기 통일 */
.up_list_number li,
.up_list_check li {
  position: relative;
  padding-left: 2.2rem;  /* ✅ 마커와 텍스트 간격 통일 */
  margin-bottom: 6px;
}

.up_list_bullet li {
  position: relative;
  padding-left: 2.0rem;  /* ✅ 마커와 텍스트 간격 통일 */
  margin-bottom: 6px;
}



/* bullet 스타일 */
.up_list_bullet {
  list-style: none;
}
.up_list_bullet li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: #2a4f7a;
}

/* number 스타일 */
.up_list_number {
  list-style: none;
  counter-reset: list-counter;
}
.up_list_number li::before {
  counter-increment: list-counter;
  content: counter(list-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.6rem;
  color: #2a4f7a;
}

/* check 스타일 */
.up_list_check {
  list-style: none;
}
.up_list_check li::before {
  content: "☐";
  position: absolute;
  left: 0;
  top: 0;
  color: #2a4f7a;
  font-size: 1.7rem;
}






.up_faq_block {
  position: relative;
  margin-left: 0;
  padding-left: 24px;
  border-left: 3px solid #1c3c70;
  margin: 48px 0;
}

.up_faq_item {
  position: relative;
  margin-bottom: 32px;
}

.up_faq_item::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: #1c3c70;
  border-radius: 50%;
  border: 2px solid #fff;
}

.up_faq_q {
  font-weight: 700;
  font-size: 16px;
  color: #003366;
  margin-bottom: 6px;
  padding-left: 10px;
  line-height: 1.4;
}

.up_faq_a {
  font-size: 15px;
  color: #333;
  line-height: 1.6;
  padding-left: 10px;
}

















.up_link_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.up_link_box {
  border: 1px solid #ccc;
  padding: 16px;
  border-radius: 10px;
  background: #fafafa;
  transition: all 0.2s;
}

.up_link_box:hover {
  background: #f0f8ff;
}

.up_link_box a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.up_link_title {
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 6px;
}

.up_link_desc {
  font-size: 14px;
  color: #555;
}

.up_link_tag {
  margin-top: 8px;
  font-size: 13px;
  color: #d00;
  font-weight: 500;
}






.up_html_list {
  list-style-type: disc;
  padding-left: 20px;
  margin: 16px 0;
}

.up_html_list li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.up_html_list a {
  color: #0055aa;
  text-decoration: underline;
}

.up_html_divider {
  border: none;
  border-top: 1px solid #ccc;
  margin: 40px 0;
}


.up_html_block {
  margin: 32px 0;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
}

.up_html_block a {
  color: #0055aa;
  text-decoration: underline;
}

.up_html_block ul,
.up_html_block ol {
  margin: 0;
  padding-left: 20px;
}

.up_html_block li {
  margin-bottom: 6px;
}















@media (max-width: 768px) {
  .page-section {
    padding: 40px 0;
  }

  .container {
    padding: 0 12px;
  }

  .up_text {
    margin-bottom: 32px;
  }

  .up_text_block {
    margin-bottom: 32px;
    padding: 0 4px;
  }
	
  .up_h4_title {
    font-size: 19px;
    padding-left: 3px;
    padding-right: 2px;
    margin-bottom: 16px;
  }	

  
  
  .up_subtitle {
    font-size: 17px;
    padding-left: 5px;	  
    margin-bottom: 14px;
    line-height: 1.4;
  }
	
 .up_subtitle-bar {
	padding-left: 14px;
	border-left: 4px solid #1c3c70;
	font-weight: 600;
	color: #1c3c70;
 }	

  .up_text_paragraph {
    font-size: 15px; /* 살짝 줄임 */
    line-height: 1.6; /* 간격은 약간 조절 */
    padding-left: 2px;
    padding-right: 2px;
  }

  .up_text_list {
    padding-left: 18px;
    margin-bottom: 10px;
  }

  .up_text_list li {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 5px;
  }

  .up_quote {
    margin: 20px 0;
  }

  .up_quote-block {
    padding-left: 10px;
  }

  .up_quote-block p {
    font-size: 15px;
    line-height: 1.5;
  }

  .up_callout {
    padding: 14px 16px 14px 12px; /* 좌우 패딩 축소 */
    margin: 24px 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .up_callout p {
    margin-bottom: 12px;
  }

  .up_callout .up_cta_contact {
    font-size: 14px;
    padding: 8px 12px;
  }
}
