@charset "utf-8";
@font-face {
    font-family: 'SUITE-Regular';
    src: url(../font/SUIT-Variable.ttf) format(truetype);
    font-style: normal;
}
@font-face {
  font-family: "Playfair Display";
  src: url(../font/PlayfairDisplay-VariableFont_wght.ttf) format(truetype);
  font-style: 'Regualr';
}
:root {
    --bg: #FDF7F0;
    --main: #1C2A44;
    --txt: #5E5E5E;
    --acc: #FF6B6B;
    --gold: #F2C94C;
    --mint: #D1E8DF;
}

/* 초기화 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
ul {
    list-style: none;
}
a {
    text-decoration: none;
    color: #333;
}
img {
    vertical-align: top;
}

body {
    background-color: var(--bg);
    font-family: 'SUITE-Regular';
    position: relative;
    height: 100vh;
}
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background-color: #E3E3E3;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--main);
    border-radius: 10px;
}
.container {
    max-width: 1200px;
    margin: 0 auto; 
}
/* typo */
h3 {
    word-break: keep-all;
}
p {
    word-break: keep-all;
}

/* ==== 모바일 헤더 영역 ==== */
.mb-header {
    background-color: var(--bg);
    height: 70px;
    width: 100%;
    position: fixed;
    left: 0;
    top:0;
    z-index: 101;
    display: none;
}
/* 로고 */
.mb-logo {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 101;
    cursor: pointer;
    display: none;
    width: 74px;
    height: 40px;
}
.mb-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 모바일 버튼 영역 */
.mb-header .mb-btn {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 102;
    cursor: pointer;
    display: none;
}
.mb-header .mb-btn .line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--txt);
    border-radius: 5px;
    margin: 5px;
    transition: 1s;

}
.mb-header .mb-btn.on .line-top {
    transform: rotate(45deg) translateY(11.5px);
}
.mb-header .mb-btn.on .line-center {
    opacity: 0;
}
.mb-header .mb-btn.on .line-bottom {
    width: 30px;
    transform: rotate(-45deg) translateY(-11.5px);
}

/* 모바일 메뉴 영역 */
.mb-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--bg);
    z-index: 100;
    padding: 50px;
    transition: 1s;
}
.mb-nav.on {
    right: 0;
}

.mb-nav .mb-menu {
    margin-top: 50px;
    font-size: 1.2em;
}
.mb-nav .mb-menu > li {
    color: var(--main);
    opacity: 60%;
    margin: 50px 0;
    font-weight: 800;
    transition: all .3s;
}
.mb-nav .mb-menu > li:hover {
    opacity: 80%;
}
.mb-nav .mb-menu li.on {
    opacity: 100%;
}
.mb-nav .mb-menu > li a {
    transition: all .3s;
}
.mb-nav .mb-menu > li:hover a, .mb-nav .mb-menu > li.on a {
    color: var(--acc);
}
.mb-nav .mb-menu > li .mb-submenu {
    padding-left: 20px;
}
.mb-nav .mb-menu > li .mb-submenu li {
    font-size: 0.8em;
    color: var(--txt);
    opacity: 60%;
    margin: 10px 0;
    transition: all .3s;
}
.mb-nav .mb-menu > li .mb-submenu li:hover {
    color: var(--acc);
    opacity: 100%;
}
.mb-nav .mb-menu > li .mb-submenu li a {}


/* 마스크 영역 */
.window-mask {
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    z-index: 99;
    background-color: rgba(0,0,0,0.6);
    display: none;
}
/* ==== 헤더 영역 ==== */
/* 네비 */
.header {}
.header .container {
    position: relative;
    padding-top: 60px;
}
.header nav {
    position: absolute;
    right: 0;
    top: 0;
    /* width: 20%; */
    z-index: 50;
}
.header nav > ul {
    display: flex;
    gap: 35px;
    line-height: 60px;
    text-align: right;
    position: relative;
}
.header nav > ul > li {}
.header nav > ul > li > a {
    font-weight: 800;
    font-size: 1.3em;
    color: var(--txt);
    opacity: 0.6;
}
.header nav > ul > li:hover > a {
    opacity: 0.8;
}
.header nav > ul > li > a.on {
    opacity: 1;
}
.header nav > ul > li .submenu {
    background-color: #3A5568;
    text-align: center;
    line-height: 1em;
    font-size: 1em;
    width: 33%;
    display: none;
    padding: 10px;
    /* border-radius: 0 0 20px 20px; */
    border-radius:20px;
    overflow: hidden;
    position: absolute;
    top: 60px;
    right: -10px;
}
.header nav > ul > li .submenu li {
    padding: 5px 0;
}
.header nav > ul > li .submenu li a {
    color: #fdfdfc;
    opacity: 0.8;
}
.header nav > ul > li .submenu li:hover a {
    opacity: 1;
}

/* 섹션 영역 */
.content .title {
    font-family: "Playfair Display";
    color: var(--main);
    font-weight: 800;
    font-size: 4em
}
.content .title::after {
    content: '';
    display: block;
    background-color: var(--main);
    width: 100%;
    height: 1px;
}

/* 푸터 영역 */
.footer {
    padding: 0 0 20px;
}
.footer p {
    color: #aaa;
    font-size: 0.8em;
    text-align: right;
}

/* ========== 반응형 ========== */
@media screen and (max-width : 1240px){
    .header .container {
        width: 96%;
    }
    .header nav > ul > li > a {
        font-weight: 800;
        font-size: 1.1em;
        color: var(--txt);
        opacity: 0.6;
    }
    .container {
        width: 96%;
    }
    .footer {
        right: 2%;
    }
}
@media screen and (max-width : 960px){
    /* ==== 모바일 헤더 영역 ==== */
    .mb-header {
        display: block;
    }
    /* 로고 */
    .mb-header .mb-logo {
        display: block;
    }
    .mb-header .mb-btn {
        display: block;
    }
    .header nav {
        display: none;
    }
}
@media screen and (max-width : 640px){
    .mb-nav .mb-menu > li {
        margin: 30px 0;
    }
    /* 섹션 영역 */
    .content .title {
        font-size: 3.5em
    }
}
@media screen and (max-width : 480px){
    /* 섹션 영역 */
    .content .title {
        font-weight: 700;
        font-size: 3em
    }
}