@charset "UTF-8";
* {
  box-sizing: unset;
}

.pc-mobile {
  display: flex;
}

.mobile-pc {
  display: none;
}

.absol {
  position: absolute;
}

.rltv {
  position: relative;
}

.flexrow {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.flexcol {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#bo_v > header {
  display: none;
}

p {
  word-break: keep-all !important;
}

@keyframes marquee3 {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes blk {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 0;
  }
  31% {
    opacity: 1;
  }
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes ddm_m {
  0% {
    transform: scale(1);
  }
  50% {
    transform: matrix(1.05, 0.01, 0.01, 1.05, 0, -15);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ddm_m_reverse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: matrix(0.8, 0.01, 0.01, 0.8, 0, -5);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes blk2 {
  0% {
    opacity: 0;
  }
  49% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  99% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
@keyframes line-top {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(13px);
  }
}
/* 추가된 부분 */
@keyframes line-top-reverse {
  0% {
    transform: translateY(13px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes line-top-rotate {
  0% {
    transform: translateY(13px) rotateZ(0deg);
  }
  100% {
    transform: translateY(13px) rotateZ(45deg);
  }
}
/* 추가된 부분 */
@keyframes line-top-rotate-reverse {
  0% {
    transform: translateY(13px) rotateZ(45deg);
  }
  100% {
    transform: translateY(13px) rotateZ(0deg);
  }
}
@keyframes line-mid {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
/* 추가된 부분 */
@keyframes line-mid-reverse {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes line-mid-invisible {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes line-bot {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-13px);
  }
}
/* 추가된 부분 */
@keyframes line-bot-reverse {
  0% {
    transform: translateY(-13px);
  }
  100% {
    transform: translateY(0px);
  }
}
@keyframes line-bot-rotate {
  0% {
    transform: translateY(-13px) rotateZ(0deg);
  }
  100% {
    transform: translateY(-13px) rotateZ(135deg);
  }
}
/* 추가된 부분 */
@keyframes line-bot-rotate-reverse {
  0% {
    transform: translateY(-13px) rotateZ(135deg);
  }
  100% {
    transform: translateY(-13px) rotateZ(0deg);
  }
}
#content_wrap {
  padding-bottom: 3%;
}

.k_new_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.k_btn_inner {
  font-size: 1.5vw;
  background: black;
  color: white;
  padding: 1% 3%;
  border-radius: 30px;
}

.k_btn_inner > a {
  color: white;
}

.k_new_btn > .k_btn_inner:nth-child(2) {
  background: rgba(0, 0, 0, 0.5607843137);
  margin-left: 2%;
  padding: 0.7% 2% !important;
}

#bo_w .bo_w_tit .frm_input {
  padding-right: 0px !important;
}

.k_btn_inner > input {
  outline: none;
  appearance: none;
  border: unset;
  background: unset;
  color: white;
  font-size: 1.1em;
}

#bo_v > header {
  display: block;
  position: relative;
  background: transparent;
  font-size: unset;
  padding: unset;
  border-bottom: 1px solid black;
  font-family: "pretendard Variable";
}

#bo_v_title .bo_v_tit {
  display: block;
  font-size: 17px;
  margin: 5px 0 0;
  word-break: break-all;
  font-weight: 500;
  letter-spacing: -1px;
  font-family: "pretendard Variable" !important;
}

.board_title {
  font-family: "pretendard Variable";
}

.k_new_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.k_btn_inner {
  font-size: 1.5vw;
  background: black;
  color: white;
  padding: 1% 3%;
  border-radius: 30px;
}

.k_btn_inner > a {
  color: white;
}

.k_new_btn > .k_btn_inner:nth-child(2) {
  background: rgba(0, 0, 0, 0.5607843137);
  margin-left: 2%;
  padding: 0.7% 2% !important;
}

#bo_w .bo_w_tit .frm_input {
  padding-right: 0px !important;
}

.k_btn_inner > input {
  outline: none;
  appearance: none;
  border: unset;
  background: unset;
  color: white;
  font-size: 1.1em;
}

#bo_v > header {
  display: block;
  position: relative;
  background: transparent;
  font-size: unset;
  padding: unset;
  border-bottom: 1px solid black;
  font-family: "pretendard Variable";
}

#bo_v_con {
  margin: 30px 0 30px;
  width: 100%;
  line-height: 1.7em;
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
  font-size: 1.3em;
  font-family: "pretendard Variable";
}

.mac_opt img {
  max-width: 100%;
}

#tttt {
  opacity: 1;
  z-index: 9999;
}

