@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gothic+A1:wght@100;200;300;400;500;600;700;800;900&display=swap');
/*@import url('//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css');*/
@font-face {
    font-family: 'GyeonggiTitleM';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_one@1.0/GyeonggiTitleM.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: -0.3px;
    font-family: 'Spoqa Han Sans', 'Spoqa Han Sans JP', 'Sans-serif';
}
body {
    height: 100%;
    background-color: #222;
}
/*********** 인덱스 custom ***********/
.idx .inner {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.cards {
    width: 98%;
    min-width: 1200px;
    height: 80vh;
    min-height: 700px;
    margin: 0 auto;
    display: flex;
    justify-content: space-evenly;
}
.cards .item {
    /* width: 25%; */
    width: 370px;
    height: 100%;
    min-height: 630px;
    background-color: #000;
    color: #fff;
    position: relative;
}
.cards .item::after {
    content: '';
    display: inline-block;
    width: 100%;
    height: 400px;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #fff;
    clip-path: polygon(0 70%, 100% 100%, 100% 100%, 0% 100%);
}
.cards .item .title {
    width: 100%;
    height: 70px;
    font-size: 1.5rem;
    padding: 0 30px;
    position: relative;
}
.cards .item .title > h3 {
    position: absolute;
    top: 80%;
    font-weight: 400;
}
.cards .item .img-box {
    width: 100%;
    height: 320px;
    clip-path: polygon(0 30%, 100% 0%, 100% 70%, 0% 100%);
}
.cards .item .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cards .item .btm {
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: end;
}
.cards .item .btm a {
    width: 80px;
    height: 80px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 50%;
    position: relative;
}
.cards .item .btm a::after {
    content: '';
    width: 86px;
    height: 86px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.cards .item .btm > span {
    padding-top: 25px;
}
footer {
    width: 100%;
    min-width: 1200px;
    height: 10vh;
    background-color: #000;
    color:#fff;
    display: flex;
    justify-content: space-between;
    padding: 20px 30px;
}
footer > div {
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 100%;
    align-items: end;
}
footer .img-box {
    height: 40px;
}
footer .img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
footer > div > span {
    font-size: 14px;
    margin-top: 8px;
}

/*********** 3D slider custom ***********/
.slider .contents {
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}
.slider .contents .inner {
    width: 100%;
    height: 80vh;
    /* border: 1px solid #ddd; */
    position: relative;
    /* max-width: 1000px; */
    margin: 0 auto;
    perspective: 1800px;
    /* background-color: pink; */
}
.slider .contents .carousel {
    width: 100%;
    height: 68vh;
    min-height: 500px;
    position: absolute;
    top: 0;
    transform: translateZ(-850px);
    transform-style: preserve-3d;
    transition: transform 1s;
    animation: rotate 2s;
}
@keyframes rotate {
    0% {
        transform: translateZ(-3500px) rotateY(-480deg);
    }
    100% {
        transform: translateZ(-850px) rotateY(0);
    }
}
.slider .contents .item {
    position: absolute;
    width: 84%;
    height: 100%;
    left: 8%;
}
.slider .contents .item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .contents img {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
}
.slider .contents .item:nth-child(1) { background: rgba(0, 0, 0, 0.8); }
.slider .contents .item:nth-child(2) { background: rgba(0, 0, 0, 0.8); }
.slider .contents .item:nth-child(3) { background: rgba(0, 0, 0, 0.8); }

.slider .contents .item:nth-child(1) { transform: rotateY(0deg) translateZ(850px); }
.slider .contents .item:nth-child(2) { transform: rotateY(120deg) translateZ(850px); }
.slider .contents .item:nth-child(3) { transform: rotateY(240deg) translateZ(850px); }

.slider .contents .img-box {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
}
.slider .contents .img-box div:nth-child(1) {
    width: 65%;
}
.slider .contents .img-box div:nth-child(2) {
    width: 34%;
    height: 100%;
    display: flex;
    flex-flow: column;
}
.slider .contents .img-box div:nth-child(2) a {
    flex-grow: 1;
}
.slider .contents .img-box div:nth-child(2) > * {
    height: 30%;
}
.slider .contents .img-box div:nth-child(2) > *:not(:first-child) {
    margin-top: 15px;
}
.slider .contents .img-box a {
    position: relative;
    text-decoration: none;
    color: #fff;
}
.slider .contents .img-box span {
    position: absolute;
    display: inline-block;
    width: 110px;
    text-align: center;
    padding: 5px 0;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.slider .contents .txt-box {
    width: 100%;
    padding-top: 10px;
    background-color: rgba(0, 0, 0, 0.5);
}
.slider .contents .txt-box > div {
    width: 100%;
    padding: 30px;
    background-color: #fff;
}
.slider .contents .txt-box h3 {
    margin-bottom: 0;
    font-weight: bold;
    font-family: 'GyeonggiTitleM';
}
.slider .contents .txt-box p {
    margin-bottom: 0;
}
.slider .contents .txt-box > div > div:nth-child(1) {
    display: flex;
    align-items: center;
}
.slider .contents .txt-box > div > div:nth-child(1) p {
    margin-left: 50px;
}
.slider .contents .txt-box > div > p {
    margin-top: 30px;
}
.slider .contents .next, .prev {
    position: absolute;
    width: 28px;
    height: 28px;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.slider .contents .prev {
    left: 30px;
    transform: rotate(-45deg);
}
.slider .contents .next {
    right: 30px;
    transform: rotate(135deg);
}

/*********** 탭형태 소개 페이지 ***********/
.tabs {
    width: 90%;
    max-width: 1800px;
    max-height: 1000px;
    margin: 0 auto;
}
.tabs .nav-pills .nav-link {
    border-radius: 0;
    color: #555;
    font-weight: 500;
    padding: 10px 24px;
    font-family: 'GyeonggiTitleM';
}
.tabs .nav-pills .nav-link.active {
    color: #fff;
    background-color: #222;
}
.tabs h2 {
    font-family: 'GyeonggiTitleM';
}
.close {
    width: 22px;
    height: 22px;
    border: none;
    background-color: transparent;
    position: relative;
}
.close span {
    width: 100%;
    height: 2px;
    background-color: #222;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.close span:nth-child(1) {
    transform: rotate(45deg);
}
.close span:nth-child(2) {
    transform: rotate(-45deg);
}
.tabs .img-box {
    height: 700px;
}
.tabs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tabs .contents * {
    font-family: 'GyeonggiTitleM';
}
.tabs .contents > div > span:nth-child(1) {
    display: inline-block;
    width: 50px;
    height: 50px;
}
.tabs .contents > div:nth-child(1) > span:nth-child(1) {
    background: url(../img/icon.png) 1% 50% no-repeat;
    background-size: 550%;
}
.tabs .contents > div:nth-child(3) > span:nth-child(1) {
    background: url(../img/icon.png) 26% 50% no-repeat;
    background-size: 550%;
}
.tabs .contents > div:nth-child(5) > span:nth-child(1) {
    background: url(../img/icon.png) 49% 50% no-repeat;
    background-size: 550%;
}
.tabs .contents > div:nth-child(7) > span:nth-child(1) {
    background: url(../img/icon.png) 75% 50% no-repeat;
    background-size: 550%;
}
.tabs .contents > div:nth-child(9) > span:nth-child(1) {
    background: url(../img/icon.png) 99% 50% no-repeat;
    background-size: 550%;
}
.tabs .contents ul > li {
    list-style: none;
}
/*********** 안내영상 페이지 ***********/
.video {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
    max-height: 960px;
}
.video h3 {
    font-family: 'GyeonggiTitleM';
}
.video .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.video .content {
    width: 100%;
    height: 900px;
}
.video .content > video {
    width: 100%;
    height: 97%;
    object-fit: contain;
}

/* 화면 크기가 2000px 이상일 경우 */
@media (min-width: 2000px) {
    .cards .item {
        width: 400px;
    }
    .cards .item .img-box {
        height: 350px;
    }
    /* 3D slider */
    .contents .inner {
        max-width: 3000px;
        perspective: 10000px;
    }
    .contents .carousel {
        /* height: 90vh;
        min-height: 800px; */
        animation: rotate 2s;
    }
    @keyframes rotate {
        0% {
            transform: translateZ(-10000px) rotateY(-480deg);
        }
        100% {
            transform: translateZ(-850px) rotateY(0);
        }
    }
}