/* ===== 공통 리셋/기본 스타일 ===== */
body,
html {
  width: 100%;
}
html {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
textarea,
p,
blockquote,
th,
td,
input,
select,
textarea,
button {
  margin: 0;
  padding: 0;
}
body,
th,
td,
input,
select,
textarea,
button {
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    sans-serif;
  font-size: 0.625rem;
  line-height: 1.5;
  color: #606060;
  letter-spacing: -0.02em;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}
dl,
ul,
ol,
menu,
li {
  list-style: none;
}
audio:not([controls]),
[hidden],
template {
  display: none;
  height: 0;
}
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}
a:active,
a:hover {
  outline: 0;
  text-decoration: none;
}
abbr[title] {
  border-bottom: 1px dotted;
}
dfn {
  font-style: italic;
}
mark {
  background: #ff0;
  color: #000;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5rem;
}
sub {
  bottom: -0.25rem;
}
img {
  border: 0;
  font-size: 0;
  vertical-align: top;
}
svg:not(:root) {
  overflow: hidden;
}
figure {
  margin: 1rem;
}
hr {
  box-sizing: content-box;
  height: 0;
  display: none;
}
pre {
  overflow: auto;
}
code,
kbd,
pre,
samp {
  font-family: monospace;
  font-size: 1rem;
}
button {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}
button[disabled],
html input[disabled] {
  cursor: default;
}
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
input {
  line-height: normal;
}
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
fieldset {
  border: 0 none;
}
textarea {
  overflow: auto;
}
optgroup {
  font-weight: bold;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td,
th {
  padding: 0;
}
.blind,
legend,
caption {
  width: 0;
  height: 0;
  position: absolute;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  z-index: -1;
  visibility: hidden;
}

/* 기존에 있던 스타일들 */
.m-popup-banner-container {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1001;
  left: 0;
  top: 0;
}

.m-popup-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.45);
  font-size: 0;
}

.m-popup-banner-content {
  width: 100%;
  max-width: 220px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  border-radius: 30px;
  border: 2px solid #cbcbcb;
  background: #ebebeb;
  padding: 30px;
  box-shadow: 0 0 22px 4px rgba(0, 0, 0, 0.2);
}

.m-popup-banner-content > img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
  margin: auto;
}

.m-popup-banner-content > a {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: block;
}

.m-popup-banner-content > a > img {
  width: 100%;
  height: 100%;
  display: block;
}

.m-popup-banner-content > p {
  font-size: 20px;
  font-weight: 500;
  line-height: 24px;
  color: #353535;
  text-align: center;
  margin-top: 20px;
  letter-spacing: -0.796px;
}

.m-popup-banner-content > p > strong {
  font-weight: 900;
}

.m-popup-banner-content > span {
  font-size: 10px;
  font-weight: 400;
  line-height: 14px;
  color: #909090;
  text-align: center;
  margin-top: 6px;
  display: block;
  letter-spacing: -0.49px;
}

/* modal */
.m-popup-banner-container {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1001;
  left: 0;
  top: 0;
}

.m-popup-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 0;
}

.m-popup-banner-content {
  width: 75%;
  max-width: 320px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  border-radius: 10px;
  background: #fff;
  padding: 37px 25px 28px;
  box-shadow: 0 0 22px 4px rgba(0, 0, 0, 0.25);
}

.m-popup-banner-content > a {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 37px;
  height: 37px;
  display: block;
}

.m-popup-banner-content > a > img {
  width: 100%;
  height: 100%;
  display: block;
}

.m-popup-banner-content > .title {
  color: #047a44;
  font-weight: 700;
  font-size: 19px;
  line-height: 25px;
}

.m-popup-banner-content > .content {
  font-size: 13px;
  margin-top: 21px;
}
.m-popup-banner-content > .content p:not(:first-child) {
  margin-top: 18px;
}

.m-popup-banner-content > .footer {
  background: #f9f9f9;
  padding: 14px 16px 12px;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  line-height: 16px;
  letter-spacing: -0.24px;
  border-radius: 10px;
}

