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

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2') format('woff2');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: 'Paperozi';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2') format('woff2');
    font-weight: 900;
    font-display: swap;
}

/* 기본 설정 */
:root {
  --font-main: 'Paperlogy', sans-serif;
  --color-primary-light: #9fd725;
  --color-primary: #5ea009;
  --color-primary-dark: #133826;

  --color-text-main: #2a2a2a;
  --color-bg-dark: #1a1a1a;
    --color-white: #ffffff;
}
body {
  font-family: var(--font-main);
  overflow-x: hidden;
  background-color: #fdfbf7;
  color: var(--color-text-main);
}

/* ==============================
    공통 css
============================== */

.sec-title {
    font-size: clamp(32px, 4.5vw, 70px); 
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
    word-break: keep-all;
    color: var(--color-primary-dark);
}

.sec-desc {
    font-size: clamp(15px, 1.5vw, 24px);
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: var(--color-text-main);
    word-break: keep-all;
}

.sec-padding {
    padding: 0 clamp(20px, 6.25vw, 120px) clamp(80px, 10.4vw, 200px);
    width: 100%;
    margin: 0 auto;
}

.dn_pc {
    display: block;
}
.dn_mo {
    display: none;
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-main);
  color: var(--color-text-main);
  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 {
  overflow: hidden;
}

/* ------------------------------
    폰트
------------------------------ */
.h1,
.h2,
.h3,
.subtitle,
.h4,
.h5,
.slogan_txt {
  letter-spacing: -4px;
}
.h1 {
  font-family: var(--font-main);
  font-size: clamp(50px, 5.2vw, 80px);
  font-weight: 700;
}

.h2 {
  font-family: var(--font-main);
  font-size: clamp(40px, 4.2vw, 70px);
  font-weight: 700;
}

.h3 {
  font-family: var(--font-main);
  font-size: clamp(28px, 3vw, 50px);
  font-weight: 500;
}

.subtitle {
  font-family: var(--font-main);
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 300;
}

.h4 {
  font-family: var(--font-main);
  font-size: clamp(16px, 2vw, 32px);
  font-weight: 500;
}

.h5 {
  font-family: var(--font-main);
  font-size: clamp(20px, 2.2vw, 36px);
  font-weight: 500;
}

.pre {
  font-family: var(--font-main);
  font-size: clamp(14px, 1.5vw, 24px);
  font-weight: 400;
  line-height: 1.4;
}

.slogan_txt {
  font-family: var(--font-main);
  font-size: clamp(14px, 1.2vw, 20px);
  font-weight: 300;
}

/* ------------------------------
    공통 레이아웃
------------------------------ */
.dn_page-content section {
  width: 100%;
}
.dn_inner1 {
  padding: 0 20px;
  max-width: 1580px;
  margin: 0 auto;
}

.dn_inner2 {
  padding: 0 20px;
  max-width: 1780px;
  margin: 0 auto;
}

.dn_inner {
  margin: 0 auto;
  padding: 0 20px;
}

.dn_inner_mi {
  max-width: 1580px;
}

.dn_inner_lg {
  max-width: 1780px;
}

.dn_mo {
  display: none;
}

@media (max-width: 480px) {
  .dn_mo {
    display: block;
  }
  .dn_pc {
    display: none;
  }
}

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

/* ------------------------------
    헤더
------------------------------ */
#dn_header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: var(--color-white);
  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;
  display: block;
  width: 240px;
}

/* 네비게이션 */
.dn_gnb ul {
  display: flex;
  gap: 40px;
  font-family: "pretendard";
  font-weight: 700;
}
.dn_gnb a {
  color: var(--color-primary-dark);
  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: var(--color-primary-dark);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 32px;
}
.dn_tel a span {
  display: block;
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  font-size: 22px;
  padding: 5px 15px;
  border-radius: 40px;
}
.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: 22px;
  height: 2.5px;
  background-color: var(--color-primary-dark);
}

/* 모바일 메뉴 오버레이 */
.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(--color-primary-dark);
  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_mobile-menu .sns_wrap {
  display: flex;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

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

  --inquiry-hide-extra: clamp(60px, 12vw, 100px);
  transition: transform 0.35s ease;
  will-change: transform;
}

#dn_inquiry.is-scroll-hidden {
  transform: translateY(calc(100% + var(--inquiry-hide-extra)));
}

/* 모바일 폼 열려 있을 때는 절대 숨기지 않음 */
body.is-inquiry-open #dn_inquiry {
  transform: translateY(0);
}

.dn_inquiry-inner {
  width: calc(100% - 40px);
  max-width: 1680px;
  margin: 0 auto;
}

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

.dn_inquiry-pc {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: space-between;
  position: relative;
  height: 50px;
  width: 100%;
}

.dn_inquiry-pc .dn_tel.dn_pc {
  filter: brightness(99);
  white-space: nowrap;
  flex-shrink: 0;
}

.dn_inquiry-pc .input_wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.dn_inquiry-pc input,
.dn_inquiry-pc select {
  height: 100%;
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.inquiry_plate {
  width: clamp(260px, 23vw, 400px);
  position: absolute;
  left: 0;
  bottom: -26px;
}

.dn_inquiry-mobile {
  display: none;
}

.dn_inquiry-agree {
  font-size: 13px;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  white-space: nowrap;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.7);
}
#mobile-form-popup .dn_inquiry-agree {
  color: var(--color-text-main) !important;
}

