@charset "utf-8";

/* board common */
.board_wrap { width:100% }
.board_top { display: flex; align-items:flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 20px; }
.board_count { color: #777;   }
.board_count strong { color: #111; }
.board_search { display: flex; gap: 5px}
.board_search .select {   height:44px; }
.board_search .input { width:200px; height:44px;}
.board_search .btn {  height:44px;  }
.board_bottom { display: flex; align-items: center; justify-content: center; position: relative; margin-top: 30px; min-height: 4rem; }
.board_bottom .board_write_btn { position: absolute; right: 0; top: 0; }
.board_empty { padding: 80px 20px; border-top: 1px solid #222; border-bottom: 1px solid #ddd5c8; text-align: center; color: #888; }
.board_badge { display: inline-flex; align-items: center; justify-content: center; min-width: 5.4rem; height: 2.5rem; padding: 0 8px; border-radius: 2rem; background: #f1f1f1; color: #666; font-size: 1.1rem; font-weight: 700; }
.board_badge.point { background: var(--point-soft); color: var(--point); }
.board_badge.dark { background: #222; color: #fff; }
.board_lock { display: inline-flex; width: 1.4rem; height: 1.2rem; margin-left: 6px; border: 1.5px solid #777; border-radius: .2rem; vertical-align: -.2rem; position: relative; }
.board_lock:before { content: ""; position: absolute; left: 50%; top: -.7rem; width: .7rem; height: .7rem; border: 1.5px solid #777; border-bottom: 0; border-radius: .6rem .6rem 0 0; transform: translateX(-50%); }

/* list table */
.board_table { width: 100%; border-collapse: collapse; border-top: 2px solid #222; }
.board_table th { padding: 17px 10px; border-bottom: 1px solid #ddd5c8; color: #555;  font-weight: 600; }
.board_table td { padding: 18px 10px; border-bottom: 1px solid #ddd5c8; text-align: center; color: #666;   }
.board_table .subject { text-align: left; color: #222;   }
.board_table .subject a { display: inline-block; max-width: 100%; }
.board_table .subject a:hover { text-decoration: underline; }
.board_table .notice_row { }
.board_table .notice_row .subject { font-weight: 600; }
.board_table .num { width: 8rem; }
.board_table .writer { width: 12rem; }
.board_table .date { width: 12rem; }
.board_table .hit { width: 8rem; }
.board_table .state_cell { width: 11rem; }

 
/* board view */
.board_view { border-top: 2px solid #222; }
.board_view_head { padding:20px 0; border-bottom: 1px solid #ddd5c8; }
.board_view_head .category { display: block; margin-bottom:5px;  color: var(--point); font-size: 1.2rem; font-weight: 700; }
.board_view_head h2 { margin: 0; font-size: 2.4rem; font-weight: 600; line-height: 1.45; letter-spacing: -.05rem; }
.board_view_meta { display: flex; flex-wrap: wrap; gap: 1.8rem; margin-top:5px; color: #888; font-size: 1.25rem; }
.board_view_meta span + span { position: relative; padding-left: 18px; }
.board_view_meta span + span:before { content: ""; position: absolute; top: 50%; left: 0; width: 1px; height: 1rem; background: #ddd5c8; transform: translateY(-50%); }
.board_view_body {margin:25px 0}
.board_view_body * { all: revert; box-sizing: border-box;  font-family:"Pretendard","Arial"; }
.board_view_body p { margin:0 }


.board_file { display: grid; grid-template-columns: 10rem 1fr; border: 1px solid #ddd5c8; margin-bottom:-1px;  font-size: 1.3rem; }
.board_file strong { padding: 15px 20px; color: #555; }
.board_file div { padding: 15px 20px; border-left: 1px solid #ddd5c8; }
.board_file a { text-decoration: underline; }
.board_nav {  border-top: 1px solid #ddd5c8; }
.board_nav a { display: grid; grid-template-columns: 10rem 1fr 10rem; gap: 1rem; padding: 13px 0px; border-bottom: 1px solid #ddd5c8; color: #666; font-size: 1.5rem; }
.board_nav strong { color: #333; }
.board_nav .nav_date { text-align: right; color: #999; }
.board_view_actions { display: flex; justify-content: flex-end; gap: .8rem; margin-top: 20px; }
.board_view_actions .btn { height: 4.4rem; }

/* gallery */
.gallery_grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4rem 2.4rem; padding-top: 20px; border-top: 2px solid #222; }
.gallery_card { display: block; }
.gallery_thumb { overflow: hidden; aspect-ratio: 4 / 3; background: #f2f2f2; }
.gallery_thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery_card:hover .gallery_thumb img { transform: scale(1.025); }
.gallery_info { padding-top: 15px; }
.gallery_info h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1.55rem; font-weight: 600; }
.gallery_info p { margin: 7px 0 0; color: #888; font-size: 1.25rem; }
.gallery_view_image { margin: 0 auto 30px; max-width: 90rem; }
.gallery_view_image img { width: 100%; }
 
 



 
/* contact form */
.contact_form {  max-width:1000px; margin:0 auto  }
.contact_row { display: grid; gap: 2rem; }
.contact_row.half { grid-template-columns: repeat(2,minmax(0,1fr)); }
.contact_field { margin-bottom: 24px; }
.contact_field > label { display: block; margin-bottom: 9px; color: #333; font-size: 1.6rem; font-weight: 600; }
.contact_field > label span, .privacy_box .check span { color: #d14b4b; }
.contact_field .select { width: 100%; height: 5.2rem; }
.contact_field .textarea { min-height: 22rem; }
.contact_file { padding: 14px 15px; background-color:#fff;  border: 1px solid #ddd5c8; border-radius: .6rem;   }
.contact_file p { margin: 8px 0 0; color: #999; font-size: 1.15rem; }
.privacy_box { display: flex; align-items: center; justify-content: space-between; gap: 3rem; margin-top: 10px; padding: 20px; background-color:#fff;  border: 1px solid #ddd5c8; border-radius: .6rem;   }
.privacy_box strong { display: block; color:#333; font-weight:600; margin-bottom:3px; font-size: 1.6rem; }
.privacy_box p { margin: 0; color: #888; font-size: 1.3rem; line-height: 1.7; }
.privacy_box .check { flex: 0 0 auto; font-size: 1.3rem; }
.contact_actions { display: flex; justify-content: center; gap: .8rem; margin-top: 30px; }
.contact_actions .btn { min-width: 13rem; height: 5rem; }
.g-recaptcha {margin-top:30px}





.pagination {display:flex; align-items:center; justify-content:center; gap:7px; margin-top:50px; }
.page_btn {display:grid; place-items:center; width:42px; height:42px; border:1px solid rgba(16,34,28,.15); background:#fff; color:#6e7772; transition:.2s; }
.page_btn:hover,.page_btn.active {border-color:var(--green); background:var(--green); color:#fff; }

.pagination .page_btn.disabled {pointer-events:none; opacity:.35; cursor:default;}


@media (max-width:900px) {
.board_top { align-items: stretch; flex-direction: column; }
		.board_search { display: grid; grid-template-columns: 10rem 1fr auto; }
		.board_search .select, .board_search .input { width: 100%; }
		.board_table thead { display: none;  }
		.board_table, .board_table tbody, .board_table tr {width:100%; display:block}
		 .board_table td { display: inline-block;  }
		.board_table tr { position: relative; padding: 15px 0; border-bottom: 1px solid #ddd5c8; }
		.board_table td { padding: 2.5px 0; border: 0; text-align: left; }
		.board_badge {margin-bottom:5px}
		.board_table .num, .board_table .hit { display: none; }
		.board_table .subject { padding-right: 0; font-size: 1.6rem; width:100% }
		.board_table .writer, .board_table .date { display: inline-block; width: auto; margin-right: 10px; color: #999; font-size: 1.15rem; }
		.board_table .state_cell { position: absolute; top: 1.4rem; right: 0; width: auto; }
		.board_bottom { justify-content: flex-start; flex-direction: column; gap: 1.5rem; }
		.board_bottom .board_write_btn { position: static; width: 100%; }
		.board_bottom .board_write_btn .btn { width: 100%; }
		.gallery_grid { grid-template-columns: repeat(2,1fr); gap: 3rem 1.2rem; }
		.gallery_info h3 {font-size:1.4rem;}
		.board_view_head { padding: 20px 10px; }
		.board_view_head h2 { font-size: 1.8rem; }
		.board_view_body { min-height: 26rem; padding: 30px 10px 40px; }
		.board_file { grid-template-columns: 8rem 1fr; }
		.board_file strong, .board_file div { padding: 13px 10px; }
		.board_nav a { grid-template-columns: 7rem 1fr; padding: 13px 10px; }
		.board_nav .nav_date { display: none; }

.contact_row.half { grid-template-columns: 1fr; gap: 0; }
	.privacy_box { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
	.privacy_box .check { flex: none; }
}
