@charset "UTF-8";

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    position: relative;
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    color: var(--color-black);
    list-style: none;
    line-height: 1.75;
    width: 100%;
    height: 100vh;
    letter-spacing: -0.02rem;
}

body::selection {
    background-color: var(--color-blue-100);
}

ul,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
figcaption {
    margin: 0;
    padding: 0;
    scroll-margin-top: 160px;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--color-black);
}

a.link-doc {
    position: relative;
    text-decoration: underline;
    font-weight: var(--font-weight-bold);
}

a.link-doc:hover {
    color: var(--color-blue-600);
}

button {
    border: 0;
    background-color: transparent;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: var(--color-blue-100);
}

/* layout */
.col-02 {
    display: flex;
    gap: 24px;
}

.col-02 > div {
    flex: 1;
}

/* 리스트 불릿 */
.text-bullet {
    position: relative;
    padding-left: 16px;
}

.text-bullet::before {
    content: "";
    position: absolute;
    top: 16px;
    left: 0;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
}

/* 이미지 영역 */
figure.img-area {
    position: relative;
    width: 100%;
    background-color: var(--color-blue-100);
    border-radius: 24px;
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

figure.img-area > img {
    max-width: 480px;
    box-shadow: 10px 10px 34px 0px rgba(0, 0, 0, 0.1);
}

figure.img-area figcaption {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: var(--font-size-body-xs);
    margin-top: 8px;
    color: var(--color-gray-700);
}

.col-02 figure.img-area > img {
    max-width: 280px;
}

/* 코드스니펫 */
.code-snippet {
    border: 1px solid var(--color-gray-200);
    font-size: 14px;
    border-radius: 24px;
    background-color: white;
}

.code-snippet .code-snippet-title {
    display: flex;
    justify-content: space-between;
    padding: 8px 8px 0 16px;
    border-radius: 4px 4px 0 0;
}

.code-snippet > pre {
    padding: 0 24px;
    margin: 0;
}

.code-snippet > pre > code {
    margin: 0;
    padding: 0;
    font-family: Consolas, "Roboto Mono", sans-serif;
}

.highlight {
    color: var(--color-blue-600);
    background-color: var(--color-blue-100);
    font-weight: var(--font-weight-bold);
    display: inline-block;
    padding: 2px 4px;
    border-radius: 2px;
}

.download {
    color: var(--color-blue-900);
    font-weight: var(--font-weight-bold);
    display: inline-block;
    padding: 2px 4px;
    border-radius: 2px;
}

/* 테이블 */
table {
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
    border-bottom: 1px solid var(--color-gray-200);
}

table > thead {
    background-color: var(--color-gray-600);
}

table > thead > tr > th {
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body-xs);
    color: var(--color-gray-100);
    padding: 4px 0;
}

table > tbody {
    background-color: var(--color-blue-100);
}

table > tbody > tr {
}

table > tbody > tr > td {
    text-align: center;
    padding: 4px 40px;
    word-break: break-word;
}

table > tbody > tr:nth-child(2n) > td {
    background-color: white;
}

/* 탭 */
.tab-area {
    position: sticky;
    top: 96px;
    z-index: 9999;
}

ul.tab {
    display: flex;
    border-radius: 8px;
    border: 2px solid var(--color-gray-200);
    padding: 4px;
    background-color: #fff;
}

ul.tab > li {
    flex: 1;
}

ul.tab > li.on > a {
    background-color: var(--color-blue-800);
    color: var(--color-gray-100);
    font-weight: var(--font-weight-semibold);
}

ul.tab > li:hover > a {
    animation: fade-in 0.3s;
    transition: 0.3s;
    border: 2px solid var(--color-black);
}

ul.tab > li > a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: var(--font-size-base);
    border-radius: 4px;
    border: 2px solid transparent;
}

.tab-content,
.tab-side-content {
    display: none;
}

.tab-content.on,
.tab-side-content.on {
    display: block;
}

/* 구분선 */
.divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-gray-300);
}

/* 헤더 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px;
    z-index: 9999;
    padding: 0 8rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    white-space: nowrap;
    border-bottom: 1px solid var(--color-gray-200);
}

/* 헤더 - 로고*/
#header .logo {
    display: flex;
}

#header .logo > a {
    display: flex;
    align-items: center;
    border-radius: 4px;
    border: 2px solid transparent;
}

#header .logo > a:active {
    border: 2px solid var(--color-black);
}

#header .logo > a > img {
    width: 100px;
}

#header .logo > a > .logo-text > p {
    font-size: var(--font-size-body-xs);
    color: var(--color-gray-600);
    margin-left: 0.8rem;
    line-height: 1.6rem;
    font-weight: var(--font-weight-regular);
}

/* 헤더 - gnb */
#header ul.gnb {
    display: flex;
}

#header ul.gnb > li > a {
    position: relative;
    display: block;
    font-weight: var(--font-weight-bold);
    height: 88px;
    line-height: 88px;
    padding: 0 24px;
}

#header ul.gnb > li.on > a {
    color: var(--color-primary);
}

#header ul.gnb > li:hover > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    animation: Scale 0.4s ease-in-out;
    transition: 0.1s;
}

#header ul.gnb > li:hover > a {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

#header .update {
    padding: 8px 16px;
}

#header .update span {
    font-size: var(--font-size-body-xs);
    font-weight: var(--font-weight-regular);
    color: var(--color-gray-800);
    line-height: 1.2;
}

