/*-------------------------------------------
メインヴィジュアル
-------------------------------------------*/

.mainvisual {
    width: 100vw;
    height: 100vh;
    position: relative;
}


.mv-text {
    position: absolute;
    z-index: 1;
    left: 2%;
    top: 40%;
    font-size: 5rem;
    line-height: 100%;
    background-color: #ffffff;
    opacity: 0.7;
}

.mv-video {
    position: relative;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
}

@media (max-width: 800px) {
    .mv-text {
        font-size: 3rem;
    }
}

/*-------------------------------------------
WORKS
-------------------------------------------*/
/*WORKコンテンツ*/

.work-list {
    margin-top: 120px;
}

.work-contents{
    max-width: 400px;
    height: auto;
    padding: 0 2%;
    position: relative;
}

.work-contents img {
    object-fit: cover;
    width: 100%; 
    height: 100%; 
}

.work-contents h3 {
    bottom: 2%;
    left: 3%;
    color: #333333;
    padding: 0 2% 0.5% 2%;
    opacity: 70%;
}

@media (max-width: 800px) {
    .work-list {
        text-align: center;
        margin: 120px calc(50% - 50vw);
    }

    .work-contents {    
        max-width: 800px;
        height: auto;
        padding: 0 2%;
        position: relative;
    }

}

/*-------------------------------------------
SKILL
-------------------------------------------*/
#SKILL p{
    font-size: 16px;
}

#SKILL h3{
    font-size: 32px;
}

.separator{
    width: 100%;
    height: 3px;
    border-top:2px solid #333333;
}

/*main*/

.skill-area-main {
    text-align: center;
    margin: 120px auto;
    padding: 0 15%;
}

.skill-area-main .separator{
    margin: 64px 0;
}

/*sub*/

.skill-area-sub {
    display: flex;
    justify-content: space-between;
    gap: 0 32px;
}

.skill-contents-sub{
    max-width: 320px;
    text-align: center;
}

.skill-contents-sub img{
    width: 64px;
}

.icons {
    display: flex;
    gap: 0 8px;
    
}

.icons img{
    width:32px
}

.skill-area-sub .separator{
    margin: 32px 0;
}

.skill-area-sub p{
    margin-bottom: 32px;
}

@media (max-width: 800px) {
    /*main_sp*/
    .skill-area-main {
        padding: 0 0%;
    }

    .skill-area-main .separator{
        margin:24px 0;
    }

    /*sub_sp*/

    .skill-area-sub {
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        gap: 64px;
    }

    .skill-sp {
        flex-direction: row-reverse;
    }

    .skill-contents-sub {
        display: flex;
        justify-content: space-between;
        max-width: 800px;
        margin: 0px 0;
    }



    .slill-contents-flex {
        width: 25%;
        margin: auto;
        text-align: center;
    }

    .skill-contents-flex-text {
        display: flex;
        flex-flow: column;
        justify-content: space-between;
        width: 75%;
        text-align: left;
    }

    .skill-area-sub p{
        margin-bottom: 16px;
    }

    .skill-area-sub .separator{
        width: 2px;
        height: auto;
        border-top: none;
        border-left: 2px solid #333333;
        margin:0 16px;
    }

    .icons {
        display: flex;
        justify-content: flex-end;
        gap: 0 8px;
        width: 100%;
    }


}   

/*-------------------------------------------
ABOUT
-------------------------------------------*/
#ABOUT {
    font-size: 16px;
    line-height: 24px;
}

.about-flex {
    display: flex;
    margin-top: 120px;
    gap:40px;
}

.photo_pc {
    object-fit: cover;
    width: 100%;
    max-width: 320px;
    max-height: 320px;
}

.photo_sp {
    display: none;
}

.profile-area {
    width: auto;
    height: auto;
    margin: auto;
    padding: 0 0 0 1%;
}

.name-en {
    font-size: 32px;
    font-weight: bold;
    line-height: 32px;
}

.name-ja {
    font-size: 24px;
    font-weight: bold;
    line-height: 24px;
    margin-top: 8px;
}

.profile-area .separator {
    margin: 32px 0;
}

footer {
    margin-top: 160px;
}

@media (max-width: 800px) {

    .photo_pc {
        display: none;
    }
    .photo_sp {
        display: block;
        object-fit: cover;
        width: 30vw;
        height: auto;
        max-width: 160px;
        max-width: 160px;
    }

    .name-area_sp {
        display: flex;
        gap: 32px;
    }

    .name-en {
        font-size: 24px;
        line-height: 24px;
    }

    .name-ja {
        font-size: 16px;
        line-height: 16px;
    }

}

/*-------------------------------------------
SP
-------------------------------------------*/
