@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

/* 공통 */
html {
    height: 100%;
}

body {
    min-height: 100%;
    position: relative;
    font-family: 'Pretendard', sans-serif;

    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0;
    color: #5d6064;
    background-color: #232323;
}

body::before {
    content: "";
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgb(197,207,254);
    background: linear-gradient(
        165deg, 
        rgba(150,224,255,1) 0%, 
        rgba(221,219,249,1) 35%, 
        rgba(223,188,253,1) 67%, 
        rgba(65,152,255,1) 100%
    );
}

body.show-layer {
    overflow: hidden;
}

img {
    vertical-align: top;
}

a {
    cursor: pointer;
}

/* 본문 */
.container-wrap {
    position: relative;
    max-width: 1258px;
    min-height: 650px;
    margin: 0 auto;
    padding: 120px 0 120px;
    box-sizing: border-box;
}

body.profile-body .container-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*body:after {content:""; position: fixed; left: 0; top: 0; right:0; height: 80px; background-color: #ed008c;}*/
.container-wrap .profile {
    text-align: center;
    padding: 0;
}

.container-wrap .profile > img {
    max-width: 850px;
    width: 100%;
}

.container-wrap .profile .text > h3,
.container-wrap .profile .text > p {
    position: absolute;
    left: 0;
    right: 0;
}

.container-wrap .profile .text {
    display: inline-block;
    position: relative;
}

.container-wrap .profile .text > h3 {
    top: 3%;
    left: 0;
    color: #ed008c;
    font-size: 38.46px;
    font-weight: 700;
    text-align: center;
}

.container-wrap .profile .text .name {
    top: 606px;
    color: #fff;
    font-size: 55px;
    font-weight: 100;
    line-height: 55px;
}

.container-wrap .profile .text .group {
    position: absolute;
    top: 735px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    display: flex;
    align-items: stretch; 
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 30px;
}
.container-wrap .profile .text .contact {
    color: #fff;
    font-size: 22px;
    letter-spacing: 2px;
    font-weight: 500;
    white-space: nowrap;
}

.container-wrap .profile .text p > span {
    display: block;
    border: 2px solid #fff;
    border-radius: 50px;
    overflow: hidden;
}

.container-wrap .profile .text p > span > a {
    display: block;
    padding: 20px 25px;
}

.container-wrap .profile .text p > em {
    padding: 0 10px;
    color: transparent;
}

.container-wrap .profile .text .univ {
    position: absolute;
    top: 680px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);

    color: #fff;
    font-size: 22px;
    font-weight: 200;
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 850px) {
    .container-wrap .profile .text .group {
        top: 86.471vw;
        gap: 3.529vw;
    }
    .container-wrap .profile .text > h3 {
        font-size: 4.525vw;
    }
    .container-wrap .profile .text .name {
        top: 71.294vw;
        font-size: 6.471vw;
        line-height: 6.471vw;
    }
    .container-wrap .profile .text .contact {
        font-size: 2.588vw;
    }
    .container-wrap .profile .text p > span > a {
        padding: 2.353vw 2.941vw;
    }
    .container-wrap .profile .text p > em {
        padding: 0 1.176vw;
    }
    .container-wrap .profile .text .univ {
        top: 80vw;
        font-size: 2.588vw;
    }
}

/* 프로필 v2 */
.container-wrap .profile {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 660px;

}
.container-wrap .profile .text-v2 > h3 {
    color: #7a60ff;
    font-size: 35px;
    font-weight: 700;
    line-height: 35px;
}

.container-wrap .profile .text-v2 .desc {
    margin-top: 15px;
    color: #1f1261;
    font-size: 18px;
    line-height: 27px;
}

.container-wrap .profile .text-v2 .check {
    margin-top: 50px;
}

.container-wrap .profile .text-v2 .check > ul {
    display: flex;
    justify-content: center;
    flex-direction: row;
    gap: 25px;
}

.container-wrap .profile .text-v2 .check > ul > li {
    position: relative;
    width: 304px;
    padding: 40px;
    box-sizing: border-box;
    border-radius: 39px;
}

.container-wrap .profile .text-v2 .check > ul > li:nth-child(1) {
    background-color: rgba(255, 255, 255, 0.8);
}

.container-wrap .profile .text-v2 .check > ul > li:nth-child(2) {
    background-color: rgba(255, 255, 255, 0.6);
}

.container-wrap .profile .text-v2 .check > ul > li:nth-child(3) {
    background-color: rgba(255, 255, 255, 0.4);
}

.container-wrap .profile .text-v2 .check > ul > li:after {
    content: "";
    position: absolute;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%);
    border-style: solid;
    border-width: 26px 20px 0px 20px;
}

