@charset "UTF-8";

/* article__header */
.article__header {
    height: 100lvh;
    color: var(--mainColor-gray);
}

.mainTopic__name {
    font-size: 6.4rem;
    margin: 30px 0 0 8vw;
}

.mainTopic__sub {
    margin: -5px 0 0 8vw;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* article__header pc */
@media screen and (min-width:821px) {
    .mainTopic {
        position: sticky;
        top: 50lvh;
        left: 0;
        transform: translateY(-50%);
    }

    .mainTopic__name {
        font-size: min(12rem,8.33vw);
        margin: 42.1lvh 0 0 var(--contentPadding-pc);
    }
    
    .mainTopic__sub {
        margin: -8px 0 0 var(--contentPadding-pc);
        font-size: min(2rem,1.38vw);
    }
}
/* article__header pc */
/* article__header */

/* about */
.about__detail {
    background-color: var(--mainColor-gray);
    border-radius: 4vw;
    padding: var(--contentPadding);
    border: var(--mainColor-black) solid 1px;
}

.about__topic {
    font-size: 1.8rem;
}

.about__txt {
    font-size: 1.2rem;
    margin-top: 20px;
}

.about__txt:first-of-type {
    margin-top: 30px;
}

.about__detail .btn__link {
    margin-top: 30px;
    width: 130px;
}

/* about pc */
@media screen and (min-width:821px) {
    .section--about {
        display: flex;
        justify-content: space-between;
    }
    
    .about__detail {
        border-radius: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 var(--contentPadding-pc);
        width: 50vw;
        height: max(71.11vw,100lvh);
    }
    
    .about__topic {
        font-size: 2rem;
    }
    
    .about__detail .btn__link {
        width: 145px;
    }
}
/* about pc */
/* about */

/* skill */
.skill__list {
    background-color: var(--mainColor-gray);
    border-radius: 4vw;
    padding: var(--contentPadding);
    border: var(--mainColor-black) solid 1px;
}

.skill__item {
    margin-top: 45px;
}

.skill__item:first-of-type {
    margin-top: 0;
}

.skill__item img {
    display: block;
    width: max(40vw,150px);
    height: max(40vw,150px);
    border-radius: 2.66vw;
    border: var(--mainColor-black) solid 1px;
    object-fit: contain;
    margin: 0 auto;
}

.skill__name {
    margin-top: 20px;
    font-size: 1.4rem;
    color: var(--mainColor-gray);
    background-color: var(--mainColor-black);
    padding: 10px 0;
    border-radius: 19px;
    text-align: center;
}

.skill__txt {
    font-size: 1.2rem;
    margin: 15px 2.4vw 0;
}

/* skill pc */
@media screen and (min-width:821px) {
    .section--skill {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
    }
    
    .section--skill .section__topic {
        text-align: right;
    }
    
    .skill__list {
        display: flex;
        flex-direction: column;
        justify-content: center;
        border-radius: 30px;
        padding: 8.33vw var(--contentPadding-pc);
        width: 50vw;
        height: max(71.11vw,100lvh);
    }
    
    .skill__item {
        display: flex;
        align-items: start;
        gap: min(30px,2vw);
    }
    
    .skill__item img {
        width: min(13.88vw,200px);
        height: min(13.88vw,200px);
        border-radius: 20px;
    }
    
    .skill__name {
        margin-top: 0;
        font-size: 1.8rem;
    }
    
    .skill__txt {
        margin: 15px 1.04vw 0;
    }
}
/* skill pc */
/* skill */

/* works */
.works__list .btn__link {
    margin-top: 15px;
    width: 114px;
}

/* works pc */
@media screen and (min-width:821px) {
    .section--works {
        display: flex;
        justify-content: space-between;
    }

    .works__list {
        height: max(71.11vw,100lvh);
    }

    .works__item {
        justify-content: space-between;
    }

    .works__detail {
        width: min(240px,16.66vw);
    }

    .works__list .btn__link {
        width: 128px;
    }
}
/* works pc */
/* works */

/* gallery */
.section--gallery {
    padding: min(16vw,60px) 8vw 8vw;
    margin-top: 0;
}    

.gallery__list {
    margin-top: 30px;
}

.gallery__item .art {
    width: 84vw;
    height: 84vw;
    border-radius: 2.66vw;
    margin-top: 4vw;
    border: var(--mainColor-black) solid 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.gallery__item--2 {
    display: flex;
}

.gallery__item .art--1 {
    margin-top: 0;
}

.gallery__item .art--2 {
    width: 40vw;
    height: 40vw;
    margin-right: 4vw;
}

.gallery__item .art--3 {
    width: 40vw;
    height: 40vw;
}

.gallery__item .art--4 {
    height: 60.8vw;
}

.gallery__item .art--5 {
    height: 31.46vw;
}

.gallery__item--4 {
    display: flex;
    gap: 4vw;
}

.gallery__item .art--6, .gallery__item .art--7 {
    width: 26.7vw;
    height: 26.7vw;
}

.gallery__item .art--8 {
    width: 53.33vw;
    height: 57.33vw;
}

.section--gallery .btn__link {
    margin-top: 30px;
    width: 116px;
    color: #fff;
    border: #fff solid 1.3px;
}

/* gallery pc */
@media screen and (min-width:821px) {
    .section--gallery {
        padding: 6.25vw;
    }

    .gallery__list {
        display: flex;
        gap: 1.3vw;
        margin-top: 60px;
    }

    .gallery__item .art {
        width: 27.77vw;
        height: 27.77vw;
        border-radius: 20px;
        margin-top: 0;
    }

    .gallery__item .art:hover {
        border-width: 3px;
    }

    .gallery__item--2 {
        flex-direction: column;
        gap: 1.3vw;
    }

    .gallery__item .art--2, .gallery__item .art--3 {
        width: 13.194vw;
        height: 13.194vw;
        margin-right: 0;
    }

    .gallery__item--3 {
        width: 24.027vw;
    }
    
    .gallery__item .art--4 {
        width: 24.027vw;
        height: 17.36vw;
    }
    
    .gallery__item .art--5 {
        width: 24.027vw;
        height: 9.02vw;
        margin-top: 1.3vw;
    }

    .gallery__item div {
        display: flex;
        gap: 1.3vw;
        margin: 0;
    }

    .gallery__item--4 {
        display: block;
    }

    .gallery__item .art--6, .gallery__item .art--7 {
        width: 8.472vw;
        height: 8.472vw;
        margin: 0;
    }

    .gallery__item .art--8 {
        width: 18.33vw;
        height: 17.91vw;
        margin-top: 1.3vw;
    }

    .section--gallery .btn__link {
        margin-top: 60px;
        width: 128px;
    }

    .section--gallery .btn__link:hover {
        background-color: #FFF;
        color: #B8BA92;
    }
}        
/* gallery pc */

/* gallery modal */
.art.open {
    border-width: 2px;
}
/* gallery modal pc */
@media screen and (min-width:821px) {
    .modal__list .art--5 {
        height: min(17.56vw,253px);
    }
    
    .modal__list .art--4 {
        width: min(84.65vw,1219px);
        height: auto;
    }
    
    .art.open {
        border-width: 3px;
    }
}
/* gallery modal pc */
/* gallery modal */
/* gallery */