@charset "utf-8";
@font-face {
  font-family: 'GmarketSansMedium';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* ----------------------- 공통 ----------------------- */
.container-wrap {
  max-width: 1440px;
  margin: 0 auto;
}
.msearch-box {
  display: none;
}

/* ------------------------ 헤더 --------------------------*/
#header {
  border-bottom: 1px solid #f7f7f7;
}
.mLogo-bar {
  display: none;
}
.top-event-box {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: start;
  background: #4cc627;
  color: #fff;
  padding: 12px 0;
  position: relative;
}
.top-event-box .top-content {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 1190px;
  height: 22px;
  font-size: 12px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .top-event-box .top-content {
      height: 30px;
  }
}
.top-event-box .top-ment {
  font-size: 13px;
}
.top-event-box .top-link {
  position: absolute;
  left: 0px;
}
.top-event-box .top-ment > a,
.top-event-box .top-content .top-link > a {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 5px;
  background-color: #3fa81f;
  border-radius: 3px;
  text-underline-position: below;
}
.top-event-box .top-content .top-link-total > a {
  display: inline-block;
  margin-right: 10px;
  padding: 3px 5px;
  background-color: #3fa81f;
  text-underline-position: below;
}
.top-event-box .top-content .top-link-total .select {
  background-color: #1d510d;
}
.top-event-box > a > span {
  font-size: 13px;
}
.top-event-box > a > img {
  position: absolute;
  right: 130px;
}
.top-login-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  padding-right: 130px;
}
.top-login-wrap > span {
  padding: 10px 20px;
  font-size: 14px;
}
.top-login-wrap > span:first-child {
  color: #808080;
  position: relative;
}
.top-login-wrap > span:first-child::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 20px;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #eaeaea;
}
.top-login-wrap > span:last-child {
  color: #4cc627;
}
.logo-bar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.search-box {
  width: 312px;
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #f7f7f7;
  border-radius: 8px;
  padding: 10px 16px;
}
.search-box > img {
  margin-right: 8px;
}
.search-box > input {
  border: none;
  background: none;
  outline: none;
}
.search-box > input::placeholder {
  color: #bebebe;
  font-size: 14px;
  position: relative;
  top: 2px;
}
.header-right-box .header-hamburger {
  display: none;
}

.header-search {
  position: relative;
  margin: auto;
}
.header-search input {
  width: 240px;
  height: 40px;
  border: none;
  outline: none;
  padding: 10px 16px 10px 16px;
  gap: 8px;
  border-radius: 8px 0px 0px 0px;
  background-color: #f7f7f7;
}
.header-search .fa-search {
  position: absolute;
  right: 10px; /* 아이콘을 오른쪽으로 배치 */
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

.header-home-logo {
  display: flex;
  flex-direction: row;
}
.header-home-logo a {
  /* font-family: "Black Han Sans", sans-serif; */
  font-family: 'GmarketSansMedium';
  font-size: 32px;
  font-weight: 800;
  font-style: normal;
}
.header-home-logo a img{
  width: 230px;
}
.header-home-logo span {
  font-size: 12px;
  color: #888888;
  display: flex;
  align-items: flex-end; /* 하단 정렬 */
  height: 32px; /* 예제 높이 */
  margin-left: 5px;
}
@media screen and (max-width: 768px) {
  .top-event-box .top-ment {
    position: absolute;
    top: -5px;
    right: 0px;
    width: 200px;
    font-size: 12px;
  }
  .header-home-logo a img{
      width: 160px;
  }
  .header-home-logo span {
      font-size: 12px;
      color: #888888;
      display: flex;
      align-items: flex-end; /* 하단 정렬 */
      height: 24px; /* 예제 높이 */
      margin-left: 5px;
  }
}

.menuPopupBtn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.menu-btn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  background-color: #d45612;
  color: white;
  border: none;
  border-radius: 4px;
}

.menu-btn.active {
  background-color: #0056b3;
}

.header-button_wrapper {
  position: relative;
}

.menuPopup {
  display: none; /* 기본적으로 숨기기 */
  position: absolute;
  width: 220px;
  line-height: 25px;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 1000;
  text-align: left;
}
.menuPopup .menu-popup-content p span {
  display: inline-block;
  width: 100px;
  font-size: 12px;
}
.menuPopup .menu-popup-content p button{
  padding: 0px 3px;
  border-radius: 3px;
  font-size: 12px;
}
.menuPopup .menu-popup-content p .gray {
  background-color: #aaaaaa;
  color: white;
}
.menuPopup .menu-popup-content p .green {
  background-color: #4CAF50;
  color: white;
}
.menuPopup .menu-popup-content p .blue {
  background-color: #007bff;
  color: white;
}
.menu-popup-content {
  padding: 20px;
}

