@charset "UTF-8";
/* ==========================================================================
   main.css — 메인페이지 전용
   기존 layout.css 에서 메인 섹션(비주얼·about·service·program·notice·
   webzine·related_sites·map)만 떼어냈다. (260826)

   [중요] 이 파일은 16px 기준 rem 으로 작성돼 있다.
   카이누리 common.css 는 1600px 초과에서 html 을 18px 로 올리므로,
   아래 '메인 폰트 기준 보정'과 '.wFix 되돌리기'로 메인만 원래 값을 지킨다.
   ========================================================================== */

/* [260828] '메인 폰트 기준 보정'(1600px 초과 16px)은 layout.css 로 옮겼다.
   메인뿐 아니라 서브까지 같은 16px 기준을 쓰기로 했기 때문이다. */

/* ── .wFix 되돌리기 ──────────────────────────────────────────────────────
   common.css 의 .wFix 는 상하 --sec-gap(180px) 패딩을 주는 섹션 컨테이너다.
   메인은 .wFix 를 헤더·푸터·퀵메뉴까지 단순 폭 제한 용도로 쓰므로 원래대로 둔다.
   서브페이지는 카이누리 원래 동작(.wFix = 섹션 리듬)을 그대로 쓴다. */
/* ── 메인 기본 글자색 되돌리기 ───────────────────────────────────────────
   원본 메인은 기본 글자색이 #000 이었는데 카이누리 기본은 #333(--txt-color)이라
   제목 톤이 옅어진다. 토큰만 메인에서 다시 정의하면 상속으로 전파되므로,
   .footer_menu a 처럼 색을 직접 지정한 곳과 우선순위 다툼이 생기지 않는다. */
body.main {
  --txt-color: #000;
}

body.main .wFix {
  max-width: 1660px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
}

/* ── <br> 접기 (1024 이하) ───────────────────────────────────────────────
   마크업의 <br> 은 데스크톱 폭을 보고 넣은 것이라, 좁아지면 엉뚱한 자리를
   끊는다(한 단어만 남고 줄이 바뀌는 등). 1024 아래에서는 줄바꿈을 브라우저에
   맡기고 <br> 만 접는다.

   이 파일은 메인($IS_MAIN)에서만 로드되므로 서브페이지에는 영향이 없다.
   반대로 메인에 얹히는 공통 푸터(주소 두 줄)까지 한 덩어리로 흐르게 된다 —
   의도한 동작이다. 특정 <br> 을 남겨야 하면 그 요소에
   `br { display: inline }` 으로 되살릴 것. */

/* ==========================================================================
   메인 섹션
   ========================================================================== */

/* [260827] gap 은 '최소 간격'이지 '고정 간격'이 아니다.
   글자와 아이콘은 justify-content:space-between 이 알아서 양끝으로 벌린다.
   여기에 4rem 을 주고 아래 반응형에서 width 를 고정하니, 좁은 화면에서
   글자+4rem+아이콘 이 상자보다 커져서 터졌다(reset 의 button{overflow:hidden}
   때문에 화살표가 잘려 사라지거나, 글자가 두 줄로 접혀 알약을 넘쳤다).
   gap 은 1rem 으로 낮추고, 폭은 아래에서 width 대신 min-width 로 준다. */
.view_more {
  /* width: 210px; */
  height: 50px;
  border-radius: 999px;
  border: 1px solid #e2e2e2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.2rem;
  padding-right: 0.4rem;
  font-family: "A2Z";
  color: #333333;
  gap: 1rem;
  min-width: 210px; /* 데스크톱에서 원래 보이던 폭 */
  white-space: nowrap; /* 'VIEW MORE' 는 어느 폭에서도 한 줄이다 */
}

.view_more span {
  font-size: 1rem;
  /* common.css 의 .btn 이 font-weight:600 을 주므로 원래 굵기로 되돌린다 */
  font-weight: 400;
}

/* 원 배경은 SVG 안에 있던 것을 CSS 로 옮겼다 (260826 아이콘 폰트 전환) */
.view_more .material-symbols-outlined {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #e2e2e2;
  color: #333333;
  font-size: 20px;
  transition: transform 0.3s ease;
}

.view_more:hover {
  background-color: #fafafa;
}

.view_more:hover .material-symbols-outlined {
  transform: rotate(45deg);
}

/* 어두운 배경 위에 얹는 변형 — 별도 색을 쓰지 않고 흰색의 투명도만 조절한다.
   화살표 버튼(.swiper_nav.white)과 같은 방식이라 나란히 놓아도 톤이 맞는다. */
.view_more.white {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.9);
}

