/* Gmarket Sans */
@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;
}
@font-face {
  font-family: "GmarketSansLight";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "Gmarket Sans";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansBold.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

/* Paperlogy */
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-1Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-2ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-3Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-4Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-5Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-6SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-7Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-8ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: 'Paperlogy';
  src: url('./Paperlogy-9Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

/* Mapo 애민*/
@font-face {
  font-family: 'MapoAgape';
  src: url('./MapoAgape.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* 신라문화 */
@font-face {
    font-family: 'Shilla_Culture(B)';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2206-02@1.0/Shilla_CultureB-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* css 드래그 이벤트 차단 */
.disableDrag {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.grecaptcha-badge{
    visibility: hidden;
}

section {
    background-size: cover !important;
    background-position: center center !important;
}

/* header */
#header {
    width: 100%;
    display: flex;
    height: 70px;
    box-sizing: border-box;
    padding: 0px 16px;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 45;
}

.logo {
    width: 120px;
    position: absolute;
    left: 30px;
    cursor: pointer;
}

#header nav {
    overflow: hidden;
    margin: 0;
    height: 100%;
}

#header nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

#header nav>ul>li {
    display: flex;
    width: 120px;
    justify-content: center;
    align-items: center;
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
    cursor: pointer;
}

#header nav>ul>li span {
    box-sizing: border-box;
    padding: 8px 20px;
    background: transparent;
    border-radius: 100px;
    transition: 0.2s;
}

#header nav>ul>li:hover, .tap span {
    font-weight: 600;
}

#header nav>ul>li:hover span, .tap span {
    background: #C51725 !important;
}

.header-div {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    right: 40px;
}

.mo-menu-open {
    display: none;
    cursor: pointer;
    background: transparent;
}

.mo-menu-open:hover {
    background: rgba(255, 255, 255, 0.10);
}

.call {
    display: flex;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    gap: 2px;
    color: #FFF;
    text-align: right;
    font-size: 24px;
    font-weight: 700;
    line-height: 125%; /* 30px */
    letter-spacing: -0.6px;
    transition: 0.2s;
}

.call svg {
    display: none;
}

.call:hover {
    opacity: 0.8;
}

.mo-menu .call {
    font-size: 24px;
    font-weight: 700;
    line-height: 125%;
    letter-spacing: -0.6px;
}

.mo-menu {
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(6px);
    position: fixed;
    left: 0;
    z-index: 101;
}

