:root {
  --color-primary: #5592ff;
  --color-gray-01: #f9fafb;
  --color-gray-02: #ececf0;
  --color-gray-03: #6b7684;
}

@media screen and (max-width: 1024px) {
  body {
    font-size: 14px;
  }
}

@media screen and (max-width: 512px) {
  body {
    font-size: 12px;
  }
}

/* ================ */
/* share */
/* ================ */

.si_inner {
  max-width: 1280px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
}

.flex{
  display: flex;
}

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

.flex_between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex_column {
  display: flex;
  flex-direction: column;
}

.box_shadow_01 {
  box-shadow: 0px 0px 0px 20px rgba(255, 255, 255, 0.05);
}

.mo-ver{
  display: none;
}

@media screen and (max-width: 768px) {
  .mo-ver{
    display: unset;
  }
}

/* ================ */
/* header */
/* ================ */

.s_header {
  position: sticky;
  height: 80px;
  background: #fff;
  z-index: 99999;
  left: 0;
  top: 0;
}

.s_header .si_inner {
  height: inherit;
}

.s_header .pc_gnb > ul {
  gap: 20px;
}

.s_header .pc_gnb > ul > li {
  position: relative;
}

.s_header .pc_gnb > ul > li > a {
  padding: 30px 20px;
  font-size: 1.125rem;
  font-weight: 500;
  transition: 0.3s all;
}

.s_header .pc_gnb > ul > li > a:hover {
  color: var(--color-primary);
  font-weight: 700;
}

.s_header .pc_gnb > ul ul {
  position: absolute;
  left: 0;
  top: 50px;
  background: #fff;
  border-radius: 8px;
  width: 100%;
  min-width: 115px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.3s, opacity 0.3s ease;
  z-index: 999;
}

.s_header .pc_gnb > ul > li:hover ul {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.s_header .pc_gnb > ul ul li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.s_header .pc_gnb > ul > li:hover ul li {
  opacity: 1;
  transform: translateY(0);
}

.s_header .pc_gnb > ul > li:hover ul li:nth-child(1) {
  transition-delay: 0s;
}
.s_header .pc_gnb > ul > li:hover ul li:nth-child(2) {
  transition-delay: 0.1s;
}
.s_header .pc_gnb > ul > li:hover ul li:nth-child(3) {
  transition-delay: 0.2s;
}
.s_header .pc_gnb > ul > li:hover ul li:nth-child(4) {
  transition-delay: 0.3s;
}
.s_header .pc_gnb > ul > li:hover ul li:nth-child(5) {
  transition-delay: 0.4s;
}

.s_header .pc_gnb > ul ul a {
  font-size: 0.9375rem;
  padding: 12px;
  display: block;
  text-align: center;
  line-height: 1.5em;
  transition: 0.3s all;
}

.s_header .pc_gnb > ul ul a:hover {
  background: var(--color-gray-01);
}

.s_header .nav_utils {
  background: var(--color-gray-01);
  color: var(--color-gray-03);
  padding: 14px 24px;
  border-radius: 20px;
  font-size: .875rem;
}

.s_header .nav_utils > ul {
  gap: 20px;
}

.s_header .nav_utils > ul a {
  transition: all 0.3s ease-out;
}

.s_header .nav_utils > ul a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.s_header .nav_utils_m {
  display: none;
}

.s_header .hamburger {
  width: 24px;
  height: 24px;
  gap: 4px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  transition: all 0.3s;
  display: none;
}

.s_header .hamburger span {
  display: block;
  width: 100%;
  background: #222;
  height: 2px;
  position: absolute;
  top: 10px;
  transition: all 0.3s;
  transform-origin: center center; 
}

.s_header .hamburger span:nth-child(2) {
  width: 70%;
  top: 15px;
}

.s_header .hamburger.active {
  gap: 0;
}

.s_header .hamburger.active span {
  width: 100%;
}

.s_header .hamburger.active span:nth-child(1) {
  transform: rotate(45deg);
}

.s_header .hamburger.active span:nth-child(2) {
  transform: rotate(-45deg);
  top: 10px;
}

.s_header .mobile_sidebar {
  position: fixed;
  background: #fff;
  width: 100%;
  height: 100%;
  z-index: 9999;
  padding: 0 20px;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.mobile_sidebar.active {
  transform: translateX(0);
}


.s_header .mobile_gnb {
  font-size: 1rem;
}

.s_header .mobile_gnb ul {
  flex-direction: column;
  align-items: flex-start;
}

.s_header .mobile_gnb > ul > li {
  width: 100%;
}

.s_header .mobile_gnb > ul > li > a {
  display: block;
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-gray-02);
  font-weight: 700;
}

.s_header .mobile_gnb > ul > li > a::after {
  content: "expand_more";
  font-family: "Material Icons";
  font-size: 24px;
  transition: transform 0.3s ease;
}

.s_header .mobile_gnb > ul > li.active > a::after {
  transform: rotate(180deg);
}

.s_header .mobile_gnb > ul > li > a:last-child,
.s_header .mobile_gnb > ul > li > a:last-child::after {
  border: none;
}

.s_header .mobile_gnb > ul ul {
  padding-left: 10px;
	max-height: 0;
	overflow: hidden;
	transition: all 0.4s ease-in-out;
	opacity: 0;
}

.s_header .mobile_gnb > ul > li.active > ul {
	max-height: 1000px; 
	opacity: 1;
}

.s_header .mobile_gnb > ul ul a {
  display: block;
  padding: 16px 10px;
  font-size: 0.875rem;
}

.s_header .mobile_gnb > ul ul a br {
  display: none;
}

.s_header .sidebar_utils ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  font-size: 0.875rem;
  background: var(--color-gray-01);
  border-radius: 10px;
}


@media screen and (max-width: 1024px) {
  .s_header .pc_gnb,
  .s_header .nav_utils {
    display: none;
  }

  .s_header .nav_utils_m {
    display: block;
  }

  .s_header .hamburger{
    display: flex;
  }
}


/* ================ */
/* footer */
/* ================ */
.s_footer{
  background: #fff;
}

.s_footer .top_section{
  padding: 20px 0;
  border-bottom: 1px solid #eaeaea;
}

.s_footer .top_section .si_inner{
  display: flex;
  justify-content: space-between;
  color: #6e6e6e;
}

.s_footer .top_section ul{
  display: flex;
  gap: 20px;
}

.s_footer .footer_content{
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  line-height: 1.5em;
  color: #121212;
}


.s_footer .footer_content img{
  margin: 0;
}

@media screen and (max-width: 512px) {
  .s_footer .top_section .si_inner{
    flex-wrap: wrap;
    gap: 10px;
  }
}



br.br_m {
  display: none;
}

@media (max-width: 512px) {
  br.br_m {
    display: block;
  }
}


.hd_admin {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.hd_admin a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.hd_admin a:hover {
    background: #0056b3;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
    transform: translateY(-2px);
}

/* 모바일 */
@media (max-width: 768px) {
    .hd_admin {
        bottom: 20px;
        right: 20px;
    }
    
    .hd_admin a {
        width: 50px;
        height: 50px;
        font-size: 12px;
    }
}