/* CSS Document */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Noto Sans KR", sans-serif;
  letter-spacing: -0.025em;
}
/*********common***********/
p {
  line-height: 2em;
  color: #333;
  font-size: 14px;
}
a {
  color: #000;
}
a {
  text-decoration: none;
}
a:link {
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
a:active {
  text-decoration: none;
}
a:visited {
  text-decoration: none;
}
img {
  vertical-align: top;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
ul,
li {
  list-style: none;
}
body {
  position: relative;
}
table {
  border-collapse: collapse;
}
.wrap {
  width: 1200px;
  margin: 0 auto;
}
.mont {
  font-family: "Montserrat", sans-serif;
}
.tac {
  text-align: center;
}
.serif {
  font-family: "SF_HambakSnow", serif;
}
.swiper {
  overflow: hidden;
}
/**header***/
header {
  background: #fff;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  height: 145px;
  transition: 0.3s;
  overflow: hidden;
}
header.on {
  height: 355px;
}
header .wrap {
  position: relative;
}
header .wrap .logobox {
  float: left;
  margin-top: 28px;
}
header .wrap .login_top {
  float: right;
}
header .wrap .login_top ul li {
  float: left;
  padding-top: 25px;
}
header .wrap .login_top ul li a {
  display: block;
  font-size: 16px;
}
header .wrap .login_top ul li:nth-of-type(1) a {
  position: relative;
  margin-right: 20px;
  padding-right: 20px;
}
header .wrap .login_top ul li:nth-of-type(1) a:before {
  position: absolute;
  content: "";
  width: 1px;
  height: 70%;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #666;
}

header .menu {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px 0;
}
header .menu .sidemenu {
  width: 20%;
  text-align: center;
}
header .menu .sidemenu > a {
  color: #000;
  font-size: 24px;
  padding: 10px 0;
  margin-bottom: 20px;
  display: inline-block;
  transition: 0.3s;
  position: relative;
}
header .menu .sidemenu > a:before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: 3px;
  width: 0;
  background: #000;
  transition: 0.3s;
}
header .menu .sidemenu ul li a {
  font-size: 16px;
  color: #666;
  padding: 5px 0;
  display: block;
  transition: 0.3s;
}
header .menu .sidemenu.on > a {
  font-weight: 700;
}
header .menu .sidemenu.on > a:before {
  width: 80%;
}
/****20251224__회원검색폼메일*****/
header .menu .sidemenu.on ul li a {
  color: #000;
}
header .menu .sidemenu:hover > a {
  font-weight: 700;
}
header .menu .sidemenu:hover > a:before {
  width: 80%;
}
header .menu .sidemenu:hover ul li a {
  color: #000;
}
header .menu .sidemenu ul li a:hover {
  font-weight: 700;
}
/*sub*/
.sub_cont {
  width: 1000px;
  margin: 170px auto 50px;
}
.sub_cont > img {
  width: 100%;
}
.subtitle {
  display: none;
}
.subtitle h2 {
  font-size: 50px;
  position: relative;
  margin-top: 0;
  margin-bottom: 20px;
}
.subtitle h2:before {
  position: absolute;
  content: "";
  height: 3px;
  background: #333;
  left: 0;
  bottom: -10px;
  width: 100px;
}
.sub_cate {
  width: 100%;
  margin: 20px auto;
  z-index: 99;
}
.sub_cate a {
  display: inline-block;
  font-size: 24px;
  color: #333;
  flex: 1;
  transition: 0.3s;
  margin-right: 30px;
}
.sub1 .sub_cate a:nth-child(1) {
  color: #e83428;
}
.sub2 .sub_cate a:nth-child(2) {
  color: #e83428;
}
.sub3 .sub_cate a:nth-child(3) {
  color: #e83428;
}
.sub4 .sub_cate a:nth-child(4) {
  color: #e83428;
}
.sub5 .sub_cate a:nth-child(5) {
  color: #e83428;
}
.sub6 .sub_cate a:nth-child(6) {
  color: #e83428;
}
.sub7 .sub_cate a:nth-child(7) {
  color: #e83428;
}

/*main_visual*/
.main_visual {
  position: relative;
  height: 600px;
  margin-top: 145px;
}
.main_visual .main_visual_slide {
  width: 100%;
  height: 100%;
  position: relative;
}
.main_visual .main_visual_slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main_board {
  padding: 30px 0;
}
.main_board .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1060px;
}
.main_board .wrap .main_board_cont {
  border: 1px solid #ddd;
  padding: 20px;
  width: 32%;
  height: 250px;
}
.main_board .wrap .main_board_cont .main_board_title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  margin-bottom: 20px;
}
.main_board .wrap .main_board_cont .main_board_title h2 {
  font-size: 24px;
  color: #000;
}
.main_board .wrap .main_board_cont .main_board_title h2 strong {
  color: #e83428;
}
.main_board .wrap .main_board_cont .main_board_title span.arrow {
  width: 15px;
  height: 15px;
  position: relative;
}
.main_board .wrap .main_board_cont .main_board_title span.arrow a {
  display: block;
  height: 100%;
}
.main_board .wrap .main_board_cont .main_board_title span.arrow:before {
  position: absolute;
  content: "";
  background: #e83428;
  width: 100%;
  height: 3px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.main_board .wrap .main_board_cont .main_board_title span.arrow:after {
  position: absolute;
  content: "";
  background: #e83428;
  width: 3px;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}
.main_board .wrap .main_board_cont .lst a {
  font-size: 14px;
  display: block;
  padding: 5px 0;
  position: relative;
  color: #666;
  transition: 0.3s;
}
.main_board .wrap .main_board_cont .lst a:hover {
  color: #000;
}
.main_board .wrap .main_board_cont .lst a:before {
  position: absolute;
  content: "";
  width: 3px;
  height: 3px;
  background: #666;
  top: 50%;
  transform: translateY(-50%);
  left: -10px;
  border-radius: 50%;
}
.main_board .wrap .main_board_cont .lst a span:nth-of-type(1) {
  float: left;
}
.main_board .wrap .main_board_cont .lst a span:nth-of-type(2) {
  float: right;
}

.main_board .wrap .main_board_cont .main_photo_bbs > li {
  float: left;
  width: 32%;
  margin-right: 2%;
  margin-bottom: 10px;
}
.main_board .wrap .main_board_cont .main_photo_bbs > li:nth-of-type(3n) {
  margin-right: 0;
}
.main_board .wrap .main_board_cont .main_photo_bbs li a:nth-of-type(1) {
  display: block;
  height: 85px;
  position: relative;
  overflow: hidden;
}
.main_board .wrap .main_board_cont .main_photo_bbs li a:nth-of-type(1) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s;
}
.main_board .wrap .main_board_cont .main_photo_bbs li a:nth-of-type(2) {
  color: #666;
  font-size: 12px;
  display: block;
  text-align: center;
}
.main_board .wrap .main_board_cont .main_photo_bbs li:hover a:nth-of-type(1) img {
  width: 110%;
  height: 110%;
}

