/* style css */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
	font-family: 'Pretendard', sans-serif;
	font-weight: 500;
	letter-spacing: -0.04em; 
}

ol, ul {
    list-style: none
}

a {
	text-decoration: none;
	color: #353535;
}

blockquote,
q {
    quotes: '"' '"'
}

blockquote:after,
blockquote:before,
q:after,
q:before {
    content: '';
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

address {
    font-style: normal
}

textarea {
    width: 100%;
    resize: none;
}

button, img, input, select {
    vertical-align: middle
}

.ellipsis {
	display:inline-block;
	max-width:100%;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	word-wrap: normal;
	vertical-align:middle
}

table td a {
    overflow: hidden;
    height: auto;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

body, html {
	overflow-x:hidden;
	min-width: 320px;
}

body {
	color:#353535;
	-webkit-font-smoothing: antialiased;
	opacity: 0;
    transition: opacity .25s ease;
}

img {
	max-width: 100%;
	-webkit-user-drag: none;
}

::selection {
   background: #075FDF;
   color: #fff
}

::-moz-selection {
   background: #075FDF;
   color: #fff
}

::-webkit-selection {
    background: #075FDF;
   color: #fff
}

area {
    cursor: pointer;
}

button {
	outline: none;
	border: none;
	background-color: transparent;
	cursor: pointer;
	color: #353535;
}

.rel {
    position: relative;
}

.container {
    max-width: 1920px;
    margin: auto;
}

.container > .content {
	min-height: 50vh;
	padding-top: 175px;
	padding-bottom: 50px;
}

.container > .content.no_topsec {
	padding-top: 125px;
}

.fixed_zone {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 99;
}

.top_banner {
	position: relative;
	height: 50px;
	line-height: 50px;
	background-color: #1F82CF;
	color: #fff;
	text-align: center;
}

.top_banner .text b {
	font-weight: 700;
}

.top_banner  .icon_gift {
	display: inline-block;
	vertical-align: middle;
	margin-top: -4px;
}

.top_banner .close_btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 34px;
}

.header {
	width: 100%;
	height: 125px;
	background-color: #fff;
	border: 1px solid #E5E5E5;
}

.header .inner {
	max-width: 1160px;
	padding: 0 20px;
	margin: auto;
}

.header .top_area {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 45px;
	margin-top: 20px;
}

.header .top_area .pharases {
	color: #999;	
}

.header .top_area .top_menu {
	display: flex;
	gap: 20px;
}

.header .top_menu li a {
	font-size: 14px;
	color: #999;
}

.header  li a.active {
	color: #004AD3;	
}

.header li a:hover,
.header li button:hover {
	transition: color 0.3s ease-in-out;
	color: #1F82CF;
}

.header li a img,
.header li button img {
  filter: brightness(0.2) contrast(200%);
  transition: filter .3s ease;
}

.header li a:hover img,
.header li button:hover img {
  filter:
    invert(46%)
    sepia(63%)
    saturate(2904%)
    hue-rotate(188deg)
    brightness(93%)
    contrast(102%);
}

.header  .bt_area {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header  .bt_area .left_box {
	display: flex;
	align-items: center;
	gap: 40px;
}

.header  .bt_area .left_menu,
.header  .bt_area .right_menu {
	display: flex;
	align-items: center;
	gap: 30px;
}

.header  .bt_area .right_menu a,
.header  .bt_area .right_menu button {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 18px;
}

.main_content {
	text-align: center;
}

.image_wrap {
	padding-top: 50px;
}

.footer {
	padding: 50px 0;
	background-color: #F9F9F9;
	color: #999;
}

.footer .inner {
	max-width: 1160px;
	margin: auto;
	padding: 0 20px;
}

.footer .top_area,
.footer .bt_area {
	display: flex;
	justify-content: space-between;
}

.footer .top_area {
	margin-bottom: 30px;
}

.footer .top_area .logo_img {
	margin-bottom: 15px;
}

.footer .footer_menu {
	display: flex;
	align-items: center;
	gap: 30px;
}

.footer .footer_menu a {
	font-size: 14px;
	color: #999;
}

.footer .bt_area {
	align-items: flex-end;
}

.footer .bt_area .info {
	font-size: 14px;
	line-height: 150%;
}

.footer .bt_area .copyright {
	font-size: 14px;
}

.mo__header,
.mo__footer {
	display: none !important;
}

/* === 검색 패널 배경 === */
.search_panel {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: flex-start;
  padding-top: 120px;
  z-index: 3000;
}

/* === 패널 내부 박스 === */
.search_panel_inner {
  position: relative;
  width: 90%;
  max-width: 480px;
  background: #fff;
  padding: 40px 20px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
  animation: fadeUp .25s ease;
}

@keyframes fadeUp {
  from { transform: translateY(10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* === 검색 입력창 === */

.search_input_wrap {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.search_input_wrap input {
  width: 100%;
  height: 48px;
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 0 40px 0 15px;
  font-size: 15px;
}

.search_input_wrap .search_close {
  position: absolute;
  top: 5px;
  right: 20px;
  border: none;
  background: none;
  font-size: 22px;
  color: #888;
  cursor: pointer;
}

/* === 제목 === */
.search_title {
	display: flex;
	align-items: center;
	gap: 15px;
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 12px;
}

/* === 최근 검색어 === */
.recent_list {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 12px;
  max-height: 140px;
  overflow-y: auto;
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.recent_list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #333;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 4px 8px;
}

.recent_list .empty {
  color: #999;
  text-align: center;
  padding: 5px 0;
}

.recent_list .del_btn {
  background: none;
  border: none;
  font-size: 16px;
  color: #888;
  cursor: pointer;
}

.clear_all {
  font-size: 13px;
  background: none;
  border: none;
  color: #777;
  cursor: pointer;
  text-decoration: underline;
}

/* === 인기검색어 === */
.rank_list {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rank_list li {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rank_list .no {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1F82CF;
  color: #fff;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
  font-weight: 700;
}

/* ===== 모바일 사이드바 전체 ===== */
.mo_sidebar {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 5000;
}

/* 오버레이 */
.sidebar_overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  transition: opacity .25s ease;
}

/* 패널 */
.sidebar_panel {
  position: absolute;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.15);
  transition: right .25s ease;
  padding: 20px;
  overflow-y: auto;
}

.sidebar_open .sidebar_overlay {
  opacity: 1;
}

.sidebar_open .sidebar_panel {
  right: 0;
}

/* 상단 */
.sidebar_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar_logo {
  height: 30px;
}

.close_btn {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

/* 메뉴 */
.sidebar_menu {
  margin: 20px 0;
}

.sidebar_menu li {
  margin-bottom: 14px;
}

.sidebar_menu a {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.sidebar_menu.s li {
	margin-bottom: 10px;
}

.sidebar_menu.s a {
  font-size: 14px;
  color: #666;
  font-weight: 500;
}


@media(max-width: 991px) {
	.pc__header,
	.pc__footer {
		display: none !important;
	}
	
	.mo__header {
		display: block !important;
	}
	
	.mo__header {
	  transition: border-bottom .2s ease;
	  border-bottom: none;
	}

	.mo__header.scrolled {
	  border-bottom: 1px solid #e5e5e5;
	}
	
	.division {
		width: 100%;
		height: 15px;
		background-color: #f9f9f9;
	}
	
	.mo__footer {
		display: block !important;
	}
	
	.mo__header {
		position: fixed;
		width: 100%;
		left: 0;
		top: 0;
		align-items: center;
		height: 70px;
		background-color: #fff;
		z-index: 99;
	}
	
	.mo__header .inner {
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 100%;
		height: 100%;
		padding: 0 20px;
	}
	
	.mo__header .inner h1 {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		font-size: 16px;
	}
	
	.mo__header .left_zone,
	.mo__header .right_zone {
		display: flex;
		align-items: center;
		gap: 15px;
	}
	
	.container > .content {
		padding-top: 70px;
	}
	
	.footer .top_area {
		margin-bottom: 20px;
	}
	
	.footer .bt_area {
		display: block;
	}
	
	.footer .bt_area .info {
		margin-bottom: 40px;
	}
	
	.mo__footer li {
		margin-bottom: 10px;
	}
	
	.mo__footer li:last-child {
		margin-bottom: 40px;
	}
	


	
}