@charset "UTF-8";

/*******************************************************************************************************************************
 *** 헤더
*******************************************************************************************************************************/
header.header {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  width: 100%;
  color: #353535;
}

header.header .tophead {
  background: #026aa7;
  color: #fff;
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 7px;
  font-size: 15px;
  letter-spacing: 2px;
  transition: 0.5s;
}

header.header.fix .tophead {
  height: 0px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
}

header.header .tophead span {
  border-right: 2px solid #ffffff65;
  padding: 0 2rem;
}

header.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  height: 90px;
}

.fix {
  border-top: 4px solid #026aa7;
  border-bottom: 1px solid #ddd;
  background: url(../img/topbg.png) bottom center;
}

header.header .logo img {
}

.logo {
  width: 250px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

nav .logo {
  display: none;
}

nav ul {
  display: flex;
}

nav ul li a {
  display: block;
  margin: 0 9px;
  font-weight: 600;
  padding: 8px 20px;
  transition: 0.2s;
  border-radius: 3px;
  font-size: 18px;
}

nav ul li a:hover {
  color: #026aa7;
}

nav ul li a.on {
}

/* 퀵 */
.quick-menu {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  width: 60px;
}

.quick-menu .menu-item {
  width: 60px;
  height: 60px;
  background: white;
  border: 1px solid #d1d5db;
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #6b7280;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.quick-menu .menu-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.quick-menu .menu-item:last-child {
  border-bottom: 1px solid #d1d5db;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.quick-menu .menu-item:hover {
  background: #026aa7;
  color: white;
  border-color: #026aa7;
  width: 200px;
  justify-content: space-between;
  padding: 0 18px 0 20px;
  margin-left: -140px;
  z-index: 10;
}

.quick-menu .menu-item:hover .menu-text {
  opacity: 1;
  color: white;
}

.quick-menu .menu-text {
  font-size: 16px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  color: #374151;
}

.quick-menu .menu-item:hover .menu-text {
  opacity: 1;
}

.menu-icon {
  width: 24px;
  height: 24px;
  fill: #374151;
  transition: fill 0.3s ease;
  position: absolute;
  right: 18px;
}

.menu-item:hover .menu-icon {
  fill: white;
}

/* 드롭다운 */
nav .drop {
  position: relative;
  background: url(../img/down-arrow.png) 92% center no-repeat;
  background-size: 10px;
}

.toggle {
  width: 110%;
  background: #ffffff;
  padding: 10px 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
  display: none;
  border: 2px solid #026aa7;
  box-shadow: 0 6px 12px #22222223;
}

.toggle a {
  font-size: 16px;
  font-weight: normal;
  padding: 4px 15px;
  border-bottom: 1px solid #ddd;
  color: #333 !important;
}

.toggle a:hover {
  opacity: 0.6;
}

.toggle a:last-child {
  border: none;
}

/* 드롭다운 모바일 */
.toggle_m {
  width: 100%;
  background: #474747d0;
  padding: 1rem 0;
  position: relative;
  border-radius: 10px;
  display: none;
}

.toggle_m a {
  font-size: 17px;
  font-weight: normal;
  padding: 5px 10px;
  border-bottom: 1px solid #ccc;
}

.toggle_m a:hover {
  opacity: 0.6;
}

/* hamburger Button */
input[id="hamburger"] {
  display: none;
}

label[for="hamburger"] {
  /*border: 1px solid red;*/
  width: 30px;
  height: 20px;
  display: block;
  position: relative;
  cursor: pointer;
  z-index: 2000;
}

label[for="hamburger"] div {
  display: none;
  position: absolute;
  height: 2px;
  background-color: #000;
  width: 100%;
  left: 0;
  transition: 0.3s;
}

label[for="hamburger"] div:nth-child(1) {
  top: 0;
}

label[for="hamburger"] div:nth-child(2) {
  top: 50%;
}

label[for="hamburger"] div:nth-child(3) {
  top: 100%;
}

input[id="hamburger"]:checked + label[for="hamburger"] div:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
  background-color: #000000;
}

input[id="hamburger"]:checked + label[for="hamburger"] div:nth-child(2) {
  opacity: 0;
}

input[id="hamburger"]:checked + label[for="hamburger"] div:nth-child(3) {
  top: 50%;
  background-color: #000000;
  transform: rotate(-45deg);
}

/*quick 시작*/
.quick {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
}