.main_board .wrap .main_board_cont:last-of-type .main_photo_bbs li {
  width: 100%;
  margin-right: 0;
}
.main_board .wrap .main_board_cont:last-of-type .main_photo_bbs li > a:nth-of-type(1) {
  height: 70%;
}
.main_board .wrap .main_board_cont:last-of-type .main_photo_bbs li > a:nth-of-type(2) {
  margin-top: 5px;
}

.main_board .wrap .main_board_cont .main_port_slide {
  width: 100%;
  position: relative;
}
.main_board .wrap .main_board_cont .main_port_slide .swiper-slide {
  text-align: center;
}
.main_board .wrap .main_board_cont .main_port_slide .swiper-slide a:first-of-type img {
  height: 70%;
  width: 90%;
  object-fit: cover;
}
.main_board .wrap .main_board_cont .main_port_slide .swiper-slide a:last-of-type {
  text-align: center;
  font-size: 12px;
  display: block;
  margin-top: 5px;
}

.sub02_05 .consult_cont table tr:nth-of-type(6) th {
  display: none;
}
.sub02_05 .consult_cont table tr:nth-of-type(6) td .input {
  border: 1px solid #000;
  background: #fff;
}
.sub02_05 .consult_cont table tr:nth-of-type(6) td font {
  color: #000 !important;
}
.sub02_05 .consult_cont table tr:last-of-type td .input {
  border: 1px solid #000;
  background: #fff;
}