/*gnb*/
header {
  position: relative;
  width: 100%;
  /* height: 88px; */
  background-color: #fff;
  z-index: 100;
}
header a {
  display: block;
}
header .logo {
  width: 100%;
  padding: 0 20px;
  border-bottom: 1px solid #eaeaea;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
}
header .logo .btn-logo {
  width: 41.9%;
  max-width: 241px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .logo .btn-home {
  width: 4.7%;
  max-width: 20px;
  height: auto;
  aspect-ratio: 15 / 17;
  display: flex;
  justify-content: center;
  align-items: center;
}
header .logo a img {
  width: 100%;
}
header .nav,
.swiper .nav {
  display: flex;
  width: 100%;
  height: 40px;
  background-color: #fff;
  box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.1);
  padding: 0 20px;
  box-sizing: border-box;
}
header .nav a,
.swiper .nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 25%;
  height: 100%;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0 !important;
  padding: 2px 0;
  box-sizing: border-box;
  border-bottom: 2px solid #fff;
}
header .nav a.active,
.swiper .nav a.active,
header .nav a:hover,
.swiper .nav a:hover {
  border-bottom: 2px solid #047a44;
  color: #047a44;
  font-weight: 600;
  box-sizing: border-box;
}
.swiper .nav {
  padding: 0;
  height: 42px;
}
.swiper .nav a {
  width: 33.3%;
  font-size: 14px;
}

/* ======= 리팩토링 1차 ======= */
#wrap {
  width: 100%;
  position: relative;
  min-height: 100%;
  overflow: hidden;
}
#wrap img {
  width: 100%;
  height: auto;
}

#footer {
  letter-spacing: 0;
  text-align: center;
  font-style: normal;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto,
    "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR",
    "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    sans-serif;
  background-color: #747474;
  margin: 0;
  padding: 24px 0 168px;
  font-size: 9px;
  line-height: 12px;
  color: rgba(255, 255, 255, 0.8);
}

#section-1 {
  background-color: #f2f7f0;
  padding: 56px 20px 46px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
#section-1 .img-tit {
  padding: 0;
  box-sizing: border-box;
}

#section-2 {
  background-color: #f9f9f9;
  padding: 46px 20px 51px;
}
#section-2 .img-tit {
  box-sizing: border-box;
}
#section-2 .img-coupon {
  margin: 34px 0 17px;
}

#section-3 {
  background-color: #f9f9f9;
  color: #606060;
  padding: 0px 20px 60px 20px;
  font-size: 14px;
  letter-spacing: 0;
  line-height: 22px;
}

#section-3 p:nth-child(1) {
  text-align: justify;
  padding-bottom: 8px;
}
#section-3 p:nth-child(2) {
  padding-top: 5px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
}

#section-4 {
  padding: 46px 20px;
}

#section-4 .img-tit {
  padding: 0 22% 35px;
}

#section-4 .content-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#section-4 button {
  appearance: none;
  border: 0;
  background: transparent;
  margin: 2px 20% 0;
}

.float-wrap {
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 999;
  user-select: none;
  pointer-events: none;
}

.float-wrap .float-banner {
  width: 24% !important;
  max-width: 200px;
  float: left;
  user-select: auto;
  pointer-events: auto;
}

.float-wrap .float-btn-img {
  user-select: auto;
  pointer-events: auto;
}

.float-btn-top {
  position: absolute;
  bottom: 43%;
  right: 0;
  width: 16% !important;
  height: auto;
  user-select: auto;
  pointer-events: auto;
}

.float-btn {
  width: 100%;
  height: auto;
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

.swiper-pagination {
  width: auto !important;
  left: 7% !important;
  bottom: calc(42px + 9%) !important;
}
.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background-color: #606060;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  width: 28px;
  border-radius: 5px;
  background-color: #ff950f;
}

.m-popup-container {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1001;
  left: 0;
  top: 0;
}
.m-popup-content {
  width: 85%;
  max-width: 800px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 22px 4px rgba(0, 0, 0, 0.25);
}
.m-popup-content img {
  width: 100%;
  height: auto;
}
.m-popup-content .btn {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 15%;
}
.m-popup-content .btn-2 {
  left: 50%;
}
#popupBanner_2602 .m-popup-content {
  /*max-width: 560px;*/
  padding: 0;
}
#popupBanner_2602 .m-popup-content img {
  max-width: 100%;
}
#popupBanner_2602 .m-popup-content a {
  position: absolute;
  right: 3%;
  left: auto;
  top: 3%;
  width: 12%;
  height: 15%;
  display: block;
}