#content_wrap {
  padding-bottom: 0% !important;
}

header h1 {
  margin: 50px 0;
  font-size: 0.7em;
  font-weight: 100;
  text-align: center;
  font-family: "pretendard Variable";
}

header ul {
  width: 13.5%;
  margin: 0 auto;
  right: -16%;
}

header ul li {
  float: left;
  list-style: none;
  position: relative;
  width: 100%;
}

header ul li a {
  font-family: "pretendard Variable";
  font: 700 0.9vw "pretendard Variable";
  text-transform: uppercase;
  position: relative;
  color: #d90000;
  text-decoration: none;
  border: 3px solid #d90000;
  letter-spacing: 1px;
  padding: 6% 9%;
  display: block;
  width: 150px;
  z-index: 5000;
  width: 100%;
  box-sizing: border-box;
}

header ul li a i {
  font-size: 0.7em !important;
  position: absolute;
  right: 10%;
  top: 40%;
}

header ul li .drop-down {
  position: absolute;
  padding: 0;
  display: none;
  margin: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  background: white;
}

header ul li .drop-down li {
  position: relative;
  float: none;
  width: 100%;
}

header ul li .drop-down li a {
  border-top: none;
  width: 150px;
  width: 100%;
}

header ul li .drop-down li:nth-of-type(1) a {
  border-top: none;
}

header .accent {
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #d90000;
  position: absolute;
  transition: 0.3s ease;
}

header .animate {
  width: 100%;
  transition: 0.3s ease;
}

header > ul {
  right: 1%;
  top: 114%;
  background: white;
}

/* -------------------header 커스텀 시작------------------- */
@keyframes dropHeader {
  0% {
    top: -5rem;
  }
  100% {
    top: 0;
  }
}
@keyframes insertHeader {
  0% {
    top: 0;
  }
  100% {
    top: -7rem;
  }
}
header img {
  width: 100%;
}

/* header */
header.header {
  position: absolute;
  top: 2.4rem;
  left: 2.8rem;
  right: 2.8rem;
  height: 9.8rem;
  background-color: #ffffff;
  z-index: 9999;
  box-sizing: border-box;
  transition-duration: 0.3s;
  transition-property: top, background;
  border-radius: 1.0rem;
  border: none;
  padding: 0.8rem;
}

.header__container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8.5rem;
  border: 1px solid #000000;
  border-radius: 0.8rem;
  box-sizing: border-box;
}

header.header.drop {
  position: fixed;
  top: 2.4rem;
  left: 2.8rem;
  right: 2.8rem;
}

header.header.insert {
  position: fixed;
  top: -10.2rem;
  left: 2.8rem;
  right: 2.8rem;
}

header.header.header_change {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0.4rem 2.0rem rgba(0, 0, 0, 0.05);
}

.header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 15.2rem;
  height: 3.9rem;
}

.header__logo-img {
  width: 100%;
  height: auto;
}

.header__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 76.9rem;
  height: 1.7rem;
  height: 100%;
}

.header__menu-link {
  font-size: 1.8rem;
  font-weight: 600;
  color: #000000;
  font-family: "Pretendard", sans-serif;
  letter-spacing: -0.05em;
  line-height: 1.44;
  transition: color 0.3s;
  height: 100%;
}

.header__menu-link:hover {
  color: #e72119;
}

.header__call {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__call-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.0rem;
  cursor: pointer;
}

