/* RESET.CSS:3 */
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-size: 100%;
	vertical-align: baseline;
    box-sizing: border-box;
    /* FONT! */
    font-family: "Pretendard Variable", 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;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul, menu {
	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;
}

/* VAR */
:root {
    --m_color: #0C685B;
    --s_color_1: #415156;
    --rel_padding: 190px;
    --header_height: 100px;
}
.font_mj{
    font-family: 'Nanum Myeongjo', serif;
}
/* rel */
.rel_wrap{
    padding: 0 var(--rel_padding);
    width: 100%;
}
.fp-enabled .rel_wrap{
    height: 100%;
}
/* header */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header_height);
    z-index: 9;
    background-color: transparent;
    transition: all .3s ease-in-out;
}
.header.main_header{
    opacity: 0;
    animation: header_ani 1s ease-in-out 3s forwards;
    transform: translateY(-20px);
}
.header:not(.main_header).scroll{
    background-color: #fff;
}
@keyframes header_ani{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.header .rel_wrap{
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header_logo_wrap{
    width: 260px;
    height: 100%;
    z-index: 2;
}
.header_logo_wrap a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.header_logo_wrap img{
    max-width: 100%;
}
.header_menu_wrap{
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
}
.header_menu_wrap menu{
    height: 100%;
    gap: 4%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header_menu_wrap menu > li{
    height: 100%;
    display: flex;
    align-items: center;
}
.header_menu_wrap menu > li > a{
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000;
    text-decoration: none;
}
.header_textbox{
    z-index: 1;
    display: flex;
    align-items: center;
    border-radius: calc(1px / 0);
    border: 1px solid var(--m_color);
    padding: 6px 15px;
    text-decoration: none;
}
.header_textbox p{
    font-size: 16px;
    font-weight: 700;
    color: var(--m_color);
    display: flex;
    align-items: center;
}
.header_textbox p img{
    margin-right: 5px;
}
.header_textbox p span{
    margin-right: 5px;
}
body{
    background-color: #F3F3F3;
}
.small_txt{
    font-size: 16px;
    opacity: .7;
}
a.btn{
    text-decoration: none;
    width: fit-content;
    min-width: 210px;
    padding: 18px 20px;
    background-color: var(--m_color);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}
a.btn.arrow{
    background-image: url(../img/btn_arrow.png);
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 4px 8px;
}
.footer{
    background-color: #333;
    padding: 50px 0;
}
.footer_top{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.footer_logo_wrap{
    width: 240px;
}
.footer_logo_wrap img{
    max-width: 100%;
}
.footer_logo_ys_wrap{
    display: flex;
    gap: 20px;
    align-items: center;
}
.footer_logo_ys_wrap dd{
    font-size: 14px;
    color: #fff;
}
.footer_logo_ys_wrap dt{
    width: 137px;
}
.footer_logo_ys_wrap dt img{
    max-width: 100%;
}
.footer_bottom{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.footer_bottom_alt{
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}
.footer_bottom_copyright{
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}
.footer_bottom_copyright strong{
    color: #fff;
    font-weight: 700;
}
.footer_bottom_copyright a{
    color: #bbb;
}
.footer_bottom_copyright a:hover{
    color: #fff;
}
.menu_btn{
    position: fixed;
    top: calc(var(--header_height) / 2);
    right: var(--rel_padding);
    transform: translateY(-50%);
    z-index: 20;
}
.menu_btn button{
    width: 30px;
    height: 30px;
    border: 1px solid var(--m_color);
    border-radius: calc(1px / 0);
    background-color: unset;
    position: relative;
}
.menu_btn button span{
    display: block;
    width: 50%;
    height: 1px;
    background-color: var(--m_color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all .3s ease-in-out;
}
.menu_btn button span:nth-child(1){
    top: 25%;
}
.menu_btn button span:nth-child(2){
    bottom: 50%;
}
.menu_btn button span:nth-child(3){
    bottom: 25%;
}
body.menu_open .menu_btn button span:nth-child(1){
    transform: translateX(-50%) rotate(-45deg);
    top: 50%;
}
body.menu_open .menu_btn button span:nth-child(3){
    transform: translateX(-50%) rotate(45deg);
    top: 50%;
}
body.menu_open .menu_btn button span:nth-child(2){
    opacity: 0%;
}
.full_menu{
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    left: 0;
    top: 0;
    position: fixed;
    z-index: 8;
    transform: translateX(100vw);
    transition: all 1s ease-in-out;
}
body.menu_open .full_menu{
    transform: translateX(0vw);
}
.full_menu menu{
    padding-top: calc(var(--header_height) + 20px);
}
.full_menu menu > li{
    width: 100%;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    font-weight: 700;
}
.full_menu menu > li a{
    text-decoration: none;
    padding: 20px 10px;
    color: #000;
    display: block;
    width: 100%;
} 
.menu_btn{
    display: none;
    opacity: 100%;
}
.fp-enabled .menu_btn{
    animation: header_btn_ani 1s ease-in-out 3s forwards;
    transform: translateY(calc(-50% - 20px));
    opacity: 0%;
}
.rel_wrap > iframe{
    width: 100%;
}
@keyframes header_btn_ani{
    to{
        opacity: 1;
        transform: translateY(-50%);
    }
}
/* 반응형 */
@media (max-width: 1600px) {
    :root {
        --rel_padding: 50px;
    }
}
@media (max-width: 1400px) {
    .menu_btn{
        display: block;
    }
    .header_menu_wrap menu{
        display: none;
    }
    :root {
        --rel_padding: 18px;
        --header_height: 80px;
    }
    .header_logo_wrap{
        width: 220px;
    }
    .header_textbox{
        margin-right: calc(var(--rel_padding) + 20px);
        padding: unset;
        width: 30px;
        height: 30px;
        justify-content: center;
    }
    .header_textbox p{
        white-space: nowrap;
        font-size: 15px;
    }
    .header_textbox p span{
        display: none;
    }
    .header_textbox p img{
        margin-right: unset;
    }
    .footer_top{
        flex-direction: column;
    }
    .footer_bottom{
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }
    .footer_top_right_wrap{
        margin-top: 20px;
    }
}

@media (max-width: 768px) {

    a.btn{
    text-decoration: none;
    width: fit-content;
    min-width: 160px;
    padding: 8px 20px;
    background-color: var(--m_color);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}
a.btn.arrow{
    background-image: url(../img/btn_arrow.png);
    background-position: right 20px center;
    background-repeat: no-repeat;
    background-size: 4px 8px;
}

}


@media (max-width:  420px) {

    a.btn {
        text-decoration: none;
        width: fit-content;
        min-width: 135px;
        padding: 5px 18px;
        background-color: var(--m_color);
        color: #fff;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 auto;
        background-image: none !important;
    }

}


