@font-face {
    font-family: 'SBAggroB';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SBAggroB.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SBAggroM';
    src: url('../fonts/SBAggroM.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard';
    src: url('https://fastly.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Pretendard_woff2';
    src: url('../fonts/Pretendard-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    /* height: 100%; */
    width: 100%;
    height: 100%;
    font-family: 'Pretendard', 'Pretendard_woff2';
    background-color: #fff;
    color: #000;
}

a {
    text-decoration: none;
    color: #000;
}

li {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
li,
dt,
dd,
input,
textarea,
button {
    font-family: 'Pretendard', 'Pretendard_woff2';
}

input:focus {
    outline: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

@font-face {
  font-family: '20db'; /*font 이름*/
  font-style: 'normal'; /* font 스타일 정의 (기울임, 일반) */
  font-weight: 400; /* font 굵기 정의 */
  src: url('../fonts/20db.otf'); 
}

.max-1200 {
    max-width: 1200px;
    margin: 0 auto;
}

.max-1080 {
    max-width: 1080px;
    margin: 0 auto;
}

.max-824 {
    max-width: 824px;
    margin: 0 auto;
}

.container {
    padding: 70px 0 180px;
}


/* header */

header {
    width: 100%;
}

header .nav-top {
    background-color: #fff;
    width: 100%;
    padding: 10px 50px;
    box-sizing: border-box;
}

header .nav-top .nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .nav-top .nav-wrap .sns-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

header .nav-top .nav-wrap .sns-wrap a {
    display: inline-block;
}

header .nav-top .nav-wrap .sns-wrap a img {
    width: 25px;
}

header .nav-top .nav-wrap .top-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

header .nav-top .nav-wrap .top-right a {
    font-size: 14px;
    color: #2E4339;
}

header .gnb {
    background-color: #FFEC93;
    padding: 20px 50px;
    box-sizing: border-box;
}

header .gnb .gnb-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .gnb .gnb-wrap .gnb-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

header .gnb .gnb-wrap .gnb-menu a {
    color: #000000CC;
    font-size: 14px;
    font-weight: 600;
}

header .gnb .gnb-wrap .gnb-menu .line {
    width: 1px;
    height: 15px;
    background-color: #000000CC;
}

header .gnb .gnb-wrap .logo h1 {
    color: #fff;
}

header .gnb .gnb-wrap .logo {
    width: 135px;
    cursor: pointer;
}

header .gnb .gnb-wrap .logo img {
    width: 100%;
}

header .gnb.gnb--sub {
  background-color: #fff;
}
header .gnb.gnb--sub .gnb-wrap a {
  color: #000000CC;
  font-weight: 600;
  font-size: 20px;
}

div.contents {
    width: 100%;
    height: 100%;
    /* position: relative; */
}


/* footer */

footer {
    background-color: #B21D23;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 50px 0;
    color: #fff;
}
footer .logo {
    width: 200px;
}
footer .logo img {
    width: 100%;
}
footer .footer_contents p {
    margin: 5px;
}

footer .footer-top {
    background-color: #CECECE;
    padding: 10px 0;
}

footer .footer-top .footer-top--info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

footer .footer-top .footer-top--info .line {
    height: 16px;
    width: 1px;
    background-color: #000;
}

footer .footer-top .footer-top--info a {
    font-size: 16px;
    display: inline-block;
}

footer .footer-content {
  padding: 10px 50px 30px;
}

footer .footer-content h3 {
    font-size: 14px;
    margin-bottom: 15px;
}

footer .footer-content p {
    font-size: 13px;
    line-height: 16px;
}

footer .footer-content .sns-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding-bottom: 15px;
}
footer .footer-content .sns-wrap a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #bcbcbc;
  font-size: 14px;
}
footer .footer-content .sns-wrap a img {
  width: 25px;
}


/* section.sub-banner */
section.sub-banner {
  background-image: url('../images/sub-banner-sample.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

section.sub-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(107, 92, 18, 0.33);
}

section.sub-banner h2 {
  font-size: 60px;
  color: #fff;
  position: relative;
  z-index: 1;
}




/* modal */

.modal_wrap {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
}

.modal_wrap.active {
    display: block;
}

.modal_wrap .modal_dim {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    background: rgba(0, 0, 0, .5);
}

.modal_wrap .modal_cnt {
    position: relative;
    max-width: 900px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 100%;
    margin: 0 auto;
    ;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
    -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, .5);
    border-radius: 5px;
}

.modal_wrap .modal_cnt h3 {
  padding: 20px;
  background-color: #FFEC93;
  border-radius: 5px 5px 0 0;
}

.modal_wrap .modal-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 30px;
}

.modal_wrap .modal-content .selected-img {
  width: 40%;
}

.modal_wrap .modal-content .selected-img img {
  width: 100%;
}

.modal_wrap .modal-content p {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

.modal_wrap .modal-content .modal-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 50px;
}

.modal_wrap .modal_btns {
  margin: 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.modal_wrap .modal_btns a {
  display: inline-block;
  padding: 20px 55px;
  font-weight: 400;
  font-size: 16px;
  border: 1px solid #C4C4C4;
}

.modal_wrap .modal_btns a.modal_btn1 {
  color: #fff;
  background-color: #484848;
}

.modal_wrap .modal_cnt .close_btn {
    position: absolute;
    top: 0;
    right: -50px;
    z-index: 50;
    display: inline-block;
    width: 50px;
    height: 50px;
    background: url('./images/btn_colse.png') no-repeat 0 0;
    background-size: 100% 100%;
}

.modal_wrap .modal_cnt .close_btn span {
    color: #fff;
    font-size: 55px;
}

.modal_wrap .modal_cnt .modal_header {
    padding-bottom: 5px;
    border-bottom: 1px solid #ddd;
}

.modal_wrap .modal_cnt .modal_body {
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    position: relative;
    /* padding: 80px 30px 50px; */
    box-sizing: border-box;
}

.fake_sjwidth {
    overflow: scroll;
    position: absolute;
    top: -99999px;
    width: 60px;
    height: 60px;
}

#LoginAlert .modal_cnt {
    max-width: 600px;
}

#LoginAlert .modal_body {
    text-align: center;
}

#LoginAlert .modal_body img {
    display: block;
    margin: 0 auto;
    width: 75px;
    height: 75px;
}