.header__call-icon {
  width: 3.4rem;
  height: 3.4rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__call-icon img {
  width: 100%;
  height: auto;
}

.header__call-num {
  font-size: 3.4rem;
  font-family: "Anton", sans-serif;
  font-weight: 400;
  color: #e72119;
  letter-spacing: 0em;
  line-height: 0.85;
}

/* 햄버거 메뉴 & 퀵메뉴 기본 PC 은닉 */
.hamburger {
  display: none;
}

.header_menu-bg {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.header_menu-bg.active {
  display: block;
}

/* ===== 관리자 메뉴 (PC 드롭다운 / 모바일 아코디언) ===== */
.admin-pc-only {
  display: block;
}

.admin-mobile-only {
  display: none;
}

header > .admin_head,
header > .admin_head * {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
  list-style: none;
}

header > .admin_head {
  position: absolute;
  right: 0.8rem;
  top: 112%;
  width: 20rem;
  overflow: hidden;
  z-index: 9999;
  font-size: var(--bodyM);
  background: var(--adminH-bgColor);
  color: var(--adminH-text);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
  border-radius: 0.6rem;
  transition: all 0.3s;
}

header > .admin_head:hover {
  border-radius: 1rem;
  background: var(--adminH-bgColor--hover);
  color: var(--adminH-text--hover);
  box-shadow: 0 0 0 1px var(--adminH-outline);
}

header > .admin_head li {
  position: relative;
  float: none;
  width: 100%;
}

header > .admin_head li a {
  font-family: "Pretendard", sans-serif;
  font-weight: 700;
  position: relative;
  padding: 1.2rem 1.6rem;
  display: block;
  width: 100%;
  z-index: 5000;
  color: inherit;
  text-decoration: none;
  border: none;
  letter-spacing: -0.02em;
  cursor: pointer;
}

header > .admin_head li a .admin-arrow-svg {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
}

header > .admin_head li .drop-down {
  position: relative;
  padding: 0 0 1rem;
  display: none;
  margin: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  background: transparent;
}

header > .admin_head li .drop-down li a {
  border-top: none;
  width: auto;
  margin: 0 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.15s;
}

header > .admin_head li li a:hover {
  background: var(--adminH-text--hover);
  color: var(--adminH-text);
  box-shadow: 0 0 0 1px var(--adminH-outline);
}



/* -------------------header 커스텀 끝------------------- */
@media screen and (max-width: 599px) {
  .pc-mobile {
    display: none !important;
  }
  .mobile-pc {
    display: flex !important;
  }
  header.header.drop {
    position: fixed;
    animation: none;
    transition: none;
    top: 0;
    left: 0;
    width: 100%;
  }
  header.header.insert {
    position: fixed;
    top: -15vw;
    left: 0;
    width: 100%;
  }
  .menu-hide {
    display: none !important;
  }
  .menu-show {
    display: flex !important;
  }
  .hamburger-top {
    top: 13% !important;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 33%;
    right: 5%;
    z-index: 10000; /* 드로어(.header__nav z:9999) 위로 올려 X(닫기) 노출 */
  }
  .hamburger-menu {
    width: 8vw;
    height: 4.5vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  div.line {
    background: #000;
    width: 100%;
    height: 2px;
    border-radius: 0px;
    position: relative;
    transition: all 0.3s;
    transform-origin: center;
    position: absolute;
    margin: 0 !important;
  }
  div.line.mid-reverse {
    background-color: #AD1319;
  }
  .top-reverse {
    top: 0%;
  }
  .bot-reverse {
    bottom: 0%;
  }
  .hamburger.active .top-reverse {
    top: 50%;
    transform: translate(0, -50%) rotate(45deg);
    background-color: #000;
  }
  .hamburger.active .mid-reverse {
    opacity: 0;
  }
  .hamburger.active .bot-reverse {
    bottom: 50%;
    transform: translate(0, 50%) rotate(-45deg);
    background-color: #000;
  }
  /* -------------------header 커스텀 시작------------------- */
  header.header {
    height: 15vw;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 4.5vw;
    background: #ffffff;
    padding: 0 5vw;
    margin: 0;
    box-shadow: 0 0.2rem 1.0rem rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 0;
    padding: 0;
  }
  .header__container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-radius: 0;
    padding: 0 4vw;
  }
  .header__logo {
    width: 25vw;
    height: auto;
    margin-left: 0;
  }
  .header__nav {
    position: fixed !important;
    right: -100%;
    pointer-events: none;
    padding: 20% 4% 0;
    /* padding-left: 4%; */
    width: 60%;
    box-sizing: border-box;
    transition: all 0.3s;
    clear: both;
    background-color: #ffffff;
    color: #000;
    height: 100vh;
    /* flex-wrap: wrap; */
    gap: 3vh;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    top: 0%;
    margin-left: 0;
    box-shadow: -0.4rem 0 2.0rem rgba(0, 0, 0, 0.1);
    z-index: 9999;
    text-align: center;
  }
  .header__nav.active {
    top: 0%;
    pointer-events: initial !important;
    opacity: 1;
    right: 0;
  }
  .header__menu-link {
    height: auto;
    color: #000;
    font-weight: 500;
    font-size: 4.5vw;
    width: 100%;
  }
  .header__call {
    display: none !important;
  }

  /* ===== 관리자 메뉴 모바일 아코디언 ===== */
  .admin-pc-only {
    display: none !important;
  }
  .admin-mobile-only {
    display: block !important;
  }
  .admin_menu_mobile,
  .admin_menu_mobile * {
    box-sizing: border-box !important;
    margin: 0;
    padding: 0;
  }
  .admin_menu_mobile {
    text-align: center;
    width: 100%;
    background-color: inherit;
    margin: 4vw 0 0;
    border-radius: 2rem;
    box-shadow: 0 0 0 1px var(--vWebColor);
    border: 1px solid rgba(255, 255, 255, 0.25);
  }
  .admin_menu_mobile[open] {
    padding-bottom: 4vw;
  }
  .admin_menu_mobile summary {
    color: var(--vWebColor);
    font-size: var(--size-19);
    padding: 2vw 0;
    cursor: pointer;
    outline: none;
    /* list-style: none; */
  }
  .admin_menu_mobile summary::-webkit-details-marker {
    display: none;
  }
  .admin_menu_mobile .admin_menu_list {
    display: flex;
    flex-direction: column;
    gap: 3vw;
    padding: 0 4vw;
  }
  .admin_menu_mobile .header_menu_1m {
    color: var(--vWebColor);
    display: block;
    padding: 2.5vw 0;
    text-decoration: none;
    font-size: 4vw;
    border-radius: 1rem;
    transition: background-color 0.2s, color 0.2s;
  }
  .admin_menu_mobile .header_menu_1m:active,
  .admin_menu_mobile .header_menu_1m:hover {
    background-color: var(--vWebColor);
    color: var(--adminH-text);
  }

  /* -------------------header 커스텀 끝------------------- */
}
.k_new_btn {
  margin-bottom: 6%;
  margin-top: 2%;
}

#bo_v_title .bo_v_tit {
  display: block;
  font-size: 17px;
  margin: 5px 0 0;
  word-break: break-all;
  font-weight: 700;
  letter-spacing: -1px;
  font-family: "pretendard Variable" !important;
}

.board_title {
  font-weight: 700;
  font-family: "pretendard Variable";
}

.k_new_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.k_btn_inner {
  font-size: 1.5vw;
  background: black;
  color: white;
  padding: 1% 3%;
  border-radius: 30px;
}

.k_btn_inner > a {
  color: white;
}

.k_new_btn > .k_btn_inner:nth-child(2) {
  background: rgba(0, 0, 0, 0.5607843137);
  margin-left: 2%;
  padding: 0.7% 2% !important;
}

#bo_w .bo_w_tit .frm_input {
  padding-right: 0px !important;
}

.k_btn_inner > input {
  outline: none;
  appearance: none;
  border: unset;
  background: unset;
  color: white;
  font-size: 1.1em;
}

#bo_v > header {
  display: block;
  position: relative;
  background: transparent;
  font-size: unset;
  padding: unset;
  border-bottom: 1px solid black;
  font-family: "pretendard Variable";
  font-weight: 900;
}

#bo_v_con {
  margin: 30px 0 30px;
  width: 100%;
  line-height: 1.7em;
  min-height: 200px;
  word-break: break-all;
  overflow: hidden;
  font-size: 1.3em;
  font-family: "pretendard Variable";
}

/* 팝업(#hd_pop) CSS 는 theme/design/template/header/style.css 로 일원화 — 여기선 비팝업 모바일 규칙만 유지 */
@media screen and (max-width: 599px) {
  .main_small_title {
    font-size: 3.1vw;
    line-height: 4.7vw;
  }
}
