body {
  margin: 0;
  padding: 0;
  overflow-y: scroll;
}
.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;
}

.point {
  position: relative;
}
div.Layer3 {
  position: relative;
  margin: 0 auto;
  z-index: 99;
}
div.headerWrap {
  position: relative;
  top: -14px;
  left: -1px;
  width: 860px;
  height: 45px;
  margin: 0 auto;

  z-index: 16;
}
div.headerWrap > div {
  width: 860px;
  height: 84px;
  position: relative;
  top: 11px;
  left: 20px;
  margin: 0 auto;
}

.nawoo {
  position: relative;
  width: 738px;
  height: 50px;
  z-index: 17;
  top: 0px;
  left: -45px;
}
.nawoo > ul {
  width: 738px;
  height: 84px;
  position: relative;
  top: 0px;
  left: 0px;
}
.nawoo > ul > li {
  position: relative;
  width: 143px;
  height: 45px;
  float: left;
  text-align: center;
  box-sizing: border-box;
  list-style: none;
}
/*
.nawoo>ul>li:nth-child(4) {
		width:163px;
}
.nawoo>ul>li:nth-child(5) {
		width:123px;
}
.nawoo>ul>li:nth-child(4)>a{
		width:163px;
}
.nawoo>ul>li:nth-child(5)>a{
		width:123px;
}
*/
.nawoo > ul > li > a {
  display: block;
  width: 123px;
  height: 45px;
  font: 600 15px/3.6 "Pretendard", sans-serif !important;
  color: #333 !important;
  transition: 0.3s;
  text-decoration: none;
  text-align: center;
  margin: 0 auto;
}

.nawoo > ul > li:hover > a {
  color: RoyalBlue !important;
}

.nawoo > ul > li > div {
  position: absolute;
  top: 45px;                   /* 메인메뉴 바로 아래에서 시작 */
  left: 50%;
  transform: translate(-50%, -7px); /* 시작시 살짝 위 */
  width: 123px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.nawoo > ul > li:hover div {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -15px); /* 제자리로 내려옴 */
}
.nawoo > ul > li > div > ul {
  width: 123px;
  position: absolute;
  top: 20px;
  left: 0;

  list-style: none;
}

.nawoo > ul > li > div > ul {
  width: 123px;
  position: absolute;
  top: 20px;
  left: 0;
  list-style: none;

  background: rgb(48, 171, 219); /* 배경은 ul */
  border-radius: 8px;           /* 둥근 모서리 */
  overflow: hidden;             /* 잘려 나가게 */
}
.nawoo > ul > li > div > ul > li {
  background: none;
  
}

.nawoo > ul > li > div > ul > li:first-child > a {
  border-top: none;
}
.nawoo > ul > li > div > ul > li > a {
  display: block;
  width: 123px;
  height: 37px;
  border-top: 1px solid #111;
  color: #fff !important;
  font: 500 13px/3 "Pretendard", sans-serif;
  transition: 0.2s;
  text-decoration: none;
  
}

.nawoo > ul > li > div > ul > li > a:hover {
  background: rgb(48, 171, 219); /* 배경은 ul */
  color: #fff;
}



/* 판넬 박스 */
.nawoo > ul > li > div > ul {
  width: 123px;
  position: absolute;
  top: 20px;
  left: 0;
  list-style: none;
background: linear-gradient(to bottom, royalblue, #1e40af);
  border:1px solid rgba(255, 255, 255, 1);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;          /* ✅ 여백 초기화 */
  margin: 0;           /* ✅ 여백 초기화 */
  box-shadow: 0 6px 18px rgba(0,0,0,0.3), 0 2px 6px rgba(0,0,0,0.15);
  transition:background-color 0.3s ease;
}

/* li는 투명, 불필요한 여백 없음 */
.nawoo > ul > li > div > ul > li {
  background: none;
  margin: 0;
  padding: 0;
}

/* a는 항상 가로 100% 차지, 중앙 정렬 */
.nawoo > ul > li > div > ul > li > a {
  display: block;
  width: 100%;                   /* ✅ 123px 고정 대신 부모 ul 꽉 채우기 */
  height: 39px;
  
  text-align: center;            /* ✅ 글자 중앙 */
  border-top: 1px solid #111;    /* 구분선 */
  color: #fff !important;
  font: 500 13px/3 "Pretendard", sans-serif;
  transition: 0.2s;
  text-decoration: none;
  margin: 0;
  padding: 0;
}

/* 첫 번째 항목은 구분선 제거 */
.nawoo > ul > li > div > ul > li:first-child > a {
  border-top: none;
}

/* hover 효과 */
.nawoo > ul > li > div > ul > li > a:hover {
  background: linear-gradient(to bottom, rgb(108,145,255), royalblue);
  color: #fff;
}
.nawoo > ul > li > a {
  position: relative;
  display: block;
  width: 123px;
  height: 45px;
  font: 600 15px/3.6 "Pretendard", sans-serif !important;
  color: #333 !important;
  text-align: center;
  text-decoration: none;
  transition: color 0.3s ease; /* 글자색 부드럽게 */
}

/* 라인 (기본은 숨김) */
.nawoo > ul > li > a::before {
  content: "";
  position: absolute;
  bottom: 35px;              /* 글자 위쪽 */
  left: 50%;                 /* 중앙 기준 */
  transform: translateX(-50%);
  width: 0;                  /* 처음엔 0 */
  height: 3px;               /* 라인 두께 */
  background: #22C7DA;     /* 라인 색상 */
  transition: width 0.3s ease; /* 길이 변화 애니메이션 */
}

/* hover 시 라인 나타남 */
.nawoo > ul > li:hover > a::before {
  width: 100%;  /* 좌우 꽉 차게 */
}

.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: 13px;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  line-height: 18px;
  padding-left: 25px;
  padding-top: 4px;
  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.5s;
}
.mainnav a:hover,
.spec .spec1,
.fuel .fuel1,
.pay .pay1,
.spec2 .spec4,
.photo .photo1 {
  color: white;
  background: url(img/01.png) no-repeat;
  background-color: royalblue;
  background-position: 4px 100%;
}
#erecon {
  position: absolute;
  width: 100%;
  height: 367px;
  z-index: 1;
  left: -2px;
  top: 190px;
}
