/* @import url('//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css'); */

@charset "utf-8";

@font-face {
	font-family:"Spoqa Han Sans";
	font-style:normal;
	font-weight:400;
	src:url("../fonts/SpoqaHanSansNeo-Regular.woff2") format("woff2"),
		url("../fonts/SpoqaHanSansNeo-Regular.woff") format("woff"),
		url("../fonts/SpoqaHanSansNeo-Regular.ttf") format("truetype");
}

@font-face {
	font-family:"Spoqa Han Sans";
	font-style:normal;
	font-weight:100;
	src:url("../fonts/SpoqaHanSansNeo-Light.woff2") format("woff2"),
		url("../fonts/SpoqaHanSansNeo-Light.woff") format("woff"),
		url("../fonts/SpoqaHanSansNeo-Light.ttf") format("truetype");
}

@font-face {
	font-family:"Spoqa Han Sans";
	font-style:normal;
	font-weight:700;
	src:url("../fonts/SpoqaHanSansNeo-Bold.woff2") format("woff2"),
		url("../fonts/SpoqaHanSansNeo-Bold.woff") format("woff"),
		url("../fonts/SpoqaHanSansNeo-Bold.ttf") format("truetype");
}

/* reset */

* {
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

li {
    list-style: none;
}

caption {
    font-size: 0;
    color: white;
}

/* default */

body.landing {
    font-family: 'Spoqa Han Sans', "맑은 고딕", "돋움", dotum, sans-serif;
    color: #333;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    font-size: 20px;
}

body.landing > div {
    padding: 4vh 2vw;
}

/*  */
/* title-area */

.landing > .title-area {
    background: url(../images/allinone/img-bg2.jpg) no-repeat;
    background-color: #000000;
    background-size: 140%;
    background-position: center 25vh;
    color: #fff;
    height: calc(100vh);
    position: fixed;
    left: 0;
    top: 0;
    width: calc(50vw);
    isolation: isolate;
}

.landing > .title-area::after {
    content: '';
    position: absolute;
    background: #141E36;
    z-index: -1;
    inset: 0;
    opacity: 0.4;
}

.landing > .title-area > img {
    width: 130px;
}

.landing > .title-area .title {
    padding: 40px 0;
    margin-bottom: 40px;
}

.landing > .title-area .title p {
    font-size: 32px;
    font-weight: 100;
    border-bottom: 1px solid #fff;
    margin-bottom: 10px;
    width: fit-content;
}

.landing > .title-area .title h1 {
    font-size: 50px;
    line-height: 64px;
    color: #fff;
}

.landing > .title-area .title h1 strong {
    color: #f9c47e;
}

/* navigation */
nav.landing-nav {
    display: flex;
    justify-content: right;
    z-index: 99;
}

nav.landing-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

nav.landing-nav li {
    display: flex;
}

nav.landing-nav a {
    width: 100%;
    border-radius: 8px;
    padding: 14px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.6);
    text-align: right;
    font-size: 24px;
    font-weight: 700;
}

nav.landing-nav a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px solid #fff;
    color: #fff;
}

nav.landing-nav a.active {
    background-color: #fff;
    color: #1d76eb;
    border: none;
    position: relative;
}

nav.landing-nav a.active::after {
    content: '';
    position: absolute;
    right: -10px;
    top: calc(50% - 10px);
    width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-left: 10px solid #fff;
	border-bottom: 10px solid transparent;
    transition: .3s;
}

nav.landing-nav a.apply {
    color: #fff;
    background-color: #1d76eb;
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 10px;
    border: none;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.3);
}

nav.landing-nav a.apply:hover {
    box-shadow: 0px 0px 0px;
    background-color: #0062e1;
}

nav.landing-nav a.apply span {
    font-size: 34px;
    color: #f9c47e;
}

.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 700,
  'GRAD' 0,
  'opsz' 24
}

/* footer */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(0,0,0, 0.35);
    width: calc(100% - 4vw);
    padding: 20px 2vw;
}

.footer > p {
    font-size: 20px;
}

.footer > p a {
    text-decoration: underline;
    color: #7eb4f9;
}

.info-box {
    margin-bottom: 20px;
}

.info-box p {
    margin-bottom: 10px;
    font-size: 18px;
}