#header .update span:last-child {
    font-weight: var(--font-weight-bold);
    color: var(--color-black);
}

/* 컨텐츠 */
#wrap-container {
    width: 100%;
    padding: 0 80px;
    margin-top: 88px;
    display: flex;
    flex-wrap: nowrap;
    animation: FadeIn 1s;
    animation-fill-mode: both;
}

/* 컨텐츠 메인 구성 - 왼 */
.main-left {
    position: sticky;
    top: 88px;
    width: 240px;
    min-width: 240px;
    max-height: calc(100vh - 12rem);
    padding-top: 24px;
    white-space: nowrap;
}

.main-left ul {
}

.main-left ul > li {
    text-align: center;
    border-radius: 40px;
    border: 2px solid transparent;
    background-color: transparent;
}

.main-left ul > li.on {
    background-color: var(--color-blue-100);
    cursor: pointer;
}

.main-left ul > li.on > a {
    color: var(--color-primary);
}

.main-left ul > li:hover {
    animation: fade-in 0.3s;
    transition: 0.3s;
    border: 2px solid var(--color-black);
}

.main-left ul > li:active > a {
    border: 2px solid var(--color-black);
    background-color: white;
}

.main-left ul > li:hover > a {
    transition: 0.4s ease-in-out;
    color: var(--color-primary);
}

.main-left ul > li > a {
    font-weight: var(--font-weight-bold);
    background-color: transparent;
    display: block;
    width: 100%;
    height: 100%;
    padding: 8px;
}

/* 컨텐츠 메인 구성 - 가운데 */
.main-center {
    flex: 1;
    padding: 4rem 4rem 12rem 4rem;
    min-width: 720px;
    height: 100%;
}

.main-center ul.breadcrumb {
    display: flex;
    align-items: center;
    font-size: var(--font-size-body-sm);
}

.main-center ul.breadcrumb > li {
    position: relative;
    padding: 0 8px;
}

.main-center ul.breadcrumb > li.on > a {
    color: var(--color-primary);
    font-weight: bold;
}

.main-center ul.breadcrumb > li:first-child {
    position: relative;
    width: 24px;
    height: 24px;
    background: url(../images/ic_home.png) no-repeat center center;
}

.main-center ul.breadcrumb > li:first-child > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
}

.main-center ul.breadcrumb > *:nth-child(n + 2) {
    padding-left: 24px;
}

.main-center ul.breadcrumb > *:nth-child(n + 2)::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: url(../images/ic_arrow_right.png) no-repeat center center;
    background-size: cover;
}

.main-center .step {
    scroll-margin-top: 20rem;
    /* margin: 20px 0; */
}

.main-center .step .text-area {
    scroll-margin-top: 20rem;
}

/* 컨텐츠 메인 구성 - 오른쪽 */
.main-right {
    position: sticky;
    top: 88px;
    width: 240px;
    min-width: 240px;
    max-height: calc(100vh - 12rem);
    padding-top: 24px;
}

ul.side-nav {
}

ul.side-nav > li {
    position: relative;
    padding-left: 24px;
    line-height: 3.2rem;
}

ul.side-nav > li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--color-gray-300);
}

ul.side-nav > li.on::before {
    background-color: var(--color-primary);
}

ul.side-nav > li.on > a {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

ul.side-nav > li:hover > a {
    color: var(--color-primary);
}


ul.download-side-nav {
}

ul.download-side-nav > li {
    position: relative;
    padding-left: 24px;
    line-height: 3.2rem;
}

ul.download-side-nav > li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--color-gray-300);
}

ul.download-side-nav > li.on::before {
    background-color: var(--color-primary);
}

ul.download-side-nav > li.on > a {
    color: var(--color-primary);
    font-weight: var(--font-weight-bold);
}

ul.download-side-nav > li:hover > a {
    color: var(--color-primary);
}

/* 상단 프로그래스바 */
.progress-container {
    width: 100%;
    background-color: var(--color-blue-100);
    position: fixed;
    top: 0;
    z-index: 9999;
}

.progress-bar {
    height: 4px;
    background-color: var(--color-primary);
    width: 0;
    transition: 0.15s;
}

/* overview */
.section {
    width: 100%;
}

.section-list {
    display: grid;
    width: 100%;
    gap: 24px;
    grid-template-columns: repeat(4, 1fr);
}

.section-list > .list-item {
    flex: 1;
}

.section-list > .list-item > .list-item-img {
    background-color: var(--color-blue-100);
    border-radius: 24px;
    padding: 40px 24px;
    overflow: hidden;
}

.section-list > .list-item > .list-item-img > img {
    display: block;
    margin: 0 auto;
    width: 30%;
}

.section-list > .list-item:hover {
    cursor: pointer;
}

.section-list > .list-item:hover > .list-item-img > img {
    transform: scale(1.2);
    transition: 0.3s;
}

/* Overview */
#main {
    padding: 8rem;
}

#main .section-hero-cont {
    width: 100%;
    height: 560px;
    background: url(../images/hero.png) no-repeat center bottom;
    background-size: cover;
    border-radius: 24px;
    animation: FadeIn 2s;
    animation-fill-mode: both;
}

#main .section-hero-cont + h1 {
    letter-spacing: -2px;
}

#main {
    animation: FadeIn 1s;
    animation-fill-mode: both;
}

/* 애니메이션 */

@keyframes Scale {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

@keyframes FadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