.mo-menu-top {
    height: 50px;
    box-sizing: border-box;
    padding: 0px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mo-menu-top .logo {
    position: static;
}

.mo-menu-bottom {
    width: 100%;
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 32px;
    background: rgba(10, 10, 10, 0.90);
    backdrop-filter: blur(6px);
}

.menu-close {
    display: flex;
    background: transparent;
    cursor: pointer;
}

.mo-menu nav {
    width: 100%;
    height: calc(100% - 62px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mo-menu nav>ul>li {
    width: 100%;
    height: 70px;
    color: #FFF;
    text-align: center;
    font-size: 18px;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.45px;
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.mo-menu nav>ul>li span {
    border-radius: 100px;
    padding: 8px 20px;
    transition: 0.2s;
}

.mo-menu nav>ul>li:hover, .mo-menu .tap {
    font-weight: 600;
}

.mo-menu nav>ul>li:hover span, .mo-menu .tap span {
    background: #C51725;
}


/* footer */
footer {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.20);
    background: #D9D2BB;
    display: flex !important;
    padding: 60px 0 100px;
    align-items: center;
    justify-content: center;
    position: relative;
}

.footer-big-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1300px;
    width: 100%;
    box-sizing: border-box;
    padding: 0px 16px;
    justify-content: center;
    align-items: flex-start;
}

.footer-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.footer-logo {
    width: 86px;
}

.footer-container>.footer-logo {
    display: none;
}

.footer-wrapper {
    display: flex;
    gap: 56px;
    align-items: flex-start;
}

.footer-wrap {
    display: flex;
    align-items: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

.footer-div {
    box-sizing: border-box;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    color: #4B2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: 130%; 
    letter-spacing: -0.4px;
    word-break: keep-all;
}

.footer-div.copyright {
    margin-top: 26px;
}

.footer-contact {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    color: #4B2C2C;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
}

.up-btn {
    position: absolute;
    top: -35px;
    right: 40px;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    border: 1px solid #231815;
    background: #4B2C2C;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.10);
    cursor: pointer;
    z-index: 5;
    transition: 0.2s;
}

.up-btn:hover {
    background: #231815;
}


/* 하단 고정 문의 */
#floating-container {
    max-width: 1300px;
    height: 65px;
    width: 100%;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    z-index: 45;
    box-sizing: border-box;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    border-radius: 12px 12px 0 0;
    border-top: 1px solid #DDD;
    border-right: 1px solid #DDD;
    border-left: 1px solid #DDD;
    background: #FFF;
}

.floating-form {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.floating-num {
    white-space: nowrap;
    color: #C51725;
    text-align: right;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 125%; /* 25px */
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.floating-num p {
    display: flex;
    align-items: center;
}

.floating-num p span {
    color: #FFF;
    text-align: right;
    font-family: 'MapoAgape';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%; /* 22.5px */
    letter-spacing: -0.45px;
    border-radius: 8px;
    background: #C51725;
    display: inline-flex;
    box-sizing: border-box;
    padding: 6px 10px;
    justify-content: center;
    align-items: center;
    margin-right: -1px;
}

.input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.input-wrap input[type="text"], .floating-mo-form .floating-mo-wrap input[type="text"] {
    border-radius: 4px;
    border: 1px solid rgba(85, 85, 85, 0.20);
    background: rgba(255, 255, 255, 0.80);
    display: flex;
    width: 200px;
    box-sizing: border-box;
    padding: 8px 10px;
    align-items: center;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
}

.input-wrap input[type="text"]:focus, .floating-mo-form .floating-mo-wrap input[type="text"]:focus {
    border: 1px solid rgba(85, 85, 85, 0.50);
}

.input-wrap input[type="text"]::placeholder, .floating-mo-form .floating-mo-wrap input[type="text"]::placeholder {
    color: rgba(51, 51, 51, 0.50);
    font-size: 16px;
    font-weight: 400;
    line-height: 24px; /* 150% */
    letter-spacing: -0.4px;
}

.floating-form-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.floating-agree-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

.floating-agree-wrap .round-checkbox {
    width: 25px;
    height: 25px;
    border: none;
    border-radius: 50px;
    appearance: none;
    position: relative;
    cursor: pointer;
    background: #FFF;
    border: 1px solid rgba(85, 85, 85, 0.20);
}

.floating-agree-wrap .round-checkbox:checked::before {
    font-size: 100%;
    color: #fff;
    position: relative;
}

.floating-agree-wrap .round-checkbox:checked {
    background-image: url("../img/check.png");
    background-size: 15px !important;
    background-position: center center !important;
    background-color: #333;
    background-repeat: no-repeat;
    border: none;
}

.floating-agree-wrap .agree {
    color: #333;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: normal;
    letter-spacing: -0.28px !important;
    cursor: pointer;
}

.floating-agree-wrap .agree-open {
    font-weight: 600;
}

.f-btn {
    display: flex;
    width: 150px;
    height: 42px;
    box-sizing: border-box;
    padding: 0px 40px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #C51725;
    color: #FFF;
    font-family: MapoAgape;
    font-size: 20px;
    font-weight: 400;
    line-height: 130%; /* 26px */
    letter-spacing: -0.5px;
    border: none;
    transition: 0.2s;
}

.f-btn:hover {
    background: #A50007;
}

.rotate-180 {
    transform: rotate(180deg);
    transition: transform 0.4s ease-in-out;
}

/* 모바일 고정 폼 */
#floating-mo-container {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px 12px 0 0;
    background: #FFF;
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 45;
}

.floating-mo-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.floating-logo {
    width: 90px;
}

.floating-mo-form .floating-mo-div {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.floating-mo-form .floating-mo-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
}

.floating-mo-form .floating-mo-wrap input[type="text"], .floating-mo-form .floating-mo-wrap .f-btn {
    width: calc(25% - 3px);
}


/* 문의폼 이동 고정 버튼 */
#go-contact {
    height: fit-content;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 45;
    display: flex;
    box-sizing: border-box;
    padding-right: 12px;
    justify-content: center;
    align-items: center;
    gap: 5px;
    border-radius: 200px;
    background: rgba(255, 255, 255, 0.90);
    overflow: hidden;
    color: #333;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    line-height: 125%; /* 17.5px */
    letter-spacing: -0.35px;
    white-space: nowrap;
    cursor: pointer;
}

#go-contact:hover {
    background: #FFF;
}


/* 개인정보처리방침 */
.agree-modal {
    position: fixed;
    top: 2.5vh;
    width: 1080px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    cursor: pointer;
    z-index: 60;
    box-sizing: border-box;
    padding: 0 48px;
    padding-top: 60px !important;
    padding-bottom: 20px !important;
    justify-content: initial !important;
    height: 95vh;
    gap: 20px !important;
    display: none;
}

.agree-close {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    justify-content: end;
    cursor: pointer;
}

.agree-close > svg {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.80);
    padding: 6.4px 6.4px 5.6px 5.6px;
}

