@charset "utf-8";

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





/*reset.css*/





* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
}

ul {
    list-style: none;
}

a:any-link {
    text-decoration: none;
    color: #aaa;
}

img {
    vertical-align: top;
}





/*font*/





h2 {
    font: 100 6.25em/1.2 'Pretendard Variable';
    letter-spacing: -3px;
}

h3 {
    font: normal 1.25em/1.6 'Pretendard Variable';
}

li {
    font: normal 1em/1.6 'Pretendard Variable';
}

.bold {
    font-weight: 600;
}

p {
    font: 400 1.25em/1.6 'Pretendard Variable';
}





/*section*/





section {
    width: 100%;
    height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.text {
    padding: 170px 0;
}

h2 {
    text-align: center;
    position: relative;
}

.overview {
    text-align: center;
    position: relative;
    color: #333;
    padding-top: 90px;
    letter-spacing: -0.5px;

}

.name {
    font-size: 0.9em;
    padding-top: 50px;
    text-align: center;
    width: 100%;
    color: #aaa;
    font-weight: 300;
    z-index: -1;
}





/*article*/

.circle {
    width: calc(140px * 12 + 40px * 11);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-gap: 40px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.circle > li {
    width: 140px;
    height: 140px;
    background-color: #eee;
    border-radius: 70px;
    display: grid;
    align-items: center;
    position: relative;
}

.circle > li.pj {
    background-color: #000;
    cursor: pointer;

    @media all and (min-width: 1024px) {
        &:hover::after {
            transform: scale(2.5);
            top: -20px;
            z-index: 1;
        }

        &:hover .pjTitle {
            opacity: 1;
            position: absolute;
            z-index: 10;
            width: 200%;
            left: 50%;
            top: -40px;
            transform: translateX(-50%);
            text-align: center;
        }

        &:hover .penta {
            width: 132px;
            transform: translate(-50%, -25%);
        }

        &:hover .link {
            opacity: 1;
            z-index: 10;
        }
    }
}

.circle > li.gray {
    z-index: -10;
}

.circle > li.pj::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    height: 140px;
    background-color: #000;
    border-radius: 50%;
    transition: all 0.2s;
    z-index: -1;
}

.pjTitle {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    opacity: 0;
    text-align: center;
    color: #fff;
    font-weight: bold;
    transition: opacity 0.2s;
}

.link {
    width: 100%;
    opacity: 0;
    text-align: center;
    transition: opacity 0.2s;
    margin-top: 40px;
}

.link li {
    font-size: 1.25em;
    height: 50px;
    line-height: 2;

    @media all and (min-width: 640px) {
        &:hover a:any-link {
            text-decoration: underline;
            color: #fff;
        }
    }
}

li.pj > img {
    width: 100%;
    height: 100%;
    position: absolute;
    transition: all 0.2s;
}





/*Tablet*/

@media all and (max-width: 1023px) {

    body {
        font-size: 17px;
    }

    h2 {
        font-size: 5.5em;
    }

    .circle {
        width: calc(100px * 12 + 30px * 11);
        grid-gap: 30px;
    }

    .circle li {
        width: 100px;
        height: 100px;
    }

    .circle li.pj::after {
        width: 100%;
        height: 100%;
    }

    .circle > li.pj {
        @media all and (min-width: 640px) {
            &:hover::after {
                transform: scale(2.5);
                top: -40px;
                z-index: 1;
            }

            &:hover .pjTitle {
                opacity: 1;
                font-weight: 600;
                position: absolute;
                z-index: 10;
                width: 135px;
                left: 50%;
                top: -50px;
                transform: translateX(-50%);
                text-align: center;
                font-size: 1.13em;
                line-height: 1.3;
            }

            &:hover .mudstitle,
            &:hover .trctitle,
            &:hover .penta {
                transform: translate(-50%, -25%);
            }

            &:hover .penta {
                width: 130px;
            }

            &:hover .link {
                opacity: 1;
                z-index: 10;
            }
        }
    }

    .link {
        margin-top: 20px;
    }

    .link li {
        font-size: 1em;
        line-height: 1;
        height: 35px;
    }
}





/*moblie*/

@media all and (max-width: 639px) {

    body {
        font-size: 18px;
    }

    section {
        height: auto;
        overflow: inherit;
    }

    h2 {
        font-size: 3em;
        top: 100px;
    }

    .overview {
        top: 150px;
        font-size: 1em;
    }
    
    .overview span {
        display: block;
    }

    .name {
        font-size: 0.9em;
    }

    .circle {
        width: 100%;
        position: static;
        left: 0;
        transform: none;
        width: calc(100% - 40px);
        margin-top: 250px;
        padding: 0 20px 200px 20px;
        grid-template-columns: auto;
        grid-gap: 100px;
    }

    .circle > li {
        width: 50%;
        height: 0;
        padding-top: 50%;
        border-radius: 50%;
        margin: 0 auto;
    }

    .pjTitle {
        opacity: 1;
        width: 100%;
        left: 50%;
        transform: translateX(-50%);
        color: #333;
        top: calc(100% + 20px);
        font-size: 1em;
        font-weight: 400;
    }

    .penta {
        width: 250px;
        overflow: hidden;
        line-height: 1.4;
    }

    .circle .gray {
        display: none;
    }

    .modal {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.9);
        top: 0;
        left: 0;
        z-index: 1;
    }

    .link {
        position: absolute;
        opacity: 1;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        z-index: 10;
        margin-top: 0;
        overflow: hidden;
        width: 100%;
    }

    .link li {
        height: auto;
        line-height: 1;
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }

    .link li a {
        color: #000;

        &:hover {
            text-decoration: underline;
            font-weight: 600;
        }
    }
    
}