@charset "utf-8";
/* ========================
common
======================== */

html{
    font-size: 62.5%;
}

body{
    font-family: 
        "Noto Sans JP",
        "Ysabeau SC",
        "Inter",
        sans-serif;
    font-style: normal;
    color: #0f0f0f;
    background-color: #fff;
    line-height: 1.5;
    font-size: 1.2rem;
}

img{
    max-width: 100%;
    height: auto;
}

.section{
        padding: 32px 4.2% 0px;
    }

.section__topic{
    font-family: "Ysabeau SC";
    font-weight: 400;
    font-size: 3.2rem;
    text-align: center;
    padding-bottom: 32px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s, transform 1s;
}
/* js */
.section__topic.show{
    opacity: 1;
    transform: translateY(0);
}

/* =============
header
============== */

.header{
    padding: 8px 4.2%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #8ab9fe;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header__topic,
.nav__item {
    font-family: "Inter";
}

/* .nav初期表示 */
.nav {
    background: rgba(150, 199, 253, 0.9);
    width: 100%;
    height: 100%;
    padding: 8px 16px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;
}

.nav__header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__list{
    margin-top: 40px;
    justify-items: center;
}
.nav__item{
    margin-top: 40px;
    font-size: 2.4rem;
}

/* .nav.active */
.nav.active{
    transform: translateX(0);
}

.header__btn{
    display: block;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* header pc */
@media (min-width: 769px) {

body{
    font-size: 2rem;
}
.header{
    max-width: 1440px;
    height: 60px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background-color: #8ab9fe;
}
.nav {
    background: transparent;
    width: auto;
    height: auto;
    padding: 0;
    position: static;
    transform: translate(0);
    }
.nav__header{
    display: none;
}
.nav__list{
    display: flex;
    margin-top: 0;
    gap: 40px;
}
.nav__item{
    font-size: 16px;
}
.header__btn{
    display: none;
}
}


/* ===========
=======main */

.article{
    height: 250px;
    background-image: url("../images/MV_pc.webp");
    background-repeat: no-repeat;   
    background-position: center;    
    background-size: cover;         
    display: flex;
    justify-content:right;
    align-items: center;
    padding-right: 4.2%;
}
.mv__text{
    color: #fff;
    font-family: "Ysabeau SC";
    font-size: 3rem;
    opacity: 0;
    transform: translateX(-300px);
    transition: opacity 2s, transform 3s;
}

/* js */
.mv__text.show{
    opacity: 1;
    transform: translateX(0);
}

/* main PC */
@media (min-width: 769px) {
    
    .article{
      height: 1024px;
    }
    .mv__text{
        color: #fff;
        font-family: "Ysabeau SC";
        font-size: 6rem;
        opacity: 0;
        transform: translateX(-900px);
        transition: opacity 5s, transform 6s;
}
}

/* =====About====== */

    /* .section--about{
        margin: 0 auto;
    } */

    
    .profile{
        padding: 0 40px 32px;
    }
    .profile__info{
        padding-bottom: 16px;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 2s, transform 2s;
    }
    

    .profile__txt{
        font-family: "Noto Sans JP";
        padding-bottom: 16px;
    }
    .profile__txt--txt{
        font-size: 1.2rem;
    }

    /* js */
    .profile__info.show{
        opacity: 1;
        transform: translateY(0);
    }
    
    .profile__photo{
        display: flex;
        justify-content: center;
        height: 180px;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 2s, transform 2s;
    }

    /* skill */
    .profile--skill{
        padding-bottom: 0;
    }
    .profile__photo--skill{
        margin-bottom: 32px;
    }

    span{
        display: block;
        padding-left: 8px;
        border-left: 8px solid #B3D5FB;
        font-size: 1.4rem;
    }

    
    /* js */
    .profile__photo.show{
        opacity: 1;
        transform: translateY(0);
    }
    

    /* section  PC */
    @media (min-width: 769px){

    .section{ 
        padding: 96px 8.3%;

        }
    .section--about{
        padding-bottom: 32px;
    }
    .section--skill{
        padding-top: 0;
        padding-bottom: 0;
    }

    .section__topic{
        font-size: 4rem;
        padding-bottom: 40px;
    }
    .section__topic--about{
        text-align: right;
    }

    .section__topic--skill{
        text-align: left;
    }
    /* About PC */
    .profile{
        padding: 0;
        display: flex;
        justify-content: right;
    }

    .profile--skill{
        justify-content: left;
    }

    .profile__info{
        padding-bottom: 0px;
        max-width: 500px;
    }
    .profile__txt{
        padding-bottom: 32px;
    }

    .profile__txt--txt{
        font-size: 1.6rem;
    }

    span{
        font-size: 2rem;
    }
    .profile__photo{
        height: 250px;
        padding-left: 20px;
    }
    .profile__photo--skill{
        padding-left: 0px;
        padding-right: 20px;
        margin-bottom: 0;
    }
    }


    /* =====Gallery====== */

    .section--gallery{
        padding-bottom: 16px;
    }

    
    .gallery__item{
        display: flex;
        justify-content: center;
        padding-bottom: 16px;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 3s, transform 2s;
    }
    /* js */
    .gallery__item.show{
        opacity: 1;
        transform: translateY(0);
    }

    .gallery__item img{
        width: 240px;
        border-radius: 8px;
    }

    /* Gallery PC */
    @media (min-width:769px) {

    .section--gallery{
        padding-bottom: 96px;
                }
            
    .gallery__list{
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        width: 800px;
        margin: 0 auto;
        justify-content: center;
                }
    .gallery__item{
        padding-bottom: 0;
    }
    }

    /* =====Contact===== */
    .contact__sns{
        padding-top: 32px;
    }
    .sns__list{
        display: flex;
        justify-content: center;
        gap: 16px;
    }
    .button{
        background-color: #bababb;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 16px;
        cursor: pointer;
        text-align: center;
        width: 200px;
        display: block;
        margin: 0 auto;
        transition: 0.5s;
        justify-content: center;
    }
    .button:hover {
        background-color: #cccccd;
        
    }
    .button:active {
        transform: scale(0.9);
    }

    .section--contact{
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 5s, transform 6s;
    }
    /* js */
    .section--contact.show{
        opacity: 1;
        transform: translateY(0);
    }
    

    /* Contact PC */
    @media (min-width:769px){
    .section--contact{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .section--contact h2{
        padding-bottom: 0px;
    }
    .contact__sns{
        padding-top: 0px;
    }
    .sns__list{
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .button{
        width: 280px;
        height: 80px;
        display: flex;
        align-items: center;
    }
    }

    /* =====footer===== */

    .footer{
        padding: 32px 4.2%;
    }
    .copy{
        text-align: center;
    }

    /* Contact PC */
    @media (min-width:769px){
    .footer{
        padding: 0 8.3% 32px;
    }
    .copy{
        text-align: right;
    }
    }