.agree-close>svg:hover {
    background: #000;
    transition: 0.3s;
}

.agree-modal>.title {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.p24 {
    color: #111;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 34px; /* 141.667% */
    letter-spacing: -0.6px;
}

.p40 {
    color:  #111;
    font-size: 40px;
    font-style: normal;
    font-weight: 400;
    line-height: 52px; /* 130% */
    letter-spacing: -1px;
}

.content-div {
    margin-top: 20px;
    height: 81%;
    overflow: hidden;
}

.agree-modal>.content-div>.content {
    height: 100%;
    overflow: scroll;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.4px;
    color: #505050;
    padding-bottom: 20px;
}

.agree-logo {
    width: 150px;
}

.modal-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.3;
    z-index: 50;
}

.normal {
    font-weight: 400 !important;
}

.bold {
    font-weight: 700 !important;
}

.semibold {
    font-weight: 600 !important;
}

.heavy {
    font-weight: 900 !important;
}

.primary {
    color: #C51725 !important;
}

.black {
    color: #231815 !important;
}

.o {
    color: #F0832C !important;
}

.w {
    color: #FFF !important;
}

.sub {
    color: #505050 !important;
}

.y {
    color: #FFDC6A !important;
}

.beige {
    color: #D9D2BB !important;
}

/* 제목 + 부제목 + 서브 텍스트 wrap */
.tit-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 5;
}

.arch-txt {
    width: 180px;
    z-index: 5;
}

/* 제목 + 부제목 div */
.tit-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 5;
}

.st-tit {
    color: #4B2C2C;
    text-align: center;
    font-family: 'MapoAgape';
    font-size: 52px;
    font-weight: 400;
    line-height: 130%; /* 67.6px */
    letter-spacing: -1.3px;
    position: relative;
    z-index: 5;
}

.st-sub-tit {
    color: #4B2C2C;
    text-align: center;
    font-size: 28px;
    font-weight: 500;
    line-height: 140%; /* 39.2px */
    letter-spacing: -0.7px;
    position: relative;
    z-index: 5;
}

.justify-start {
    justify-content: flex-start !important;
}

.justify-center {
    justify-content: center !important;
}

.justify-end {
    justify-content: flex-end !important;
}

.align-start {
    align-items: flex-start !important;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/* 1280px */
.br-1280 {
    display: none;
}

/* 900px */
.mi-br {
    display: none;
}

/* 768px */
.ta-br {
    display: none;
}

/* 650px */
.mo-br {
    display: none;
}

/* 480px */
.xs-br {
    display: none;
}

/* 400px */
.xxs-br {
    display: none;
}

/* 370px */
.xxxs-br {
    display: none;
}

@media(min-width: 901px) {
    #floating-mo-container {
        display: none !important;
    }
}

@media(min-width: 1025px) {
    .mo-menu {
        display: none !important;
    }
}

@media(max-width: 1280px) {
    #header {
        height: 60px;
    }
    .logo {
        width: 100px;
        left: 16px;
    }
    .header-div {
        right: 16px;
    }
    .call {
        font-size: 20px;
        letter-spacing: -0.5px;
    }
    .floating-num {
        font-size: 18px;
        letter-spacing: -0.45px;
    }
    .floating-num p span {
        font-size: 16px;
        letter-spacing: -0.4px;
    }
    .input-wrap input[type="text"] {
        width: 160px;
    }
    .f-btn {
        width: auto;
        font-size: 18px;
        letter-spacing: -0.45px;
        padding: 0 32px;
    }
    .arch-txt {
        width: 160px;
    }
    .st-tit {
        font-size: 48px;
        letter-spacing: -1.2px;
    }
    .st-sub-tit {
        font-size: 24px;
        letter-spacing: -0.6px;
    }
    .br-1280 {
        display: block;
    }
    .none-1280 {
        display: none;
    }
}

