@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Medium.woff2")
    format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-SemiBold.woff2")
    format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Pretendard";
  src: url("https://cdn.jsdelivr.net/npm/pretendard@1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2")
    format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 글로벌 적용 예시 */
body {
  font-family: "Pretendard", system-ui, -apple-system, "Segoe UI", Roboto,
    sans-serif;
}

body {
  margin: 0;
  padding: 0;
}
.mainpic {
  width: 631px;
}

figure {
  width: 115px;
  margin-left: 0;
  margin-right: 13px;
  float: left;
}
figure a {
  display: block;
  border: 1px solid #666;

  width: 115px;
  overflow: hidden;
}
figure img {
  transition: transform 0.1s ease;
}
figure img:hover {
  transform: translateX(-115px);
}
figure:first-child {
  margin-left: 2px;
}
figure:last-child {
  margin-right: 0;
}
figcaption {
  font: 400 11px "Pretendard", sans-serif;
  color: #222;
  text-align: center;
  padding-top: 8px;
}

/* ===== 기본 레이아웃 ===== */
.headerWrap {
  position: absolute;
  font-family: "Pretendard", system-ui, sans-serif;
  font-size: 15px;
  margin-top: 3px;
}

.nawoo ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 80px; /* 메뉴 간격 */
}

.nawoo > ul > li {
  position: relative;
}

.nawoo > ul > li > a {
  display: inline-block;
  padding: 14px 0;
  font-weight: 600;
  color: #363636;
  text-decoration: none;
  position: relative; /* ::before 기준 */
  transition: color 0.3s ease;
  font-size: 15px;
  font-family: "Pretendard", sans-serif;
}
.nawoo > ul > li > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px; /* 텍스트 바로 위쪽 */
  height: 3px; /* 두께 */
  width: 0;
  background: #0088cc;
  transition: width 0.35s ease;
}
.nawoo > ul > li:hover > a::before {
  width: 100%;
}

.nawoo > ul > li > a:hover {
  color: #0088cc;
}
.nawoo > ul > li:hover > a::after {
  width: 100%;
}

.nawoo > ul > li:hover > a {
  color: #0088cc;
}
/* ===== 드롭다운 패널 ===== */
.nawoo ul li div {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #f3f7fc; /* 연한 블루-화이트 */
  border: 1px solid #cde6f7;

  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(61, 61, 61, 0.445);
  padding: 10px 0;

  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.28, 1.8, 0.5, 1); /* 탄성효과 */
}

/* hover시 패널 등장 */
.nawoo > ul > li:hover > div {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* ===== 드롭다운 메뉴 항목 ===== */
.nawoo ul li div ul {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  gap: 2px; /* 항목 간격 */
}

.nawoo ul li div ul li a {
  display: block;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: #444;
  text-decoration: none;
  position: relative;
  font-family: "Pretendard", sans-serif;
  /* 부드러운 효과 */
  transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.nawoo ul li div ul li a:hover {
  background: #f5f9ff;
  color: #0078d7;
  padding-left: 26px; /* 왼쪽으로 살짝 밀리며 강조 */
}
.nawoo ul li div ul li a::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: #0078d7;
  transition: width 0.3s ease;
}

.nawoo ul li div ul li a:hover::before {
  width: 8px; /* 작은 라인이 슥 나타남 */
}
.nawoomenu {
  margin: 1px 0 0 0;
  padding: 0;
}
.nawoomenu li {
  list-style: none;
  font: 400 13px/1.6 "Pretendard", sans-serif;
}
.nawoomenu li a {
  display: block;
  width: 135px;
  color: #333;
  text-decoration: none;
  margin-left: 20px;
  padding-left: 5px;
  transition: all 0.3s;
}
.nawoomenu li a:hover {
  color: red;
  background: #ff6600;
  color: #fff;
  padding-left: 10px;
}

.ta1 tr td {
  font: 500 14px "Pretendard";
}

.newmenu {
}
.newmenu td {
  height: 25px;
}
.newmenu td a {
  display: block;
  color: #333;
  text-decoration: none;
  transition: all 0.2s;
  font: 500 15px "Pretendard" !important;
}
.newmenu td a:hover {
  color: #ff6600;
  transform: translateX(5px);
}
.h1text {
  font: 600 30px "Pretendard";
  color: #3324ae;
  text-align: center;
  margin: 30px 0 0 0;
}
.h2text {
  font: 500 20px "Pretendard";
  color: #e36199;
  padding-left: 10px;
  margin-bottom: 5px;

  height: 28px;
}
.report {
  border: 1px solid #999;
  border-collapse: collapse;
}
.report tr td {
  border: 1px solid #999;
  font: 400 13px "Pretendard";
  color: #333;
  height: 28px;
  padding: 3px;
}
.report tr:first-of-type td {
  text-align: center;

  background: #b9539f;
  color: #fff;
  height: 35px;
}

.mainnav {
  margin-top: 0;
  font-family: "Pretendard", sans-serif;
  padding-left: 30px;
  list-style: none;
  width: 170px;
}
.mainnav a {
  font-size: 14px;
  color: #414141;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  line-height: 18px;
  padding-left: 25px;
  padding-top: 6px;
  padding-bottom: 4px;
  width: 150px;
  display: block;
  background: url(img/01.png) no-repeat;
  background-position: 4px 1px;
  transition-property: background-color;
  transition-duration: 0.3s;
}
.mainnav a:hover,
.spec .spec1,
.fuel .fuel1,
.pay .pay1,
.spec2 .spec4,
.photo .photo1 {
  color: white;
  background: url(img/01.png) no-repeat;
  background-color: #27b0d4;
  background-position: 4px 100%;
}
.dropdown {
  position: relative;
  display: inline-block;
  font-family: "Pretendard", sans-serif;
  left:-5px;
  top:3px;
  
}

/* 버튼 스타일 */
.dropdown-btn {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  width: 180px;
  text-align: left;
  width:160px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  color:#333;
  margin-top:5px;
  font-family:'Pretendard',sans-serif;
}

.dropdown-btn:hover {
  border-color: #0088cc;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25); /* hover시 더 진한 그림자 */
}
.dropdown:hover .dropdown-btn {
  border-color: #0088cc;
  box-shadow: 0 5px 15px rgba(0,0,0,0.25);
  color: #0088cc; /* 필요하다면 글자색도 유지 */
}
/* 드롭다운 메뉴 (기본 숨김) */
.dropdown-menu {
  position: absolute;
  top: 100%;      /* 버튼 바로 밑에 딱 붙임 → hover 끊김 없음 */
  left: 0;
  width: 160px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);

  opacity: 0;
  transform: translateY(4px);  /* 4px 아래로 띄워 보이게 */
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10;
}
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;     /* 메뉴 위로 8px 확장 */
  left: 0;
  width: 100%;
  height: 10px;  /* 버튼-메뉴 사이를 충분히 덮도록 */
  background: transparent;
}
/* hover시 카드 메뉴 등장 */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(8px); /* hover시 살짝 더 내려오며 애니메이션 */
  pointer-events: auto;
}

/* 메뉴 항목 */
.dropdown-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 14px !important;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight:600;
  font-family:'Pretendard', sans-serif;
}

.dropdown-menu a:hover {
  background: linear-gradient(90deg, rgba(94,198,243,0.9) 0%, rgba(162,227,249,0.9) 100%);
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  font-weight: 600;
  text-decoration:none;
}