.sub02_05 .consult_cont table {
  position: relative;
}
.sub02_05 .consult_cont table tr:nth-of-type(5) td {
  position: relative;
}
.sub02_05 .consult_cont table tr:nth-of-type(5) td:before {
  position: absolute;
  content: "";
  width: 8px;
  height: 1px;
  background: #666;
  left: 218px;
  top: 50%;
  transform: translateY(-50%);
}

.sub02_05 .consult_cont table tr:nth-of-type(6) {
  position: absolute;
  top: 200px;
  left: 400px;
}
.sub02_05 .consult_cont table tr:nth-of-type(6):before {
  position: absolute;
}

.sub02_05 .contents .sbox,
.sub02_06 .contents .sbox {
  margin-top: 50px;
}
.deadline {
  font-size: 14px;
  color: red;
  padding-bottom: 50px;
}

.sub02_05 .consult_cont table tr:nth-of-type(10) td select {
  display: none;
}
.sub02_06 .consult_cont table tr:nth-of-type(9) td select {
  display: none;
}

.sub02_06 .consult_cont table tr:last-of-type td .input {
  border: 1px solid #000;
}

/* member style */
.member02 .contents .sbox .ssbox {
  margin-bottom: 50px;
}
.member02 .contents .sbox .ssbox3 {
  margin-bottom: 0;
}
.member02 .contents .sbox .ssbox p:nth-of-type(1) {
  padding-left: 13px;
  font-size: 20px;
  font-weight: 700;
  color: #333;
  border-left: 3px solid #333;
}
.member02 .contents .sbox .ssbox p:nth-of-type(2) {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
  line-height: 20px;
}
.member02 .contents .sbox .ssbox ul {
  margin-top: 20px;
}
.member02 .contents .sbox .ssbox ul li {
  margin: 0 0 10px 15px;
  font-size: 14px;
  color: #666;
  line-height: 20px;
  list-style: disc;
}
.member02 .contents .sbox .ssbox2 ul li {
  list-style: dicemal;
}
.member02 .contents .sbox .ssbox3 ul li:last-child {
  margin-top: 30px;
}

/*갤러리 4:3비율 맞추기 20231227*/
.listbox {
}
.listbox .listcont {
  display: block;
  float: left;
  width: 244px;
  margin-right: 8px;
}
.listbox .listcont:last-of-type {
  margin-right: 0;
}

.view_title {
  text-align: center;
}
.view_title h2 {
  font-size: 30px;
  margin-bottom: 15px;
}
.view_title h3 {
  font-size: 14px;
  color: #666;
  font-weight: 300;
}
.view_title > div {
  padding-bottom: 50px;
  padding-top: 25px;
}

.view_foot {
  margin-bottom: 50px;
}
.view_foot ul li {
  font-size: 20px;
  color: #666;
  position: relative;
}
.view_foot ul li a {
  color: #000;
  font-weight: 700;
}
.view_foot ul li.prev {
  float: left;
}
.view_foot ul li.prev a:before {
  position: absolute;
  content: "";
  width: 15px;
  height: 15px;
  border-left: 1px solid #666;
  border-top: 1px solid #666;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  left: -20px;
  transition: 0.3s;
}
.view_foot ul li.prev a:hover:before {
  border-color: dodgerblue;
}
.view_foot ul li.next {
  float: right;
}
.view_foot ul li.next a:before {
  position: absolute;
  content: "";
  width: 15px;
  height: 15px;
  border-right: 1px solid #666;
  border-top: 1px solid #666;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  right: -20px;
  transition: 0.3s;
}
.view_foot ul li.next a:hover:before {
  border-color: dodgerblue;
}