.container-wrap .profile .text-v2 .check > ul > li:nth-child(1):after {
    border-color: rgba(255, 255, 255, 0.8) transparent transparent transparent; 
}

.container-wrap .profile .text-v2 .check > ul > li:nth-child(2):after {
    border-color: rgba(255, 255, 255, 0.6) transparent transparent transparent; 
}

.container-wrap .profile .text-v2 .check > ul > li:nth-child(3):after {
    border-color: rgba(255, 255, 255, 0.4) transparent transparent transparent; 
}

.container-wrap .profile .text-v2 .check > ul > li > strong {
    color: #7a60ff;
    font-size: 22px;
    font-weight: 700;
    line-height: 22px;
}

.container-wrap .profile .text-v2 .check > ul > li > p {
    margin-top: 10px;
    color: #1f1261;
    font-size: 22px;
    line-height: 30px;
    white-space: nowrap;
}

.container-wrap .profile .text-v2 .check > ul > li > p > span {
}

.container-wrap .profile .text-v2 .group {
    margin-top: 55px;
}

.container-wrap .profile .text-v2 .contact span {
    display: inline-block;
    padding: 24px 50px 24px;
    border: 2px solid #fff;
    border-radius: 40px;
    vertical-align: top;
}

.container-wrap .profile .text-v2 .contact span a {
    display: block;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    line-height: 22px;
}

@media screen and (max-width: 1000px) {
    .container-wrap .profile {
        height: auto;
    }
    .container-wrap .profile .text-v2 > h3 {
        font-size: 4.5vw;
        line-height: 4.5vw;
    }
    .container-wrap .profile .text-v2 .desc {
        margin-top: 4.3vw;
        padding: 0 5vw;
        font-size: 2.3vw;
        line-height: 3.6vw;
        word-break: keep-all;
    }
    .container-wrap .profile .text-v2 .desc br {
        display: none;
    }
    .container-wrap .profile .text-v2 .check {
        margin-top: 6.4vw;
    }
    .container-wrap .profile .text-v2 .check > ul {
        align-items: center;
        flex-direction: column;
    }
    .container-wrap .profile .text-v2 .check > ul > li {
        width: 42vw;
        padding: 6vw;
    }
    .container-wrap .profile .text-v2 .check > ul > li > strong {
        font-size: 3vw;
        line-height: 3vw;
    }
    .container-wrap .profile .text-v2 .check > ul > li > p {
        margin-top: 3vw;
        font-size: 3vw;
        line-height: 4.3vw;
    }
    .container-wrap .profile .text-v2 .group {
        margin-top: 10vw;
    }
    .container-wrap .profile .text-v2 .contact span {
        padding: 3vw 6vw 3.3vw;
    }
    .container-wrap .profile .text-v2 .contact span a {
        font-size: 3vw;
        line-height: 3vw;
    }
}

/* 프로필 v3 */
.container-wrap .profile .text-v3 .title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 39px;
}

.container-wrap .profile .text-v3 .title .img {
}

.container-wrap .profile .text-v3 .title h3 span {
    display: block;
    color: #1f1261;
    font-size: 35px;
    font-weight: 700;
    line-height: 43px;
}

.container-wrap .profile .text-v3 .title h3 span > b {
    color: #7a60ff;
}

.container-wrap .profile .text-v3 .title .contact a  {
    display: inline-block;
    margin-top: 18px;
    padding: 15px 33px;
    vertical-align: top;
    border: 2px solid #7a60ff;
    border-radius: 26px;
}

.container-wrap .profile .text-v3 .title .contact a > span {
    display: block;
    color: #7a60ff;
    font-size: 18px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 2px;

}

.container-wrap .profile .text-v3 .check {
    margin-top: 33px;
}

.container-wrap .profile .text-v3 .check > ul {
    display: flex;
    align-items: center;
    flex-direction: row;

}

.container-wrap .profile .text-v3 .check > ul > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 327px;
    height: 327px;
    border-radius: 50%;
    overflow: hidden;
}

.container-wrap .profile .text-v3 .check > ul > li > strong {
    color: #7a60ff;
    font-size: 22px;
    font-weight: 900;
    line-height: 22px;
}

.container-wrap .profile .text-v3 .check > ul > li > p {
    margin-top: 20px;
}

.container-wrap .profile .text-v3 .check > ul > li > p > span {
    display: block;
    color: #1f1261;
    font-size: 22px;
    line-height: 30px;
}

.container-wrap .profile .text-v3 .check > ul > li:nth-child(1) {
    background-color: rgba(255, 255, 255, .8);
}