/*--------------------모바일 검색-------------------*/
.mo-header-search {
  position: relative;
  margin: auto;
}
.mo-header-search input {
  width: 100%;
  height: 40px;
  border: none;
  outline: none;
  padding: 10px 16px 10px 16px;
  gap: 8px;
  margin-top: 5px;
  border-radius: 8px 0px 0px 0px;
  background-color: #f7f7f7;
}
.mo-header-search .fa-search {
  position: absolute;
  right: 10px; /* 아이콘을 오른쪽으로 배치 */
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
}

/*------------------팝업-------------------*/

.sign-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.sign-popup-overlay .popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  width: 100%;
  text-align: center;
  position: relative;
}

.sign-popup-overlay .sign-close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.sign-popup-overlay button {
  width: 100%;
  padding: 10px;
  margin: 5px 0;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.sign-popup-overlay button[type="button"] {
  background: #444444;
  color: #fff;
}

/* ------------------------ 푸터 --------------------------*/
footer {
  background: #f7f7f7;
  padding: 40px 0;
}
.footer-tit-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.persona-info-box > img {
  margin-right: 20px;
}
.persona-info-box > a:first-of-type {
  font-size: 14px;
  color: #808080;
  position: relative;
  margin-right: 10px;
}
.persona-info-box > a:nth-of-type(3),
.persona-info-box > a:nth-of-type(2) {
  font-size: 14px;
  color: #808080;
  position: relative;
  margin-right: 10px;
}
.persona-info-box > a:last-of-type {
  font-size: 14px;
  color: #808080;
}
.persona-info-box > a:nth-of-type(3)::after,
.persona-info-box > a:nth-of-type(2)::after,
.persona-info-box > a:first-of-type::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 1px;
  height: 26px;
  background: #eaeaea;
}
footer {
  border-top: 1px solid #eaeaea;
}
.footer-con > p {
  display: inline-block;
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 30px;
}
.footer-con > p > span {
  color: #aaaaaa;
  padding: 0px 3px;
}
@media (max-width: 758px) {
  .footer-con > p > span:nth-of-type(2),
  .footer-con > p > span:nth-of-type(4),
  .footer-con > p > span:nth-of-type(5) {
      display: flex;
      width: 100%;
      color: #f7f7f7;
      line-height: 0px;
  }
}
.footer-copy-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}
.footer-copy-box > p {
  font-size: 12px;
  color: #888888;
  margin-bottom: 16px;
}
.footer-copy-box button {
  background-color: #4cc627;
  color: white;
  padding: 10px 15px;
  margin: 10px 0px;
  border-radius: 8px;
}
.footer-button {
  display: flex;
  flex-direction: row;
}
.footer-button .foot-faq {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: #fff;
  padding: 14px 12px;
  border: 1px solid #eaeaea;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
}
.footer-button .footer-copy-call {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.call-box > img {
  width: 16px;
}
.call-box > span {
  font-size: 12px;
  color: #808080;
  margin-right: 8px;
}
.footer-copy-call > p {
  font-size: 12px;
  color: #444444;
  font-weight: 600;
}

/* 모바일 */
@media screen and (max-width: 768px) {
  /* ------------------------ 헤더 --------------------------*/
  .header-right-box .header-hamburger {
    display: block;
  }
  .top-event-box > a > img {
    right: 15px;
  }
  .top-login-wrap,
  .logo-bar {
    display: none;
  }
  .mLogo-bar {
    display: block;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
  }
  .mLogo-bar > h1 > a > img {
    width: 172px;
  }
  .msearch-box {
    width: 328px;
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #f7f7f7;
    border-radius: 8px;
    padding: 10px 16px;
    margin: 0 auto;
  }
  .msearch-box > img {
    margin-right: 8px;
  }
  .msearch-box > input {
    border: none;
    background: none;
    outline: none;
  }
  .msearch-box > input::placeholder {
    color: #bebebe;
    font-size: 14px;
    position: relative;
    top: 2px;
  }
  .msearch-box {
    display: none;
  }

  /* ------------------------ 푸터 --------------------------*/
  footer {
    padding: 40px 48px 40px 16px;
  }
  .footer-tit-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-tit-wrap > a > img {
    margin-bottom: 27px;
  }
  .footer-partner-list > img {
    width: 100%;
  }
  .footer-con > p {
    font-size: 12px;
  }
  .footer-con > p:nth-child(7)::after {
    display: none;
  }
  .footer-con > p:nth-child(8) {
    margin-left: 0;
  }
  .footer-button {
    flex-direction: column;
  }
  .footer-button button {
    margin-bottom: 5px;
  }
  .footer-copy-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-copy-box > p {
    font-size: 12px;
    color: #888888;
  }
  .footer-copy-call {
    background: #fff;
    padding: 14px 12px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
  }
  .footer-copy-call {
    align-items: center;
  }
  .call-box > span {
    font-size: 13px;
  }
}