.view_more.white .material-symbols-outlined {
  background-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.view_more.white:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

main.main {
  position: relative;
  height: 100vh;
}

.main_swiper {
  position: relative;
  height: 100%;
}

.main_swiper .swiper-slide {
  height: 100%;
}

.main_swiper .swiper-slide .img_box {
  width: 100%;
  height: 100%;
}

.main_content {
  position: absolute;
  top: calc(50% - 60px);
  left: 0;
  transform: translateY(-50%);
  z-index: 100;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.main_content .main_text {
  font-weight: 700;
  padding-bottom: 1rem;
}

.main_content .main_text span {
  line-height: 1.2;
}

.swiper_nav {
  display: flex;
  /* .btn_wrap 이 flex-wrap:wrap 이라 폭이 빠듯하면 화살표가 세로로 접힌다.
     화살표 두 개는 늘 한 줄이어야 하므로 접힘과 줄어듦을 막는다. */
  flex-wrap: nowrap;
  flex-shrink: 0;
  gap: 0.4rem;
}

.swiper_nav > * {
  position: static;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

/* 버튼에 .btn 이 붙어 있어 common.css 의 `.btn > .material-symbols-outlined`
   (18px)가 걸린다. 화살표는 24px 로 되돌린다. */
.swiper_nav .material-symbols-outlined {
  font-size: 20px;
  transition: color 0.2s ease;
}

/* ── 화살표 버튼 색 ─────────────────────────────────────────────────────
   놓이는 배경으로 구분한다.
     .white  어두운 배경 위 (메인 비주얼 사진 · 지원정보 남색 섹션)
     .dark   흰 배경 위     (웹진 · 관련사이트)
   흰색 계열은 색을 따로 쓰지 않고 흰색의 투명도만 조절한다.        */
.swiper_nav.white > * {
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.swiper_nav.white > .swiper-button-disabled {
  border-color: rgba(255, 255, 255, 0.2);
}
.swiper_nav.white .material-symbols-outlined {
  color: rgba(255, 255, 255, 0.9);
}
.swiper_nav.white .swiper-button-disabled .material-symbols-outlined {
  color: rgba(255, 255, 255, 0.35);
}

.swiper_nav.dark > * {
  border: 1px solid #777777;
}
.swiper_nav.dark > .swiper-button-disabled {
  border-color: #c8c8c8;
}
.swiper_nav.dark .material-symbols-outlined {
  color: #999999;
}
.swiper_nav.dark .swiper-button-disabled .material-symbols-outlined {
  color: #c8c8c8;
}

/* 카이누리 .btn_wrap 은 폼 하단 버튼 묶음용이라 가운데 정렬이 기본이다.
   메인에서는 버튼이 저마다 제자리(왼쪽·오른쪽)에 놓여야 하므로 되돌린다. */
body.main .btn_wrap {
  justify-content: flex-start;
}

/* ── 섹션 세로 리듬 ──────────────────────────────────────────────────────
   예전엔 섹션마다 같은 padding 을 따로 적어 뒀다(program·notice 는 값까지
   똑같았다). 기준값을 여기 한 곳에 두고, 다른 값이 필요한 섹션만 아래에서
   덮는다. 섹션을 새로 추가하면 이 값을 그대로 물려받는다.            */
.contents > section {
  padding: 4rem 0;
}

section.about {
  padding-top: 8rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e2e2e2;
}

section.about .about_content {
  display: flex;
}

section.about .about_content > div {
  flex: 1;
}

section.about h4 {
  font-weight: 600;
}

section.service {
  padding-bottom: 8rem;
}

.service_content {
  display: flex;
  gap: 1.5rem;
}

.service_content .item {
  height: 380px;
  flex: 1;
  border-radius: 12px;
  position: relative;
  transition: box-shadow 0.2s ease;
}

.service_content .item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.service_content .item:nth-of-type(1) {
  background: url(../../images/main/service01.png) center / cover no-repeat;
}

.service_content .item:nth-of-type(2) {
  background: url(../../images/main/service02.png) center / cover no-repeat;
}

.service_content .item:nth-of-type(3) {
  background: url(../../images/main/service03.png) center / cover no-repeat;
}

.service_content .item:nth-of-type(4) {
  background: url(../../images/main/service04.png) center / cover no-repeat;
}

.service_content .item span {
  font-weight: 500;
  text-align: center;
  display: block;
  margin-top: 2rem;
  position: relative;
  z-index: 200;
}

.service_content .item::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(37, 37, 37, 0.8),
    rgba(66, 66, 66, 0.4)
  );
  position: absolute;
  z-index: 100;
  border-radius: 12px;
  left: 0;
  top: 0;
}

/* hover 오버레이 — 그라디언트끼리는 transition 이 걸리지 않는다(색이 아니라
   이미지라서). 민트 쪽을 ::after 로 겹쳐 두고 투명도만 0 → 1 로 바꾼다. */
.service_content .item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 150; /* 어두운 ::before(100) 위, 글자·아이콘(200) 아래 */
  border-radius: 12px;
  background: linear-gradient(
    to bottom,
    rgb(0 193 237 / 64%),
    rgb(185 253 32 / 35%)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.service_content .item:hover::after {
  opacity: 1;
}

.service_content .item > .material-symbols-outlined {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 24px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* 예전 upright_arrow_active.svg — 원이 흰색으로 차고 화살표가 어두워진다 */
.service_content .item:hover > .material-symbols-outlined {
  background-color: var(--white);
  color: #333333;
}

section.program {
  background: #00252d url("../../images/main/program_bg.png") center/cover
    no-repeat;
  background-attachment: fixed;
}

section.program .program_title {
  padding-bottom: 1rem;
  border-bottom: 1px solid #194656;
}

section.program .program_content {
  display: flex;
  align-items: flex-start;
  padding-left: max(calc((100vw - 1660px) / 2 + 1em), 1.5em);
  gap: 5rem;
}

section.program .program_content .tab_menu {
  display: flex;
  flex-direction: column;
  width: 400px;
  flex-shrink: 0;
}

section.program .program_content .tab_menu .menu_item {
  color: #8db7c5;
  height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #317e99;
  font-weight: 500;
  cursor: pointer;
}

section.program
  .program_content
  .tab_menu
  .menu_item
  .material-symbols-outlined {
  font-size: 22px;
  color: #c8f5ff;
  display: none;
}

section.program .program_content .tab_cont {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

section.program .program_content .tab_menu .menu_item.active {
  color: var(--white);
  border-bottom: 1px solid #c8f5ff;
}

section.program
  .program_content
  .tab_menu
  .menu_item.active
  .material-symbols-outlined {
  display: block;
}

section.program .program_content .tab_cont .content_item {
  display: none;
}

section.program .program_content .tab_cont .content_item.active {
  display: block;
}

section.program .program_card {
  height: 440px;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

section.program .program_card > div {
  flex: 1;
}

section.program .program_card .top {
  flex: 1;
  min-height: 0;
}

section.program .program_card .thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section.program .program_card .top .arrow {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 24px;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

section.program .program_card:hover .arrow {
  background-color: var(--white);
  color: #333333;
}

section.program .program_card .bottom {
  background-color: #00495f;
  padding: 1.5rem;
  flex: 0 0 auto;
  position: relative;
  /* 아래 ::before 가 태그·제목 위로 올라오지 않도록 이 안에서만 층을 쌓는다 */
  isolation: isolate;
}

/* hover 배경 — 그라디언트는 transition 이 걸리지 않는다(색이 아니라 이미지라서).
   미리 깔아 두고 투명도만 0 → 1 로 바꾼다.
   z-index:-1 은 이 요소의 배경색(#00495f) 위, 안쪽 글자 아래에 놓인다. */
section.program .program_card .bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    135deg,
    var(--main-gradient-start),
    var(--main-gradient-end)
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

section.program .program_card:hover .bottom::before {
  opacity: 1;
}

section.program .program_card .bottom .tag {
  transition: border-color 0.2s ease;
  font-family: "A2Z";
  padding: 0.4rem 1rem;
  border: 1px solid #2b738c;
  font-weight: 400;
  border-radius: 999px;
  color: #d7f7ff;
  display: block;
  width: fit-content;
  margin-bottom: 0.6rem;
}

section.program .program_card:hover .bottom .tag {
  border: 1px solid #a3e9f9;
}

section.program .program_card .bottom .title {
  font-weight: 600;
  color: #fff;
}

section.program .program_card .bottom .date {
  display: block;
  color: #e5fff1;
  font-family: "A2Z";
  font-weight: 300;
}

section.notice {
  border-bottom: 1px solid #e2e2e2;
}

.notice_title .tab_menu .menu_item {
  padding: 0 1.5rem;
  height: 50px;
}

.notice_title .tab_menu .menu_item.active {
  border: none;
  font-weight: 600;
}

.notice_content .content_item {
  display: flex;
  gap: 1.5rem;
}

section.notice .notice_content .tab_cont .content_item {
  display: none;
}

section.notice .notice_content .tab_cont .content_item.active {
  display: grid;
}

/* 왼쪽 대표 글의 폭 — 아래 지역새일센터(.map_img 528px)와 같은 비율로 맞췄다.
   둘 다 gap 은 --spacing-m 이라, 이 값만 같으면 두 섹션의 좌우 분할이 일치한다. */

/* [260826 수정] 셀렉터가 .date_list 로 되어 있었는데 마크업(main.php)은 .notice_list 라
   데스크탑에서 이 목록 스타일이 통째로 먹지 않았다. 반응형 규칙 일부는 이미
   .notice_list 로 적혀 있어, 마크업에 맞춰 .notice_list 로 통일했다. */

/* 예전엔 add_gray.svg → add_mint.svg 로 파일을 갈아끼웠다. 이제 색과 크기만 바꾼다 */

/* ==========================================================================
   공지사항 — 글 수가 모자랄 때 (260826)

   화면은 [대표 1건 + 목록 3건]을 전제로 짜여 있는데, 백엔드가 붙으면
   글이 그보다 적은 날이 생긴다. PHP 로 마크업을 갈아끼우지 않아도 되도록
   :has() 로 목록 개수를 읽어 CSS 에서 처리한다.
   (:has() 를 못 읽는 옛 브라우저에서는 아무 일도 일어나지 않고 기존
    레이아웃이 그대로 유지되므로 안전하다.)

   · 2~3건  목록이 위에서부터 쌓이고 아래는 빈 채로 둔다 → 별도 규칙 불필요
   · 1건    아래 [글이 대표 하나뿐일 때]
   · 0건    아래 [글이 아예 없을 때]
   ========================================================================== */

/* ── 글이 대표 하나뿐일 때 — 가로형 카드로 펼친다 ─────────────────────── */
/* 오른쪽 목록 영역을 접는 것은 전 구간 공통 */

/* 눕히는 건 데스크탑에서만. 1200px 이하는 기존 반응형 카드(썸네일을 글자 높이에
   맞춰 줄이는 --thumb-h 방식)가 이미 가로형이라 그대로 두는 편이 낫다.
   여기서 440px 를 강제하면 좁은 화면에서 썸네일이 폭 절반을 먹는다. */

/* ── 글이 아예 없을 때 ───────────────────────────────────────────────────
   .content_item 안을 아래처럼 비우면 된다(.none_data 는 common.css 컴포넌트).

     <div class="content_item active" data-tab="notice01">
       <div class="none_data">
         <i class="material-symbols-outlined" aria-hidden="true">info</i>
         등록된 게시물이 없습니다.
       </div>
     </div>
*/
/* ==========================================================================
   공지사항 목록 (260826 구조 개편)

   예전엔 대표글(.left)과 목록(.right > .notice_list)이 서로 다른 마크업으로
   갈라져 있었다. 실제로는 같은 게시물이고 첫 건만 크게 보여줄 뿐이라,
   지금은 .notice_item 을 형제로 나열하고 첫 건에만 .ty_feature 를 붙인다.

   모든 항목이 같은 조각(img_box · date_badge · notice_text · plus_btn)을
   갖고 있고, 어느 것을 보여줄지는 아래 CSS 가 정한다. 그래서 백엔드는
   조건 분기 없이 같은 루프를 돌리고 첫 건에만 클래스 하나만 더하면 된다.
   ========================================================================== */
.notice_content .content_item {
  display: grid;
  grid-template-columns: 528px 1fr;
  /* 목록 줄 사이는 테두리로만 구분한다. 세로 간격을 주면 줄마다 벌어진다. */
  column-gap: 1.5rem;
  row-gap: 0;
  align-content: start;
}

.notice_item {
  display: flex;
}

/* 제목·본문·날짜 묶음 — 예전엔 마크업에 .col_gap_xxs 를 함께 붙여 세로로
   세웠는데, 이 묶음은 늘 세로라서 여기서 직접 지정한다. */
.list_text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ── 대표(첫 건) — 왼쪽 열을 세로로 차지한다 ────────────────────────────
   암시적 그리드에서는 `grid-row: 1 / -1` 이 마지막 줄을 가리키지 못한다.
   실제 데이터는 --notice-list-rows로 행 수를 전달하고, 기존 정적 목록은 :has()로 보완한다. */
.notice_item.ty_feature {
  grid-column: 1;
  grid-row: 1 / span var(--notice-list-rows, 3);
  flex-direction: column;
}
.notice_content .content_item:not(:has(.notice_item:nth-child(4))) .ty_feature {
  grid-row: 1 / span 2;
}
.notice_content .content_item:not(:has(.notice_item:nth-child(3))) .ty_feature {
  grid-row: 1 / span 1;
}

/* 대표에는 날짜배지·+버튼을 쓰지 않는다.
   아래 `.notice_item .list_badge` 와 구체성이 같으면 순서에 밀리므로
   `.notice_item.ty_feature` 로 한 단계 높여 둔다. */
.notice_item.ty_feature .list_badge,
.notice_item.ty_feature .plus_btn {
  display: none;
}

.ty_feature .img_box {
  width: 100%;
  flex: 1 1 0%;
  min-height: 0;
  border-radius: 12px;
  border: 1px solid #e2e2e2;
}
/* 이미지를 흐름에서 빼야 한다. 그러지 않으면 원본 높이가 항목 높이를 밀어올려
   오른쪽 목록 줄까지 같이 늘어난다. (.img_box 는 position:relative) */
.ty_feature .img_box img {
  position: absolute;
  inset: 0;
  object-position: top;
}

.ty_feature .list_text {
  flex: 0 0 auto;
  margin-top: 1.25rem;
}
.ty_feature .list_tit {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ty_feature .list_desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ty_feature .list_date {
  font-family: "A2Z";
  margin-top: 0.6rem;
}

#panel_notice03 .notice_item.ty_feature .list_date {
  display: none !important;
}

/* 등록 이미지가 없는 글은 임의 이미지를 넣지 않고 텍스트 카드로 표시한다. */
.notice_item.ty_feature.is_text_only {
  padding: 2rem;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: var(--bg-sub-color);
  justify-content: center;
}
.notice_item.ty_feature.is_text_only .list_text {
  margin-top: 0;
}

/* ── 목록(둘째 건부터) — 오른쪽 열에 한 줄씩 ──────────────────────────── */
.notice_item:not(.ty_feature) {
  grid-column: 2;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #e2e2e2;
  padding: 1.5rem 1rem;
  min-height: calc(106px + 1.5rem * 2);
}

/* 목록 첫 줄에만 위 선 — 공지(대표 다음)와 지도(맨 처음) 두 경우를 함께 잡는다 */
body.main
  section.notice
  .notice_content
  .content_item
  > .notice_item:last-child {
  border-bottom: none;
}

.ty_feature + .notice_item,
.notice_item:not(.ty_feature):first-child {
  border-top: 1px solid #e2e2e2;
}

.notice_item:not(.ty_feature) .img_box,
.notice_item:not(.ty_feature) .list_date {
  display: none !important;
}

.notice_item.is_notice .list_date {
  display: block !important;
  margin-top: 0.5rem;
  color: #888;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
}

.notice_item.is_notice .list_date .date_label,
#panel_notice03 .notice_item:not(.ty_feature) .list_date .date_label {
  color: #444b57;
}

.notice_item.is_notice .list_date .date_value,
#panel_notice03 .notice_item:not(.ty_feature) .list_date .date_value {
  color: #888;
}

.notice_item .list_badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 106px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  background-color: #d6e5e5;
  color: #428d8d;
  font-family: "A2Z";
  font-weight: 500;
}
/* 공지사항 스티커 */
.notice_item.is_notice .list_badge {
  background-color: #069ac7;
  color: #fff;
}

.notice_item:not(.ty_feature) .list_tit {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notice_item:not(.ty_feature) .list_desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 사진첩 — 썸네일 없이 일반 게시글 목록으로 전체 너비 사용 */
.notice_content .content_item.is_list_only {
  grid-template-columns: 1fr;
}

.notice_content .content_item.is_list_only .notice_item {
  grid-column: 1;
  width: 100%;
}

.notice_content .content_item.is_list_only .notice_item:first-child {
  border-top: 1px solid #e2e2e2;
}

.notice_item .plus_btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
}
.notice_item:hover .plus_btn {
  background-color: #d6e5e5;
}
.notice_item .plus_btn .material-symbols-outlined {
  font-size: 18px;
  color: #999999;
  transition:
    font-size 0.2s ease,
    color 0.2s ease;
}
.notice_item:hover .plus_btn .material-symbols-outlined {
  font-size: 21px;
  color: #428d8d;
}

/* ── 글이 대표 하나뿐일 때 — 가로형 카드로 펼친다 ─────────────────────── */
.notice_content .content_item:not(:has(.notice_item:nth-child(2))) {
  grid-template-columns: 1fr;
}

.notice_content .content_item > .none_data {
  flex: 1;
  min-height: 18.75rem; /* 300px — 대표 카드가 있던 만큼의 높이 */
  border: 1px solid #e2e2e2;
  color: #777777;
}

section.webzine {
  background: url(../../images/main/webzine_bg.png);
  padding-top: 8rem;
  padding-bottom: 6rem;
}

.webzine_title {
  border-bottom: 1px solid #e2e2e2;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.webzine_content .swiper-slide a {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
}

/* Swiper의 16px 간격 중앙에 구분선을 두어 표지 양옆 여백을 맞춘다. */
.webzine_content .swiper-slide:not(:last-child) a::after {
  content: "";
  position: absolute;
  top: 1rem;
  bottom: 1rem;
  right: -8px;
  width: 1px;
  background: #e2e2e2;
  pointer-events: none;
}

.webzine_content .swiper-slide .img_box {
  position: relative;
  width: 260px;
  max-width: 100%;
  flex: 0 1 260px;
  aspect-ratio: 190 / 270;
}

.webzine_content .swiper-slide .img_box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.webzine_content .swiper-slide a:hover .img_box {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: none;
}

.webzine_content .swiper-slide a:hover .img_box::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
}

/* 예전엔 add_mint.svg 를 배경으로 깔았다. Material Symbols 는 글자 이름(리거처)
   으로 그려지므로 content 에 아이콘 이름을 넣으면 된다. */
.webzine_content .swiper-slide a:hover .img_box::after {
  content: "add";
  font-family: "Material Symbols Outlined";
  font-size: 25px;
  line-height: 56px;
  text-align: center;
  color: #428d8d;
  width: 56px;
  height: 56px;
  background-color: #d7f7ff;
  border-radius: 50%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
}

section.related_sites {
  display: flex;
  height: 150px;
  padding: 0;
}

section.related_sites .left {
  flex: 360px 0 0;
  flex-direction: column;
  /* .fit_center 의 가운데 정렬을 왼쪽으로 되돌린다.
     가운데 정렬이면 안쪽 내용 폭이 바뀔 때마다 왼쪽 시작점이 따라 움직여서,
     아래 묶음의 간격만 넓혀도 제목과 줄이 어긋난다. */
  align-items: flex-start;
  /* 다른 섹션의 .wFix 와 같은 좌측 기준선에 맞춘다 */
  padding-left: calc((100vw - 1660px) / 2);
  border-right: 1px solid #e2e2e2;
}

/* 페이지 표시와 화살표 사이 — 공통 .head_actions(0.5rem)보다 넉넉하게 */
section.related_sites .left .bottom {
  gap: 0.875rem;
}

section.related_sites .right {
  flex: 1;
  min-width: 0;
}

/* 화면이 1660px 보다 좁아지면 .wFix 도 좌우 1em 만 남으므로 함께 맞춘다 */

section.related_sites .swiper_nav {
  gap: 0.5rem;
}

section.related_sites .swiper_nav > * {
  width: 36px;
  height: 36px;
}

section.related_sites .swiper-pagination-current {
  font-family: "A2Z";
  font-weight: 600;
}

section.related_sites .swiper-pagination-total {
  font-family: "A2Z";
  color: #9e9e9e;
  font-weight: 400;
}

section.related_sites .swiper {
  height: 100%;
}

/* main_map.php의 관련사이트만 가감속 없이 일정하게 흐른다. */
.related_sites_swiper[data-continuous="true"] > .swiper-wrapper {
  transition-timing-function: linear;
}

section.related_sites .swiper-slide a {
  width: 100%;
  height: 100%;
  position: relative;
}

section.related_sites .swiper-slide a::before {
  content: "";
  width: 1px;
  height: 60%;
  background-color: #e2e2e2;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

section.related_sites .swiper-slide .img_box {
  width: 100%;
  height: 100%;
}

/* 관련기관 로고는 잘리면 안 되므로 cover 가 아니라 contain */
section.related_sites .swiper-slide .img_box > img {
  object-fit: contain;
}

section.map {
  padding-top: 6rem;
}

.map_content {
  display: flex;
  align-items: flex-start;
  gap: 0 1.5rem;
}

.map_content .map_list {
  flex: 1;
}

/* Responsive breakpoints: 1660 / 1440 / 1201+ / 1200 / 1024 / 768 / 500 / 480px. */

@media screen and (max-width: 1660px) {
  section.related_sites .left {
    padding-left: 1em;
  }
}

@media screen and (max-width: 1440px) {
  section.program .program_content {
    flex-direction: column;
    width: 100%;
  }
  section.program .program_content .tab_menu {
    flex-direction: row;
    gap: 0.5rem;
    width: 100%;
    padding-right: max(calc((100vw - 1660px) / 2 + 1em), 1em);
  }
  section.program .program_content .tab_menu .menu_item {
    flex: 1;
    max-width: 200px;
  }
  section.program .program_content .tab_cont {
    width: 100%;
  }
  .map_content {
    flex-direction: column;
    gap: 4rem;
  }
  .map_content .map_img {
    margin: 0 auto;
  }
}

@media screen and (min-width: 1201px) {
  .notice_content
    .content_item:not(:has(.notice_item:nth-child(2)))
    .ty_feature {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .notice_content
    .content_item:not(:has(.notice_item:nth-child(2)))
    .ty_feature
    .img_box {
    flex: 0 0 528px;
    aspect-ratio: 3 / 2;
  }
  .notice_content
    .content_item:not(:has(.notice_item:nth-child(2)))
    .ty_feature
    .list_text {
    flex: 1;
    min-width: 0;
    margin-top: 0;
  }
}

@media screen and (max-width: 1200px) {
  /* 좁아지면 위아래로 쌓고, 대표는 가로형 카드가 된다 */
  .notice_content .content_item {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .notice_item.ty_feature,
  .notice_content
    .content_item:not(:has(.notice_item:nth-child(4)))
    .ty_feature,
  .notice_content
    .content_item:not(:has(.notice_item:nth-child(3)))
    .ty_feature {
    grid-column: 1;
    grid-row: auto;
    flex-direction: row;
    align-items: stretch;
    gap: 1rem;
    width: 100%;
    margin-bottom: 1.5rem;
  }
  .ty_feature .img_box {
    --thumb-h: calc(
      2 * 1.4 * 1.5rem + 0.25rem + 3 * 1.6 * 1rem + 1rem + 1.6 * 1rem
    );
    flex: 0 0 calc(var(--thumb-h) * 0.8);
    width: auto;
    aspect-ratio: auto;
  }
  .ty_feature .list_text {
    flex: 1;
    min-width: 0;
    margin-top: 0;
    min-height: var(--thumb-h);
  }
  .notice_item:not(.ty_feature) {
    grid-column: 1;
    min-height: calc(90px + 1.5rem * 2);
  }
  .notice_item .list_badge {
    flex-basis: 90px;
  }

  section.notice .notice_content .tab_cont .content_item {
    flex-direction: column;
  }
  .service_content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .service_content .item {
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .service_content .item span {
    margin-top: 0 !important;
  }
}

@media screen and (max-width: 1024px) {
  br {
    display: none;
  }

  .contents > section {
    padding: 3rem 0;
  }
  section.about {
    padding-top: 6rem;
    padding-bottom: 2.5rem;
  }

  section.service {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }

  section.program {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  section.notice {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  section.webzine {
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  section.map {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  main.main {
    height: 820px;
  }
  section.about .about_content {
    flex-direction: column;
    gap: 1rem;
  }
  /* [260827] 제목 + VIEW MORE 는 한 줄에 두고, 탭만 아랫줄로 내린다.
     예전엔 column 으로 세워 제목/조작을 통째로 갈랐는데, VIEW MORE 가
     탭과 같은 .right 안에 있어서 제목 옆으로 올라오지 못했다.
     아래에서 .right 를 display:contents 로 없애 자식들을 직접 배치한다. */
  :is(section.notice, section.main_network) .notice_title {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .notice_title .tab_menu .menu_item {
    height: 46px;
  }
  .view_more {
    min-width: 180px; /* [260827] width 고정이면 글자가 두 줄로 접혀 넘친다 */
    height: 46px;
  }
  section.related_sites {
    flex-direction: column;
    height: auto;
  }
  section.related_sites .left {
    align-items: center;
    flex: none;
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
  }
  section.related_sites .right {
    height: 130px;
    flex: auto;
  }
  /* .right 상자를 없애 자식(탭·VIEW MORE)이 .notice_title 의 직접 항목이
     되게 한다. 마크업을 그대로 두고 배치만 바꾸는 방법이다.
     상자가 사라지므로 .right 에 걸던 테두리·여백은 아래 .tab_menu 로 옮겼다. */
  :is(section.notice, section.main_network) .notice_title .right {
    display: contents;
  }
  /* 1) 제목  2) VIEW MORE  3) 탭(줄 전체) */
  :is(section.notice, section.main_network) .notice_title .tit_wrap {
    order: 1;
  }
  :is(section.notice, section.main_network) .notice_title .view_more {
    order: 2;
    flex-shrink: 0;
  }
  :is(section.notice, section.main_network) .notice_title .tab_menu {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    /* 제목·VIEW MORE 묶음과 탭을 가르는 선 */
    border-top: 1px solid #e2e2e2;
    padding-top: 1rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu::-webkit-scrollbar {
    display: none;
  }
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu
    .menu_item {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  :is(section.notice, section.main_network) .notice_title .right .view_more {
    flex-shrink: 0;
  }
  .service_content .item > .material-symbols-outlined,
  section.program .program_card .top .arrow {
    width: 2.8rem;
    height: 2.8rem;
    font-size: 20px;
  }
  section.about .about_content .right {
    margin-top: 0 !important;
  }
  .text_body_lg {
    font-size: 0.9rem;
  }
  section.about .about_content .right .btn_wrap {
  }
}

@media screen and (max-width: 768px) {
  .contents > section {
    padding: 3rem 0;
  }
  section.about {
    padding-top: 5rem;
    padding-bottom: 2rem;
  }
  .main_content .main_text {
    padding-bottom: 0.6rem;
  }
  .main_content .swiper_nav {
    margin-top: 1.5rem !important;
  }
  body.main .main_content .btn_wrap {
    justify-content: center;
  }

  section.service {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }

  section.program {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  section.notice {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .ty_feature .img_box {
    --thumb-h: calc(
      2 * 1.4 * 1.25rem + 0.25rem + 3 * 1.6 * 1rem + 1rem + 1.6 * 1rem
    );
  }
  .notice_item .list_badge {
    flex-basis: 75px;
  }

  section.webzine {
    padding-top: 5rem;
    padding-bottom: 3rem;
  }

  .webzine_content .swiper-slide .img_box {
    aspect-ratio: 190 / 270;
  }

  section.map {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  section.related_sites .swiper_nav > * {
    width: 30px;
    height: 30px;
  }
  section.related_sites .swiper_nav > * .material-symbols-outlined {
    font-size: 1rem;
  }

  main.main {
    height: 640px;
  }
  .swiper_nav {
    gap: 0.2rem;
  }
  .swiper_nav > * {
    width: 3rem;
    height: 3rem;
  }
  .service_content {
    grid-template-columns: 1fr;
  }
  section.related_sites .right {
    height: 100px;
  }
  .service_content .item {
    height: 200px;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.5rem;
  }
  .service_content .item > .material-symbols-outlined,
  section.program .program_card .top .arrow {
    bottom: 1.5rem;
    right: 1.5rem;
  }

  section.program .program_content {
    gap: 1.5rem;
  }
  section.program .program_card {
    height: 360px;
  }
  section.related_sites .left.fit_center .text_heading_md {
    margin-bottom: 0 !important;
  }
}

@media screen and (max-width: 500px) {
  .notice_item:not(.ty_feature) {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .notice_item .plus_btn {
    display: none;
  }
  .notice_item .list_badge {
    flex: none;
    width: auto;
    height: 35px;
    aspect-ratio: auto;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: flex-start;
    background: #d6e5e5;
    border-radius: 200px;
    margin-bottom: 0.6rem;
    padding: 0.6rem;
  }
  .notice_item .list_badge .text_heading_md {
    font-size: 1rem;
    line-height: 1.6;
  }

  .swiper_nav > * {
    width: 2.5rem;
    height: 2.5rem;
  }
  .view_more {
    min-width: 130px; /* [260827] width 고정이면 화살표가 잘려 사라진다 */
    height: 40px;
    gap: 0.75rem;
    padding-right: 0.2rem;
  }
  /* 알약 높이(40px)의 테두리 안쪽에 들어오도록 아이콘도 같이 줄인다 */
  .view_more .material-symbols-outlined {
    width: 28px;
    height: 28px;
    font-size: 17px;
  }
  .view_more img {
    width: 25px;
  }
  .view_more span {
    font-size: 0.8rem;
  }
  main.main {
    height: 740px;
  }
  .main_content {
    top: 42%;
    transform: translateY(-50%);
    text-align: center;
  }
  section.service .service_title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  :is(section.notice, section.main_network) .notice_title {
    gap: 1rem;
  }
  /* [260827] 여기서 .right 를 flex 로 되살리면 위 display:contents 를 덮어
     VIEW MORE 가 다시 탭과 한 상자로 묶인다. 상자를 만들지 않는다. */
  :is(section.notice, section.main_network) .notice_title .right .view_more {
    flex-shrink: 0;
  }
  .plus_btn {
    display: none;
  }
  /* order 는 @1024 에서 이미 3(=맨 뒤). 여기서 2 로 낮추면 VIEW MORE 와
     동점이 되고, DOM 순서상 탭이 먼저라 VIEW MORE 앞으로 튀어나온다. */
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu
    .menu_item {
    height: 40px;
  }

  section.program .program_title,
  section.webzine .webzine_title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  section.program .program_title .right,
  section.webzine .webzine_title .right {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .map_content {
    width: 100%;
    overflow-x: hidden;
  }
  /* [260827] transform:scale(0.65) + margin-bottom:-150px 을 걷어냈다.
     이제 .map_img 가 width:min(528px,100%) 로 스스로 줄어든다. */
  .map_content .map_img {
    align-self: center;
  }
  :is(section.notice, section.main_network) .notice_title .right .tab_menu,
  section.program .program_content .tab_menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    width: 100%;
    gap: 0.5rem;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu::-webkit-scrollbar,
  section.program .program_content .tab_menu::-webkit-scrollbar {
    display: none;
  }
  /* 모양은 두 섹션이 같고, 색만 놓이는 배경에 따라 갈린다.
     공지사항은 흰 배경 · 지원정보는 남색 배경 위다. 한 규칙으로 묶어 흰색
     반투명을 주면 공지사항 비활성 탭 3개가 흰 배경에 묻혀 사라진다. */
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu
    .menu_item,
  section.program .program_content .tab_menu .menu_item {
    flex: 0 0 auto;
    height: 40px;
    max-width: none;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: transparent;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
  }
  /* 흰 배경 위 — 데스크톱과 같은 회색 */
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu
    .menu_item {
    border: 1px solid #e2e2e2;
    color: #9e9e9e;
  }
  /* 남색 배경 위 — 흰색의 투명도만 조절한다(.view_more.white 와 같은 방식) */
  section.program .program_content .tab_menu .menu_item {
    border: 1px solid rgba(255, 255, 255, 0.33);
    color: rgba(255, 255, 255, 0.51);
  }
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu
    .menu_item
    span,
  section.program .program_content .tab_menu .menu_item span {
    font-size: 1rem;
    font-weight: inherit;
  }
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu
    .menu_item.active {
    border-color: #333333;
    background-color: #333333;
    color: var(--white);
    font-weight: 600;
  }
  section.program .program_content .tab_menu .menu_item.active {
    border-color: #c8f5ff;
    background-color: #c8f5ff;
    color: #333333;
    font-weight: 600;
  }
  section.program
    .program_content
    .tab_menu
    .menu_item
    .material-symbols-outlined {
    display: none !important;
  }
  section.program .program_content .tab_menu .menu_item img,
  section.program .program_content .tab_menu .menu_item.active img {
    display: none;
  }
  section.related_sites .left.fit_center {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e2e2e2;
    border-right: none;
  }
  section.related_sites .swiper-pagination-fraction {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .contents > section {
    padding: 2rem 0;
  }
  section.about {
    padding-top: 4rem;
    padding-bottom: 1.5rem;
  }

  section.service {
    padding-top: 1.5rem;
    padding-bottom: 4rem;
  }

  section.program {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  section.program .program_card .bottom .tag {
    padding: 0.25rem 1rem;
  }

  section.notice {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ty_feature .img_box {
    --thumb-h: calc(
      2 * 1.4 * 1.125rem + 0.25rem + 3 * 1.6 * 0.9rem + 1rem + 1.6 * 0.9rem
    );
  }
  .notice_item:not(.ty_feature) {
    gap: 0.25rem;
  }
  .notice_item .list_badge {
    gap: 0.25rem;
  }
  .notice_item .list_badge .text_heading_md {
    font-size: 0.9rem;
  }

  section.webzine {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  section.related_sites .swiper_nav {
    gap: 0.25rem;
  }

  section.map {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  section.program .program_content .tab_menu {
    gap: 0.25rem;
  }

  .swiper_nav {
    gap: 0.25rem;
  }

  :is(section.notice, section.main_network) .notice_title .right .tab_menu,
  section.program .program_content .tab_menu {
    gap: 0.25rem;
  }
  :is(section.notice, section.main_network)
    .notice_title
    .right
    .tab_menu
    .menu_item
    span,
  section.program .program_content .tab_menu .menu_item span {
    font-size: 0.95rem;
  }
}

/* ===== 메인 · 경북 여성일자리 네트워크 ===== */
/* 기업 네트워크 전용 배치. 제목·탭·카드 외형·아이콘 버튼은 공통 CSS 사용. */
body.main .main_network .network_heading {
  margin-bottom: 24px;
}
body.main .main_network .tit_wrap {
  margin-bottom: 0;
}

body.main .network_grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.main .network_card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  min-height: 142px;
  padding: 24px;
}
body.main .network_card[hidden],
body.main .network_empty[hidden] {
  display: none;
}
body.main .network_card_heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 24px;
}
body.main .network_company_name {
  margin: 0;
  overflow-wrap: anywhere;
}
body.main .network_card_contact {
  display: grid;
  grid-template-columns: minmax(80px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
body.main .network_company_manager {
  min-width: 0;
  overflow-wrap: anywhere;
}
body.main .network_company_home {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  text-decoration: none;
}
body.main .network_company_home:not(:hover) {
  background: #f3f3f3;
  color: #888;
}
body.main .network_company_home:disabled {
  opacity: 0.65;
  cursor: default;
}
body.main .network_company_home:focus-visible {
  outline: 2px solid #00598a;
  outline-offset: 3px;
}
body.main .network_empty {
  padding: 40px 0;
  text-align: center;
  color: #777;
}
@media screen and (max-width: 1200px) {
  body.main .network_card {
    gap: 16px;
    padding: 20px;
  }
}
@media screen and (max-width: 768px) {
  body.main .network_grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}
@media screen and (max-width: 480px) {
  body.main .network_card {
    gap: 12px;
    padding: 20px 16px;
  }
  body.main .network_card_heading {
    gap: 6px 12px;
  }
  body.main .network_card_contact {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }
  body.main .network_company_phone {
    font-size: 16px;
  }
  body.main .network_company_home {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
  }
}

/* 네트워크 탭은 공지사항과 같은 공통 스타일을 사용한다. */
.network_tabs {
  margin: 0;
  padding-inline: 0;
  list-style: none;
}
.network_tabs .network_tab {
  background-color: transparent;
  font-family: inherit;
}

/* 여성친화기업: 지역·기업명·업종·협약 연도를 한 줄로 표시한다. */
body.main .main_network .network_grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
body.main .network_card.network_company_row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(80px, 0.12fr) minmax(
      150px,
      0.16fr
    );
  gap: 30px;
  min-height: 100px;
  padding: 24px 23px;
  border-bottom: 1px solid #e2e2e2;
  color: #333;
}
body.main .network_company_row[hidden] {
  display: none;
}
/* 메인 네트워크에서 현재 탭의 마지막 항목은 하단 구분선을 표시하지 않는다. */
body.main
  .main_network
  .network_company_row:not([hidden]):not(
    :has(~ .network_company_row:not([hidden]))
  ) {
  border-bottom: none;
}
.network_company_row p,
.network_company_row h5 {
  margin: 0;
  overflow-wrap: anywhere;
}
body.main .network_row_region {
  font-size: 18px;
  font-weight: 700;
}
.network_row_year {
  text-align: right;
}
body.main .network_company_row .network_company_home {
  width: 38px;
  height: 38px;
  background: transparent;
}
body.main .network_company_row .network_company_home:disabled {
  opacity: 1;
}
body.main .network_company_row .network_company_home:hover,
body.main .network_company_row .network_company_home:focus-visible {
  background: transparent;
}
.network_company_home:hover .network_home_image,
.network_company_home:focus-visible .network_home_image {
  content: url("../../images/icon/homepage-icon_hover.svg");
}
.network_company_home:hover .network_social_image,
.network_company_home:focus-visible .network_social_image {
  content: url("../../images/icon/sns-icon_hover.svg");
}
body.main .network_card.network_startup_row {
  grid-template-columns: auto minmax(100px, 0.12fr) minmax(0, 1fr) auto;
}
.network_startup_details {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.network_row_links {
  display: flex;
  gap: 24px;
  align-items: center;
}
@media screen and (max-width: 768px) {
  body.main .network_card.network_company_row {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px 16px;
    padding: 20px 0;
  }
  .network_row_industry {
    grid-column: 1;
    grid-row: 2;
  }
  .network_row_year {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
  }
  .network_company_row .network_company_home {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
  body.main .network_card.network_startup_row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
  .network_startup_details {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .network_row_links {
    grid-column: 3;
    grid-row: 1;
    gap: 4px;
  }
}