.container-wrap .profile .text-v3 .check > ul > li:nth-child(2) {
    margin-left: -39px;
    background-color: rgba(255, 255, 255, .6);
}

.container-wrap .profile .text-v3 .check > ul > li:nth-child(3) {
    margin-left: -39px;
    background-color: rgba(255, 255, 255, .4);
}

@media screen and (max-width: 903px) {
    .container-wrap .profile .text-v3 .title {
        gap: 4.319vw;
    }

    .container-wrap .profile .text-v3 .title .img > img {
        width: 26.8vw;
        height: 26.8vw;
    }

    .container-wrap .profile .text-v3 .title h3 span {
        font-size: 3.876vw;
        line-height: 4.762vw;
    }

    .container-wrap .profile .text-v3 .title .contact a  {
        margin-top: 1.993vw;
        padding: 1.661vw 3.654vw;
        border-width: 1px;
        border-radius: 2.879vw;
    }

    .container-wrap .profile .text-v3 .title .contact a > span {
        font-size: 1.993vw;
        line-height: 1.993vw;

    }

    .container-wrap .profile .text-v3 .check {
        margin-top: 3.654vw;
    }

    .container-wrap .profile .text-v3 .check > ul {
        flex-direction: column;
    }

    .container-wrap .profile .text-v3 .check > ul > li {
        width: 36.213vw;
        height: 36.213vw;
    }

    .container-wrap .profile .text-v3 .check > ul > li > strong {
        font-size: 2.436vw;
        line-height: 2.436vw;
    }

    .container-wrap .profile .text-v3 .check > ul > li > p {
        margin-top: 2.215vw;
    }

    .container-wrap .profile .text-v3 .check > ul > li > p > span {
        font-size: 2.436vw;
        line-height: 3.322vw;
    }

    .container-wrap .profile .text-v3 .check > ul > li:nth-child(2) {
        margin-left: 0;
        margin-top: -4.319vw;
    }

    .container-wrap .profile .text-v3 .check > ul > li:nth-child(3) {
        margin-left: 0;
        margin-top: -4.319vw;
    }
}

/* 메뉴 */
.sidemenu-wrap {
    z-index: 1;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: auto;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.6);
}

.sidemenu-wrap .inner {
    position: relative;
    max-width: 1258px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    flex-grow: 1;
    gap: 40px
}

.sidemenu-wrap h1.logo a {
    display: block;
    font-size: 20px;
}

.sidemenu-wrap h1.logo img {
    height: 45px;
}

.sidemenu-wrap h1.logo-txt a {
    display: block;
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1f1261;
    line-height: 25px;

}

.sidemenu-wrap .menu {
    padding-right: 10px;
}

.sidemenu-wrap .menu ul:after {
    content: "";
    display: block;
    clear: both;
}

.sidemenu-wrap .menu li {
    float: left;
    margin-left: 40px;
}

.sidemenu-wrap .menu li:first-child {
    margin-left: 0;
}

.sidemenu-wrap .menu li a {
    position: relative;
    display: block;
    padding: 10px 0px;
    background-color: transparent;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1f1261;
    line-height: 25px;
    transition: color .2s ease;
}

.sidemenu-wrap .menu li a:after {
    display: none;
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    overflow: hidden;
    border-radius: 4px;
    background-color: #ed008c;
}

.sidemenu-wrap .menu li.on a,
.sidemenu-wrap .menu li a:focus,
.sidemenu-wrap .menu li a:hover {
    color: #795fff;
    background-color: transparent;
}

/* 하단 */
.footer-wrap {
    position: absolute;
    left: 0;
    right: 0;
    max-width: none;
    bottom: 0;
    padding: 50px 0 50px;
    background-color: transparent;
    text-align: center;
    font-size: 12px;
    color: #fff;
}

/* 갤러리 공통 */
[class*="gallery-"] ul {
    position: relative;
    margin: -5px;
    font-size: 0;
    line-height: 0;
}

[class*="gallery-"] li {
    position: relative;
    display: inline-block;
    margin: 10px;
    vertical-align: top;
    background-color: transparent;
    animation: .6s ease 0s normal forwards 1;
}

[class*="gallery-"] li:after {
    content: "Click";
    position: absolute;
    left: 12px;
    top: 12px;
    padding: 0 12px;
    border: 2px solid #fff;
    border-radius: 26px;
    color: #FFF;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 0;
    line-height: 26px;
    text-shadow: 0 0 1px rgba(0, 0, 0, 1);
    background-color: rgba(0, 0, 0, .1);
}

[class*="gallery-"] li a,
[class*="gallery-"] li a img {
    display: block;
}

[class*="gallery-"] li a {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 25px;
}

[class*="gallery-"] li a:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .2s ease;
}

