/* ------------------------------
기본 세팅 (Reset + 폰트)
------------------------------ */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/pretendard.css");
@import url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong.css");

@font-face {
  font-family: "GH";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Light.woff2")
      format("woff2"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Light.woff")
      format("woff"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Light.otf")
      format("opentype"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Light.ttf")
      format("truetype");
}
@font-face {
  font-family: "GH";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Regular.woff2")
      format("woff2"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Regular.woff")
      format("woff"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Regular.otf")
      format("opentype"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Regular.ttf")
      format("truetype");
}
@font-face {
  font-family: "GH";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Bold.woff2")
      format("woff2"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Bold.woff")
      format("woff"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Bold.otf")
      format("opentype"),
    url("https://cdn.jsdelivr.net/gh/fonts-archive/GapyeongHanseokbong/GapyeongHanseokbong-Bold.ttf")
      format("truetype");
}

body {
  -webkit-font-smoothing: antialiased; /* macOS용 */
  -moz-osx-font-smoothing: grayscale; /* Firefox용 */
}

:root {
  --main-green: #1d472f;
  --main-red: #cc1919;
  --main-yellow: #dabb32;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
  background-color: #fff;
  word-break: keep-all;
}
ul,
li {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ------------------------------
    공통 레이아웃
------------------------------ */

.dn_page-content section {
  width: 100%;
  /* border-bottom: 1px solid #ddd;
  height: 100vh; */ /****** 임시 높이 ******/
}
.dn_inner {
    padding: 120px 0;
    max-width: 1280px;
    width: calc(100% - 80px);
    margin: 0 auto;
}

/* ------------------------------
    헤더
------------------------------ */
#dn_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    transition: background-color 0.3s ease;
}
#dn_header.dn_header-active {
    background-color: var(--main-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    /* 추가로 그림자나 다른 스타일도 여기서 */
}

.dn_header.dn_inner {
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dn_header .dn_logo a {
  font-size: 20px;
  font-weight: bold;
  color: #222;
}

/* 네비게이션 */
.dn_gnb ul {
  display: flex;
  gap: 40px;
  font-family: "GH";
  font-weight: 700;
}
.dn_gnb a {
  color: #fff;
  transition: color 0.2s;
  font-size: 18px;
  letter-spacing: -0.9px;
}
.dn_gnb.dn_pc a:hover {
  opacity: 0.8;
}

/* 전화번호 영역 */
.dn_tel a {
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "GH";
  font-weight: 700;
  font-size: 24px;
}
.dn_mobile {
    display: none;
}

.dn_btn-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.dn_btn-mobile-menu .bar {
  width: 24px;
  height: 2px;
  background-color: #fff;
}

/* 모바일 메뉴 오버레이 */
.dn_dimmed {
  display: none;
  position: fixed;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.dn_dimmed.show {
  display: block;
}

/* 모바일 메뉴 */
.dn_mobile-menu {
  position: fixed;
  top: 0;
  left: -110%;
  width: 300px;
  height: 100vh;
  background: var(--main-green);
  z-index: 999;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.dn_mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dn_mobile-menu a {
  display: block;
  color: #fff;
  font-size: 16px;
  padding: 15px 10px;
}
.dn_mobile-menu.show {
  left: 0;
}
.dn_btn-close {
  color: #fff;
  background: none;
  border: none;
  font-size: 24px;
  float: right;
  cursor: pointer;
}

/* ------------------------------
    가맹문의 고정영역
------------------------------ */
#dn_inquiry {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.dn_inquiry-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

.dn_inquiry-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.dn_inquiry-pc {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.dn_inquiry-mobile {
  display: none;
}

.dn_label-tel {
  font-weight: bold;
  font-size: 18px;
  color: var(--main-green);
  white-space: nowrap;
}

.dn_inquiry-pc input,
.dn_inquiry-pc select {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* min-width: 160px; */
  font-size: 14px;
}

.dn_inquiry-agree {
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  white-space: nowrap;
  justify-content: center;
}
.dn_inquiry-agree a {
  color: var(--main-yellow);
  margin-left: 5px;
}

.dn_inquiry-agree input[type="checkbox"],
#mobile-form-popup .dn_inquiry-agree input[type="checkbox"] {
  margin-right: 5px;
  min-width: auto;
  width: fit-content;
}
.dn_inquiry-agree input[type="checkbox"]:checked {
  accent-color: var(--main-green);
}
#mobile-form-popup .dn_inquiry-agree input[type="checkbox"]:checked {
  accent-color: var(--main-yellow);
}

.dn_inquiry-btn {
  background-color: var(--main-green);
  color: #fff;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  word-break: keep-all;
  border: none !important;
  border-radius: 0 !important;
  transition: 0.2s;
}
.dn_inquiry-btn:hover {
  background-color: #276642;
}

#open-inquiry-form {
  display: none;
}

#mobile-form-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background-color: var(--main-green);
  transition: bottom 0.4s ease;
  z-index: 9999;
}

#mobile-form-popup.active {
  bottom: 0;
}

#mobile-form-popup .form-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
}

#close-inquiry-form {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #fff;
}

.dn_inquiry-field {
  display: flex;
  height: 50px;
  line-height: 50px;
}

.dn_inquiry-field dt {
  font-size: 14px;
  width: 30%;
  text-align: center;
  border: 1px solid #121212;
  border-right: 0;
  background-color: #fff;
}

.dn_inquiry-field .required {
  color: #ff5555;
  margin-left: 4px;
}

.dn_inquiry-field dd {
  margin: 0;
  width: 70%;
  height: 100%;
  border: 1px solid #121212;
}
#mobile-form-popup .form-content input,
#mobile-form-popup .form-content select,
#mobile-form-popup .form-content .dn_inquiry-btn {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
  padding: 10px;
}
#mobile-form-popup .form-content input,
#mobile-form-popup .form-content select {
  width: 100%;
  display: block;
}
#mobile-form-popup .dn_inquiry-agree {
  color: #fff;
}
#mobile-form-popup .form-content .dn_inquiry-btn {
  height: 50px;
  margin-top: 20px;
  background-color: var(--main-yellow);
}

/* 1100px 이하 모바일 모드 */
@media (max-width: 1100px) {
  .dn_inquiry-pc {
    display: none;
  }
  .dn_inquiry-mobile {
    display: block;
    text-align: center;
    width: 100%;
  }
  #dn_inquiry {
    background: var(--main-green);
  }
  #open-inquiry-form {
    display: inline-block;
    background: var(--main-green);
    color: #fff;
    font-weight: bold;
    padding: 12px 20px;
    width: 100%;
    border: 0;
    border-radius: 0;
    font-size: 17px;
  }
}