.info-box p span {
    color: #7eb4f9;
}

.info-box li {
    font-weight: 100;
    list-style: disc;
    margin-left: 20px;
}

/*  */
/* content-area */

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-area {
    margin-left: 50vw;
    width: calc(50vw);
}

.subtitle {
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.subtitle p {
    font-size: 26px;
    color: #1d76eb;
    font-weight: 700;
}

.subtitle h2 {
    font-size: 32px;
    font-weight: 700;
}

.content small {
    display: block;
    color: #666;
}

.content-section .warning {
    color: #ff0000;
}

.content-section .emphasis {
    color: #1d76eb;
}

.content-section .emphasis strong {
    color:#141E36;
    background: linear-gradient(to bottom, transparent 0% 50%, #ffeace 50% 100%);
}

.content-section .large {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

dl.landing-list {
    display: grid;
    grid-template-columns: 120px auto;
    gap: 10px 20px;
}

.grid-span {
    grid-column: 1 / 3;
}

.landing-list dt {
    background-color:#141E36;
    color: #fff;
    padding: 4px 8px;
    border-radius: 40px;
    height: fit-content;
    text-align: center;
    font-size: 15px;
}

.landing-list dd {
    padding: 2px 4px;
}

.landing-list table {
    width: 100%;
    margin: 10px 0;
    border-collapse: collapse;
    font-size: 14px;
    text-align: center;
}

.landing-list thead {
    background-color: #ededed;
}

.landing-list td, th {
    padding: 8px;
    border-bottom: 1px solid #dfdfdf;
}

.landing-list td.left {
    text-align: left;
}

.landing-list dd a {
    text-decoration: underline;
}

.landing-list .process {
    display: grid;
    grid-template-columns: 110px 4fr 110px;
    gap: 20px;
    text-align: center;
    margin: 20px 0;
}

.landing-list .process > li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.landing-list .process > li::after {
    content: '';
    position: absolute;
    right: -15px;
    top: 30%;
    width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-left: 10px solid #666;
	border-bottom: 10px solid transparent;
}

.landing-list .process > li:last-of-type::after {
    display: none;
}

.landing-list .process-box {
    border: 1px solid #1d76eb;
    color: #1d76eb;
    height: 110px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.landing-list .process-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #fff;
}

.landing-list .process-details li {
    background-color: #1d76eb;
    width: 120px;
    height: 100px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
}

.landing-list .process-details li:nth-of-type(2),
.landing-list .process-details li:nth-of-type(3) {
    background-color: #2D51D0;
}

.landing-list .process-details li:nth-of-type(4) {
    background-color: #014099;
}

.landing-list .process-details strong {
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #fff;
    padding: 8px;
    margin-bottom: 4px;
}

/* btn 참여신청 */

.landing .btn-apply {
    display: flex;
    gap: 10px;
    text-align: center;
    margin: 40px auto;
    font-size: 24px;
    line-height: 40px;
    font-weight: 700;
    background-color: #1d76eb;
    color: #fff;
    width: fit-content;
    padding: 10px 60px 8px 70px;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.2);
    transition: .3s;
}

.landing .btn-apply:hover {
    box-shadow: 0px 0px 0px;
    background-color: #0062e1;
}

.landing .btn-apply span {
    font-size: 34px;
    color: #f9c47e;
}

/* btn 과정 설명회 신청 */
.landing .btn-info-session {
    display: flex;
    gap: 10px;
    text-align: center;
    margin: 40px auto;
    font-size: 24px;
    line-height: 40px;
    font-weight: 700;
    background-color: #fff;
    color: #1d76eb;
    border: 2px solid #1d76eb;
    width: fit-content;
    padding: 8px 60px 6px 70px;
    border-radius: 8px;
    box-shadow: 0px 5px 15px rgba(29, 118, 235, 0.2);
    transition: .3s;
}

.landing .btn-info-session:hover {
    background-color: #1d76eb;
    color: #fff;
    box-shadow: 0px 5px 15px rgba(29, 118, 235, 0.4);
}

/* 버튼 컨테이너 스타일 조정 */
.landing .content > div:last-child {
    justify-content: center;
    align-items: center;
}

.landing .btn-info-session,
.landing .btn-apply {
    margin: 20px 10px;
}

/* FAQ */

.faq-shortcut {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 30px;
    counter-reset: num;
}

.faq-shortcut li {
    display: flex;
}

.faq-shortcut a {
    padding: 4px 12px;
    border-radius: 40px;
    background-color:#141E36;
    color: #fff;
    font-size: 15px;
    transition: .2s;
}

.faq-shortcut a:hover {
    background-color: #1d76eb;
}

.faq-shortcut a::before {
    counter-increment: num;
    content: counter(num) ". ";
}

.faq-content {
    counter-reset: contentNum;
}

.faq-content li {
    border-bottom: 1px dashed #cfcfcf;
    margin-bottom: 20px;
}

.faq-content h3 {
    margin-bottom: 20px;
}

.faq-content h3::before {
    counter-increment: contentNum;
    content: counter(contentNum) ". ";
}

.faq-content p {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    margin-left: 1.1em;
    text-indent: -1.1em;
}

.faq-content span {
    color: #1d76eb;
}


.ui-datepicker {
    padding: 24px 20px 4px !important;
}

/* media query: 0527 추가 */
.faq-content p, .faq-content span {
    overflow: visible;
}

.btn-container {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
/* media query: 0527 추가 */

@media (max-width: 1400px) {
    .btn-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .landing .btn-info-session {
        margin: 0;
    }

    .landing .btn-info-session,
    .landing .btn-apply {
        margin-top: 1vw;
        font-size: calc(15px + 0.5vw);
        padding: 8px 30px 6px 30px;
    }
}

@media (max-width: 1200px) {
    body.landing {
        display: block;
        font-size: 16px;
    }

    body.landing > div {
        padding: 40px 20px;
    }

    .landing > .title-area {
        width: 100%;
        height: auto;
        position: relative;
        background-size: 100%;
        background-position: 20vw 200px;
        padding-bottom: 40px; /* footer 공간 제거로 인해 패딩 줄임 */
    }

    .landing > .title-area::after {
        opacity: 0.6;
    }

    .landing > .title-area .title {
        padding: 40px 0 40px 0; /* 하단 패딩 줄임 */
        margin-bottom: 0;
    }

    .landing > .title-area .title p {
        font-size: 22px;
    }

    .landing > .title-area .title h1 {
        font-size: 35px;
        line-height: 44px;
    }

    nav.landing-nav {
        position: static;
        margin-top: 30px; /* 마진 줄임 */
        width: 100%;
    }

    nav.landing-nav ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        width: 100%;
    }

    nav.landing-nav a {
        font-size: 16px;
        padding: 12px;
        text-align: left;
    }

    nav.landing-nav a.active::after {
        display: none;
    }

    nav.landing-nav a.apply {
        justify-content: left;
        grid-column: 1 / 3;
    }

    /* 모바일에서 원래 footer 위치 숨김 */
    .landing > .title-area .footer {
        display: none;
    }

    /* 모바일에서 body 맨 아래로 이동된 footer 스타일 */
    body > .footer.moved-to-bottom {
        position: static !important;
        padding: 15px !important;
        background-color: #f8f9fa !important;
        border-radius: 8px !important;
        margin: 30px 20px 20px 20px !important;
        width: calc(100% - 40px) !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }

    body > .footer.moved-to-bottom img {
        width: 80px !important;
        height: auto !important;
    }

    .content-area {
        margin-left: 0;
        width: 100%;
        padding-bottom: 20px;
    }

    .info-box p {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .info-box small {
        font-size: 13px;
    }

    .subtitle p {
        font-size: 18px;
    }

    .subtitle h2 {
        font-size: 26px;
    }

    dl.landing-list {
        display: block;
        gap: 10px 20px;
    }

    .landing-list dt {
        margin-bottom: 10px;
    }

    .landing-list dd {
        margin-bottom: 20px;
        overflow: hidden;
    }

    .landing-list .scroll-box {
        overflow: scroll;
    }

    table.learning-content {
        min-width: 600px;
    }

}


@media (max-width: 420px) {
    body > .footer.moved-to-bottom {
        display: block;
    }
    .material-symbols-rounded {
        display: none;
    }
}