[class*="gallery-"] li a:hover:after {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* 갤러리 포토 */
.gallery-photo li {
    animation-name: fadein;
    opacity: 0;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* 갤러리 리스트 */
.gallery-list li {
    animation-name: fadeinMove;
    opacity: 0;
}

@keyframes fadeinMove {
    0% {
        opacity: 0;
        left: 20px;
        top: 20px;
    }

    100% {
        opacity: 1;
        left: 0;
        top: 0;
    }
}

/* 레이어 */
.photo-layer {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
}

body.show-layer .photo-layer {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(3px);
}

.photo-inner {
    position: relative;
    padding: 99px 0;
}

.photo-inner .area {
    position: relative;
    width: 900px;
    margin: 0 auto;
    padding-bottom: 20px;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
}

.photo-inner .title {}

.photo-inner .link {
    position: absolute;
    right: 0;
    top: 0;
    color: #795fff;
    max-width: 500px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.photo-inner .link:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    visibility: hidden;
    transition: width .3s ease;
    width: 0;
    height: 1px;
    background-color: #795fff;
}

.photo-inner .link:hover:after {
    width: 100%;
    visibility: visible;
}

.photo-inner .photo {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
    top: 0px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all .2s ease;
    transition-delay: .2s;
}

body.show-layer .photo-inner .photo {
    position: relative;
    top: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.photo-inner img {
    position: relative;
    left: 10px;
    max-width: 900px;
    width: auto;
    height: auto;
    opacity: 0;
    /* transition: all .2s ease; */
}

.photo-inner.ad-list img {
    /* max-width: 1000px; */
}

.js-grid {
    visibility: hidden;
}

.js-grid.loaded {
    visibility: visible;
}

body.show-layer .photo-inner img {
    opacity: 1;
}

.photo-inner .close {
    position: relative;
    top: 0;
    left: 30px;
    width: 17px;
    height: 95px;
}

.photo-inner .close img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1258px) {
    [class*="gallery-"] ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    [class*="gallery-"] li {
        display: flex;
        align-items: center;
    }

    .container-wrap {
        /*padding: 81px 0 10px;*/
    }

    .photo-inner .area,
    .photo-inner .photo {
        width: auto;
        margin: 0 50px;
    }

    .photo-inner img {
        width: 100%;
        left: 0;
    }

    .photo-inner .link {
        position: relative;
        max-width: none;
    }

    .photo-inner .close {
        position: absolute;
        left: auto;
        right: -30px;
    }

    /* 햄버거 메뉴 */
    .sidemenu-wrap .menu {
        position: fixed;
        z-index: 1000;
        left: auto;
        right: -100%;
        top: 0;
        bottom: 0;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.86);
        opacity: 0;
        visibility: hidden;
        transition: right 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    body.open-menu .sidemenu-wrap .menu {
        z-index: 2;
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    body.open-menu .sidemenu-wrap .menu ul {
        display: flex;
        align-items: center;
        gap: 2.5rem;
        justify-content: center;
        flex-direction: column;
    }

    body.open-menu .sidemenu-wrap .menu li {
        float: none;
        margin-left: 0;
    }

    body.open-menu .sidemenu-wrap .menu li.on a,
    body.open-menu .sidemenu-wrap .menu li a:hover {
        color: #795fff;
    }

    body.open-menu .sidemenu-wrap .menu li a {
        color: #fff;
        font-size: 1.5rem;
    }

    body.open-menu:before {
        content: "";
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.3);
    }

    .menu-trigger {
        z-index: 1001;
        position: fixed;
        right: 35px;
        top: 15px;
        width: 31px;
        height: 31px;
    }

    .menu-trigger:after {
        content: "";
        z-index: 1;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    .menu-trigger,
    .menu-trigger span {
        display: inline-block;
        transition: all 0.4s;
        box-sizing: border-box;
    }

    .menu-trigger span {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: #1f1261;
        border-radius: 0px;
    }

    .menu-trigger span:nth-of-type(1) {
        top: 0;
    }

    .menu-trigger span:nth-of-type(2) {
        top: 50%;
        margin-top: -1px;
    }

    .menu-trigger span:nth-of-type(3) {
        bottom: 0;
    }

    body.open-menu .menu-trigger span {
        left: -5px;
        width: 130%;
        background-color: #fff;
    }

    body.open-menu .menu-trigger span:nth-of-type(1) {
        transform: translateY(14px) rotate(-45deg);
    }

    body.open-menu .menu-trigger span:nth-of-type(2) {
        opacity: 0;
    }

    body.open-menu .menu-trigger span:nth-of-type(3) {
        transform: translateY(-14px) rotate(45deg);
    }
}

/* //CSS */
