/* 폰트 설정 */
@import url("https://webfontworld.github.io/NexonLv1Gothic/NexonLv1Gothic.css");

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 300;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Light.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 400;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Regular.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 700;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Bold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 800;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-ExtraBold.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "nanumSquareNeo";
    font-weight: 900;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot");
    src: url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/websfont/nanumSquareNeo/nanumSquareNeo-Black.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "GmarketSans";
    font-weight: 300;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot");
    src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansLight.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "GmarketSans";
    font-weight: 500;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot");
    src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansMedium.ttf") format("truetype");
    font-display: swap;
}

@font-face {
    font-family: "GmarketSans";
    font-weight: 700;
    font-style: normal;
    src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot");
    src: url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.eot?#iefix") format("embedded-opentype"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff2") format("woff2"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.woff") format("woff"), url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSansBold.ttf") format("truetype");
    font-display: swap;
}

:root {
    --fontN: "nanumSquareNeo";
    --fontG: "GmarketSans";
}

/* 여백 초기화 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* 링크 초기화 */
a {
    color: #000;
    text-decoration: none;
}

/* 목록 초기화 */
li {
    list-style: none;
}

/*가운데 영역*/
.container {
    max-width: 1300px;
    width: 96%;
    margin: 0 auto;
}

@media (max-width:800) {
    .container {
        width: 90%;
    }
}

/* 헤더 영역 */
#header {
    text-align: center;
    padding: 40px;
    border-bottom: 1px dashed #c7c7c7;
}

#header h1 {
    margin-bottom: 40px;
}

#header h1 a {
    font-family: var(--fontG);
    font-size: 4vw;
    color: #1d5f4b;
}

@media (max-width: 800px) {
    #header h1 a {
        font-size: 30px;
    }
}

#header nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#header nav ul li {
    margin: 2px;
}

#header nav ul a {
    font-family: var(--fontN);
    border: 1px solid #1d5f4b;
    padding: 10px 20px;
    display: inline-block;
    color: #1d5f4b;
    transition: all 0.3s;
}

#header nav ul li.active a {
    background-color: #1d5f4b;
    color: #fff;
}

#header nav ul li a:hover {
    background-color: #1d5f4b;
    color: white;
}

/* 메인-메뉴 */
.main__menu {
    padding: 40px 0;
    border-bottom: 1px dashed #c7c7c7;
    line-height: 2;
}

.main__menu h2 {
    font-family: var(--fontG);
    font-size: 20px;
    font-weight: 300;
    margin-bottom: 10px;
}

.main__menu ul {
    margin-bottom: 30px;
}

.main__menu ul li a {
    color: #1d5f4b;
    line-height: 1.7;
    font-family: var(--fontN);
}

.main__menu ul li a em {
    font-style: normal;
    position: relative;
}

.main__menu ul li a em:before {
    content: '';
    width: 100%;
    height: 8px;
    border-radius: 10px;
    background-color: #0242f141;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: all 0.3;
}

.main__menu ul li a:hover {
    text-decoration: underline;
    text-underline-position: under;
}

/* 메인 - 샘플 */
.main__sample {
    padding: 40px 0;
}

.main__sample .sample {
    margin-bottom: 100px;
}

.main__sample .sample h3 {
    font-size: 24px;
    font-family: var(--fontG);
    margin-bottom: 10px;
}

.main__sample .sample p {
    font-family: var(--fontN);
    margin-bottom: 10px;
    line-height: 1.5;
    color: #666;
}

.main__sample .sample .result {
    font-family: var(--fontN);
    line-height: 1.5;
    color: #666;
}

.main__sample .sample .notice {
    background-color: #f6f6f6;
    padding: 10px 15px;
    border-left: 4px solid rgb(29, 149, 255);
    margin-bottom: 10px;
}

.main__sample .sample ul {
    margin-bottom: 20px;
}

.main__sample .sample li {
    font-family: var(--fontN);
    line-height: 1.7;
    color: #666;
    padding-left: 12px;
    position: relative;
}

.main__sample .sample li::before {
    content: '';
    width: 4px;
    height: 4px;
    position: absolute;
    border-left: 4px solid rgb(29, 149, 255);
    left: 0;
    top: 10px;
}

/* 푸티 */
#footer {
    height: 400px;
}

/* scrollBtn */
#scrollBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
}

#scrollBtn:hover {
    opacity: 0.8;
}