@font-face {
    font-family: 'Mbc1961GLM';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2304-01@1.0/MBC1961GulimM.woff2') format('woff2');
    font-weight: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Ria';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/2410-1@1.0/RiaSans-ExtraBold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}
@font-face {
    font-family: 'Ria';
    src: url('../font/RiaSans-ExtraBold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Ria';
    src: url('../font/RiaSans-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'Ria';
    src: url('../font/RiaSans-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'MuseumCulturalFoundationClassic';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_twelve@1.0/국립박물관문화재단클래식B.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}



@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* css reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	vertical-align: baseline;
    color: inherit;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}
:focus {outline: none;}


sub, sup {font-size: 1em;}


/*초기 설정*/
html {
   --main_color: #813838;
   font-size: 10px;
   font-family: "Pretendard Variable";
   line-height: 1.4;
   color: #333;
   /* scroll-behavior: smooth; */
}

* {
	word-break: keep-all;
    box-sizing: border-box;
}


b {font-weight: 600;}

/* 텍스트 컬러 및 폰트 class  */
.ff_pret {font-family: "Pretendard Variable" !important;}
.ff_mbc {font-family: 'Mbc1961GLM' !important;}


/*공통css*/
#wrap {
    width: 100%; 
    max-width: 1200px; 
    margin: 0 auto;
}

.flx1 {
    display: flex; 
    flex-flow: row wrap;
}
.flx2 {
    display: flex;
    flex-flow: column wrap;
}

img {
    max-width: 100%;
    object-fit: cover;
}

.inner {
    padding-inline: 11rem;
}

.show-768 {
    display: none;
}
.show-500 {
    display: none;
}
.mt-10 {
    margin-top: 1rem !important;
}
.mt-20 {
    margin-top: 2rem !important;
}
.mt-30 {
    margin-top: 3rem !important;
}
.mt-40 {
    margin-top: 4rem !important;
}
.mt-60 {
    margin-top: 6rem !important;
}
.mt-80 {
    margin-top: 8rem !important;
}

.link {
    color: var(--point_color);
    text-decoration: underline;
}
.link:hover {
    text-decoration: underline;
}

@media (max-width:1200px) {
    html {
        font-size: 9px;
    }
    .inner {
        padding: 0 4%;
    }
    .hide-1200 {
        display: none;
    }
}

@media (max-width:992px) {
    html {
        font-size: 8px;
    }
    .hide-992 {
        display: none;
    }
}

@media (max-width:768px) {
    html {
        font-size: 7px;
    }
    .show-768 {
        display: block;
    }
    .hide-768 {
        display: none;
    }
}

@media (max-width:500px) {
    .show-500 {
        display: block;
    }
    .hide-500 {
        display: none;
    }
}


/* 헤더 */
header {
    position: fixed;
    top:0;
    left: 50%;
    width: min(1200px,100%);
    transform: translateX(-50%);
    z-index: 100;
}
.header-wrap {
    height: max(65px,8rem);
    background: #ee8797;
    align-items: center;
    justify-content: space-between;
    padding-inline: 4rem;
    position: relative;
    z-index: 120;
}
header .logo {
    font-size: max(20px,2.9rem);
    font-family: 'Mbc1961GLM';
    color: #fff;
}
header .btn {
    align-items: center;
    gap: 2.3rem;
}
header .home-btn {
    display: block;
    width: 4rem;
}

header .menu-btn {
    width: 3.6rem;
    cursor: pointer;
}
@media (max-width:1200px) {
    .header-wrap {
        padding-inline: 4%;
    }
}
@media (max-width:500px) {
    header .btn {
        gap: 1.5rem;
    }
    header .home-btn {
        width: 3.6rem;
    }
    header .menu-btn {
        width: 3.6rem;
    }
}


/* 메뉴 */
.menu {
    position: fixed;
    top: max(65px,8rem);
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.90);
    padding: 1rem 4% 0;
    transform: translateY(-100%);
    transition: all 0.3s;
    z-index: 99;
    color: #fff;
}
.menu-list > div {
    padding-block: 1.5rem;
    display: flex;
    flex-flow: row wrap;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #fff;
    transition: all 0.2s;
    cursor: pointer;
}
.menu-list > div.on {
    border-bottom: 1px solid transparent;
}
.menu-list > div .icon {
    width: 10rem;
    height: 6rem;
}
.menu-list > div .icon img {
    max-height: 100%;
    object-fit: contain;
}
.menu-list > div h2 {
    font-size: 3.2rem;
    font-family: 'Mbc1961GLM';
    width: calc(100% - 14rem);
}
.menu-list > div::after {
    content: '';
    position: absolute;
    width: 3.3rem;
    height: 1.6rem;
    background: url('../images/common/icon_menu_arr.png') no-repeat center center / contain;
    right: 0;
}
.menu-list ul {
    padding:2rem 4rem;
    background: rgb(51 51 51 / 90%);
}
.menu-list ul a { 
    font-size: 2.2rem;
    display: block;
    margin-block: 2rem;
}
.menu-list ul li.active a {
    font-weight: 600;
    text-decoration: underline;
}

body.open .menu {
    transform: translateY(0);
}

@media (max-width:768px) {
    .menu-list > div .icon {
        width: 8rem;
        height: 5rem;
    }
    .menu-list > div h2 {
        font-size: 2.8rem;
        width: calc(100% - 12rem);
    }
    .menu-list ul {
        padding:1rem 3rem;
    }
}


/* 탑버튼 */
.top_btn {
    position: fixed;
    bottom: 5%;
    right: calc(45% - 600px);
    z-index: 100;
    width: 55px;
    height:55px;
    border-radius: 50%;
    border: 2px solid var(--top_btn);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.top_btn span {
    display: block;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--top_btn);
    border-right: 2px solid var(--top_btn);
    transform: rotate(-45deg);
    margin-bottom: -10px;
}
.top_btn:hover {
    background: var(--top_btn);
}
.top_btn:hover span {
    border-color: #fff;
}
@media (max-width:1400px) {
    .top_btn {
        right: calc(51% - 600px);
    }
}
@media (max-width:1200px) {
    .top_btn {
        right: 4%;
    }
}
@media (max-width:768px) {
    .top_btn {
        display: none;
    }
}


/* 푸터 */
.footer-wrap {
    background: #333;
    padding: 6.5rem 10rem;
    gap: 2rem 10rem;
}
.footer-wrap p {
    font-size: 2rem;
    color: #aeaeae;
    line-height: 1.8;
}
@media (max-width:1200px) {
    .footer-wrap {
        gap: 4rem;
        padding-inline: 4%;
    }
    .footer-wrap .logo {
        max-width: 20% ;
    }
}
@media (max-width:768px) {
    .footer-wrap {
        justify-content: center;
        padding-block: 5rem;
        gap: 2rem;
    }
    .footer-wrap .logo {
        max-width: 50% ;
    }
    .footer-wrap p {
        width: 100%;
        text-align: center;
    }
}
@media (max-width:500px) {
    
}