/*회원가입절차 텍스트삽입 20250320*/
.sub_join_notice {
  border: 1px solid #ddd;
  margin-bottom: 30px;
  padding: 30px;
}
.sub_join_notice h3 {
  font-size: 18px;
  color: #222;
  margin: 20px 0 5px;
}
.sub_join_notice p {
  color: #000;
}
.sub_join_notice p span {
  display: inline-block;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 5px 20px;
  position: relative;
  margin-right: 30px;
  margin-top: 10px;
  color: #000;
}
.sub_join_notice p span:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  right: -18px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid #666;
  border-right: 1px solid #666;
}
.sub_join_notice p span:last-of-type:before {
  display: none;
}
/* 건축사회사진다운 */
.sub_notice_down {
  margin: 20px 0;
  display: none;
}
.sub_notice_down h2 {
  color: #285ae8;
  font-size: 24pt;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1em;
}
.sub_notice_down .notice_downbtns {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
}
.sub_cont .count {
  display: none;
}
/****20251224__회원검색폼메일*****/
.search_title h2 {
  text-align: center;
  font-size: 26px;
  font-weight: 400;
  color: #333;
}
/* 검색 폼 전체 컨테이너 */
.search_form {
  display: flex; /* 가로 배치 */
  width: 100%; /* 전체 너비 사용 */
  max-width: 1000px; /* (선택사항) 너무 길어지지 않게 제한 */
  margin: 0 auto; /* 가운데 정렬 */
  border: 1px solid #ccc; /* 전체 테두리 감싸기 */
  background: #fff;
  margin: 30px 0;
}

/* 모든 입력 요소 공통 스타일 (높이, 폰트 등) */
.search_form select,
.search_form input,
.search_form button {
  height: 50px; /* 높이 통일 */
  width: 120px;
  font-size: 15px;
  box-sizing: border-box; /* 테두리 포함 크기 계산 */
  outline: none; /* 클릭 시 파란 테두리 제거 */
  border: none; /* 개별 테두리 제거 (구분선으로 대체) */
}

/* 셀렉트 박스 스타일 */
.search_form select {
  padding: 0 10px;
  border-right: 1px solid #eee; /* 오른쪽 구분선 */
  color: #000;
  font-weight: 700;
  cursor: pointer;
  background-color: #fff; /* 배경색 지정 */
}

/* 각 셀렉트별 너비 조정 (내용 길이에 맞춰 조절하세요) */
.search_form select[name="sort"] {
  width: 90px;
}
.search_form select[name="loca"] {
  width: 90px;
}
.search_form select[name="search_type"] {
  width: 130px;
}

/* 검색어 입력창 (남은 공간 꽉 채우기) */
.search_form input {
  flex-grow: 1; /* 남은 공간 모두 차지 */
  padding: 0 15px;
  color: #333;
}