/* ------------------------------
    Footer
------------------------------ */
#dn_footer {
  background-color: #1f1f1f;
  color: #fff;
  padding: 40px 0;
  font-size: 14px;
  padding-bottom: 100px; /* 고정 가맹문의 공간 확보 */
}

.dn_footer.dn_inner {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}

.dn_footer-logo img {
  width: 160px;
  margin-bottom: 25px;
}

.dn_footer-left p {
  margin: 4px 0;
  line-height: 1.75;
}

.dn_footer-copy {
  font-size: 12px;
  margin-top: 10px;
  color: #bbb;
}
.dn_footer-copy.mobile {
  display: none;
}

.dn_footer-right {
  display: flex;
  flex-direction: column;
  align-items: end;
}
.dn_footer-right .sns_wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: 10px 0 20px;
}

.dn_footer-title {
  font-weight: bold;
  font-size: 16px;
}

.dn_footer-phone {
  font-size: 20px;
  font-weight: bold;
  color: #f2cb61;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .dn_inner {
    width: calc(100% - 40px) !important;
  }
  .dn_logo a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .dn_pc {
    display: none;
  }
  .dn_btn-mobile-menu {
    display: flex;
  }
  .dn_mobile {
    display: block;
  }
}

@media (max-width: 1100px) {
    #dn_header {
        height: 80px;
    }
    .dn_header .dn_logo a img {
        width: 120px;
    }
}
@media (max-width: 768px) {
    /* #dn_header {
        height: 80px;
    }
    .dn_header .dn_logo a img {
        width: 120px;
    } */
    
  .dn_inner {
    /* padding: 80px 0; */
    width: calc(100% - 30px) !important;
  }
  .dn_footer.dn_inner {
    flex-direction: column;
    row-gap: 20px;
  }
  .dn_footer-logo img {
    width: 120px;
  }
  .dn_footer-left p:not(.dn_footer-copy) {
    font-size: 14px;
  }
  /* .dn_footer-right {
        display: none;
    } */
  .dn_footer-copy.pc {
    display: none;
  }
  .dn_footer-copy.mobile {
    display: block;
    text-align: start;
  }
  .dn_footer-right {
    align-items: start;
  }
}
