





@media(min-width: 992px){
	header{ width: 100%;}
	header div.head{ position: relative; display: flex; justify-content: space-between; align-items: center; max-width: 1800px; height: 90px; background: #fff;}
	header div.head div.logo_wrap{ width: 370px;}
	header div.head div.logo_wrap a{ display: block; width: 100%;}
	header div.head div.logo_wrap a img{ display: block; width: 100%;}
	header div.head div.user{ position: absolute; right: 85px; top: 32px;}
	header div.head div.user ul{ display: flex; gap: 20px;}
	header div.inner_wrap{ overflow: visible;}
	header div.inner_wrap h1 a img{ display: block; width: 200px;}
	header nav{ margin-right: 100px;}
	header nav > ul{ display: flex; gap: 30px;}
	header nav > ul > li{ position: relative; color: #fff;}
	header nav > ul > li.link{ width: 145px;}
	header nav > ul > li.link a{ position: absolute; left: 0; top: 50%; transform: translateY(-50%); padding: 5px 15px; background: #36bfd7;}
	header nav > ul > li.link a img{ display: block; width: 115px; filter: brightness(0) invert(1);}
	header nav > ul > li > a{ font-size: 18px; line-height: 90px; border-radius: 5px;}
	header div.nav_btn{ width: 50px;}
	header div.nav_btn button{ display: block; width: 100%; border: none; background: transparent;}
	header div.nav_btn button img{ display: block; width: 100%;}
	header div.gnb{ border-radius: 8px; background: #0f22bb;}
	header div.gnb > ul{ display: flex;}
	header div.gnb > ul > li{ position: relative; width: calc(100% / 7);}
	header div.gnb > ul > li > a{ position: relative; display: block; width: 100%; padding: 10px 0; font-weight: bold; font-size: 26px; color: #fff; text-align: center; background: #0f22bb;
	letter-spacing: 7px;}
	header div.gnb > ul > li:hover > a{ background: #100a73;}
	header div.gnb > ul > li:hover > a + ul{ background: #100a73;}
	header div.gnb > ul > li:hover > a + ul > li > a{ color: #fff;}
	header div.gnb > ul > li > a::after{ content: ""; position: absolute; right: 0; top: 50%; transform: translate(-50%, -50%); display: block; width: 1px; height: 50%; background: #fff;}
	header div.gnb > ul > li:last-child > a::after{ display: none;}
	header div.gnb > ul > li > ul{ z-index: 10; position: absolute; left: 0; top: 100%; display: none; width: 100%; padding: 10px 0; background: #fff;}
	header div.gnb > ul > li:hover > ul{ display: block;}
	header div.gnb > ul > li > ul > li > a{ display: block; padding: 5px 10px; font-weight: 500; font-size: 18px;}
	div.pc_depth_2{ z-index: 50; position: absolute; left: 50%; top: 146px; transform: translateX(-50%); display: none; width: 100%; max-width: 1400px; padding: 40px 20px;
	border: 1px solid #ddd; background: #fff;}
	div.pc_depth_2 div.nav_head{ display: none;}
	div.pc_depth_2 div.inner_wrap > ul{ display: flex; justify-content: space-between; gap: 30px;}
	div.pc_depth_2 div.inner_wrap > ul > li{ width: calc(100% / 7);}
	div.pc_depth_2 div.inner_wrap > ul > li > button{ display: none;}
	div.pc_depth_2 div.inner_wrap > ul > li > ul > li + li{ margin-top: 8px;}
	div.pc_depth_2 div.inner_wrap > ul > li > ul > li a{ position: relative; display: block; font-weight: 500; font-size: 17px; color: #333; transition: all 0.3s;}
	div.pc_depth_2 div.inner_wrap > ul > li > ul > li:hover a{ transform: translateX(15px);}
	div.pc_depth_2 div.inner_wrap > ul > li > ul > li a::before{ content: ""; position: absolute; right: calc(100% + 5px); top: 50%; transform: translateY(-50%); display: block;
	width: 10px; height: 2px; background: #333; opacity: 0;}
	div.pc_depth_2 div.inner_wrap > ul > li > ul > li a:hover::before{ opacity: 1; transition: all 0.3s;}
	
	@keyframes menu_fade{
		0%{ opacity: 0;}
		100%{ opacity: 1;}
	}
	
	header nav > ul > li:hover div.depth_2{ max-height: 425px; transition: all 0.5s;}
	header nav ul li div.depth_2{ overflow: hidden; position: fixed; left: 0; top: 90px; width: 100%; max-height: 0; background: #fff; box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.3);}
	header nav ul li div.depth_2 div.inner_wrap{ max-width: 1350px; padding: 30px 15px 35px; border-top: 1px solid #ccc;}
	header nav ul li div.depth_2 div.inner_wrap div.info_wrap{ display: flex; justify-content: space-between;}
	header nav ul li div.depth_2 div.inner_wrap div.info_wrap div.left_wrap{ width: 40%;}
	header nav ul li div.depth_2 div.inner_wrap div.info_wrap div.right_wrap{ width: 60%; padding-top: 50px;}
	header nav ul li div.depth_2 div.inner_wrap p.tit{ margin-bottom: 20px; font-weight: bold; font-size: 30px; color: #000;}
	header nav ul li div.depth_2 div.inner_wrap div.img_wrap{ z-index: 1; position: relative; width: 320px;}
	header nav ul li div.depth_2 div.inner_wrap div.img_wrap::before{ z-index: -1; content: ""; position: absolute; left: -6px; top: 6px; background: #ccc; width: 100%; height: 100%;}
	header nav ul li div.depth_2 div.inner_wrap div.img_wrap img{ display: block; width: 100%;}
	header nav ul li div.depth_2 div.inner_wrap ul{ display: flex; flex-wrap: wrap; gap: 30px;}
	header nav ul li div.depth_2 div.inner_wrap ul li{ width: calc((100% - 60px) / 3);}
	header nav ul li div.depth_2 div.inner_wrap ul li a{ position: relative; display: block; padding-left: 10px; font-size: 18px; color: #333;}
	header nav ul li div.depth_2 div.inner_wrap ul li a::before{ content: ""; position: absolute; left: -5px; top: 50%; transform: translate(-50%, -50%); display: block; width: 4px;
	height: 4px; border-radius: 99px; background: #333;}
	
	
	div.side_nav{ z-index: 99; position: fixed; right: 0; bottom: 100px; width: 100px;}
	div.side_nav ul li + li{ border-top: 1px solid #ddd;}
	div.side_nav ul li a{ display: block; width: 100%; padding: 10px; text-align: center; background: #f4a63e;}
	div.side_nav ul li a img{ width: 40px;}
	div.side_nav ul li a span{ display: block; margin-top: 5px; color: #fff; font-weight: bold; font-size: 14px;}


	section.visual{ }
	section.visual div.list{ position: relative;}
	section.visual div.list div.visual_bg{ position: absolute; left: 0; bottom: 0; width: 100%; padding: 20px;}
	section.visual div.list div.visual_bg p.tit{ margin-bottom: 10px; font-weight: bold; font-size: 32px; color: #fff; text-align: right; text-shadow: 2px 2px 6px rgb(0 0 0);}
	section.visual div.list div.visual_bg p.desc{ color: #fff;}
	section.visual div img{ display: block; width: 100%;}
	
	
	section.notice{ padding: 40px 10px;}
	section.notice div.inner_wrap{ display: flex; flex-wrap: wrap; gap: 40px;}
	section.notice div.inner_wrap > div{ width: calc((100% - 40px) / 2)}
	section.notice div.inner_wrap > div div.head{ display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 2px solid #000;}
	section.notice div.inner_wrap > div div.head h2{ font-weight: bold; font-size: 32px;}
	section.notice div.inner_wrap > div div.body ul li{ border-bottom: 1px solid #ccc;}
	section.notice div.inner_wrap > div div.body ul li a{ display: flex; gap: 30px; padding: 17px 0; font-weight: 500; font-size: 18px;}
	section.notice div.inner_wrap > div div.body ul li a span{ white-space: nowrap;}
	section.notice div.inner_wrap > div div.body ul li a p{ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1;  -webkit-box-orient: vertical;}
	
	
	section.menu_ban{ padding: 0 10px 90px;}
	section.menu_ban1{ padding: 20px 10px 0;}
	section.menu_ban ul{ display: flex; flex-wrap: wrap; gap: 12px;}
	section.menu_ban ul li{ overflow: hidden; position: relative; width: calc((100% - 24px) / 3);}
	section.menu_ban ul li::after{ content: ""; position: absolute; right: -5px; bottom: -5px; display: block; width: 70px; height: 70px; filter: brightness(0) invert(1);}
	section.menu_ban2 ul li:nth-child(1)::after{ background: url("/img/pattern1.png") no-repeat 50% 50%; background-size: cover;}
	section.menu_ban2 ul li:nth-child(2)::after{ background: url("/img/pattern2.png") no-repeat 50% 50%; background-size: cover;}
	section.menu_ban2 ul li:nth-child(3)::after{ background: url("/img/pattern3.png") no-repeat 50% 50%; background-size: cover;}
	section.menu_ban1 ul li:nth-child(1)::after{ background: url("/img/pattern4.png") no-repeat 50% 50%; background-size: cover;}
	section.menu_ban1 ul li:nth-child(2)::after{ background: url("/img/pattern5.png") no-repeat 50% 50%; background-size: cover;}
	section.menu_ban1 ul li:nth-child(3)::after{ background: url("/img/pattern6.png") no-repeat 50% 50%; background-size: cover;}
	section.menu_ban1 ul li:nth-child(4)::after{ background: url("/img/pattern7.png") no-repeat 50% 50%; background-size: cover;}
	section.menu_ban ul li a{ display: block; width: 100%; padding: 30px 20px;}
	section.menu_ban ul li a p{ color: #fff;}
	section.menu_ban ul li a p.tit{ margin-bottom: 12px; font-weight: 500; font-size: 23px;}
	section.menu_ban ul li a p.desc{ margin-bottom: 20px; font-size: 17px;}
	section.menu_ban ul li a p.go{ font-size: 19px;}
	section.menu_ban2 ul li:nth-child(1){ background: #6b260a;}
	section.menu_ban2 ul li:nth-child(2){ background: #322d23;}
	section.menu_ban2 ul li:nth-child(3){ background: #6a492b;}
	section.menu_ban1 ul li:nth-child(1){ width: calc((100% - 36px) / 4); background: #1a471a;}
	section.menu_ban1 ul li:nth-child(2){ width: calc((100% - 36px) / 4); background: #1a1a47;}
	section.menu_ban1 ul li:nth-child(3){ width: calc((100% - 36px) / 4); background: #301a47;}
	section.menu_ban1 ul li:nth-child(4){ width: calc((100% - 36px) / 4); background: #43113b;}
	
	
	footer{ position: relative; padding: 30px 10px;}
	footer div.inner_wrap{ display: flex;}
	footer::after{ content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); display: block; width: 100%; max-width: 1400px; height: 3px; background: #000;}
	footer h2{ width: 363px;}
	footer h2 img{ display: block; width: 100%;}
	footer div.info_wrap ul{ display: flex; gap: 10px;}
	footer div.info_wrap ul li{ font-weight: bold; font-size: 18px;}
	footer p{ font-weight: bold; font-size: 18px;}
}

@media(max-width: 991px){
	header div.head{ display: flex; flex-wrap: wrap; justify-content: space-between; padding: 10px;}
	header div.head div.user{ width: 100%;}
	header div.head div.user ul{ display: flex; justify-content: flex-end; gap: 10px;}
	header div.head div.user ul li a{ display: block; padding: 10px 5px; font-size: 14px;}
	header div.head div.logo_wrap{ width: 250px;}
	header div.head div.logo_wrap a{ display: block; width: 100%;}
	header div.head div.logo_wrap a img{ display: block; width: 100%;}
	header div.head div.nav_btn{ width: 40px;}
	header div.head div.nav_btn button{ display: block; width: 40px; border: none; background: transparent;}
	header div.head div.nav_btn button img{ display: block; width: 40px;}
	header div.gnb{ display: none;}
	header div.pc_depth_2{ z-index: 99; position: fixed; left: 0; top: 0; display: none; width: 100%; height: 100vh; padding: 20px; background: #fff;}
	header div.pc_depth_2 div.nav_head{ display: flex; justify-content: space-between; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #ccc;}
	header div.pc_depth_2 div.nav_head p{ font-weight: bold; font-size: 24px;}
	header div.pc_depth_2 div.nav_head div.close{ width: 20px; height: 20px;}
	header div.pc_depth_2 div.nav_head div.close button{ position: relative; display: block; width: 100%; height: 100%; border: none; background: transparent;}
    header div.pc_depth_2 div.nav_head div.close button span.bar1{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(45deg); display: block;
    width: 25px; height: 2px; background: #000; transform-origin: center;}
    header div.pc_depth_2 div.nav_head div.close button span.bar2{ position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(135deg); display: block;
    width: 25px; height: 2px; background: #000; transform-origin: center;}
	header div.pc_depth_2 div.inner_wrap{ overflow-y: scroll; height: calc(100vh - 100px);}
	header div.pc_depth_2 div.inner_wrap > ul > li{ border-bottom: 1px solid #ccc;}
	header div.pc_depth_2 div.inner_wrap > ul > li > button{ position: relative; display: block; width: 100%; padding: 13px 10px; font-weight: bold; font-size: 18px; text-align: left;
	border: none; background: transparent;}
	header div.pc_depth_2 div.inner_wrap > ul > li > button::after{ content: ""; position: absolute; right: 15px; top: 50%; transform: translateY(-50%); display: block; width: 15px;
	height: 9px;
	background: url("/img/sel_arr.png") no-repeat 50% 50%; background-size: cover;}
	header div.pc_depth_2 div.inner_wrap > ul > li > a{ position: relative; display: block; width: 100%; padding: 10px; font-weight: bold; font-size: 18px; text-align: left; border: none;
	background: transparent;}
	header div.pc_depth_2 div.inner_wrap > ul > li > ul{ display: none; background: #f1f1f1;}
	header div.pc_depth_2 div.inner_wrap > ul > li > ul > li > a{ display: block; padding: 10px;}

	section.visual{ }
	section.visual div img{ display: block; width: 100%;}
	section.visual div.list div.visual_bg{ position: absolute; left: 0; bottom: 0; width: 100%; padding: 20px;}
	section.visual div.list div.visual_bg p.tit{ font-weight: bold; font-size: 26px; color: #fff; text-align: right; text-shadow: 2px 2px 6px rgb(0 0 0);}
	section.visual div.list div.visual_bg p.desc{ color: #fff;}
	
	section.notice{ padding: 20px 10px;}
	section.notice div.inner_wrap{ display: flex; flex-direction: column; gap: 20px;}
	section.notice div.inner_wrap > div{ flex: 1;}
	section.notice div.inner_wrap > div div.head{ display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 2px solid #ccc;}
	section.notice div.inner_wrap > div div.head h2{ font-weight: bold; font-size: 24px;}
	section.notice div.inner_wrap > div div.body ul li{ border-bottom: 1px solid #ccc;}
	section.notice div.inner_wrap > div div.body ul li a{ display: flex; gap: 10px; padding: 13px 0; font-weight: 500; font-size: 14px;}
	section.notice div.inner_wrap > div div.body ul li a span{ white-space: nowrap;}
	section.notice div.inner_wrap > div div.body ul li a p{ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;}
	
	section.menu_ban{ padding: 0 10px 20px;}
	section.menu_ban1{ padding: 20px 10px 0;}
	section.menu_ban ul{ display: flex; flex-wrap: wrap; gap:10px;}
	section.menu_ban ul li{ width: calc((100% - 20px) / 3);}
	section.menu_ban1 ul li{ width: calc((100% - 10px) / 2);}
	section.menu_ban ul li a{ display: block; width: 100%; padding: 30px 20px;}
	section.menu_ban ul li a p{ color: #fff;}
	section.menu_ban ul li a p.tit{ font-weight: 500; font-size: 19px; text-align: center;}
	section.menu_ban ul li a p.desc{ display: none;}
	section.menu_ban ul li a p.go{ display: none;}
	section.menu_ban2 ul li:nth-child(1){ background: #6b260a;}
	section.menu_ban2 ul li:nth-child(2){ background: #322d23;}
	section.menu_ban2 ul li:nth-child(3){ background: #6a492b;}
	section.menu_ban1 ul li:nth-child(1){ background: #1a471a;}
	section.menu_ban1 ul li:nth-child(2){ background: #1a1a47;}
	section.menu_ban1 ul li:nth-child(3){ background: #301a47;}
	section.menu_ban1 ul li:nth-child(4){ background: #43113b;}
		
	footer{ position: relative; padding: 30px 10px; border-top: 2px solid #000;}
	footer h2{ margin-bottom: 20px; text-align: center;}
	footer h2 img{ display: block; width: 100%;}
	footer div.info_wrap ul li{ margin-bottom: 5px; font-weight: bold; font-size: 16px; text-align: center;}
	footer p{ margin-bottom: 5px; font-weight: bold; font-size: 14px; text-align: center;}
}

/* ================================================================
   족보 인물 검색결과 공통 표  (2026-09-18 신설)
   기준 : 족보 검색 결과 페이지(page/search_list)
   사용처 : search_list · lineage(동명이인 목록) · 촌수계산 검색 모달
   ※ 세 곳이 같은 모양이어야 하므로 여기 한 곳만 고치면 된다.
      기능(이름 클릭 시 동작)은 각 페이지가 따로 정한다.
   ================================================================ */
.jokbo-table-wrap{
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	-webkit-overflow-scrolling: touch;
}
table.jokbo-table{ width: 100%; margin: 0; }
table.jokbo-table tr th,
table.jokbo-table tr td{
	padding: 10px;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	white-space: nowrap;
}
table.jokbo-table thead td{ text-align: center; }
table.jokbo-table tbody td a.name-link{ color: #1a56db; }

@media(min-width: 992px){
	table.jokbo-table tr td{ font-size: 22px; }
}
@media(max-width: 991px){
	table.jokbo-table tr th,
	table.jokbo-table tr td{ padding: 8px; font-size: 14px; }
}