@media(max-width: 1200px) {
    .agree-modal {
        width: 100%;
        left: 0;
        top: 0;
        min-height: 100vh;
        height: 100%;
        transform: none;
    }
}

@media(max-width: 1100px) {
    .footer-wrapper, .footer-container {
        flex-direction: column;
        gap: 24px;
    }
    .input-wrap {
        gap: 4px;
    }
    .floating-num p {
        display: none;
    }
    .floating-form-wrap {
        gap: 12px;
    }
    .floating-contact input[type="text"] {
        width: 140px;
    }
}

@media(max-width: 1024px) {
    #header {
        height: 50px;
        justify-content: space-between;
    }
    .logo {
        width: 93px;
    }
    #header nav, #header .call span {
        display: none;
    }
    .mo-menu-open, .call svg {
        display: block;
    }
    .footer-container {
        flex-direction: column-reverse;
    }
    .footer-container>.footer-logo {
        display: block;
    }
    .footer-wrapper>.footer-logo {
        display: none;
    }
    .footer-div.copyright {
        margin-top: 0;
    }
    .floating-form {
        gap: 20px;
    }
    .floating-num {
        display: none;
    }
    .floating-form-wrap, .input-wrap {
        flex: 1 0 0;
    }
    .input-wrap input[type="text"] {
        width: calc(33.3% - 2.66px);
    }
}

@media(max-width: 900px) {
    footer {
        padding: 40px 0 120px;
    }
    #floating-container {
        display: none !important;
    }
    .f-btn {
        padding: 0;
    }
    .tit-wrap {
        gap: 24px;
    }
    .tit-div {
        gap: 8px;
    }
    .arch-txt {
        width: 140px;
    }
    .st-tit {
        font-size: 40px;
        letter-spacing: -1px;
    }
    .st-sub-tit {
        font-size: 20px;
        letter-spacing: -0.5px;
    }
    .mi-br {
        display: block;
    }
}

@media(max-width: 768px) {
    .agree-modal {
        padding: 0 20px;
    }
    .ta-br {
        display: block;
    }
}

@media(max-width: 650px) {
    .footer-logo {
        width: 57px;
    }
    .footer-div {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-div .mt-5 {
        display: inline-block;
        margin-top: 5px;
    }
    .up-btn {
        width: 50px;
        height: 50px;
        top: -25px;
        right: 20px;
    }
    .up-btn svg {
        width: 28.571px;
        height: 28.571px;
    }
    .agree-modal {
        gap: 40px !important;
    }
    .agree-modal>.title>.p24 {
        font-size: 20px;
        line-height: 28px; /* 140% */
        letter-spacing: -0.5px;
    }
    .agree-modal>.title>.p40 {
        font-size: 28px;
        line-height: 38px; /* 135.714% */
        letter-spacing: -0.7px;
    }
    .agree-logo {
        width: 120px;
    }
    .tit-div {
        gap: 6px;
    }
    .arch-txt {
        width: 120px;
    }
    .st-tit {
        font-size: 32px;
        letter-spacing: -0.8px;
    }
    .st-sub-tit {
        font-size: 18px;
        letter-spacing: -0.45px;
    }
    .mo-br {
        display: block;
    }
    .mo-no-br {
        display: none;
    }
}

@media(max-width: 480px) {
    #floating-mo-container {
        padding: 12px 10px;
    }
    .floating-mo-form .floating-mo-wrap input[type="text"] {
        padding: 8px 6px;
        font-size: 14px;
        letter-spacing: -0.35px;
    }
    .floating-mo-form .floating-mo-wrap input[type="text"]::placeholder {
        font-size: 14px;
        letter-spacing: -0.35px;
        border-radius: 4px;
    }
    .f-btn {
        font-size: 16px;
        letter-spacing: -0.4px;
        height: 42px;
        border-radius: 4px;
    }
    .arch-txt {
        width: 108px;
    }
    .st-tit {
        font-size: 28px;
        letter-spacing: -0.7px;
    }
    .xs-br {
        display: block;
    }
    .xs-no-br {
        display: none;
    }
}

@media(max-width: 400px) {
    .xxs-br {
        display: block;
    }
}

@media(max-width: 370px) {
    .xxxs-br {
        display: block;
    } 
    .xxxs-no-br {
        display: none;
    }
    .st-sub-tit {
        font-size: 16px;
        letter-spacing: -0.4px;
    }
}

@media(max-width: 330px) {
    .st-tit {
        font-size: 24px;
        letter-spacing: -0.6px;
    }
}