/* 검색 버튼 (빨간색 강조) */
.search_form button {
  width: 100px;
  background-color: #333; /* 이미지의 빨간색 */
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

/* 버튼 호버 효과 (마우스 올렸을 때) */
.search_form button:hover {
  background-color: #000;
}
/* 리스트 초기화 */
ul.member_list {
  list-style: none; /* CSS 표준 속성은 하이픈(-) */
  padding: 0;
  margin: 0;
}

/* 리스트 아이템 */
.member_list li {
  border-bottom: 1px solid #ccc;
  padding: 20px 0;
}

/* 명함 카드 레이아웃 */
.member_card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

/* 1. 좌측 사진 영역 (컨테이너) */
.card_photo {
  width: 110px; /* 1. 너비 고정 */
  /* 2. 핵심: 3:4 비율 강제 지정 (가로 / 세로) */
  aspect-ratio: 3 / 4;
  flex-shrink: 0; /* 공간 부족해도 줄어들지 않음 */

  /* (선택사항) 디자인 디테일 */
  background-color: #f8f8f8; /* 이미지가 없거나 로딩 중에 보일 회색 배경 */
  border: 1px solid #eee; /* 테두리를 컨테이너에 적용 */
  border-radius: 4px; /* 모서리를 살짝 둥글게 (선택사항) */
  overflow: hidden; /* 테두리 밖으로 나가는 이미지 넘침 방지 */
}

/* 2. 실제 이미지 태그 */
.card_photo img {
  width: 100%;
  height: 100%; /* 부모(컨테이너) 크기에 꽉 차게 설정 */
  display: block;

  /* 3. 핵심: 비율이 달라도 찌그러지지 않게 처리 */
  object-fit: cover;
  /* 설명: cover는 이미지를 컨테이너에 꽉 채우되, 비율을 유지하며 넘치는 부분을 잘라냅니다. */

  /* (선택사항) 이미지 중심점 조절 */
  /* object-position: center top; */
  /* 설명: 증명사진은 보통 얼굴이 상단에 있으므로, 만약 얼굴이 잘린다면 위 주석을 해제하세요. */
}

/* 2. 우측 정보 영역 */
.card_info {
  flex-grow: 1; /* CSS 표준 속성은 하이픈(-) */
  padding-left: 30px;
  border-left: 1px solid #e0e0e0;
  min-height: 120px;
}

/* 이름 스타일 */
.member_name {
  margin: 0 0 15px 0;
  font-size: 18px; /* CSS 표준 속성은 하이픈(-) */
  font-weight: bold;
}
.member_name a {
  color: #0056b3;
}
.member_name .region {
  color: #333;
  font-weight: normal;
  margin-right: 5px;
}

/* 상세 정보 텍스트 */
.info_rows .row {
  margin-bottom: 6px;
  font-size: 15px;
  color: #444;
  line-height: 1.4;
}

/* 라벨 정렬 스타일 */
.info_rows .label {
  display: inline-block;
  width: 70px;
  font-weight: 500;
  color: #222;
  text-align: justify;
  text-align-last: justify; /* CSS 표준 속성은 하이픈(-) */
  margin-right: 5px;
}

/* 결과 요약 및 강조색 */
.text_primary {
  color: #2196f3;
}

/* 상세 페이지 레이아웃 CSS */
.view_container {
  display: flex;
  justify-content: space-between;
  gap: 30px; /* 테이블과 사진 사이 간격 */
  margin-top: 30px;
  align-items: flex-start;
}

/* 좌측: 정보 테이블 영역 */
.view_info {
  flex: 1; /* 남은 공간 모두 차지 */
  border-top: 2px solid #333;
}
.view_table {
  width: 100%;
  border-collapse: collapse;
}
.view_table th,
.view_table td {
  padding: 14px 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
  font-size: 15px;
}
.view_table th {
  width: 130px;
  background-color: #f9f9f9;
  font-weight: 600;
  color: #333;
}
.view_table td {
  color: #555;
}

/* 우측: 사진 영역 */
.view_photo {
  width: 200px; /* 사진 영역 고정 너비 */
  flex-shrink: 0;
}
.photo_box {
  width: 100%;
  background-color: #eee;
  border: 1px solid #ddd;
}
.photo_box img {
  display: block;
  width: 100%;
  height: auto;
}

/* 하단 버튼 */
.btn_wrap {
  margin-top: 40px;
  text-align: center;
}
.btn_list {
  display: inline-block;
  padding: 10px 40px;
  background: #444;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

/* 반응형 처리 (모바일에서는 세로 배치) */
@media (max-width: 768px) {
  .view_container {
    flex-direction: column-reverse; /* 사진이 위로 오게 하려면 column-reverse */
  }
  .view_photo {
    width: 160px;
    margin: 0 auto 20px;
  }
}