.dn_inquiry-agree a {
  color: var(--color-white);
  margin-left: 5px;
}
#mobile-form-popup .dn_inquiry-agree a {
  color: var(--color-text-main);
}

.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(--color-primary-dark);
}

#mobile-form-popup .dn_inquiry-agree input[type="checkbox"]:checked {
  accent-color: var(--color-primary-dark);
}

.online_btn {
  height: 100%;
}

.dn_inquiry-btn {
  background-color: var(--color-white);
  color: var(--color-primary-dark);
  padding: 0 26px !important;
  cursor: pointer;
  word-break: keep-all;
  border: none !important;
  border-radius: 12px !important;
  transition: 0.2s;
  font-size: 18px;
  font-weight: 700;
}
#mobile-form-popup .dn_inquiry-btn  {
  background-color: var(--color-primary-dark) !important;
  color: var(--color-white);
}

.dn_inquiry-btn:hover {
  opacity: 0.8;
}

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

#mobile-form-popup {
  display: none;
}

#mobile-form-popup .form-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px;
  background-color: var(--color-white);
  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: var(--color-brown-text);
}

.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;
  font-size: 14px;
}

#mobile-form-popup .form-content input,
#mobile-form-popup .form-content select {
  width: 100%;
  display: block;
}

#mobile-form-popup .dn_inquiry-agree {
  flex-direction: row;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
}

#mobile-form-popup .form-content .dn_inquiry-btn {
  height: 50px;
  margin-top: 20px;
  background-color: var(--color-white);
}

/* 모바일 폼 열렸을 때 뒤쪽 페이지 스크롤 방지 */
body.is-inquiry-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  #dn_inquiry {
    background: var(--color-white);
    padding: 10px 0;
    --inquiry-hide-extra: 0px;
  }
  #dn_inquiry.is-scroll-hidden {
    transform: translateY(100%);
  }

  .dn_inquiry-inner {
    width: 100%;
  }

  .dn_inquiry-pc {
    display: none;
  }

  .dn_inquiry-mobile {
    display: block;
    text-align: center;
    width: 100%;
  }

  #open-inquiry-form {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary-dark);
    font-weight: bold;
    padding: 12px 20px;
    width: 100%;
    border: 0;
    border-radius: 0;
    font-size: 17px;
    cursor: pointer;
  }

  #mobile-form-popup {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--color-white);

    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
      transform 0.4s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  /* active 붙었을 때만 올라옴  */
  #mobile-form-popup.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  #mobile-form-popup .form-content {
    max-height: 90dvh;
    overflow-y: auto;
  }
}

/* PC 모바일 폼 강제 숨김 */
@media (min-width: 1101px) {
  .dn_inquiry-mobile,
  #mobile-form-popup {
    display: none !important;
  }

  .dn_inquiry-pc {
    display: flex;
  }
}

/* ------------------------------
    Footer
------------------------------ */
#dn_footer {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 40px 0;
  font-size: 14px;
  padding-bottom: 170px; /* 고정 가맹문의 공간 확보 */
}

.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 {
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 20px);
}
.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 .sns_wrap {
  display: flex;
  gap: 20px;
  align-items: center;
  /* margin: 10px 0 20px; */
} 
  
.dn_footer-title {
  font-weight: bold;
  font-size: 16px;
  text-align: end;
}

.dn_footer-phone {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-white);
  text-decoration: none;
}

#dn_footer .cs_area {width:320px; padding:20px; box-sizing:border-box; background: rgba(255, 255, 255, 0.2); border-radius: 14px;}
#dn_footer .cs_data{float:left; width:60%; }
#dn_footer .cs_data .cs_title{font-size:1.2em; color:#fff; }
#dn_footer .cs_data .cs_title:after{display:block; content:""; width:85%; height:1px;  margin:5px 0; background:#eee;}
#dn_footer .cs_data .cs_tel{font-size:1.5em; color:#fff; }
#dn_footer .cs_data .cs_tel a{color: #fff; font-weight: 600;}
#dn_footer .cs_info{float:left; width:40%; padding-top:5px;}
#dn_footer .cs_info span { display:block; font-size:0.85em; color:rgba(255, 255, 255, 0.8); padding:0; margin:0; height:20px; line-height:20px;}


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

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

  #dn_footer .dn_footer-right {display:none;}
}

@media (max-width: 1100px) {
  #dn_header {
    height: 60px;
  }
  .dn_header .dn_logo a img {
    width: 100px;
  }
  #dn_footer {
    padding-bottom: 80px;
  }
}
@media (max-width: 768px) {
  .dn_inner {
    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;
  }
}

/* fixed 요소 숨김/표시 애니메이션 */
#dn_header {
  transition: transform 0.35s ease;
  will-change: transform;
}

/* 헤더는 위로 사라짐 */
#dn_header.is-scroll-hidden {
  transform: translateY(-100%);
}

/* 영상 팝업 레이아웃 수정*/
.popup iframe {
    width: 100%;
}