.quick a.call {
  background-color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  display: block;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

.quick a.call i {
  font-size: 24px;
  line-height: 50px;
}

.quick button {
  text-align: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #333;
  margin-top: 6px;
  color: #fff;
}

/*quick 끝//*/

/**PC 모바일 이미지 사이즈 조정 시작**/
.d-block {
  display: block;
}

.m-block {
  display: none;
}

/**PC 모바일 이미지 사이즈 조정 끝**/

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
@media (max-width: 1000px) {
  header.header {
    width: 100%;
  }

  label[for="hamburger"] div {
    display: block;
  }

  nav {
    position: absolute;
    left: -300px;
    top: 0;
    z-index: 999;
    width: 270px;
    height: 100vh;
    background: rgba(255, 255, 255);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 0 2rem;
    transition: 0.2s;
    box-shadow: 2px 0 20px 0 rgba(0, 0, 0, 0.15);
  }

  nav .logo {
    display: block;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding-top: 1rem;
  }

  nav .logo img {
  }

  nav ul {
    display: block;
    padding: 0px;
    padding-top: 60px;
  }

  nav ul li {
    border-bottom: 1px solid #ddd;
  }

  nav ul li.drop {
    background: url(../img/m_arrow.png) no-repeat;
    background-size: 16px;
    background-position-y: 18px;
    background-position-x: right;
    cursor: pointer;
  }

  .arrow_x {
    background-image: url(../img/m_arrow_X.png) !important;
  }

  nav ul li a {
    color: #333 !important;
  }

  nav ul li > a {
    display: block;
    font-size: 18px;
    padding: 14px 0px;
  }

  nav ul li.drop > a {
    pointer-events: none;
  }

  div.toggle {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  div.toggle_m {
    background: #eeeeee;
    display: none;
  }

  .hamburger {
    display: block;
  }

  input[id="hamburger"]:checked ~ nav {
    left: 0;
  }
}

/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/

/*******************************************************************************************************************************
 *** 푸터
*******************************************************************************************************************************/
.footer {
  background: #5a534d;
  color: #ffffff;
  padding: 60px 0 20px;
  margin-top: 0px;
}

.footer-content {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(141, 141, 141, 0.301);
}

.footer-section h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section div {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.footer-section em {
  font-size: 20px;
  font-weight: 700;
}

.footer [data-lucide] {
  width: 15px !important;
  height: 15px !important;
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  padding: 0 10px;
  border-right: 1px solid rgba(66, 62, 62, 0.3);
}

.footer-links a:last-child {
  border-right: none;
}

.footer-links a:hover {
}

/*******************************************************************************************************************************
 *** PC ~ 테블릿
*******************************************************************************************************************************/
/*******************************************************************************************************************************
 *** 모바일
*******************************************************************************************************************************/
@media (max-width: 768px) {
  .logo {
    width: 210px;
  }

  header.header .container {
    height: 77px;
  }

  header.header .tophead {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-content {
    padding: 0 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    border-right: none;
    padding: 5px 0;
  }

  /* 모바일에서 일부 정보 숨김 */
  .footer-section:nth-child(2),
  .footer-section:nth-child(3) p:not(:first-child):not(:last-child) {
    display: none;
  }

  .footer-section:nth-child(3) {
    text-align: center;
  }

  /**PC 모바일 이미지 사이즈 조정 시작**/
  .d-block {
    display: none;
  }

  .m-block {
    display: block;
  }

  /**PC 모바일 이미지 사이즈 조정 끝**/
  .quick-menu {
    position: fixed;
    bottom: 20px;
    left: 50%;
    right: auto;
    top: auto;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    flex-direction: row;
    background: white;
    border-radius: 25px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    gap: 8px;
  }

  .quick-menu .menu-item {
    width: 50px;
    height: 50px;
    border: none;
    margin: 0;
    transition: background-color 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6b7280;
  }

  .quick-menu .menu-item:hover {
    background: #026aa7;
    color: white;
    border-color: #026aa7;
    width: auto;
    justify-content: center;
    padding: auto;
    margin-left: 0px;
    z-index: 10;
    border-radius: 0;
    width: 50px;
    height: 50px;
    padding: 0;
  }

  .quick-menu .menu-item:hover .menu-icon {
    fill: white;
  }

  .quick-menu .menu-item:hover .menu-text {
    color: white;
  }

  .quick-menu .menu-text {
    display: block;
    font-size: 10px;
    margin-top: 2px;

    opacity: 1;
    font-weight: 400;
    line-height: 1;
    color: #6b7280;
  }

  .quick-menu .menu-icon {
    width: 20px !important;
    height: 20px !important;
    position: static;
    flex-shrink: 0; 
    display: block; 
  }

  .quick-menu .menu-item:last-child {
    border: none;
  }
}