#LoginAlert .modal_body h2 {
    color: #2E4339;
    font-size: 40px;
}

#LoginAlert .modal_body p {
    color: #00000080;
    font-size: 24px;
    margin: 20px 0;
}

#LoginAlert .modal_body a {
    display: block;
    background: #2E4339;
    color: #fff;
    border-radius: 15px;
    width: 300px;
    margin: 0 auto;
    padding: 10px 0;
    text-align: center;
    font-size: 22px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
}

#LoginAlert .modal_body a.btn-signup {
    margin-top: 14px;
    background: #F9F6F2;
    color: #2E4339;
    border: 1px solid rgba(234, 224, 212, 0.9);
    box-sizing: border-box;
    border-radius: 15px;
    margin-bottom: 60px;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 4;
    top: 0;
    right: 0;
    background-color: #B21D23;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 50px;
}

.sidenav a {
    padding: 12px 0;
    margin: 10px 0;
    box-sizing: border-box;
    text-decoration: none;
    font-size: 28px;
    font-weight: 600;
    text-align: center;
    color: #fff;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #ffffff;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
    padding: 0;
}
.sidenav .mypage-dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidenav .mypage-menu {
  display: none;
  background-color: #f1f1f1;
}
.sidenav .mypage-menu a {
  border-bottom: 1px solid #c2c2c2;
}

.open-sidenav {
    display: none;
}

.sidenav .login-suggestion {
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    padding: 15px 0;
}

.sidenav .login-suggestion h3 {
    font-size: 16px;
    margin: 15px auto 30px;
    text-align: center;
}

.sidenav .login-suggestion .btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sidenav .login-suggestion .btn-group a {
    display: inline-block;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    background-color: #4C7561;
    width: 80px;
    padding: 4px 0;
    text-align: center;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.sidenav .login-suggestion .btn-group a:last-child {
    background-color: #2E4339;
}

@media all and (max-height:700px) {
  .sidenav a {
    padding: 7px 0;
    font-size: 13px;
  }
  .sidenav a .meterial-symbols-outlined {
    font-size: 16px;
  }
  .sidenav .login-suggestion h3 {
    font-size: 14px;
    margin: 5px auto 10px;
  }
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }
    .sidenav a {
        font-size: 18px;
    }
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px 4px rgba(0, 0, 0, 0.1);
}


/* pagination */
#paging .pagination {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  padding: 0;
}
#paging .pagination .page-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#paging .pagination .page-item.active {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #2E4339;
  color: #2E4339;
  font-weight: 700;
}


/* 반응형 */

@media all and (max-width: 900px) {
    header .nav-top {
        display: none;
    }
    header .gnb {
        background-color: #fff;
        color: #2E4339;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.1);
    }
    header .gnb .mobile-call {
        display: inline-block;
        width: 25px;
    }
    header .gnb .mobile-call img {
        width: 100%;
    }
    header .gnb .gnb-wrap .gnb-menu {
        display: none;
    }
    header .gnb .open-sidenav {
        display: inline-block;
        font-size: 30px;
        cursor: pointer;
        color: #2E4339;
        font-weight: 700;
    }
    /* footer {
        display: none;
    }
    .bottom-nav {
        display: block;
    } */
}

@media all and (max-width: 768px) {
    .modal_wrap .modal_cnt {
        width: 80%;
    }
    #LoginAlert .modal_body h2 {
        font-size: 28px;
    }
    #LoginAlert .modal_body p {
        font-size: 20px;
    }
    #LoginAlert .modal_body a {
        font-size: 18px;
    }
}

@media all and (max-width: 450px) {
    header .gnb {
        padding: 12px 15px;
    }
    header .gnb .mobile-call {
        width: 21px;
    }
    header .gnb .gnb-wrap .logo {
        width: 120px;
    }
    header .gnb .open-sidenav {
        font-size: 24px;
    }
    .container {
        padding: 10px 0 180px;
    }
    .modal_wrap .modal_cnt {
        width: 90%;
    }
    #LoginAlert .modal_body h2 {
        font-size: 22px;
    }
    #LoginAlert .modal_body p {
        font-size: 18px;
    }
    #LoginAlert .modal_body a {
        font-size: 16px;
    }
    #LoginAlert .modal_body img {
        width: 50px;
        height: 50px;
    }
    .bottom-nav .wrap {
        max-width: 320px;
    }

    footer .footer-top .footer-top--info {
      gap: 5px;
    }
    footer .footer-content {
      padding: 15px 20px 40px;
    }
    footer .footer-top .footer-top--info a {
      font-size: 10px;
    }
    footer .footer-top .footer-top--info .line {
      height: 8px;
    }
    footer .footer-content h3 {
      margin-bottom: 15px;
    }
    footer .footer-content .sns-wrap {
      gap: 10px;
    }
    footer .footer-content .sns-wrap a {
      font-size: 11px;
    }
}